ETH Price: $3,437.15 (-2.24%)

Token

Pet Swan (PS)
 

Overview

Max Total Supply

2,000 PS

Holders

578

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
8 PS
0x4577831bB4A65AFe62D329f06FD162D45C4BCEE9
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:
PetSwan

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 12 : PetSwan.sol
/**
 *Submitted for verification at Etherscan.io on 2022-04-13
*/

// SPDX-License-Identifier: MIT

// PET SWAN

pragma solidity >=0.7.0 <0.9.0;

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

contract PetSwan is ERC721, Ownable {
  using Strings for uint256;
  using Counters for Counters.Counter;

  Counters.Counter private supply;

  string public uriPrefix = "";
  string public uriSuffix = ".json";
  string public hiddenMetadataUri;
  
  uint256 public cost = 0 ether;
  uint256 public maxSupply = 2000;
  uint256 public maxMintAmountPerTx = 2;

  bool public paused = false;
  bool public revealed = false;

  constructor() ERC721("Pet Swan", "PS") {
    setHiddenMetadataUri("ipfs://QmWLKeDjGUs2Un6yDh53KSjrSdffyVMEeG3QrC7McMbqa6");
  }

  modifier mintCompliance(uint256 _mintAmount) {
    require(_mintAmount > 0 && _mintAmount <= maxMintAmountPerTx, "Invalid mint amount!");
    require(supply.current() + _mintAmount <= maxSupply, "Max supply exceeded!");
    _;
  }

  function totalSupply() public view returns (uint256) {
    return supply.current();
  }

  function mint(uint256 _mintAmount) public payable mintCompliance(_mintAmount) {
    require(!paused, "The contract is paused!");
    require(msg.value >= cost * _mintAmount, "Insufficient funds!");

    _mintLoop(msg.sender, _mintAmount);
  }
  
  function mintForAddress(uint256 _mintAmount, address _receiver) public mintCompliance(_mintAmount) onlyOwner {
    _mintLoop(_receiver, _mintAmount);
  }

  function walletOfOwner(address _owner)
    public
    view
    returns (uint256[] memory)
  {
    uint256 ownerTokenCount = balanceOf(_owner);
    uint256[] memory ownedTokenIds = new uint256[](ownerTokenCount);
    uint256 currentTokenId = 1;
    uint256 ownedTokenIndex = 0;

    while (ownedTokenIndex < ownerTokenCount && currentTokenId <= maxSupply) {
      address currentTokenOwner = ownerOf(currentTokenId);

      if (currentTokenOwner == _owner) {
        ownedTokenIds[ownedTokenIndex] = currentTokenId;

        ownedTokenIndex++;
      }

      currentTokenId++;
    }

    return ownedTokenIds;
  }

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

    if (revealed == false) {
      return hiddenMetadataUri;
    }

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

  function setRevealed(bool _state) public onlyOwner {
    revealed = _state;
  }

  function setCost(uint256 _cost) public onlyOwner {
    cost = _cost;
  }

  function setMaxMintAmountPerTx(uint256 _maxMintAmountPerTx) public onlyOwner {
    maxMintAmountPerTx = _maxMintAmountPerTx;
  }

  function setHiddenMetadataUri(string memory _hiddenMetadataUri) public onlyOwner {
    hiddenMetadataUri = _hiddenMetadataUri;
  }

  function setUriPrefix(string memory _uriPrefix) public onlyOwner {
    uriPrefix = _uriPrefix;
  }

  function setUriSuffix(string memory _uriSuffix) public onlyOwner {
    uriSuffix = _uriSuffix;
  }

  function setPaused(bool _state) public onlyOwner {
    paused = _state;
  }

  function withdraw() public onlyOwner {
    
    (bool os, ) = payable(owner()).call{value: address(this).balance}("");
    require(os);
    
  }

  function _mintLoop(address _receiver, uint256 _mintAmount) internal {
    for (uint256 i = 0; i < _mintAmount; i++) {
      supply.increment();
      _safeMint(_receiver, supply.current());
    }
  }

  function _baseURI() internal view virtual override returns (string memory) {
    return uriPrefix;
  }
}

File 2 of 12 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

File 4 of 12 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/ERC721.sol)

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

        _afterTokenTransfer(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);

        _afterTokenTransfer(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 from incorrect owner");
        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);

        _afterTokenTransfer(from, to, tokenId);
    }

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

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

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

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

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}
}

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

File 12 of 12 : 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": false,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"hiddenMetadataUri","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"maxMintAmountPerTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"},{"internalType":"address","name":"_receiver","type":"address"}],"name":"mintForAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":"uint256","name":"_cost","type":"uint256"}],"name":"setCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_hiddenMetadataUri","type":"string"}],"name":"setHiddenMetadataUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxMintAmountPerTx","type":"uint256"}],"name":"setMaxMintAmountPerTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setRevealed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uriPrefix","type":"string"}],"name":"setUriPrefix","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uriSuffix","type":"string"}],"name":"setUriSuffix","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uriPrefix","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uriSuffix","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405260405180602001604052806000815250600890805190602001906200002b92919062000361565b506040518060400160405280600581526020017f2e6a736f6e000000000000000000000000000000000000000000000000000000815250600990805190602001906200007992919062000361565b506000600b556107d0600c556002600d556000600e60006101000a81548160ff0219169083151502179055506000600e60016101000a81548160ff021916908315150217905550348015620000cd57600080fd5b506040518060400160405280600881526020017f506574205377616e0000000000000000000000000000000000000000000000008152506040518060400160405280600281526020017f505300000000000000000000000000000000000000000000000000000000000081525081600090805190602001906200015292919062000361565b5080600190805190602001906200016b92919062000361565b5050506200018e62000182620001be60201b60201c565b620001c660201b60201c565b620001b860405180606001604052806035815260200162004704603591396200028c60201b60201c565b620004f9565b600033905090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6200029c620001be60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16620002c26200033760201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16146200031b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003129062000438565b60405180910390fd5b80600a90805190602001906200033392919062000361565b5050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b8280546200036f906200046b565b90600052602060002090601f016020900481019282620003935760008555620003df565b82601f10620003ae57805160ff1916838001178555620003df565b82800160010185558215620003df579182015b82811115620003de578251825591602001919060010190620003c1565b5b509050620003ee9190620003f2565b5090565b5b808211156200040d576000816000905550600101620003f3565b5090565b6000620004206020836200045a565b91506200042d82620004d0565b602082019050919050565b60006020820190508181036000830152620004538162000411565b9050919050565b600082825260208201905092915050565b600060028204905060018216806200048457607f821691505b602082108114156200049b576200049a620004a1565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6141fb80620005096000396000f3fe60806040526004361061020f5760003560e01c80636352211e11610118578063a45ba8e7116100a0578063d5abeb011161006f578063d5abeb0114610768578063e0a8085314610793578063e985e9c5146107bc578063efbd73f4146107f9578063f2fde38b146108225761020f565b8063a45ba8e7146106ae578063b071401b146106d9578063b88d4fde14610702578063c87b56dd1461072b5761020f565b80638da5cb5b116100e75780638da5cb5b146105e857806394354fd01461061357806395d89b411461063e578063a0712d6814610669578063a22cb465146106855761020f565b80636352211e1461052e57806370a082311461056b578063715018a6146105a85780637ec4a659146105bf5761020f565b80633ccfd60b1161019b5780634fdd43cb1161016a5780634fdd43cb1461045957806351830227146104825780635503a0e8146104ad5780635c975abb146104d857806362b99ad4146105035761020f565b80633ccfd60b146103b357806342842e0e146103ca578063438b6300146103f357806344a0d68a146104305761020f565b806313faede6116101e257806313faede6146102e257806316ba10e01461030d57806316c38b3c1461033657806318160ddd1461035f57806323b872dd1461038a5761020f565b806301ffc9a71461021457806306fdde0314610251578063081812fc1461027c578063095ea7b3146102b9575b600080fd5b34801561022057600080fd5b5061023b60048036038101906102369190612e25565b61084b565b60405161024891906134b7565b60405180910390f35b34801561025d57600080fd5b5061026661092d565b60405161027391906134d2565b60405180910390f35b34801561028857600080fd5b506102a3600480360381019061029e9190612ec8565b6109bf565b6040516102b0919061342e565b60405180910390f35b3480156102c557600080fd5b506102e060048036038101906102db9190612db8565b610a44565b005b3480156102ee57600080fd5b506102f7610b5c565b6040516103049190613774565b60405180910390f35b34801561031957600080fd5b50610334600480360381019061032f9190612e7f565b610b62565b005b34801561034257600080fd5b5061035d60048036038101906103589190612df8565b610bf8565b005b34801561036b57600080fd5b50610374610c91565b6040516103819190613774565b60405180910390f35b34801561039657600080fd5b506103b160048036038101906103ac9190612ca2565b610ca2565b005b3480156103bf57600080fd5b506103c8610d02565b005b3480156103d657600080fd5b506103f160048036038101906103ec9190612ca2565b610dfe565b005b3480156103ff57600080fd5b5061041a60048036038101906104159190612c35565b610e1e565b6040516104279190613495565b60405180910390f35b34801561043c57600080fd5b5061045760048036038101906104529190612ec8565b610f29565b005b34801561046557600080fd5b50610480600480360381019061047b9190612e7f565b610faf565b005b34801561048e57600080fd5b50610497611045565b6040516104a491906134b7565b60405180910390f35b3480156104b957600080fd5b506104c2611058565b6040516104cf91906134d2565b60405180910390f35b3480156104e457600080fd5b506104ed6110e6565b6040516104fa91906134b7565b60405180910390f35b34801561050f57600080fd5b506105186110f9565b60405161052591906134d2565b60405180910390f35b34801561053a57600080fd5b5061055560048036038101906105509190612ec8565b611187565b604051610562919061342e565b60405180910390f35b34801561057757600080fd5b50610592600480360381019061058d9190612c35565b611239565b60405161059f9190613774565b60405180910390f35b3480156105b457600080fd5b506105bd6112f1565b005b3480156105cb57600080fd5b506105e660048036038101906105e19190612e7f565b611379565b005b3480156105f457600080fd5b506105fd61140f565b60405161060a919061342e565b60405180910390f35b34801561061f57600080fd5b50610628611439565b6040516106359190613774565b60405180910390f35b34801561064a57600080fd5b5061065361143f565b60405161066091906134d2565b60405180910390f35b610683600480360381019061067e9190612ec8565b6114d1565b005b34801561069157600080fd5b506106ac60048036038101906106a79190612d78565b61162a565b005b3480156106ba57600080fd5b506106c3611640565b6040516106d091906134d2565b60405180910390f35b3480156106e557600080fd5b5061070060048036038101906106fb9190612ec8565b6116ce565b005b34801561070e57600080fd5b5061072960048036038101906107249190612cf5565b611754565b005b34801561073757600080fd5b50610752600480360381019061074d9190612ec8565b6117b6565b60405161075f91906134d2565b60405180910390f35b34801561077457600080fd5b5061077d61190f565b60405161078a9190613774565b60405180910390f35b34801561079f57600080fd5b506107ba60048036038101906107b59190612df8565b611915565b005b3480156107c857600080fd5b506107e360048036038101906107de9190612c62565b6119ae565b6040516107f091906134b7565b60405180910390f35b34801561080557600080fd5b50610820600480360381019061081b9190612ef5565b611a42565b005b34801561082e57600080fd5b5061084960048036038101906108449190612c35565b611b78565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061091657507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610926575061092582611c70565b5b9050919050565b60606000805461093c90613a7d565b80601f016020809104026020016040519081016040528092919081815260200182805461096890613a7d565b80156109b55780601f1061098a576101008083540402835291602001916109b5565b820191906000526020600020905b81548152906001019060200180831161099857829003601f168201915b5050505050905090565b60006109ca82611cda565b610a09576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0090613674565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a4f82611187565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610ac0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ab7906136f4565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610adf611d46565b73ffffffffffffffffffffffffffffffffffffffff161480610b0e5750610b0d81610b08611d46565b6119ae565b5b610b4d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b44906135f4565b60405180910390fd5b610b578383611d4e565b505050565b600b5481565b610b6a611d46565b73ffffffffffffffffffffffffffffffffffffffff16610b8861140f565b73ffffffffffffffffffffffffffffffffffffffff1614610bde576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bd590613694565b60405180910390fd5b8060099080519060200190610bf4929190612a49565b5050565b610c00611d46565b73ffffffffffffffffffffffffffffffffffffffff16610c1e61140f565b73ffffffffffffffffffffffffffffffffffffffff1614610c74576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c6b90613694565b60405180910390fd5b80600e60006101000a81548160ff02191690831515021790555050565b6000610c9d6007611e07565b905090565b610cb3610cad611d46565b82611e15565b610cf2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ce990613734565b60405180910390fd5b610cfd838383611ef3565b505050565b610d0a611d46565b73ffffffffffffffffffffffffffffffffffffffff16610d2861140f565b73ffffffffffffffffffffffffffffffffffffffff1614610d7e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d7590613694565b60405180910390fd5b6000610d8861140f565b73ffffffffffffffffffffffffffffffffffffffff1647604051610dab90613419565b60006040518083038185875af1925050503d8060008114610de8576040519150601f19603f3d011682016040523d82523d6000602084013e610ded565b606091505b5050905080610dfb57600080fd5b50565b610e1983838360405180602001604052806000815250611754565b505050565b60606000610e2b83611239565b905060008167ffffffffffffffff811115610e4957610e48613c16565b5b604051908082528060200260200182016040528015610e775781602001602082028036833780820191505090505b50905060006001905060005b8381108015610e945750600c548211155b15610f1d576000610ea483611187565b90508673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610f095782848381518110610eee57610eed613be7565b5b6020026020010181815250508180610f0590613ae0565b9250505b8280610f1490613ae0565b93505050610e83565b82945050505050919050565b610f31611d46565b73ffffffffffffffffffffffffffffffffffffffff16610f4f61140f565b73ffffffffffffffffffffffffffffffffffffffff1614610fa5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9c90613694565b60405180910390fd5b80600b8190555050565b610fb7611d46565b73ffffffffffffffffffffffffffffffffffffffff16610fd561140f565b73ffffffffffffffffffffffffffffffffffffffff161461102b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161102290613694565b60405180910390fd5b80600a9080519060200190611041929190612a49565b5050565b600e60019054906101000a900460ff1681565b6009805461106590613a7d565b80601f016020809104026020016040519081016040528092919081815260200182805461109190613a7d565b80156110de5780601f106110b3576101008083540402835291602001916110de565b820191906000526020600020905b8154815290600101906020018083116110c157829003601f168201915b505050505081565b600e60009054906101000a900460ff1681565b6008805461110690613a7d565b80601f016020809104026020016040519081016040528092919081815260200182805461113290613a7d565b801561117f5780601f106111545761010080835404028352916020019161117f565b820191906000526020600020905b81548152906001019060200180831161116257829003601f168201915b505050505081565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611230576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161122790613634565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156112aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112a190613614565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6112f9611d46565b73ffffffffffffffffffffffffffffffffffffffff1661131761140f565b73ffffffffffffffffffffffffffffffffffffffff161461136d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161136490613694565b60405180910390fd5b611377600061215a565b565b611381611d46565b73ffffffffffffffffffffffffffffffffffffffff1661139f61140f565b73ffffffffffffffffffffffffffffffffffffffff16146113f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113ec90613694565b60405180910390fd5b806008908051906020019061140b929190612a49565b5050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600d5481565b60606001805461144e90613a7d565b80601f016020809104026020016040519081016040528092919081815260200182805461147a90613a7d565b80156114c75780601f1061149c576101008083540402835291602001916114c7565b820191906000526020600020905b8154815290600101906020018083116114aa57829003601f168201915b5050505050905090565b806000811180156114e45750600d548111155b611523576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161151a90613574565b60405180910390fd5b600c54816115316007611e07565b61153b91906138b2565b111561157c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161157390613714565b60405180910390fd5b600e60009054906101000a900460ff16156115cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115c3906136b4565b60405180910390fd5b81600b546115da9190613939565b34101561161c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161161390613754565b60405180910390fd5b6116263383612220565b5050565b61163c611635611d46565b8383612260565b5050565b600a805461164d90613a7d565b80601f016020809104026020016040519081016040528092919081815260200182805461167990613a7d565b80156116c65780601f1061169b576101008083540402835291602001916116c6565b820191906000526020600020905b8154815290600101906020018083116116a957829003601f168201915b505050505081565b6116d6611d46565b73ffffffffffffffffffffffffffffffffffffffff166116f461140f565b73ffffffffffffffffffffffffffffffffffffffff161461174a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161174190613694565b60405180910390fd5b80600d8190555050565b61176561175f611d46565b83611e15565b6117a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161179b90613734565b60405180910390fd5b6117b0848484846123cd565b50505050565b60606117c182611cda565b611800576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117f7906136d4565b60405180910390fd5b60001515600e60019054906101000a900460ff16151514156118ae57600a805461182990613a7d565b80601f016020809104026020016040519081016040528092919081815260200182805461185590613a7d565b80156118a25780601f10611877576101008083540402835291602001916118a2565b820191906000526020600020905b81548152906001019060200180831161188557829003601f168201915b5050505050905061190a565b60006118b8612429565b905060008151116118d85760405180602001604052806000815250611906565b806118e2846124bb565b60096040516020016118f6939291906133e8565b6040516020818303038152906040525b9150505b919050565b600c5481565b61191d611d46565b73ffffffffffffffffffffffffffffffffffffffff1661193b61140f565b73ffffffffffffffffffffffffffffffffffffffff1614611991576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161198890613694565b60405180910390fd5b80600e60016101000a81548160ff02191690831515021790555050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b81600081118015611a555750600d548111155b611a94576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a8b90613574565b60405180910390fd5b600c5481611aa26007611e07565b611aac91906138b2565b1115611aed576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ae490613714565b60405180910390fd5b611af5611d46565b73ffffffffffffffffffffffffffffffffffffffff16611b1361140f565b73ffffffffffffffffffffffffffffffffffffffff1614611b69576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b6090613694565b60405180910390fd5b611b738284612220565b505050565b611b80611d46565b73ffffffffffffffffffffffffffffffffffffffff16611b9e61140f565b73ffffffffffffffffffffffffffffffffffffffff1614611bf4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611beb90613694565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611c64576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c5b90613514565b60405180910390fd5b611c6d8161215a565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611dc183611187565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600081600001549050919050565b6000611e2082611cda565b611e5f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e56906135d4565b60405180910390fd5b6000611e6a83611187565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611ed957508373ffffffffffffffffffffffffffffffffffffffff16611ec1846109bf565b73ffffffffffffffffffffffffffffffffffffffff16145b80611eea5750611ee981856119ae565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611f1382611187565b73ffffffffffffffffffffffffffffffffffffffff1614611f69576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f6090613534565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611fd9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fd090613594565b60405180910390fd5b611fe483838361261c565b611fef600082611d4e565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461203f9190613993565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461209691906138b2565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612155838383612621565b505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60005b8181101561225b576122356007612626565b612248836122436007611e07565b61263c565b808061225390613ae0565b915050612223565b505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156122cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122c6906135b4565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516123c091906134b7565b60405180910390a3505050565b6123d8848484611ef3565b6123e48484848461265a565b612423576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161241a906134f4565b60405180910390fd5b50505050565b60606008805461243890613a7d565b80601f016020809104026020016040519081016040528092919081815260200182805461246490613a7d565b80156124b15780601f10612486576101008083540402835291602001916124b1565b820191906000526020600020905b81548152906001019060200180831161249457829003601f168201915b5050505050905090565b60606000821415612503576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612617565b600082905060005b6000821461253557808061251e90613ae0565b915050600a8261252e9190613908565b915061250b565b60008167ffffffffffffffff81111561255157612550613c16565b5b6040519080825280601f01601f1916602001820160405280156125835781602001600182028036833780820191505090505b5090505b600085146126105760018261259c9190613993565b9150600a856125ab9190613b29565b60306125b791906138b2565b60f81b8183815181106125cd576125cc613be7565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856126099190613908565b9450612587565b8093505050505b919050565b505050565b505050565b6001816000016000828254019250508190555050565b6126568282604051806020016040528060008152506127f1565b5050565b600061267b8473ffffffffffffffffffffffffffffffffffffffff1661284c565b156127e4578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026126a4611d46565b8786866040518563ffffffff1660e01b81526004016126c69493929190613449565b602060405180830381600087803b1580156126e057600080fd5b505af192505050801561271157506040513d601f19601f8201168201806040525081019061270e9190612e52565b60015b612794573d8060008114612741576040519150601f19603f3d011682016040523d82523d6000602084013e612746565b606091505b5060008151141561278c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612783906134f4565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506127e9565b600190505b949350505050565b6127fb838361286f565b612808600084848461265a565b612847576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161283e906134f4565b60405180910390fd5b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156128df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128d690613654565b60405180910390fd5b6128e881611cda565b15612928576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161291f90613554565b60405180910390fd5b6129346000838361261c565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461298491906138b2565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612a4560008383612621565b5050565b828054612a5590613a7d565b90600052602060002090601f016020900481019282612a775760008555612abe565b82601f10612a9057805160ff1916838001178555612abe565b82800160010185558215612abe579182015b82811115612abd578251825591602001919060010190612aa2565b5b509050612acb9190612acf565b5090565b5b80821115612ae8576000816000905550600101612ad0565b5090565b6000612aff612afa846137b4565b61378f565b905082815260208101848484011115612b1b57612b1a613c4a565b5b612b26848285613a3b565b509392505050565b6000612b41612b3c846137e5565b61378f565b905082815260208101848484011115612b5d57612b5c613c4a565b5b612b68848285613a3b565b509392505050565b600081359050612b7f81614169565b92915050565b600081359050612b9481614180565b92915050565b600081359050612ba981614197565b92915050565b600081519050612bbe81614197565b92915050565b600082601f830112612bd957612bd8613c45565b5b8135612be9848260208601612aec565b91505092915050565b600082601f830112612c0757612c06613c45565b5b8135612c17848260208601612b2e565b91505092915050565b600081359050612c2f816141ae565b92915050565b600060208284031215612c4b57612c4a613c54565b5b6000612c5984828501612b70565b91505092915050565b60008060408385031215612c7957612c78613c54565b5b6000612c8785828601612b70565b9250506020612c9885828601612b70565b9150509250929050565b600080600060608486031215612cbb57612cba613c54565b5b6000612cc986828701612b70565b9350506020612cda86828701612b70565b9250506040612ceb86828701612c20565b9150509250925092565b60008060008060808587031215612d0f57612d0e613c54565b5b6000612d1d87828801612b70565b9450506020612d2e87828801612b70565b9350506040612d3f87828801612c20565b925050606085013567ffffffffffffffff811115612d6057612d5f613c4f565b5b612d6c87828801612bc4565b91505092959194509250565b60008060408385031215612d8f57612d8e613c54565b5b6000612d9d85828601612b70565b9250506020612dae85828601612b85565b9150509250929050565b60008060408385031215612dcf57612dce613c54565b5b6000612ddd85828601612b70565b9250506020612dee85828601612c20565b9150509250929050565b600060208284031215612e0e57612e0d613c54565b5b6000612e1c84828501612b85565b91505092915050565b600060208284031215612e3b57612e3a613c54565b5b6000612e4984828501612b9a565b91505092915050565b600060208284031215612e6857612e67613c54565b5b6000612e7684828501612baf565b91505092915050565b600060208284031215612e9557612e94613c54565b5b600082013567ffffffffffffffff811115612eb357612eb2613c4f565b5b612ebf84828501612bf2565b91505092915050565b600060208284031215612ede57612edd613c54565b5b6000612eec84828501612c20565b91505092915050565b60008060408385031215612f0c57612f0b613c54565b5b6000612f1a85828601612c20565b9250506020612f2b85828601612b70565b9150509250929050565b6000612f4183836133ca565b60208301905092915050565b612f56816139c7565b82525050565b6000612f678261383b565b612f718185613869565b9350612f7c83613816565b8060005b83811015612fad578151612f948882612f35565b9750612f9f8361385c565b925050600181019050612f80565b5085935050505092915050565b612fc3816139d9565b82525050565b6000612fd482613846565b612fde818561387a565b9350612fee818560208601613a4a565b612ff781613c59565b840191505092915050565b600061300d82613851565b6130178185613896565b9350613027818560208601613a4a565b61303081613c59565b840191505092915050565b600061304682613851565b61305081856138a7565b9350613060818560208601613a4a565b80840191505092915050565b6000815461307981613a7d565b61308381866138a7565b9450600182166000811461309e57600181146130af576130e2565b60ff198316865281860193506130e2565b6130b885613826565b60005b838110156130da578154818901526001820191506020810190506130bb565b838801955050505b50505092915050565b60006130f8603283613896565b915061310382613c6a565b604082019050919050565b600061311b602683613896565b915061312682613cb9565b604082019050919050565b600061313e602583613896565b915061314982613d08565b604082019050919050565b6000613161601c83613896565b915061316c82613d57565b602082019050919050565b6000613184601483613896565b915061318f82613d80565b602082019050919050565b60006131a7602483613896565b91506131b282613da9565b604082019050919050565b60006131ca601983613896565b91506131d582613df8565b602082019050919050565b60006131ed602c83613896565b91506131f882613e21565b604082019050919050565b6000613210603883613896565b915061321b82613e70565b604082019050919050565b6000613233602a83613896565b915061323e82613ebf565b604082019050919050565b6000613256602983613896565b915061326182613f0e565b604082019050919050565b6000613279602083613896565b915061328482613f5d565b602082019050919050565b600061329c602c83613896565b91506132a782613f86565b604082019050919050565b60006132bf602083613896565b91506132ca82613fd5565b602082019050919050565b60006132e2601783613896565b91506132ed82613ffe565b602082019050919050565b6000613305602f83613896565b915061331082614027565b604082019050919050565b6000613328602183613896565b915061333382614076565b604082019050919050565b600061334b60008361388b565b9150613356826140c5565b600082019050919050565b600061336e601483613896565b9150613379826140c8565b602082019050919050565b6000613391603183613896565b915061339c826140f1565b604082019050919050565b60006133b4601383613896565b91506133bf82614140565b602082019050919050565b6133d381613a31565b82525050565b6133e281613a31565b82525050565b60006133f4828661303b565b9150613400828561303b565b915061340c828461306c565b9150819050949350505050565b60006134248261333e565b9150819050919050565b60006020820190506134436000830184612f4d565b92915050565b600060808201905061345e6000830187612f4d565b61346b6020830186612f4d565b61347860408301856133d9565b818103606083015261348a8184612fc9565b905095945050505050565b600060208201905081810360008301526134af8184612f5c565b905092915050565b60006020820190506134cc6000830184612fba565b92915050565b600060208201905081810360008301526134ec8184613002565b905092915050565b6000602082019050818103600083015261350d816130eb565b9050919050565b6000602082019050818103600083015261352d8161310e565b9050919050565b6000602082019050818103600083015261354d81613131565b9050919050565b6000602082019050818103600083015261356d81613154565b9050919050565b6000602082019050818103600083015261358d81613177565b9050919050565b600060208201905081810360008301526135ad8161319a565b9050919050565b600060208201905081810360008301526135cd816131bd565b9050919050565b600060208201905081810360008301526135ed816131e0565b9050919050565b6000602082019050818103600083015261360d81613203565b9050919050565b6000602082019050818103600083015261362d81613226565b9050919050565b6000602082019050818103600083015261364d81613249565b9050919050565b6000602082019050818103600083015261366d8161326c565b9050919050565b6000602082019050818103600083015261368d8161328f565b9050919050565b600060208201905081810360008301526136ad816132b2565b9050919050565b600060208201905081810360008301526136cd816132d5565b9050919050565b600060208201905081810360008301526136ed816132f8565b9050919050565b6000602082019050818103600083015261370d8161331b565b9050919050565b6000602082019050818103600083015261372d81613361565b9050919050565b6000602082019050818103600083015261374d81613384565b9050919050565b6000602082019050818103600083015261376d816133a7565b9050919050565b600060208201905061378960008301846133d9565b92915050565b60006137996137aa565b90506137a58282613aaf565b919050565b6000604051905090565b600067ffffffffffffffff8211156137cf576137ce613c16565b5b6137d882613c59565b9050602081019050919050565b600067ffffffffffffffff821115613800576137ff613c16565b5b61380982613c59565b9050602081019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b60006138bd82613a31565b91506138c883613a31565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156138fd576138fc613b5a565b5b828201905092915050565b600061391382613a31565b915061391e83613a31565b92508261392e5761392d613b89565b5b828204905092915050565b600061394482613a31565b915061394f83613a31565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561398857613987613b5a565b5b828202905092915050565b600061399e82613a31565b91506139a983613a31565b9250828210156139bc576139bb613b5a565b5b828203905092915050565b60006139d282613a11565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015613a68578082015181840152602081019050613a4d565b83811115613a77576000848401525b50505050565b60006002820490506001821680613a9557607f821691505b60208210811415613aa957613aa8613bb8565b5b50919050565b613ab882613c59565b810181811067ffffffffffffffff82111715613ad757613ad6613c16565b5b80604052505050565b6000613aeb82613a31565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613b1e57613b1d613b5a565b5b600182019050919050565b6000613b3482613a31565b9150613b3f83613a31565b925082613b4f57613b4e613b89565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f496e76616c6964206d696e7420616d6f756e7421000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f54686520636f6e74726163742069732070617573656421000000000000000000600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b50565b7f4d617820737570706c7920657863656564656421000000000000000000000000600082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f496e73756666696369656e742066756e64732100000000000000000000000000600082015250565b614172816139c7565b811461417d57600080fd5b50565b614189816139d9565b811461419457600080fd5b50565b6141a0816139e5565b81146141ab57600080fd5b50565b6141b781613a31565b81146141c257600080fd5b5056fea2646970667358221220153589f44864d051b8fe80a8e1de49e9cec4d31289f0b0bdf3740a318d004ecb64736f6c63430008070033697066733a2f2f516d574c4b65446a47557332556e3679446835334b536a725364666679564d45654733517243374d634d62716136

Deployed Bytecode

0x60806040526004361061020f5760003560e01c80636352211e11610118578063a45ba8e7116100a0578063d5abeb011161006f578063d5abeb0114610768578063e0a8085314610793578063e985e9c5146107bc578063efbd73f4146107f9578063f2fde38b146108225761020f565b8063a45ba8e7146106ae578063b071401b146106d9578063b88d4fde14610702578063c87b56dd1461072b5761020f565b80638da5cb5b116100e75780638da5cb5b146105e857806394354fd01461061357806395d89b411461063e578063a0712d6814610669578063a22cb465146106855761020f565b80636352211e1461052e57806370a082311461056b578063715018a6146105a85780637ec4a659146105bf5761020f565b80633ccfd60b1161019b5780634fdd43cb1161016a5780634fdd43cb1461045957806351830227146104825780635503a0e8146104ad5780635c975abb146104d857806362b99ad4146105035761020f565b80633ccfd60b146103b357806342842e0e146103ca578063438b6300146103f357806344a0d68a146104305761020f565b806313faede6116101e257806313faede6146102e257806316ba10e01461030d57806316c38b3c1461033657806318160ddd1461035f57806323b872dd1461038a5761020f565b806301ffc9a71461021457806306fdde0314610251578063081812fc1461027c578063095ea7b3146102b9575b600080fd5b34801561022057600080fd5b5061023b60048036038101906102369190612e25565b61084b565b60405161024891906134b7565b60405180910390f35b34801561025d57600080fd5b5061026661092d565b60405161027391906134d2565b60405180910390f35b34801561028857600080fd5b506102a3600480360381019061029e9190612ec8565b6109bf565b6040516102b0919061342e565b60405180910390f35b3480156102c557600080fd5b506102e060048036038101906102db9190612db8565b610a44565b005b3480156102ee57600080fd5b506102f7610b5c565b6040516103049190613774565b60405180910390f35b34801561031957600080fd5b50610334600480360381019061032f9190612e7f565b610b62565b005b34801561034257600080fd5b5061035d60048036038101906103589190612df8565b610bf8565b005b34801561036b57600080fd5b50610374610c91565b6040516103819190613774565b60405180910390f35b34801561039657600080fd5b506103b160048036038101906103ac9190612ca2565b610ca2565b005b3480156103bf57600080fd5b506103c8610d02565b005b3480156103d657600080fd5b506103f160048036038101906103ec9190612ca2565b610dfe565b005b3480156103ff57600080fd5b5061041a60048036038101906104159190612c35565b610e1e565b6040516104279190613495565b60405180910390f35b34801561043c57600080fd5b5061045760048036038101906104529190612ec8565b610f29565b005b34801561046557600080fd5b50610480600480360381019061047b9190612e7f565b610faf565b005b34801561048e57600080fd5b50610497611045565b6040516104a491906134b7565b60405180910390f35b3480156104b957600080fd5b506104c2611058565b6040516104cf91906134d2565b60405180910390f35b3480156104e457600080fd5b506104ed6110e6565b6040516104fa91906134b7565b60405180910390f35b34801561050f57600080fd5b506105186110f9565b60405161052591906134d2565b60405180910390f35b34801561053a57600080fd5b5061055560048036038101906105509190612ec8565b611187565b604051610562919061342e565b60405180910390f35b34801561057757600080fd5b50610592600480360381019061058d9190612c35565b611239565b60405161059f9190613774565b60405180910390f35b3480156105b457600080fd5b506105bd6112f1565b005b3480156105cb57600080fd5b506105e660048036038101906105e19190612e7f565b611379565b005b3480156105f457600080fd5b506105fd61140f565b60405161060a919061342e565b60405180910390f35b34801561061f57600080fd5b50610628611439565b6040516106359190613774565b60405180910390f35b34801561064a57600080fd5b5061065361143f565b60405161066091906134d2565b60405180910390f35b610683600480360381019061067e9190612ec8565b6114d1565b005b34801561069157600080fd5b506106ac60048036038101906106a79190612d78565b61162a565b005b3480156106ba57600080fd5b506106c3611640565b6040516106d091906134d2565b60405180910390f35b3480156106e557600080fd5b5061070060048036038101906106fb9190612ec8565b6116ce565b005b34801561070e57600080fd5b5061072960048036038101906107249190612cf5565b611754565b005b34801561073757600080fd5b50610752600480360381019061074d9190612ec8565b6117b6565b60405161075f91906134d2565b60405180910390f35b34801561077457600080fd5b5061077d61190f565b60405161078a9190613774565b60405180910390f35b34801561079f57600080fd5b506107ba60048036038101906107b59190612df8565b611915565b005b3480156107c857600080fd5b506107e360048036038101906107de9190612c62565b6119ae565b6040516107f091906134b7565b60405180910390f35b34801561080557600080fd5b50610820600480360381019061081b9190612ef5565b611a42565b005b34801561082e57600080fd5b5061084960048036038101906108449190612c35565b611b78565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061091657507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610926575061092582611c70565b5b9050919050565b60606000805461093c90613a7d565b80601f016020809104026020016040519081016040528092919081815260200182805461096890613a7d565b80156109b55780601f1061098a576101008083540402835291602001916109b5565b820191906000526020600020905b81548152906001019060200180831161099857829003601f168201915b5050505050905090565b60006109ca82611cda565b610a09576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0090613674565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a4f82611187565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610ac0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ab7906136f4565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610adf611d46565b73ffffffffffffffffffffffffffffffffffffffff161480610b0e5750610b0d81610b08611d46565b6119ae565b5b610b4d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b44906135f4565b60405180910390fd5b610b578383611d4e565b505050565b600b5481565b610b6a611d46565b73ffffffffffffffffffffffffffffffffffffffff16610b8861140f565b73ffffffffffffffffffffffffffffffffffffffff1614610bde576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bd590613694565b60405180910390fd5b8060099080519060200190610bf4929190612a49565b5050565b610c00611d46565b73ffffffffffffffffffffffffffffffffffffffff16610c1e61140f565b73ffffffffffffffffffffffffffffffffffffffff1614610c74576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c6b90613694565b60405180910390fd5b80600e60006101000a81548160ff02191690831515021790555050565b6000610c9d6007611e07565b905090565b610cb3610cad611d46565b82611e15565b610cf2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ce990613734565b60405180910390fd5b610cfd838383611ef3565b505050565b610d0a611d46565b73ffffffffffffffffffffffffffffffffffffffff16610d2861140f565b73ffffffffffffffffffffffffffffffffffffffff1614610d7e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d7590613694565b60405180910390fd5b6000610d8861140f565b73ffffffffffffffffffffffffffffffffffffffff1647604051610dab90613419565b60006040518083038185875af1925050503d8060008114610de8576040519150601f19603f3d011682016040523d82523d6000602084013e610ded565b606091505b5050905080610dfb57600080fd5b50565b610e1983838360405180602001604052806000815250611754565b505050565b60606000610e2b83611239565b905060008167ffffffffffffffff811115610e4957610e48613c16565b5b604051908082528060200260200182016040528015610e775781602001602082028036833780820191505090505b50905060006001905060005b8381108015610e945750600c548211155b15610f1d576000610ea483611187565b90508673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610f095782848381518110610eee57610eed613be7565b5b6020026020010181815250508180610f0590613ae0565b9250505b8280610f1490613ae0565b93505050610e83565b82945050505050919050565b610f31611d46565b73ffffffffffffffffffffffffffffffffffffffff16610f4f61140f565b73ffffffffffffffffffffffffffffffffffffffff1614610fa5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9c90613694565b60405180910390fd5b80600b8190555050565b610fb7611d46565b73ffffffffffffffffffffffffffffffffffffffff16610fd561140f565b73ffffffffffffffffffffffffffffffffffffffff161461102b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161102290613694565b60405180910390fd5b80600a9080519060200190611041929190612a49565b5050565b600e60019054906101000a900460ff1681565b6009805461106590613a7d565b80601f016020809104026020016040519081016040528092919081815260200182805461109190613a7d565b80156110de5780601f106110b3576101008083540402835291602001916110de565b820191906000526020600020905b8154815290600101906020018083116110c157829003601f168201915b505050505081565b600e60009054906101000a900460ff1681565b6008805461110690613a7d565b80601f016020809104026020016040519081016040528092919081815260200182805461113290613a7d565b801561117f5780601f106111545761010080835404028352916020019161117f565b820191906000526020600020905b81548152906001019060200180831161116257829003601f168201915b505050505081565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611230576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161122790613634565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156112aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112a190613614565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6112f9611d46565b73ffffffffffffffffffffffffffffffffffffffff1661131761140f565b73ffffffffffffffffffffffffffffffffffffffff161461136d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161136490613694565b60405180910390fd5b611377600061215a565b565b611381611d46565b73ffffffffffffffffffffffffffffffffffffffff1661139f61140f565b73ffffffffffffffffffffffffffffffffffffffff16146113f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113ec90613694565b60405180910390fd5b806008908051906020019061140b929190612a49565b5050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600d5481565b60606001805461144e90613a7d565b80601f016020809104026020016040519081016040528092919081815260200182805461147a90613a7d565b80156114c75780601f1061149c576101008083540402835291602001916114c7565b820191906000526020600020905b8154815290600101906020018083116114aa57829003601f168201915b5050505050905090565b806000811180156114e45750600d548111155b611523576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161151a90613574565b60405180910390fd5b600c54816115316007611e07565b61153b91906138b2565b111561157c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161157390613714565b60405180910390fd5b600e60009054906101000a900460ff16156115cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115c3906136b4565b60405180910390fd5b81600b546115da9190613939565b34101561161c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161161390613754565b60405180910390fd5b6116263383612220565b5050565b61163c611635611d46565b8383612260565b5050565b600a805461164d90613a7d565b80601f016020809104026020016040519081016040528092919081815260200182805461167990613a7d565b80156116c65780601f1061169b576101008083540402835291602001916116c6565b820191906000526020600020905b8154815290600101906020018083116116a957829003601f168201915b505050505081565b6116d6611d46565b73ffffffffffffffffffffffffffffffffffffffff166116f461140f565b73ffffffffffffffffffffffffffffffffffffffff161461174a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161174190613694565b60405180910390fd5b80600d8190555050565b61176561175f611d46565b83611e15565b6117a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161179b90613734565b60405180910390fd5b6117b0848484846123cd565b50505050565b60606117c182611cda565b611800576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117f7906136d4565b60405180910390fd5b60001515600e60019054906101000a900460ff16151514156118ae57600a805461182990613a7d565b80601f016020809104026020016040519081016040528092919081815260200182805461185590613a7d565b80156118a25780601f10611877576101008083540402835291602001916118a2565b820191906000526020600020905b81548152906001019060200180831161188557829003601f168201915b5050505050905061190a565b60006118b8612429565b905060008151116118d85760405180602001604052806000815250611906565b806118e2846124bb565b60096040516020016118f6939291906133e8565b6040516020818303038152906040525b9150505b919050565b600c5481565b61191d611d46565b73ffffffffffffffffffffffffffffffffffffffff1661193b61140f565b73ffffffffffffffffffffffffffffffffffffffff1614611991576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161198890613694565b60405180910390fd5b80600e60016101000a81548160ff02191690831515021790555050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b81600081118015611a555750600d548111155b611a94576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a8b90613574565b60405180910390fd5b600c5481611aa26007611e07565b611aac91906138b2565b1115611aed576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ae490613714565b60405180910390fd5b611af5611d46565b73ffffffffffffffffffffffffffffffffffffffff16611b1361140f565b73ffffffffffffffffffffffffffffffffffffffff1614611b69576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b6090613694565b60405180910390fd5b611b738284612220565b505050565b611b80611d46565b73ffffffffffffffffffffffffffffffffffffffff16611b9e61140f565b73ffffffffffffffffffffffffffffffffffffffff1614611bf4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611beb90613694565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611c64576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c5b90613514565b60405180910390fd5b611c6d8161215a565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611dc183611187565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600081600001549050919050565b6000611e2082611cda565b611e5f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e56906135d4565b60405180910390fd5b6000611e6a83611187565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611ed957508373ffffffffffffffffffffffffffffffffffffffff16611ec1846109bf565b73ffffffffffffffffffffffffffffffffffffffff16145b80611eea5750611ee981856119ae565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611f1382611187565b73ffffffffffffffffffffffffffffffffffffffff1614611f69576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f6090613534565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611fd9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fd090613594565b60405180910390fd5b611fe483838361261c565b611fef600082611d4e565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461203f9190613993565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461209691906138b2565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612155838383612621565b505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60005b8181101561225b576122356007612626565b612248836122436007611e07565b61263c565b808061225390613ae0565b915050612223565b505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156122cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122c6906135b4565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516123c091906134b7565b60405180910390a3505050565b6123d8848484611ef3565b6123e48484848461265a565b612423576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161241a906134f4565b60405180910390fd5b50505050565b60606008805461243890613a7d565b80601f016020809104026020016040519081016040528092919081815260200182805461246490613a7d565b80156124b15780601f10612486576101008083540402835291602001916124b1565b820191906000526020600020905b81548152906001019060200180831161249457829003601f168201915b5050505050905090565b60606000821415612503576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612617565b600082905060005b6000821461253557808061251e90613ae0565b915050600a8261252e9190613908565b915061250b565b60008167ffffffffffffffff81111561255157612550613c16565b5b6040519080825280601f01601f1916602001820160405280156125835781602001600182028036833780820191505090505b5090505b600085146126105760018261259c9190613993565b9150600a856125ab9190613b29565b60306125b791906138b2565b60f81b8183815181106125cd576125cc613be7565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856126099190613908565b9450612587565b8093505050505b919050565b505050565b505050565b6001816000016000828254019250508190555050565b6126568282604051806020016040528060008152506127f1565b5050565b600061267b8473ffffffffffffffffffffffffffffffffffffffff1661284c565b156127e4578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026126a4611d46565b8786866040518563ffffffff1660e01b81526004016126c69493929190613449565b602060405180830381600087803b1580156126e057600080fd5b505af192505050801561271157506040513d601f19601f8201168201806040525081019061270e9190612e52565b60015b612794573d8060008114612741576040519150601f19603f3d011682016040523d82523d6000602084013e612746565b606091505b5060008151141561278c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612783906134f4565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506127e9565b600190505b949350505050565b6127fb838361286f565b612808600084848461265a565b612847576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161283e906134f4565b60405180910390fd5b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156128df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128d690613654565b60405180910390fd5b6128e881611cda565b15612928576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161291f90613554565b60405180910390fd5b6129346000838361261c565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461298491906138b2565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612a4560008383612621565b5050565b828054612a5590613a7d565b90600052602060002090601f016020900481019282612a775760008555612abe565b82601f10612a9057805160ff1916838001178555612abe565b82800160010185558215612abe579182015b82811115612abd578251825591602001919060010190612aa2565b5b509050612acb9190612acf565b5090565b5b80821115612ae8576000816000905550600101612ad0565b5090565b6000612aff612afa846137b4565b61378f565b905082815260208101848484011115612b1b57612b1a613c4a565b5b612b26848285613a3b565b509392505050565b6000612b41612b3c846137e5565b61378f565b905082815260208101848484011115612b5d57612b5c613c4a565b5b612b68848285613a3b565b509392505050565b600081359050612b7f81614169565b92915050565b600081359050612b9481614180565b92915050565b600081359050612ba981614197565b92915050565b600081519050612bbe81614197565b92915050565b600082601f830112612bd957612bd8613c45565b5b8135612be9848260208601612aec565b91505092915050565b600082601f830112612c0757612c06613c45565b5b8135612c17848260208601612b2e565b91505092915050565b600081359050612c2f816141ae565b92915050565b600060208284031215612c4b57612c4a613c54565b5b6000612c5984828501612b70565b91505092915050565b60008060408385031215612c7957612c78613c54565b5b6000612c8785828601612b70565b9250506020612c9885828601612b70565b9150509250929050565b600080600060608486031215612cbb57612cba613c54565b5b6000612cc986828701612b70565b9350506020612cda86828701612b70565b9250506040612ceb86828701612c20565b9150509250925092565b60008060008060808587031215612d0f57612d0e613c54565b5b6000612d1d87828801612b70565b9450506020612d2e87828801612b70565b9350506040612d3f87828801612c20565b925050606085013567ffffffffffffffff811115612d6057612d5f613c4f565b5b612d6c87828801612bc4565b91505092959194509250565b60008060408385031215612d8f57612d8e613c54565b5b6000612d9d85828601612b70565b9250506020612dae85828601612b85565b9150509250929050565b60008060408385031215612dcf57612dce613c54565b5b6000612ddd85828601612b70565b9250506020612dee85828601612c20565b9150509250929050565b600060208284031215612e0e57612e0d613c54565b5b6000612e1c84828501612b85565b91505092915050565b600060208284031215612e3b57612e3a613c54565b5b6000612e4984828501612b9a565b91505092915050565b600060208284031215612e6857612e67613c54565b5b6000612e7684828501612baf565b91505092915050565b600060208284031215612e9557612e94613c54565b5b600082013567ffffffffffffffff811115612eb357612eb2613c4f565b5b612ebf84828501612bf2565b91505092915050565b600060208284031215612ede57612edd613c54565b5b6000612eec84828501612c20565b91505092915050565b60008060408385031215612f0c57612f0b613c54565b5b6000612f1a85828601612c20565b9250506020612f2b85828601612b70565b9150509250929050565b6000612f4183836133ca565b60208301905092915050565b612f56816139c7565b82525050565b6000612f678261383b565b612f718185613869565b9350612f7c83613816565b8060005b83811015612fad578151612f948882612f35565b9750612f9f8361385c565b925050600181019050612f80565b5085935050505092915050565b612fc3816139d9565b82525050565b6000612fd482613846565b612fde818561387a565b9350612fee818560208601613a4a565b612ff781613c59565b840191505092915050565b600061300d82613851565b6130178185613896565b9350613027818560208601613a4a565b61303081613c59565b840191505092915050565b600061304682613851565b61305081856138a7565b9350613060818560208601613a4a565b80840191505092915050565b6000815461307981613a7d565b61308381866138a7565b9450600182166000811461309e57600181146130af576130e2565b60ff198316865281860193506130e2565b6130b885613826565b60005b838110156130da578154818901526001820191506020810190506130bb565b838801955050505b50505092915050565b60006130f8603283613896565b915061310382613c6a565b604082019050919050565b600061311b602683613896565b915061312682613cb9565b604082019050919050565b600061313e602583613896565b915061314982613d08565b604082019050919050565b6000613161601c83613896565b915061316c82613d57565b602082019050919050565b6000613184601483613896565b915061318f82613d80565b602082019050919050565b60006131a7602483613896565b91506131b282613da9565b604082019050919050565b60006131ca601983613896565b91506131d582613df8565b602082019050919050565b60006131ed602c83613896565b91506131f882613e21565b604082019050919050565b6000613210603883613896565b915061321b82613e70565b604082019050919050565b6000613233602a83613896565b915061323e82613ebf565b604082019050919050565b6000613256602983613896565b915061326182613f0e565b604082019050919050565b6000613279602083613896565b915061328482613f5d565b602082019050919050565b600061329c602c83613896565b91506132a782613f86565b604082019050919050565b60006132bf602083613896565b91506132ca82613fd5565b602082019050919050565b60006132e2601783613896565b91506132ed82613ffe565b602082019050919050565b6000613305602f83613896565b915061331082614027565b604082019050919050565b6000613328602183613896565b915061333382614076565b604082019050919050565b600061334b60008361388b565b9150613356826140c5565b600082019050919050565b600061336e601483613896565b9150613379826140c8565b602082019050919050565b6000613391603183613896565b915061339c826140f1565b604082019050919050565b60006133b4601383613896565b91506133bf82614140565b602082019050919050565b6133d381613a31565b82525050565b6133e281613a31565b82525050565b60006133f4828661303b565b9150613400828561303b565b915061340c828461306c565b9150819050949350505050565b60006134248261333e565b9150819050919050565b60006020820190506134436000830184612f4d565b92915050565b600060808201905061345e6000830187612f4d565b61346b6020830186612f4d565b61347860408301856133d9565b818103606083015261348a8184612fc9565b905095945050505050565b600060208201905081810360008301526134af8184612f5c565b905092915050565b60006020820190506134cc6000830184612fba565b92915050565b600060208201905081810360008301526134ec8184613002565b905092915050565b6000602082019050818103600083015261350d816130eb565b9050919050565b6000602082019050818103600083015261352d8161310e565b9050919050565b6000602082019050818103600083015261354d81613131565b9050919050565b6000602082019050818103600083015261356d81613154565b9050919050565b6000602082019050818103600083015261358d81613177565b9050919050565b600060208201905081810360008301526135ad8161319a565b9050919050565b600060208201905081810360008301526135cd816131bd565b9050919050565b600060208201905081810360008301526135ed816131e0565b9050919050565b6000602082019050818103600083015261360d81613203565b9050919050565b6000602082019050818103600083015261362d81613226565b9050919050565b6000602082019050818103600083015261364d81613249565b9050919050565b6000602082019050818103600083015261366d8161326c565b9050919050565b6000602082019050818103600083015261368d8161328f565b9050919050565b600060208201905081810360008301526136ad816132b2565b9050919050565b600060208201905081810360008301526136cd816132d5565b9050919050565b600060208201905081810360008301526136ed816132f8565b9050919050565b6000602082019050818103600083015261370d8161331b565b9050919050565b6000602082019050818103600083015261372d81613361565b9050919050565b6000602082019050818103600083015261374d81613384565b9050919050565b6000602082019050818103600083015261376d816133a7565b9050919050565b600060208201905061378960008301846133d9565b92915050565b60006137996137aa565b90506137a58282613aaf565b919050565b6000604051905090565b600067ffffffffffffffff8211156137cf576137ce613c16565b5b6137d882613c59565b9050602081019050919050565b600067ffffffffffffffff821115613800576137ff613c16565b5b61380982613c59565b9050602081019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b60006138bd82613a31565b91506138c883613a31565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156138fd576138fc613b5a565b5b828201905092915050565b600061391382613a31565b915061391e83613a31565b92508261392e5761392d613b89565b5b828204905092915050565b600061394482613a31565b915061394f83613a31565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561398857613987613b5a565b5b828202905092915050565b600061399e82613a31565b91506139a983613a31565b9250828210156139bc576139bb613b5a565b5b828203905092915050565b60006139d282613a11565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015613a68578082015181840152602081019050613a4d565b83811115613a77576000848401525b50505050565b60006002820490506001821680613a9557607f821691505b60208210811415613aa957613aa8613bb8565b5b50919050565b613ab882613c59565b810181811067ffffffffffffffff82111715613ad757613ad6613c16565b5b80604052505050565b6000613aeb82613a31565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613b1e57613b1d613b5a565b5b600182019050919050565b6000613b3482613a31565b9150613b3f83613a31565b925082613b4f57613b4e613b89565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f496e76616c6964206d696e7420616d6f756e7421000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f54686520636f6e74726163742069732070617573656421000000000000000000600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b50565b7f4d617820737570706c7920657863656564656421000000000000000000000000600082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f496e73756666696369656e742066756e64732100000000000000000000000000600082015250565b614172816139c7565b811461417d57600080fd5b50565b614189816139d9565b811461419457600080fd5b50565b6141a0816139e5565b81146141ab57600080fd5b50565b6141b781613a31565b81146141c257600080fd5b5056fea2646970667358221220153589f44864d051b8fe80a8e1de49e9cec4d31289f0b0bdf3740a318d004ecb64736f6c63430008070033

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.