ETH Price: $3,104.36 (+0.20%)
Gas: 4 Gwei

Token

Global Tax Guide (MRSGTG)
 

Overview

Max Total Supply

115 MRSGTG

Holders

102

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
yihaotian.eth
Balance
1 MRSGTG
0xE8c8f12cCB61fD25EcC5E391E99f69a971526C99
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:
MRS

Compiler Version
v0.8.6+commit.11564f7e

Optimization Enabled:
No with 200 runs

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

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

/**
 * @title MRS
 */
contract MRS is ERC721, Ownable {
    using Counters for Counters.Counter;
    bool public whitelist_active = false;
    bool public sale_active = false;
    string public contract_ipfs_json;
    Counters.Counter private token_id_counter;
    uint256 public minting_price = 0.08 ether;
    bool public is_collection_locked = false;
    string public nft_metadata;
    string public contract_base_uri;
    address public vault_address;
    mapping(address => bool) minted_whitelist;

    constructor(string memory _name, string memory _ticker)
        ERC721(_name, _ticker)
    {}

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

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

    function tokenURI(uint256 _tokenId)
        public
        view
        override(ERC721)
        returns (string memory)
    {
        string memory _tknId = Strings.toString(_tokenId);
        return string(abi.encodePacked(nft_metadata, _tknId, ".json"));
    }

    function tokensOfOwner(address _owner)
        external
        view
        returns (uint256[] memory ownerTokens)
    {
        uint256 tokenCount = balanceOf(_owner);
        if (tokenCount == 0) {
            // Return an empty array
            return new uint256[](0);
        } else {
            uint256[] memory result = new uint256[](tokenCount);
            uint256 totalTkns = totalSupply();
            uint256 resultIndex = 0;
            uint256 tnkId;

            for (tnkId = 1; tnkId <= totalTkns; tnkId++) {
                if (ownerOf(tnkId) == _owner) {
                    result[resultIndex] = tnkId;
                    resultIndex++;
                }
            }

            return result;
        }
    }

    function fixURI(string memory _newURI) external onlyOwner {
        require(!is_collection_locked, "Collection locked");
        nft_metadata = _newURI;
    }

    /*
        This method will allow owner lock the collection
     */

    function lockCollection() external onlyOwner {
        is_collection_locked = true;
    }

    /*
        This method will allow owner to start and stop the sale
    */
    function fixSaleState(bool _newState) external onlyOwner {
        sale_active = _newState;
    }

    /*
        This method will allow owner to fix the minting price
    */
    function fixPrice(uint256 _price) external onlyOwner {
        minting_price = _price;
    }

    /*
        This method will allow owner to change the gnosis safe wallet
    */
    function fixVault(address _newAddress) external onlyOwner {
        require(_newAddress != address(0), "Can't use black hole");
        vault_address = _newAddress;
    }

    /*
        This method will mint the token to provided user, can be called just by the proxy address.
    */
    function dropNFT(address _to, uint256 _amount) external onlyOwner {
        for (uint256 j = 1; j <= _amount; j++) {
            token_id_counter.increment();
            uint256 newTokenId = token_id_counter.current();
            _mint(_to, newTokenId);
        }
    }

    /*
        This method will allow users to buy the nft
    */
    function buyNFT() external payable {
        uint256 amount = msg.value / minting_price;
        require(
            sale_active &&
                msg.value % minting_price == 0 &&
                amount >= 1 &&
                msg.value > 0,
            "Sale not active or sent price wrong"
        );
        uint256 j = 0;
        for (j = 0; j < amount; j++) {
            token_id_counter.increment();
            uint256 id = token_id_counter.current();
            _mint(msg.sender, id);
        }
    }

    /*
        This method will allow owner to withdraw all ethers
    */
    function withdrawFunds() external onlyOwner {
        uint256 balance = address(this).balance;
        require(vault_address != address(0) && balance > 0, "Can't withdraw");
        bool success;
        (success, ) = vault_address.call{value: balance}("");
        require(success, "Withdraw to vault failed");
    }
}

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

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

        _afterTokenTransfer(address(0), to, tokenId);
    }

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

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

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

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

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

        _afterTokenTransfer(owner, address(0), tokenId);
    }

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId);
    }

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

pragma solidity ^0.8.1;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_ticker","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyNFT","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"contract_base_uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contract_ipfs_json","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"dropNFT","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"fixPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_newState","type":"bool"}],"name":"fixSaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newURI","type":"string"}],"name":"fixURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newAddress","type":"address"}],"name":"fixVault","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"is_collection_locked","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lockCollection","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"minting_price","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":"nft_metadata","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sale_active","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"ownerTokens","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"vault_address","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"whitelist_active","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawFunds","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526000600660146101000a81548160ff0219169083151502179055506000600660156101000a81548160ff02191690831515021790555067011c37937e0800006009556000600a60006101000a81548160ff0219169083151502179055503480156200006e57600080fd5b506040516200440f3803806200440f8339818101604052810190620000949190620002ee565b81818160009080519060200190620000ae929190620001c0565b508060019080519060200190620000c7929190620001c0565b505050620000ea620000de620000f260201b60201c565b620000fa60201b60201c565b5050620004f7565b600033905090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620001ce9062000408565b90600052602060002090601f016020900481019282620001f257600085556200023e565b82601f106200020d57805160ff19168380011785556200023e565b828001600101855582156200023e579182015b828111156200023d57825182559160200191906001019062000220565b5b5090506200024d919062000251565b5090565b5b808211156200026c57600081600090555060010162000252565b5090565b60006200028762000281846200039c565b62000373565b905082815260208101848484011115620002a657620002a5620004d7565b5b620002b3848285620003d2565b509392505050565b600082601f830112620002d357620002d2620004d2565b5b8151620002e584826020860162000270565b91505092915050565b60008060408385031215620003085762000307620004e1565b5b600083015167ffffffffffffffff811115620003295762000328620004dc565b5b6200033785828601620002bb565b925050602083015167ffffffffffffffff8111156200035b576200035a620004dc565b5b6200036985828601620002bb565b9150509250929050565b60006200037f62000392565b90506200038d82826200043e565b919050565b6000604051905090565b600067ffffffffffffffff821115620003ba57620003b9620004a3565b5b620003c582620004e6565b9050602081019050919050565b60005b83811015620003f2578082015181840152602081019050620003d5565b8381111562000402576000848401525b50505050565b600060028204905060018216806200042157607f821691505b6020821081141562000438576200043762000474565b5b50919050565b6200044982620004e6565b810181811067ffffffffffffffff821117156200046b576200046a620004a3565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b613f0880620005076000396000f3fe6080604052600436106101f95760003560e01c8063733f23991161010d578063a24721d3116100a0578063c87b56dd1161006f578063c87b56dd146106c6578063e0df721614610703578063e985e9c51461072e578063f2b3ea5d1461076b578063f2fde38b14610796576101f9565b8063a24721d314610641578063b703a9f41461066a578063b88d4fde14610693578063bff29cee146106bc576101f9565b80638da5cb5b116100dc5780638da5cb5b1461059957806395d89b41146105c4578063a1a04913146105ef578063a22cb46514610618576101f9565b8063733f2399146104dd57806383bc5245146105085780638462151c146105315780638b22f3411461056e576101f9565b806323b872dd1161019057806361ad20571161015f57806361ad2057146103f65780636352211e1461042157806366b29b3b1461045e57806370a0823114610489578063715018a6146104c6576101f9565b806323b872dd1461036457806324600fc31461038d57806342842e0e146103a45780635e01967c146103cd576101f9565b8063095ea7b3116101cc578063095ea7b3146102ce5780630ee83a71146102f75780631036b3c51461030e57806318160ddd14610339576101f9565b806301ffc9a7146101fe5780630346f18f1461023b57806306fdde0314610266578063081812fc14610291575b600080fd5b34801561020a57600080fd5b5061022560048036038101906102209190612b82565b6107bf565b60405161023291906131f5565b60405180910390f35b34801561024757600080fd5b506102506108a1565b60405161025d9190613210565b60405180910390f35b34801561027257600080fd5b5061027b61092f565b6040516102889190613210565b60405180910390f35b34801561029d57600080fd5b506102b860048036038101906102b39190612c25565b6109c1565b6040516102c5919061316c565b60405180910390f35b3480156102da57600080fd5b506102f560048036038101906102f09190612b15565b610a46565b005b34801561030357600080fd5b5061030c610b5e565b005b34801561031a57600080fd5b50610323610bf7565b60405161033091906131f5565b60405180910390f35b34801561034557600080fd5b5061034e610c0a565b60405161035b91906134b2565b60405180910390f35b34801561037057600080fd5b5061038b600480360381019061038691906129ff565b610c1b565b005b34801561039957600080fd5b506103a2610c7b565b005b3480156103b057600080fd5b506103cb60048036038101906103c691906129ff565b610e6e565b005b3480156103d957600080fd5b506103f460048036038101906103ef9190612992565b610e8e565b005b34801561040257600080fd5b5061040b610fbe565b6040516104189190613210565b60405180910390f35b34801561042d57600080fd5b5061044860048036038101906104439190612c25565b61104c565b604051610455919061316c565b60405180910390f35b34801561046a57600080fd5b506104736110fe565b6040516104809190613210565b60405180910390f35b34801561049557600080fd5b506104b060048036038101906104ab9190612992565b61118c565b6040516104bd91906134b2565b60405180910390f35b3480156104d257600080fd5b506104db611244565b005b3480156104e957600080fd5b506104f26112cc565b6040516104ff919061316c565b60405180910390f35b34801561051457600080fd5b5061052f600480360381019061052a9190612b55565b6112f2565b005b34801561053d57600080fd5b5061055860048036038101906105539190612992565b61138b565b60405161056591906131d3565b60405180910390f35b34801561057a57600080fd5b506105836114e9565b60405161059091906131f5565b60405180910390f35b3480156105a557600080fd5b506105ae6114fc565b6040516105bb919061316c565b60405180910390f35b3480156105d057600080fd5b506105d9611526565b6040516105e69190613210565b60405180910390f35b3480156105fb57600080fd5b5061061660048036038101906106119190612bdc565b6115b8565b005b34801561062457600080fd5b5061063f600480360381019061063a9190612ad5565b61169e565b005b34801561064d57600080fd5b5061066860048036038101906106639190612b15565b6116b4565b005b34801561067657600080fd5b50610691600480360381019061068c9190612c25565b611779565b005b34801561069f57600080fd5b506106ba60048036038101906106b59190612a52565b6117ff565b005b6106c4611861565b005b3480156106d257600080fd5b506106ed60048036038101906106e89190612c25565b611939565b6040516106fa9190613210565b60405180910390f35b34801561070f57600080fd5b50610718611973565b60405161072591906131f5565b60405180910390f35b34801561073a57600080fd5b50610755600480360381019061075091906129bf565b611986565b60405161076291906131f5565b60405180910390f35b34801561077757600080fd5b50610780611a1a565b60405161078d91906134b2565b60405180910390f35b3480156107a257600080fd5b506107bd60048036038101906107b89190612992565b611a20565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061088a57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061089a575061089982611b18565b5b9050919050565b600780546108ae90613761565b80601f01602080910402602001604051908101604052809291908181526020018280546108da90613761565b80156109275780601f106108fc57610100808354040283529160200191610927565b820191906000526020600020905b81548152906001019060200180831161090a57829003601f168201915b505050505081565b60606000805461093e90613761565b80601f016020809104026020016040519081016040528092919081815260200182805461096a90613761565b80156109b75780601f1061098c576101008083540402835291602001916109b7565b820191906000526020600020905b81548152906001019060200180831161099a57829003601f168201915b5050505050905090565b60006109cc82611b82565b610a0b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a02906133f2565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a518261104c565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610ac2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ab990613432565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610ae1611bee565b73ffffffffffffffffffffffffffffffffffffffff161480610b105750610b0f81610b0a611bee565b611986565b5b610b4f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b4690613332565b60405180910390fd5b610b598383611bf6565b505050565b610b66611bee565b73ffffffffffffffffffffffffffffffffffffffff16610b846114fc565b73ffffffffffffffffffffffffffffffffffffffff1614610bda576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bd190613412565b60405180910390fd5b6001600a60006101000a81548160ff021916908315150217905550565b600660149054906101000a900460ff1681565b6000610c166008611caf565b905090565b610c2c610c26611bee565b82611cbd565b610c6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c6290613472565b60405180910390fd5b610c76838383611d9b565b505050565b610c83611bee565b73ffffffffffffffffffffffffffffffffffffffff16610ca16114fc565b73ffffffffffffffffffffffffffffffffffffffff1614610cf7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cee90613412565b60405180910390fd5b6000479050600073ffffffffffffffffffffffffffffffffffffffff16600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614158015610d5b5750600081115b610d9a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d9190613352565b60405180910390fd5b6000600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1682604051610de290613157565b60006040518083038185875af1925050503d8060008114610e1f576040519150601f19603f3d011682016040523d82523d6000602084013e610e24565b606091505b50508091505080610e6a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e6190613452565b60405180910390fd5b5050565b610e89838383604051806020016040528060008152506117ff565b505050565b610e96611bee565b73ffffffffffffffffffffffffffffffffffffffff16610eb46114fc565b73ffffffffffffffffffffffffffffffffffffffff1614610f0a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f0190613412565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610f7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f71906133d2565b60405180910390fd5b80600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600c8054610fcb90613761565b80601f0160208091040260200160405190810160405280929190818152602001828054610ff790613761565b80156110445780601f1061101957610100808354040283529160200191611044565b820191906000526020600020905b81548152906001019060200180831161102757829003601f168201915b505050505081565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156110f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ec90613392565b60405180910390fd5b80915050919050565b600b805461110b90613761565b80601f016020809104026020016040519081016040528092919081815260200182805461113790613761565b80156111845780601f1061115957610100808354040283529160200191611184565b820191906000526020600020905b81548152906001019060200180831161116757829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156111fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111f490613372565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61124c611bee565b73ffffffffffffffffffffffffffffffffffffffff1661126a6114fc565b73ffffffffffffffffffffffffffffffffffffffff16146112c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112b790613412565b60405180910390fd5b6112ca6000612002565b565b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6112fa611bee565b73ffffffffffffffffffffffffffffffffffffffff166113186114fc565b73ffffffffffffffffffffffffffffffffffffffff161461136e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161136590613412565b60405180910390fd5b80600660156101000a81548160ff02191690831515021790555050565b606060006113988361118c565b905060008114156113f557600067ffffffffffffffff8111156113be576113bd6138fa565b5b6040519080825280602002602001820160405280156113ec5781602001602082028036833780820191505090505b509150506114e4565b60008167ffffffffffffffff811115611411576114106138fa565b5b60405190808252806020026020018201604052801561143f5781602001602082028036833780820191505090505b509050600061144c610c0a565b9050600080600190505b8281116114db578673ffffffffffffffffffffffffffffffffffffffff1661147d8261104c565b73ffffffffffffffffffffffffffffffffffffffff1614156114c857808483815181106114ad576114ac6138cb565b5b60200260200101818152505081806114c4906137c4565b9250505b80806114d3906137c4565b915050611456565b83955050505050505b919050565b600a60009054906101000a900460ff1681565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461153590613761565b80601f016020809104026020016040519081016040528092919081815260200182805461156190613761565b80156115ae5780601f10611583576101008083540402835291602001916115ae565b820191906000526020600020905b81548152906001019060200180831161159157829003601f168201915b5050505050905090565b6115c0611bee565b73ffffffffffffffffffffffffffffffffffffffff166115de6114fc565b73ffffffffffffffffffffffffffffffffffffffff1614611634576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161162b90613412565b60405180910390fd5b600a60009054906101000a900460ff1615611684576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161167b90613232565b60405180910390fd5b80600b908051906020019061169a9291906127a6565b5050565b6116b06116a9611bee565b83836120c8565b5050565b6116bc611bee565b73ffffffffffffffffffffffffffffffffffffffff166116da6114fc565b73ffffffffffffffffffffffffffffffffffffffff1614611730576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161172790613412565b60405180910390fd5b6000600190505b818111611774576117486008612235565b60006117546008611caf565b9050611760848261224b565b50808061176c906137c4565b915050611737565b505050565b611781611bee565b73ffffffffffffffffffffffffffffffffffffffff1661179f6114fc565b73ffffffffffffffffffffffffffffffffffffffff16146117f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117ec90613412565b60405180910390fd5b8060098190555050565b61181061180a611bee565b83611cbd565b61184f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161184690613472565b60405180910390fd5b61185b84848484612425565b50505050565b6000600954346118719190613646565b9050600660159054906101000a900460ff16801561189c575060006009543461189a919061380d565b145b80156118a9575060018110155b80156118b55750600034115b6118f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118eb90613492565b60405180910390fd5b60005b81811015611935576119096008612235565b60006119156008611caf565b9050611921338261224b565b50808061192d906137c4565b9150506118f7565b5050565b6060600061194683612481565b9050600b8160405160200161195c929190613128565b604051602081830303815290604052915050919050565b600660159054906101000a900460ff1681565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60095481565b611a28611bee565b73ffffffffffffffffffffffffffffffffffffffff16611a466114fc565b73ffffffffffffffffffffffffffffffffffffffff1614611a9c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a9390613412565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611b0c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b0390613272565b60405180910390fd5b611b1581612002565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611c698361104c565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600081600001549050919050565b6000611cc882611b82565b611d07576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cfe90613312565b60405180910390fd5b6000611d128361104c565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611d8157508373ffffffffffffffffffffffffffffffffffffffff16611d69846109c1565b73ffffffffffffffffffffffffffffffffffffffff16145b80611d925750611d918185611986565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611dbb8261104c565b73ffffffffffffffffffffffffffffffffffffffff1614611e11576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e0890613292565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611e81576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e78906132d2565b60405180910390fd5b611e8c8383836125e2565b611e97600082611bf6565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611ee79190613677565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611f3e91906135f0565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611ffd8383836125e7565b505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612137576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161212e906132f2565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161222891906131f5565b60405180910390a3505050565b6001816000016000828254019250508190555050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156122bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122b2906133b2565b60405180910390fd5b6122c481611b82565b15612304576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122fb906132b2565b60405180910390fd5b612310600083836125e2565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461236091906135f0565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612421600083836125e7565b5050565b612430848484611d9b565b61243c848484846125ec565b61247b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161247290613252565b60405180910390fd5b50505050565b606060008214156124c9576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506125dd565b600082905060005b600082146124fb5780806124e4906137c4565b915050600a826124f49190613646565b91506124d1565b60008167ffffffffffffffff811115612517576125166138fa565b5b6040519080825280601f01601f1916602001820160405280156125495781602001600182028036833780820191505090505b5090505b600085146125d6576001826125629190613677565b9150600a85612571919061380d565b603061257d91906135f0565b60f81b818381518110612593576125926138cb565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856125cf9190613646565b945061254d565b8093505050505b919050565b505050565b505050565b600061260d8473ffffffffffffffffffffffffffffffffffffffff16612783565b15612776578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612636611bee565b8786866040518563ffffffff1660e01b81526004016126589493929190613187565b602060405180830381600087803b15801561267257600080fd5b505af19250505080156126a357506040513d601f19601f820116820180604052508101906126a09190612baf565b60015b612726573d80600081146126d3576040519150601f19603f3d011682016040523d82523d6000602084013e6126d8565b606091505b5060008151141561271e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161271590613252565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061277b565b600190505b949350505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b8280546127b290613761565b90600052602060002090601f0160209004810192826127d4576000855561281b565b82601f106127ed57805160ff191683800117855561281b565b8280016001018555821561281b579182015b8281111561281a5782518255916020019190600101906127ff565b5b509050612828919061282c565b5090565b5b8082111561284557600081600090555060010161282d565b5090565b600061285c612857846134f2565b6134cd565b9050828152602081018484840111156128785761287761392e565b5b61288384828561371f565b509392505050565b600061289e61289984613523565b6134cd565b9050828152602081018484840111156128ba576128b961392e565b5b6128c584828561371f565b509392505050565b6000813590506128dc81613e76565b92915050565b6000813590506128f181613e8d565b92915050565b60008135905061290681613ea4565b92915050565b60008151905061291b81613ea4565b92915050565b600082601f83011261293657612935613929565b5b8135612946848260208601612849565b91505092915050565b600082601f83011261296457612963613929565b5b813561297484826020860161288b565b91505092915050565b60008135905061298c81613ebb565b92915050565b6000602082840312156129a8576129a7613938565b5b60006129b6848285016128cd565b91505092915050565b600080604083850312156129d6576129d5613938565b5b60006129e4858286016128cd565b92505060206129f5858286016128cd565b9150509250929050565b600080600060608486031215612a1857612a17613938565b5b6000612a26868287016128cd565b9350506020612a37868287016128cd565b9250506040612a488682870161297d565b9150509250925092565b60008060008060808587031215612a6c57612a6b613938565b5b6000612a7a878288016128cd565b9450506020612a8b878288016128cd565b9350506040612a9c8782880161297d565b925050606085013567ffffffffffffffff811115612abd57612abc613933565b5b612ac987828801612921565b91505092959194509250565b60008060408385031215612aec57612aeb613938565b5b6000612afa858286016128cd565b9250506020612b0b858286016128e2565b9150509250929050565b60008060408385031215612b2c57612b2b613938565b5b6000612b3a858286016128cd565b9250506020612b4b8582860161297d565b9150509250929050565b600060208284031215612b6b57612b6a613938565b5b6000612b79848285016128e2565b91505092915050565b600060208284031215612b9857612b97613938565b5b6000612ba6848285016128f7565b91505092915050565b600060208284031215612bc557612bc4613938565b5b6000612bd38482850161290c565b91505092915050565b600060208284031215612bf257612bf1613938565b5b600082013567ffffffffffffffff811115612c1057612c0f613933565b5b612c1c8482850161294f565b91505092915050565b600060208284031215612c3b57612c3a613938565b5b6000612c498482850161297d565b91505092915050565b6000612c5e838361310a565b60208301905092915050565b612c73816136ab565b82525050565b6000612c8482613579565b612c8e81856135a7565b9350612c9983613554565b8060005b83811015612cca578151612cb18882612c52565b9750612cbc8361359a565b925050600181019050612c9d565b5085935050505092915050565b612ce0816136bd565b82525050565b6000612cf182613584565b612cfb81856135b8565b9350612d0b81856020860161372e565b612d148161393d565b840191505092915050565b6000612d2a8261358f565b612d3481856135d4565b9350612d4481856020860161372e565b612d4d8161393d565b840191505092915050565b6000612d638261358f565b612d6d81856135e5565b9350612d7d81856020860161372e565b80840191505092915050565b60008154612d9681613761565b612da081866135e5565b94506001821660008114612dbb5760018114612dcc57612dff565b60ff19831686528186019350612dff565b612dd585613564565b60005b83811015612df757815481890152600182019150602081019050612dd8565b838801955050505b50505092915050565b6000612e156011836135d4565b9150612e208261394e565b602082019050919050565b6000612e386032836135d4565b9150612e4382613977565b604082019050919050565b6000612e5b6026836135d4565b9150612e66826139c6565b604082019050919050565b6000612e7e6025836135d4565b9150612e8982613a15565b604082019050919050565b6000612ea1601c836135d4565b9150612eac82613a64565b602082019050919050565b6000612ec46024836135d4565b9150612ecf82613a8d565b604082019050919050565b6000612ee76019836135d4565b9150612ef282613adc565b602082019050919050565b6000612f0a602c836135d4565b9150612f1582613b05565b604082019050919050565b6000612f2d6038836135d4565b9150612f3882613b54565b604082019050919050565b6000612f50600e836135d4565b9150612f5b82613ba3565b602082019050919050565b6000612f73602a836135d4565b9150612f7e82613bcc565b604082019050919050565b6000612f966029836135d4565b9150612fa182613c1b565b604082019050919050565b6000612fb96020836135d4565b9150612fc482613c6a565b602082019050919050565b6000612fdc6014836135d4565b9150612fe782613c93565b602082019050919050565b6000612fff602c836135d4565b915061300a82613cbc565b604082019050919050565b60006130226005836135e5565b915061302d82613d0b565b600582019050919050565b60006130456020836135d4565b915061305082613d34565b602082019050919050565b60006130686021836135d4565b915061307382613d5d565b604082019050919050565b600061308b6018836135d4565b915061309682613dac565b602082019050919050565b60006130ae6000836135c9565b91506130b982613dd5565b600082019050919050565b60006130d16031836135d4565b91506130dc82613dd8565b604082019050919050565b60006130f46023836135d4565b91506130ff82613e27565b604082019050919050565b61311381613715565b82525050565b61312281613715565b82525050565b60006131348285612d89565b91506131408284612d58565b915061314b82613015565b91508190509392505050565b6000613162826130a1565b9150819050919050565b60006020820190506131816000830184612c6a565b92915050565b600060808201905061319c6000830187612c6a565b6131a96020830186612c6a565b6131b66040830185613119565b81810360608301526131c88184612ce6565b905095945050505050565b600060208201905081810360008301526131ed8184612c79565b905092915050565b600060208201905061320a6000830184612cd7565b92915050565b6000602082019050818103600083015261322a8184612d1f565b905092915050565b6000602082019050818103600083015261324b81612e08565b9050919050565b6000602082019050818103600083015261326b81612e2b565b9050919050565b6000602082019050818103600083015261328b81612e4e565b9050919050565b600060208201905081810360008301526132ab81612e71565b9050919050565b600060208201905081810360008301526132cb81612e94565b9050919050565b600060208201905081810360008301526132eb81612eb7565b9050919050565b6000602082019050818103600083015261330b81612eda565b9050919050565b6000602082019050818103600083015261332b81612efd565b9050919050565b6000602082019050818103600083015261334b81612f20565b9050919050565b6000602082019050818103600083015261336b81612f43565b9050919050565b6000602082019050818103600083015261338b81612f66565b9050919050565b600060208201905081810360008301526133ab81612f89565b9050919050565b600060208201905081810360008301526133cb81612fac565b9050919050565b600060208201905081810360008301526133eb81612fcf565b9050919050565b6000602082019050818103600083015261340b81612ff2565b9050919050565b6000602082019050818103600083015261342b81613038565b9050919050565b6000602082019050818103600083015261344b8161305b565b9050919050565b6000602082019050818103600083015261346b8161307e565b9050919050565b6000602082019050818103600083015261348b816130c4565b9050919050565b600060208201905081810360008301526134ab816130e7565b9050919050565b60006020820190506134c76000830184613119565b92915050565b60006134d76134e8565b90506134e38282613793565b919050565b6000604051905090565b600067ffffffffffffffff82111561350d5761350c6138fa565b5b6135168261393d565b9050602081019050919050565b600067ffffffffffffffff82111561353e5761353d6138fa565b5b6135478261393d565b9050602081019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b60006135fb82613715565b915061360683613715565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561363b5761363a61383e565b5b828201905092915050565b600061365182613715565b915061365c83613715565b92508261366c5761366b61386d565b5b828204905092915050565b600061368282613715565b915061368d83613715565b9250828210156136a05761369f61383e565b5b828203905092915050565b60006136b6826136f5565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b8381101561374c578082015181840152602081019050613731565b8381111561375b576000848401525b50505050565b6000600282049050600182168061377957607f821691505b6020821081141561378d5761378c61389c565b5b50919050565b61379c8261393d565b810181811067ffffffffffffffff821117156137bb576137ba6138fa565b5b80604052505050565b60006137cf82613715565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156138025761380161383e565b5b600182019050919050565b600061381882613715565b915061382383613715565b9250826138335761383261386d565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f436f6c6c656374696f6e206c6f636b6564000000000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f43616e2774207769746864726177000000000000000000000000000000000000600082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f43616e27742075736520626c61636b20686f6c65000000000000000000000000600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f576974686472617720746f207661756c74206661696c65640000000000000000600082015250565b50565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f53616c65206e6f7420616374697665206f722073656e7420707269636520777260008201527f6f6e670000000000000000000000000000000000000000000000000000000000602082015250565b613e7f816136ab565b8114613e8a57600080fd5b50565b613e96816136bd565b8114613ea157600080fd5b50565b613ead816136c9565b8114613eb857600080fd5b50565b613ec481613715565b8114613ecf57600080fd5b5056fea2646970667358221220aa092580355e256e6c792c9d70dfb1d64517f8d7dd495a12e77119f0f4a4369664736f6c63430008060033000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000010476c6f62616c205461782047756964650000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000064d52534754470000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106101f95760003560e01c8063733f23991161010d578063a24721d3116100a0578063c87b56dd1161006f578063c87b56dd146106c6578063e0df721614610703578063e985e9c51461072e578063f2b3ea5d1461076b578063f2fde38b14610796576101f9565b8063a24721d314610641578063b703a9f41461066a578063b88d4fde14610693578063bff29cee146106bc576101f9565b80638da5cb5b116100dc5780638da5cb5b1461059957806395d89b41146105c4578063a1a04913146105ef578063a22cb46514610618576101f9565b8063733f2399146104dd57806383bc5245146105085780638462151c146105315780638b22f3411461056e576101f9565b806323b872dd1161019057806361ad20571161015f57806361ad2057146103f65780636352211e1461042157806366b29b3b1461045e57806370a0823114610489578063715018a6146104c6576101f9565b806323b872dd1461036457806324600fc31461038d57806342842e0e146103a45780635e01967c146103cd576101f9565b8063095ea7b3116101cc578063095ea7b3146102ce5780630ee83a71146102f75780631036b3c51461030e57806318160ddd14610339576101f9565b806301ffc9a7146101fe5780630346f18f1461023b57806306fdde0314610266578063081812fc14610291575b600080fd5b34801561020a57600080fd5b5061022560048036038101906102209190612b82565b6107bf565b60405161023291906131f5565b60405180910390f35b34801561024757600080fd5b506102506108a1565b60405161025d9190613210565b60405180910390f35b34801561027257600080fd5b5061027b61092f565b6040516102889190613210565b60405180910390f35b34801561029d57600080fd5b506102b860048036038101906102b39190612c25565b6109c1565b6040516102c5919061316c565b60405180910390f35b3480156102da57600080fd5b506102f560048036038101906102f09190612b15565b610a46565b005b34801561030357600080fd5b5061030c610b5e565b005b34801561031a57600080fd5b50610323610bf7565b60405161033091906131f5565b60405180910390f35b34801561034557600080fd5b5061034e610c0a565b60405161035b91906134b2565b60405180910390f35b34801561037057600080fd5b5061038b600480360381019061038691906129ff565b610c1b565b005b34801561039957600080fd5b506103a2610c7b565b005b3480156103b057600080fd5b506103cb60048036038101906103c691906129ff565b610e6e565b005b3480156103d957600080fd5b506103f460048036038101906103ef9190612992565b610e8e565b005b34801561040257600080fd5b5061040b610fbe565b6040516104189190613210565b60405180910390f35b34801561042d57600080fd5b5061044860048036038101906104439190612c25565b61104c565b604051610455919061316c565b60405180910390f35b34801561046a57600080fd5b506104736110fe565b6040516104809190613210565b60405180910390f35b34801561049557600080fd5b506104b060048036038101906104ab9190612992565b61118c565b6040516104bd91906134b2565b60405180910390f35b3480156104d257600080fd5b506104db611244565b005b3480156104e957600080fd5b506104f26112cc565b6040516104ff919061316c565b60405180910390f35b34801561051457600080fd5b5061052f600480360381019061052a9190612b55565b6112f2565b005b34801561053d57600080fd5b5061055860048036038101906105539190612992565b61138b565b60405161056591906131d3565b60405180910390f35b34801561057a57600080fd5b506105836114e9565b60405161059091906131f5565b60405180910390f35b3480156105a557600080fd5b506105ae6114fc565b6040516105bb919061316c565b60405180910390f35b3480156105d057600080fd5b506105d9611526565b6040516105e69190613210565b60405180910390f35b3480156105fb57600080fd5b5061061660048036038101906106119190612bdc565b6115b8565b005b34801561062457600080fd5b5061063f600480360381019061063a9190612ad5565b61169e565b005b34801561064d57600080fd5b5061066860048036038101906106639190612b15565b6116b4565b005b34801561067657600080fd5b50610691600480360381019061068c9190612c25565b611779565b005b34801561069f57600080fd5b506106ba60048036038101906106b59190612a52565b6117ff565b005b6106c4611861565b005b3480156106d257600080fd5b506106ed60048036038101906106e89190612c25565b611939565b6040516106fa9190613210565b60405180910390f35b34801561070f57600080fd5b50610718611973565b60405161072591906131f5565b60405180910390f35b34801561073a57600080fd5b50610755600480360381019061075091906129bf565b611986565b60405161076291906131f5565b60405180910390f35b34801561077757600080fd5b50610780611a1a565b60405161078d91906134b2565b60405180910390f35b3480156107a257600080fd5b506107bd60048036038101906107b89190612992565b611a20565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061088a57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061089a575061089982611b18565b5b9050919050565b600780546108ae90613761565b80601f01602080910402602001604051908101604052809291908181526020018280546108da90613761565b80156109275780601f106108fc57610100808354040283529160200191610927565b820191906000526020600020905b81548152906001019060200180831161090a57829003601f168201915b505050505081565b60606000805461093e90613761565b80601f016020809104026020016040519081016040528092919081815260200182805461096a90613761565b80156109b75780601f1061098c576101008083540402835291602001916109b7565b820191906000526020600020905b81548152906001019060200180831161099a57829003601f168201915b5050505050905090565b60006109cc82611b82565b610a0b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a02906133f2565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a518261104c565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610ac2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ab990613432565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610ae1611bee565b73ffffffffffffffffffffffffffffffffffffffff161480610b105750610b0f81610b0a611bee565b611986565b5b610b4f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b4690613332565b60405180910390fd5b610b598383611bf6565b505050565b610b66611bee565b73ffffffffffffffffffffffffffffffffffffffff16610b846114fc565b73ffffffffffffffffffffffffffffffffffffffff1614610bda576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bd190613412565b60405180910390fd5b6001600a60006101000a81548160ff021916908315150217905550565b600660149054906101000a900460ff1681565b6000610c166008611caf565b905090565b610c2c610c26611bee565b82611cbd565b610c6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c6290613472565b60405180910390fd5b610c76838383611d9b565b505050565b610c83611bee565b73ffffffffffffffffffffffffffffffffffffffff16610ca16114fc565b73ffffffffffffffffffffffffffffffffffffffff1614610cf7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cee90613412565b60405180910390fd5b6000479050600073ffffffffffffffffffffffffffffffffffffffff16600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614158015610d5b5750600081115b610d9a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d9190613352565b60405180910390fd5b6000600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1682604051610de290613157565b60006040518083038185875af1925050503d8060008114610e1f576040519150601f19603f3d011682016040523d82523d6000602084013e610e24565b606091505b50508091505080610e6a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e6190613452565b60405180910390fd5b5050565b610e89838383604051806020016040528060008152506117ff565b505050565b610e96611bee565b73ffffffffffffffffffffffffffffffffffffffff16610eb46114fc565b73ffffffffffffffffffffffffffffffffffffffff1614610f0a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f0190613412565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610f7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f71906133d2565b60405180910390fd5b80600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600c8054610fcb90613761565b80601f0160208091040260200160405190810160405280929190818152602001828054610ff790613761565b80156110445780601f1061101957610100808354040283529160200191611044565b820191906000526020600020905b81548152906001019060200180831161102757829003601f168201915b505050505081565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156110f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ec90613392565b60405180910390fd5b80915050919050565b600b805461110b90613761565b80601f016020809104026020016040519081016040528092919081815260200182805461113790613761565b80156111845780601f1061115957610100808354040283529160200191611184565b820191906000526020600020905b81548152906001019060200180831161116757829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156111fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111f490613372565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61124c611bee565b73ffffffffffffffffffffffffffffffffffffffff1661126a6114fc565b73ffffffffffffffffffffffffffffffffffffffff16146112c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112b790613412565b60405180910390fd5b6112ca6000612002565b565b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6112fa611bee565b73ffffffffffffffffffffffffffffffffffffffff166113186114fc565b73ffffffffffffffffffffffffffffffffffffffff161461136e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161136590613412565b60405180910390fd5b80600660156101000a81548160ff02191690831515021790555050565b606060006113988361118c565b905060008114156113f557600067ffffffffffffffff8111156113be576113bd6138fa565b5b6040519080825280602002602001820160405280156113ec5781602001602082028036833780820191505090505b509150506114e4565b60008167ffffffffffffffff811115611411576114106138fa565b5b60405190808252806020026020018201604052801561143f5781602001602082028036833780820191505090505b509050600061144c610c0a565b9050600080600190505b8281116114db578673ffffffffffffffffffffffffffffffffffffffff1661147d8261104c565b73ffffffffffffffffffffffffffffffffffffffff1614156114c857808483815181106114ad576114ac6138cb565b5b60200260200101818152505081806114c4906137c4565b9250505b80806114d3906137c4565b915050611456565b83955050505050505b919050565b600a60009054906101000a900460ff1681565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461153590613761565b80601f016020809104026020016040519081016040528092919081815260200182805461156190613761565b80156115ae5780601f10611583576101008083540402835291602001916115ae565b820191906000526020600020905b81548152906001019060200180831161159157829003601f168201915b5050505050905090565b6115c0611bee565b73ffffffffffffffffffffffffffffffffffffffff166115de6114fc565b73ffffffffffffffffffffffffffffffffffffffff1614611634576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161162b90613412565b60405180910390fd5b600a60009054906101000a900460ff1615611684576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161167b90613232565b60405180910390fd5b80600b908051906020019061169a9291906127a6565b5050565b6116b06116a9611bee565b83836120c8565b5050565b6116bc611bee565b73ffffffffffffffffffffffffffffffffffffffff166116da6114fc565b73ffffffffffffffffffffffffffffffffffffffff1614611730576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161172790613412565b60405180910390fd5b6000600190505b818111611774576117486008612235565b60006117546008611caf565b9050611760848261224b565b50808061176c906137c4565b915050611737565b505050565b611781611bee565b73ffffffffffffffffffffffffffffffffffffffff1661179f6114fc565b73ffffffffffffffffffffffffffffffffffffffff16146117f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117ec90613412565b60405180910390fd5b8060098190555050565b61181061180a611bee565b83611cbd565b61184f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161184690613472565b60405180910390fd5b61185b84848484612425565b50505050565b6000600954346118719190613646565b9050600660159054906101000a900460ff16801561189c575060006009543461189a919061380d565b145b80156118a9575060018110155b80156118b55750600034115b6118f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118eb90613492565b60405180910390fd5b60005b81811015611935576119096008612235565b60006119156008611caf565b9050611921338261224b565b50808061192d906137c4565b9150506118f7565b5050565b6060600061194683612481565b9050600b8160405160200161195c929190613128565b604051602081830303815290604052915050919050565b600660159054906101000a900460ff1681565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60095481565b611a28611bee565b73ffffffffffffffffffffffffffffffffffffffff16611a466114fc565b73ffffffffffffffffffffffffffffffffffffffff1614611a9c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a9390613412565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611b0c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b0390613272565b60405180910390fd5b611b1581612002565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611c698361104c565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600081600001549050919050565b6000611cc882611b82565b611d07576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cfe90613312565b60405180910390fd5b6000611d128361104c565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611d8157508373ffffffffffffffffffffffffffffffffffffffff16611d69846109c1565b73ffffffffffffffffffffffffffffffffffffffff16145b80611d925750611d918185611986565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611dbb8261104c565b73ffffffffffffffffffffffffffffffffffffffff1614611e11576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e0890613292565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611e81576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e78906132d2565b60405180910390fd5b611e8c8383836125e2565b611e97600082611bf6565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611ee79190613677565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611f3e91906135f0565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611ffd8383836125e7565b505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612137576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161212e906132f2565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161222891906131f5565b60405180910390a3505050565b6001816000016000828254019250508190555050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156122bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122b2906133b2565b60405180910390fd5b6122c481611b82565b15612304576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122fb906132b2565b60405180910390fd5b612310600083836125e2565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461236091906135f0565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612421600083836125e7565b5050565b612430848484611d9b565b61243c848484846125ec565b61247b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161247290613252565b60405180910390fd5b50505050565b606060008214156124c9576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506125dd565b600082905060005b600082146124fb5780806124e4906137c4565b915050600a826124f49190613646565b91506124d1565b60008167ffffffffffffffff811115612517576125166138fa565b5b6040519080825280601f01601f1916602001820160405280156125495781602001600182028036833780820191505090505b5090505b600085146125d6576001826125629190613677565b9150600a85612571919061380d565b603061257d91906135f0565b60f81b818381518110612593576125926138cb565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856125cf9190613646565b945061254d565b8093505050505b919050565b505050565b505050565b600061260d8473ffffffffffffffffffffffffffffffffffffffff16612783565b15612776578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612636611bee565b8786866040518563ffffffff1660e01b81526004016126589493929190613187565b602060405180830381600087803b15801561267257600080fd5b505af19250505080156126a357506040513d601f19601f820116820180604052508101906126a09190612baf565b60015b612726573d80600081146126d3576040519150601f19603f3d011682016040523d82523d6000602084013e6126d8565b606091505b5060008151141561271e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161271590613252565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061277b565b600190505b949350505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b8280546127b290613761565b90600052602060002090601f0160209004810192826127d4576000855561281b565b82601f106127ed57805160ff191683800117855561281b565b8280016001018555821561281b579182015b8281111561281a5782518255916020019190600101906127ff565b5b509050612828919061282c565b5090565b5b8082111561284557600081600090555060010161282d565b5090565b600061285c612857846134f2565b6134cd565b9050828152602081018484840111156128785761287761392e565b5b61288384828561371f565b509392505050565b600061289e61289984613523565b6134cd565b9050828152602081018484840111156128ba576128b961392e565b5b6128c584828561371f565b509392505050565b6000813590506128dc81613e76565b92915050565b6000813590506128f181613e8d565b92915050565b60008135905061290681613ea4565b92915050565b60008151905061291b81613ea4565b92915050565b600082601f83011261293657612935613929565b5b8135612946848260208601612849565b91505092915050565b600082601f83011261296457612963613929565b5b813561297484826020860161288b565b91505092915050565b60008135905061298c81613ebb565b92915050565b6000602082840312156129a8576129a7613938565b5b60006129b6848285016128cd565b91505092915050565b600080604083850312156129d6576129d5613938565b5b60006129e4858286016128cd565b92505060206129f5858286016128cd565b9150509250929050565b600080600060608486031215612a1857612a17613938565b5b6000612a26868287016128cd565b9350506020612a37868287016128cd565b9250506040612a488682870161297d565b9150509250925092565b60008060008060808587031215612a6c57612a6b613938565b5b6000612a7a878288016128cd565b9450506020612a8b878288016128cd565b9350506040612a9c8782880161297d565b925050606085013567ffffffffffffffff811115612abd57612abc613933565b5b612ac987828801612921565b91505092959194509250565b60008060408385031215612aec57612aeb613938565b5b6000612afa858286016128cd565b9250506020612b0b858286016128e2565b9150509250929050565b60008060408385031215612b2c57612b2b613938565b5b6000612b3a858286016128cd565b9250506020612b4b8582860161297d565b9150509250929050565b600060208284031215612b6b57612b6a613938565b5b6000612b79848285016128e2565b91505092915050565b600060208284031215612b9857612b97613938565b5b6000612ba6848285016128f7565b91505092915050565b600060208284031215612bc557612bc4613938565b5b6000612bd38482850161290c565b91505092915050565b600060208284031215612bf257612bf1613938565b5b600082013567ffffffffffffffff811115612c1057612c0f613933565b5b612c1c8482850161294f565b91505092915050565b600060208284031215612c3b57612c3a613938565b5b6000612c498482850161297d565b91505092915050565b6000612c5e838361310a565b60208301905092915050565b612c73816136ab565b82525050565b6000612c8482613579565b612c8e81856135a7565b9350612c9983613554565b8060005b83811015612cca578151612cb18882612c52565b9750612cbc8361359a565b925050600181019050612c9d565b5085935050505092915050565b612ce0816136bd565b82525050565b6000612cf182613584565b612cfb81856135b8565b9350612d0b81856020860161372e565b612d148161393d565b840191505092915050565b6000612d2a8261358f565b612d3481856135d4565b9350612d4481856020860161372e565b612d4d8161393d565b840191505092915050565b6000612d638261358f565b612d6d81856135e5565b9350612d7d81856020860161372e565b80840191505092915050565b60008154612d9681613761565b612da081866135e5565b94506001821660008114612dbb5760018114612dcc57612dff565b60ff19831686528186019350612dff565b612dd585613564565b60005b83811015612df757815481890152600182019150602081019050612dd8565b838801955050505b50505092915050565b6000612e156011836135d4565b9150612e208261394e565b602082019050919050565b6000612e386032836135d4565b9150612e4382613977565b604082019050919050565b6000612e5b6026836135d4565b9150612e66826139c6565b604082019050919050565b6000612e7e6025836135d4565b9150612e8982613a15565b604082019050919050565b6000612ea1601c836135d4565b9150612eac82613a64565b602082019050919050565b6000612ec46024836135d4565b9150612ecf82613a8d565b604082019050919050565b6000612ee76019836135d4565b9150612ef282613adc565b602082019050919050565b6000612f0a602c836135d4565b9150612f1582613b05565b604082019050919050565b6000612f2d6038836135d4565b9150612f3882613b54565b604082019050919050565b6000612f50600e836135d4565b9150612f5b82613ba3565b602082019050919050565b6000612f73602a836135d4565b9150612f7e82613bcc565b604082019050919050565b6000612f966029836135d4565b9150612fa182613c1b565b604082019050919050565b6000612fb96020836135d4565b9150612fc482613c6a565b602082019050919050565b6000612fdc6014836135d4565b9150612fe782613c93565b602082019050919050565b6000612fff602c836135d4565b915061300a82613cbc565b604082019050919050565b60006130226005836135e5565b915061302d82613d0b565b600582019050919050565b60006130456020836135d4565b915061305082613d34565b602082019050919050565b60006130686021836135d4565b915061307382613d5d565b604082019050919050565b600061308b6018836135d4565b915061309682613dac565b602082019050919050565b60006130ae6000836135c9565b91506130b982613dd5565b600082019050919050565b60006130d16031836135d4565b91506130dc82613dd8565b604082019050919050565b60006130f46023836135d4565b91506130ff82613e27565b604082019050919050565b61311381613715565b82525050565b61312281613715565b82525050565b60006131348285612d89565b91506131408284612d58565b915061314b82613015565b91508190509392505050565b6000613162826130a1565b9150819050919050565b60006020820190506131816000830184612c6a565b92915050565b600060808201905061319c6000830187612c6a565b6131a96020830186612c6a565b6131b66040830185613119565b81810360608301526131c88184612ce6565b905095945050505050565b600060208201905081810360008301526131ed8184612c79565b905092915050565b600060208201905061320a6000830184612cd7565b92915050565b6000602082019050818103600083015261322a8184612d1f565b905092915050565b6000602082019050818103600083015261324b81612e08565b9050919050565b6000602082019050818103600083015261326b81612e2b565b9050919050565b6000602082019050818103600083015261328b81612e4e565b9050919050565b600060208201905081810360008301526132ab81612e71565b9050919050565b600060208201905081810360008301526132cb81612e94565b9050919050565b600060208201905081810360008301526132eb81612eb7565b9050919050565b6000602082019050818103600083015261330b81612eda565b9050919050565b6000602082019050818103600083015261332b81612efd565b9050919050565b6000602082019050818103600083015261334b81612f20565b9050919050565b6000602082019050818103600083015261336b81612f43565b9050919050565b6000602082019050818103600083015261338b81612f66565b9050919050565b600060208201905081810360008301526133ab81612f89565b9050919050565b600060208201905081810360008301526133cb81612fac565b9050919050565b600060208201905081810360008301526133eb81612fcf565b9050919050565b6000602082019050818103600083015261340b81612ff2565b9050919050565b6000602082019050818103600083015261342b81613038565b9050919050565b6000602082019050818103600083015261344b8161305b565b9050919050565b6000602082019050818103600083015261346b8161307e565b9050919050565b6000602082019050818103600083015261348b816130c4565b9050919050565b600060208201905081810360008301526134ab816130e7565b9050919050565b60006020820190506134c76000830184613119565b92915050565b60006134d76134e8565b90506134e38282613793565b919050565b6000604051905090565b600067ffffffffffffffff82111561350d5761350c6138fa565b5b6135168261393d565b9050602081019050919050565b600067ffffffffffffffff82111561353e5761353d6138fa565b5b6135478261393d565b9050602081019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b60006135fb82613715565b915061360683613715565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561363b5761363a61383e565b5b828201905092915050565b600061365182613715565b915061365c83613715565b92508261366c5761366b61386d565b5b828204905092915050565b600061368282613715565b915061368d83613715565b9250828210156136a05761369f61383e565b5b828203905092915050565b60006136b6826136f5565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b8381101561374c578082015181840152602081019050613731565b8381111561375b576000848401525b50505050565b6000600282049050600182168061377957607f821691505b6020821081141561378d5761378c61389c565b5b50919050565b61379c8261393d565b810181811067ffffffffffffffff821117156137bb576137ba6138fa565b5b80604052505050565b60006137cf82613715565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156138025761380161383e565b5b600182019050919050565b600061381882613715565b915061382383613715565b9250826138335761383261386d565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f436f6c6c656374696f6e206c6f636b6564000000000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f43616e2774207769746864726177000000000000000000000000000000000000600082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f43616e27742075736520626c61636b20686f6c65000000000000000000000000600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f576974686472617720746f207661756c74206661696c65640000000000000000600082015250565b50565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f53616c65206e6f7420616374697665206f722073656e7420707269636520777260008201527f6f6e670000000000000000000000000000000000000000000000000000000000602082015250565b613e7f816136ab565b8114613e8a57600080fd5b50565b613e96816136bd565b8114613ea157600080fd5b50565b613ead816136c9565b8114613eb857600080fd5b50565b613ec481613715565b8114613ecf57600080fd5b5056fea2646970667358221220aa092580355e256e6c792c9d70dfb1d64517f8d7dd495a12e77119f0f4a4369664736f6c63430008060033

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

000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000010476c6f62616c205461782047756964650000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000064d52534754470000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _name (string): Global Tax Guide
Arg [1] : _ticker (string): MRSGTG

-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000010
Arg [3] : 476c6f62616c2054617820477569646500000000000000000000000000000000
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [5] : 4d52534754470000000000000000000000000000000000000000000000000000


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.