ETH Price: $3,643.85 (-1.63%)

Token

ERC-20: 721DAO (721DAO)
 

Overview

Max Total Supply

1 721DAO

Holders

438

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
0x7D81ebCc3234125C1ebd5cEB82B1Ba53c3a26887
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:
DAO721

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
Yes with 1000 runs

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

import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol";
import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";
import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Supply.sol";
import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Burnable.sol";
import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Pausable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";

contract DAO721 is
    ERC1155,
    ERC1155Supply,
    ERC1155Pausable,
    ERC1155Burnable,
    Ownable
{
    using Strings for uint256;

    string public constant name = "721DAO";
    string public constant symbol = "721DAO";
    uint256 public constant tokenId = 0;

    bool public saleIsActive = false;
    string public contractURI =
        "https://infura-ipfs.io/ipfs/QmQNNfgRqyeZssyC3h7UjATj9qDUPbVjLTbhE1Xhi26pxb?filename=contract.json";
    address public treasury = 0xd06a5d3baE616FdAf9fd0fe9DcdD14B2aa097155;
    uint256 public maxSupply = 10000;
    uint256 public maxAmountPerMint = 10;
    uint256 public price = 0.1 ether;
    uint256 public round = 0;
    IERC721Enumerable public club721;
    mapping(uint256 => mapping(uint256 => bool)) public usedToken;

    function _beforeTokenTransfer(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal override(ERC1155, ERC1155Pausable) {
        super._beforeTokenTransfer(operator, from, to, ids, amounts, data);
    }

    function _burnBatch(
        address account,
        uint256[] memory ids,
        uint256[] memory amounts
    ) internal override(ERC1155, ERC1155Supply) {
        super._burnBatch(account, ids, amounts);
    }

    function _burn(
        address account,
        uint256 id,
        uint256 amount
    ) internal override(ERC1155, ERC1155Supply) {
        super._burn(account, id, amount);
    }

    function _mint(
        address account,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) internal override(ERC1155, ERC1155Supply) {
        super._mint(account, id, amount, data);
    }

    function _mintBatch(
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal override(ERC1155, ERC1155Supply) {
        super._mintBatch(to, ids, amounts, data);
    }

    function uri(uint256 _tokenId)
        public
        view
        override
        returns (string memory)
    {
        return super.uri(_tokenId);
    }

    function totalSupply() external pure returns (uint256) {
        return tokenId + 1;
    }

    function listClub721Tokens(address target)
        external
        view
        returns (uint256[] memory)
    {
        uint256 count = club721.balanceOf(target);
        uint256[] memory array = new uint256[](count);
        for (uint256 i = 0; i < count && i < 50; i++) {
            array[i] = club721.tokenOfOwnerByIndex(target, i);
        }
        return array;
    }

    constructor(IERC721Enumerable _club721)
        ERC1155(
            "https://infura-ipfs.io/ipfs/QmVdtZR3SdzkKC7RNpVcLNLbWCRzroiiMERE1Qk5yP3NVT?filename=token.json"
        )
    {
        club721 = _club721;
    }

    function quickMint(uint256 _amount) external payable {
        uint256 count = club721.balanceOf(msg.sender);
        require(count > 0, "DAO721: should own at least one club721 token.");
        for (uint256 i = 0; i < count && i < 30; i++) {
            uint256 _club721TokenId = club721.tokenOfOwnerByIndex(
                msg.sender,
                i
            );
            if (!usedToken[round][_club721TokenId]) {
                mint(_club721TokenId, _amount);
                return;
            }
        }
        revert("DAO721: all club721 tokens used.");
    }

    function mint(uint256 _club721TokenId, uint256 _amount) public payable {
        require(saleIsActive, "DAO721: Cannot mint now.");
        require(
            _amount >= 1 && _amount <= maxAmountPerMint,
            "DAO721: Invalid amount."
        );
        require(
            super.totalSupply(tokenId) + _amount <= maxSupply,
            "DAO721: supply reached limit."
        );
        require(
            !usedToken[round][_club721TokenId],
            "DAO721: Club721 token used."
        );
        require(
            club721.ownerOf(_club721TokenId) == msg.sender,
            "DAO721: Not own club token."
        );
        require(_amount * price == msg.value, "DAO721: Incorrect ethers.");

        usedToken[round][_club721TokenId] = true;
        _mint(msg.sender, tokenId, _amount, "");
        if (treasury != address(0)) {
            payable(treasury).transfer(address(this).balance);
        }
    }

    function doCall(
        address payable _to,
        uint256 _value,
        bytes calldata _data
    ) external payable onlyOwner returns (bytes memory) {
        require(_to != address(0), "DAO721: nil address");
        (bool _success, bytes memory _result) = _to.call{value: _value}(_data);
        require(_success, "DAO721: doCall fail.");
        return _result;
    }

    function batchAll(
        address[] calldata _targets,
        uint256 _value,
        bytes calldata _payload
    ) external payable onlyOwner {
        require(_targets.length > 0, "DAO721: _targets.length = 0");
        for (uint256 i = 0; i < _targets.length; i++) {
            (bool _success, bytes memory _response) = payable(_targets[i]).call{
                value: _value
            }(_payload);
            require(_success, "DAO721: batchAll fail.");
            _response;
        }
    }

    function ownerBurn(address account, uint256 amount) external onlyOwner {
        _burn(account, tokenId, amount);
    }

    function ownerMint(address account, uint256 amount) external onlyOwner {
        _mint(account, tokenId, amount, "");
    }

    function ownerMintBatch(
        address[] calldata accounts,
        uint256[] calldata amounts
    ) external onlyOwner {
        require(
            accounts.length == amounts.length,
            "DAO721: accounts and amounts length mismatch"
        );
        for (uint256 i = 0; i < accounts.length; i++) {
            _mint(accounts[i], tokenId, amounts[i], "");
        }
    }

    function ownerMintTokens(
        address to,
        uint256[] memory ids,
        uint256[] memory amounts
    ) external onlyOwner {
        _mintBatch(to, ids, amounts, "");
    }

    function setClub721(IERC721Enumerable _club721) external onlyOwner {
        club721 = _club721;
    }

    function setMaxAmountPerMint(uint256 _maxAmountPerMint) external onlyOwner {
        maxAmountPerMint = _maxAmountPerMint;
    }

    function setPrice(uint256 _price) external onlyOwner {
        price = _price;
    }

    function setRound(uint256 _round) external onlyOwner {
        round = _round;
    }

    function setMaxSupply(uint256 _maxSupply) external onlyOwner {
        maxSupply = _maxSupply;
    }

    function setTreasury(address treasury_) external onlyOwner {
        treasury = treasury_;
    }

    function setURI(string memory uri_) external onlyOwner {
        _setURI(uri_);
    }

    function setContractURI(string calldata _uri) external onlyOwner {
        contractURI = _uri;
    }

    function setSaleState(bool newState) external onlyOwner {
        saleIsActive = newState;
        if (newState) {
            if (paused()) {
                _unpause();
            }
        }
    }

    function pause() external onlyOwner {
        _pause();
    }

    function unpause() external onlyOwner {
        _unpause();
    }

    function withdraw(address to) external onlyOwner {
        if (to == address(0)) {
            to = msg.sender;
        }
        payable(to).transfer(address(this).balance);
    }
}

File 2 of 17 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 3 of 17 : ERC1155.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC1155.sol";
import "./IERC1155Receiver.sol";
import "./extensions/IERC1155MetadataURI.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/introspection/ERC165.sol";

/**
 * @dev Implementation of the basic standard multi-token.
 * See https://eips.ethereum.org/EIPS/eip-1155
 * Originally based on code by Enjin: https://github.com/enjin/erc-1155
 *
 * _Available since v3.1._
 */
contract ERC1155 is Context, ERC165, IERC1155, IERC1155MetadataURI {
    using Address for address;

    // Mapping from token ID to account balances
    mapping(uint256 => mapping(address => uint256)) private _balances;

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

    // Used as the URI for all token types by relying on ID substitution, e.g. https://token-cdn-domain/{id}.json
    string private _uri;

    /**
     * @dev See {_setURI}.
     */
    constructor(string memory uri_) {
        _setURI(uri_);
    }

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

    /**
     * @dev See {IERC1155MetadataURI-uri}.
     *
     * This implementation returns the same URI for *all* token types. It relies
     * on the token type ID substitution mechanism
     * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP].
     *
     * Clients calling this function must replace the `\{id\}` substring with the
     * actual token type ID.
     */
    function uri(uint256) public view virtual override returns (string memory) {
        return _uri;
    }

    /**
     * @dev See {IERC1155-balanceOf}.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function balanceOf(address account, uint256 id) public view virtual override returns (uint256) {
        require(account != address(0), "ERC1155: balance query for the zero address");
        return _balances[id][account];
    }

    /**
     * @dev See {IERC1155-balanceOfBatch}.
     *
     * Requirements:
     *
     * - `accounts` and `ids` must have the same length.
     */
    function balanceOfBatch(address[] memory accounts, uint256[] memory ids)
        public
        view
        virtual
        override
        returns (uint256[] memory)
    {
        require(accounts.length == ids.length, "ERC1155: accounts and ids length mismatch");

        uint256[] memory batchBalances = new uint256[](accounts.length);

        for (uint256 i = 0; i < accounts.length; ++i) {
            batchBalances[i] = balanceOf(accounts[i], ids[i]);
        }

        return batchBalances;
    }

    /**
     * @dev See {IERC1155-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        require(_msgSender() != operator, "ERC1155: setting approval status for self");

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

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

    /**
     * @dev See {IERC1155-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) public virtual override {
        require(
            from == _msgSender() || isApprovedForAll(from, _msgSender()),
            "ERC1155: caller is not owner nor approved"
        );
        _safeTransferFrom(from, to, id, amount, data);
    }

    /**
     * @dev See {IERC1155-safeBatchTransferFrom}.
     */
    function safeBatchTransferFrom(
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) public virtual override {
        require(
            from == _msgSender() || isApprovedForAll(from, _msgSender()),
            "ERC1155: transfer caller is not owner nor approved"
        );
        _safeBatchTransferFrom(from, to, ids, amounts, data);
    }

    /**
     * @dev Transfers `amount` tokens of token type `id` from `from` to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `from` must have a balance of tokens of type `id` of at least `amount`.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function _safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) internal virtual {
        require(to != address(0), "ERC1155: transfer to the zero address");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, from, to, _asSingletonArray(id), _asSingletonArray(amount), data);

        uint256 fromBalance = _balances[id][from];
        require(fromBalance >= amount, "ERC1155: insufficient balance for transfer");
        unchecked {
            _balances[id][from] = fromBalance - amount;
        }
        _balances[id][to] += amount;

        emit TransferSingle(operator, from, to, id, amount);

        _doSafeTransferAcceptanceCheck(operator, from, to, id, amount, data);
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_safeTransferFrom}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function _safeBatchTransferFrom(
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");
        require(to != address(0), "ERC1155: transfer to the zero address");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, from, to, ids, amounts, data);

        for (uint256 i = 0; i < ids.length; ++i) {
            uint256 id = ids[i];
            uint256 amount = amounts[i];

            uint256 fromBalance = _balances[id][from];
            require(fromBalance >= amount, "ERC1155: insufficient balance for transfer");
            unchecked {
                _balances[id][from] = fromBalance - amount;
            }
            _balances[id][to] += amount;
        }

        emit TransferBatch(operator, from, to, ids, amounts);

        _doSafeBatchTransferAcceptanceCheck(operator, from, to, ids, amounts, data);
    }

    /**
     * @dev Sets a new URI for all token types, by relying on the token type ID
     * substitution mechanism
     * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP].
     *
     * By this mechanism, any occurrence of the `\{id\}` substring in either the
     * URI or any of the amounts in the JSON file at said URI will be replaced by
     * clients with the token type ID.
     *
     * For example, the `https://token-cdn-domain/\{id\}.json` URI would be
     * interpreted by clients as
     * `https://token-cdn-domain/000000000000000000000000000000000000000000000000000000000004cce0.json`
     * for token type ID 0x4cce0.
     *
     * See {uri}.
     *
     * Because these URIs cannot be meaningfully represented by the {URI} event,
     * this function emits no events.
     */
    function _setURI(string memory newuri) internal virtual {
        _uri = newuri;
    }

    /**
     * @dev Creates `amount` tokens of token type `id`, and assigns them to `account`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - If `account` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function _mint(
        address account,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) internal virtual {
        require(account != address(0), "ERC1155: mint to the zero address");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, address(0), account, _asSingletonArray(id), _asSingletonArray(amount), data);

        _balances[id][account] += amount;
        emit TransferSingle(operator, address(0), account, id, amount);

        _doSafeTransferAcceptanceCheck(operator, address(0), account, id, amount, data);
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_mint}.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function _mintBatch(
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {
        require(to != address(0), "ERC1155: mint to the zero address");
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, address(0), to, ids, amounts, data);

        for (uint256 i = 0; i < ids.length; i++) {
            _balances[ids[i]][to] += amounts[i];
        }

        emit TransferBatch(operator, address(0), to, ids, amounts);

        _doSafeBatchTransferAcceptanceCheck(operator, address(0), to, ids, amounts, data);
    }

    /**
     * @dev Destroys `amount` tokens of token type `id` from `account`
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens of token type `id`.
     */
    function _burn(
        address account,
        uint256 id,
        uint256 amount
    ) internal virtual {
        require(account != address(0), "ERC1155: burn from the zero address");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, account, address(0), _asSingletonArray(id), _asSingletonArray(amount), "");

        uint256 accountBalance = _balances[id][account];
        require(accountBalance >= amount, "ERC1155: burn amount exceeds balance");
        unchecked {
            _balances[id][account] = accountBalance - amount;
        }

        emit TransferSingle(operator, account, address(0), id, amount);
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_burn}.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     */
    function _burnBatch(
        address account,
        uint256[] memory ids,
        uint256[] memory amounts
    ) internal virtual {
        require(account != address(0), "ERC1155: burn from the zero address");
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, account, address(0), ids, amounts, "");

        for (uint256 i = 0; i < ids.length; i++) {
            uint256 id = ids[i];
            uint256 amount = amounts[i];

            uint256 accountBalance = _balances[id][account];
            require(accountBalance >= amount, "ERC1155: burn amount exceeds balance");
            unchecked {
                _balances[id][account] = accountBalance - amount;
            }
        }

        emit TransferBatch(operator, account, address(0), ids, amounts);
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning, as well as batched variants.
     *
     * The same hook is called on both single and batched variants. For single
     * transfers, the length of the `id` and `amount` arrays will be 1.
     *
     * Calling conditions (for each `id` and `amount` pair):
     *
     * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * of token type `id` will be  transferred to `to`.
     * - When `from` is zero, `amount` tokens of token type `id` will be minted
     * for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens of token type `id`
     * will be burned.
     * - `from` and `to` are never both zero.
     * - `ids` and `amounts` have the same, non-zero length.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {}

    function _doSafeTransferAcceptanceCheck(
        address operator,
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) private {
        if (to.isContract()) {
            try IERC1155Receiver(to).onERC1155Received(operator, from, id, amount, data) returns (bytes4 response) {
                if (response != IERC1155Receiver.onERC1155Received.selector) {
                    revert("ERC1155: ERC1155Receiver rejected tokens");
                }
            } catch Error(string memory reason) {
                revert(reason);
            } catch {
                revert("ERC1155: transfer to non ERC1155Receiver implementer");
            }
        }
    }

    function _doSafeBatchTransferAcceptanceCheck(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) private {
        if (to.isContract()) {
            try IERC1155Receiver(to).onERC1155BatchReceived(operator, from, ids, amounts, data) returns (
                bytes4 response
            ) {
                if (response != IERC1155Receiver.onERC1155BatchReceived.selector) {
                    revert("ERC1155: ERC1155Receiver rejected tokens");
                }
            } catch Error(string memory reason) {
                revert(reason);
            } catch {
                revert("ERC1155: transfer to non ERC1155Receiver implementer");
            }
        }
    }

    function _asSingletonArray(uint256 element) private pure returns (uint256[] memory) {
        uint256[] memory array = new uint256[](1);
        array[0] = element;

        return array;
    }
}

File 4 of 17 : ERC1155Supply.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../ERC1155.sol";

/**
 * @dev Extension of ERC1155 that adds tracking of total supply per id.
 *
 * Useful for scenarios where Fungible and Non-fungible tokens have to be
 * clearly identified. Note: While a totalSupply of 1 might mean the
 * corresponding is an NFT, there is no guarantees that no other token with the
 * same id are not going to be minted.
 */
abstract contract ERC1155Supply is ERC1155 {
    mapping(uint256 => uint256) private _totalSupply;

    /**
     * @dev Total amount of tokens in with a given id.
     */
    function totalSupply(uint256 id) public view virtual returns (uint256) {
        return _totalSupply[id];
    }

    /**
     * @dev Indicates weither any token exist with a given id, or not.
     */
    function exists(uint256 id) public view virtual returns (bool) {
        return ERC1155Supply.totalSupply(id) > 0;
    }

    /**
     * @dev See {ERC1155-_mint}.
     */
    function _mint(
        address account,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) internal virtual override {
        super._mint(account, id, amount, data);
        _totalSupply[id] += amount;
    }

    /**
     * @dev See {ERC1155-_mintBatch}.
     */
    function _mintBatch(
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual override {
        super._mintBatch(to, ids, amounts, data);
        for (uint256 i = 0; i < ids.length; ++i) {
            _totalSupply[ids[i]] += amounts[i];
        }
    }

    /**
     * @dev See {ERC1155-_burn}.
     */
    function _burn(
        address account,
        uint256 id,
        uint256 amount
    ) internal virtual override {
        super._burn(account, id, amount);
        _totalSupply[id] -= amount;
    }

    /**
     * @dev See {ERC1155-_burnBatch}.
     */
    function _burnBatch(
        address account,
        uint256[] memory ids,
        uint256[] memory amounts
    ) internal virtual override {
        super._burnBatch(account, ids, amounts);
        for (uint256 i = 0; i < ids.length; ++i) {
            _totalSupply[ids[i]] -= amounts[i];
        }
    }
}

File 5 of 17 : ERC1155Burnable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../ERC1155.sol";

/**
 * @dev Extension of {ERC1155} that allows token holders to destroy both their
 * own tokens and those that they have been approved to use.
 *
 * _Available since v3.1._
 */
abstract contract ERC1155Burnable is ERC1155 {
    function burn(
        address account,
        uint256 id,
        uint256 value
    ) public virtual {
        require(
            account == _msgSender() || isApprovedForAll(account, _msgSender()),
            "ERC1155: caller is not owner nor approved"
        );

        _burn(account, id, value);
    }

    function burnBatch(
        address account,
        uint256[] memory ids,
        uint256[] memory values
    ) public virtual {
        require(
            account == _msgSender() || isApprovedForAll(account, _msgSender()),
            "ERC1155: caller is not owner nor approved"
        );

        _burnBatch(account, ids, values);
    }
}

File 6 of 17 : ERC1155Pausable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../ERC1155.sol";
import "../../../security/Pausable.sol";

/**
 * @dev ERC1155 token with pausable token transfers, minting and burning.
 *
 * Useful for scenarios such as preventing trades until the end of an evaluation
 * period, or having an emergency switch for freezing all token transfers in the
 * event of a large bug.
 *
 * _Available since v3.1._
 */
abstract contract ERC1155Pausable is ERC1155, Pausable {
    /**
     * @dev See {ERC1155-_beforeTokenTransfer}.
     *
     * Requirements:
     *
     * - the contract must not be paused.
     */
    function _beforeTokenTransfer(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual override {
        super._beforeTokenTransfer(operator, from, to, ids, amounts, data);

        require(!paused(), "ERC1155Pausable: token transfer while paused");
    }
}

File 7 of 17 : Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

File 8 of 17 : Strings.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

File 9 of 17 : IERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

File 11 of 17 : IERC1155.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

/**
 * @dev Required interface of an ERC1155 compliant contract, as defined in the
 * https://eips.ethereum.org/EIPS/eip-1155[EIP].
 *
 * _Available since v3.1._
 */
interface IERC1155 is IERC165 {
    /**
     * @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`.
     */
    event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value);

    /**
     * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all
     * transfers.
     */
    event TransferBatch(
        address indexed operator,
        address indexed from,
        address indexed to,
        uint256[] ids,
        uint256[] values
    );

    /**
     * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to
     * `approved`.
     */
    event ApprovalForAll(address indexed account, address indexed operator, bool approved);

    /**
     * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI.
     *
     * If an {URI} event was emitted for `id`, the standard
     * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value
     * returned by {IERC1155MetadataURI-uri}.
     */
    event URI(string value, uint256 indexed id);

    /**
     * @dev Returns the amount of tokens of token type `id` owned by `account`.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function balanceOf(address account, uint256 id) external view returns (uint256);

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}.
     *
     * Requirements:
     *
     * - `accounts` and `ids` must have the same length.
     */
    function balanceOfBatch(address[] calldata accounts, uint256[] calldata ids)
        external
        view
        returns (uint256[] memory);

    /**
     * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`,
     *
     * Emits an {ApprovalForAll} event.
     *
     * Requirements:
     *
     * - `operator` cannot be the caller.
     */
    function setApprovalForAll(address operator, bool approved) external;

    /**
     * @dev Returns true if `operator` is approved to transfer ``account``'s tokens.
     *
     * See {setApprovalForAll}.
     */
    function isApprovedForAll(address account, address operator) external view returns (bool);

    /**
     * @dev Transfers `amount` tokens of token type `id` from `from` to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - If the caller is not `from`, it must be have been approved to spend ``from``'s tokens via {setApprovalForAll}.
     * - `from` must have a balance of tokens of type `id` of at least `amount`.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes calldata data
    ) external;

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function safeBatchTransferFrom(
        address from,
        address to,
        uint256[] calldata ids,
        uint256[] calldata amounts,
        bytes calldata data
    ) external;
}

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

pragma solidity ^0.8.0;

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

/**
 * @dev _Available since v3.1._
 */
interface IERC1155Receiver is IERC165 {
    /**
        @dev Handles the receipt of a single ERC1155 token type. This function is
        called at the end of a `safeTransferFrom` after the balance has been updated.
        To accept the transfer, this must return
        `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))`
        (i.e. 0xf23a6e61, or its own function selector).
        @param operator The address which initiated the transfer (i.e. msg.sender)
        @param from The address which previously owned the token
        @param id The ID of the token being transferred
        @param value The amount of tokens being transferred
        @param data Additional data with no specified format
        @return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` if transfer is allowed
    */
    function onERC1155Received(
        address operator,
        address from,
        uint256 id,
        uint256 value,
        bytes calldata data
    ) external returns (bytes4);

    /**
        @dev Handles the receipt of a multiple ERC1155 token types. This function
        is called at the end of a `safeBatchTransferFrom` after the balances have
        been updated. To accept the transfer(s), this must return
        `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))`
        (i.e. 0xbc197c81, or its own function selector).
        @param operator The address which initiated the batch transfer (i.e. msg.sender)
        @param from The address which previously owned the token
        @param ids An array containing ids of each token being transferred (order and length must match values array)
        @param values An array containing amounts of each token being transferred (order and length must match ids array)
        @param data Additional data with no specified format
        @return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` if transfer is allowed
    */
    function onERC1155BatchReceived(
        address operator,
        address from,
        uint256[] calldata ids,
        uint256[] calldata values,
        bytes calldata data
    ) external returns (bytes4);
}

File 13 of 17 : IERC1155MetadataURI.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC1155.sol";

/**
 * @dev Interface of the optional ERC1155MetadataExtension interface, as defined
 * in the https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[EIP].
 *
 * _Available since v3.1._
 */
interface IERC1155MetadataURI is IERC1155 {
    /**
     * @dev Returns the URI for token type `id`.
     *
     * If the `\{id\}` substring is present in the URI, it must be replaced by
     * clients with the actual token type ID.
     */
    function uri(uint256 id) external view returns (string memory);
}

File 14 of 17 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 15 of 17 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

File 16 of 17 : ERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

File 17 of 17 : Pausable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

    bool private _paused;

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

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

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

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

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

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"contract IERC721Enumerable","name":"_club721","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","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":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"TransferBatch","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"TransferSingle","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"value","type":"string"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"URI","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_targets","type":"address[]"},{"internalType":"uint256","name":"_value","type":"uint256"},{"internalType":"bytes","name":"_payload","type":"bytes"}],"name":"batchAll","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"burnBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"club721","outputs":[{"internalType":"contract IERC721Enumerable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"_to","type":"address"},{"internalType":"uint256","name":"_value","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"doCall","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"exists","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"target","type":"address"}],"name":"listClub721Tokens","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxAmountPerMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_club721TokenId","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","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":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"ownerBurn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"ownerMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"name":"ownerMintBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"name":"ownerMintTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"quickMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"round","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeBatchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC721Enumerable","name":"_club721","type":"address"}],"name":"setClub721","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uri","type":"string"}],"name":"setContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxAmountPerMint","type":"uint256"}],"name":"setMaxAmountPerMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxSupply","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_round","type":"uint256"}],"name":"setRound","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"newState","type":"bool"}],"name":"setSaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"treasury_","type":"address"}],"name":"setTreasury","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"uri_","type":"string"}],"name":"setURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"treasury","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"usedToken","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6004805460ff60a81b191690556101206040526061608081815290620044c660a039805162000037916005916020909101906200017f565b50600680546001600160a01b03191673d06a5d3bae616fdaf9fd0fe9dcdd14b2aa097155179055612710600755600a600881905567016345785d8a0000600955600090553480156200008857600080fd5b506040516200452738038062004527833981016040819052620000ab9162000225565b6040518060800160405280605e815260200162004468605e9139620000d0816200010c565b506004805460ff19169055620000e63362000125565b600b80546001600160a01b0319166001600160a01b039290921691909117905562000292565b8051620001219060029060208401906200017f565b5050565b600480546001600160a01b03838116610100818102610100600160a81b031985161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200018d9062000255565b90600052602060002090601f016020900481019282620001b15760008555620001fc565b82601f10620001cc57805160ff1916838001178555620001fc565b82800160010185558215620001fc579182015b82811115620001fc578251825591602001919060010190620001df565b506200020a9291506200020e565b5090565b5b808211156200020a57600081556001016200020f565b60006020828403121562000237578081fd5b81516001600160a01b03811681146200024e578182fd5b9392505050565b600181811c908216806200026a57607f821691505b602082108114156200028c57634e487b7160e01b600052602260045260246000fd5b50919050565b6141c680620002a26000396000f3fe6080604052600436106103285760003560e01c80636b20c454116101a5578063ad8e75aa116100ec578063e8a3d48511610095578063f0f442601161006f578063f0f442601461090b578063f242432a1461092b578063f2fde38b1461094b578063f5298aca1461096b57600080fd5b8063e8a3d4851461088c578063e985e9c5146108a1578063eb8d2444146108ea57600080fd5b8063c4e37095116100c6578063c4e3709514610836578063d5abeb0114610856578063dc4febb81461086c57600080fd5b8063ad8e75aa146107c9578063bd85b039146107e9578063c00017861461081657600080fd5b8063938e3d7b1161014e5780639b75fcbc116101285780639b75fcbc14610758578063a035b1fe14610793578063a22cb465146107a957600080fd5b8063938e3d7b1461071857806395d89b41146103b25780639b624e7b1461073857600080fd5b80638456cb591161017f5780638456cb59146106c05780638da5cb5b146106d557806391b7f5ed146106f857600080fd5b80636b20c4541461066b5780636f8b44b01461068b578063715018a6146106ab57600080fd5b806324937bde116102745780634ab165541161021d57806351cff8d9116101f757806351cff8d9146105db5780635c975abb146105fb57806361d027b3146106135780636a8e56061461064b57600080fd5b80634ab165541461055f5780634e1273f41461057f5780634f558e79146105ac57600080fd5b80633ae282321161024e5780633ae28232146105175780633f4ba83a1461052a578063484b973c1461053f57600080fd5b806324937bde146104c157806327acc76d146104e15780632eb2c2d6146104f757600080fd5b806317d70f7c116102d65780631b2ef1ca116102b05780631b2ef1ca1461047b5780631d3d5a151461048e5780631d903cad146104ae57600080fd5b806317d70f7c1461043e57806318160ddd146104535780631abdc35a1461046857600080fd5b806306fdde031161030757806306fdde03146103b25780630e89341c14610408578063146ca5311461042857600080fd5b8062fdd58e1461032d57806301ffc9a71461036057806302fe530514610390575b600080fd5b34801561033957600080fd5b5061034d610348366004613ac7565b61098b565b6040519081526020015b60405180910390f35b34801561036c57600080fd5b5061038061037b366004613ce1565b610a34565b6040519015158152602001610357565b34801561039c57600080fd5b506103b06103ab366004613d59565b610ad1565b005b3480156103be57600080fd5b506103fb6040518060400160405280600681526020017f37323144414f000000000000000000000000000000000000000000000000000081525081565b6040516103579190613f6f565b34801561041457600080fd5b506103fb610423366004613da7565b610b2b565b34801561043457600080fd5b5061034d600a5481565b34801561044a57600080fd5b5061034d600081565b34801561045f57600080fd5b5061034d610b36565b6103fb61047636600461387d565b610b48565b6103b0610489366004613dd7565b610cab565b34801561049a57600080fd5b506103b06104a9366004613845565b61102c565b6103b06104bc366004613da7565b6110a9565b3480156104cd57600080fd5b506103b06104dc366004613a20565b6112ca565b3480156104ed57600080fd5b5061034d60085481565b34801561050357600080fd5b506103b061051236600461390f565b611333565b6103b0610525366004613b83565b6113d5565b34801561053657600080fd5b506103b061157e565b34801561054b57600080fd5b506103b061055a366004613ac7565b6115d6565b34801561056b57600080fd5b506103b061057a366004613b26565b611640565b34801561058b57600080fd5b5061059f61059a366004613bfa565b611796565b6040516103579190613f2e565b3480156105b857600080fd5b506103806105c7366004613da7565b600090815260036020526040902054151590565b3480156105e757600080fd5b506103b06105f6366004613845565b61190c565b34801561060757600080fd5b5060045460ff16610380565b34801561061f57600080fd5b50600654610633906001600160a01b031681565b6040516001600160a01b039091168152602001610357565b34801561065757600080fd5b50600b54610633906001600160a01b031681565b34801561067757600080fd5b506103b0610686366004613a20565b6119a0565b34801561069757600080fd5b506103b06106a6366004613da7565b611a25565b3480156106b757600080fd5b506103b0611a78565b3480156106cc57600080fd5b506103b0611ad0565b3480156106e157600080fd5b5060045461010090046001600160a01b0316610633565b34801561070457600080fd5b506103b0610713366004613da7565b611b26565b34801561072457600080fd5b506103b0610733366004613d19565b611b79565b34801561074457600080fd5b506103b0610753366004613da7565b611bd3565b34801561076457600080fd5b50610380610773366004613dd7565b600c60209081526000928352604080842090915290825290205460ff1681565b34801561079f57600080fd5b5061034d60095481565b3480156107b557600080fd5b506103b06107c4366004613a93565b611c26565b3480156107d557600080fd5b506103b06107e4366004613da7565b611d11565b3480156107f557600080fd5b5061034d610804366004613da7565b60009081526003602052604090205490565b34801561082257600080fd5b506103b0610831366004613ac7565b611d64565b34801561084257600080fd5b506103b0610851366004613cc7565b611dbe565b34801561086257600080fd5b5061034d60075481565b34801561087857600080fd5b5061059f610887366004613845565b611e5c565b34801561089857600080fd5b506103fb61200d565b3480156108ad57600080fd5b506103806108bc3660046138d7565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205460ff1690565b3480156108f657600080fd5b5060045461038090600160a81b900460ff1681565b34801561091757600080fd5b506103b0610926366004613845565b61209b565b34801561093757600080fd5b506103b06109463660046139b9565b612118565b34801561095757600080fd5b506103b0610966366004613845565b61219f565b34801561097757600080fd5b506103b0610986366004613af2565b612272565b60006001600160a01b038316610a0e5760405162461bcd60e51b815260206004820152602b60248201527f455243313135353a2062616c616e636520717565727920666f7220746865207a60448201527f65726f206164647265737300000000000000000000000000000000000000000060648201526084015b60405180910390fd5b506000908152602081815260408083206001600160a01b03949094168352929052205490565b60006001600160e01b031982167fd9b67a26000000000000000000000000000000000000000000000000000000001480610a9757506001600160e01b031982167f0e89341c00000000000000000000000000000000000000000000000000000000145b80610acb57507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b03198316145b92915050565b6004546001600160a01b03610100909104163314610b1f5760405162461bcd60e51b815260206004820181905260248201526000805160206141718339815191526044820152606401610a05565b610b28816122f7565b50565b6060610acb8261230a565b6000610b43816001613fa6565b905090565b6004546060906001600160a01b03610100909104163314610b995760405162461bcd60e51b815260206004820181905260248201526000805160206141718339815191526044820152606401610a05565b6001600160a01b038516610bef5760405162461bcd60e51b815260206004820152601360248201527f44414f3732313a206e696c2061646472657373000000000000000000000000006044820152606401610a05565b600080866001600160a01b0316868686604051610c0d929190613e7d565b60006040518083038185875af1925050503d8060008114610c4a576040519150601f19603f3d011682016040523d82523d6000602084013e610c4f565b606091505b509150915081610ca15760405162461bcd60e51b815260206004820152601460248201527f44414f3732313a20646f43616c6c206661696c2e0000000000000000000000006044820152606401610a05565b9695505050505050565b600454600160a81b900460ff16610d045760405162461bcd60e51b815260206004820152601860248201527f44414f3732313a2043616e6e6f74206d696e74206e6f772e00000000000000006044820152606401610a05565b60018110158015610d1757506008548111155b610d635760405162461bcd60e51b815260206004820152601760248201527f44414f3732313a20496e76616c696420616d6f756e742e0000000000000000006044820152606401610a05565b6007546000805260036020527f3617319a054d772f909f7c479a2cebe5066e836a939412e32403c99029b92eff54610d9c908390613fa6565b1115610dea5760405162461bcd60e51b815260206004820152601d60248201527f44414f3732313a20737570706c792072656163686564206c696d69742e0000006044820152606401610a05565b600a546000908152600c6020908152604080832085845290915290205460ff1615610e575760405162461bcd60e51b815260206004820152601b60248201527f44414f3732313a20436c756237323120746f6b656e20757365642e00000000006044820152606401610a05565b600b546040517f6352211e0000000000000000000000000000000000000000000000000000000081526004810184905233916001600160a01b031690636352211e9060240160206040518083038186803b158015610eb457600080fd5b505afa158015610ec8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eec9190613861565b6001600160a01b031614610f425760405162461bcd60e51b815260206004820152601b60248201527f44414f3732313a204e6f74206f776e20636c756220746f6b656e2e00000000006044820152606401610a05565b3460095482610f519190613fbe565b14610f9e5760405162461bcd60e51b815260206004820152601960248201527f44414f3732313a20496e636f7272656374206574686572732e000000000000006044820152606401610a05565b600a546000908152600c602090815260408083208584528252808320805460ff1916600117905580519182019052818152610fdc913391849061239e565b6006546001600160a01b031615611028576006546040516001600160a01b03909116904780156108fc02916000818181858888f19350505050158015611026573d6000803e3d6000fd5b505b5050565b6004546001600160a01b0361010090910416331461107a5760405162461bcd60e51b815260206004820181905260248201526000805160206141718339815191526044820152606401610a05565b600b805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b600b546040516370a0823160e01b81523360048201526000916001600160a01b0316906370a082319060240160206040518083038186803b1580156110ed57600080fd5b505afa158015611101573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111259190613dbf565b90506000811161119d5760405162461bcd60e51b815260206004820152602e60248201527f44414f3732313a2073686f756c64206f776e206174206c65617374206f6e652060448201527f636c756237323120746f6b656e2e0000000000000000000000000000000000006064820152608401610a05565b60005b81811080156111af5750601e81105b1561128157600b54604051632f745c5960e01b8152336004820152602481018390526000916001600160a01b031690632f745c599060440160206040518083038186803b1580156111ff57600080fd5b505afa158015611213573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112379190613dbf565b600a546000908152600c6020908152604080832084845290915290205490915060ff1661126e576112688185610cab565b50505050565b50806112798161405c565b9150506111a0565b5060405162461bcd60e51b815260206004820181905260248201527f44414f3732313a20616c6c20636c756237323120746f6b656e7320757365642e6044820152606401610a05565b6004546001600160a01b036101009091041633146113185760405162461bcd60e51b815260206004820181905260248201526000805160206141718339815191526044820152606401610a05565b611026838383604051806020016040528060008152506123aa565b6001600160a01b03851633148061134f575061134f85336108bc565b6113c15760405162461bcd60e51b815260206004820152603260248201527f455243313135353a207472616e736665722063616c6c6572206973206e6f742060448201527f6f776e6572206e6f7220617070726f76656400000000000000000000000000006064820152608401610a05565b6113ce85858585856123b6565b5050505050565b6004546001600160a01b036101009091041633146114235760405162461bcd60e51b815260206004820181905260248201526000805160206141718339815191526044820152606401610a05565b836114705760405162461bcd60e51b815260206004820152601b60248201527f44414f3732313a205f746172676574732e6c656e677468203d203000000000006044820152606401610a05565b60005b848110156115765760008087878481811061149e57634e487b7160e01b600052603260045260246000fd5b90506020020160208101906114b39190613845565b6001600160a01b03168686866040516114cd929190613e7d565b60006040518083038185875af1925050503d806000811461150a576040519150601f19603f3d011682016040523d82523d6000602084013e61150f565b606091505b5091509150816115615760405162461bcd60e51b815260206004820152601660248201527f44414f3732313a206261746368416c6c206661696c2e000000000000000000006044820152606401610a05565b5050808061156e9061405c565b915050611473565b505050505050565b6004546001600160a01b036101009091041633146115cc5760405162461bcd60e51b815260206004820181905260248201526000805160206141718339815191526044820152606401610a05565b6115d4612636565b565b6004546001600160a01b036101009091041633146116245760405162461bcd60e51b815260206004820181905260248201526000805160206141718339815191526044820152606401610a05565b611028826000836040518060200160405280600081525061239e565b6004546001600160a01b0361010090910416331461168e5760405162461bcd60e51b815260206004820181905260248201526000805160206141718339815191526044820152606401610a05565b8281146117035760405162461bcd60e51b815260206004820152602c60248201527f44414f3732313a206163636f756e747320616e6420616d6f756e7473206c656e60448201527f677468206d69736d6174636800000000000000000000000000000000000000006064820152608401610a05565b60005b838110156113ce5761178485858381811061173157634e487b7160e01b600052603260045260246000fd5b90506020020160208101906117469190613845565b600085858581811061176857634e487b7160e01b600052603260045260246000fd5b905060200201356040518060200160405280600081525061239e565b8061178e8161405c565b915050611706565b6060815183511461180f5760405162461bcd60e51b815260206004820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e67746860448201527f206d69736d6174636800000000000000000000000000000000000000000000006064820152608401610a05565b6000835167ffffffffffffffff81111561183957634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015611862578160200160208202803683370190505b50905060005b8451811015611904576118c985828151811061189457634e487b7160e01b600052603260045260246000fd5b60200260200101518583815181106118bc57634e487b7160e01b600052603260045260246000fd5b602002602001015161098b565b8282815181106118e957634e487b7160e01b600052603260045260246000fd5b60209081029190910101526118fd8161405c565b9050611868565b509392505050565b6004546001600160a01b0361010090910416331461195a5760405162461bcd60e51b815260206004820181905260248201526000805160206141718339815191526044820152606401610a05565b6001600160a01b03811661196b5750335b6040516001600160a01b038216904780156108fc02916000818181858888f19350505050158015611028573d6000803e3d6000fd5b6001600160a01b0383163314806119bc57506119bc83336108bc565b611a1a5760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260448201526808185c1c1c9bdd995960ba1b6064820152608401610a05565b6110268383836126d2565b6004546001600160a01b03610100909104163314611a735760405162461bcd60e51b815260206004820181905260248201526000805160206141718339815191526044820152606401610a05565b600755565b6004546001600160a01b03610100909104163314611ac65760405162461bcd60e51b815260206004820181905260248201526000805160206141718339815191526044820152606401610a05565b6115d460006126dd565b6004546001600160a01b03610100909104163314611b1e5760405162461bcd60e51b815260206004820181905260248201526000805160206141718339815191526044820152606401610a05565b6115d461274e565b6004546001600160a01b03610100909104163314611b745760405162461bcd60e51b815260206004820181905260248201526000805160206141718339815191526044820152606401610a05565b600955565b6004546001600160a01b03610100909104163314611bc75760405162461bcd60e51b815260206004820181905260248201526000805160206141718339815191526044820152606401610a05565b611026600583836135a1565b6004546001600160a01b03610100909104163314611c215760405162461bcd60e51b815260206004820181905260248201526000805160206141718339815191526044820152606401610a05565b600a55565b336001600160a01b0383161415611ca55760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2073657474696e6720617070726f76616c2073746174757360448201527f20666f722073656c6600000000000000000000000000000000000000000000006064820152608401610a05565b3360008181526001602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6004546001600160a01b03610100909104163314611d5f5760405162461bcd60e51b815260206004820181905260248201526000805160206141718339815191526044820152606401610a05565b600855565b6004546001600160a01b03610100909104163314611db25760405162461bcd60e51b815260206004820181905260248201526000805160206141718339815191526044820152606401610a05565b611028826000836127d6565b6004546001600160a01b03610100909104163314611e0c5760405162461bcd60e51b815260206004820181905260248201526000805160206141718339815191526044820152606401610a05565b6004805482158015600160a81b027fffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffff90921691909117909155610b285760045460ff1615610b2857610b28612636565b600b546040516370a0823160e01b81526001600160a01b0383811660048301526060926000929116906370a082319060240160206040518083038186803b158015611ea657600080fd5b505afa158015611eba573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ede9190613dbf565b905060008167ffffffffffffffff811115611f0957634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015611f32578160200160208202803683370190505b50905060005b8281108015611f475750603281105b1561190457600b54604051632f745c5960e01b81526001600160a01b0387811660048301526024820184905290911690632f745c599060440160206040518083038186803b158015611f9857600080fd5b505afa158015611fac573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611fd09190613dbf565b828281518110611ff057634e487b7160e01b600052603260045260246000fd5b6020908102919091010152806120058161405c565b915050611f38565b6005805461201a90613ff4565b80601f016020809104026020016040519081016040528092919081815260200182805461204690613ff4565b80156120935780601f1061206857610100808354040283529160200191612093565b820191906000526020600020905b81548152906001019060200180831161207657829003601f168201915b505050505081565b6004546001600160a01b036101009091041633146120e95760405162461bcd60e51b815260206004820181905260248201526000805160206141718339815191526044820152606401610a05565b6006805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b6001600160a01b038516331480612134575061213485336108bc565b6121925760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260448201526808185c1c1c9bdd995960ba1b6064820152608401610a05565b6113ce85858585856127e1565b6004546001600160a01b036101009091041633146121ed5760405162461bcd60e51b815260206004820181905260248201526000805160206141718339815191526044820152606401610a05565b6001600160a01b0381166122695760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610a05565b610b28816126dd565b6001600160a01b03831633148061228e575061228e83336108bc565b6122ec5760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260448201526808185c1c1c9bdd995960ba1b6064820152608401610a05565b6110268383836127d6565b8051611028906002906020840190613625565b60606002805461231990613ff4565b80601f016020809104026020016040519081016040528092919081815260200182805461234590613ff4565b80156123925780601f1061236757610100808354040283529160200191612392565b820191906000526020600020905b81548152906001019060200180831161237557829003601f168201915b50505050509050919050565b6112688484848461298e565b611268848484846129c3565b81518351146124185760405162461bcd60e51b815260206004820152602860248201527f455243313135353a2069647320616e6420616d6f756e7473206c656e677468206044820152670dad2e6dac2e8c6d60c31b6064820152608401610a05565b6001600160a01b03841661247c5760405162461bcd60e51b815260206004820152602560248201527f455243313135353a207472616e7366657220746f20746865207a65726f206164604482015264647265737360d81b6064820152608401610a05565b3361248b818787878787612a62565b60005b84518110156125d05760008582815181106124b957634e487b7160e01b600052603260045260246000fd5b6020026020010151905060008583815181106124e557634e487b7160e01b600052603260045260246000fd5b602090810291909101810151600084815280835260408082206001600160a01b038e1683529093529190912054909150818110156125785760405162461bcd60e51b815260206004820152602a60248201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60448201526939103a3930b739b332b960b11b6064820152608401610a05565b6000838152602081815260408083206001600160a01b038e8116855292528083208585039055908b168252812080548492906125b5908490613fa6565b92505081905550505050806125c99061405c565b905061248e565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051612620929190613f41565b60405180910390a4611576818787878787612a70565b60045460ff166126885760405162461bcd60e51b815260206004820152601460248201527f5061757361626c653a206e6f74207061757365640000000000000000000000006044820152606401610a05565b6004805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b611026838383612c25565b600480546001600160a01b038381166101008181027fffffffffffffffffffffff0000000000000000000000000000000000000000ff85161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60045460ff16156127a15760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a20706175736564000000000000000000000000000000006044820152606401610a05565b6004805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586126b53390565b611026838383612cc3565b6001600160a01b0384166128455760405162461bcd60e51b815260206004820152602560248201527f455243313135353a207472616e7366657220746f20746865207a65726f206164604482015264647265737360d81b6064820152608401610a05565b3361286481878761285588612cf6565b61285e88612cf6565b87612a62565b6000848152602081815260408083206001600160a01b038a168452909152902054838110156128e85760405162461bcd60e51b815260206004820152602a60248201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60448201526939103a3930b739b332b960b11b6064820152608401610a05565b6000858152602081815260408083206001600160a01b038b8116855292528083208785039055908816825281208054869290612925908490613fa6565b909155505060408051868152602081018690526001600160a01b03808916928a821692918616917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4612985828888888888612d4f565b50505050505050565b61299a84848484612e5a565b600083815260036020526040812080548492906129b8908490613fa6565b909155505050505050565b6129cf84848484612f5b565b60005b83518110156113ce578281815181106129fb57634e487b7160e01b600052603260045260246000fd5b602002602001015160036000868481518110612a2757634e487b7160e01b600052603260045260246000fd5b602002602001015181526020019081526020016000206000828254612a4c9190613fa6565b90915550612a5b90508161405c565b90506129d2565b61157686868686868661314c565b6001600160a01b0384163b156115765760405163bc197c8160e01b81526001600160a01b0385169063bc197c8190612ab49089908990889088908890600401613e8d565b602060405180830381600087803b158015612ace57600080fd5b505af1925050508015612afe575060408051601f3d908101601f19168201909252612afb91810190613cfd565b60015b612bb457612b0a6140a3565b806308c379a01415612b445750612b1f6140bb565b80612b2a5750612b46565b8060405162461bcd60e51b8152600401610a059190613f6f565b505b60405162461bcd60e51b815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e204552433131353560448201527f526563656976657220696d706c656d656e7465720000000000000000000000006064820152608401610a05565b6001600160e01b0319811663bc197c8160e01b146129855760405162461bcd60e51b815260206004820152602860248201527f455243313135353a204552433131353552656365697665722072656a656374656044820152676420746f6b656e7360c01b6064820152608401610a05565b612c308383836131c5565b60005b825181101561126857818181518110612c5c57634e487b7160e01b600052603260045260246000fd5b602002602001015160036000858481518110612c8857634e487b7160e01b600052603260045260246000fd5b602002602001015181526020019081526020016000206000828254612cad9190613fdd565b90915550612cbc90508161405c565b9050612c33565b612cce838383613428565b60008281526003602052604081208054839290612cec908490613fdd565b9091555050505050565b60408051600180825281830190925260609160009190602080830190803683370190505090508281600081518110612d3e57634e487b7160e01b600052603260045260246000fd5b602090810291909101015292915050565b6001600160a01b0384163b156115765760405163f23a6e6160e01b81526001600160a01b0385169063f23a6e6190612d939089908990889088908890600401613eeb565b602060405180830381600087803b158015612dad57600080fd5b505af1925050508015612ddd575060408051601f3d908101601f19168201909252612dda91810190613cfd565b60015b612de957612b0a6140a3565b6001600160e01b0319811663f23a6e6160e01b146129855760405162461bcd60e51b815260206004820152602860248201527f455243313135353a204552433131353552656365697665722072656a656374656044820152676420746f6b656e7360c01b6064820152608401610a05565b6001600160a01b038416612eba5760405162461bcd60e51b815260206004820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b6064820152608401610a05565b33612ecb8160008761285588612cf6565b6000848152602081815260408083206001600160a01b038916845290915281208054859290612efb908490613fa6565b909155505060408051858152602081018590526001600160a01b0380881692600092918516917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a46113ce81600087878787612d4f565b6001600160a01b038416612fbb5760405162461bcd60e51b815260206004820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b6064820152608401610a05565b815183511461301d5760405162461bcd60e51b815260206004820152602860248201527f455243313135353a2069647320616e6420616d6f756e7473206c656e677468206044820152670dad2e6dac2e8c6d60c31b6064820152608401610a05565b3361302d81600087878787612a62565b60005b84518110156130e45783818151811061305957634e487b7160e01b600052603260045260246000fd5b602002602001015160008087848151811061308457634e487b7160e01b600052603260045260246000fd5b602002602001015181526020019081526020016000206000886001600160a01b03166001600160a01b0316815260200190815260200160002060008282546130cc9190613fa6565b909155508190506130dc8161405c565b915050613030565b50846001600160a01b031660006001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051613135929190613f41565b60405180910390a46113ce81600087878787612a70565b60045460ff16156115765760405162461bcd60e51b815260206004820152602c60248201527f455243313135355061757361626c653a20746f6b656e207472616e736665722060448201527f7768696c652070617573656400000000000000000000000000000000000000006064820152608401610a05565b6001600160a01b0383166132275760405162461bcd60e51b815260206004820152602360248201527f455243313135353a206275726e2066726f6d20746865207a65726f206164647260448201526265737360e81b6064820152608401610a05565b80518251146132895760405162461bcd60e51b815260206004820152602860248201527f455243313135353a2069647320616e6420616d6f756e7473206c656e677468206044820152670dad2e6dac2e8c6d60c31b6064820152608401610a05565b60003390506132ac81856000868660405180602001604052806000815250612a62565b60005b83518110156133c95760008482815181106132da57634e487b7160e01b600052603260045260246000fd5b60200260200101519050600084838151811061330657634e487b7160e01b600052603260045260246000fd5b602090810291909101810151600084815280835260408082206001600160a01b038c1683529093529190912054909150818110156133925760405162461bcd60e51b8152602060048201526024808201527f455243313135353a206275726e20616d6f756e7420657863656564732062616c604482015263616e636560e01b6064820152608401610a05565b6000928352602083815260408085206001600160a01b038b16865290915290922091039055806133c18161405c565b9150506132af565b5060006001600160a01b0316846001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb868660405161341a929190613f41565b60405180910390a450505050565b6001600160a01b03831661348a5760405162461bcd60e51b815260206004820152602360248201527f455243313135353a206275726e2066726f6d20746865207a65726f206164647260448201526265737360e81b6064820152608401610a05565b336134b98185600061349b87612cf6565b6134a487612cf6565b60405180602001604052806000815250612a62565b6000838152602081815260408083206001600160a01b0388168452909152902054828110156135365760405162461bcd60e51b8152602060048201526024808201527f455243313135353a206275726e20616d6f756e7420657863656564732062616c604482015263616e636560e01b6064820152608401610a05565b6000848152602081815260408083206001600160a01b03898116808652918452828520888703905582518981529384018890529092908616917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a45050505050565b8280546135ad90613ff4565b90600052602060002090601f0160209004810192826135cf5760008555613615565b82601f106135e85782800160ff19823516178555613615565b82800160010185558215613615579182015b828111156136155782358255916020019190600101906135fa565b50613621929150613699565b5090565b82805461363190613ff4565b90600052602060002090601f0160209004810192826136535760008555613615565b82601f1061366c57805160ff1916838001178555613615565b82800160010185558215613615579182015b8281111561361557825182559160200191906001019061367e565b5b80821115613621576000815560010161369a565b600067ffffffffffffffff8311156136c8576136c861408d565b6040516136df601f8501601f19166020018261402f565b8091508381528484840111156136f457600080fd5b83836020830137600060208583010152509392505050565b60008083601f84011261371d578182fd5b50813567ffffffffffffffff811115613734578182fd5b6020830191508360208260051b850101111561374f57600080fd5b9250929050565b600082601f830112613766578081fd5b8135602061377382613f82565b604051613780828261402f565b8381528281019150858301600585901b8701840188101561379f578586fd5b855b858110156137bd578135845292840192908401906001016137a1565b5090979650505050505050565b803580151581146137da57600080fd5b919050565b60008083601f8401126137f0578182fd5b50813567ffffffffffffffff811115613807578182fd5b60208301915083602082850101111561374f57600080fd5b600082601f83011261382f578081fd5b61383e838335602085016136ae565b9392505050565b600060208284031215613856578081fd5b813561383e81614145565b600060208284031215613872578081fd5b815161383e81614145565b60008060008060608587031215613892578283fd5b843561389d81614145565b935060208501359250604085013567ffffffffffffffff8111156138bf578283fd5b6138cb878288016137df565b95989497509550505050565b600080604083850312156138e9578182fd5b82356138f481614145565b9150602083013561390481614145565b809150509250929050565b600080600080600060a08688031215613926578081fd5b853561393181614145565b9450602086013561394181614145565b9350604086013567ffffffffffffffff8082111561395d578283fd5b61396989838a01613756565b9450606088013591508082111561397e578283fd5b61398a89838a01613756565b9350608088013591508082111561399f578283fd5b506139ac8882890161381f565b9150509295509295909350565b600080600080600060a086880312156139d0578283fd5b85356139db81614145565b945060208601356139eb81614145565b93506040860135925060608601359150608086013567ffffffffffffffff811115613a14578182fd5b6139ac8882890161381f565b600080600060608486031215613a34578081fd5b8335613a3f81614145565b9250602084013567ffffffffffffffff80821115613a5b578283fd5b613a6787838801613756565b93506040860135915080821115613a7c578283fd5b50613a8986828701613756565b9150509250925092565b60008060408385031215613aa5578182fd5b8235613ab081614145565b9150613abe602084016137ca565b90509250929050565b60008060408385031215613ad9578182fd5b8235613ae481614145565b946020939093013593505050565b600080600060608486031215613b06578081fd5b8335613b1181614145565b95602085013595506040909401359392505050565b60008060008060408587031215613b3b578182fd5b843567ffffffffffffffff80821115613b52578384fd5b613b5e8883890161370c565b90965094506020870135915080821115613b76578384fd5b506138cb8782880161370c565b600080600080600060608688031215613b9a578283fd5b853567ffffffffffffffff80821115613bb1578485fd5b613bbd89838a0161370c565b9097509550602088013594506040880135915080821115613bdc578283fd5b50613be9888289016137df565b969995985093965092949392505050565b60008060408385031215613c0c578182fd5b823567ffffffffffffffff80821115613c23578384fd5b818501915085601f830112613c36578384fd5b81356020613c4382613f82565b604051613c50828261402f565b8381528281019150858301600585901b870184018b1015613c6f578889fd5b8896505b84871015613c9a578035613c8681614145565b835260019690960195918301918301613c73565b5096505086013592505080821115613cb0578283fd5b50613cbd85828601613756565b9150509250929050565b600060208284031215613cd8578081fd5b61383e826137ca565b600060208284031215613cf2578081fd5b813561383e8161415a565b600060208284031215613d0e578081fd5b815161383e8161415a565b60008060208385031215613d2b578182fd5b823567ffffffffffffffff811115613d41578283fd5b613d4d858286016137df565b90969095509350505050565b600060208284031215613d6a578081fd5b813567ffffffffffffffff811115613d80578182fd5b8201601f81018413613d90578182fd5b613d9f848235602084016136ae565b949350505050565b600060208284031215613db8578081fd5b5035919050565b600060208284031215613dd0578081fd5b5051919050565b60008060408385031215613de9578182fd5b50508035926020909101359150565b6000815180845260208085019450808401835b83811015613e2757815187529582019590820190600101613e0b565b509495945050505050565b60008151808452815b81811015613e5757602081850181015186830182015201613e3b565b81811115613e685782602083870101525b50601f01601f19169290920160200192915050565b8183823760009101908152919050565b60006001600160a01b03808816835280871660208401525060a06040830152613eb960a0830186613df8565b8281036060840152613ecb8186613df8565b90508281036080840152613edf8185613e32565b98975050505050505050565b60006001600160a01b03808816835280871660208401525084604083015283606083015260a06080830152613f2360a0830184613e32565b979650505050505050565b60208152600061383e6020830184613df8565b604081526000613f546040830185613df8565b8281036020840152613f668185613df8565b95945050505050565b60208152600061383e6020830184613e32565b600067ffffffffffffffff821115613f9c57613f9c61408d565b5060051b60200190565b60008219821115613fb957613fb9614077565b500190565b6000816000190483118215151615613fd857613fd8614077565b500290565b600082821015613fef57613fef614077565b500390565b600181811c9082168061400857607f821691505b6020821081141561402957634e487b7160e01b600052602260045260246000fd5b50919050565b601f8201601f1916810167ffffffffffffffff811182821017156140555761405561408d565b6040525050565b600060001982141561407057614070614077565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b600060033d11156140b857600481823e5160e01c5b90565b600060443d10156140c95790565b6040516003193d81016004833e81513d67ffffffffffffffff81602484011181841117156140f957505050505090565b82850191508151818111156141115750505050505090565b843d870101602082850101111561412b5750505050505090565b61413a6020828601018761402f565b509095945050505050565b6001600160a01b0381168114610b2857600080fd5b6001600160e01b031981168114610b2857600080fdfe4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572a2646970667358221220db72bd7cd3c124c1016c79ec9c5c43cfa67ca2fcc2fc6506c341a8b0ada280fa64736f6c6343000804003368747470733a2f2f696e667572612d697066732e696f2f697066732f516d5664745a523353647a6b4b4337524e7056634c4e4c625743527a726f69694d45524531516b357950334e56543f66696c656e616d653d746f6b656e2e6a736f6e68747470733a2f2f696e667572612d697066732e696f2f697066732f516d514e4e6667527179655a73737943336837556a41546a397144555062566a4c546268453158686932367078623f66696c656e616d653d636f6e74726163742e6a736f6e0000000000000000000000005219c2f6f8ed1e76c937ed1269eda2658ba3c721

Deployed Bytecode

0x6080604052600436106103285760003560e01c80636b20c454116101a5578063ad8e75aa116100ec578063e8a3d48511610095578063f0f442601161006f578063f0f442601461090b578063f242432a1461092b578063f2fde38b1461094b578063f5298aca1461096b57600080fd5b8063e8a3d4851461088c578063e985e9c5146108a1578063eb8d2444146108ea57600080fd5b8063c4e37095116100c6578063c4e3709514610836578063d5abeb0114610856578063dc4febb81461086c57600080fd5b8063ad8e75aa146107c9578063bd85b039146107e9578063c00017861461081657600080fd5b8063938e3d7b1161014e5780639b75fcbc116101285780639b75fcbc14610758578063a035b1fe14610793578063a22cb465146107a957600080fd5b8063938e3d7b1461071857806395d89b41146103b25780639b624e7b1461073857600080fd5b80638456cb591161017f5780638456cb59146106c05780638da5cb5b146106d557806391b7f5ed146106f857600080fd5b80636b20c4541461066b5780636f8b44b01461068b578063715018a6146106ab57600080fd5b806324937bde116102745780634ab165541161021d57806351cff8d9116101f757806351cff8d9146105db5780635c975abb146105fb57806361d027b3146106135780636a8e56061461064b57600080fd5b80634ab165541461055f5780634e1273f41461057f5780634f558e79146105ac57600080fd5b80633ae282321161024e5780633ae28232146105175780633f4ba83a1461052a578063484b973c1461053f57600080fd5b806324937bde146104c157806327acc76d146104e15780632eb2c2d6146104f757600080fd5b806317d70f7c116102d65780631b2ef1ca116102b05780631b2ef1ca1461047b5780631d3d5a151461048e5780631d903cad146104ae57600080fd5b806317d70f7c1461043e57806318160ddd146104535780631abdc35a1461046857600080fd5b806306fdde031161030757806306fdde03146103b25780630e89341c14610408578063146ca5311461042857600080fd5b8062fdd58e1461032d57806301ffc9a71461036057806302fe530514610390575b600080fd5b34801561033957600080fd5b5061034d610348366004613ac7565b61098b565b6040519081526020015b60405180910390f35b34801561036c57600080fd5b5061038061037b366004613ce1565b610a34565b6040519015158152602001610357565b34801561039c57600080fd5b506103b06103ab366004613d59565b610ad1565b005b3480156103be57600080fd5b506103fb6040518060400160405280600681526020017f37323144414f000000000000000000000000000000000000000000000000000081525081565b6040516103579190613f6f565b34801561041457600080fd5b506103fb610423366004613da7565b610b2b565b34801561043457600080fd5b5061034d600a5481565b34801561044a57600080fd5b5061034d600081565b34801561045f57600080fd5b5061034d610b36565b6103fb61047636600461387d565b610b48565b6103b0610489366004613dd7565b610cab565b34801561049a57600080fd5b506103b06104a9366004613845565b61102c565b6103b06104bc366004613da7565b6110a9565b3480156104cd57600080fd5b506103b06104dc366004613a20565b6112ca565b3480156104ed57600080fd5b5061034d60085481565b34801561050357600080fd5b506103b061051236600461390f565b611333565b6103b0610525366004613b83565b6113d5565b34801561053657600080fd5b506103b061157e565b34801561054b57600080fd5b506103b061055a366004613ac7565b6115d6565b34801561056b57600080fd5b506103b061057a366004613b26565b611640565b34801561058b57600080fd5b5061059f61059a366004613bfa565b611796565b6040516103579190613f2e565b3480156105b857600080fd5b506103806105c7366004613da7565b600090815260036020526040902054151590565b3480156105e757600080fd5b506103b06105f6366004613845565b61190c565b34801561060757600080fd5b5060045460ff16610380565b34801561061f57600080fd5b50600654610633906001600160a01b031681565b6040516001600160a01b039091168152602001610357565b34801561065757600080fd5b50600b54610633906001600160a01b031681565b34801561067757600080fd5b506103b0610686366004613a20565b6119a0565b34801561069757600080fd5b506103b06106a6366004613da7565b611a25565b3480156106b757600080fd5b506103b0611a78565b3480156106cc57600080fd5b506103b0611ad0565b3480156106e157600080fd5b5060045461010090046001600160a01b0316610633565b34801561070457600080fd5b506103b0610713366004613da7565b611b26565b34801561072457600080fd5b506103b0610733366004613d19565b611b79565b34801561074457600080fd5b506103b0610753366004613da7565b611bd3565b34801561076457600080fd5b50610380610773366004613dd7565b600c60209081526000928352604080842090915290825290205460ff1681565b34801561079f57600080fd5b5061034d60095481565b3480156107b557600080fd5b506103b06107c4366004613a93565b611c26565b3480156107d557600080fd5b506103b06107e4366004613da7565b611d11565b3480156107f557600080fd5b5061034d610804366004613da7565b60009081526003602052604090205490565b34801561082257600080fd5b506103b0610831366004613ac7565b611d64565b34801561084257600080fd5b506103b0610851366004613cc7565b611dbe565b34801561086257600080fd5b5061034d60075481565b34801561087857600080fd5b5061059f610887366004613845565b611e5c565b34801561089857600080fd5b506103fb61200d565b3480156108ad57600080fd5b506103806108bc3660046138d7565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205460ff1690565b3480156108f657600080fd5b5060045461038090600160a81b900460ff1681565b34801561091757600080fd5b506103b0610926366004613845565b61209b565b34801561093757600080fd5b506103b06109463660046139b9565b612118565b34801561095757600080fd5b506103b0610966366004613845565b61219f565b34801561097757600080fd5b506103b0610986366004613af2565b612272565b60006001600160a01b038316610a0e5760405162461bcd60e51b815260206004820152602b60248201527f455243313135353a2062616c616e636520717565727920666f7220746865207a60448201527f65726f206164647265737300000000000000000000000000000000000000000060648201526084015b60405180910390fd5b506000908152602081815260408083206001600160a01b03949094168352929052205490565b60006001600160e01b031982167fd9b67a26000000000000000000000000000000000000000000000000000000001480610a9757506001600160e01b031982167f0e89341c00000000000000000000000000000000000000000000000000000000145b80610acb57507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b03198316145b92915050565b6004546001600160a01b03610100909104163314610b1f5760405162461bcd60e51b815260206004820181905260248201526000805160206141718339815191526044820152606401610a05565b610b28816122f7565b50565b6060610acb8261230a565b6000610b43816001613fa6565b905090565b6004546060906001600160a01b03610100909104163314610b995760405162461bcd60e51b815260206004820181905260248201526000805160206141718339815191526044820152606401610a05565b6001600160a01b038516610bef5760405162461bcd60e51b815260206004820152601360248201527f44414f3732313a206e696c2061646472657373000000000000000000000000006044820152606401610a05565b600080866001600160a01b0316868686604051610c0d929190613e7d565b60006040518083038185875af1925050503d8060008114610c4a576040519150601f19603f3d011682016040523d82523d6000602084013e610c4f565b606091505b509150915081610ca15760405162461bcd60e51b815260206004820152601460248201527f44414f3732313a20646f43616c6c206661696c2e0000000000000000000000006044820152606401610a05565b9695505050505050565b600454600160a81b900460ff16610d045760405162461bcd60e51b815260206004820152601860248201527f44414f3732313a2043616e6e6f74206d696e74206e6f772e00000000000000006044820152606401610a05565b60018110158015610d1757506008548111155b610d635760405162461bcd60e51b815260206004820152601760248201527f44414f3732313a20496e76616c696420616d6f756e742e0000000000000000006044820152606401610a05565b6007546000805260036020527f3617319a054d772f909f7c479a2cebe5066e836a939412e32403c99029b92eff54610d9c908390613fa6565b1115610dea5760405162461bcd60e51b815260206004820152601d60248201527f44414f3732313a20737570706c792072656163686564206c696d69742e0000006044820152606401610a05565b600a546000908152600c6020908152604080832085845290915290205460ff1615610e575760405162461bcd60e51b815260206004820152601b60248201527f44414f3732313a20436c756237323120746f6b656e20757365642e00000000006044820152606401610a05565b600b546040517f6352211e0000000000000000000000000000000000000000000000000000000081526004810184905233916001600160a01b031690636352211e9060240160206040518083038186803b158015610eb457600080fd5b505afa158015610ec8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eec9190613861565b6001600160a01b031614610f425760405162461bcd60e51b815260206004820152601b60248201527f44414f3732313a204e6f74206f776e20636c756220746f6b656e2e00000000006044820152606401610a05565b3460095482610f519190613fbe565b14610f9e5760405162461bcd60e51b815260206004820152601960248201527f44414f3732313a20496e636f7272656374206574686572732e000000000000006044820152606401610a05565b600a546000908152600c602090815260408083208584528252808320805460ff1916600117905580519182019052818152610fdc913391849061239e565b6006546001600160a01b031615611028576006546040516001600160a01b03909116904780156108fc02916000818181858888f19350505050158015611026573d6000803e3d6000fd5b505b5050565b6004546001600160a01b0361010090910416331461107a5760405162461bcd60e51b815260206004820181905260248201526000805160206141718339815191526044820152606401610a05565b600b805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b600b546040516370a0823160e01b81523360048201526000916001600160a01b0316906370a082319060240160206040518083038186803b1580156110ed57600080fd5b505afa158015611101573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111259190613dbf565b90506000811161119d5760405162461bcd60e51b815260206004820152602e60248201527f44414f3732313a2073686f756c64206f776e206174206c65617374206f6e652060448201527f636c756237323120746f6b656e2e0000000000000000000000000000000000006064820152608401610a05565b60005b81811080156111af5750601e81105b1561128157600b54604051632f745c5960e01b8152336004820152602481018390526000916001600160a01b031690632f745c599060440160206040518083038186803b1580156111ff57600080fd5b505afa158015611213573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112379190613dbf565b600a546000908152600c6020908152604080832084845290915290205490915060ff1661126e576112688185610cab565b50505050565b50806112798161405c565b9150506111a0565b5060405162461bcd60e51b815260206004820181905260248201527f44414f3732313a20616c6c20636c756237323120746f6b656e7320757365642e6044820152606401610a05565b6004546001600160a01b036101009091041633146113185760405162461bcd60e51b815260206004820181905260248201526000805160206141718339815191526044820152606401610a05565b611026838383604051806020016040528060008152506123aa565b6001600160a01b03851633148061134f575061134f85336108bc565b6113c15760405162461bcd60e51b815260206004820152603260248201527f455243313135353a207472616e736665722063616c6c6572206973206e6f742060448201527f6f776e6572206e6f7220617070726f76656400000000000000000000000000006064820152608401610a05565b6113ce85858585856123b6565b5050505050565b6004546001600160a01b036101009091041633146114235760405162461bcd60e51b815260206004820181905260248201526000805160206141718339815191526044820152606401610a05565b836114705760405162461bcd60e51b815260206004820152601b60248201527f44414f3732313a205f746172676574732e6c656e677468203d203000000000006044820152606401610a05565b60005b848110156115765760008087878481811061149e57634e487b7160e01b600052603260045260246000fd5b90506020020160208101906114b39190613845565b6001600160a01b03168686866040516114cd929190613e7d565b60006040518083038185875af1925050503d806000811461150a576040519150601f19603f3d011682016040523d82523d6000602084013e61150f565b606091505b5091509150816115615760405162461bcd60e51b815260206004820152601660248201527f44414f3732313a206261746368416c6c206661696c2e000000000000000000006044820152606401610a05565b5050808061156e9061405c565b915050611473565b505050505050565b6004546001600160a01b036101009091041633146115cc5760405162461bcd60e51b815260206004820181905260248201526000805160206141718339815191526044820152606401610a05565b6115d4612636565b565b6004546001600160a01b036101009091041633146116245760405162461bcd60e51b815260206004820181905260248201526000805160206141718339815191526044820152606401610a05565b611028826000836040518060200160405280600081525061239e565b6004546001600160a01b0361010090910416331461168e5760405162461bcd60e51b815260206004820181905260248201526000805160206141718339815191526044820152606401610a05565b8281146117035760405162461bcd60e51b815260206004820152602c60248201527f44414f3732313a206163636f756e747320616e6420616d6f756e7473206c656e60448201527f677468206d69736d6174636800000000000000000000000000000000000000006064820152608401610a05565b60005b838110156113ce5761178485858381811061173157634e487b7160e01b600052603260045260246000fd5b90506020020160208101906117469190613845565b600085858581811061176857634e487b7160e01b600052603260045260246000fd5b905060200201356040518060200160405280600081525061239e565b8061178e8161405c565b915050611706565b6060815183511461180f5760405162461bcd60e51b815260206004820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e67746860448201527f206d69736d6174636800000000000000000000000000000000000000000000006064820152608401610a05565b6000835167ffffffffffffffff81111561183957634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015611862578160200160208202803683370190505b50905060005b8451811015611904576118c985828151811061189457634e487b7160e01b600052603260045260246000fd5b60200260200101518583815181106118bc57634e487b7160e01b600052603260045260246000fd5b602002602001015161098b565b8282815181106118e957634e487b7160e01b600052603260045260246000fd5b60209081029190910101526118fd8161405c565b9050611868565b509392505050565b6004546001600160a01b0361010090910416331461195a5760405162461bcd60e51b815260206004820181905260248201526000805160206141718339815191526044820152606401610a05565b6001600160a01b03811661196b5750335b6040516001600160a01b038216904780156108fc02916000818181858888f19350505050158015611028573d6000803e3d6000fd5b6001600160a01b0383163314806119bc57506119bc83336108bc565b611a1a5760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260448201526808185c1c1c9bdd995960ba1b6064820152608401610a05565b6110268383836126d2565b6004546001600160a01b03610100909104163314611a735760405162461bcd60e51b815260206004820181905260248201526000805160206141718339815191526044820152606401610a05565b600755565b6004546001600160a01b03610100909104163314611ac65760405162461bcd60e51b815260206004820181905260248201526000805160206141718339815191526044820152606401610a05565b6115d460006126dd565b6004546001600160a01b03610100909104163314611b1e5760405162461bcd60e51b815260206004820181905260248201526000805160206141718339815191526044820152606401610a05565b6115d461274e565b6004546001600160a01b03610100909104163314611b745760405162461bcd60e51b815260206004820181905260248201526000805160206141718339815191526044820152606401610a05565b600955565b6004546001600160a01b03610100909104163314611bc75760405162461bcd60e51b815260206004820181905260248201526000805160206141718339815191526044820152606401610a05565b611026600583836135a1565b6004546001600160a01b03610100909104163314611c215760405162461bcd60e51b815260206004820181905260248201526000805160206141718339815191526044820152606401610a05565b600a55565b336001600160a01b0383161415611ca55760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2073657474696e6720617070726f76616c2073746174757360448201527f20666f722073656c6600000000000000000000000000000000000000000000006064820152608401610a05565b3360008181526001602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6004546001600160a01b03610100909104163314611d5f5760405162461bcd60e51b815260206004820181905260248201526000805160206141718339815191526044820152606401610a05565b600855565b6004546001600160a01b03610100909104163314611db25760405162461bcd60e51b815260206004820181905260248201526000805160206141718339815191526044820152606401610a05565b611028826000836127d6565b6004546001600160a01b03610100909104163314611e0c5760405162461bcd60e51b815260206004820181905260248201526000805160206141718339815191526044820152606401610a05565b6004805482158015600160a81b027fffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffff90921691909117909155610b285760045460ff1615610b2857610b28612636565b600b546040516370a0823160e01b81526001600160a01b0383811660048301526060926000929116906370a082319060240160206040518083038186803b158015611ea657600080fd5b505afa158015611eba573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ede9190613dbf565b905060008167ffffffffffffffff811115611f0957634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015611f32578160200160208202803683370190505b50905060005b8281108015611f475750603281105b1561190457600b54604051632f745c5960e01b81526001600160a01b0387811660048301526024820184905290911690632f745c599060440160206040518083038186803b158015611f9857600080fd5b505afa158015611fac573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611fd09190613dbf565b828281518110611ff057634e487b7160e01b600052603260045260246000fd5b6020908102919091010152806120058161405c565b915050611f38565b6005805461201a90613ff4565b80601f016020809104026020016040519081016040528092919081815260200182805461204690613ff4565b80156120935780601f1061206857610100808354040283529160200191612093565b820191906000526020600020905b81548152906001019060200180831161207657829003601f168201915b505050505081565b6004546001600160a01b036101009091041633146120e95760405162461bcd60e51b815260206004820181905260248201526000805160206141718339815191526044820152606401610a05565b6006805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b6001600160a01b038516331480612134575061213485336108bc565b6121925760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260448201526808185c1c1c9bdd995960ba1b6064820152608401610a05565b6113ce85858585856127e1565b6004546001600160a01b036101009091041633146121ed5760405162461bcd60e51b815260206004820181905260248201526000805160206141718339815191526044820152606401610a05565b6001600160a01b0381166122695760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610a05565b610b28816126dd565b6001600160a01b03831633148061228e575061228e83336108bc565b6122ec5760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260448201526808185c1c1c9bdd995960ba1b6064820152608401610a05565b6110268383836127d6565b8051611028906002906020840190613625565b60606002805461231990613ff4565b80601f016020809104026020016040519081016040528092919081815260200182805461234590613ff4565b80156123925780601f1061236757610100808354040283529160200191612392565b820191906000526020600020905b81548152906001019060200180831161237557829003601f168201915b50505050509050919050565b6112688484848461298e565b611268848484846129c3565b81518351146124185760405162461bcd60e51b815260206004820152602860248201527f455243313135353a2069647320616e6420616d6f756e7473206c656e677468206044820152670dad2e6dac2e8c6d60c31b6064820152608401610a05565b6001600160a01b03841661247c5760405162461bcd60e51b815260206004820152602560248201527f455243313135353a207472616e7366657220746f20746865207a65726f206164604482015264647265737360d81b6064820152608401610a05565b3361248b818787878787612a62565b60005b84518110156125d05760008582815181106124b957634e487b7160e01b600052603260045260246000fd5b6020026020010151905060008583815181106124e557634e487b7160e01b600052603260045260246000fd5b602090810291909101810151600084815280835260408082206001600160a01b038e1683529093529190912054909150818110156125785760405162461bcd60e51b815260206004820152602a60248201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60448201526939103a3930b739b332b960b11b6064820152608401610a05565b6000838152602081815260408083206001600160a01b038e8116855292528083208585039055908b168252812080548492906125b5908490613fa6565b92505081905550505050806125c99061405c565b905061248e565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051612620929190613f41565b60405180910390a4611576818787878787612a70565b60045460ff166126885760405162461bcd60e51b815260206004820152601460248201527f5061757361626c653a206e6f74207061757365640000000000000000000000006044820152606401610a05565b6004805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b611026838383612c25565b600480546001600160a01b038381166101008181027fffffffffffffffffffffff0000000000000000000000000000000000000000ff85161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60045460ff16156127a15760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a20706175736564000000000000000000000000000000006044820152606401610a05565b6004805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586126b53390565b611026838383612cc3565b6001600160a01b0384166128455760405162461bcd60e51b815260206004820152602560248201527f455243313135353a207472616e7366657220746f20746865207a65726f206164604482015264647265737360d81b6064820152608401610a05565b3361286481878761285588612cf6565b61285e88612cf6565b87612a62565b6000848152602081815260408083206001600160a01b038a168452909152902054838110156128e85760405162461bcd60e51b815260206004820152602a60248201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60448201526939103a3930b739b332b960b11b6064820152608401610a05565b6000858152602081815260408083206001600160a01b038b8116855292528083208785039055908816825281208054869290612925908490613fa6565b909155505060408051868152602081018690526001600160a01b03808916928a821692918616917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4612985828888888888612d4f565b50505050505050565b61299a84848484612e5a565b600083815260036020526040812080548492906129b8908490613fa6565b909155505050505050565b6129cf84848484612f5b565b60005b83518110156113ce578281815181106129fb57634e487b7160e01b600052603260045260246000fd5b602002602001015160036000868481518110612a2757634e487b7160e01b600052603260045260246000fd5b602002602001015181526020019081526020016000206000828254612a4c9190613fa6565b90915550612a5b90508161405c565b90506129d2565b61157686868686868661314c565b6001600160a01b0384163b156115765760405163bc197c8160e01b81526001600160a01b0385169063bc197c8190612ab49089908990889088908890600401613e8d565b602060405180830381600087803b158015612ace57600080fd5b505af1925050508015612afe575060408051601f3d908101601f19168201909252612afb91810190613cfd565b60015b612bb457612b0a6140a3565b806308c379a01415612b445750612b1f6140bb565b80612b2a5750612b46565b8060405162461bcd60e51b8152600401610a059190613f6f565b505b60405162461bcd60e51b815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e204552433131353560448201527f526563656976657220696d706c656d656e7465720000000000000000000000006064820152608401610a05565b6001600160e01b0319811663bc197c8160e01b146129855760405162461bcd60e51b815260206004820152602860248201527f455243313135353a204552433131353552656365697665722072656a656374656044820152676420746f6b656e7360c01b6064820152608401610a05565b612c308383836131c5565b60005b825181101561126857818181518110612c5c57634e487b7160e01b600052603260045260246000fd5b602002602001015160036000858481518110612c8857634e487b7160e01b600052603260045260246000fd5b602002602001015181526020019081526020016000206000828254612cad9190613fdd565b90915550612cbc90508161405c565b9050612c33565b612cce838383613428565b60008281526003602052604081208054839290612cec908490613fdd565b9091555050505050565b60408051600180825281830190925260609160009190602080830190803683370190505090508281600081518110612d3e57634e487b7160e01b600052603260045260246000fd5b602090810291909101015292915050565b6001600160a01b0384163b156115765760405163f23a6e6160e01b81526001600160a01b0385169063f23a6e6190612d939089908990889088908890600401613eeb565b602060405180830381600087803b158015612dad57600080fd5b505af1925050508015612ddd575060408051601f3d908101601f19168201909252612dda91810190613cfd565b60015b612de957612b0a6140a3565b6001600160e01b0319811663f23a6e6160e01b146129855760405162461bcd60e51b815260206004820152602860248201527f455243313135353a204552433131353552656365697665722072656a656374656044820152676420746f6b656e7360c01b6064820152608401610a05565b6001600160a01b038416612eba5760405162461bcd60e51b815260206004820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b6064820152608401610a05565b33612ecb8160008761285588612cf6565b6000848152602081815260408083206001600160a01b038916845290915281208054859290612efb908490613fa6565b909155505060408051858152602081018590526001600160a01b0380881692600092918516917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a46113ce81600087878787612d4f565b6001600160a01b038416612fbb5760405162461bcd60e51b815260206004820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b6064820152608401610a05565b815183511461301d5760405162461bcd60e51b815260206004820152602860248201527f455243313135353a2069647320616e6420616d6f756e7473206c656e677468206044820152670dad2e6dac2e8c6d60c31b6064820152608401610a05565b3361302d81600087878787612a62565b60005b84518110156130e45783818151811061305957634e487b7160e01b600052603260045260246000fd5b602002602001015160008087848151811061308457634e487b7160e01b600052603260045260246000fd5b602002602001015181526020019081526020016000206000886001600160a01b03166001600160a01b0316815260200190815260200160002060008282546130cc9190613fa6565b909155508190506130dc8161405c565b915050613030565b50846001600160a01b031660006001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051613135929190613f41565b60405180910390a46113ce81600087878787612a70565b60045460ff16156115765760405162461bcd60e51b815260206004820152602c60248201527f455243313135355061757361626c653a20746f6b656e207472616e736665722060448201527f7768696c652070617573656400000000000000000000000000000000000000006064820152608401610a05565b6001600160a01b0383166132275760405162461bcd60e51b815260206004820152602360248201527f455243313135353a206275726e2066726f6d20746865207a65726f206164647260448201526265737360e81b6064820152608401610a05565b80518251146132895760405162461bcd60e51b815260206004820152602860248201527f455243313135353a2069647320616e6420616d6f756e7473206c656e677468206044820152670dad2e6dac2e8c6d60c31b6064820152608401610a05565b60003390506132ac81856000868660405180602001604052806000815250612a62565b60005b83518110156133c95760008482815181106132da57634e487b7160e01b600052603260045260246000fd5b60200260200101519050600084838151811061330657634e487b7160e01b600052603260045260246000fd5b602090810291909101810151600084815280835260408082206001600160a01b038c1683529093529190912054909150818110156133925760405162461bcd60e51b8152602060048201526024808201527f455243313135353a206275726e20616d6f756e7420657863656564732062616c604482015263616e636560e01b6064820152608401610a05565b6000928352602083815260408085206001600160a01b038b16865290915290922091039055806133c18161405c565b9150506132af565b5060006001600160a01b0316846001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb868660405161341a929190613f41565b60405180910390a450505050565b6001600160a01b03831661348a5760405162461bcd60e51b815260206004820152602360248201527f455243313135353a206275726e2066726f6d20746865207a65726f206164647260448201526265737360e81b6064820152608401610a05565b336134b98185600061349b87612cf6565b6134a487612cf6565b60405180602001604052806000815250612a62565b6000838152602081815260408083206001600160a01b0388168452909152902054828110156135365760405162461bcd60e51b8152602060048201526024808201527f455243313135353a206275726e20616d6f756e7420657863656564732062616c604482015263616e636560e01b6064820152608401610a05565b6000848152602081815260408083206001600160a01b03898116808652918452828520888703905582518981529384018890529092908616917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a45050505050565b8280546135ad90613ff4565b90600052602060002090601f0160209004810192826135cf5760008555613615565b82601f106135e85782800160ff19823516178555613615565b82800160010185558215613615579182015b828111156136155782358255916020019190600101906135fa565b50613621929150613699565b5090565b82805461363190613ff4565b90600052602060002090601f0160209004810192826136535760008555613615565b82601f1061366c57805160ff1916838001178555613615565b82800160010185558215613615579182015b8281111561361557825182559160200191906001019061367e565b5b80821115613621576000815560010161369a565b600067ffffffffffffffff8311156136c8576136c861408d565b6040516136df601f8501601f19166020018261402f565b8091508381528484840111156136f457600080fd5b83836020830137600060208583010152509392505050565b60008083601f84011261371d578182fd5b50813567ffffffffffffffff811115613734578182fd5b6020830191508360208260051b850101111561374f57600080fd5b9250929050565b600082601f830112613766578081fd5b8135602061377382613f82565b604051613780828261402f565b8381528281019150858301600585901b8701840188101561379f578586fd5b855b858110156137bd578135845292840192908401906001016137a1565b5090979650505050505050565b803580151581146137da57600080fd5b919050565b60008083601f8401126137f0578182fd5b50813567ffffffffffffffff811115613807578182fd5b60208301915083602082850101111561374f57600080fd5b600082601f83011261382f578081fd5b61383e838335602085016136ae565b9392505050565b600060208284031215613856578081fd5b813561383e81614145565b600060208284031215613872578081fd5b815161383e81614145565b60008060008060608587031215613892578283fd5b843561389d81614145565b935060208501359250604085013567ffffffffffffffff8111156138bf578283fd5b6138cb878288016137df565b95989497509550505050565b600080604083850312156138e9578182fd5b82356138f481614145565b9150602083013561390481614145565b809150509250929050565b600080600080600060a08688031215613926578081fd5b853561393181614145565b9450602086013561394181614145565b9350604086013567ffffffffffffffff8082111561395d578283fd5b61396989838a01613756565b9450606088013591508082111561397e578283fd5b61398a89838a01613756565b9350608088013591508082111561399f578283fd5b506139ac8882890161381f565b9150509295509295909350565b600080600080600060a086880312156139d0578283fd5b85356139db81614145565b945060208601356139eb81614145565b93506040860135925060608601359150608086013567ffffffffffffffff811115613a14578182fd5b6139ac8882890161381f565b600080600060608486031215613a34578081fd5b8335613a3f81614145565b9250602084013567ffffffffffffffff80821115613a5b578283fd5b613a6787838801613756565b93506040860135915080821115613a7c578283fd5b50613a8986828701613756565b9150509250925092565b60008060408385031215613aa5578182fd5b8235613ab081614145565b9150613abe602084016137ca565b90509250929050565b60008060408385031215613ad9578182fd5b8235613ae481614145565b946020939093013593505050565b600080600060608486031215613b06578081fd5b8335613b1181614145565b95602085013595506040909401359392505050565b60008060008060408587031215613b3b578182fd5b843567ffffffffffffffff80821115613b52578384fd5b613b5e8883890161370c565b90965094506020870135915080821115613b76578384fd5b506138cb8782880161370c565b600080600080600060608688031215613b9a578283fd5b853567ffffffffffffffff80821115613bb1578485fd5b613bbd89838a0161370c565b9097509550602088013594506040880135915080821115613bdc578283fd5b50613be9888289016137df565b969995985093965092949392505050565b60008060408385031215613c0c578182fd5b823567ffffffffffffffff80821115613c23578384fd5b818501915085601f830112613c36578384fd5b81356020613c4382613f82565b604051613c50828261402f565b8381528281019150858301600585901b870184018b1015613c6f578889fd5b8896505b84871015613c9a578035613c8681614145565b835260019690960195918301918301613c73565b5096505086013592505080821115613cb0578283fd5b50613cbd85828601613756565b9150509250929050565b600060208284031215613cd8578081fd5b61383e826137ca565b600060208284031215613cf2578081fd5b813561383e8161415a565b600060208284031215613d0e578081fd5b815161383e8161415a565b60008060208385031215613d2b578182fd5b823567ffffffffffffffff811115613d41578283fd5b613d4d858286016137df565b90969095509350505050565b600060208284031215613d6a578081fd5b813567ffffffffffffffff811115613d80578182fd5b8201601f81018413613d90578182fd5b613d9f848235602084016136ae565b949350505050565b600060208284031215613db8578081fd5b5035919050565b600060208284031215613dd0578081fd5b5051919050565b60008060408385031215613de9578182fd5b50508035926020909101359150565b6000815180845260208085019450808401835b83811015613e2757815187529582019590820190600101613e0b565b509495945050505050565b60008151808452815b81811015613e5757602081850181015186830182015201613e3b565b81811115613e685782602083870101525b50601f01601f19169290920160200192915050565b8183823760009101908152919050565b60006001600160a01b03808816835280871660208401525060a06040830152613eb960a0830186613df8565b8281036060840152613ecb8186613df8565b90508281036080840152613edf8185613e32565b98975050505050505050565b60006001600160a01b03808816835280871660208401525084604083015283606083015260a06080830152613f2360a0830184613e32565b979650505050505050565b60208152600061383e6020830184613df8565b604081526000613f546040830185613df8565b8281036020840152613f668185613df8565b95945050505050565b60208152600061383e6020830184613e32565b600067ffffffffffffffff821115613f9c57613f9c61408d565b5060051b60200190565b60008219821115613fb957613fb9614077565b500190565b6000816000190483118215151615613fd857613fd8614077565b500290565b600082821015613fef57613fef614077565b500390565b600181811c9082168061400857607f821691505b6020821081141561402957634e487b7160e01b600052602260045260246000fd5b50919050565b601f8201601f1916810167ffffffffffffffff811182821017156140555761405561408d565b6040525050565b600060001982141561407057614070614077565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b600060033d11156140b857600481823e5160e01c5b90565b600060443d10156140c95790565b6040516003193d81016004833e81513d67ffffffffffffffff81602484011181841117156140f957505050505090565b82850191508151818111156141115750505050505090565b843d870101602082850101111561412b5750505050505090565b61413a6020828601018761402f565b509095945050505050565b6001600160a01b0381168114610b2857600080fd5b6001600160e01b031981168114610b2857600080fdfe4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572a2646970667358221220db72bd7cd3c124c1016c79ec9c5c43cfa67ca2fcc2fc6506c341a8b0ada280fa64736f6c63430008040033

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

0000000000000000000000005219c2f6f8ed1e76c937ed1269eda2658ba3c721

-----Decoded View---------------
Arg [0] : _club721 (address): 0x5219c2F6f8eD1E76c937eD1269edA2658ba3C721

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


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

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