ETH Price: $2,463.18 (+4.15%)

Token

ConvictedSquirrels (CS)
 

Overview

Max Total Supply

0 CS

Holders

337

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
oysti.savedsouls.eth
Balance
2 CS
0x8EcdFC58423E37E0E32518589F2205B89EE9D950
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:
SquirrelToken

Compiler Version
v0.8.0+commit.c7dfd78e

Optimization Enabled:
No with 200 runs

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

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

contract SquirrelToken is ERC721, Ownable {

    using Strings for uint;
    using Address for address;
    using Address for address payable;
    using Counters for Counters.Counter;

    string internal constant HIDDEN_META_PATH = "https://static.convictedsquirrels.com/meta/live/ph";

    Counters.Counter private _tokenIds;
    mapping(address => bool) private _presaleEligible;
    mapping(address => uint) private _mintings;
    bool private _publicSaleStarted = false;
    bool private _imagesRevealed = false;
    string private _metaPath;

    uint internal _mintingFee = 4e16; //0,04ETH
    uint internal _maxNumberPerTx = 10;
    uint internal _totalMintLimitPerAddress = 20;
    uint internal _totalTokenCount;

    event EthersWithdrawn(address indexed operator, address indexed to, uint amount);
    
    constructor(uint count) ERC721("ConvictedSquirrels", "CS") {
        _totalTokenCount = count;
    }

    function totalTokenCount() public view returns(uint) {
       return _totalTokenCount;
    }

    function totalMintLimitPerAddress() public view returns(uint) {
       return _totalMintLimitPerAddress;
    }

    function setTotalMintLimitPerAddress(uint newValue) external onlyOwner {
       _totalMintLimitPerAddress = newValue;
    }

    function mintedBy(address addr) public view returns(uint) {
        return _mintings[addr];
    }

    function mintingFee() public view returns(uint) {
       return _mintingFee;
    }
    
    function setMintingFee(uint newValue) external onlyOwner {
       _mintingFee = newValue;
    }

    function maxNumberPerTx() public view returns(uint) {
       return _maxNumberPerTx;
    }

    function setMaxNumberPerTx(uint newValue) external onlyOwner {
       _maxNumberPerTx = newValue;
    }

    function publicSaleStarted() external view returns(bool) {
       return _publicSaleStarted;
    }

    function togglePublicSaleStarted() external onlyOwner {
       _publicSaleStarted = true;
    }

    function revealImages(string memory metaPath) external onlyOwner {
        require(bytes(metaPath).length > 12, "SquirrelToken: suspicious path value");
       _imagesRevealed = true;
       _metaPath = metaPath;
    }

    function addToPresale(address[] calldata addresses) external onlyOwner {
        for (uint i = 0; i < addresses.length; i++) {
            require(addresses[i] != address(0) && !addresses[i].isContract(), "SquirrelToken: wrong address");
            _presaleEligible[addresses[i]] = true;
        }
    }

    function checkPresaleEligibility(address addr) external view returns (bool) {
        return _presaleEligible[addr];
    }

    function tokenURI(uint tokenId) public view virtual override returns (string memory) {
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");
        string memory imgPath = _imagesRevealed ? _metaPath : HIDDEN_META_PATH;
        return string(abi.encodePacked(imgPath, tokenId.toString(), ".json"));
    }

    function mintGift(address to, uint number) external onlyOwner {
        require(to != address(0) && !to.isContract(), "SquirrelToken: wrong address");
        require((_tokenIds.current() + number) <= totalTokenCount(), "SquirrelToken: the limit of 10000 tokens is going to be exceeded");
        require(number <= maxNumberPerTx(), "SquirrelToken: the given number exceeds the allowed max per transaction");
        
        for (uint i = 0; i < number; i++) {
            _tokenIds.increment();
            uint newTokenId = _tokenIds.current();
            _mint(to, newTokenId);
        }
    }

    function mint(address to, uint number) external payable {
        require(to != address(0) && !to.isContract(), "SquirrelToken: wrong address");
        require((_tokenIds.current() + number) <= totalTokenCount(), "SquirrelToken: the limit of 10000 tokens is going to be exceeded");
        require(number <= maxNumberPerTx(), "SquirrelToken: the given number exceeds the allowed max per transaction");
        require((mintedBy(_msgSender()) + number) <= totalMintLimitPerAddress(), "SquirrelToken: the limit of minting per address is going to be exceeded");
        require(msg.value >= number * mintingFee(), "SquirrelToken: incorrect amount sent to the contract");

        if (!_publicSaleStarted && !_presaleEligible[_msgSender()]) {
            revert("SquirrelToken: a public sale is not started");
        }
        
        for (uint i = 0; i < number; i++) {
            _tokenIds.increment();
            uint newTokenId = _tokenIds.current();
            _mint(to, newTokenId);
        }

        _mintings[_msgSender()] += number;
    }

    function withdrawEthers(uint amount, address payable to) public virtual onlyOwner {
        to.sendValue(amount);
        emit EthersWithdrawn(_msgSender(), to, amount);
    }
}

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

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        require(operator != _msgSender(), "ERC721: approve to caller");

        _operatorApprovals[_msgSender()][operator] = approved;
        emit ApprovalForAll(_msgSender(), operator, approved);
    }

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId) internal virtual {
        address owner = ERC721.ownerOf(tokenId);

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

        // Clear approvals
        _approve(address(0), tokenId);

        _balances[owner] -= 1;
        delete _owners[tokenId];

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

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *  As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * Emits a {Transfer} event.
     */
    function _transfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {
        require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own");
        require(to != address(0), "ERC721: transfer to the zero address");

        _beforeTokenTransfer(from, to, tokenId);

        // Clear approvals from the previous owner
        _approve(address(0), tokenId);

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

        emit Transfer(from, to, tokenId);
    }

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

pragma solidity ^0.8.0;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"uint256","name":"count","type":"uint256"}],"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":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"EthersWithdrawn","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":"addresses","type":"address[]"}],"name":"addToPresale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"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":[{"internalType":"address","name":"addr","type":"address"}],"name":"checkPresaleEligibility","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"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":"maxNumberPerTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"number","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"number","type":"uint256"}],"name":"mintGift","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"mintedBy","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintingFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSaleStarted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"metaPath","type":"string"}],"name":"revealImages","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newValue","type":"uint256"}],"name":"setMaxNumberPerTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newValue","type":"uint256"}],"name":"setMintingFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newValue","type":"uint256"}],"name":"setTotalMintLimitPerAddress","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":[],"name":"togglePublicSaleStarted","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalMintLimitPerAddress","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalTokenCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address payable","name":"to","type":"address"}],"name":"withdrawEthers","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526000600a60006101000a81548160ff0219169083151502179055506000600a60016101000a81548160ff021916908315150217905550668e1bc9bf040000600c55600a600d556014600e553480156200005c57600080fd5b5060405162004804380380620048048339818101604052810190620000829190620002e5565b6040518060400160405280601281526020017f436f6e766963746564537175697272656c7300000000000000000000000000008152506040518060400160405280600281526020017f43530000000000000000000000000000000000000000000000000000000000008152508160009080519060200190620001069291906200021e565b5080600190805190602001906200011f9291906200021e565b50505062000142620001366200015060201b60201c565b6200015860201b60201c565b80600f81905550506200039a565b600033905090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200022c906200031b565b90600052602060002090601f0160209004810192826200025057600085556200029c565b82601f106200026b57805160ff19168380011785556200029c565b828001600101855582156200029c579182015b828111156200029b5782518255916020019190600101906200027e565b5b509050620002ab9190620002af565b5090565b5b80821115620002ca576000816000905550600101620002b0565b5090565b600081519050620002df8162000380565b92915050565b600060208284031215620002f857600080fd5b60006200030884828501620002ce565b91505092915050565b6000819050919050565b600060028204905060018216806200033457607f821691505b602082108114156200034b576200034a62000351565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6200038b8162000311565b81146200039757600080fd5b50565b61445a80620003aa6000396000f3fe6080604052600436106101e35760003560e01c8063764912ef11610102578063af539edb11610095578063ca8b2c1c11610064578063ca8b2c1c146106cd578063d8fd2288146106f6578063e985e9c514610721578063f2fde38b1461075e576101e3565b8063af539edb14610613578063b88d4fde1461063c578063c87b56dd14610665578063c98eecf1146106a2576101e3565b8063a22cb465116100d1578063a22cb46514610559578063a2e9147714610582578063a425e257146105ad578063aef6ee1f146105ea576101e3565b8063764912ef146104af57806376855e97146104da5780638da5cb5b1461050357806395d89b411461052e576101e3565b80633cef28d21161017a5780635a64ad95116101495780635a64ad95146103f35780636352211e1461041e57806370a082311461045b578063715018a614610498576101e3565b80633cef28d21461034857806340c10f191461038557806342842e0e146103a1578063489a0fdc146103ca576101e3565b8063238a4709116101b6578063238a4709146102b657806323b872dd146102df5780632a6e5e11146103085780632f81457514610331576101e3565b806301ffc9a7146101e857806306fdde0314610225578063081812fc14610250578063095ea7b31461028d575b600080fd5b3480156101f457600080fd5b5061020f600480360381019061020a9190612fa7565b610787565b60405161021c9190613bd2565b60405180910390f35b34801561023157600080fd5b5061023a610869565b6040516102479190613bed565b60405180910390f35b34801561025c57600080fd5b506102776004803603810190610272919061303a565b6108fb565b6040516102849190613b6b565b60405180910390f35b34801561029957600080fd5b506102b460048036038101906102af9190612f26565b610980565b005b3480156102c257600080fd5b506102dd60048036038101906102d8919061303a565b610a98565b005b3480156102eb57600080fd5b5061030660048036038101906103019190612e20565b610b1e565b005b34801561031457600080fd5b5061032f600480360381019061032a9190613063565b610b7e565b005b34801561033d57600080fd5b50610346610c93565b005b34801561035457600080fd5b5061036f600480360381019061036a9190612dbb565b610d2c565b60405161037c9190613f2f565b60405180910390f35b61039f600480360381019061039a9190612f26565b610d75565b005b3480156103ad57600080fd5b506103c860048036038101906103c39190612e20565b6110bf565b005b3480156103d657600080fd5b506103f160048036038101906103ec9190612f26565b6110df565b005b3480156103ff57600080fd5b506104086112e1565b6040516104159190613f2f565b60405180910390f35b34801561042a57600080fd5b506104456004803603810190610440919061303a565b6112eb565b6040516104529190613b6b565b60405180910390f35b34801561046757600080fd5b50610482600480360381019061047d9190612dbb565b61139d565b60405161048f9190613f2f565b60405180910390f35b3480156104a457600080fd5b506104ad611455565b005b3480156104bb57600080fd5b506104c46114dd565b6040516104d19190613f2f565b60405180910390f35b3480156104e657600080fd5b5061050160048036038101906104fc919061303a565b6114e7565b005b34801561050f57600080fd5b5061051861156d565b6040516105259190613b6b565b60405180910390f35b34801561053a57600080fd5b50610543611597565b6040516105509190613bed565b60405180910390f35b34801561056557600080fd5b50610580600480360381019061057b9190612eea565b611629565b005b34801561058e57600080fd5b506105976117aa565b6040516105a49190613bd2565b60405180910390f35b3480156105b957600080fd5b506105d460048036038101906105cf9190612dbb565b6117c1565b6040516105e19190613bd2565b60405180910390f35b3480156105f657600080fd5b50610611600480360381019061060c9190612f62565b611817565b005b34801561061f57600080fd5b5061063a6004803603810190610635919061303a565b611a90565b005b34801561064857600080fd5b50610663600480360381019061065e9190612e6f565b611b16565b005b34801561067157600080fd5b5061068c6004803603810190610687919061303a565b611b78565b6040516106999190613bed565b60405180910390f35b3480156106ae57600080fd5b506106b7611cb6565b6040516106c49190613f2f565b60405180910390f35b3480156106d957600080fd5b506106f460048036038101906106ef9190612ff9565b611cc0565b005b34801561070257600080fd5b5061070b611db5565b6040516107189190613f2f565b60405180910390f35b34801561072d57600080fd5b5061074860048036038101906107439190612de4565b611dbf565b6040516107559190613bd2565b60405180910390f35b34801561076a57600080fd5b5061078560048036038101906107809190612dbb565b611e53565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061085257507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610862575061086182611f4b565b5b9050919050565b60606000805461087890614206565b80601f01602080910402602001604051908101604052809291908181526020018280546108a490614206565b80156108f15780601f106108c6576101008083540402835291602001916108f1565b820191906000526020600020905b8154815290600101906020018083116108d457829003601f168201915b5050505050905090565b600061090682611fb5565b610945576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161093c90613e0f565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061098b826112eb565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156109fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109f390613e8f565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610a1b612021565b73ffffffffffffffffffffffffffffffffffffffff161480610a4a5750610a4981610a44612021565b611dbf565b5b610a89576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a8090613d6f565b60405180910390fd5b610a938383612029565b505050565b610aa0612021565b73ffffffffffffffffffffffffffffffffffffffff16610abe61156d565b73ffffffffffffffffffffffffffffffffffffffff1614610b14576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b0b90613e2f565b60405180910390fd5b80600c8190555050565b610b2f610b29612021565b826120e2565b610b6e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b6590613eaf565b60405180910390fd5b610b798383836121c0565b505050565b610b86612021565b73ffffffffffffffffffffffffffffffffffffffff16610ba461156d565b73ffffffffffffffffffffffffffffffffffffffff1614610bfa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bf190613e2f565b60405180910390fd5b610c23828273ffffffffffffffffffffffffffffffffffffffff1661241c90919063ffffffff16565b8073ffffffffffffffffffffffffffffffffffffffff16610c42612021565b73ffffffffffffffffffffffffffffffffffffffff167f372bb9ce23c45af0229f3ad425305ebadfb790c0b0453fa3077a02d7d8c987bb84604051610c879190613f2f565b60405180910390a35050565b610c9b612021565b73ffffffffffffffffffffffffffffffffffffffff16610cb961156d565b73ffffffffffffffffffffffffffffffffffffffff1614610d0f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d0690613e2f565b60405180910390fd5b6001600a60006101000a81548160ff021916908315150217905550565b6000600960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614158015610dce5750610dcc8273ffffffffffffffffffffffffffffffffffffffff16612510565b155b610e0d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e0490613ecf565b60405180910390fd5b610e156114dd565b81610e206007612523565b610e2a9190614029565b1115610e6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e6290613eef565b60405180910390fd5b610e73611db5565b811115610eb5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eac90613d8f565b60405180910390fd5b610ebd611cb6565b81610ece610ec9612021565b610d2c565b610ed89190614029565b1115610f19576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f1090613f0f565b60405180910390fd5b610f216112e1565b81610f2c91906140b0565b341015610f6e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f6590613caf565b60405180910390fd5b600a60009054906101000a900460ff16158015610fdc575060086000610f92612021565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b1561101c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161101390613cef565b60405180910390fd5b60005b8181101561105d576110316007612531565b600061103d6007612523565b90506110498482612547565b50808061105590614238565b91505061101f565b50806009600061106b612021565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546110b49190614029565b925050819055505050565b6110da83838360405180602001604052806000815250611b16565b505050565b6110e7612021565b73ffffffffffffffffffffffffffffffffffffffff1661110561156d565b73ffffffffffffffffffffffffffffffffffffffff161461115b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161115290613e2f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141580156111b457506111b28273ffffffffffffffffffffffffffffffffffffffff16612510565b155b6111f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111ea90613ecf565b60405180910390fd5b6111fb6114dd565b816112066007612523565b6112109190614029565b1115611251576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161124890613eef565b60405180910390fd5b611259611db5565b81111561129b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161129290613d8f565b60405180910390fd5b60005b818110156112dc576112b06007612531565b60006112bc6007612523565b90506112c88482612547565b5080806112d490614238565b91505061129e565b505050565b6000600c54905090565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611394576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161138b90613dcf565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561140e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161140590613daf565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61145d612021565b73ffffffffffffffffffffffffffffffffffffffff1661147b61156d565b73ffffffffffffffffffffffffffffffffffffffff16146114d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114c890613e2f565b60405180910390fd5b6114db6000612715565b565b6000600f54905090565b6114ef612021565b73ffffffffffffffffffffffffffffffffffffffff1661150d61156d565b73ffffffffffffffffffffffffffffffffffffffff1614611563576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161155a90613e2f565b60405180910390fd5b80600d8190555050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600180546115a690614206565b80601f01602080910402602001604051908101604052809291908181526020018280546115d290614206565b801561161f5780601f106115f45761010080835404028352916020019161161f565b820191906000526020600020905b81548152906001019060200180831161160257829003601f168201915b5050505050905090565b611631612021565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561169f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161169690613c8f565b60405180910390fd5b80600560006116ac612021565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611759612021565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161179e9190613bd2565b60405180910390a35050565b6000600a60009054906101000a900460ff16905090565b6000600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b61181f612021565b73ffffffffffffffffffffffffffffffffffffffff1661183d61156d565b73ffffffffffffffffffffffffffffffffffffffff1614611893576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161188a90613e2f565b60405180910390fd5b60005b82829050811015611a8b57600073ffffffffffffffffffffffffffffffffffffffff168383838181106118f2577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020160208101906119079190612dbb565b73ffffffffffffffffffffffffffffffffffffffff16141580156119945750611992838383818110611962577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020160208101906119779190612dbb565b73ffffffffffffffffffffffffffffffffffffffff16612510565b155b6119d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119ca90613ecf565b60405180910390fd5b600160086000858585818110611a12577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002016020810190611a279190612dbb565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508080611a8390614238565b915050611896565b505050565b611a98612021565b73ffffffffffffffffffffffffffffffffffffffff16611ab661156d565b73ffffffffffffffffffffffffffffffffffffffff1614611b0c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b0390613e2f565b60405180910390fd5b80600e8190555050565b611b27611b21612021565b836120e2565b611b66576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b5d90613eaf565b60405180910390fd5b611b72848484846127db565b50505050565b6060611b8382611fb5565b611bc2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bb990613e6f565b60405180910390fd5b6000600a60019054906101000a900460ff16611bf6576040518060600160405280603281526020016143f360329139611c82565b600b8054611c0390614206565b80601f0160208091040260200160405190810160405280929190818152602001828054611c2f90614206565b8015611c7c5780601f10611c5157610100808354040283529160200191611c7c565b820191906000526020600020905b815481529060010190602001808311611c5f57829003601f168201915b50505050505b905080611c8e84612837565b604051602001611c9f929190613b27565b604051602081830303815290604052915050919050565b6000600e54905090565b611cc8612021565b73ffffffffffffffffffffffffffffffffffffffff16611ce661156d565b73ffffffffffffffffffffffffffffffffffffffff1614611d3c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d3390613e2f565b60405180910390fd5b600c815111611d80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d7790613d0f565b60405180910390fd5b6001600a60016101000a81548160ff02191690831515021790555080600b9080519060200190611db1929190612b80565b5050565b6000600d54905090565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611e5b612021565b73ffffffffffffffffffffffffffffffffffffffff16611e7961156d565b73ffffffffffffffffffffffffffffffffffffffff1614611ecf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ec690613e2f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611f3f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f3690613c2f565b60405180910390fd5b611f4881612715565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661209c836112eb565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006120ed82611fb5565b61212c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161212390613d4f565b60405180910390fd5b6000612137836112eb565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806121a657508373ffffffffffffffffffffffffffffffffffffffff1661218e846108fb565b73ffffffffffffffffffffffffffffffffffffffff16145b806121b757506121b68185611dbf565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166121e0826112eb565b73ffffffffffffffffffffffffffffffffffffffff1614612236576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161222d90613e4f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156122a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161229d90613c6f565b60405180910390fd5b6122b18383836129e4565b6122bc600082612029565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461230c919061410a565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546123639190614029565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b8047101561245f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161245690613d2f565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff168260405161248590613b56565b60006040518083038185875af1925050503d80600081146124c2576040519150601f19603f3d011682016040523d82523d6000602084013e6124c7565b606091505b505090508061250b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161250290613ccf565b60405180910390fd5b505050565b600080823b905060008111915050919050565b600081600001549050919050565b6001816000016000828254019250508190555050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156125b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125ae90613def565b60405180910390fd5b6125c081611fb5565b15612600576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125f790613c4f565b60405180910390fd5b61260c600083836129e4565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461265c9190614029565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6127e68484846121c0565b6127f2848484846129e9565b612831576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161282890613c0f565b60405180910390fd5b50505050565b6060600082141561287f576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506129df565b600082905060005b600082146128b157808061289a90614238565b915050600a826128aa919061407f565b9150612887565b60008167ffffffffffffffff8111156128f3577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156129255781602001600182028036833780820191505090505b5090505b600085146129d85760018261293e919061410a565b9150600a8561294d9190614281565b60306129599190614029565b60f81b818381518110612995577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856129d1919061407f565b9450612929565b8093505050505b919050565b505050565b6000612a0a8473ffffffffffffffffffffffffffffffffffffffff16612510565b15612b73578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612a33612021565b8786866040518563ffffffff1660e01b8152600401612a559493929190613b86565b602060405180830381600087803b158015612a6f57600080fd5b505af1925050508015612aa057506040513d601f19601f82011682018060405250810190612a9d9190612fd0565b60015b612b23573d8060008114612ad0576040519150601f19603f3d011682016040523d82523d6000602084013e612ad5565b606091505b50600081511415612b1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b1290613c0f565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612b78565b600190505b949350505050565b828054612b8c90614206565b90600052602060002090601f016020900481019282612bae5760008555612bf5565b82601f10612bc757805160ff1916838001178555612bf5565b82800160010185558215612bf5579182015b82811115612bf4578251825591602001919060010190612bd9565b5b509050612c029190612c06565b5090565b5b80821115612c1f576000816000905550600101612c07565b5090565b6000612c36612c3184613f7b565b613f4a565b905082815260208101848484011115612c4e57600080fd5b612c598482856141c4565b509392505050565b6000612c74612c6f84613fab565b613f4a565b905082815260208101848484011115612c8c57600080fd5b612c978482856141c4565b509392505050565b600081359050612cae8161437f565b92915050565b600081359050612cc381614396565b92915050565b60008083601f840112612cdb57600080fd5b8235905067ffffffffffffffff811115612cf457600080fd5b602083019150836020820283011115612d0c57600080fd5b9250929050565b600081359050612d22816143ad565b92915050565b600081359050612d37816143c4565b92915050565b600081519050612d4c816143c4565b92915050565b600082601f830112612d6357600080fd5b8135612d73848260208601612c23565b91505092915050565b600082601f830112612d8d57600080fd5b8135612d9d848260208601612c61565b91505092915050565b600081359050612db5816143db565b92915050565b600060208284031215612dcd57600080fd5b6000612ddb84828501612c9f565b91505092915050565b60008060408385031215612df757600080fd5b6000612e0585828601612c9f565b9250506020612e1685828601612c9f565b9150509250929050565b600080600060608486031215612e3557600080fd5b6000612e4386828701612c9f565b9350506020612e5486828701612c9f565b9250506040612e6586828701612da6565b9150509250925092565b60008060008060808587031215612e8557600080fd5b6000612e9387828801612c9f565b9450506020612ea487828801612c9f565b9350506040612eb587828801612da6565b925050606085013567ffffffffffffffff811115612ed257600080fd5b612ede87828801612d52565b91505092959194509250565b60008060408385031215612efd57600080fd5b6000612f0b85828601612c9f565b9250506020612f1c85828601612d13565b9150509250929050565b60008060408385031215612f3957600080fd5b6000612f4785828601612c9f565b9250506020612f5885828601612da6565b9150509250929050565b60008060208385031215612f7557600080fd5b600083013567ffffffffffffffff811115612f8f57600080fd5b612f9b85828601612cc9565b92509250509250929050565b600060208284031215612fb957600080fd5b6000612fc784828501612d28565b91505092915050565b600060208284031215612fe257600080fd5b6000612ff084828501612d3d565b91505092915050565b60006020828403121561300b57600080fd5b600082013567ffffffffffffffff81111561302557600080fd5b61303184828501612d7c565b91505092915050565b60006020828403121561304c57600080fd5b600061305a84828501612da6565b91505092915050565b6000806040838503121561307657600080fd5b600061308485828601612da6565b925050602061309585828601612cb4565b9150509250929050565b6130a88161413e565b82525050565b6130b781614162565b82525050565b60006130c882613fdb565b6130d28185613ff1565b93506130e28185602086016141d3565b6130eb8161436e565b840191505092915050565b600061310182613fe6565b61310b818561400d565b935061311b8185602086016141d3565b6131248161436e565b840191505092915050565b600061313a82613fe6565b613144818561401e565b93506131548185602086016141d3565b80840191505092915050565b600061316d60328361400d565b91507f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008301527f63656976657220696d706c656d656e74657200000000000000000000000000006020830152604082019050919050565b60006131d360268361400d565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613239601c8361400d565b91507f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006000830152602082019050919050565b600061327960248361400d565b91507f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006132df60198361400d565b91507f4552433732313a20617070726f766520746f2063616c6c6572000000000000006000830152602082019050919050565b600061331f60348361400d565b91507f537175697272656c546f6b656e3a20696e636f727265637420616d6f756e742060008301527f73656e7420746f2074686520636f6e74726163740000000000000000000000006020830152604082019050919050565b6000613385603a8361400d565b91507f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008301527f6563697069656e74206d617920686176652072657665727465640000000000006020830152604082019050919050565b60006133eb602b8361400d565b91507f537175697272656c546f6b656e3a2061207075626c69632073616c652069732060008301527f6e6f7420737461727465640000000000000000000000000000000000000000006020830152604082019050919050565b600061345160248361400d565b91507f537175697272656c546f6b656e3a20737573706963696f75732070617468207660008301527f616c7565000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006134b7601d8361400d565b91507f416464726573733a20696e73756666696369656e742062616c616e63650000006000830152602082019050919050565b60006134f7602c8361400d565b91507f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b600061355d60388361400d565b91507f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008301527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006020830152604082019050919050565b60006135c360478361400d565b91507f537175697272656c546f6b656e3a2074686520676976656e206e756d6265722060008301527f657863656564732074686520616c6c6f776564206d617820706572207472616e60208301527f73616374696f6e000000000000000000000000000000000000000000000000006040830152606082019050919050565b600061364f602a8361400d565b91507f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008301527f726f2061646472657373000000000000000000000000000000000000000000006020830152604082019050919050565b60006136b560298361400d565b91507f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008301527f656e7420746f6b656e00000000000000000000000000000000000000000000006020830152604082019050919050565b600061371b60208361400d565b91507f4552433732313a206d696e7420746f20746865207a65726f20616464726573736000830152602082019050919050565b600061375b602c8361400d565b91507f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b60006137c160058361401e565b91507f2e6a736f6e0000000000000000000000000000000000000000000000000000006000830152600582019050919050565b600061380160208361400d565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b600061384160298361400d565b91507f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008301527f73206e6f74206f776e00000000000000000000000000000000000000000000006020830152604082019050919050565b60006138a7602f8361400d565b91507f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008301527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006020830152604082019050919050565b600061390d60218361400d565b91507f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008301527f72000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613973600083614002565b9150600082019050919050565b600061398d60318361400d565b91507f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008301527f776e6572206e6f7220617070726f7665640000000000000000000000000000006020830152604082019050919050565b60006139f3601c8361400d565b91507f537175697272656c546f6b656e3a2077726f6e672061646472657373000000006000830152602082019050919050565b6000613a3360408361400d565b91507f537175697272656c546f6b656e3a20746865206c696d6974206f66203130303060008301527f3020746f6b656e7320697320676f696e6720746f2062652065786365656465646020830152604082019050919050565b6000613a9960478361400d565b91507f537175697272656c546f6b656e3a20746865206c696d6974206f66206d696e7460008301527f696e6720706572206164647265737320697320676f696e6720746f206265206560208301527f78636565646564000000000000000000000000000000000000000000000000006040830152606082019050919050565b613b21816141ba565b82525050565b6000613b33828561312f565b9150613b3f828461312f565b9150613b4a826137b4565b91508190509392505050565b6000613b6182613966565b9150819050919050565b6000602082019050613b80600083018461309f565b92915050565b6000608082019050613b9b600083018761309f565b613ba8602083018661309f565b613bb56040830185613b18565b8181036060830152613bc781846130bd565b905095945050505050565b6000602082019050613be760008301846130ae565b92915050565b60006020820190508181036000830152613c0781846130f6565b905092915050565b60006020820190508181036000830152613c2881613160565b9050919050565b60006020820190508181036000830152613c48816131c6565b9050919050565b60006020820190508181036000830152613c688161322c565b9050919050565b60006020820190508181036000830152613c888161326c565b9050919050565b60006020820190508181036000830152613ca8816132d2565b9050919050565b60006020820190508181036000830152613cc881613312565b9050919050565b60006020820190508181036000830152613ce881613378565b9050919050565b60006020820190508181036000830152613d08816133de565b9050919050565b60006020820190508181036000830152613d2881613444565b9050919050565b60006020820190508181036000830152613d48816134aa565b9050919050565b60006020820190508181036000830152613d68816134ea565b9050919050565b60006020820190508181036000830152613d8881613550565b9050919050565b60006020820190508181036000830152613da8816135b6565b9050919050565b60006020820190508181036000830152613dc881613642565b9050919050565b60006020820190508181036000830152613de8816136a8565b9050919050565b60006020820190508181036000830152613e088161370e565b9050919050565b60006020820190508181036000830152613e288161374e565b9050919050565b60006020820190508181036000830152613e48816137f4565b9050919050565b60006020820190508181036000830152613e6881613834565b9050919050565b60006020820190508181036000830152613e888161389a565b9050919050565b60006020820190508181036000830152613ea881613900565b9050919050565b60006020820190508181036000830152613ec881613980565b9050919050565b60006020820190508181036000830152613ee8816139e6565b9050919050565b60006020820190508181036000830152613f0881613a26565b9050919050565b60006020820190508181036000830152613f2881613a8c565b9050919050565b6000602082019050613f446000830184613b18565b92915050565b6000604051905081810181811067ffffffffffffffff82111715613f7157613f7061433f565b5b8060405250919050565b600067ffffffffffffffff821115613f9657613f9561433f565b5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff821115613fc657613fc561433f565b5b601f19601f8301169050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000614034826141ba565b915061403f836141ba565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614074576140736142b2565b5b828201905092915050565b600061408a826141ba565b9150614095836141ba565b9250826140a5576140a46142e1565b5b828204905092915050565b60006140bb826141ba565b91506140c6836141ba565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156140ff576140fe6142b2565b5b828202905092915050565b6000614115826141ba565b9150614120836141ba565b925082821015614133576141326142b2565b5b828203905092915050565b60006141498261419a565b9050919050565b600061415b8261419a565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156141f15780820151818401526020810190506141d6565b83811115614200576000848401525b50505050565b6000600282049050600182168061421e57607f821691505b6020821081141561423257614231614310565b5b50919050565b6000614243826141ba565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614276576142756142b2565b5b600182019050919050565b600061428c826141ba565b9150614297836141ba565b9250826142a7576142a66142e1565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b6143888161413e565b811461439357600080fd5b50565b61439f81614150565b81146143aa57600080fd5b50565b6143b681614162565b81146143c157600080fd5b50565b6143cd8161416e565b81146143d857600080fd5b50565b6143e4816141ba565b81146143ef57600080fd5b5056fe68747470733a2f2f7374617469632e636f6e766963746564737175697272656c732e636f6d2f6d6574612f6c6976652f7068a264697066735822122005c89761f4baea4b3c2782f21f00e27a92e7f30eb81e861a27cfbb89f2000d6964736f6c634300080000330000000000000000000000000000000000000000000000000000000000002710

Deployed Bytecode

0x6080604052600436106101e35760003560e01c8063764912ef11610102578063af539edb11610095578063ca8b2c1c11610064578063ca8b2c1c146106cd578063d8fd2288146106f6578063e985e9c514610721578063f2fde38b1461075e576101e3565b8063af539edb14610613578063b88d4fde1461063c578063c87b56dd14610665578063c98eecf1146106a2576101e3565b8063a22cb465116100d1578063a22cb46514610559578063a2e9147714610582578063a425e257146105ad578063aef6ee1f146105ea576101e3565b8063764912ef146104af57806376855e97146104da5780638da5cb5b1461050357806395d89b411461052e576101e3565b80633cef28d21161017a5780635a64ad95116101495780635a64ad95146103f35780636352211e1461041e57806370a082311461045b578063715018a614610498576101e3565b80633cef28d21461034857806340c10f191461038557806342842e0e146103a1578063489a0fdc146103ca576101e3565b8063238a4709116101b6578063238a4709146102b657806323b872dd146102df5780632a6e5e11146103085780632f81457514610331576101e3565b806301ffc9a7146101e857806306fdde0314610225578063081812fc14610250578063095ea7b31461028d575b600080fd5b3480156101f457600080fd5b5061020f600480360381019061020a9190612fa7565b610787565b60405161021c9190613bd2565b60405180910390f35b34801561023157600080fd5b5061023a610869565b6040516102479190613bed565b60405180910390f35b34801561025c57600080fd5b506102776004803603810190610272919061303a565b6108fb565b6040516102849190613b6b565b60405180910390f35b34801561029957600080fd5b506102b460048036038101906102af9190612f26565b610980565b005b3480156102c257600080fd5b506102dd60048036038101906102d8919061303a565b610a98565b005b3480156102eb57600080fd5b5061030660048036038101906103019190612e20565b610b1e565b005b34801561031457600080fd5b5061032f600480360381019061032a9190613063565b610b7e565b005b34801561033d57600080fd5b50610346610c93565b005b34801561035457600080fd5b5061036f600480360381019061036a9190612dbb565b610d2c565b60405161037c9190613f2f565b60405180910390f35b61039f600480360381019061039a9190612f26565b610d75565b005b3480156103ad57600080fd5b506103c860048036038101906103c39190612e20565b6110bf565b005b3480156103d657600080fd5b506103f160048036038101906103ec9190612f26565b6110df565b005b3480156103ff57600080fd5b506104086112e1565b6040516104159190613f2f565b60405180910390f35b34801561042a57600080fd5b506104456004803603810190610440919061303a565b6112eb565b6040516104529190613b6b565b60405180910390f35b34801561046757600080fd5b50610482600480360381019061047d9190612dbb565b61139d565b60405161048f9190613f2f565b60405180910390f35b3480156104a457600080fd5b506104ad611455565b005b3480156104bb57600080fd5b506104c46114dd565b6040516104d19190613f2f565b60405180910390f35b3480156104e657600080fd5b5061050160048036038101906104fc919061303a565b6114e7565b005b34801561050f57600080fd5b5061051861156d565b6040516105259190613b6b565b60405180910390f35b34801561053a57600080fd5b50610543611597565b6040516105509190613bed565b60405180910390f35b34801561056557600080fd5b50610580600480360381019061057b9190612eea565b611629565b005b34801561058e57600080fd5b506105976117aa565b6040516105a49190613bd2565b60405180910390f35b3480156105b957600080fd5b506105d460048036038101906105cf9190612dbb565b6117c1565b6040516105e19190613bd2565b60405180910390f35b3480156105f657600080fd5b50610611600480360381019061060c9190612f62565b611817565b005b34801561061f57600080fd5b5061063a6004803603810190610635919061303a565b611a90565b005b34801561064857600080fd5b50610663600480360381019061065e9190612e6f565b611b16565b005b34801561067157600080fd5b5061068c6004803603810190610687919061303a565b611b78565b6040516106999190613bed565b60405180910390f35b3480156106ae57600080fd5b506106b7611cb6565b6040516106c49190613f2f565b60405180910390f35b3480156106d957600080fd5b506106f460048036038101906106ef9190612ff9565b611cc0565b005b34801561070257600080fd5b5061070b611db5565b6040516107189190613f2f565b60405180910390f35b34801561072d57600080fd5b5061074860048036038101906107439190612de4565b611dbf565b6040516107559190613bd2565b60405180910390f35b34801561076a57600080fd5b5061078560048036038101906107809190612dbb565b611e53565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061085257507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610862575061086182611f4b565b5b9050919050565b60606000805461087890614206565b80601f01602080910402602001604051908101604052809291908181526020018280546108a490614206565b80156108f15780601f106108c6576101008083540402835291602001916108f1565b820191906000526020600020905b8154815290600101906020018083116108d457829003601f168201915b5050505050905090565b600061090682611fb5565b610945576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161093c90613e0f565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061098b826112eb565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156109fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109f390613e8f565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610a1b612021565b73ffffffffffffffffffffffffffffffffffffffff161480610a4a5750610a4981610a44612021565b611dbf565b5b610a89576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a8090613d6f565b60405180910390fd5b610a938383612029565b505050565b610aa0612021565b73ffffffffffffffffffffffffffffffffffffffff16610abe61156d565b73ffffffffffffffffffffffffffffffffffffffff1614610b14576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b0b90613e2f565b60405180910390fd5b80600c8190555050565b610b2f610b29612021565b826120e2565b610b6e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b6590613eaf565b60405180910390fd5b610b798383836121c0565b505050565b610b86612021565b73ffffffffffffffffffffffffffffffffffffffff16610ba461156d565b73ffffffffffffffffffffffffffffffffffffffff1614610bfa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bf190613e2f565b60405180910390fd5b610c23828273ffffffffffffffffffffffffffffffffffffffff1661241c90919063ffffffff16565b8073ffffffffffffffffffffffffffffffffffffffff16610c42612021565b73ffffffffffffffffffffffffffffffffffffffff167f372bb9ce23c45af0229f3ad425305ebadfb790c0b0453fa3077a02d7d8c987bb84604051610c879190613f2f565b60405180910390a35050565b610c9b612021565b73ffffffffffffffffffffffffffffffffffffffff16610cb961156d565b73ffffffffffffffffffffffffffffffffffffffff1614610d0f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d0690613e2f565b60405180910390fd5b6001600a60006101000a81548160ff021916908315150217905550565b6000600960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614158015610dce5750610dcc8273ffffffffffffffffffffffffffffffffffffffff16612510565b155b610e0d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e0490613ecf565b60405180910390fd5b610e156114dd565b81610e206007612523565b610e2a9190614029565b1115610e6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e6290613eef565b60405180910390fd5b610e73611db5565b811115610eb5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eac90613d8f565b60405180910390fd5b610ebd611cb6565b81610ece610ec9612021565b610d2c565b610ed89190614029565b1115610f19576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f1090613f0f565b60405180910390fd5b610f216112e1565b81610f2c91906140b0565b341015610f6e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f6590613caf565b60405180910390fd5b600a60009054906101000a900460ff16158015610fdc575060086000610f92612021565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b1561101c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161101390613cef565b60405180910390fd5b60005b8181101561105d576110316007612531565b600061103d6007612523565b90506110498482612547565b50808061105590614238565b91505061101f565b50806009600061106b612021565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546110b49190614029565b925050819055505050565b6110da83838360405180602001604052806000815250611b16565b505050565b6110e7612021565b73ffffffffffffffffffffffffffffffffffffffff1661110561156d565b73ffffffffffffffffffffffffffffffffffffffff161461115b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161115290613e2f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141580156111b457506111b28273ffffffffffffffffffffffffffffffffffffffff16612510565b155b6111f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111ea90613ecf565b60405180910390fd5b6111fb6114dd565b816112066007612523565b6112109190614029565b1115611251576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161124890613eef565b60405180910390fd5b611259611db5565b81111561129b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161129290613d8f565b60405180910390fd5b60005b818110156112dc576112b06007612531565b60006112bc6007612523565b90506112c88482612547565b5080806112d490614238565b91505061129e565b505050565b6000600c54905090565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611394576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161138b90613dcf565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561140e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161140590613daf565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61145d612021565b73ffffffffffffffffffffffffffffffffffffffff1661147b61156d565b73ffffffffffffffffffffffffffffffffffffffff16146114d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114c890613e2f565b60405180910390fd5b6114db6000612715565b565b6000600f54905090565b6114ef612021565b73ffffffffffffffffffffffffffffffffffffffff1661150d61156d565b73ffffffffffffffffffffffffffffffffffffffff1614611563576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161155a90613e2f565b60405180910390fd5b80600d8190555050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600180546115a690614206565b80601f01602080910402602001604051908101604052809291908181526020018280546115d290614206565b801561161f5780601f106115f45761010080835404028352916020019161161f565b820191906000526020600020905b81548152906001019060200180831161160257829003601f168201915b5050505050905090565b611631612021565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561169f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161169690613c8f565b60405180910390fd5b80600560006116ac612021565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611759612021565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161179e9190613bd2565b60405180910390a35050565b6000600a60009054906101000a900460ff16905090565b6000600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b61181f612021565b73ffffffffffffffffffffffffffffffffffffffff1661183d61156d565b73ffffffffffffffffffffffffffffffffffffffff1614611893576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161188a90613e2f565b60405180910390fd5b60005b82829050811015611a8b57600073ffffffffffffffffffffffffffffffffffffffff168383838181106118f2577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020160208101906119079190612dbb565b73ffffffffffffffffffffffffffffffffffffffff16141580156119945750611992838383818110611962577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020160208101906119779190612dbb565b73ffffffffffffffffffffffffffffffffffffffff16612510565b155b6119d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119ca90613ecf565b60405180910390fd5b600160086000858585818110611a12577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002016020810190611a279190612dbb565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508080611a8390614238565b915050611896565b505050565b611a98612021565b73ffffffffffffffffffffffffffffffffffffffff16611ab661156d565b73ffffffffffffffffffffffffffffffffffffffff1614611b0c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b0390613e2f565b60405180910390fd5b80600e8190555050565b611b27611b21612021565b836120e2565b611b66576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b5d90613eaf565b60405180910390fd5b611b72848484846127db565b50505050565b6060611b8382611fb5565b611bc2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bb990613e6f565b60405180910390fd5b6000600a60019054906101000a900460ff16611bf6576040518060600160405280603281526020016143f360329139611c82565b600b8054611c0390614206565b80601f0160208091040260200160405190810160405280929190818152602001828054611c2f90614206565b8015611c7c5780601f10611c5157610100808354040283529160200191611c7c565b820191906000526020600020905b815481529060010190602001808311611c5f57829003601f168201915b50505050505b905080611c8e84612837565b604051602001611c9f929190613b27565b604051602081830303815290604052915050919050565b6000600e54905090565b611cc8612021565b73ffffffffffffffffffffffffffffffffffffffff16611ce661156d565b73ffffffffffffffffffffffffffffffffffffffff1614611d3c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d3390613e2f565b60405180910390fd5b600c815111611d80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d7790613d0f565b60405180910390fd5b6001600a60016101000a81548160ff02191690831515021790555080600b9080519060200190611db1929190612b80565b5050565b6000600d54905090565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611e5b612021565b73ffffffffffffffffffffffffffffffffffffffff16611e7961156d565b73ffffffffffffffffffffffffffffffffffffffff1614611ecf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ec690613e2f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611f3f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f3690613c2f565b60405180910390fd5b611f4881612715565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661209c836112eb565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006120ed82611fb5565b61212c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161212390613d4f565b60405180910390fd5b6000612137836112eb565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806121a657508373ffffffffffffffffffffffffffffffffffffffff1661218e846108fb565b73ffffffffffffffffffffffffffffffffffffffff16145b806121b757506121b68185611dbf565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166121e0826112eb565b73ffffffffffffffffffffffffffffffffffffffff1614612236576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161222d90613e4f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156122a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161229d90613c6f565b60405180910390fd5b6122b18383836129e4565b6122bc600082612029565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461230c919061410a565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546123639190614029565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b8047101561245f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161245690613d2f565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff168260405161248590613b56565b60006040518083038185875af1925050503d80600081146124c2576040519150601f19603f3d011682016040523d82523d6000602084013e6124c7565b606091505b505090508061250b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161250290613ccf565b60405180910390fd5b505050565b600080823b905060008111915050919050565b600081600001549050919050565b6001816000016000828254019250508190555050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156125b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125ae90613def565b60405180910390fd5b6125c081611fb5565b15612600576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125f790613c4f565b60405180910390fd5b61260c600083836129e4565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461265c9190614029565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6127e68484846121c0565b6127f2848484846129e9565b612831576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161282890613c0f565b60405180910390fd5b50505050565b6060600082141561287f576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506129df565b600082905060005b600082146128b157808061289a90614238565b915050600a826128aa919061407f565b9150612887565b60008167ffffffffffffffff8111156128f3577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156129255781602001600182028036833780820191505090505b5090505b600085146129d85760018261293e919061410a565b9150600a8561294d9190614281565b60306129599190614029565b60f81b818381518110612995577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856129d1919061407f565b9450612929565b8093505050505b919050565b505050565b6000612a0a8473ffffffffffffffffffffffffffffffffffffffff16612510565b15612b73578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612a33612021565b8786866040518563ffffffff1660e01b8152600401612a559493929190613b86565b602060405180830381600087803b158015612a6f57600080fd5b505af1925050508015612aa057506040513d601f19601f82011682018060405250810190612a9d9190612fd0565b60015b612b23573d8060008114612ad0576040519150601f19603f3d011682016040523d82523d6000602084013e612ad5565b606091505b50600081511415612b1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b1290613c0f565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612b78565b600190505b949350505050565b828054612b8c90614206565b90600052602060002090601f016020900481019282612bae5760008555612bf5565b82601f10612bc757805160ff1916838001178555612bf5565b82800160010185558215612bf5579182015b82811115612bf4578251825591602001919060010190612bd9565b5b509050612c029190612c06565b5090565b5b80821115612c1f576000816000905550600101612c07565b5090565b6000612c36612c3184613f7b565b613f4a565b905082815260208101848484011115612c4e57600080fd5b612c598482856141c4565b509392505050565b6000612c74612c6f84613fab565b613f4a565b905082815260208101848484011115612c8c57600080fd5b612c978482856141c4565b509392505050565b600081359050612cae8161437f565b92915050565b600081359050612cc381614396565b92915050565b60008083601f840112612cdb57600080fd5b8235905067ffffffffffffffff811115612cf457600080fd5b602083019150836020820283011115612d0c57600080fd5b9250929050565b600081359050612d22816143ad565b92915050565b600081359050612d37816143c4565b92915050565b600081519050612d4c816143c4565b92915050565b600082601f830112612d6357600080fd5b8135612d73848260208601612c23565b91505092915050565b600082601f830112612d8d57600080fd5b8135612d9d848260208601612c61565b91505092915050565b600081359050612db5816143db565b92915050565b600060208284031215612dcd57600080fd5b6000612ddb84828501612c9f565b91505092915050565b60008060408385031215612df757600080fd5b6000612e0585828601612c9f565b9250506020612e1685828601612c9f565b9150509250929050565b600080600060608486031215612e3557600080fd5b6000612e4386828701612c9f565b9350506020612e5486828701612c9f565b9250506040612e6586828701612da6565b9150509250925092565b60008060008060808587031215612e8557600080fd5b6000612e9387828801612c9f565b9450506020612ea487828801612c9f565b9350506040612eb587828801612da6565b925050606085013567ffffffffffffffff811115612ed257600080fd5b612ede87828801612d52565b91505092959194509250565b60008060408385031215612efd57600080fd5b6000612f0b85828601612c9f565b9250506020612f1c85828601612d13565b9150509250929050565b60008060408385031215612f3957600080fd5b6000612f4785828601612c9f565b9250506020612f5885828601612da6565b9150509250929050565b60008060208385031215612f7557600080fd5b600083013567ffffffffffffffff811115612f8f57600080fd5b612f9b85828601612cc9565b92509250509250929050565b600060208284031215612fb957600080fd5b6000612fc784828501612d28565b91505092915050565b600060208284031215612fe257600080fd5b6000612ff084828501612d3d565b91505092915050565b60006020828403121561300b57600080fd5b600082013567ffffffffffffffff81111561302557600080fd5b61303184828501612d7c565b91505092915050565b60006020828403121561304c57600080fd5b600061305a84828501612da6565b91505092915050565b6000806040838503121561307657600080fd5b600061308485828601612da6565b925050602061309585828601612cb4565b9150509250929050565b6130a88161413e565b82525050565b6130b781614162565b82525050565b60006130c882613fdb565b6130d28185613ff1565b93506130e28185602086016141d3565b6130eb8161436e565b840191505092915050565b600061310182613fe6565b61310b818561400d565b935061311b8185602086016141d3565b6131248161436e565b840191505092915050565b600061313a82613fe6565b613144818561401e565b93506131548185602086016141d3565b80840191505092915050565b600061316d60328361400d565b91507f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008301527f63656976657220696d706c656d656e74657200000000000000000000000000006020830152604082019050919050565b60006131d360268361400d565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613239601c8361400d565b91507f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006000830152602082019050919050565b600061327960248361400d565b91507f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006132df60198361400d565b91507f4552433732313a20617070726f766520746f2063616c6c6572000000000000006000830152602082019050919050565b600061331f60348361400d565b91507f537175697272656c546f6b656e3a20696e636f727265637420616d6f756e742060008301527f73656e7420746f2074686520636f6e74726163740000000000000000000000006020830152604082019050919050565b6000613385603a8361400d565b91507f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008301527f6563697069656e74206d617920686176652072657665727465640000000000006020830152604082019050919050565b60006133eb602b8361400d565b91507f537175697272656c546f6b656e3a2061207075626c69632073616c652069732060008301527f6e6f7420737461727465640000000000000000000000000000000000000000006020830152604082019050919050565b600061345160248361400d565b91507f537175697272656c546f6b656e3a20737573706963696f75732070617468207660008301527f616c7565000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006134b7601d8361400d565b91507f416464726573733a20696e73756666696369656e742062616c616e63650000006000830152602082019050919050565b60006134f7602c8361400d565b91507f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b600061355d60388361400d565b91507f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008301527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006020830152604082019050919050565b60006135c360478361400d565b91507f537175697272656c546f6b656e3a2074686520676976656e206e756d6265722060008301527f657863656564732074686520616c6c6f776564206d617820706572207472616e60208301527f73616374696f6e000000000000000000000000000000000000000000000000006040830152606082019050919050565b600061364f602a8361400d565b91507f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008301527f726f2061646472657373000000000000000000000000000000000000000000006020830152604082019050919050565b60006136b560298361400d565b91507f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008301527f656e7420746f6b656e00000000000000000000000000000000000000000000006020830152604082019050919050565b600061371b60208361400d565b91507f4552433732313a206d696e7420746f20746865207a65726f20616464726573736000830152602082019050919050565b600061375b602c8361400d565b91507f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b60006137c160058361401e565b91507f2e6a736f6e0000000000000000000000000000000000000000000000000000006000830152600582019050919050565b600061380160208361400d565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b600061384160298361400d565b91507f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008301527f73206e6f74206f776e00000000000000000000000000000000000000000000006020830152604082019050919050565b60006138a7602f8361400d565b91507f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008301527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006020830152604082019050919050565b600061390d60218361400d565b91507f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008301527f72000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613973600083614002565b9150600082019050919050565b600061398d60318361400d565b91507f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008301527f776e6572206e6f7220617070726f7665640000000000000000000000000000006020830152604082019050919050565b60006139f3601c8361400d565b91507f537175697272656c546f6b656e3a2077726f6e672061646472657373000000006000830152602082019050919050565b6000613a3360408361400d565b91507f537175697272656c546f6b656e3a20746865206c696d6974206f66203130303060008301527f3020746f6b656e7320697320676f696e6720746f2062652065786365656465646020830152604082019050919050565b6000613a9960478361400d565b91507f537175697272656c546f6b656e3a20746865206c696d6974206f66206d696e7460008301527f696e6720706572206164647265737320697320676f696e6720746f206265206560208301527f78636565646564000000000000000000000000000000000000000000000000006040830152606082019050919050565b613b21816141ba565b82525050565b6000613b33828561312f565b9150613b3f828461312f565b9150613b4a826137b4565b91508190509392505050565b6000613b6182613966565b9150819050919050565b6000602082019050613b80600083018461309f565b92915050565b6000608082019050613b9b600083018761309f565b613ba8602083018661309f565b613bb56040830185613b18565b8181036060830152613bc781846130bd565b905095945050505050565b6000602082019050613be760008301846130ae565b92915050565b60006020820190508181036000830152613c0781846130f6565b905092915050565b60006020820190508181036000830152613c2881613160565b9050919050565b60006020820190508181036000830152613c48816131c6565b9050919050565b60006020820190508181036000830152613c688161322c565b9050919050565b60006020820190508181036000830152613c888161326c565b9050919050565b60006020820190508181036000830152613ca8816132d2565b9050919050565b60006020820190508181036000830152613cc881613312565b9050919050565b60006020820190508181036000830152613ce881613378565b9050919050565b60006020820190508181036000830152613d08816133de565b9050919050565b60006020820190508181036000830152613d2881613444565b9050919050565b60006020820190508181036000830152613d48816134aa565b9050919050565b60006020820190508181036000830152613d68816134ea565b9050919050565b60006020820190508181036000830152613d8881613550565b9050919050565b60006020820190508181036000830152613da8816135b6565b9050919050565b60006020820190508181036000830152613dc881613642565b9050919050565b60006020820190508181036000830152613de8816136a8565b9050919050565b60006020820190508181036000830152613e088161370e565b9050919050565b60006020820190508181036000830152613e288161374e565b9050919050565b60006020820190508181036000830152613e48816137f4565b9050919050565b60006020820190508181036000830152613e6881613834565b9050919050565b60006020820190508181036000830152613e888161389a565b9050919050565b60006020820190508181036000830152613ea881613900565b9050919050565b60006020820190508181036000830152613ec881613980565b9050919050565b60006020820190508181036000830152613ee8816139e6565b9050919050565b60006020820190508181036000830152613f0881613a26565b9050919050565b60006020820190508181036000830152613f2881613a8c565b9050919050565b6000602082019050613f446000830184613b18565b92915050565b6000604051905081810181811067ffffffffffffffff82111715613f7157613f7061433f565b5b8060405250919050565b600067ffffffffffffffff821115613f9657613f9561433f565b5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff821115613fc657613fc561433f565b5b601f19601f8301169050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000614034826141ba565b915061403f836141ba565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614074576140736142b2565b5b828201905092915050565b600061408a826141ba565b9150614095836141ba565b9250826140a5576140a46142e1565b5b828204905092915050565b60006140bb826141ba565b91506140c6836141ba565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156140ff576140fe6142b2565b5b828202905092915050565b6000614115826141ba565b9150614120836141ba565b925082821015614133576141326142b2565b5b828203905092915050565b60006141498261419a565b9050919050565b600061415b8261419a565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156141f15780820151818401526020810190506141d6565b83811115614200576000848401525b50505050565b6000600282049050600182168061421e57607f821691505b6020821081141561423257614231614310565b5b50919050565b6000614243826141ba565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614276576142756142b2565b5b600182019050919050565b600061428c826141ba565b9150614297836141ba565b9250826142a7576142a66142e1565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b6143888161413e565b811461439357600080fd5b50565b61439f81614150565b81146143aa57600080fd5b50565b6143b681614162565b81146143c157600080fd5b50565b6143cd8161416e565b81146143d857600080fd5b50565b6143e4816141ba565b81146143ef57600080fd5b5056fe68747470733a2f2f7374617469632e636f6e766963746564737175697272656c732e636f6d2f6d6574612f6c6976652f7068a264697066735822122005c89761f4baea4b3c2782f21f00e27a92e7f30eb81e861a27cfbb89f2000d6964736f6c63430008000033

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

0000000000000000000000000000000000000000000000000000000000002710

-----Decoded View---------------
Arg [0] : count (uint256): 10000

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000002710


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.