ETH Price: $2,331.85 (-6.41%)

Generativemasks Ukraine Edition (GMUE)
 

Overview

TokenID

166

Total Transfers

-

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

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:
GenerativemasksUkraineEdition

Compiler Version
v0.8.6+commit.11564f7e

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 12 : GenerativemasksUkraineEdition.sol
// SPDX-License-Identifier: MIT

pragma solidity =0.8.6;

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

contract GenerativemasksUkraineEdition is ERC721, ReentrancyGuard, Ownable {

    using Strings for uint256;

    IERC721 public generativemasks = IERC721(0x80416304142Fa37929f8A4Eee83eE7D2dAc12D7c);
    uint256 public constant GMS_SUPPLY_AMOUNT = 10000;
    uint256 public constant MAX_GMs_TOKEN_ID = 9999;
    uint256 public constant METADATA_INDEX = 3799;
    uint256 public constant MIN_DONATION = 0.001 ether;
    string internal __baseURI;

    constructor(string memory baseURI) ERC721("Generativemasks Ukraine Edition", "GMUE") {
        __baseURI = baseURI;
    }

    modifier checkDonation() {
        require(msg.value >= MIN_DONATION, "GenerativemasksUkraineEdition: Invalid value");
        _;
    }

    function _getTokenIdFromMaskNumber(uint256 maskNumber) internal pure returns (uint256) {
        require(maskNumber <= MAX_GMs_TOKEN_ID, "GenerativemasksUkraineEdition: Invalid number");
        return ((maskNumber + GMS_SUPPLY_AMOUNT) - METADATA_INDEX) % GMS_SUPPLY_AMOUNT;
    }

    function _getTokenIdListFromMaskNumbers(uint256[] calldata maskNumbers) internal pure returns (uint256[] memory) {
        uint256[] memory tokenIdList = new uint256[](maskNumbers.length);

        for (uint256 i = 0; i < maskNumbers.length; i++) {
            tokenIdList[i] = _getTokenIdFromMaskNumber(maskNumbers[i]);
        }

        return tokenIdList;
    }

    function donateAndMintWithMaskNumber(
        uint256 maskNumber
    ) public payable nonReentrant checkDonation {
        uint256 tokenId = _getTokenIdFromMaskNumber(maskNumber);
        require(generativemasks.ownerOf(tokenId) == msg.sender, "GenerativemasksUkraineEdition: Invalid owner");
        _safeMint(msg.sender, tokenId);

        _donate();
    }

    function donateAndBatchMintWithMaskNumbers(
        uint256[] calldata maskNumbers
    ) public payable nonReentrant checkDonation {
        uint256[] memory tokenIdList = _getTokenIdListFromMaskNumbers(maskNumbers);

        for (uint256 i; i < tokenIdList.length; i++) {
            uint256 tokenId = tokenIdList[i];
            require(generativemasks.ownerOf(tokenId) == msg.sender, "GenerativemasksUkraineEdition: Invalid owner");
            _safeMint(msg.sender, tokenId);
        }

        _donate();
    }

    function _donate() internal {
        Address.sendValue(payable(0x165CD37b4C644C2921454429E7F9358d18A45e14), msg.value);
    }

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

    function updateBaseURI(string calldata newBaseURI) external onlyOwner {
        __baseURI = newBaseURI;
    }

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

        string memory baseURI = _baseURI();
        uint256 metadataId = (tokenId + METADATA_INDEX) % GMS_SUPPLY_AMOUNT;
        return string(abi.encodePacked(baseURI, metadataId.toString(), ".json"));
    }

}

File 2 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 3 of 12 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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

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

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId);
    }

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

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

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

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

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

File 5 of 12 : 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 6 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 7 of 12 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"baseURI","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":[],"name":"GMS_SUPPLY_AMOUNT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_GMs_TOKEN_ID","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"METADATA_INDEX","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MIN_DONATION","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"maskNumbers","type":"uint256[]"}],"name":"donateAndBatchMintWithMaskNumbers","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"maskNumber","type":"uint256"}],"name":"donateAndMintWithMaskNumber","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"generativemasks","outputs":[{"internalType":"contract IERC721","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"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":[{"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":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newBaseURI","type":"string"}],"name":"updateBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040527380416304142fa37929f8a4eee83ee7d2dac12d7c600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055503480156200006657600080fd5b50604051620040763803806200407683398181016040528101906200008c919062000370565b6040518060400160405280601f81526020017f47656e657261746976656d61736b7320556b7261696e652045646974696f6e008152506040518060400160405280600481526020017f474d55450000000000000000000000000000000000000000000000000000000081525081600090805190602001906200011092919062000242565b5080600190805190602001906200012992919062000242565b505050600160068190555062000154620001486200017460201b60201c565b6200017c60201b60201c565b80600990805190602001906200016c92919062000242565b505062000545565b600033905090565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620002509062000456565b90600052602060002090601f016020900481019282620002745760008555620002c0565b82601f106200028f57805160ff1916838001178555620002c0565b82800160010185558215620002c0579182015b82811115620002bf578251825591602001919060010190620002a2565b5b509050620002cf9190620002d3565b5090565b5b80821115620002ee576000816000905550600101620002d4565b5090565b6000620003096200030384620003ea565b620003c1565b90508281526020810184848401111562000328576200032762000525565b5b6200033584828562000420565b509392505050565b600082601f83011262000355576200035462000520565b5b815162000367848260208601620002f2565b91505092915050565b6000602082840312156200038957620003886200052f565b5b600082015167ffffffffffffffff811115620003aa57620003a96200052a565b5b620003b8848285016200033d565b91505092915050565b6000620003cd620003e0565b9050620003db82826200048c565b919050565b6000604051905090565b600067ffffffffffffffff821115620004085762000407620004f1565b5b620004138262000534565b9050602081019050919050565b60005b838110156200044057808201518184015260208101905062000423565b8381111562000450576000848401525b50505050565b600060028204905060018216806200046f57607f821691505b60208210811415620004865762000485620004c2565b5b50919050565b620004978262000534565b810181811067ffffffffffffffff82111715620004b957620004b8620004f1565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b613b2180620005556000396000f3fe60806040526004361061014b5760003560e01c806370a08231116100b6578063b88d4fde1161006f578063b88d4fde14610471578063c87b56dd1461049a578063db45810e146104d7578063e7b0dc4714610502578063e985e9c51461051e578063f2fde38b1461055b5761014b565b806370a0823114610375578063715018a6146103b25780638da5cb5b146103c9578063931688cb146103f457806395d89b411461041d578063a22cb465146104485761014b565b806323b872dd1161010857806323b872dd146102745780633bb002ca1461029d57806342842e0e146102c8578063572d8862146102f15780636352211e1461031c5780636c3e2430146103595761014b565b806301ffc9a71461015057806306fdde031461018d578063081812fc146101b85780630949c97b146101f5578063095ea7b3146102205780632279822914610249575b600080fd5b34801561015c57600080fd5b5061017760048036038101906101729190612774565b610584565b6040516101849190612d1a565b60405180910390f35b34801561019957600080fd5b506101a2610666565b6040516101af9190612d50565b60405180910390f35b3480156101c457600080fd5b506101df60048036038101906101da919061281b565b6106f8565b6040516101ec9190612cb3565b60405180910390f35b34801561020157600080fd5b5061020a61077d565b6040516102179190613032565b60405180910390f35b34801561022c57600080fd5b50610247600480360381019061024291906126e7565b610783565b005b34801561025557600080fd5b5061025e61089b565b60405161026b9190613032565b60405180910390f35b34801561028057600080fd5b5061029b600480360381019061029691906125d1565b6108a1565b005b3480156102a957600080fd5b506102b2610901565b6040516102bf9190613032565b60405180910390f35b3480156102d457600080fd5b506102ef60048036038101906102ea91906125d1565b610907565b005b3480156102fd57600080fd5b50610306610927565b6040516103139190612d35565b60405180910390f35b34801561032857600080fd5b50610343600480360381019061033e919061281b565b61094d565b6040516103509190612cb3565b60405180910390f35b610373600480360381019061036e919061281b565b6109ff565b005b34801561038157600080fd5b5061039c60048036038101906103979190612537565b610bda565b6040516103a99190613032565b60405180910390f35b3480156103be57600080fd5b506103c7610c92565b005b3480156103d557600080fd5b506103de610d1a565b6040516103eb9190612cb3565b60405180910390f35b34801561040057600080fd5b5061041b600480360381019061041691906127ce565b610d44565b005b34801561042957600080fd5b50610432610dd6565b60405161043f9190612d50565b60405180910390f35b34801561045457600080fd5b5061046f600480360381019061046a91906126a7565b610e68565b005b34801561047d57600080fd5b5061049860048036038101906104939190612624565b610e7e565b005b3480156104a657600080fd5b506104c160048036038101906104bc919061281b565b610ee0565b6040516104ce9190612d50565b60405180910390f35b3480156104e357600080fd5b506104ec610f88565b6040516104f99190613032565b60405180910390f35b61051c60048036038101906105179190612727565b610f93565b005b34801561052a57600080fd5b5061054560048036038101906105409190612591565b6111b0565b6040516105529190612d1a565b60405180910390f35b34801561056757600080fd5b50610582600480360381019061057d9190612537565b611244565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061064f57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061065f575061065e8261133c565b5b9050919050565b60606000805461067590613286565b80601f01602080910402602001604051908101604052809291908181526020018280546106a190613286565b80156106ee5780601f106106c3576101008083540402835291602001916106ee565b820191906000526020600020905b8154815290600101906020018083116106d157829003601f168201915b5050505050905090565b6000610703826113a6565b610742576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161073990612f92565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b61271081565b600061078e8261094d565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156107ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107f690612fd2565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1661081e611412565b73ffffffffffffffffffffffffffffffffffffffff16148061084d575061084c81610847611412565b6111b0565b5b61088c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161088390612ef2565b60405180910390fd5b610896838361141a565b505050565b610ed781565b6108b26108ac611412565b826114d3565b6108f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108e890612ff2565b60405180910390fd5b6108fc8383836115b1565b505050565b61270f81565b61092283838360405180602001604052806000815250610e7e565b505050565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156109f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109ed90612f32565b60405180910390fd5b80915050919050565b60026006541415610a45576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a3c90613012565b60405180910390fd5b600260068190555066038d7ea4c68000341015610a97576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a8e90612f72565b60405180910390fd5b6000610aa282611818565b90503373ffffffffffffffffffffffffffffffffffffffff16600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff1660e01b8152600401610b169190613032565b60206040518083038186803b158015610b2e57600080fd5b505afa158015610b42573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b669190612564565b73ffffffffffffffffffffffffffffffffffffffff1614610bbc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bb390612e72565b60405180910390fd5b610bc6338261188e565b610bce6118ac565b50600160068190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610c4b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c4290612f12565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610c9a611412565b73ffffffffffffffffffffffffffffffffffffffff16610cb8610d1a565b73ffffffffffffffffffffffffffffffffffffffff1614610d0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d0590612fb2565b60405180910390fd5b610d1860006118cc565b565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610d4c611412565b73ffffffffffffffffffffffffffffffffffffffff16610d6a610d1a565b73ffffffffffffffffffffffffffffffffffffffff1614610dc0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610db790612fb2565b60405180910390fd5b818160099190610dd19291906122fa565b505050565b606060018054610de590613286565b80601f0160208091040260200160405190810160405280929190818152602001828054610e1190613286565b8015610e5e5780601f10610e3357610100808354040283529160200191610e5e565b820191906000526020600020905b815481529060010190602001808311610e4157829003601f168201915b5050505050905090565b610e7a610e73611412565b8383611992565b5050565b610e8f610e89611412565b836114d3565b610ece576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ec590612ff2565b60405180910390fd5b610eda84848484611aff565b50505050565b6060610eeb826113a6565b610f2a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2190612d72565b60405180910390fd5b6000610f34611b5b565b90506000612710610ed785610f4991906130f1565b610f539190613332565b905081610f5f82611bed565b604051602001610f70929190612c6f565b60405160208183030381529060405292505050919050565b66038d7ea4c6800081565b60026006541415610fd9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fd090613012565b60405180910390fd5b600260068190555066038d7ea4c6800034101561102b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161102290612f72565b60405180910390fd5b60006110378383611d4e565b905060005b815181101561119a57600082828151811061105a576110596133f0565b5b602002602001015190503373ffffffffffffffffffffffffffffffffffffffff16600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff1660e01b81526004016110d69190613032565b60206040518083038186803b1580156110ee57600080fd5b505afa158015611102573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111269190612564565b73ffffffffffffffffffffffffffffffffffffffff161461117c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161117390612e72565b60405180910390fd5b611186338261188e565b508080611192906132e9565b91505061103c565b506111a36118ac565b5060016006819055505050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61124c611412565b73ffffffffffffffffffffffffffffffffffffffff1661126a610d1a565b73ffffffffffffffffffffffffffffffffffffffff16146112c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112b790612fb2565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611330576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161132790612db2565b60405180910390fd5b611339816118cc565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661148d8361094d565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006114de826113a6565b61151d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161151490612ed2565b60405180910390fd5b60006115288361094d565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061159757508373ffffffffffffffffffffffffffffffffffffffff1661157f846106f8565b73ffffffffffffffffffffffffffffffffffffffff16145b806115a857506115a781856111b0565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166115d18261094d565b73ffffffffffffffffffffffffffffffffffffffff1614611627576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161161e90612dd2565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611697576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168e90612e32565b60405180910390fd5b6116a2838383611e0d565b6116ad60008261141a565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546116fd9190613178565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461175491906130f1565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611813838383611e12565b505050565b600061270f82111561185f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161185690612e12565b60405180910390fd5b612710610ed76127108461187391906130f1565b61187d9190613178565b6118879190613332565b9050919050565b6118a8828260405180602001604052806000815250611e17565b5050565b6118ca73165cd37b4c644c2921454429e7f9358d18a45e1434611e72565b565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611a01576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119f890612e52565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611af29190612d1a565b60405180910390a3505050565b611b0a8484846115b1565b611b1684848484611f66565b611b55576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b4c90612d92565b60405180910390fd5b50505050565b606060098054611b6a90613286565b80601f0160208091040260200160405190810160405280929190818152602001828054611b9690613286565b8015611be35780601f10611bb857610100808354040283529160200191611be3565b820191906000526020600020905b815481529060010190602001808311611bc657829003601f168201915b5050505050905090565b60606000821415611c35576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050611d49565b600082905060005b60008214611c67578080611c50906132e9565b915050600a82611c609190613147565b9150611c3d565b60008167ffffffffffffffff811115611c8357611c8261341f565b5b6040519080825280601f01601f191660200182016040528015611cb55781602001600182028036833780820191505090505b5090505b60008514611d4257600182611cce9190613178565b9150600a85611cdd9190613332565b6030611ce991906130f1565b60f81b818381518110611cff57611cfe6133f0565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85611d3b9190613147565b9450611cb9565b8093505050505b919050565b606060008383905067ffffffffffffffff811115611d6f57611d6e61341f565b5b604051908082528060200260200182016040528015611d9d5781602001602082028036833780820191505090505b50905060005b84849050811015611e0257611dd0858583818110611dc457611dc36133f0565b5b90506020020135611818565b828281518110611de357611de26133f0565b5b6020026020010181815250508080611dfa906132e9565b915050611da3565b508091505092915050565b505050565b505050565b611e2183836120fd565b611e2e6000848484611f66565b611e6d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e6490612d92565b60405180910390fd5b505050565b80471015611eb5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eac90612eb2565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff1682604051611edb90612c9e565b60006040518083038185875af1925050503d8060008114611f18576040519150601f19603f3d011682016040523d82523d6000602084013e611f1d565b606091505b5050905080611f61576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f5890612e92565b60405180910390fd5b505050565b6000611f878473ffffffffffffffffffffffffffffffffffffffff166122d7565b156120f0578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02611fb0611412565b8786866040518563ffffffff1660e01b8152600401611fd29493929190612cce565b602060405180830381600087803b158015611fec57600080fd5b505af192505050801561201d57506040513d601f19601f8201168201806040525081019061201a91906127a1565b60015b6120a0573d806000811461204d576040519150601f19603f3d011682016040523d82523d6000602084013e612052565b606091505b50600081511415612098576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161208f90612d92565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506120f5565b600190505b949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561216d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161216490612f52565b60405180910390fd5b612176816113a6565b156121b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121ad90612df2565b60405180910390fd5b6121c260008383611e0d565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461221291906130f1565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46122d360008383611e12565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b82805461230690613286565b90600052602060002090601f016020900481019282612328576000855561236f565b82601f1061234157803560ff191683800117855561236f565b8280016001018555821561236f579182015b8281111561236e578235825591602001919060010190612353565b5b50905061237c9190612380565b5090565b5b80821115612399576000816000905550600101612381565b5090565b60006123b06123ab84613072565b61304d565b9050828152602081018484840111156123cc576123cb61345d565b5b6123d7848285613244565b509392505050565b6000813590506123ee81613a8f565b92915050565b60008151905061240381613a8f565b92915050565b60008083601f84011261241f5761241e613453565b5b8235905067ffffffffffffffff81111561243c5761243b61344e565b5b60208301915083602082028301111561245857612457613458565b5b9250929050565b60008135905061246e81613aa6565b92915050565b60008135905061248381613abd565b92915050565b60008151905061249881613abd565b92915050565b600082601f8301126124b3576124b2613453565b5b81356124c384826020860161239d565b91505092915050565b60008083601f8401126124e2576124e1613453565b5b8235905067ffffffffffffffff8111156124ff576124fe61344e565b5b60208301915083600182028301111561251b5761251a613458565b5b9250929050565b60008135905061253181613ad4565b92915050565b60006020828403121561254d5761254c613467565b5b600061255b848285016123df565b91505092915050565b60006020828403121561257a57612579613467565b5b6000612588848285016123f4565b91505092915050565b600080604083850312156125a8576125a7613467565b5b60006125b6858286016123df565b92505060206125c7858286016123df565b9150509250929050565b6000806000606084860312156125ea576125e9613467565b5b60006125f8868287016123df565b9350506020612609868287016123df565b925050604061261a86828701612522565b9150509250925092565b6000806000806080858703121561263e5761263d613467565b5b600061264c878288016123df565b945050602061265d878288016123df565b935050604061266e87828801612522565b925050606085013567ffffffffffffffff81111561268f5761268e613462565b5b61269b8782880161249e565b91505092959194509250565b600080604083850312156126be576126bd613467565b5b60006126cc858286016123df565b92505060206126dd8582860161245f565b9150509250929050565b600080604083850312156126fe576126fd613467565b5b600061270c858286016123df565b925050602061271d85828601612522565b9150509250929050565b6000806020838503121561273e5761273d613467565b5b600083013567ffffffffffffffff81111561275c5761275b613462565b5b61276885828601612409565b92509250509250929050565b60006020828403121561278a57612789613467565b5b600061279884828501612474565b91505092915050565b6000602082840312156127b7576127b6613467565b5b60006127c584828501612489565b91505092915050565b600080602083850312156127e5576127e4613467565b5b600083013567ffffffffffffffff81111561280357612802613462565b5b61280f858286016124cc565b92509250509250929050565b60006020828403121561283157612830613467565b5b600061283f84828501612522565b91505092915050565b612851816131ac565b82525050565b612860816131be565b82525050565b6000612871826130a3565b61287b81856130b9565b935061288b818560208601613253565b6128948161346c565b840191505092915050565b6128a881613220565b82525050565b60006128b9826130ae565b6128c381856130d5565b93506128d3818560208601613253565b6128dc8161346c565b840191505092915050565b60006128f2826130ae565b6128fc81856130e6565b935061290c818560208601613253565b80840191505092915050565b6000612925603e836130d5565b91506129308261347d565b604082019050919050565b60006129486032836130d5565b9150612953826134cc565b604082019050919050565b600061296b6026836130d5565b91506129768261351b565b604082019050919050565b600061298e6025836130d5565b91506129998261356a565b604082019050919050565b60006129b1601c836130d5565b91506129bc826135b9565b602082019050919050565b60006129d4602d836130d5565b91506129df826135e2565b604082019050919050565b60006129f76024836130d5565b9150612a0282613631565b604082019050919050565b6000612a1a6019836130d5565b9150612a2582613680565b602082019050919050565b6000612a3d602c836130d5565b9150612a48826136a9565b604082019050919050565b6000612a60603a836130d5565b9150612a6b826136f8565b604082019050919050565b6000612a83601d836130d5565b9150612a8e82613747565b602082019050919050565b6000612aa6602c836130d5565b9150612ab182613770565b604082019050919050565b6000612ac96038836130d5565b9150612ad4826137bf565b604082019050919050565b6000612aec602a836130d5565b9150612af78261380e565b604082019050919050565b6000612b0f6029836130d5565b9150612b1a8261385d565b604082019050919050565b6000612b326020836130d5565b9150612b3d826138ac565b602082019050919050565b6000612b55602c836130d5565b9150612b60826138d5565b604082019050919050565b6000612b78602c836130d5565b9150612b8382613924565b604082019050919050565b6000612b9b6005836130e6565b9150612ba682613973565b600582019050919050565b6000612bbe6020836130d5565b9150612bc98261399c565b602082019050919050565b6000612be16021836130d5565b9150612bec826139c5565b604082019050919050565b6000612c046000836130ca565b9150612c0f82613a14565b600082019050919050565b6000612c276031836130d5565b9150612c3282613a17565b604082019050919050565b6000612c4a601f836130d5565b9150612c5582613a66565b602082019050919050565b612c6981613216565b82525050565b6000612c7b82856128e7565b9150612c8782846128e7565b9150612c9282612b8e565b91508190509392505050565b6000612ca982612bf7565b9150819050919050565b6000602082019050612cc86000830184612848565b92915050565b6000608082019050612ce36000830187612848565b612cf06020830186612848565b612cfd6040830185612c60565b8181036060830152612d0f8184612866565b905095945050505050565b6000602082019050612d2f6000830184612857565b92915050565b6000602082019050612d4a600083018461289f565b92915050565b60006020820190508181036000830152612d6a81846128ae565b905092915050565b60006020820190508181036000830152612d8b81612918565b9050919050565b60006020820190508181036000830152612dab8161293b565b9050919050565b60006020820190508181036000830152612dcb8161295e565b9050919050565b60006020820190508181036000830152612deb81612981565b9050919050565b60006020820190508181036000830152612e0b816129a4565b9050919050565b60006020820190508181036000830152612e2b816129c7565b9050919050565b60006020820190508181036000830152612e4b816129ea565b9050919050565b60006020820190508181036000830152612e6b81612a0d565b9050919050565b60006020820190508181036000830152612e8b81612a30565b9050919050565b60006020820190508181036000830152612eab81612a53565b9050919050565b60006020820190508181036000830152612ecb81612a76565b9050919050565b60006020820190508181036000830152612eeb81612a99565b9050919050565b60006020820190508181036000830152612f0b81612abc565b9050919050565b60006020820190508181036000830152612f2b81612adf565b9050919050565b60006020820190508181036000830152612f4b81612b02565b9050919050565b60006020820190508181036000830152612f6b81612b25565b9050919050565b60006020820190508181036000830152612f8b81612b48565b9050919050565b60006020820190508181036000830152612fab81612b6b565b9050919050565b60006020820190508181036000830152612fcb81612bb1565b9050919050565b60006020820190508181036000830152612feb81612bd4565b9050919050565b6000602082019050818103600083015261300b81612c1a565b9050919050565b6000602082019050818103600083015261302b81612c3d565b9050919050565b60006020820190506130476000830184612c60565b92915050565b6000613057613068565b905061306382826132b8565b919050565b6000604051905090565b600067ffffffffffffffff82111561308d5761308c61341f565b5b6130968261346c565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b60006130fc82613216565b915061310783613216565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561313c5761313b613363565b5b828201905092915050565b600061315282613216565b915061315d83613216565b92508261316d5761316c613392565b5b828204905092915050565b600061318382613216565b915061318e83613216565b9250828210156131a1576131a0613363565b5b828203905092915050565b60006131b7826131f6565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600061322b82613232565b9050919050565b600061323d826131f6565b9050919050565b82818337600083830152505050565b60005b83811015613271578082015181840152602081019050613256565b83811115613280576000848401525b50505050565b6000600282049050600182168061329e57607f821691505b602082108114156132b2576132b16133c1565b5b50919050565b6132c18261346c565b810181811067ffffffffffffffff821117156132e0576132df61341f565b5b80604052505050565b60006132f482613216565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561332757613326613363565b5b600182019050919050565b600061333d82613216565b915061334883613216565b92508261335857613357613392565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f47656e657261746976656d61736b73556b7261696e6545646974696f6e3a205560008201527f524920717565727920666f72206e6f6e6578697374656e7420746f6b656e0000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f47656e657261746976656d61736b73556b7261696e6545646974696f6e3a204960008201527f6e76616c6964206e756d62657200000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f47656e657261746976656d61736b73556b7261696e6545646974696f6e3a204960008201527f6e76616c6964206f776e65720000000000000000000000000000000000000000602082015250565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f47656e657261746976656d61736b73556b7261696e6545646974696f6e3a204960008201527f6e76616c69642076616c75650000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b50565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b613a98816131ac565b8114613aa357600080fd5b50565b613aaf816131be565b8114613aba57600080fd5b50565b613ac6816131ca565b8114613ad157600080fd5b50565b613add81613216565b8114613ae857600080fd5b5056fea2646970667358221220690899326c5e00740e4aaf85455516d7fd6646fccd04e547c1b3d5b77112dae364736f6c634300080600330000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004468747470733a2f2f697066732e696f2f697066732f516d4e72536a7a7964417837377655786e41665178487155716e524b7065377655346a71616275556368476475472f00000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x60806040526004361061014b5760003560e01c806370a08231116100b6578063b88d4fde1161006f578063b88d4fde14610471578063c87b56dd1461049a578063db45810e146104d7578063e7b0dc4714610502578063e985e9c51461051e578063f2fde38b1461055b5761014b565b806370a0823114610375578063715018a6146103b25780638da5cb5b146103c9578063931688cb146103f457806395d89b411461041d578063a22cb465146104485761014b565b806323b872dd1161010857806323b872dd146102745780633bb002ca1461029d57806342842e0e146102c8578063572d8862146102f15780636352211e1461031c5780636c3e2430146103595761014b565b806301ffc9a71461015057806306fdde031461018d578063081812fc146101b85780630949c97b146101f5578063095ea7b3146102205780632279822914610249575b600080fd5b34801561015c57600080fd5b5061017760048036038101906101729190612774565b610584565b6040516101849190612d1a565b60405180910390f35b34801561019957600080fd5b506101a2610666565b6040516101af9190612d50565b60405180910390f35b3480156101c457600080fd5b506101df60048036038101906101da919061281b565b6106f8565b6040516101ec9190612cb3565b60405180910390f35b34801561020157600080fd5b5061020a61077d565b6040516102179190613032565b60405180910390f35b34801561022c57600080fd5b50610247600480360381019061024291906126e7565b610783565b005b34801561025557600080fd5b5061025e61089b565b60405161026b9190613032565b60405180910390f35b34801561028057600080fd5b5061029b600480360381019061029691906125d1565b6108a1565b005b3480156102a957600080fd5b506102b2610901565b6040516102bf9190613032565b60405180910390f35b3480156102d457600080fd5b506102ef60048036038101906102ea91906125d1565b610907565b005b3480156102fd57600080fd5b50610306610927565b6040516103139190612d35565b60405180910390f35b34801561032857600080fd5b50610343600480360381019061033e919061281b565b61094d565b6040516103509190612cb3565b60405180910390f35b610373600480360381019061036e919061281b565b6109ff565b005b34801561038157600080fd5b5061039c60048036038101906103979190612537565b610bda565b6040516103a99190613032565b60405180910390f35b3480156103be57600080fd5b506103c7610c92565b005b3480156103d557600080fd5b506103de610d1a565b6040516103eb9190612cb3565b60405180910390f35b34801561040057600080fd5b5061041b600480360381019061041691906127ce565b610d44565b005b34801561042957600080fd5b50610432610dd6565b60405161043f9190612d50565b60405180910390f35b34801561045457600080fd5b5061046f600480360381019061046a91906126a7565b610e68565b005b34801561047d57600080fd5b5061049860048036038101906104939190612624565b610e7e565b005b3480156104a657600080fd5b506104c160048036038101906104bc919061281b565b610ee0565b6040516104ce9190612d50565b60405180910390f35b3480156104e357600080fd5b506104ec610f88565b6040516104f99190613032565b60405180910390f35b61051c60048036038101906105179190612727565b610f93565b005b34801561052a57600080fd5b5061054560048036038101906105409190612591565b6111b0565b6040516105529190612d1a565b60405180910390f35b34801561056757600080fd5b50610582600480360381019061057d9190612537565b611244565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061064f57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061065f575061065e8261133c565b5b9050919050565b60606000805461067590613286565b80601f01602080910402602001604051908101604052809291908181526020018280546106a190613286565b80156106ee5780601f106106c3576101008083540402835291602001916106ee565b820191906000526020600020905b8154815290600101906020018083116106d157829003601f168201915b5050505050905090565b6000610703826113a6565b610742576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161073990612f92565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b61271081565b600061078e8261094d565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156107ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107f690612fd2565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1661081e611412565b73ffffffffffffffffffffffffffffffffffffffff16148061084d575061084c81610847611412565b6111b0565b5b61088c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161088390612ef2565b60405180910390fd5b610896838361141a565b505050565b610ed781565b6108b26108ac611412565b826114d3565b6108f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108e890612ff2565b60405180910390fd5b6108fc8383836115b1565b505050565b61270f81565b61092283838360405180602001604052806000815250610e7e565b505050565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156109f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109ed90612f32565b60405180910390fd5b80915050919050565b60026006541415610a45576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a3c90613012565b60405180910390fd5b600260068190555066038d7ea4c68000341015610a97576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a8e90612f72565b60405180910390fd5b6000610aa282611818565b90503373ffffffffffffffffffffffffffffffffffffffff16600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff1660e01b8152600401610b169190613032565b60206040518083038186803b158015610b2e57600080fd5b505afa158015610b42573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b669190612564565b73ffffffffffffffffffffffffffffffffffffffff1614610bbc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bb390612e72565b60405180910390fd5b610bc6338261188e565b610bce6118ac565b50600160068190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610c4b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c4290612f12565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610c9a611412565b73ffffffffffffffffffffffffffffffffffffffff16610cb8610d1a565b73ffffffffffffffffffffffffffffffffffffffff1614610d0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d0590612fb2565b60405180910390fd5b610d1860006118cc565b565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610d4c611412565b73ffffffffffffffffffffffffffffffffffffffff16610d6a610d1a565b73ffffffffffffffffffffffffffffffffffffffff1614610dc0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610db790612fb2565b60405180910390fd5b818160099190610dd19291906122fa565b505050565b606060018054610de590613286565b80601f0160208091040260200160405190810160405280929190818152602001828054610e1190613286565b8015610e5e5780601f10610e3357610100808354040283529160200191610e5e565b820191906000526020600020905b815481529060010190602001808311610e4157829003601f168201915b5050505050905090565b610e7a610e73611412565b8383611992565b5050565b610e8f610e89611412565b836114d3565b610ece576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ec590612ff2565b60405180910390fd5b610eda84848484611aff565b50505050565b6060610eeb826113a6565b610f2a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2190612d72565b60405180910390fd5b6000610f34611b5b565b90506000612710610ed785610f4991906130f1565b610f539190613332565b905081610f5f82611bed565b604051602001610f70929190612c6f565b60405160208183030381529060405292505050919050565b66038d7ea4c6800081565b60026006541415610fd9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fd090613012565b60405180910390fd5b600260068190555066038d7ea4c6800034101561102b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161102290612f72565b60405180910390fd5b60006110378383611d4e565b905060005b815181101561119a57600082828151811061105a576110596133f0565b5b602002602001015190503373ffffffffffffffffffffffffffffffffffffffff16600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff1660e01b81526004016110d69190613032565b60206040518083038186803b1580156110ee57600080fd5b505afa158015611102573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111269190612564565b73ffffffffffffffffffffffffffffffffffffffff161461117c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161117390612e72565b60405180910390fd5b611186338261188e565b508080611192906132e9565b91505061103c565b506111a36118ac565b5060016006819055505050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61124c611412565b73ffffffffffffffffffffffffffffffffffffffff1661126a610d1a565b73ffffffffffffffffffffffffffffffffffffffff16146112c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112b790612fb2565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611330576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161132790612db2565b60405180910390fd5b611339816118cc565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661148d8361094d565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006114de826113a6565b61151d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161151490612ed2565b60405180910390fd5b60006115288361094d565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061159757508373ffffffffffffffffffffffffffffffffffffffff1661157f846106f8565b73ffffffffffffffffffffffffffffffffffffffff16145b806115a857506115a781856111b0565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166115d18261094d565b73ffffffffffffffffffffffffffffffffffffffff1614611627576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161161e90612dd2565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611697576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168e90612e32565b60405180910390fd5b6116a2838383611e0d565b6116ad60008261141a565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546116fd9190613178565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461175491906130f1565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611813838383611e12565b505050565b600061270f82111561185f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161185690612e12565b60405180910390fd5b612710610ed76127108461187391906130f1565b61187d9190613178565b6118879190613332565b9050919050565b6118a8828260405180602001604052806000815250611e17565b5050565b6118ca73165cd37b4c644c2921454429e7f9358d18a45e1434611e72565b565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611a01576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119f890612e52565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611af29190612d1a565b60405180910390a3505050565b611b0a8484846115b1565b611b1684848484611f66565b611b55576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b4c90612d92565b60405180910390fd5b50505050565b606060098054611b6a90613286565b80601f0160208091040260200160405190810160405280929190818152602001828054611b9690613286565b8015611be35780601f10611bb857610100808354040283529160200191611be3565b820191906000526020600020905b815481529060010190602001808311611bc657829003601f168201915b5050505050905090565b60606000821415611c35576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050611d49565b600082905060005b60008214611c67578080611c50906132e9565b915050600a82611c609190613147565b9150611c3d565b60008167ffffffffffffffff811115611c8357611c8261341f565b5b6040519080825280601f01601f191660200182016040528015611cb55781602001600182028036833780820191505090505b5090505b60008514611d4257600182611cce9190613178565b9150600a85611cdd9190613332565b6030611ce991906130f1565b60f81b818381518110611cff57611cfe6133f0565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85611d3b9190613147565b9450611cb9565b8093505050505b919050565b606060008383905067ffffffffffffffff811115611d6f57611d6e61341f565b5b604051908082528060200260200182016040528015611d9d5781602001602082028036833780820191505090505b50905060005b84849050811015611e0257611dd0858583818110611dc457611dc36133f0565b5b90506020020135611818565b828281518110611de357611de26133f0565b5b6020026020010181815250508080611dfa906132e9565b915050611da3565b508091505092915050565b505050565b505050565b611e2183836120fd565b611e2e6000848484611f66565b611e6d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e6490612d92565b60405180910390fd5b505050565b80471015611eb5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eac90612eb2565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff1682604051611edb90612c9e565b60006040518083038185875af1925050503d8060008114611f18576040519150601f19603f3d011682016040523d82523d6000602084013e611f1d565b606091505b5050905080611f61576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f5890612e92565b60405180910390fd5b505050565b6000611f878473ffffffffffffffffffffffffffffffffffffffff166122d7565b156120f0578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02611fb0611412565b8786866040518563ffffffff1660e01b8152600401611fd29493929190612cce565b602060405180830381600087803b158015611fec57600080fd5b505af192505050801561201d57506040513d601f19601f8201168201806040525081019061201a91906127a1565b60015b6120a0573d806000811461204d576040519150601f19603f3d011682016040523d82523d6000602084013e612052565b606091505b50600081511415612098576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161208f90612d92565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506120f5565b600190505b949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561216d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161216490612f52565b60405180910390fd5b612176816113a6565b156121b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121ad90612df2565b60405180910390fd5b6121c260008383611e0d565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461221291906130f1565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46122d360008383611e12565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b82805461230690613286565b90600052602060002090601f016020900481019282612328576000855561236f565b82601f1061234157803560ff191683800117855561236f565b8280016001018555821561236f579182015b8281111561236e578235825591602001919060010190612353565b5b50905061237c9190612380565b5090565b5b80821115612399576000816000905550600101612381565b5090565b60006123b06123ab84613072565b61304d565b9050828152602081018484840111156123cc576123cb61345d565b5b6123d7848285613244565b509392505050565b6000813590506123ee81613a8f565b92915050565b60008151905061240381613a8f565b92915050565b60008083601f84011261241f5761241e613453565b5b8235905067ffffffffffffffff81111561243c5761243b61344e565b5b60208301915083602082028301111561245857612457613458565b5b9250929050565b60008135905061246e81613aa6565b92915050565b60008135905061248381613abd565b92915050565b60008151905061249881613abd565b92915050565b600082601f8301126124b3576124b2613453565b5b81356124c384826020860161239d565b91505092915050565b60008083601f8401126124e2576124e1613453565b5b8235905067ffffffffffffffff8111156124ff576124fe61344e565b5b60208301915083600182028301111561251b5761251a613458565b5b9250929050565b60008135905061253181613ad4565b92915050565b60006020828403121561254d5761254c613467565b5b600061255b848285016123df565b91505092915050565b60006020828403121561257a57612579613467565b5b6000612588848285016123f4565b91505092915050565b600080604083850312156125a8576125a7613467565b5b60006125b6858286016123df565b92505060206125c7858286016123df565b9150509250929050565b6000806000606084860312156125ea576125e9613467565b5b60006125f8868287016123df565b9350506020612609868287016123df565b925050604061261a86828701612522565b9150509250925092565b6000806000806080858703121561263e5761263d613467565b5b600061264c878288016123df565b945050602061265d878288016123df565b935050604061266e87828801612522565b925050606085013567ffffffffffffffff81111561268f5761268e613462565b5b61269b8782880161249e565b91505092959194509250565b600080604083850312156126be576126bd613467565b5b60006126cc858286016123df565b92505060206126dd8582860161245f565b9150509250929050565b600080604083850312156126fe576126fd613467565b5b600061270c858286016123df565b925050602061271d85828601612522565b9150509250929050565b6000806020838503121561273e5761273d613467565b5b600083013567ffffffffffffffff81111561275c5761275b613462565b5b61276885828601612409565b92509250509250929050565b60006020828403121561278a57612789613467565b5b600061279884828501612474565b91505092915050565b6000602082840312156127b7576127b6613467565b5b60006127c584828501612489565b91505092915050565b600080602083850312156127e5576127e4613467565b5b600083013567ffffffffffffffff81111561280357612802613462565b5b61280f858286016124cc565b92509250509250929050565b60006020828403121561283157612830613467565b5b600061283f84828501612522565b91505092915050565b612851816131ac565b82525050565b612860816131be565b82525050565b6000612871826130a3565b61287b81856130b9565b935061288b818560208601613253565b6128948161346c565b840191505092915050565b6128a881613220565b82525050565b60006128b9826130ae565b6128c381856130d5565b93506128d3818560208601613253565b6128dc8161346c565b840191505092915050565b60006128f2826130ae565b6128fc81856130e6565b935061290c818560208601613253565b80840191505092915050565b6000612925603e836130d5565b91506129308261347d565b604082019050919050565b60006129486032836130d5565b9150612953826134cc565b604082019050919050565b600061296b6026836130d5565b91506129768261351b565b604082019050919050565b600061298e6025836130d5565b91506129998261356a565b604082019050919050565b60006129b1601c836130d5565b91506129bc826135b9565b602082019050919050565b60006129d4602d836130d5565b91506129df826135e2565b604082019050919050565b60006129f76024836130d5565b9150612a0282613631565b604082019050919050565b6000612a1a6019836130d5565b9150612a2582613680565b602082019050919050565b6000612a3d602c836130d5565b9150612a48826136a9565b604082019050919050565b6000612a60603a836130d5565b9150612a6b826136f8565b604082019050919050565b6000612a83601d836130d5565b9150612a8e82613747565b602082019050919050565b6000612aa6602c836130d5565b9150612ab182613770565b604082019050919050565b6000612ac96038836130d5565b9150612ad4826137bf565b604082019050919050565b6000612aec602a836130d5565b9150612af78261380e565b604082019050919050565b6000612b0f6029836130d5565b9150612b1a8261385d565b604082019050919050565b6000612b326020836130d5565b9150612b3d826138ac565b602082019050919050565b6000612b55602c836130d5565b9150612b60826138d5565b604082019050919050565b6000612b78602c836130d5565b9150612b8382613924565b604082019050919050565b6000612b9b6005836130e6565b9150612ba682613973565b600582019050919050565b6000612bbe6020836130d5565b9150612bc98261399c565b602082019050919050565b6000612be16021836130d5565b9150612bec826139c5565b604082019050919050565b6000612c046000836130ca565b9150612c0f82613a14565b600082019050919050565b6000612c276031836130d5565b9150612c3282613a17565b604082019050919050565b6000612c4a601f836130d5565b9150612c5582613a66565b602082019050919050565b612c6981613216565b82525050565b6000612c7b82856128e7565b9150612c8782846128e7565b9150612c9282612b8e565b91508190509392505050565b6000612ca982612bf7565b9150819050919050565b6000602082019050612cc86000830184612848565b92915050565b6000608082019050612ce36000830187612848565b612cf06020830186612848565b612cfd6040830185612c60565b8181036060830152612d0f8184612866565b905095945050505050565b6000602082019050612d2f6000830184612857565b92915050565b6000602082019050612d4a600083018461289f565b92915050565b60006020820190508181036000830152612d6a81846128ae565b905092915050565b60006020820190508181036000830152612d8b81612918565b9050919050565b60006020820190508181036000830152612dab8161293b565b9050919050565b60006020820190508181036000830152612dcb8161295e565b9050919050565b60006020820190508181036000830152612deb81612981565b9050919050565b60006020820190508181036000830152612e0b816129a4565b9050919050565b60006020820190508181036000830152612e2b816129c7565b9050919050565b60006020820190508181036000830152612e4b816129ea565b9050919050565b60006020820190508181036000830152612e6b81612a0d565b9050919050565b60006020820190508181036000830152612e8b81612a30565b9050919050565b60006020820190508181036000830152612eab81612a53565b9050919050565b60006020820190508181036000830152612ecb81612a76565b9050919050565b60006020820190508181036000830152612eeb81612a99565b9050919050565b60006020820190508181036000830152612f0b81612abc565b9050919050565b60006020820190508181036000830152612f2b81612adf565b9050919050565b60006020820190508181036000830152612f4b81612b02565b9050919050565b60006020820190508181036000830152612f6b81612b25565b9050919050565b60006020820190508181036000830152612f8b81612b48565b9050919050565b60006020820190508181036000830152612fab81612b6b565b9050919050565b60006020820190508181036000830152612fcb81612bb1565b9050919050565b60006020820190508181036000830152612feb81612bd4565b9050919050565b6000602082019050818103600083015261300b81612c1a565b9050919050565b6000602082019050818103600083015261302b81612c3d565b9050919050565b60006020820190506130476000830184612c60565b92915050565b6000613057613068565b905061306382826132b8565b919050565b6000604051905090565b600067ffffffffffffffff82111561308d5761308c61341f565b5b6130968261346c565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b60006130fc82613216565b915061310783613216565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561313c5761313b613363565b5b828201905092915050565b600061315282613216565b915061315d83613216565b92508261316d5761316c613392565b5b828204905092915050565b600061318382613216565b915061318e83613216565b9250828210156131a1576131a0613363565b5b828203905092915050565b60006131b7826131f6565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600061322b82613232565b9050919050565b600061323d826131f6565b9050919050565b82818337600083830152505050565b60005b83811015613271578082015181840152602081019050613256565b83811115613280576000848401525b50505050565b6000600282049050600182168061329e57607f821691505b602082108114156132b2576132b16133c1565b5b50919050565b6132c18261346c565b810181811067ffffffffffffffff821117156132e0576132df61341f565b5b80604052505050565b60006132f482613216565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561332757613326613363565b5b600182019050919050565b600061333d82613216565b915061334883613216565b92508261335857613357613392565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f47656e657261746976656d61736b73556b7261696e6545646974696f6e3a205560008201527f524920717565727920666f72206e6f6e6578697374656e7420746f6b656e0000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f47656e657261746976656d61736b73556b7261696e6545646974696f6e3a204960008201527f6e76616c6964206e756d62657200000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f47656e657261746976656d61736b73556b7261696e6545646974696f6e3a204960008201527f6e76616c6964206f776e65720000000000000000000000000000000000000000602082015250565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f47656e657261746976656d61736b73556b7261696e6545646974696f6e3a204960008201527f6e76616c69642076616c75650000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b50565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b613a98816131ac565b8114613aa357600080fd5b50565b613aaf816131be565b8114613aba57600080fd5b50565b613ac6816131ca565b8114613ad157600080fd5b50565b613add81613216565b8114613ae857600080fd5b5056fea2646970667358221220690899326c5e00740e4aaf85455516d7fd6646fccd04e547c1b3d5b77112dae364736f6c63430008060033

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

0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004468747470733a2f2f697066732e696f2f697066732f516d4e72536a7a7964417837377655786e41665178487155716e524b7065377655346a71616275556368476475472f00000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : baseURI (string): https://ipfs.io/ipfs/QmNrSjzydAx77vUxnAfQxHqUqnRKpe7vU4jqabuUchGduG/

-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000044
Arg [2] : 68747470733a2f2f697066732e696f2f697066732f516d4e72536a7a79644178
Arg [3] : 37377655786e41665178487155716e524b7065377655346a7161627555636847
Arg [4] : 6475472f00000000000000000000000000000000000000000000000000000000


Loading...
Loading
Loading...
Loading
[ 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.