ETH Price: $3,582.44 (+16.68%)
Gas: 42 Gwei

Token

marquee shelter (MQSLT)
 

Overview

Max Total Supply

928 MQSLT

Holders

196

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 MQSLT
0xa1e4f7dc1983fefe37e2175524ebad87f1c78c3c
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:
Marquee

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 13 : Marquee.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;

/* <marquee/> shelter by @0xhaiku


<marquee>Good boy!</marquee>

  ^ ^ 
ω-'' )_______o
 ^--  # # # #)
   |_|_|-|_|_|


*/

import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Counters.sol";

interface IMarqueeArt {
  enum Mode {
    Marquee,
    CSS
  }

  function getPalette(uint256) external view returns (string[10] memory);

  function getDogString(uint256, Mode) external view returns (string memory);

  function getDogSpeed(uint256) external view returns (uint8, uint8);

  function tokenHTML(uint256, Mode) external view returns (string memory);

  function tokenSVG(uint256, Mode) external view returns (string memory);

  function tokenURI(
    uint256,
    Mode,
    uint256
  ) external view returns (string memory);
}

contract OwnableDelegateProxy {}

contract ProxyRegistry {
  mapping(address => OwnableDelegateProxy) public proxies;
}

contract Marquee is ERC721, ReentrancyGuard, Ownable {
  enum Mode {
    Marquee,
    CSS
  }

  uint256 private _tokenSupply;
  mapping(uint256 => address) private _owners;
  mapping(uint256 => bool) private _isResurrectioned;
  mapping(uint256 => uint256) private _rescueDates;

  address proxyRegistryAddress;
  address public artAddress;
  bool public artLocked;

  uint256 public constant MAX_SUPPLY = 1_145;
  uint256 public constant OWNER_ALLOTMENT = 50;
  uint256 public constant SUPPLY = MAX_SUPPLY - OWNER_ALLOTMENT;
  uint256 public shelterSize = 3;
  uint256 public dutchBasePrice = 0.02 ether;
  uint256 public dutchStepPrice = 0.01 ether;
  uint256 public dutchStepTime = 30 * 60;
  uint256 public dutchEndTime = 12 * 60 * 60;
  uint256 public shelterStartTime;
  bool public shelterIsActive;

  constructor(address _proxyRegistryAddress, address _artAddress)
    ERC721("marquee shelter", "MQSLT")
  {
    proxyRegistryAddress = _proxyRegistryAddress;
    artAddress = _artAddress;
  }

  modifier costs() {
    require(msg.value >= price(), "Not enough ETH sent; check price!");
    _;
  }

  function price() public view returns (uint256) {
    uint256 endTime = today() + dutchEndTime;
    if (block.timestamp > endTime) {
      return dutchBasePrice;
    }
    uint256 timeElapsed = endTime - block.timestamp;
    uint256 steps = timeElapsed / dutchStepTime;
    if (block.timestamp == today()) {
      steps--;
    }
    return dutchBasePrice + dutchStepPrice * steps;
  }

  function ownerMint(uint256[] memory _tokenIds, address to)
    external
    nonReentrant
    onlyOwner
  {
    for (uint256 i; i < _tokenIds.length; i++) {
      uint256 _tokenId = _tokenIds[i];
      require(0 < _tokenId && _tokenId <= MAX_SUPPLY);
      require(SUPPLY < _tokenId);
      _tokenSupply++;
      _rescueDates[_tokenId] = today();
      _safeMint(to, _tokenId);
    }
  }

  /* shelter */

  function open() private view returns (bool) {
    return shelterStartTime != 0 && shelterStartTime <= block.timestamp;
  }

  function today() private view returns (uint256) {
    return (block.timestamp / 1 days) * 60 * 60 * 24;
  }

  function rescue(uint256 _tokenId) external payable nonReentrant costs {
    require(!_exists(_tokenId), "ERC721: token already minted");
    require(open(), "INACTIVE");
    require(shelterIsActive, "INACTIVE");
    require(0 < _tokenId && _tokenId <= SUPPLY, "INVALID");

    uint256[] memory ids = availableIds();
    bool available;
    for (uint256 i = 0; i < ids.length; i++) {
      if (_tokenId == ids[i]) {
        available = true;
      }
    }
    require(available, "NOT AVAILABLE");

    _tokenSupply++;
    _rescueDates[_tokenId] = today();
    _safeMint(_msgSender(), _tokenId);
  }

  function availableIds() public view returns (uint256[] memory) {
    require(open(), "INACTIVE");
    uint256[] memory _availableIds = new uint256[](shelterSize);

    uint256 day = ((block.timestamp - shelterStartTime) / 1 days) % 365;
    uint256 startId = day * shelterSize + 1;
    uint256 index = 0;
    for (uint256 i = 0; i < shelterSize; i++) {
      _availableIds[index] = startId + i;
      index++;
    }
    return _availableIds;
  }

  /** config **/

  function setShelterStartTime(uint256 _shelterStartTime) external onlyOwner {
    shelterStartTime = _shelterStartTime;
  }

  function setShelterIsActive(bool _shelterIsActive) external onlyOwner {
    shelterIsActive = _shelterIsActive;
  }

  function setShelterSize(uint256 _size) external onlyOwner {
    shelterSize = _size;
  }

  function setDutchEndTime(uint256 _time) external onlyOwner {
    dutchEndTime = _time;
  }

  function setDutchStepTime(uint256 _time) external onlyOwner {
    dutchStepTime = _time;
  }

  function setDutchBasePrice(uint256 _price) external onlyOwner {
    dutchBasePrice = _price;
  }

  function setDutchStepPrice(uint256 _price) external onlyOwner {
    dutchStepPrice = _price;
  }

  function setArtLocked() external onlyOwner {
    artLocked = true;
  }

  function setArtAddress(address _address) external onlyOwner {
    require(!artLocked);
    artAddress = _address;
  }

  function resurrection(uint256 _tokenId) external {
    require(ownerOf(_tokenId) == _msgSender());
    _isResurrectioned[_tokenId] = true;
  }

  /* artwork */

  function tokenHTML(uint256 _tokenId, Mode mode)
    external
    view
    returns (string memory)
  {
    return
      IMarqueeArt(artAddress).tokenHTML(
        _tokenId,
        mode == Mode.CSS ? IMarqueeArt.Mode.CSS : IMarqueeArt.Mode.Marquee
      );
  }

  function tokenSVG(uint256 _tokenId) external view returns (string memory) {
    return
      IMarqueeArt(artAddress).tokenSVG(
        _tokenId,
        _isResurrectioned[_tokenId]
          ? IMarqueeArt.Mode.CSS
          : IMarqueeArt.Mode.Marquee
      );
  }

  function getDogString(uint256 _tokenId)
    external
    view
    returns (string memory)
  {
    return
      IMarqueeArt(artAddress).getDogString(
        _tokenId,
        _isResurrectioned[_tokenId]
          ? IMarqueeArt.Mode.CSS
          : IMarqueeArt.Mode.Marquee
      );
  }

  // @dev speed-x, speed-y
  function getDogSpeed(uint256 _tokenId) external view returns (uint8, uint8) {
    return IMarqueeArt(artAddress).getDogSpeed(_tokenId);
  }

  // @dev name, base, sky, border, cloud1, cloud2, grass, flower1, flower2, dog
  function getPalette(uint256 _tokenId)
    external
    view
    returns (string[10] memory)
  {
    return IMarqueeArt(artAddress).getPalette(_tokenId);
  }

  /* token utility */

  function tokenURI(uint256 _tokenId)
    public
    view
    override
    returns (string memory)
  {
    return
      IMarqueeArt(artAddress).tokenURI(
        _tokenId,
        _isResurrectioned[_tokenId]
          ? IMarqueeArt.Mode.CSS
          : IMarqueeArt.Mode.Marquee,
        _rescueDates[_tokenId]
      );
  }

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

  function withdrawBalance() external onlyOwner {
    (bool success, ) = msg.sender.call{ value: address(this).balance }("");
    require(success);
  }

  function walletOfOwner(address _owner)
    external
    view
    returns (uint256[] memory)
  {
    uint256 tokenCount = balanceOf(_owner);
    uint256[] memory tokensId = new uint256[](tokenCount);
    uint256 count;
    for (uint256 i = 1; i <= MAX_SUPPLY; i++) {
      if (_owners[i] == _owner) {
        tokensId[count] = i;
        count++;
      }
    }
    return tokensId;
  }

  function owners() external view returns (address[] memory) {
    address[] memory tokens = new address[](MAX_SUPPLY);

    for (uint256 i = 0; i < MAX_SUPPLY; i++) {
      tokens[i] = _owners[i + 1];
    }
    return tokens;
  }

  // The following functions are overrides required by Solidity.

  function _beforeTokenTransfer(
    address from,
    address to,
    uint256 tokenId
  ) internal override(ERC721) {
    super._beforeTokenTransfer(from, to, tokenId);
    _owners[tokenId] = to;
  }

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

  /**
   * Override isApprovedForAll to whitelist user's OpenSea proxy accounts to enable gas-less listings.
   */
  function isApprovedForAll(address _owner, address _operator)
    public
    view
    override
    returns (bool)
  {
    ProxyRegistry proxyRegistry = ProxyRegistry(proxyRegistryAddress);
    if (address(proxyRegistry.proxies(_owner)) == _operator) {
      return true;
    }

    return super.isApprovedForAll(_owner, _operator);
  }
}

/// [MIT License]
/// @title Base64
/// @notice Provides a function for encoding some bytes in base64
/// @author Brecht Devos <[email protected]>
library Base64 {
  bytes internal constant TABLE =
    "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";

  /// @notice Encodes some bytes to the base64 representation
  function encode(bytes memory data) internal pure returns (string memory) {
    uint256 len = data.length;
    if (len == 0) return "";

    // multiply by 4/3 rounded up
    uint256 encodedLen = 4 * ((len + 2) / 3);

    // Add some extra buffer at the end
    bytes memory result = new bytes(encodedLen + 32);

    bytes memory table = TABLE;

    assembly {
      let tablePtr := add(table, 1)
      let resultPtr := add(result, 32)

      for {
        let i := 0
      } lt(i, len) {

      } {
        i := add(i, 3)
        let input := and(mload(add(data, i)), 0xffffff)

        let out := mload(add(tablePtr, and(shr(18, input), 0x3F)))
        out := shl(8, out)
        out := add(
          out,
          and(mload(add(tablePtr, and(shr(12, input), 0x3F))), 0xFF)
        )
        out := shl(8, out)
        out := add(
          out,
          and(mload(add(tablePtr, and(shr(6, input), 0x3F))), 0xFF)
        )
        out := shl(8, out)
        out := add(out, and(mload(add(tablePtr, and(input, 0x3F))), 0xFF))
        out := shl(224, out)

        mstore(resultPtr, out)

        resultPtr := add(resultPtr, 4)
      }

      switch mod(len, 3)
      case 1 {
        mstore(sub(resultPtr, 2), shl(240, 0x3d3d))
      }
      case 2 {
        mstore(sub(resultPtr, 1), shl(248, 0x3d))
      }

      mstore(result, encodedLen)
    }

    return string(result);
  }
}

File 2 of 13 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and make it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;

        _;

        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }
}

File 3 of 13 : ERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        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 || 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.onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert("ERC721: transfer to non ERC721Receiver implementer");
                } else {
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

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

File 4 of 13 : 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() {
        _setOwner(_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 {
        _setOwner(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");
        _setOwner(newOwner);
    }

    function _setOwner(address newOwner) private {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 5 of 13 : Counters.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

File 6 of 13 : 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 7 of 13 : 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 8 of 13 : 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 9 of 13 : 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;
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 10 of 13 : 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) {
        return msg.data;
    }
}

File 11 of 13 : Strings.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        // Inspired by OraclizeAPI's implementation - MIT licence
        // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol

        if (value == 0) {
            return "0";
        }
        uint256 temp = value;
        uint256 digits;
        while (temp != 0) {
            digits++;
            temp /= 10;
        }
        bytes memory buffer = new bytes(digits);
        while (value != 0) {
            digits -= 1;
            buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
            value /= 10;
        }
        return string(buffer);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        if (value == 0) {
            return "0x00";
        }
        uint256 temp = value;
        uint256 length = 0;
        while (temp != 0) {
            length++;
            temp >>= 8;
        }
        return toHexString(value, length);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        bytes memory buffer = new bytes(2 * length + 2);
        buffer[0] = "0";
        buffer[1] = "x";
        for (uint256 i = 2 * length + 1; i > 1; --i) {
            buffer[i] = _HEX_SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }
}

File 12 of 13 : 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 13 of 13 : 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
{
  "optimizer": {
    "enabled": true,
    "runs": 200,
    "details": {
      "yul": false
    }
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "metadata": {
    "useLiteralContent": true
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_proxyRegistryAddress","type":"address"},{"internalType":"address","name":"_artAddress","type":"address"}],"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":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OWNER_ALLOTMENT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"artAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"artLocked","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"availableIds","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"dutchBasePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"dutchEndTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"dutchStepPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"dutchStepTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"getDogSpeed","outputs":[{"internalType":"uint8","name":"","type":"uint8"},{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"getDogString","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"getPalette","outputs":[{"internalType":"string[10]","name":"","type":"string[10]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"address","name":"_operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"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":"_tokenIds","type":"uint256[]"},{"internalType":"address","name":"to","type":"address"}],"name":"ownerMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owners","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"rescue","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"resurrection","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":"address","name":"_address","type":"address"}],"name":"setArtAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setArtLocked","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setDutchBasePrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_time","type":"uint256"}],"name":"setDutchEndTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setDutchStepPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_time","type":"uint256"}],"name":"setDutchStepTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_shelterIsActive","type":"bool"}],"name":"setShelterIsActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_size","type":"uint256"}],"name":"setShelterSize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_shelterStartTime","type":"uint256"}],"name":"setShelterStartTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"shelterIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"shelterSize","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"shelterStartTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"enum Marquee.Mode","name":"mode","type":"uint8"}],"name":"tokenHTML","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenSVG","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawBalance","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526003600e5566470de4df820000600f55662386f26fc1000060105561070860115561a8c06012553480156200003857600080fd5b50604051620032ca380380620032ca8339810160408190526200005b916200023c565b604080518082018252600f81526e36b0b938bab2b29039b432b63a32b960891b602080830191825283518085019094526005845264135454d31560da1b908401528151919291620000af916000916200015c565b508051620000c59060019060208401906200015c565b5050600160065550620000d8336200010a565b600c80546001600160a01b039384166001600160a01b031991821617909155600d8054929093169116179055620002c6565b600780546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200016a9062000295565b90600052602060002090601f0160209004810192826200018e5760008555620001d9565b82601f10620001a957805160ff1916838001178555620001d9565b82800160010185558215620001d9579182015b82811115620001d9578251825591602001919060010190620001bc565b50620001e7929150620001eb565b5090565b5b80821115620001e75760008155600101620001ec565b60006001600160a01b0382165b92915050565b620002208162000202565b81146200022c57600080fd5b50565b80516200020f8162000215565b60008060408385031215620002545762000254600080fd5b60006200026285856200022f565b925050602062000275858286016200022f565b9150509250929050565b634e487b7160e01b600052602260045260246000fd5b600281046001821680620002aa57607f821691505b60208210811415620002c057620002c06200027f565b50919050565b612ff480620002d66000396000f3fe6080604052600436106102e45760003560e01c80636ac053ad11610190578063a035b1fe116100dc578063c50497ae11610095578063ca0e84791161006f578063ca0e847914610866578063d6056ae414610894578063e985e9c5146108aa578063f2fde38b146108ca57600080fd5b8063c50497ae1461081b578063c507104a14610830578063c87b56dd1461084657600080fd5b8063a035b1fe1461076e578063a22cb46514610783578063affe39c1146107a3578063b88d4fde146107c5578063bade30a1146107e5578063c2f0c4ac1461080557600080fd5b80638be94e4a1161014957806395d89b411161012357806395d89b41146106f8578063964ee73e1461070d5780639bac5f7a1461072d5780639f300a561461074d57600080fd5b80638be94e4a1461069a5780638da5cb5b146106ba578063932c1cae146106d857600080fd5b80636ac053ad146105f257806370a082311461060557806370f1b6d214610625578063715018a614610645578063719fa7291461065a57806385285b071461067a57600080fd5b80633dc82c9c1161024f578063521bb07b11610208578063605a6e5d116101e2578063605a6e5d1461059257806362badd69146105a75780636352211e146105bc57806364abf310146105dc57600080fd5b8063521bb07b146105485780635e6d10f2146105685780635fd8c7101461057d57600080fd5b80633dc82c9c1461047457806342842e0e1461048e578063438b6300146104ae5780634584bc77146104db5780634afb3736146104fb578063505e570a1461051b57600080fd5b80630f12c39f116102a15780630f12c39f146103d357806318160ddd146103f357806323b872dd14610408578063256197dd1461042857806329e5e3961461043e57806332cb6b0c1461045e57600080fd5b806301ffc9a7146102e9578063021153821461031f57806306b476101461034257806306fdde0314610364578063081812fc14610386578063095ea7b3146103b3575b600080fd5b3480156102f557600080fd5b50610309610304366004611f2a565b6108ea565b6040516103169190611f55565b60405180910390f35b34801561032b57600080fd5b5061033560135481565b6040516103169190611f69565b34801561034e57600080fd5b5061036261035d366004611f9c565b6108fb565b005b34801561037057600080fd5b50610379610967565b604051610316919061201b565b34801561039257600080fd5b506103a66103a136600461203d565b6109f9565b6040516103169190612067565b3480156103bf57600080fd5b506103626103ce366004612075565b610a49565b3480156103df57600080fd5b506103626103ee36600461203d565b610acf565b3480156103ff57600080fd5b50600854610335565b34801561041457600080fd5b506103626104233660046120b2565b610afe565b34801561043457600080fd5b50610335600f5481565b34801561044a57600080fd5b50610362610459366004612115565b610b2f565b34801561046a57600080fd5b5061033561047981565b34801561048057600080fd5b506014546103099060ff1681565b34801561049a57600080fd5b506103626104a93660046120b2565b610b6c565b3480156104ba57600080fd5b506104ce6104c9366004611f9c565b610b87565b6040516103169190612193565b3480156104e757600080fd5b506103626104f636600461203d565b610c55565b34801561050757600080fd5b5061036261051636600461203d565b610c8d565b34801561052757600080fd5b5061053b61053636600461203d565b610cbc565b60405161031691906121fc565b34801561055457600080fd5b50610379610563366004612225565b610d48565b34801561057457600080fd5b50610335603281565b34801561058957600080fd5b50610362610df8565b34801561059e57600080fd5b506104ce610e8e565b3480156105b357600080fd5b50610362610fa6565b3480156105c857600080fd5b506103a66105d736600461203d565b610fe5565b3480156105e857600080fd5b50610335600e5481565b61036261060036600461203d565b61101a565b34801561061157600080fd5b50610335610620366004611f9c565b6111cb565b34801561063157600080fd5b5061036261064036600461203d565b61120f565b34801561065157600080fd5b5061036261123e565b34801561066657600080fd5b5061037961067536600461203d565b611274565b34801561068657600080fd5b5061036261069536600461203d565b61131d565b3480156106a657600080fd5b506103626106b536600461235f565b61134c565b3480156106c657600080fd5b506007546001600160a01b03166103a6565b3480156106e457600080fd5b50600d546103a6906001600160a01b031681565b34801561070457600080fd5b50610379611444565b34801561071957600080fd5b5061036261072836600461203d565b611453565b34801561073957600080fd5b5061037961074836600461203d565b611482565b34801561075957600080fd5b50600d5461030990600160a01b900460ff1681565b34801561077a57600080fd5b506103356114b7565b34801561078f57600080fd5b5061036261079e3660046123ac565b611541565b3480156107af57600080fd5b506107b86115d9565b6040516103169190612429565b3480156107d157600080fd5b506103626107e03660046124d1565b611683565b3480156107f157600080fd5b5061036261080036600461203d565b6116bb565b34801561081157600080fd5b5061033560105481565b34801561082757600080fd5b506103356116ea565b34801561083c57600080fd5b5061033560125481565b34801561085257600080fd5b5061037961086136600461203d565b6116fa565b34801561087257600080fd5b5061088661088136600461203d565b611765565b604051610316929190612559565b3480156108a057600080fd5b5061033560115481565b3480156108b657600080fd5b506103096108c5366004612574565b6117f2565b3480156108d657600080fd5b506103626108e5366004611f9c565b6118c6565b60006108f58261191f565b92915050565b6007546001600160a01b0316331461092e5760405162461bcd60e51b8152600401610925906125cb565b60405180910390fd5b600d54600160a01b900460ff161561094557600080fd5b600d80546001600160a01b0319166001600160a01b0392909216919091179055565b606060008054610976906125f1565b80601f01602080910402602001604051908101604052809291908181526020018280546109a2906125f1565b80156109ef5780601f106109c4576101008083540402835291602001916109ef565b820191906000526020600020905b8154815290600101906020018083116109d257829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b0316610a2d5760405162461bcd60e51b815260040161092590612664565b506000908152600460205260409020546001600160a01b031690565b6000610a5482610fe5565b9050806001600160a01b0316836001600160a01b03161415610a885760405162461bcd60e51b8152600401610925906126b2565b336001600160a01b0382161480610aa45750610aa481336117f2565b610ac05760405162461bcd60e51b81526004016109259061271c565b610aca838361196f565b505050565b6007546001600160a01b03163314610af95760405162461bcd60e51b8152600401610925906125cb565b600e55565b610b0833826119dd565b610b245760405162461bcd60e51b81526004016109259061277a565b610aca838383611a67565b6007546001600160a01b03163314610b595760405162461bcd60e51b8152600401610925906125cb565b6014805460ff1916911515919091179055565b610aca83838360405180602001604052806000815250611683565b60606000610b94836111cb565b905060008167ffffffffffffffff811115610bb157610bb1612258565b604051908082528060200260200182016040528015610bda578160200160208202803683370190505b509050600060015b6104798111610c4b576000818152600960205260409020546001600160a01b0387811691161415610c395780838381518110610c2057610c2061278a565b602090810291909101015281610c35816127b6565b9250505b80610c43816127b6565b915050610be2565b5090949350505050565b33610c5f82610fe5565b6001600160a01b031614610c7257600080fd5b6000908152600a60205260409020805460ff19166001179055565b6007546001600160a01b03163314610cb75760405162461bcd60e51b8152600401610925906125cb565b600f55565b610cc4611ee0565b600d5460405163282f2b8560e11b81526001600160a01b039091169063505e570a90610cf4908590600401611f69565b60006040518083038186803b158015610d0c57600080fd5b505afa158015610d20573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526108f591908101906128d3565b600d546060906001600160a01b031663521bb07b846001856001811115610d7157610d7161290e565b14610d7d576000610d80565b60015b6040518363ffffffff1660e01b8152600401610d9d929190612952565b60006040518083038186803b158015610db557600080fd5b505afa158015610dc9573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610df1919081019061296d565b9392505050565b6007546001600160a01b03163314610e225760405162461bcd60e51b8152600401610925906125cb565b6000336001600160a01b031647604051610e3b906129a8565b60006040518083038185875af1925050503d8060008114610e78576040519150601f19603f3d011682016040523d82523d6000602084013e610e7d565b606091505b5050905080610e8b57600080fd5b50565b6060610e98611b94565b610eb45760405162461bcd60e51b8152600401610925906129cf565b6000600e5467ffffffffffffffff811115610ed157610ed1612258565b604051908082528060200260200182016040528015610efa578160200160208202803683370190505b509050600061016d6201518060135442610f1491906129df565b610f1e9190612a0c565b610f289190612a20565b90506000600e5482610f3a9190612a34565b610f45906001612a53565b90506000805b600e54811015610f9c57610f5f8184612a53565b858381518110610f7157610f7161278a565b602090810291909101015281610f86816127b6565b9250508080610f94906127b6565b915050610f4b565b5092949350505050565b6007546001600160a01b03163314610fd05760405162461bcd60e51b8152600401610925906125cb565b600d805460ff60a01b1916600160a01b179055565b6000818152600260205260408120546001600160a01b0316806108f55760405162461bcd60e51b815260040161092590612ab1565b6002600654141561103d5760405162461bcd60e51b815260040161092590612af5565b600260065561104a6114b7565b3410156110695760405162461bcd60e51b815260040161092590612b43565b6000818152600260205260409020546001600160a01b03161561109e5760405162461bcd60e51b815260040161092590612b87565b6110a6611b94565b6110c25760405162461bcd60e51b8152600401610925906129cf565b60145460ff166110e45760405162461bcd60e51b8152600401610925906129cf565b80600010801561110057506110fc60326104796129df565b8111155b61111c5760405162461bcd60e51b815260040161092590612bb5565b6000611126610e8e565b90506000805b825181101561116d578281815181106111475761114761278a565b602002602001015184141561115b57600191505b80611165816127b6565b91505061112c565b508061118b5760405162461bcd60e51b815260040161092590612be9565b6008805490600061119b836127b6565b91905055506111a8611bb0565b6000848152600b60205260409020556111c13384611be0565b5050600160065550565b60006001600160a01b0382166111f35760405162461bcd60e51b815260040161092590612c40565b506001600160a01b031660009081526003602052604090205490565b6007546001600160a01b031633146112395760405162461bcd60e51b8152600401610925906125cb565b601355565b6007546001600160a01b031633146112685760405162461bcd60e51b8152600401610925906125cb565b6112726000611bfe565b565b600d546000828152600a60205260409020546060916001600160a01b0316906359bdff8b90849060ff166112a95760006112ac565b60015b6040518363ffffffff1660e01b81526004016112c9929190612952565b60006040518083038186803b1580156112e157600080fd5b505afa1580156112f5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526108f5919081019061296d565b6007546001600160a01b031633146113475760405162461bcd60e51b8152600401610925906125cb565b601055565b6002600654141561136f5760405162461bcd60e51b815260040161092590612af5565b60026006556007546001600160a01b0316331461139e5760405162461bcd60e51b8152600401610925906125cb565b60005b82518110156111c15760008382815181106113be576113be61278a565b602002602001015190508060001080156113da57506104798111155b6113e357600080fd5b806113f160326104796129df565b106113fb57600080fd5b6008805490600061140b836127b6565b9190505550611418611bb0565b6000828152600b60205260409020556114318382611be0565b508061143c816127b6565b9150506113a1565b606060018054610976906125f1565b6007546001600160a01b0316331461147d5760405162461bcd60e51b8152600401610925906125cb565b601155565b600d546000828152600a60205260409020546060916001600160a01b03169063b53f448a90849060ff166112a95760006112ac565b6000806012546114c5611bb0565b6114cf9190612a53565b9050804211156114e1575050600f5490565b60006114ed42836129df565b90506000601154826114ff9190612a0c565b9050611509611bb0565b42141561151e578061151a81612c50565b9150505b8060105461152c9190612a34565b600f546115399190612a53565b935050505090565b6001600160a01b03821633141561156a5760405162461bcd60e51b815260040161092590612c9b565b3360008181526005602090815260408083206001600160a01b038716808552925291829020805460ff191685151517905590519091907f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31906115cd908590611f55565b60405180910390a35050565b60408051610479808252618f4082019092526060916000919060208201618f208036833701905050905060005b61047981101561167d576009600061161f836001612a53565b815260200190815260200160002060009054906101000a90046001600160a01b03168282815181106116535761165361278a565b6001600160a01b039092166020928302919091019091015280611675816127b6565b915050611606565b50919050565b61168d33836119dd565b6116a95760405162461bcd60e51b81526004016109259061277a565b6116b584848484611c50565b50505050565b6007546001600160a01b031633146116e55760405162461bcd60e51b8152600401610925906125cb565b601255565b6116f760326104796129df565b81565b600d546000828152600a60205260409020546060916001600160a01b0316906363b0e91a90849060ff1661172f576000611732565b60015b6000868152600b6020526040908190205490516001600160e01b031960e086901b1681526112c993929190600401612cab565b600d5460405163ca0e847960e01b815260009182916001600160a01b039091169063ca0e84799061179a908690600401611f69565b604080518083038186803b1580156117b157600080fd5b505afa1580156117c5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117e99190612ce7565b91509150915091565b600c5460405163c455279160e01b81526000916001600160a01b039081169190841690829063c45527919061182b908890600401612067565b60206040518083038186803b15801561184357600080fd5b505afa158015611857573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061187b9190612d39565b6001600160a01b031614156118945760019150506108f5565b6001600160a01b0380851660009081526005602090815260408083209387168352929052205460ff165b949350505050565b6007546001600160a01b031633146118f05760405162461bcd60e51b8152600401610925906125cb565b6001600160a01b0381166119165760405162461bcd60e51b815260040161092590612d9d565b610e8b81611bfe565b60006001600160e01b031982166380ac58cd60e01b148061195057506001600160e01b03198216635b5e139f60e01b145b806108f557506301ffc9a760e01b6001600160e01b03198316146108f5565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906119a482610fe5565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b0316611a115760405162461bcd60e51b815260040161092590612df6565b6000611a1c83610fe5565b9050806001600160a01b0316846001600160a01b03161480611a575750836001600160a01b0316611a4c846109f9565b6001600160a01b0316145b806118be57506118be81856117f2565b826001600160a01b0316611a7a82610fe5565b6001600160a01b031614611aa05760405162461bcd60e51b815260040161092590612e4c565b6001600160a01b038216611ac65760405162461bcd60e51b815260040161092590612e9d565b611ad1838383611c83565b611adc60008261196f565b6001600160a01b0383166000908152600360205260408120805460019290611b059084906129df565b90915550506001600160a01b0382166000908152600360205260408120805460019290611b33908490612a53565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6000601354600014158015611bab57504260135411155b905090565b6000611bbf6201518042612a0c565b611bca90603c612a34565b611bd590603c612a34565b611bab906018612a34565b611bfa828260405180602001604052806000815250611cb2565b5050565b600780546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b611c5b848484611a67565b611c6784848484611ce5565b6116b55760405162461bcd60e51b815260040161092590612efc565b600090815260096020526040902080546001600160a01b0319166001600160a01b039290921691909117905550565b611cbc8383611df2565b611cc96000848484611ce5565b610aca5760405162461bcd60e51b815260040161092590612efc565b60006001600160a01b0384163b15611de757604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611d29903390899088908890600401612f0c565b602060405180830381600087803b158015611d4357600080fd5b505af1925050508015611d73575060408051601f3d908101601f19168201909252611d7091810190612f5b565b60015b611dcd573d808015611da1576040519150601f19603f3d011682016040523d82523d6000602084013e611da6565b606091505b508051611dc55760405162461bcd60e51b815260040161092590612efc565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506118be565b506001949350505050565b6001600160a01b038216611e185760405162461bcd60e51b815260040161092590612fae565b6000818152600260205260409020546001600160a01b031615611e4d5760405162461bcd60e51b815260040161092590612b87565b611e5960008383611c83565b6001600160a01b0382166000908152600360205260408120805460019290611e82908490612a53565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b604051806101400160405280600a905b6060815260200190600190039081611ef05790505090565b6001600160e01b031981165b8114610e8b57600080fd5b80356108f581611f08565b600060208284031215611f3f57611f3f600080fd5b60006118be8484611f1f565b8015155b82525050565b602081016108f58284611f4b565b80611f4f565b602081016108f58284611f63565b60006001600160a01b0382166108f5565b611f1481611f77565b80356108f581611f88565b600060208284031215611fb157611fb1600080fd5b60006118be8484611f91565b60005b83811015611fd8578181015183820152602001611fc0565b838111156116b55750506000910152565b6000611ff3825190565b80845260208401935061200a818560208601611fbd565b601f01601f19169290920192915050565b60208082528101610df18184611fe9565b80611f14565b80356108f58161202c565b60006020828403121561205257612052600080fd5b60006118be8484612032565b611f4f81611f77565b602081016108f5828461205e565b6000806040838503121561208b5761208b600080fd5b60006120978585611f91565b92505060206120a885828601612032565b9150509250929050565b6000806000606084860312156120ca576120ca600080fd5b60006120d68686611f91565b93505060206120e786828701611f91565b92505060406120f886828701612032565b9150509250925092565b801515611f14565b80356108f581612102565b60006020828403121561212a5761212a600080fd5b60006118be848461210a565b60006121428383611f63565b505060200190565b6000612154825190565b80845260209384019383018060005b838110156121885781516121778882612136565b975060208301925050600101612163565b509495945050505050565b60208082528101610df1818461214a565b6000610df18383611fe9565b6000600a8361014081018480855b858110156121ef57848403895281516121d785826121a4565b94506020830160209a909a01999250506001016121be565b5091979650505050505050565b60208082528101610df181846121b0565b60028110610e8b57600080fd5b80356108f58161220d565b6000806040838503121561223b5761223b600080fd5b60006122478585612032565b92505060206120a88582860161221a565b634e487b7160e01b600052604160045260246000fd5b601f19601f830116810181811067ffffffffffffffff8211171561229457612294612258565b6040525050565b60006122a660405190565b90506122b2828261226e565b919050565b600067ffffffffffffffff8211156122d1576122d1612258565b5060209081020190565b60006122ee6122e9846122b7565b61229b565b8381529050602080820190840283018581111561230d5761230d600080fd5b835b8181101561233157806123228882612032565b8452506020928301920161230f565b5050509392505050565b600082601f83011261234f5761234f600080fd5b81356118be8482602086016122db565b6000806040838503121561237557612375600080fd5b823567ffffffffffffffff81111561238f5761238f600080fd5b61239b8582860161233b565b92505060206120a885828601611f91565b600080604083850312156123c2576123c2600080fd5b60006123ce8585611f91565b92505060206120a88582860161210a565b6000612142838361205e565b60006123f5825190565b80845260209384019383018060005b8381101561218857815161241888826123df565b975060208301925050600101612404565b60208082528101610df181846123eb565b600067ffffffffffffffff82111561245457612454612258565b601f19601f83011660200192915050565b82818337506000910152565b600061247f6122e98461243a565b90508281526020810184848401111561249a5761249a600080fd5b6124a5848285612465565b509392505050565b600082601f8301126124c1576124c1600080fd5b81356118be848260208601612471565b600080600080608085870312156124ea576124ea600080fd5b60006124f68787611f91565b945050602061250787828801611f91565b935050604061251887828801612032565b925050606085013567ffffffffffffffff81111561253857612538600080fd5b612544878288016124ad565b91505092959194509250565b60ff8116611f4f565b604081016125678285612550565b610df16020830184612550565b6000806040838503121561258a5761258a600080fd5b600061239b8585611f91565b60208082527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572910190815260005b5060200190565b602080825281016108f581612596565b634e487b7160e01b600052602260045260246000fd5b60028104600182168061260557607f821691505b6020821081141561167d5761167d6125db565b602c81526000602082017f4552433732313a20617070726f76656420717565727920666f72206e6f6e657881526b34b9ba32b73a103a37b5b2b760a11b602082015291505b5060400190565b602080825281016108f581612618565b602181526000602082017f4552433732313a20617070726f76616c20746f2063757272656e74206f776e658152603960f91b6020820152915061265d565b602080825281016108f581612674565b603881526000602082017f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7781527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006020820152915061265d565b602080825281016108f5816126c2565b603181526000602082017f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f8152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b6020820152915061265d565b602080825281016108f58161272c565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60006000198214156127ca576127ca6127a0565b5060010190565b600067ffffffffffffffff8211156127eb576127eb612258565b5060200290565b60006128006122e98461243a565b90508281526020810184848401111561281b5761281b600080fd5b6124a5848285611fbd565b600082601f83011261283a5761283a600080fd5b81516118be8482602086016127f2565b60006128586122e9846127d1565b9050806020840283018581111561287157612871600080fd5b835b8181101561233157805167ffffffffffffffff81111561289557612895600080fd5b8086016128a28982612826565b8552505060209283019201612873565b600082601f8301126128c6576128c6600080fd5b600a6118be84828561284a565b6000602082840312156128e8576128e8600080fd5b815167ffffffffffffffff81111561290257612902600080fd5b6118be848285016128b2565b634e487b7160e01b600052602160045260246000fd5b60028110610e8b57610e8b61290e565b806122b281612924565b60006108f582612934565b611f4f8161293e565b604081016129608285611f63565b610df16020830184612949565b60006020828403121561298257612982600080fd5b815167ffffffffffffffff81111561299c5761299c600080fd5b6118be84828501612826565b6000816108f5565b6008815260006020820167494e41435449564560c01b815291506125c4565b602080825281016108f5816129b0565b6000828210156129f1576129f16127a0565b500390565b634e487b7160e01b600052601260045260246000fd5b600082612a1b57612a1b6129f6565b500490565b600082612a2f57612a2f6129f6565b500690565b6000816000190483118215151615612a4e57612a4e6127a0565b500290565b60008219821115612a6657612a666127a0565b500190565b602981526000602082017f4552433732313a206f776e657220717565727920666f72206e6f6e657869737481526832b73a103a37b5b2b760b91b6020820152915061265d565b602080825281016108f581612a6b565b601f81526000602082017f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00815291506125c4565b602080825281016108f581612ac1565b602181526000602082017f4e6f7420656e6f756768204554482073656e743b20636865636b2070726963658152602160f81b6020820152915061265d565b602080825281016108f581612b05565b601c81526000602082017f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000815291506125c4565b602080825281016108f581612b53565b60078152600060208201661253959053125160ca1b815291506125c4565b602080825281016108f581612b97565b600d81526000602082016c4e4f5420415641494c41424c4560981b815291506125c4565b602080825281016108f581612bc5565b602a81526000602082017f4552433732313a2062616c616e636520717565727920666f7220746865207a65815269726f206164647265737360b01b6020820152915061265d565b602080825281016108f581612bf9565b600081612c5f57612c5f6127a0565b506000190190565b601981526000602082017f4552433732313a20617070726f766520746f2063616c6c657200000000000000815291506125c4565b602080825281016108f581612c67565b60608101612cb98286611f63565b612cc66020830185612949565b6118be6040830184611f63565b60ff8116611f14565b80516108f581612cd3565b60008060408385031215612cfd57612cfd600080fd5b6000612d098585612cdc565b92505060206120a885828601612cdc565b60006108f582611f77565b611f1481612d1a565b80516108f581612d25565b600060208284031215612d4e57612d4e600080fd5b60006118be8484612d2e565b602681526000602082017f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206181526564647265737360d01b6020820152915061265d565b602080825281016108f581612d5a565b602c81526000602082017f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657881526b34b9ba32b73a103a37b5b2b760a11b6020820152915061265d565b602080825281016108f581612dad565b602981526000602082017f4552433732313a207472616e73666572206f6620746f6b656e2074686174206981526839903737ba1037bbb760b91b6020820152915061265d565b602080825281016108f581612e06565b602481526000602082017f4552433732313a207472616e7366657220746f20746865207a65726f206164648152637265737360e01b6020820152915061265d565b602080825281016108f581612e5c565b603281526000602082017f4552433732313a207472616e7366657220746f206e6f6e20455243373231526581527131b2b4bb32b91034b6b83632b6b2b73a32b960711b6020820152915061265d565b602080825281016108f581612ead565b60808101612f1a828761205e565b612f27602083018661205e565b612f346040830185611f63565b8181036060830152612f468184611fe9565b9695505050505050565b80516108f581611f08565b600060208284031215612f7057612f70600080fd5b60006118be8484612f50565b60208082527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373910190815260006125c4565b602080825281016108f581612f7c56fea2646970667358221220e5f7533a24c915ad374a1b8c6b5f43feacfb3d30902bc7c8c33e7cedf6fe15b564736f6c63430008090033000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1000000000000000000000000e2e571078c1a7b24d646b3070d4aedd503c05c60

Deployed Bytecode

0x6080604052600436106102e45760003560e01c80636ac053ad11610190578063a035b1fe116100dc578063c50497ae11610095578063ca0e84791161006f578063ca0e847914610866578063d6056ae414610894578063e985e9c5146108aa578063f2fde38b146108ca57600080fd5b8063c50497ae1461081b578063c507104a14610830578063c87b56dd1461084657600080fd5b8063a035b1fe1461076e578063a22cb46514610783578063affe39c1146107a3578063b88d4fde146107c5578063bade30a1146107e5578063c2f0c4ac1461080557600080fd5b80638be94e4a1161014957806395d89b411161012357806395d89b41146106f8578063964ee73e1461070d5780639bac5f7a1461072d5780639f300a561461074d57600080fd5b80638be94e4a1461069a5780638da5cb5b146106ba578063932c1cae146106d857600080fd5b80636ac053ad146105f257806370a082311461060557806370f1b6d214610625578063715018a614610645578063719fa7291461065a57806385285b071461067a57600080fd5b80633dc82c9c1161024f578063521bb07b11610208578063605a6e5d116101e2578063605a6e5d1461059257806362badd69146105a75780636352211e146105bc57806364abf310146105dc57600080fd5b8063521bb07b146105485780635e6d10f2146105685780635fd8c7101461057d57600080fd5b80633dc82c9c1461047457806342842e0e1461048e578063438b6300146104ae5780634584bc77146104db5780634afb3736146104fb578063505e570a1461051b57600080fd5b80630f12c39f116102a15780630f12c39f146103d357806318160ddd146103f357806323b872dd14610408578063256197dd1461042857806329e5e3961461043e57806332cb6b0c1461045e57600080fd5b806301ffc9a7146102e9578063021153821461031f57806306b476101461034257806306fdde0314610364578063081812fc14610386578063095ea7b3146103b3575b600080fd5b3480156102f557600080fd5b50610309610304366004611f2a565b6108ea565b6040516103169190611f55565b60405180910390f35b34801561032b57600080fd5b5061033560135481565b6040516103169190611f69565b34801561034e57600080fd5b5061036261035d366004611f9c565b6108fb565b005b34801561037057600080fd5b50610379610967565b604051610316919061201b565b34801561039257600080fd5b506103a66103a136600461203d565b6109f9565b6040516103169190612067565b3480156103bf57600080fd5b506103626103ce366004612075565b610a49565b3480156103df57600080fd5b506103626103ee36600461203d565b610acf565b3480156103ff57600080fd5b50600854610335565b34801561041457600080fd5b506103626104233660046120b2565b610afe565b34801561043457600080fd5b50610335600f5481565b34801561044a57600080fd5b50610362610459366004612115565b610b2f565b34801561046a57600080fd5b5061033561047981565b34801561048057600080fd5b506014546103099060ff1681565b34801561049a57600080fd5b506103626104a93660046120b2565b610b6c565b3480156104ba57600080fd5b506104ce6104c9366004611f9c565b610b87565b6040516103169190612193565b3480156104e757600080fd5b506103626104f636600461203d565b610c55565b34801561050757600080fd5b5061036261051636600461203d565b610c8d565b34801561052757600080fd5b5061053b61053636600461203d565b610cbc565b60405161031691906121fc565b34801561055457600080fd5b50610379610563366004612225565b610d48565b34801561057457600080fd5b50610335603281565b34801561058957600080fd5b50610362610df8565b34801561059e57600080fd5b506104ce610e8e565b3480156105b357600080fd5b50610362610fa6565b3480156105c857600080fd5b506103a66105d736600461203d565b610fe5565b3480156105e857600080fd5b50610335600e5481565b61036261060036600461203d565b61101a565b34801561061157600080fd5b50610335610620366004611f9c565b6111cb565b34801561063157600080fd5b5061036261064036600461203d565b61120f565b34801561065157600080fd5b5061036261123e565b34801561066657600080fd5b5061037961067536600461203d565b611274565b34801561068657600080fd5b5061036261069536600461203d565b61131d565b3480156106a657600080fd5b506103626106b536600461235f565b61134c565b3480156106c657600080fd5b506007546001600160a01b03166103a6565b3480156106e457600080fd5b50600d546103a6906001600160a01b031681565b34801561070457600080fd5b50610379611444565b34801561071957600080fd5b5061036261072836600461203d565b611453565b34801561073957600080fd5b5061037961074836600461203d565b611482565b34801561075957600080fd5b50600d5461030990600160a01b900460ff1681565b34801561077a57600080fd5b506103356114b7565b34801561078f57600080fd5b5061036261079e3660046123ac565b611541565b3480156107af57600080fd5b506107b86115d9565b6040516103169190612429565b3480156107d157600080fd5b506103626107e03660046124d1565b611683565b3480156107f157600080fd5b5061036261080036600461203d565b6116bb565b34801561081157600080fd5b5061033560105481565b34801561082757600080fd5b506103356116ea565b34801561083c57600080fd5b5061033560125481565b34801561085257600080fd5b5061037961086136600461203d565b6116fa565b34801561087257600080fd5b5061088661088136600461203d565b611765565b604051610316929190612559565b3480156108a057600080fd5b5061033560115481565b3480156108b657600080fd5b506103096108c5366004612574565b6117f2565b3480156108d657600080fd5b506103626108e5366004611f9c565b6118c6565b60006108f58261191f565b92915050565b6007546001600160a01b0316331461092e5760405162461bcd60e51b8152600401610925906125cb565b60405180910390fd5b600d54600160a01b900460ff161561094557600080fd5b600d80546001600160a01b0319166001600160a01b0392909216919091179055565b606060008054610976906125f1565b80601f01602080910402602001604051908101604052809291908181526020018280546109a2906125f1565b80156109ef5780601f106109c4576101008083540402835291602001916109ef565b820191906000526020600020905b8154815290600101906020018083116109d257829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b0316610a2d5760405162461bcd60e51b815260040161092590612664565b506000908152600460205260409020546001600160a01b031690565b6000610a5482610fe5565b9050806001600160a01b0316836001600160a01b03161415610a885760405162461bcd60e51b8152600401610925906126b2565b336001600160a01b0382161480610aa45750610aa481336117f2565b610ac05760405162461bcd60e51b81526004016109259061271c565b610aca838361196f565b505050565b6007546001600160a01b03163314610af95760405162461bcd60e51b8152600401610925906125cb565b600e55565b610b0833826119dd565b610b245760405162461bcd60e51b81526004016109259061277a565b610aca838383611a67565b6007546001600160a01b03163314610b595760405162461bcd60e51b8152600401610925906125cb565b6014805460ff1916911515919091179055565b610aca83838360405180602001604052806000815250611683565b60606000610b94836111cb565b905060008167ffffffffffffffff811115610bb157610bb1612258565b604051908082528060200260200182016040528015610bda578160200160208202803683370190505b509050600060015b6104798111610c4b576000818152600960205260409020546001600160a01b0387811691161415610c395780838381518110610c2057610c2061278a565b602090810291909101015281610c35816127b6565b9250505b80610c43816127b6565b915050610be2565b5090949350505050565b33610c5f82610fe5565b6001600160a01b031614610c7257600080fd5b6000908152600a60205260409020805460ff19166001179055565b6007546001600160a01b03163314610cb75760405162461bcd60e51b8152600401610925906125cb565b600f55565b610cc4611ee0565b600d5460405163282f2b8560e11b81526001600160a01b039091169063505e570a90610cf4908590600401611f69565b60006040518083038186803b158015610d0c57600080fd5b505afa158015610d20573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526108f591908101906128d3565b600d546060906001600160a01b031663521bb07b846001856001811115610d7157610d7161290e565b14610d7d576000610d80565b60015b6040518363ffffffff1660e01b8152600401610d9d929190612952565b60006040518083038186803b158015610db557600080fd5b505afa158015610dc9573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610df1919081019061296d565b9392505050565b6007546001600160a01b03163314610e225760405162461bcd60e51b8152600401610925906125cb565b6000336001600160a01b031647604051610e3b906129a8565b60006040518083038185875af1925050503d8060008114610e78576040519150601f19603f3d011682016040523d82523d6000602084013e610e7d565b606091505b5050905080610e8b57600080fd5b50565b6060610e98611b94565b610eb45760405162461bcd60e51b8152600401610925906129cf565b6000600e5467ffffffffffffffff811115610ed157610ed1612258565b604051908082528060200260200182016040528015610efa578160200160208202803683370190505b509050600061016d6201518060135442610f1491906129df565b610f1e9190612a0c565b610f289190612a20565b90506000600e5482610f3a9190612a34565b610f45906001612a53565b90506000805b600e54811015610f9c57610f5f8184612a53565b858381518110610f7157610f7161278a565b602090810291909101015281610f86816127b6565b9250508080610f94906127b6565b915050610f4b565b5092949350505050565b6007546001600160a01b03163314610fd05760405162461bcd60e51b8152600401610925906125cb565b600d805460ff60a01b1916600160a01b179055565b6000818152600260205260408120546001600160a01b0316806108f55760405162461bcd60e51b815260040161092590612ab1565b6002600654141561103d5760405162461bcd60e51b815260040161092590612af5565b600260065561104a6114b7565b3410156110695760405162461bcd60e51b815260040161092590612b43565b6000818152600260205260409020546001600160a01b03161561109e5760405162461bcd60e51b815260040161092590612b87565b6110a6611b94565b6110c25760405162461bcd60e51b8152600401610925906129cf565b60145460ff166110e45760405162461bcd60e51b8152600401610925906129cf565b80600010801561110057506110fc60326104796129df565b8111155b61111c5760405162461bcd60e51b815260040161092590612bb5565b6000611126610e8e565b90506000805b825181101561116d578281815181106111475761114761278a565b602002602001015184141561115b57600191505b80611165816127b6565b91505061112c565b508061118b5760405162461bcd60e51b815260040161092590612be9565b6008805490600061119b836127b6565b91905055506111a8611bb0565b6000848152600b60205260409020556111c13384611be0565b5050600160065550565b60006001600160a01b0382166111f35760405162461bcd60e51b815260040161092590612c40565b506001600160a01b031660009081526003602052604090205490565b6007546001600160a01b031633146112395760405162461bcd60e51b8152600401610925906125cb565b601355565b6007546001600160a01b031633146112685760405162461bcd60e51b8152600401610925906125cb565b6112726000611bfe565b565b600d546000828152600a60205260409020546060916001600160a01b0316906359bdff8b90849060ff166112a95760006112ac565b60015b6040518363ffffffff1660e01b81526004016112c9929190612952565b60006040518083038186803b1580156112e157600080fd5b505afa1580156112f5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526108f5919081019061296d565b6007546001600160a01b031633146113475760405162461bcd60e51b8152600401610925906125cb565b601055565b6002600654141561136f5760405162461bcd60e51b815260040161092590612af5565b60026006556007546001600160a01b0316331461139e5760405162461bcd60e51b8152600401610925906125cb565b60005b82518110156111c15760008382815181106113be576113be61278a565b602002602001015190508060001080156113da57506104798111155b6113e357600080fd5b806113f160326104796129df565b106113fb57600080fd5b6008805490600061140b836127b6565b9190505550611418611bb0565b6000828152600b60205260409020556114318382611be0565b508061143c816127b6565b9150506113a1565b606060018054610976906125f1565b6007546001600160a01b0316331461147d5760405162461bcd60e51b8152600401610925906125cb565b601155565b600d546000828152600a60205260409020546060916001600160a01b03169063b53f448a90849060ff166112a95760006112ac565b6000806012546114c5611bb0565b6114cf9190612a53565b9050804211156114e1575050600f5490565b60006114ed42836129df565b90506000601154826114ff9190612a0c565b9050611509611bb0565b42141561151e578061151a81612c50565b9150505b8060105461152c9190612a34565b600f546115399190612a53565b935050505090565b6001600160a01b03821633141561156a5760405162461bcd60e51b815260040161092590612c9b565b3360008181526005602090815260408083206001600160a01b038716808552925291829020805460ff191685151517905590519091907f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31906115cd908590611f55565b60405180910390a35050565b60408051610479808252618f4082019092526060916000919060208201618f208036833701905050905060005b61047981101561167d576009600061161f836001612a53565b815260200190815260200160002060009054906101000a90046001600160a01b03168282815181106116535761165361278a565b6001600160a01b039092166020928302919091019091015280611675816127b6565b915050611606565b50919050565b61168d33836119dd565b6116a95760405162461bcd60e51b81526004016109259061277a565b6116b584848484611c50565b50505050565b6007546001600160a01b031633146116e55760405162461bcd60e51b8152600401610925906125cb565b601255565b6116f760326104796129df565b81565b600d546000828152600a60205260409020546060916001600160a01b0316906363b0e91a90849060ff1661172f576000611732565b60015b6000868152600b6020526040908190205490516001600160e01b031960e086901b1681526112c993929190600401612cab565b600d5460405163ca0e847960e01b815260009182916001600160a01b039091169063ca0e84799061179a908690600401611f69565b604080518083038186803b1580156117b157600080fd5b505afa1580156117c5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117e99190612ce7565b91509150915091565b600c5460405163c455279160e01b81526000916001600160a01b039081169190841690829063c45527919061182b908890600401612067565b60206040518083038186803b15801561184357600080fd5b505afa158015611857573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061187b9190612d39565b6001600160a01b031614156118945760019150506108f5565b6001600160a01b0380851660009081526005602090815260408083209387168352929052205460ff165b949350505050565b6007546001600160a01b031633146118f05760405162461bcd60e51b8152600401610925906125cb565b6001600160a01b0381166119165760405162461bcd60e51b815260040161092590612d9d565b610e8b81611bfe565b60006001600160e01b031982166380ac58cd60e01b148061195057506001600160e01b03198216635b5e139f60e01b145b806108f557506301ffc9a760e01b6001600160e01b03198316146108f5565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906119a482610fe5565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b0316611a115760405162461bcd60e51b815260040161092590612df6565b6000611a1c83610fe5565b9050806001600160a01b0316846001600160a01b03161480611a575750836001600160a01b0316611a4c846109f9565b6001600160a01b0316145b806118be57506118be81856117f2565b826001600160a01b0316611a7a82610fe5565b6001600160a01b031614611aa05760405162461bcd60e51b815260040161092590612e4c565b6001600160a01b038216611ac65760405162461bcd60e51b815260040161092590612e9d565b611ad1838383611c83565b611adc60008261196f565b6001600160a01b0383166000908152600360205260408120805460019290611b059084906129df565b90915550506001600160a01b0382166000908152600360205260408120805460019290611b33908490612a53565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6000601354600014158015611bab57504260135411155b905090565b6000611bbf6201518042612a0c565b611bca90603c612a34565b611bd590603c612a34565b611bab906018612a34565b611bfa828260405180602001604052806000815250611cb2565b5050565b600780546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b611c5b848484611a67565b611c6784848484611ce5565b6116b55760405162461bcd60e51b815260040161092590612efc565b600090815260096020526040902080546001600160a01b0319166001600160a01b039290921691909117905550565b611cbc8383611df2565b611cc96000848484611ce5565b610aca5760405162461bcd60e51b815260040161092590612efc565b60006001600160a01b0384163b15611de757604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611d29903390899088908890600401612f0c565b602060405180830381600087803b158015611d4357600080fd5b505af1925050508015611d73575060408051601f3d908101601f19168201909252611d7091810190612f5b565b60015b611dcd573d808015611da1576040519150601f19603f3d011682016040523d82523d6000602084013e611da6565b606091505b508051611dc55760405162461bcd60e51b815260040161092590612efc565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506118be565b506001949350505050565b6001600160a01b038216611e185760405162461bcd60e51b815260040161092590612fae565b6000818152600260205260409020546001600160a01b031615611e4d5760405162461bcd60e51b815260040161092590612b87565b611e5960008383611c83565b6001600160a01b0382166000908152600360205260408120805460019290611e82908490612a53565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b604051806101400160405280600a905b6060815260200190600190039081611ef05790505090565b6001600160e01b031981165b8114610e8b57600080fd5b80356108f581611f08565b600060208284031215611f3f57611f3f600080fd5b60006118be8484611f1f565b8015155b82525050565b602081016108f58284611f4b565b80611f4f565b602081016108f58284611f63565b60006001600160a01b0382166108f5565b611f1481611f77565b80356108f581611f88565b600060208284031215611fb157611fb1600080fd5b60006118be8484611f91565b60005b83811015611fd8578181015183820152602001611fc0565b838111156116b55750506000910152565b6000611ff3825190565b80845260208401935061200a818560208601611fbd565b601f01601f19169290920192915050565b60208082528101610df18184611fe9565b80611f14565b80356108f58161202c565b60006020828403121561205257612052600080fd5b60006118be8484612032565b611f4f81611f77565b602081016108f5828461205e565b6000806040838503121561208b5761208b600080fd5b60006120978585611f91565b92505060206120a885828601612032565b9150509250929050565b6000806000606084860312156120ca576120ca600080fd5b60006120d68686611f91565b93505060206120e786828701611f91565b92505060406120f886828701612032565b9150509250925092565b801515611f14565b80356108f581612102565b60006020828403121561212a5761212a600080fd5b60006118be848461210a565b60006121428383611f63565b505060200190565b6000612154825190565b80845260209384019383018060005b838110156121885781516121778882612136565b975060208301925050600101612163565b509495945050505050565b60208082528101610df1818461214a565b6000610df18383611fe9565b6000600a8361014081018480855b858110156121ef57848403895281516121d785826121a4565b94506020830160209a909a01999250506001016121be565b5091979650505050505050565b60208082528101610df181846121b0565b60028110610e8b57600080fd5b80356108f58161220d565b6000806040838503121561223b5761223b600080fd5b60006122478585612032565b92505060206120a88582860161221a565b634e487b7160e01b600052604160045260246000fd5b601f19601f830116810181811067ffffffffffffffff8211171561229457612294612258565b6040525050565b60006122a660405190565b90506122b2828261226e565b919050565b600067ffffffffffffffff8211156122d1576122d1612258565b5060209081020190565b60006122ee6122e9846122b7565b61229b565b8381529050602080820190840283018581111561230d5761230d600080fd5b835b8181101561233157806123228882612032565b8452506020928301920161230f565b5050509392505050565b600082601f83011261234f5761234f600080fd5b81356118be8482602086016122db565b6000806040838503121561237557612375600080fd5b823567ffffffffffffffff81111561238f5761238f600080fd5b61239b8582860161233b565b92505060206120a885828601611f91565b600080604083850312156123c2576123c2600080fd5b60006123ce8585611f91565b92505060206120a88582860161210a565b6000612142838361205e565b60006123f5825190565b80845260209384019383018060005b8381101561218857815161241888826123df565b975060208301925050600101612404565b60208082528101610df181846123eb565b600067ffffffffffffffff82111561245457612454612258565b601f19601f83011660200192915050565b82818337506000910152565b600061247f6122e98461243a565b90508281526020810184848401111561249a5761249a600080fd5b6124a5848285612465565b509392505050565b600082601f8301126124c1576124c1600080fd5b81356118be848260208601612471565b600080600080608085870312156124ea576124ea600080fd5b60006124f68787611f91565b945050602061250787828801611f91565b935050604061251887828801612032565b925050606085013567ffffffffffffffff81111561253857612538600080fd5b612544878288016124ad565b91505092959194509250565b60ff8116611f4f565b604081016125678285612550565b610df16020830184612550565b6000806040838503121561258a5761258a600080fd5b600061239b8585611f91565b60208082527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572910190815260005b5060200190565b602080825281016108f581612596565b634e487b7160e01b600052602260045260246000fd5b60028104600182168061260557607f821691505b6020821081141561167d5761167d6125db565b602c81526000602082017f4552433732313a20617070726f76656420717565727920666f72206e6f6e657881526b34b9ba32b73a103a37b5b2b760a11b602082015291505b5060400190565b602080825281016108f581612618565b602181526000602082017f4552433732313a20617070726f76616c20746f2063757272656e74206f776e658152603960f91b6020820152915061265d565b602080825281016108f581612674565b603881526000602082017f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7781527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006020820152915061265d565b602080825281016108f5816126c2565b603181526000602082017f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f8152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b6020820152915061265d565b602080825281016108f58161272c565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60006000198214156127ca576127ca6127a0565b5060010190565b600067ffffffffffffffff8211156127eb576127eb612258565b5060200290565b60006128006122e98461243a565b90508281526020810184848401111561281b5761281b600080fd5b6124a5848285611fbd565b600082601f83011261283a5761283a600080fd5b81516118be8482602086016127f2565b60006128586122e9846127d1565b9050806020840283018581111561287157612871600080fd5b835b8181101561233157805167ffffffffffffffff81111561289557612895600080fd5b8086016128a28982612826565b8552505060209283019201612873565b600082601f8301126128c6576128c6600080fd5b600a6118be84828561284a565b6000602082840312156128e8576128e8600080fd5b815167ffffffffffffffff81111561290257612902600080fd5b6118be848285016128b2565b634e487b7160e01b600052602160045260246000fd5b60028110610e8b57610e8b61290e565b806122b281612924565b60006108f582612934565b611f4f8161293e565b604081016129608285611f63565b610df16020830184612949565b60006020828403121561298257612982600080fd5b815167ffffffffffffffff81111561299c5761299c600080fd5b6118be84828501612826565b6000816108f5565b6008815260006020820167494e41435449564560c01b815291506125c4565b602080825281016108f5816129b0565b6000828210156129f1576129f16127a0565b500390565b634e487b7160e01b600052601260045260246000fd5b600082612a1b57612a1b6129f6565b500490565b600082612a2f57612a2f6129f6565b500690565b6000816000190483118215151615612a4e57612a4e6127a0565b500290565b60008219821115612a6657612a666127a0565b500190565b602981526000602082017f4552433732313a206f776e657220717565727920666f72206e6f6e657869737481526832b73a103a37b5b2b760b91b6020820152915061265d565b602080825281016108f581612a6b565b601f81526000602082017f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00815291506125c4565b602080825281016108f581612ac1565b602181526000602082017f4e6f7420656e6f756768204554482073656e743b20636865636b2070726963658152602160f81b6020820152915061265d565b602080825281016108f581612b05565b601c81526000602082017f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000815291506125c4565b602080825281016108f581612b53565b60078152600060208201661253959053125160ca1b815291506125c4565b602080825281016108f581612b97565b600d81526000602082016c4e4f5420415641494c41424c4560981b815291506125c4565b602080825281016108f581612bc5565b602a81526000602082017f4552433732313a2062616c616e636520717565727920666f7220746865207a65815269726f206164647265737360b01b6020820152915061265d565b602080825281016108f581612bf9565b600081612c5f57612c5f6127a0565b506000190190565b601981526000602082017f4552433732313a20617070726f766520746f2063616c6c657200000000000000815291506125c4565b602080825281016108f581612c67565b60608101612cb98286611f63565b612cc66020830185612949565b6118be6040830184611f63565b60ff8116611f14565b80516108f581612cd3565b60008060408385031215612cfd57612cfd600080fd5b6000612d098585612cdc565b92505060206120a885828601612cdc565b60006108f582611f77565b611f1481612d1a565b80516108f581612d25565b600060208284031215612d4e57612d4e600080fd5b60006118be8484612d2e565b602681526000602082017f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206181526564647265737360d01b6020820152915061265d565b602080825281016108f581612d5a565b602c81526000602082017f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657881526b34b9ba32b73a103a37b5b2b760a11b6020820152915061265d565b602080825281016108f581612dad565b602981526000602082017f4552433732313a207472616e73666572206f6620746f6b656e2074686174206981526839903737ba1037bbb760b91b6020820152915061265d565b602080825281016108f581612e06565b602481526000602082017f4552433732313a207472616e7366657220746f20746865207a65726f206164648152637265737360e01b6020820152915061265d565b602080825281016108f581612e5c565b603281526000602082017f4552433732313a207472616e7366657220746f206e6f6e20455243373231526581527131b2b4bb32b91034b6b83632b6b2b73a32b960711b6020820152915061265d565b602080825281016108f581612ead565b60808101612f1a828761205e565b612f27602083018661205e565b612f346040830185611f63565b8181036060830152612f468184611fe9565b9695505050505050565b80516108f581611f08565b600060208284031215612f7057612f70600080fd5b60006118be8484612f50565b60208082527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373910190815260006125c4565b602080825281016108f581612f7c56fea2646970667358221220e5f7533a24c915ad374a1b8c6b5f43feacfb3d30902bc7c8c33e7cedf6fe15b564736f6c63430008090033

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

000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1000000000000000000000000e2e571078c1a7b24d646b3070d4aedd503c05c60

-----Decoded View---------------
Arg [0] : _proxyRegistryAddress (address): 0xa5409ec958C83C3f309868babACA7c86DCB077c1
Arg [1] : _artAddress (address): 0xe2E571078c1A7B24D646B3070D4AeDD503C05c60

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1
Arg [1] : 000000000000000000000000e2e571078c1a7b24d646b3070d4aedd503c05c60


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.