ETH Price: $2,396.54 (-2.05%)

Token

Siegelman Stable x One of None (1XSSH)
 

Overview

Max Total Supply

20 1XSSH

Holders

18

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
1906.eth
Balance
1 1XSSH
0xee7601251b3fe157aa52ddb9ea06b7ae401da978
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

As a rising star in today’s streetwear culture, Siegelman Stable is a re-imagined racing brand turned fashion icon with an impressive list of owners and massive secondary market demand. With limited quantity being key to its signature style, Siegelman Stable drops 20 of the wo...

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
OneOfNoneHybrid

Compiler Version
v0.8.8+commit.dddeac2f

Optimization Enabled:
Yes with 1000 runs

Other Settings:
default evmVersion
File 1 of 14 : HybridERC721.sol
pragma solidity ^0.8.8;

// SPDX-License-Identifier: MIT


import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/Context.sol";
import "./lib/ERC721.sol";
import "./lib/Hybrid.sol";
import "./lib/AccessControl.sol";

contract OneOfNoneHybrid is ERC721, Hybrid, AccessControl, Pausable {
  using Strings for uint256;

  string constant METADATA_FROZEN = "006001";
  string constant LIMIT_REACHED = "006002";

  mapping(uint256 => string) private _freezeMetadata;
  string private _baseURI;

  uint256 public constant LIMIT = 20;

  constructor() {
    _setAdmin(msg.sender);
  }

  /// @notice according to ERC721Metadata
  function name() public pure returns (string memory) {
    return "Siegelman Stable x One of None";
  }

  /// @notice according to ERC721Metadata
  function symbol() public pure returns (string memory) {
    return "1XSSH";
  }

  /// @notice allow minter to retrieve a token
  function mint(address to, TokenStatus status) external virtual whenNotPaused onlyRole(MINTER_ROLE) {
    require(_maxTokenId + 1 <= LIMIT, LIMIT_REACHED);

    uint256 tokenId = _maxTokenId + 1;

    _mint(to, tokenId);
    _setStatus(tokenId, status);
  }

  /// @notice Retrieve metadata URI according to ERC721Metadata standard
  /// @dev there is an opportunity to freeze metadata URI
  ///   essentially it means that for the selected tokens we can move metadata to ipfs
  ///   and keep it there forever
  function tokenURI(uint256 tokenId) external view returns (string memory) {
    require(_exists(tokenId), NOT_VALID_NFT);

    if (bytes(_freezeMetadata[tokenId]).length > 0) {
      return _freezeMetadata[tokenId];
    }

    return bytes(_baseURI).length > 0 ? string(abi.encodePacked(_baseURI, tokenId.toString())) : '';
  }

  /// @notice Only owner of the token can freeze metadata.
  /// @dev this operation is irreversible, use with caution
  function freezeMetadataURI(uint256 tokenId, string calldata uri) external onlyAdmin {
    require(_exists(tokenId), NOT_VALID_NFT);
    require(bytes(_freezeMetadata[tokenId]).length == 0, METADATA_FROZEN);

    _freezeMetadata[tokenId] = uri;
  }

  /// @notice change base URI for the metadata
  function setMetadataBaseURI(string calldata uri) external onlyAdmin {
    _baseURI = uri;
  }

  /// @notice pause contract
  function pause() public onlyRole(PAUSER_ROLE) {
    _pause();
  }

  /// @notice unpause
  function unpause() public onlyAdmin {
    _unpause();
  }

  /// MARK: Hybrid
  function setStatus(uint256 tokenId, TokenStatus status) public onlyRole(STATUS_CHANGER_ROLE) {
    require(_exists(tokenId), NOT_VALID_NFT);
    _setStatus(tokenId, status);
  }

  /// @notice beforeTransfer hook
  /// Disallow transfer if token is redeemed
  function _beforeTransfer(address from, address to, uint256 tokenId)
    internal override whenNotPaused notStatus(tokenId, TokenStatus.Redeemed) {}

  /// MARK: AccessControl implementation
  function setRole(address to, bytes32 role) public onlyAdmin {
    _grantRole(to, role);
  }

  function revokeRole(address to, bytes32 role) public onlyAdmin {
    _revokeRole(to, role);
  }

  function transferAdmin(address to) public onlyAdmin {
    _setAdmin(to);
  }
}

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

pragma solidity ^0.8.0;

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

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

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

    bool private _paused;

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

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

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

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

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

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

File 3 of 14 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

File 4 of 14 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

File 5 of 14 : ERC721.sol
pragma solidity ^0.8.8;

// SPDX-License-Identifier: MIT


import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol";
import "@openzeppelin/contracts/utils/introspection/ERC165.sol";
import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/utils/Context.sol";


// solhint-disable-next-line indent
abstract contract ERC721 is IERC721Metadata, IERC721Enumerable, Context {
  using Address for address;

  mapping(uint256 => address) internal _owners;
  mapping (uint256 => address) internal _idToApproval;
  mapping (address => mapping (address => bool)) internal _ownerToOperators;

  uint256 internal _maxTokenId;

  /**
   * @dev List of revert message codes. Implementing dApp should handle showing the correct message.
   * Based on 0xcert framework error codes.
   */
  string constant ZERO_ADDRESS = "003001";
  string constant NOT_VALID_NFT = "003002";
  string constant NOT_OWNER_OR_OPERATOR = "003003";
  string constant NOT_OWNER_APPROVED_OR_OPERATOR = "003004";
  string constant NOT_ABLE_TO_RECEIVE_NFT = "003005";
  string constant NFT_ALREADY_EXISTS = "003006";
  string constant NOT_OWNER = "003007";
  string constant IS_OWNER = "003008";

  /**
 * @dev Magic value of a smart contract that can receive NFT.
   * Equal to: bytes4(keccak256("onERC721Received(address,address,uint256,bytes)")).
   */
  bytes4 internal constant MAGIC_ON_ERC721_RECEIVED = 0x150b7a02;

  constructor() {}

  /// @notice MARK: Useful modifiers

  /**
   * @dev Guarantees that the _msgSender() is an owner or operator of the given NFT.
   * @param tokenId ID of the NFT to validate.
   */
  modifier canOperate(uint256 tokenId) {
    address tokenOwner = _owners[tokenId];
    require(
      tokenOwner == _msgSender() || _ownerToOperators[tokenOwner][_msgSender()],
      NOT_OWNER_OR_OPERATOR
    );
    _;
  }

  /**
   * @dev Guarantees that the _msgSender() is allowed to transfer NFT.
   * @param tokenId ID of the NFT to transfer.
   */
  modifier canTransfer(uint256 tokenId) {
    address tokenOwner = _owners[tokenId];

    require(
      tokenOwner == _msgSender()
      || _idToApproval[tokenId] == _msgSender()
      || _ownerToOperators[tokenOwner][_msgSender()],
      NOT_OWNER_APPROVED_OR_OPERATOR
    );
    _;
  }

  /**
   * @dev Guarantees that _tokenId is a valid Token.
   * @param tokenId ID of the NFT to validate.
   */
  modifier validNFToken(uint256 tokenId) {
    require(_exists(tokenId), NOT_VALID_NFT);
    _;
  }

  /// @notice Returns a number of decimal points
  /// @return Number of decimal points
  function decimals() public pure virtual returns (uint256) {
    return 0;
  }

  /// @notice MARK: ERC721 Implementation

  /// @notice Count all NFTs assigned to an owner
  /// @dev NFTs assigned to the zero address are considered invalid, and this
  ///  function throws for queries about the zero address.
  /// @param owner An address for whom to query the balance
  /// @return balance The number of NFTs owned by `owner`, possibly zero
  function balanceOf(address owner) public view virtual returns (uint256 balance) {
    require(owner != address(0),  ZERO_ADDRESS);

    for (uint256 i; i <= _maxTokenId; i++) {
      if (_owners[i] == owner) {
        balance++;
      }
    }

    return balance;
  }

  /// @notice Find the owner of an NFT
  /// @dev NFTs assigned to zero address are considered invalid, and queries
  ///  about them do throw.
  /// @param tokenId The identifier for an NFT
  /// @return owner The address of the owner of the NFT
  function ownerOf(uint256 tokenId) external view returns (address owner) {
    owner = _owners[tokenId];
    require(owner != address(0), NOT_VALID_NFT);
  }

  /// @notice Change or reaffirm the approved address for an NFT
  /// @dev The zero address indicates there is no approved address.
  ///  Throws unless `_msgSender()` is the current NFT owner, or an authorized
  ///  operator of the current owner.
  /// @param approved The new approved NFT controller
  /// @param tokenId The NFT to approve
  function approve(address approved, uint256 tokenId) external canOperate(tokenId) validNFToken(tokenId) {
    address tokenOwner = _owners[tokenId];
    require(approved != tokenOwner, IS_OWNER);

    _idToApproval[tokenId] = approved;
    emit Approval(tokenOwner, approved, tokenId);
  }

  /// @notice Get the approved address for a single NFT
  /// @dev Throws if `tokenId` is not a valid NFT.
  /// @param tokenId The NFT to find the approved address for
  /// @return The approved address for this NFT, or the zero address if there is none
  function getApproved(uint256 tokenId) external view validNFToken(tokenId) returns (address) {
    return _idToApproval[tokenId];
  }

  /// @notice Enable or disable approval for a third party ("operator") to manage
  ///  all of `_msgSender()`'s assets
  /// @dev Emits the ApprovalForAll event. The contract MUST allow
  ///  multiple operators per owner.
  /// @param operator Address to add to the set of authorized operators
  /// @param approved True if the operator is approved, false to revoke approval
  function setApprovalForAll(address operator, bool approved) external {
    _ownerToOperators[_msgSender()][operator] = approved;
    emit ApprovalForAll(_msgSender(), operator, approved);
  }

  /// @notice Query if an address is an authorized operator for another address
  /// @param owner The address that owns the NFTs
  /// @param operator The address that acts on behalf of the owner
  /// @return True if `operator` is an approved operator for `owner`, false otherwise
  function isApprovedForAll(address owner, address operator) public view virtual returns (bool) {
    return _ownerToOperators[owner][operator];
  }

  /// @notice Transfers the ownership of an NFT from one address to another address
  /// @dev This works identically to the other function with an extra data parameter,
  ///  except this function just sets data to "".
  /// @param from The current owner of the NFT
  /// @param to The new owner
  /// @param tokenId The NFT to transfer
  function safeTransferFrom(address from, address to, uint256 tokenId) external virtual {
    _safeTransferFrom(from, to, tokenId, '');
  }

  /// @notice Transfers the ownership of an NFT from one address to another address
  /// @dev Throws unless `_msgSender()` is the current owner, an authorized
  ///  operator, or the approved address for this NFT. Throws if `from` is
  ///  not the current owner. Throws if `to` is the zero address. Throws if
  ///  `tokenId` is not a valid NFT. When transfer is complete, this function
  ///  checks if `to` is a smart contract (code size > 0). If so, it calls
  ///  `onERC721Received` on `to` and throws if the return value is not
  ///  `bytes4(keccak256("onERC721Received(address,address,uint256,bytes)"))`.
  /// @param from The current owner of the NFT
  /// @param to The new owner
  /// @param tokenId The NFT to transfer
  /// @param data Additional data with no specified format, sent in call to `to`
  function safeTransferFrom(address from, address to, uint256 tokenId, bytes calldata data) external canTransfer(tokenId) validNFToken(tokenId) {
    _safeTransferFrom(from, to, tokenId, data);
  }

  /// @notice Transfer ownership of an NFT -- THE CALLER IS RESPONSIBLE
  ///  TO CONFIRM THAT `to` IS CAPABLE OF RECEIVING NFTS OR ELSE
  ///  THEY MAY BE PERMANENTLY LOST
  /// @dev Throws unless `_msgSender()` is the current owner, an authorized
  ///  operator, or the approved address for this NFT. Throws if `from` is
  ///  not the current owner. Throws if `to` is the zero address. Throws if
  ///  `tokenId` is not a valid NFT.
  /// @param from The current owner of the NFT
  /// @param to The new owner
  /// @param tokenId The NFT to transfer
  function transferFrom(address from, address to, uint256 tokenId) external canTransfer(tokenId) validNFToken(tokenId) {
    address tokenOwner = _owners[tokenId];
    require(tokenOwner == from, NOT_OWNER);
    require(to != address(0), ZERO_ADDRESS);

    _transfer(to, tokenId);
  }

  /// @notice MARK: ERC721Enumerable

  /// @notice Count NFTs tracked by this contract
  /// @return total A count of valid NFTs tracked by this contract, where each one of
  ///  them has an assigned and queryable owner not equal to the zero address
  function totalSupply() public view returns (uint256 total) {
    for (uint256 i; i <= _maxTokenId; i++) {
      if (_owners[i] != address(0)) {
        total++;
      }
    }

    return total;
  }

  /// @notice Enumerate NFTs assigned to an owner
  /// @dev Throws if `index` >= `balanceOf(owner)` or if
  ///  `owner` is the zero address, representing invalid NFTs.
  /// @param owner An address where we are interested in NFTs owned by them
  /// @param index A counter less than `balanceOf(owner)`
  /// @return The token identifier for the `index`th NFT assigned to `owner`,
  ///   (sort order not specified)
  function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256) {
    uint256 balance = balanceOf(owner);

    uint256[] memory tokens = new uint256[](balance);
    uint256 idx;

    for (uint256 i; i <= _maxTokenId; i++) {
      if (_owners[i] == owner) {
        tokens[idx] = i;
        idx++;
      }
    }

    return tokens[index];
  }

  /// @notice Enumerate valid NFTs
  /// @dev Throws if `index` >= `totalSupply()`.
  /// @param index A counter less than `totalSupply()`
  /// @return The token identifier for the `index`th NFT,
  ///  (sort order not specified)
  function tokenByIndex(uint256 index) external view returns (uint256) {
    uint256 supply = totalSupply();

    uint256[] memory tokens = new uint256[](supply);
    uint256 idx;
    for (uint256 i; i <= _maxTokenId; i++) {
      if (_owners[i] != address(0)) {
        tokens[idx] = i;
        idx++;
      }
    }

    return tokens[index];
  }

  /// @notice MARK: ERC165 Implementation

  /// @notice Query if a contract implements an interface
  /// @param interfaceId The interface identifier, as specified in ERC-165
  /// @dev Interface identification is specified in ERC-165. This function
  ///  uses less than 30,000 gas.
  /// @return `true` if the contract implements `interfaceID` and
  ///  `interfaceId` is not 0xffffffff, `false` otherwise
  function supportsInterface(bytes4 interfaceId) external pure returns (bool) {
    if (interfaceId == 0xffffffff) {
      return false;
    }

    return
      interfaceId == type(IERC721).interfaceId ||
      interfaceId == type(IERC721Receiver).interfaceId ||
      interfaceId == type(IERC721Metadata).interfaceId ||
      interfaceId == type(IERC721Enumerable).interfaceId;
  }

  /// MARK: Private methods
  function _mint(address to, uint256 tokenId) internal {
    require(to != address(0), ZERO_ADDRESS);
    require(!_exists(tokenId), NFT_ALREADY_EXISTS);

    _owners[tokenId] = to;

    if (tokenId > _maxTokenId) {
      _maxTokenId = tokenId;
    }

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

    if (to.isContract()) {
      bytes4 retval = IERC721Receiver(to).onERC721Received(address(this), address(0), tokenId, "");
      require(retval == MAGIC_ON_ERC721_RECEIVED, NOT_ABLE_TO_RECEIVE_NFT);
    }
  }

  function _burn(uint256 tokenId) internal virtual validNFToken(tokenId) canTransfer(tokenId) {
    address tokenOwner = _owners[tokenId];

    _clearApproval(tokenId);
    delete _owners[tokenId];

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

  function _exists(uint256 tokenId) internal view returns (bool) {
    return _owners[tokenId] != address(0);
  }

  function _clearApproval(uint256 tokenId) private {
    delete _idToApproval[tokenId];
  }

  /**
   * @dev Actually perform the safeTransferFrom.
   * @param _from The current owner of the NFT.
   * @param _to The new owner.
   * @param _tokenId The NFT to transfer.
   * @param _data Additional data with no specified format, sent in call to `_to`.
   */
  function _safeTransferFrom(
    address _from,
    address _to,
    uint256 _tokenId,
    bytes memory _data
  )
  private
  canTransfer(_tokenId)
  validNFToken(_tokenId)
  {
    address tokenOwner = _owners[_tokenId];
    require(tokenOwner == _from, NOT_OWNER);
    require(_to != address(0), ZERO_ADDRESS);

    _transfer(_to, _tokenId);

    if (_to.isContract()) {
      bytes4 retval = IERC721Receiver(_to).onERC721Received(_msgSender(), _from, _tokenId, _data);
      require(retval == MAGIC_ON_ERC721_RECEIVED, NOT_ABLE_TO_RECEIVE_NFT);
    }
  }

  function _transfer(address to, uint256 tokenId) internal virtual {
    address from = _owners[tokenId];

    _beforeTransfer(from, to, tokenId);

    _clearApproval(tokenId);
    _owners[tokenId] = to;

    emit Transfer(from, to, tokenId);
  }

  function _beforeTransfer(address from, address to, uint256 tokenId) internal virtual {}
}

File 6 of 14 : Hybrid.sol
pragma solidity ^0.8.0;

// SPDX-License-Identifier: MIT


abstract contract Hybrid {
  string constant INVALID_STATUS = "004002";

  enum  TokenStatus { Vaulted, Redeemed, Lost }
  mapping(uint256 => TokenStatus) private _tokenStatus;

  function _setStatus(uint256 tokenId, TokenStatus status) internal {
    _tokenStatus[tokenId] = status;
  }

  /// Check if token is not in status
  modifier notStatus(uint256 tokenId, TokenStatus status) {
    require(_tokenStatus[tokenId] != status, INVALID_STATUS);
    _;
  }
}

File 7 of 14 : AccessControl.sol
pragma solidity ^0.8.0;

// SPDX-License-Identifier: MIT


import "@openzeppelin/contracts/utils/Context.sol";

abstract contract AccessControl is Context {
  bytes32 public constant PAUSER_ROLE = keccak256('PAUSER_ROLE');
  bytes32 public constant MINTER_ROLE = keccak256('MINTER_ROLE');
  bytes32 public constant STATUS_CHANGER_ROLE = keccak256('STATUS_CHANGER_ROLE');

  string constant INVALID_PERMISSION = "005001";

  address private _admin;

  /// Mapping from address to role to boolean
  mapping(address => mapping(bytes32 => bool)) private _roles;

  modifier onlyRole(bytes32 role) {
    require(_roles[_msgSender()][role] == true, INVALID_PERMISSION);
    _;
  }

  modifier onlyAdmin() {
    require(_msgSender() == _admin, INVALID_PERMISSION);
    _;
  }

  /**
   * Assign role to the specific address
   */
  function _grantRole(address to, bytes32 role) internal {
    require(to != address(0), INVALID_PERMISSION);
    _roles[to][role] = true;
  }

  /**
   * Revoke role
   */
  function _revokeRole(address from, bytes32 role) internal {
    _roles[from][role] = false;
  }

  /**
   * Set admin
   */
  function _setAdmin(address to) internal {
    require(to != address(0), INVALID_PERMISSION);
    _admin = to;
  }
}

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 9 of 14 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Enumerable is IERC721 {
    /**
     * @dev Returns the total amount of tokens stored by the contract.
     */
    function totalSupply() external view returns (uint256);

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

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

File 10 of 14 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

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

File 11 of 14 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

File 12 of 14 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @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
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 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 13 of 14 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * 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;

    /**
     * @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 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 the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

    /**
     * @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);
}

File 14 of 14 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"LIMIT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINTER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PAUSER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"STATUS_CHANGER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"approved","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"balance","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"string","name":"uri","type":"string"}],"name":"freezeMetadataURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"enum Hybrid.TokenStatus","name":"status","type":"uint8"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"owner","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"uri","type":"string"}],"name":"setMetadataBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"setRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"enum Hybrid.TokenStatus","name":"status","type":"uint8"}],"name":"setStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"total","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"transferAdmin","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":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b506007805460ff1916905562000027336200002d565b620000f8565b60408051808201909152600681526530303530303160d01b60208201526001600160a01b0382166200007d5760405162461bcd60e51b8152600401620000749190620000a0565b60405180910390fd5b50600580546001600160a01b0319166001600160a01b0392909216919091179055565b600060208083528351808285015260005b81811015620000cf57858101830151858201604001528201620000b1565b81811115620000e2576000604083870101525b50601f01601f1916929092016040019392505050565b61260e80620001086000396000f3fe608060405234801561001057600080fd5b50600436106101e55760003560e01c8063691562a01161010f578063b88d4fde116100a2578063e1d3d81e11610071578063e1d3d81e14610451578063e63ab1e914610478578063e985e9c51461049f578063fb94bd8a146104db57600080fd5b8063b88d4fde146103f1578063c87b56dd14610404578063d539139314610417578063d896dd641461043e57600080fd5b80638456cb59116100de5780638456cb591461039557806395d89b411461039d578063a22cb465146103d6578063af8214ef146103e957600080fd5b8063691562a01461034957806370a082311461035c57806375829def1461036f5780637d44a4e01461038257600080fd5b806323b872dd1161018757806342842e0e1161015657806342842e0e146103055780634f6ccce7146103185780635c975abb1461032b5780636352211e1461033657600080fd5b806323b872dd146102d05780632f745c59146102e3578063313ce567146102f65780633f4ba83a146102fd57600080fd5b8063081812fc116101c3578063081812fc14610269578063095ea7b31461029457806318160ddd146102a7578063208dd1ff146102bd57600080fd5b806301ffc9a7146101ea57806306577f261461021257806306fdde0314610227575b600080fd5b6101fd6101f8366004612051565b6104ee565b60405190151581526020015b60405180910390f35b610225610220366004612091565b6105c0565b005b60408051808201909152601e81527f53696567656c6d616e20537461626c652078204f6e65206f66204e6f6e65000060208201525b6040516102099190612113565b61027c610277366004612126565b61062c565b6040516001600160a01b039091168152602001610209565b6102256102a2366004612091565b6106a7565b6102af610875565b604051908152602001610209565b6102256102cb366004612091565b6108c3565b6102256102de36600461213f565b610946565b6102af6102f1366004612091565b610aff565b60006102af565b610225610be7565b61022561031336600461213f565b610c46565b6102af610326366004612126565b610c66565b60075460ff166101fd565b61027c610344366004612126565b610d47565b61022561035736600461218a565b610d9d565b6102af61036a3660046121bd565b610ef9565b61022561037d3660046121bd565b610f8f565b610225610390366004612221565b610ff0565b610225611124565b60408051808201909152600581527f3158535348000000000000000000000000000000000000000000000000000000602082015261025c565b6102256103e436600461226d565b6111ad565b6102af601481565b6102256103ff3660046122a9565b611219565b61025c610412366004612126565b611369565b6102af7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b61022561044c366004612318565b6114df565b6102af7fd89435f23a892f566cf1f0756b67200c9b0260e702d150f6f1816be9f46e981781565b6102af7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a81565b6101fd6104ad36600461233b565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205460ff1690565b6102256104e9366004612365565b6115c2565b60006001600160e01b0319808316141561050a57506000919050565b6001600160e01b031982167f80ac58cd00000000000000000000000000000000000000000000000000000000148061055257506001600160e01b03198216630a85bd0160e11b145b8061058657506001600160e01b031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b806105ba57506001600160e01b031982167f780e9d6300000000000000000000000000000000000000000000000000000000145b92915050565b6005546001600160a01b0316336001600160a01b0316146040518060400160405280600681526020016530303530303160d01b8152509061061d5760405162461bcd60e51b81526004016106149190612113565b60405180910390fd5b506106288282611623565b5050565b60008181526020819052604081205482906001600160a01b031615156040518060400160405280600681526020016518181998181960d11b815250906106855760405162461bcd60e51b81526004016106149190612113565b506000838152600160205260409020546001600160a01b031691505b50919050565b60008181526020819052604090205481906001600160a01b0316338114806106f257506001600160a01b038116600090815260026020908152604080832033845290915290205460ff165b6040518060400160405280600681526020017f3030333030330000000000000000000000000000000000000000000000000000815250906107465760405162461bcd60e51b81526004016106149190612113565b5060008381526020819052604090205483906001600160a01b031615156040518060400160405280600681526020016518181998181960d11b815250906107a05760405162461bcd60e51b81526004016106149190612113565b5060008481526020818152604091829020548251808401909352600683527f3030333030380000000000000000000000000000000000000000000000000000918301919091526001600160a01b03908116919087168214156108155760405162461bcd60e51b81526004016106149190612113565b5060008581526001602052604080822080546001600160a01b0319166001600160a01b038a811691821790925591518893918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050505050565b6000805b60035481116108bf576000818152602081905260409020546001600160a01b0316156108ad57816108a9816123bd565b9250505b806108b7816123bd565b915050610879565b5090565b6005546001600160a01b0316336001600160a01b0316146040518060400160405280600681526020016530303530303160d01b815250906109175760405162461bcd60e51b81526004016106149190612113565b506001600160a01b0391909116600090815260066020908152604080832093835292905220805460ff19169055565b60008181526020819052604090205481906001600160a01b03163381148061098457506000828152600160205260409020546001600160a01b031633145b806109b257506001600160a01b038116600090815260026020908152604080832033845290915290205460ff165b604051806040016040528060068152602001650c0c0ccc0c0d60d21b815250906109ef5760405162461bcd60e51b81526004016106149190612113565b5060008381526020819052604090205483906001600160a01b031615156040518060400160405280600681526020016518181998181960d11b81525090610a495760405162461bcd60e51b81526004016106149190612113565b5060008481526020818152604091829020548251808401909352600683526530303330303760d01b918301919091526001600160a01b03908116919088168214610aa65760405162461bcd60e51b81526004016106149190612113565b5060408051808201909152600681526530303330303160d01b60208201526001600160a01b038716610aeb5760405162461bcd60e51b81526004016106149190612113565b50610af68686611698565b50505050505050565b600080610b0b84610ef9565b905060008167ffffffffffffffff811115610b2857610b286123d8565b604051908082528060200260200182016040528015610b51578160200160208202803683370190505b5090506000805b6003548111610bc1576000818152602081905260409020546001600160a01b0388811691161415610baf5780838381518110610b9657610b966123ee565b602090810291909101015281610bab816123bd565b9250505b80610bb9816123bd565b915050610b58565b50818581518110610bd457610bd46123ee565b6020026020010151935050505092915050565b6005546001600160a01b0316336001600160a01b0316146040518060400160405280600681526020016530303530303160d01b81525090610c3b5760405162461bcd60e51b81526004016106149190612113565b50610c44611733565b565b610c61838383604051806020016040528060008152506117cf565b505050565b600080610c71610875565b905060008167ffffffffffffffff811115610c8e57610c8e6123d8565b604051908082528060200260200182016040528015610cb7578160200160208202803683370190505b5090506000805b6003548111610d22576000818152602081905260409020546001600160a01b031615610d105780838381518110610cf757610cf76123ee565b602090810291909101015281610d0c816123bd565b9250505b80610d1a816123bd565b915050610cbe565b50818581518110610d3557610d356123ee565b60200260200101519350505050919050565b60008181526020818152604091829020548251808401909352600683526518181998181960d11b918301919091526001600160a01b031690816106a15760405162461bcd60e51b81526004016106149190612113565b60075460ff1615610de35760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610614565b3360009081526006602081815260408084207f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6808652908352938190205481518083019092529281526530303530303160d01b918101919091529060ff161515600114610e635760405162461bcd60e51b81526004016106149190612113565b5060146003546001610e759190612404565b11156040518060400160405280600681526020017f303036303032000000000000000000000000000000000000000000000000000081525090610ecb5760405162461bcd60e51b81526004016106149190612113565b5060006003546001610edd9190612404565b9050610ee98482611a73565b610ef38184611c90565b50505050565b60408051808201909152600681526530303330303160d01b60208201526000906001600160a01b038316610f405760405162461bcd60e51b81526004016106149190612113565b5060005b60035481116106a1576000818152602081905260409020546001600160a01b0384811691161415610f7d5781610f79816123bd565b9250505b80610f87816123bd565b915050610f44565b6005546001600160a01b0316336001600160a01b0316146040518060400160405280600681526020016530303530303160d01b81525090610fe35760405162461bcd60e51b81526004016106149190612113565b50610fed81611cc4565b50565b6005546001600160a01b0316336001600160a01b0316146040518060400160405280600681526020016530303530303160d01b815250906110445760405162461bcd60e51b81526004016106149190612113565b506000838152602081905260409020546001600160a01b031615156040518060400160405280600681526020016518181998181960d11b8152509061109c5760405162461bcd60e51b81526004016106149190612113565b50600083815260086020526040902080546110b69061241c565b60408051808201909152600681527f3030363030310000000000000000000000000000000000000000000000000000602082015291501561110a5760405162461bcd60e51b81526004016106149190612113565b506000838152600860205260409020610ef3908383611fab565b3360009081526006602081815260408084207f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a808652908352938190205481518083019092529281526530303530303160d01b918101919091529060ff1615156001146111a45760405162461bcd60e51b81526004016106149190612113565b50610fed611d2b565b3360008181526002602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b60008381526020819052604090205483906001600160a01b03163381148061125757506000828152600160205260409020546001600160a01b031633145b8061128557506001600160a01b038116600090815260026020908152604080832033845290915290205460ff165b604051806040016040528060068152602001650c0c0ccc0c0d60d21b815250906112c25760405162461bcd60e51b81526004016106149190612113565b5060008581526020819052604090205485906001600160a01b031615156040518060400160405280600681526020016518181998181960d11b8152509061131c5760405162461bcd60e51b81526004016106149190612113565b5061135f88888888888080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506117cf92505050565b5050505050505050565b6000818152602081905260409020546060906001600160a01b031615156040518060400160405280600681526020016518181998181960d11b815250906113c35760405162461bcd60e51b81526004016106149190612113565b50600082815260086020526040812080546113dd9061241c565b9050111561148357600082815260086020526040902080546113fe9061241c565b80601f016020809104026020016040519081016040528092919081815260200182805461142a9061241c565b80156114775780601f1061144c57610100808354040283529160200191611477565b820191906000526020600020905b81548152906001019060200180831161145a57829003601f168201915b50505050509050919050565b6000600980546114929061241c565b9050116114ae57604051806020016040528060008152506105ba565b60096114b983611da6565b6040516020016114ca92919061246d565b60405160208183030381529060405292915050565b3360009081526006602081815260408084207fd89435f23a892f566cf1f0756b67200c9b0260e702d150f6f1816be9f46e9817808652908352938190205481518083019092529281526530303530303160d01b918101919091529060ff16151560011461155f5760405162461bcd60e51b81526004016106149190612113565b506000838152602081905260409020546001600160a01b031615156040518060400160405280600681526020016518181998181960d11b815250906115b75760405162461bcd60e51b81526004016106149190612113565b50610c618383611c90565b6005546001600160a01b0316336001600160a01b0316146040518060400160405280600681526020016530303530303160d01b815250906116165760405162461bcd60e51b81526004016106149190612113565b50610c6160098383611fab565b60408051808201909152600681526530303530303160d01b60208201526001600160a01b0383166116675760405162461bcd60e51b81526004016106149190612113565b506001600160a01b03909116600090815260066020908152604080832093835292905220805460ff19166001179055565b6000818152602081905260409020546001600160a01b03166116bb818484611ee0565b600082815260016020526040902080546001600160a01b031916905560008281526020819052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b60075460ff166117855760405162461bcd60e51b815260206004820152601460248201527f5061757361626c653a206e6f74207061757365640000000000000000000000006044820152606401610614565b6007805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b60008281526020819052604090205482906001600160a01b03163381148061180d57506000828152600160205260409020546001600160a01b031633145b8061183b57506001600160a01b038116600090815260026020908152604080832033845290915290205460ff165b604051806040016040528060068152602001650c0c0ccc0c0d60d21b815250906118785760405162461bcd60e51b81526004016106149190612113565b5060008481526020819052604090205484906001600160a01b031615156040518060400160405280600681526020016518181998181960d11b815250906118d25760405162461bcd60e51b81526004016106149190612113565b5060008581526020818152604091829020548251808401909352600683526530303330303760d01b918301919091526001600160a01b0390811691908916821461192f5760405162461bcd60e51b81526004016106149190612113565b5060408051808201909152600681526530303330303160d01b60208201526001600160a01b0388166119745760405162461bcd60e51b81526004016106149190612113565b5061197f8787611698565b6001600160a01b0387163b1561135f57604051630a85bd0160e11b81526000906001600160a01b0389169063150b7a02906119c49033908d908c908c90600401612514565b602060405180830381600087803b1580156119de57600080fd5b505af11580156119f2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a169190612550565b60408051808201909152600681526530303330303560d01b60208201529091506001600160e01b03198216630a85bd0160e11b14611a675760405162461bcd60e51b81526004016106149190612113565b50505050505050505050565b60408051808201909152600681526530303330303160d01b60208201526001600160a01b038316611ab75760405162461bcd60e51b81526004016106149190612113565b506000818152602081905260409020546001600160a01b03161515156040518060400160405280600681526020017f303033303036000000000000000000000000000000000000000000000000000081525090611b275760405162461bcd60e51b81526004016106149190612113565b50600081815260208190526040902080546001600160a01b0319166001600160a01b038416179055600354811115611b5f5760038190555b60405181906001600160a01b038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46001600160a01b0382163b1561062857604051630a85bd0160e11b8152306004820152600060248201819052604482018390526080606483015260848201819052906001600160a01b0384169063150b7a029060a401602060405180830381600087803b158015611c0757600080fd5b505af1158015611c1b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c3f9190612550565b60408051808201909152600681526530303330303560d01b60208201529091506001600160e01b03198216630a85bd0160e11b14610ef35760405162461bcd60e51b81526004016106149190612113565b6000828152600460205260409020805482919060ff19166001836002811115611cbb57611cbb61256d565b02179055505050565b60408051808201909152600681526530303530303160d01b60208201526001600160a01b038216611d085760405162461bcd60e51b81526004016106149190612113565b50600580546001600160a01b0319166001600160a01b0392909216919091179055565b60075460ff1615611d715760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610614565b6007805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586117b23390565b606081611de657505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115611e105780611dfa816123bd565b9150611e099050600a83612599565b9150611dea565b60008167ffffffffffffffff811115611e2b57611e2b6123d8565b6040519080825280601f01601f191660200182016040528015611e55576020820181803683370190505b5090505b8415611ed857611e6a6001836125ad565b9150611e77600a866125c4565b611e82906030612404565b60f81b818381518110611e9757611e976123ee565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350611ed1600a86612599565b9450611e59565b949350505050565b60075460ff1615611f265760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610614565b8060018060008381526004602052604090205460ff166002811115611f4d57611f4d61256d565b14156040518060400160405280600681526020017f303034303032000000000000000000000000000000000000000000000000000081525090611fa35760405162461bcd60e51b81526004016106149190612113565b505050505050565b828054611fb79061241c565b90600052602060002090601f016020900481019282611fd9576000855561201f565b82601f10611ff25782800160ff1982351617855561201f565b8280016001018555821561201f579182015b8281111561201f578235825591602001919060010190612004565b506108bf9291505b808211156108bf5760008155600101612027565b6001600160e01b031981168114610fed57600080fd5b60006020828403121561206357600080fd5b813561206e8161203b565b9392505050565b80356001600160a01b038116811461208c57600080fd5b919050565b600080604083850312156120a457600080fd5b6120ad83612075565b946020939093013593505050565b60005b838110156120d65781810151838201526020016120be565b83811115610ef35750506000910152565b600081518084526120ff8160208601602086016120bb565b601f01601f19169290920160200192915050565b60208152600061206e60208301846120e7565b60006020828403121561213857600080fd5b5035919050565b60008060006060848603121561215457600080fd5b61215d84612075565b925061216b60208501612075565b9150604084013590509250925092565b80356003811061208c57600080fd5b6000806040838503121561219d57600080fd5b6121a683612075565b91506121b46020840161217b565b90509250929050565b6000602082840312156121cf57600080fd5b61206e82612075565b60008083601f8401126121ea57600080fd5b50813567ffffffffffffffff81111561220257600080fd5b60208301915083602082850101111561221a57600080fd5b9250929050565b60008060006040848603121561223657600080fd5b83359250602084013567ffffffffffffffff81111561225457600080fd5b612260868287016121d8565b9497909650939450505050565b6000806040838503121561228057600080fd5b61228983612075565b91506020830135801515811461229e57600080fd5b809150509250929050565b6000806000806000608086880312156122c157600080fd5b6122ca86612075565b94506122d860208701612075565b935060408601359250606086013567ffffffffffffffff8111156122fb57600080fd5b612307888289016121d8565b969995985093965092949392505050565b6000806040838503121561232b57600080fd5b823591506121b46020840161217b565b6000806040838503121561234e57600080fd5b61235783612075565b91506121b460208401612075565b6000806020838503121561237857600080fd5b823567ffffffffffffffff81111561238f57600080fd5b61239b858286016121d8565b90969095509350505050565b634e487b7160e01b600052601160045260246000fd5b60006000198214156123d1576123d16123a7565b5060010190565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b60008219821115612417576124176123a7565b500190565b600181811c9082168061243057607f821691505b602082108114156106a157634e487b7160e01b600052602260045260246000fd5b600081516124638185602086016120bb565b9290920192915050565b600080845481600182811c91508083168061248957607f831692505b60208084108214156124a957634e487b7160e01b86526022600452602486fd5b8180156124bd57600181146124ce576124fb565b60ff198616895284890196506124fb565b60008b81526020902060005b868110156124f35781548b8201529085019083016124da565b505084890196505b50505050505061250b8185612451565b95945050505050565b60006001600160a01b0380871683528086166020840152508360408301526080606083015261254660808301846120e7565b9695505050505050565b60006020828403121561256257600080fd5b815161206e8161203b565b634e487b7160e01b600052602160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b6000826125a8576125a8612583565b500490565b6000828210156125bf576125bf6123a7565b500390565b6000826125d3576125d3612583565b50069056fea264697066735822122066b86a11cb56400ae2f5c768dec7d754a30ba451e3e157e882793dd199bb9d0064736f6c63430008080033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101e55760003560e01c8063691562a01161010f578063b88d4fde116100a2578063e1d3d81e11610071578063e1d3d81e14610451578063e63ab1e914610478578063e985e9c51461049f578063fb94bd8a146104db57600080fd5b8063b88d4fde146103f1578063c87b56dd14610404578063d539139314610417578063d896dd641461043e57600080fd5b80638456cb59116100de5780638456cb591461039557806395d89b411461039d578063a22cb465146103d6578063af8214ef146103e957600080fd5b8063691562a01461034957806370a082311461035c57806375829def1461036f5780637d44a4e01461038257600080fd5b806323b872dd1161018757806342842e0e1161015657806342842e0e146103055780634f6ccce7146103185780635c975abb1461032b5780636352211e1461033657600080fd5b806323b872dd146102d05780632f745c59146102e3578063313ce567146102f65780633f4ba83a146102fd57600080fd5b8063081812fc116101c3578063081812fc14610269578063095ea7b31461029457806318160ddd146102a7578063208dd1ff146102bd57600080fd5b806301ffc9a7146101ea57806306577f261461021257806306fdde0314610227575b600080fd5b6101fd6101f8366004612051565b6104ee565b60405190151581526020015b60405180910390f35b610225610220366004612091565b6105c0565b005b60408051808201909152601e81527f53696567656c6d616e20537461626c652078204f6e65206f66204e6f6e65000060208201525b6040516102099190612113565b61027c610277366004612126565b61062c565b6040516001600160a01b039091168152602001610209565b6102256102a2366004612091565b6106a7565b6102af610875565b604051908152602001610209565b6102256102cb366004612091565b6108c3565b6102256102de36600461213f565b610946565b6102af6102f1366004612091565b610aff565b60006102af565b610225610be7565b61022561031336600461213f565b610c46565b6102af610326366004612126565b610c66565b60075460ff166101fd565b61027c610344366004612126565b610d47565b61022561035736600461218a565b610d9d565b6102af61036a3660046121bd565b610ef9565b61022561037d3660046121bd565b610f8f565b610225610390366004612221565b610ff0565b610225611124565b60408051808201909152600581527f3158535348000000000000000000000000000000000000000000000000000000602082015261025c565b6102256103e436600461226d565b6111ad565b6102af601481565b6102256103ff3660046122a9565b611219565b61025c610412366004612126565b611369565b6102af7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b61022561044c366004612318565b6114df565b6102af7fd89435f23a892f566cf1f0756b67200c9b0260e702d150f6f1816be9f46e981781565b6102af7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a81565b6101fd6104ad36600461233b565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205460ff1690565b6102256104e9366004612365565b6115c2565b60006001600160e01b0319808316141561050a57506000919050565b6001600160e01b031982167f80ac58cd00000000000000000000000000000000000000000000000000000000148061055257506001600160e01b03198216630a85bd0160e11b145b8061058657506001600160e01b031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b806105ba57506001600160e01b031982167f780e9d6300000000000000000000000000000000000000000000000000000000145b92915050565b6005546001600160a01b0316336001600160a01b0316146040518060400160405280600681526020016530303530303160d01b8152509061061d5760405162461bcd60e51b81526004016106149190612113565b60405180910390fd5b506106288282611623565b5050565b60008181526020819052604081205482906001600160a01b031615156040518060400160405280600681526020016518181998181960d11b815250906106855760405162461bcd60e51b81526004016106149190612113565b506000838152600160205260409020546001600160a01b031691505b50919050565b60008181526020819052604090205481906001600160a01b0316338114806106f257506001600160a01b038116600090815260026020908152604080832033845290915290205460ff165b6040518060400160405280600681526020017f3030333030330000000000000000000000000000000000000000000000000000815250906107465760405162461bcd60e51b81526004016106149190612113565b5060008381526020819052604090205483906001600160a01b031615156040518060400160405280600681526020016518181998181960d11b815250906107a05760405162461bcd60e51b81526004016106149190612113565b5060008481526020818152604091829020548251808401909352600683527f3030333030380000000000000000000000000000000000000000000000000000918301919091526001600160a01b03908116919087168214156108155760405162461bcd60e51b81526004016106149190612113565b5060008581526001602052604080822080546001600160a01b0319166001600160a01b038a811691821790925591518893918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050505050565b6000805b60035481116108bf576000818152602081905260409020546001600160a01b0316156108ad57816108a9816123bd565b9250505b806108b7816123bd565b915050610879565b5090565b6005546001600160a01b0316336001600160a01b0316146040518060400160405280600681526020016530303530303160d01b815250906109175760405162461bcd60e51b81526004016106149190612113565b506001600160a01b0391909116600090815260066020908152604080832093835292905220805460ff19169055565b60008181526020819052604090205481906001600160a01b03163381148061098457506000828152600160205260409020546001600160a01b031633145b806109b257506001600160a01b038116600090815260026020908152604080832033845290915290205460ff165b604051806040016040528060068152602001650c0c0ccc0c0d60d21b815250906109ef5760405162461bcd60e51b81526004016106149190612113565b5060008381526020819052604090205483906001600160a01b031615156040518060400160405280600681526020016518181998181960d11b81525090610a495760405162461bcd60e51b81526004016106149190612113565b5060008481526020818152604091829020548251808401909352600683526530303330303760d01b918301919091526001600160a01b03908116919088168214610aa65760405162461bcd60e51b81526004016106149190612113565b5060408051808201909152600681526530303330303160d01b60208201526001600160a01b038716610aeb5760405162461bcd60e51b81526004016106149190612113565b50610af68686611698565b50505050505050565b600080610b0b84610ef9565b905060008167ffffffffffffffff811115610b2857610b286123d8565b604051908082528060200260200182016040528015610b51578160200160208202803683370190505b5090506000805b6003548111610bc1576000818152602081905260409020546001600160a01b0388811691161415610baf5780838381518110610b9657610b966123ee565b602090810291909101015281610bab816123bd565b9250505b80610bb9816123bd565b915050610b58565b50818581518110610bd457610bd46123ee565b6020026020010151935050505092915050565b6005546001600160a01b0316336001600160a01b0316146040518060400160405280600681526020016530303530303160d01b81525090610c3b5760405162461bcd60e51b81526004016106149190612113565b50610c44611733565b565b610c61838383604051806020016040528060008152506117cf565b505050565b600080610c71610875565b905060008167ffffffffffffffff811115610c8e57610c8e6123d8565b604051908082528060200260200182016040528015610cb7578160200160208202803683370190505b5090506000805b6003548111610d22576000818152602081905260409020546001600160a01b031615610d105780838381518110610cf757610cf76123ee565b602090810291909101015281610d0c816123bd565b9250505b80610d1a816123bd565b915050610cbe565b50818581518110610d3557610d356123ee565b60200260200101519350505050919050565b60008181526020818152604091829020548251808401909352600683526518181998181960d11b918301919091526001600160a01b031690816106a15760405162461bcd60e51b81526004016106149190612113565b60075460ff1615610de35760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610614565b3360009081526006602081815260408084207f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6808652908352938190205481518083019092529281526530303530303160d01b918101919091529060ff161515600114610e635760405162461bcd60e51b81526004016106149190612113565b5060146003546001610e759190612404565b11156040518060400160405280600681526020017f303036303032000000000000000000000000000000000000000000000000000081525090610ecb5760405162461bcd60e51b81526004016106149190612113565b5060006003546001610edd9190612404565b9050610ee98482611a73565b610ef38184611c90565b50505050565b60408051808201909152600681526530303330303160d01b60208201526000906001600160a01b038316610f405760405162461bcd60e51b81526004016106149190612113565b5060005b60035481116106a1576000818152602081905260409020546001600160a01b0384811691161415610f7d5781610f79816123bd565b9250505b80610f87816123bd565b915050610f44565b6005546001600160a01b0316336001600160a01b0316146040518060400160405280600681526020016530303530303160d01b81525090610fe35760405162461bcd60e51b81526004016106149190612113565b50610fed81611cc4565b50565b6005546001600160a01b0316336001600160a01b0316146040518060400160405280600681526020016530303530303160d01b815250906110445760405162461bcd60e51b81526004016106149190612113565b506000838152602081905260409020546001600160a01b031615156040518060400160405280600681526020016518181998181960d11b8152509061109c5760405162461bcd60e51b81526004016106149190612113565b50600083815260086020526040902080546110b69061241c565b60408051808201909152600681527f3030363030310000000000000000000000000000000000000000000000000000602082015291501561110a5760405162461bcd60e51b81526004016106149190612113565b506000838152600860205260409020610ef3908383611fab565b3360009081526006602081815260408084207f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a808652908352938190205481518083019092529281526530303530303160d01b918101919091529060ff1615156001146111a45760405162461bcd60e51b81526004016106149190612113565b50610fed611d2b565b3360008181526002602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b60008381526020819052604090205483906001600160a01b03163381148061125757506000828152600160205260409020546001600160a01b031633145b8061128557506001600160a01b038116600090815260026020908152604080832033845290915290205460ff165b604051806040016040528060068152602001650c0c0ccc0c0d60d21b815250906112c25760405162461bcd60e51b81526004016106149190612113565b5060008581526020819052604090205485906001600160a01b031615156040518060400160405280600681526020016518181998181960d11b8152509061131c5760405162461bcd60e51b81526004016106149190612113565b5061135f88888888888080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506117cf92505050565b5050505050505050565b6000818152602081905260409020546060906001600160a01b031615156040518060400160405280600681526020016518181998181960d11b815250906113c35760405162461bcd60e51b81526004016106149190612113565b50600082815260086020526040812080546113dd9061241c565b9050111561148357600082815260086020526040902080546113fe9061241c565b80601f016020809104026020016040519081016040528092919081815260200182805461142a9061241c565b80156114775780601f1061144c57610100808354040283529160200191611477565b820191906000526020600020905b81548152906001019060200180831161145a57829003601f168201915b50505050509050919050565b6000600980546114929061241c565b9050116114ae57604051806020016040528060008152506105ba565b60096114b983611da6565b6040516020016114ca92919061246d565b60405160208183030381529060405292915050565b3360009081526006602081815260408084207fd89435f23a892f566cf1f0756b67200c9b0260e702d150f6f1816be9f46e9817808652908352938190205481518083019092529281526530303530303160d01b918101919091529060ff16151560011461155f5760405162461bcd60e51b81526004016106149190612113565b506000838152602081905260409020546001600160a01b031615156040518060400160405280600681526020016518181998181960d11b815250906115b75760405162461bcd60e51b81526004016106149190612113565b50610c618383611c90565b6005546001600160a01b0316336001600160a01b0316146040518060400160405280600681526020016530303530303160d01b815250906116165760405162461bcd60e51b81526004016106149190612113565b50610c6160098383611fab565b60408051808201909152600681526530303530303160d01b60208201526001600160a01b0383166116675760405162461bcd60e51b81526004016106149190612113565b506001600160a01b03909116600090815260066020908152604080832093835292905220805460ff19166001179055565b6000818152602081905260409020546001600160a01b03166116bb818484611ee0565b600082815260016020526040902080546001600160a01b031916905560008281526020819052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b60075460ff166117855760405162461bcd60e51b815260206004820152601460248201527f5061757361626c653a206e6f74207061757365640000000000000000000000006044820152606401610614565b6007805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b60008281526020819052604090205482906001600160a01b03163381148061180d57506000828152600160205260409020546001600160a01b031633145b8061183b57506001600160a01b038116600090815260026020908152604080832033845290915290205460ff165b604051806040016040528060068152602001650c0c0ccc0c0d60d21b815250906118785760405162461bcd60e51b81526004016106149190612113565b5060008481526020819052604090205484906001600160a01b031615156040518060400160405280600681526020016518181998181960d11b815250906118d25760405162461bcd60e51b81526004016106149190612113565b5060008581526020818152604091829020548251808401909352600683526530303330303760d01b918301919091526001600160a01b0390811691908916821461192f5760405162461bcd60e51b81526004016106149190612113565b5060408051808201909152600681526530303330303160d01b60208201526001600160a01b0388166119745760405162461bcd60e51b81526004016106149190612113565b5061197f8787611698565b6001600160a01b0387163b1561135f57604051630a85bd0160e11b81526000906001600160a01b0389169063150b7a02906119c49033908d908c908c90600401612514565b602060405180830381600087803b1580156119de57600080fd5b505af11580156119f2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a169190612550565b60408051808201909152600681526530303330303560d01b60208201529091506001600160e01b03198216630a85bd0160e11b14611a675760405162461bcd60e51b81526004016106149190612113565b50505050505050505050565b60408051808201909152600681526530303330303160d01b60208201526001600160a01b038316611ab75760405162461bcd60e51b81526004016106149190612113565b506000818152602081905260409020546001600160a01b03161515156040518060400160405280600681526020017f303033303036000000000000000000000000000000000000000000000000000081525090611b275760405162461bcd60e51b81526004016106149190612113565b50600081815260208190526040902080546001600160a01b0319166001600160a01b038416179055600354811115611b5f5760038190555b60405181906001600160a01b038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46001600160a01b0382163b1561062857604051630a85bd0160e11b8152306004820152600060248201819052604482018390526080606483015260848201819052906001600160a01b0384169063150b7a029060a401602060405180830381600087803b158015611c0757600080fd5b505af1158015611c1b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c3f9190612550565b60408051808201909152600681526530303330303560d01b60208201529091506001600160e01b03198216630a85bd0160e11b14610ef35760405162461bcd60e51b81526004016106149190612113565b6000828152600460205260409020805482919060ff19166001836002811115611cbb57611cbb61256d565b02179055505050565b60408051808201909152600681526530303530303160d01b60208201526001600160a01b038216611d085760405162461bcd60e51b81526004016106149190612113565b50600580546001600160a01b0319166001600160a01b0392909216919091179055565b60075460ff1615611d715760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610614565b6007805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586117b23390565b606081611de657505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115611e105780611dfa816123bd565b9150611e099050600a83612599565b9150611dea565b60008167ffffffffffffffff811115611e2b57611e2b6123d8565b6040519080825280601f01601f191660200182016040528015611e55576020820181803683370190505b5090505b8415611ed857611e6a6001836125ad565b9150611e77600a866125c4565b611e82906030612404565b60f81b818381518110611e9757611e976123ee565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350611ed1600a86612599565b9450611e59565b949350505050565b60075460ff1615611f265760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610614565b8060018060008381526004602052604090205460ff166002811115611f4d57611f4d61256d565b14156040518060400160405280600681526020017f303034303032000000000000000000000000000000000000000000000000000081525090611fa35760405162461bcd60e51b81526004016106149190612113565b505050505050565b828054611fb79061241c565b90600052602060002090601f016020900481019282611fd9576000855561201f565b82601f10611ff25782800160ff1982351617855561201f565b8280016001018555821561201f579182015b8281111561201f578235825591602001919060010190612004565b506108bf9291505b808211156108bf5760008155600101612027565b6001600160e01b031981168114610fed57600080fd5b60006020828403121561206357600080fd5b813561206e8161203b565b9392505050565b80356001600160a01b038116811461208c57600080fd5b919050565b600080604083850312156120a457600080fd5b6120ad83612075565b946020939093013593505050565b60005b838110156120d65781810151838201526020016120be565b83811115610ef35750506000910152565b600081518084526120ff8160208601602086016120bb565b601f01601f19169290920160200192915050565b60208152600061206e60208301846120e7565b60006020828403121561213857600080fd5b5035919050565b60008060006060848603121561215457600080fd5b61215d84612075565b925061216b60208501612075565b9150604084013590509250925092565b80356003811061208c57600080fd5b6000806040838503121561219d57600080fd5b6121a683612075565b91506121b46020840161217b565b90509250929050565b6000602082840312156121cf57600080fd5b61206e82612075565b60008083601f8401126121ea57600080fd5b50813567ffffffffffffffff81111561220257600080fd5b60208301915083602082850101111561221a57600080fd5b9250929050565b60008060006040848603121561223657600080fd5b83359250602084013567ffffffffffffffff81111561225457600080fd5b612260868287016121d8565b9497909650939450505050565b6000806040838503121561228057600080fd5b61228983612075565b91506020830135801515811461229e57600080fd5b809150509250929050565b6000806000806000608086880312156122c157600080fd5b6122ca86612075565b94506122d860208701612075565b935060408601359250606086013567ffffffffffffffff8111156122fb57600080fd5b612307888289016121d8565b969995985093965092949392505050565b6000806040838503121561232b57600080fd5b823591506121b46020840161217b565b6000806040838503121561234e57600080fd5b61235783612075565b91506121b460208401612075565b6000806020838503121561237857600080fd5b823567ffffffffffffffff81111561238f57600080fd5b61239b858286016121d8565b90969095509350505050565b634e487b7160e01b600052601160045260246000fd5b60006000198214156123d1576123d16123a7565b5060010190565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b60008219821115612417576124176123a7565b500190565b600181811c9082168061243057607f821691505b602082108114156106a157634e487b7160e01b600052602260045260246000fd5b600081516124638185602086016120bb565b9290920192915050565b600080845481600182811c91508083168061248957607f831692505b60208084108214156124a957634e487b7160e01b86526022600452602486fd5b8180156124bd57600181146124ce576124fb565b60ff198616895284890196506124fb565b60008b81526020902060005b868110156124f35781548b8201529085019083016124da565b505084890196505b50505050505061250b8185612451565b95945050505050565b60006001600160a01b0380871683528086166020840152508360408301526080606083015261254660808301846120e7565b9695505050505050565b60006020828403121561256257600080fd5b815161206e8161203b565b634e487b7160e01b600052602160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b6000826125a8576125a8612583565b500490565b6000828210156125bf576125bf6123a7565b500390565b6000826125d3576125d3612583565b50069056fea264697066735822122066b86a11cb56400ae2f5c768dec7d754a30ba451e3e157e882793dd199bb9d0064736f6c63430008080033

Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.