ETH Price: $3,375.85 (-1.98%)
Gas: 3 Gwei

Token

Non Fungible Tools Lifetime Membership ()
 

Overview

Max Total Supply

1,157

Holders

1,080

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
tlieberman22.eth
0x729cfa0f61946c8a558da84103f332d310a9d26a
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

Minting open at [https://nonfungible.tools/supersea](https://nonfungible.tools/supersea) (0.5Ξ) Lifetime members get access to all [SuperSea](https://nonfungible.tools/supersea) membership features as long as you hold a token. [Founding Member NFT](https://opensea.io/collec...

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
NonFungibleLifetimeMembership

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 13 : lifetimeMembership.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.2;

import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Supply.sol";
import "@openzeppelin/contracts/utils/Counters.sol";

interface FoundingMemberInteraction {
    function ownerOf(uint256 id) external view returns (address);
}

contract NonFungibleLifetimeMembership is ERC1155, Ownable, Pausable, ERC1155Supply {
    uint16 public SUPPLY = 1000;
    uint8 public RESERVED_SUPPLY = 20;
    uint8 public MAX_MINT_PER_TX = 3;

    uint8 FOUNDING_MEMBERS_CLAIMABLE = 2;
    uint8 TOKEN_INDEX = 0;

    uint16 public claimedTokensCount = 0;
    uint16 public supplyLeft = SUPPLY;

    bool public saleActive;
    bool public claimActive;

    address public foundingMembershipContractAddress;

    uint256 private _price = 0.5 ether;

    event Mint(address indexed _address, uint8 amount, uint16 supplyLeft);
    event Claim(address _address, uint8 membershipId, uint8 amount, uint8 membershipClaimCount, uint16 totalClaimed);

    // Founding Membership ID -> Amount claimed
    mapping (uint8 => uint8) claimedTokens;

    modifier isMintable(uint256 amount) {
        require(saleActive, "Sale is not active");
        require(amount > 0, "Amount must be positive integer");
        require(amount <= MAX_MINT_PER_TX, "Can't mint that many tokens at once");
        require(supplyLeft - amount >= 0, "Can't mint over supply limit");

        _;
    }

    modifier isClaimable(uint8 amount, uint8 memberId) {
        require(claimActive, "Claiming is not active");
        require(amount > 0,"Amount must be positive integer");
        require(claimedTokens[memberId] + amount <= FOUNDING_MEMBERS_CLAIMABLE, "Can only claim 2 tokens per membership");
        require(FoundingMemberInteraction(foundingMembershipContractAddress).ownerOf(memberId) == msg.sender, "Only the owner of this membership can claim its tokens");

        _;
    }

    constructor(address _address, bool _saleAndClaimActive) ERC1155("https://nonfungible.tools/api/metadata/lifetime") {
        foundingMembershipContractAddress = _address;
        saleActive = _saleAndClaimActive;
        claimActive = _saleAndClaimActive;

        _mint(msg.sender, TOKEN_INDEX, RESERVED_SUPPLY, "");

        supplyLeft -= RESERVED_SUPPLY;
    }

    function setURI(string memory newuri) public onlyOwner {
        _setURI(newuri);
    }

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

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

    function setSaleStatus(bool _saleActive) public onlyOwner {
        saleActive = _saleActive;
    }

    function setClaimStatus(bool _claimActive) public onlyOwner {
        claimActive = _claimActive;
    }


    function hasLifetimeToken(address account) public view returns (bool) {
        return balanceOf(account, TOKEN_INDEX) > 0;
    }

    function checkClaimedForMembership(uint8 memberId) public view returns (uint8) {
        return claimedTokens[memberId];
    }

    function getPrice() external view returns (uint256) {
        return _price;
    }

    function claimToken(address account, uint8 memberId, uint8 amount) public whenNotPaused isClaimable(amount, memberId) {
        _mint(account, TOKEN_INDEX, amount, "");

        claimedTokens[memberId] += amount;
        claimedTokensCount += amount;

        emit Claim(account, memberId, amount, claimedTokens[memberId], claimedTokensCount);
    }

    function mint(address account, uint8 amount)
        public
        payable
        whenNotPaused
        isMintable(amount)
    {
        require(msg.value >= amount * _price, "Wrong amount sent");
        _mint(account, TOKEN_INDEX, amount, "");

        supplyLeft -= amount;

        emit Mint(account, amount, supplyLeft);
    }

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

    function withdraw() public onlyOwner {
        uint balance = address(this).balance;
        payable(msg.sender).transfer(balance);
    }
 
    function getBalance() external view returns(uint) {
        return address(this).balance;
    }

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

File 2 of 13 : Counters.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (utils/Counters.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

File 3 of 13 : ERC1155Supply.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (token/ERC1155/extensions/ERC1155Supply.sol)

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 whether 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-_beforeTokenTransfer}.
     */
    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);

        if (from == address(0)) {
            for (uint256 i = 0; i < ids.length; ++i) {
                _totalSupply[ids[i]] += amounts[i];
            }
        }

        if (to == address(0)) {
            for (uint256 i = 0; i < ids.length; ++i) {
                _totalSupply[ids[i]] -= amounts[i];
            }
        }
    }
}

File 4 of 13 : Pausable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (security/Pausable.sol)

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

File 5 of 13 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (access/Ownable.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

File 6 of 13 : ERC1155.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (token/ERC1155/ERC1155.sol)

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 {
        _setApprovalForAll(_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 `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function _mint(
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) internal virtual {
        require(to != address(0), "ERC1155: mint to the zero address");

        address operator = _msgSender();

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

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

        _doSafeTransferAcceptanceCheck(operator, address(0), to, 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 `from`
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `from` must have at least `amount` tokens of token type `id`.
     */
    function _burn(
        address from,
        uint256 id,
        uint256 amount
    ) internal virtual {
        require(from != address(0), "ERC1155: burn from the zero address");

        address operator = _msgSender();

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

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

        emit TransferSingle(operator, from, 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 from,
        uint256[] memory ids,
        uint256[] memory amounts
    ) internal virtual {
        require(from != address(0), "ERC1155: burn from the zero address");
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");

        address operator = _msgSender();

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

        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: burn amount exceeds balance");
            unchecked {
                _balances[id][from] = fromBalance - amount;
            }
        }

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

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

    /**
     * @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 7 of 13 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

File 8 of 13 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (utils/Context.sol)

pragma solidity ^0.8.0;

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

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

File 9 of 13 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (utils/Address.sol)

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 10 of 13 : IERC1155MetadataURI.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (token/ERC1155/extensions/IERC1155MetadataURI.sol)

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 11 of 13 : IERC1155Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (token/ERC1155/IERC1155Receiver.sol)

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 12 of 13 : IERC1155.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (token/ERC1155/IERC1155.sol)

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 13 of 13 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"bool","name":"_saleAndClaimActive","type":"bool"}],"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":false,"internalType":"address","name":"_address","type":"address"},{"indexed":false,"internalType":"uint8","name":"membershipId","type":"uint8"},{"indexed":false,"internalType":"uint8","name":"amount","type":"uint8"},{"indexed":false,"internalType":"uint8","name":"membershipClaimCount","type":"uint8"},{"indexed":false,"internalType":"uint16","name":"totalClaimed","type":"uint16"}],"name":"Claim","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_address","type":"address"},{"indexed":false,"internalType":"uint8","name":"amount","type":"uint8"},{"indexed":false,"internalType":"uint16","name":"supplyLeft","type":"uint16"}],"name":"Mint","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":[],"name":"MAX_MINT_PER_TX","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RESERVED_SUPPLY","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SUPPLY","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"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":"uint8","name":"memberId","type":"uint8"}],"name":"checkClaimedForMembership","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claimActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint8","name":"memberId","type":"uint8"},{"internalType":"uint8","name":"amount","type":"uint8"}],"name":"claimToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimedTokensCount","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"exists","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"foundingMembershipContractAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"hasLifetimeToken","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":"account","type":"address"},{"internalType":"uint8","name":"amount","type":"uint8"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","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":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","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":"saleActive","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":"bool","name":"_claimActive","type":"bool"}],"name":"setClaimStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"price","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_saleActive","type":"bool"}],"name":"setSaleStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newuri","type":"string"}],"name":"setURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"supplyLeft","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526103e8600560006101000a81548161ffff021916908361ffff1602179055506014600560026101000a81548160ff021916908360ff1602179055506003600560036101000a81548160ff021916908360ff1602179055506002600560046101000a81548160ff021916908360ff16021790555060006005806101000a81548160ff021916908360ff1602179055506000600560066101000a81548161ffff021916908361ffff160217905550600560009054906101000a900461ffff16600560086101000a81548161ffff021916908361ffff1602179055506706f05b59d3b20000600655348015620000f657600080fd5b5060405162005ea838038062005ea883398181016040528101906200011c919062000b0a565b6040518060600160405280602f815260200162005e79602f913962000147816200029260201b60201c565b50620001686200015c620002ae60201b60201c565b620002b660201b60201c565b6000600360146101000a81548160ff021916908315150217905550816005600c6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550806005600a6101000a81548160ff021916908315150217905550806005600b6101000a81548160ff0219169083151502179055506200023d3360058054906101000a900460ff1660ff16600560029054906101000a900460ff1660ff16604051806020016040528060008152506200037c60201b60201c565b600560029054906101000a900460ff1660ff16600560088282829054906101000a900461ffff1662000270919062000e9f565b92506101000a81548161ffff021916908361ffff160217905550505062001393565b8060029080519060200190620002aa92919062000a15565b5050565b600033905090565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415620003ef576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003e69062000db1565b60405180910390fd5b600062000401620002ae60201b60201c565b90506200043a816000876200041c886200054160201b60201c565b6200042d886200054160201b60201c565b87620005c260201b60201c565b8260008086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546200049b919062000e42565b925050819055508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6287876040516200051b92919062000dd3565b60405180910390a46200053a816000878787876200063860201b60201c565b5050505050565b60606000600167ffffffffffffffff81111562000563576200056262001116565b5b604051908082528060200260200182016040528015620005925781602001602082028036833780820191505090505b5090508281600081518110620005ad57620005ac620010e7565b5b60200260200101818152505080915050919050565b620005d26200084260201b60201c565b1562000615576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200060c9062000d8f565b60405180910390fd5b620006308686868686866200085960201b62001ae71760201c565b505050505050565b620006648473ffffffffffffffffffffffffffffffffffffffff16620009fa60201b62001c611760201c565b156200083a578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b8152600401620006ad95949392919062000cc3565b602060405180830381600087803b158015620006c857600080fd5b505af1925050508015620006fc57506040513d601f19601f82011682018060405250810190620006f9919062000b51565b60015b620007ae576200070b62001145565b806308c379a014156200076f575062000723620012a3565b8062000730575062000771565b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000766919062000d27565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620007a59062000d4b565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161462000838576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200082f9062000d6d565b60405180910390fd5b505b505050505050565b6000600360149054906101000a900460ff16905090565b6200087486868686868662000a0d60201b62001c741760201c565b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415620009335760005b83518110156200093157828181518110620008cd57620008cc620010e7565b5b602002602001015160046000868481518110620008ef57620008ee620010e7565b5b60200260200101518152602001908152602001600020600082825462000916919062000e42565b925050819055508062000929906200103b565b9050620008ad565b505b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415620009f25760005b8351811015620009f0578281815181106200098c576200098b620010e7565b5b602002602001015160046000868481518110620009ae57620009ad620010e7565b5b602002602001015181526020019081526020016000206000828254620009d5919062000eda565b9250508190555080620009e8906200103b565b90506200096c565b505b505050505050565b600080823b905060008111915050919050565b505050505050565b82805462000a239062000fcf565b90600052602060002090601f01602090048101928262000a47576000855562000a93565b82601f1062000a6257805160ff191683800117855562000a93565b8280016001018555821562000a93579182015b8281111562000a9257825182559160200191906001019062000a75565b5b50905062000aa2919062000aa6565b5090565b5b8082111562000ac157600081600090555060010162000aa7565b5090565b60008151905062000ad68162001345565b92915050565b60008151905062000aed816200135f565b92915050565b60008151905062000b048162001379565b92915050565b6000806040838503121562000b245762000b236200116a565b5b600062000b348582860162000ac5565b925050602062000b478582860162000adc565b9150509250929050565b60006020828403121562000b6a5762000b696200116a565b5b600062000b7a8482850162000af3565b91505092915050565b62000b8e8162000f15565b82525050565b600062000ba18262000e0a565b62000bad818562000e20565b935062000bbf81856020860162000f99565b62000bca816200116f565b840191505092915050565b600062000be28262000e15565b62000bee818562000e31565b935062000c0081856020860162000f99565b62000c0b816200116f565b840191505092915050565b600062000c2560348362000e31565b915062000c32826200118d565b604082019050919050565b600062000c4c60288362000e31565b915062000c5982620011dc565b604082019050919050565b600062000c7360108362000e31565b915062000c80826200122b565b602082019050919050565b600062000c9a60218362000e31565b915062000ca78262001254565b604082019050919050565b62000cbd8162000f8f565b82525050565b600060a08201905062000cda600083018862000b83565b62000ce9602083018762000b83565b62000cf8604083018662000cb2565b62000d07606083018562000cb2565b818103608083015262000d1b818462000b94565b90509695505050505050565b6000602082019050818103600083015262000d43818462000bd5565b905092915050565b6000602082019050818103600083015262000d668162000c16565b9050919050565b6000602082019050818103600083015262000d888162000c3d565b9050919050565b6000602082019050818103600083015262000daa8162000c64565b9050919050565b6000602082019050818103600083015262000dcc8162000c8b565b9050919050565b600060408201905062000dea600083018562000cb2565b62000df9602083018462000cb2565b9392505050565b6000604051905090565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600062000e4f8262000f8f565b915062000e5c8362000f8f565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111562000e945762000e9362001089565b5b828201905092915050565b600062000eac8262000f61565b915062000eb98362000f61565b92508282101562000ecf5762000ece62001089565b5b828203905092915050565b600062000ee78262000f8f565b915062000ef48362000f8f565b92508282101562000f0a5762000f0962001089565b5b828203905092915050565b600062000f228262000f6f565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600061ffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60005b8381101562000fb957808201518184015260208101905062000f9c565b8381111562000fc9576000848401525b50505050565b6000600282049050600182168062000fe857607f821691505b6020821081141562000fff5762000ffe620010b8565b5b50919050565b62001010826200116f565b810181811067ffffffffffffffff8211171562001032576200103162001116565b5b80604052505050565b6000620010488262000f8f565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156200107e576200107d62001089565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600060033d1115620011675760046000803e6200116460005162001180565b90505b90565b600080fd5b6000601f19601f8301169050919050565b60008160e01c9050919050565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b600060443d1015620012b55762001342565b620012bf62000e00565b60043d036004823e80513d602482011167ffffffffffffffff82111715620012e957505062001342565b808201805167ffffffffffffffff81111562001309575050505062001342565b80602083010160043d0385018111156200132857505050505062001342565b620013398260200185018662001005565b82955050505050505b90565b620013508162000f15565b81146200135c57600080fd5b50565b6200136a8162000f29565b81146200137657600080fd5b50565b620013848162000f35565b81146200139057600080fd5b50565b614ad680620013a36000396000f3fe6080604052600436106102035760003560e01c80638456cb5911610118578063c50497ae116100a0578063e985e9c51161006f578063e985e9c514610723578063f242432a14610760578063f2fde38b14610789578063f9eb7365146107b2578063fdcf9d07146107ef57610203565b8063c50497ae14610679578063d0f7ec2b146106a4578063d4a6a2fd146106cf578063d897833e146106fa57610203565b806391b7f5ed116100e757806391b7f5ed1461058257806398d5fdca146105ab578063a22cb465146105d6578063bd85b039146105ff578063bdc0850a1461063c57610203565b80638456cb59146104ea5780638da5cb5b146105015780638ecad7211461052c578063915c9dd71461055757610203565b80633ccfd60b1161019b5780635c975abb1161016a5780635c975abb14610438578063654f97a31461046357806368428a1b1461048c578063691562a0146104b7578063715018a6146104d357610203565b80633ccfd60b146103905780633f4ba83a146103a75780634e1273f4146103be5780634f558e79146103fb57610203565b806312065fe0116101d757806312065fe0146102e8578063212c010d146103135780632eb2c2d61461033c57806331a53e9a1461036557610203565b8062fdd58e1461020857806301ffc9a71461024557806302fe5305146102825780630e89341c146102ab575b600080fd5b34801561021457600080fd5b5061022f600480360381019061022a91906131e4565b61081a565b60405161023c9190613d90565b60405180910390f35b34801561025157600080fd5b5061026c6004803603810190610267919061335c565b6108e3565b6040516102799190613a58565b60405180910390f35b34801561028e57600080fd5b506102a960048036038101906102a491906133b6565b6109c5565b005b3480156102b757600080fd5b506102d260048036038101906102cd91906133ff565b610a4d565b6040516102df9190613a73565b60405180910390f35b3480156102f457600080fd5b506102fd610ae1565b60405161030a9190613d90565b60405180910390f35b34801561031f57600080fd5b5061033a60048036038101906103359190613264565b610ae9565b005b34801561034857600080fd5b50610363600480360381019061035e919061303e565b610e9c565b005b34801561037157600080fd5b5061037a610f3d565b6040516103879190613def565b60405180910390f35b34801561039c57600080fd5b506103a5610f50565b005b3480156103b357600080fd5b506103bc61101b565b005b3480156103ca57600080fd5b506103e560048036038101906103e091906132b7565b6110a1565b6040516103f291906139ff565b60405180910390f35b34801561040757600080fd5b50610422600480360381019061041d91906133ff565b6111ba565b60405161042f9190613a58565b60405180910390f35b34801561044457600080fd5b5061044d6111ce565b60405161045a9190613a58565b60405180910390f35b34801561046f57600080fd5b5061048a6004803603810190610485919061332f565b6111e5565b005b34801561049857600080fd5b506104a161127e565b6040516104ae9190613a58565b60405180910390f35b6104d160048036038101906104cc9190613224565b611291565b005b3480156104df57600080fd5b506104e8611549565b005b3480156104f657600080fd5b506104ff6115d1565b005b34801561050d57600080fd5b50610516611657565b60405161052391906138cf565b60405180910390f35b34801561053857600080fd5b50610541611681565b60405161054e9190613def565b60405180910390f35b34801561056357600080fd5b5061056c611694565b6040516105799190613d75565b60405180910390f35b34801561058e57600080fd5b506105a960048036038101906105a491906133ff565b6116a8565b005b3480156105b757600080fd5b506105c061172e565b6040516105cd9190613d90565b60405180910390f35b3480156105e257600080fd5b506105fd60048036038101906105f891906131a4565b611738565b005b34801561060b57600080fd5b50610626600480360381019061062191906133ff565b61174e565b6040516106339190613d90565b60405180910390f35b34801561064857600080fd5b50610663600480360381019061065e9190612fa4565b61176b565b6040516106709190613a58565b60405180910390f35b34801561068557600080fd5b5061068e611790565b60405161069b9190613d75565b60405180910390f35b3480156106b057600080fd5b506106b96117a4565b6040516106c691906138cf565b60405180910390f35b3480156106db57600080fd5b506106e46117ca565b6040516106f19190613a58565b60405180910390f35b34801561070657600080fd5b50610721600480360381019061071c919061332f565b6117dd565b005b34801561072f57600080fd5b5061074a60048036038101906107459190612ffe565b611876565b6040516107579190613a58565b60405180910390f35b34801561076c57600080fd5b506107876004803603810190610782919061310d565b61190a565b005b34801561079557600080fd5b506107b060048036038101906107ab9190612fa4565b6119ab565b005b3480156107be57600080fd5b506107d960048036038101906107d4919061342c565b611aa3565b6040516107e69190613def565b60405180910390f35b3480156107fb57600080fd5b50610804611ad3565b6040516108119190613d75565b60405180910390f35b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561088b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161088290613b15565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806109ae57507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806109be57506109bd82611c7c565b5b9050919050565b6109cd611ce6565b73ffffffffffffffffffffffffffffffffffffffff166109eb611657565b73ffffffffffffffffffffffffffffffffffffffff1614610a41576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a3890613c75565b60405180910390fd5b610a4a81611cee565b50565b606060028054610a5c906141ed565b80601f0160208091040260200160405190810160405280929190818152602001828054610a88906141ed565b8015610ad55780601f10610aaa57610100808354040283529160200191610ad5565b820191906000526020600020905b815481529060010190602001808311610ab857829003601f168201915b50505050509050919050565b600047905090565b610af16111ce565b15610b31576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b2890613bd5565b60405180910390fd5b80826005600b9054906101000a900460ff16610b82576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b7990613c55565b60405180910390fd5b60008260ff1611610bc8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bbf90613bb5565b60405180910390fd5b600560049054906101000a900460ff1660ff1682600760008460ff1660ff16815260200190815260200160002060009054906101000a900460ff16610c0d9190614011565b60ff161115610c51576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c4890613b75565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166005600c9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff1660e01b8152600401610cc39190613dd4565b60206040518083038186803b158015610cdb57600080fd5b505afa158015610cef573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d139190612fd1565b73ffffffffffffffffffffffffffffffffffffffff1614610d69576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d6090613cd5565b60405180910390fd5b610d978560058054906101000a900460ff1660ff168560ff1660405180602001604052806000815250611d08565b82600760008660ff1660ff16815260200190815260200160002060008282829054906101000a900460ff16610dcc9190614011565b92506101000a81548160ff021916908360ff1602179055508260ff16600560068282829054906101000a900461ffff16610e069190613f83565b92506101000a81548161ffff021916908361ffff1602179055507fa46f35ef65862922c92cea7f0314ec550090f9710895d8c7f7ac2c122e613e1b858585600760008960ff1660ff16815260200190815260200160002060009054906101000a900460ff16600560069054906101000a900461ffff16604051610e8d9594939291906139ac565b60405180910390a15050505050565b610ea4611ce6565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480610eea5750610ee985610ee4611ce6565b611876565b5b610f29576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2090613c15565b60405180910390fd5b610f368585858585611e9e565b5050505050565b600560029054906101000a900460ff1681565b610f58611ce6565b73ffffffffffffffffffffffffffffffffffffffff16610f76611657565b73ffffffffffffffffffffffffffffffffffffffff1614610fcc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fc390613c75565b60405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611017573d6000803e3d6000fd5b5050565b611023611ce6565b73ffffffffffffffffffffffffffffffffffffffff16611041611657565b73ffffffffffffffffffffffffffffffffffffffff1614611097576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161108e90613c75565b60405180910390fd5b61109f6121b2565b565b606081518351146110e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110de90613d15565b60405180910390fd5b6000835167ffffffffffffffff81111561110457611103614326565b5b6040519080825280602002602001820160405280156111325781602001602082028036833780820191505090505b50905060005b84518110156111af5761117f858281518110611157576111566142f7565b5b6020026020010151858381518110611172576111716142f7565b5b602002602001015161081a565b828281518110611192576111916142f7565b5b602002602001018181525050806111a890614250565b9050611138565b508091505092915050565b6000806111c68361174e565b119050919050565b6000600360149054906101000a900460ff16905090565b6111ed611ce6565b73ffffffffffffffffffffffffffffffffffffffff1661120b611657565b73ffffffffffffffffffffffffffffffffffffffff1614611261576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161125890613c75565b60405180910390fd5b806005600b6101000a81548160ff02191690831515021790555050565b6005600a9054906101000a900460ff1681565b6112996111ce565b156112d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112d090613bd5565b60405180910390fd5b8060ff166005600a9054906101000a900460ff1661132c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161132390613b95565b60405180910390fd5b6000811161136f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161136690613bb5565b60405180910390fd5b600560039054906101000a900460ff1660ff168111156113c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113bb90613cb5565b60405180910390fd5b600081600560089054906101000a900461ffff1661ffff166113e691906140d6565b1015611427576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161141e90613af5565b60405180910390fd5b6006548260ff166114389190614048565b34101561147a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161147190613c95565b60405180910390fd5b6114a88360058054906101000a900460ff1660ff168460ff1660405180602001604052806000815250611d08565b8160ff16600560088282829054906101000a900461ffff166114ca91906140a2565b92506101000a81548161ffff021916908361ffff1602179055508273ffffffffffffffffffffffffffffffffffffffff167f6d6e63fe54bc51d1201117b7699081272e60304c9baa00665c40105f2094e04783600560089054906101000a900461ffff1660405161153c929190613e0a565b60405180910390a2505050565b611551611ce6565b73ffffffffffffffffffffffffffffffffffffffff1661156f611657565b73ffffffffffffffffffffffffffffffffffffffff16146115c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115bc90613c75565b60405180910390fd5b6115cf6000612254565b565b6115d9611ce6565b73ffffffffffffffffffffffffffffffffffffffff166115f7611657565b73ffffffffffffffffffffffffffffffffffffffff161461164d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161164490613c75565b60405180910390fd5b61165561231a565b565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600560039054906101000a900460ff1681565b600560069054906101000a900461ffff1681565b6116b0611ce6565b73ffffffffffffffffffffffffffffffffffffffff166116ce611657565b73ffffffffffffffffffffffffffffffffffffffff1614611724576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161171b90613c75565b60405180910390fd5b8060068190555050565b6000600654905090565b61174a611743611ce6565b83836123bd565b5050565b600060046000838152602001908152602001600020549050919050565b6000806117888360058054906101000a900460ff1660ff1661081a565b119050919050565b600560009054906101000a900461ffff1681565b6005600c9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6005600b9054906101000a900460ff1681565b6117e5611ce6565b73ffffffffffffffffffffffffffffffffffffffff16611803611657565b73ffffffffffffffffffffffffffffffffffffffff1614611859576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161185090613c75565b60405180910390fd5b806005600a6101000a81548160ff02191690831515021790555050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611912611ce6565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480611958575061195785611952611ce6565b611876565b5b611997576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161198e90613b55565b60405180910390fd5b6119a4858585858561252a565b5050505050565b6119b3611ce6565b73ffffffffffffffffffffffffffffffffffffffff166119d1611657565b73ffffffffffffffffffffffffffffffffffffffff1614611a27576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a1e90613c75565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611a97576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a8e90613b35565b60405180910390fd5b611aa081612254565b50565b6000600760008360ff1660ff16815260200190815260200160002060009054906101000a900460ff169050919050565b600560089054906101000a900461ffff1681565b611af5868686868686611c74565b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415611ba75760005b8351811015611ba557828181518110611b4957611b486142f7565b5b602002602001015160046000868481518110611b6857611b676142f7565b5b602002602001015181526020019081526020016000206000828254611b8d9190613fbb565b9250508190555080611b9e90614250565b9050611b2d565b505b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611c595760005b8351811015611c5757828181518110611bfb57611bfa6142f7565b5b602002602001015160046000868481518110611c1a57611c196142f7565b5b602002602001015181526020019081526020016000206000828254611c3f91906140d6565b9250508190555080611c5090614250565b9050611bdf565b505b505050505050565b600080823b905060008111915050919050565b505050505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b8060029080519060200190611d04929190612c52565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611d78576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d6f90613d55565b60405180910390fd5b6000611d82611ce6565b9050611da381600087611d94886127ac565b611d9d886127ac565b87612826565b8260008086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611e029190613fbb565b925050819055508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628787604051611e80929190613dab565b60405180910390a4611e9781600087878787612884565b5050505050565b8151835114611ee2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ed990613d35565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611f52576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f4990613bf5565b60405180910390fd5b6000611f5c611ce6565b9050611f6c818787878787612826565b60005b845181101561211d576000858281518110611f8d57611f8c6142f7565b5b602002602001015190506000858381518110611fac57611fab6142f7565b5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508181101561204d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161204490613c35565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546121029190613fbb565b925050819055505050508061211690614250565b9050611f6f565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051612194929190613a21565b60405180910390a46121aa818787878787612a6b565b505050505050565b6121ba6111ce565b6121f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121f090613ad5565b60405180910390fd5b6000600360146101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa61223d611ce6565b60405161224a91906138cf565b60405180910390a1565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6123226111ce565b15612362576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161235990613bd5565b60405180910390fd5b6001600360146101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586123a6611ce6565b6040516123b391906138cf565b60405180910390a1565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561242c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161242390613cf5565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161251d9190613a58565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141561259a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161259190613bf5565b60405180910390fd5b60006125a4611ce6565b90506125c48187876125b5886127ac565b6125be886127ac565b87612826565b600080600086815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508381101561265b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161265290613c35565b60405180910390fd5b83810360008087815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508360008087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546127109190613fbb565b925050819055508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62888860405161278d929190613dab565b60405180910390a46127a3828888888888612884565b50505050505050565b60606000600167ffffffffffffffff8111156127cb576127ca614326565b5b6040519080825280602002602001820160405280156127f95781602001602082028036833780820191505090505b5090508281600081518110612811576128106142f7565b5b60200260200101818152505080915050919050565b61282e6111ce565b1561286e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161286590613bd5565b60405180910390fd5b61287c868686868686611ae7565b505050505050565b6128a38473ffffffffffffffffffffffffffffffffffffffff16611c61565b15612a63578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b81526004016128e9959493929190613952565b602060405180830381600087803b15801561290357600080fd5b505af192505050801561293457506040513d601f19601f820116820180604052508101906129319190613389565b60015b6129da57612940614355565b806308c379a0141561299d5750612955614997565b80612960575061299f565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129949190613a73565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129d190613a95565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612a61576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a5890613ab5565b60405180910390fd5b505b505050505050565b612a8a8473ffffffffffffffffffffffffffffffffffffffff16611c61565b15612c4a578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b8152600401612ad09594939291906138ea565b602060405180830381600087803b158015612aea57600080fd5b505af1925050508015612b1b57506040513d601f19601f82011682018060405250810190612b189190613389565b60015b612bc157612b27614355565b806308c379a01415612b845750612b3c614997565b80612b475750612b86565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b7b9190613a73565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bb890613a95565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612c48576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c3f90613ab5565b60405180910390fd5b505b505050505050565b828054612c5e906141ed565b90600052602060002090601f016020900481019282612c805760008555612cc7565b82601f10612c9957805160ff1916838001178555612cc7565b82800160010185558215612cc7579182015b82811115612cc6578251825591602001919060010190612cab565b5b509050612cd49190612cd8565b5090565b5b80821115612cf1576000816000905550600101612cd9565b5090565b6000612d08612d0384613e58565b613e33565b90508083825260208201905082856020860282011115612d2b57612d2a61437c565b5b60005b85811015612d5b5781612d418882612e59565b845260208401935060208301925050600181019050612d2e565b5050509392505050565b6000612d78612d7384613e84565b613e33565b90508083825260208201905082856020860282011115612d9b57612d9a61437c565b5b60005b85811015612dcb5781612db18882612f7a565b845260208401935060208301925050600181019050612d9e565b5050509392505050565b6000612de8612de384613eb0565b613e33565b905082815260208101848484011115612e0457612e03614381565b5b612e0f8482856141ab565b509392505050565b6000612e2a612e2584613ee1565b613e33565b905082815260208101848484011115612e4657612e45614381565b5b612e518482856141ab565b509392505050565b600081359050612e6881614a2d565b92915050565b600081519050612e7d81614a2d565b92915050565b600082601f830112612e9857612e97614377565b5b8135612ea8848260208601612cf5565b91505092915050565b600082601f830112612ec657612ec5614377565b5b8135612ed6848260208601612d65565b91505092915050565b600081359050612eee81614a44565b92915050565b600081359050612f0381614a5b565b92915050565b600081519050612f1881614a5b565b92915050565b600082601f830112612f3357612f32614377565b5b8135612f43848260208601612dd5565b91505092915050565b600082601f830112612f6157612f60614377565b5b8135612f71848260208601612e17565b91505092915050565b600081359050612f8981614a72565b92915050565b600081359050612f9e81614a89565b92915050565b600060208284031215612fba57612fb961438b565b5b6000612fc884828501612e59565b91505092915050565b600060208284031215612fe757612fe661438b565b5b6000612ff584828501612e6e565b91505092915050565b600080604083850312156130155761301461438b565b5b600061302385828601612e59565b925050602061303485828601612e59565b9150509250929050565b600080600080600060a0868803121561305a5761305961438b565b5b600061306888828901612e59565b955050602061307988828901612e59565b945050604086013567ffffffffffffffff81111561309a57613099614386565b5b6130a688828901612eb1565b935050606086013567ffffffffffffffff8111156130c7576130c6614386565b5b6130d388828901612eb1565b925050608086013567ffffffffffffffff8111156130f4576130f3614386565b5b61310088828901612f1e565b9150509295509295909350565b600080600080600060a086880312156131295761312861438b565b5b600061313788828901612e59565b955050602061314888828901612e59565b945050604061315988828901612f7a565b935050606061316a88828901612f7a565b925050608086013567ffffffffffffffff81111561318b5761318a614386565b5b61319788828901612f1e565b9150509295509295909350565b600080604083850312156131bb576131ba61438b565b5b60006131c985828601612e59565b92505060206131da85828601612edf565b9150509250929050565b600080604083850312156131fb576131fa61438b565b5b600061320985828601612e59565b925050602061321a85828601612f7a565b9150509250929050565b6000806040838503121561323b5761323a61438b565b5b600061324985828601612e59565b925050602061325a85828601612f8f565b9150509250929050565b60008060006060848603121561327d5761327c61438b565b5b600061328b86828701612e59565b935050602061329c86828701612f8f565b92505060406132ad86828701612f8f565b9150509250925092565b600080604083850312156132ce576132cd61438b565b5b600083013567ffffffffffffffff8111156132ec576132eb614386565b5b6132f885828601612e83565b925050602083013567ffffffffffffffff81111561331957613318614386565b5b61332585828601612eb1565b9150509250929050565b6000602082840312156133455761334461438b565b5b600061335384828501612edf565b91505092915050565b6000602082840312156133725761337161438b565b5b600061338084828501612ef4565b91505092915050565b60006020828403121561339f5761339e61438b565b5b60006133ad84828501612f09565b91505092915050565b6000602082840312156133cc576133cb61438b565b5b600082013567ffffffffffffffff8111156133ea576133e9614386565b5b6133f684828501612f4c565b91505092915050565b6000602082840312156134155761341461438b565b5b600061342384828501612f7a565b91505092915050565b6000602082840312156134425761344161438b565b5b600061345084828501612f8f565b91505092915050565b60006134658383613893565b60208301905092915050565b61347a8161410a565b82525050565b600061348b82613f22565b6134958185613f50565b93506134a083613f12565b8060005b838110156134d15781516134b88882613459565b97506134c383613f43565b9250506001810190506134a4565b5085935050505092915050565b6134e78161411c565b82525050565b60006134f882613f2d565b6135028185613f61565b93506135128185602086016141ba565b61351b81614390565b840191505092915050565b600061353182613f38565b61353b8185613f72565b935061354b8185602086016141ba565b61355481614390565b840191505092915050565b600061356c603483613f72565b9150613577826143ae565b604082019050919050565b600061358f602883613f72565b915061359a826143fd565b604082019050919050565b60006135b2601483613f72565b91506135bd8261444c565b602082019050919050565b60006135d5601c83613f72565b91506135e082614475565b602082019050919050565b60006135f8602b83613f72565b91506136038261449e565b604082019050919050565b600061361b602683613f72565b9150613626826144ed565b604082019050919050565b600061363e602983613f72565b91506136498261453c565b604082019050919050565b6000613661602683613f72565b915061366c8261458b565b604082019050919050565b6000613684601283613f72565b915061368f826145da565b602082019050919050565b60006136a7601f83613f72565b91506136b282614603565b602082019050919050565b60006136ca601083613f72565b91506136d58261462c565b602082019050919050565b60006136ed602583613f72565b91506136f882614655565b604082019050919050565b6000613710603283613f72565b915061371b826146a4565b604082019050919050565b6000613733602a83613f72565b915061373e826146f3565b604082019050919050565b6000613756601683613f72565b915061376182614742565b602082019050919050565b6000613779602083613f72565b91506137848261476b565b602082019050919050565b600061379c601183613f72565b91506137a782614794565b602082019050919050565b60006137bf602383613f72565b91506137ca826147bd565b604082019050919050565b60006137e2603683613f72565b91506137ed8261480c565b604082019050919050565b6000613805602983613f72565b91506138108261485b565b604082019050919050565b6000613828602983613f72565b9150613833826148aa565b604082019050919050565b600061384b602883613f72565b9150613856826148f9565b604082019050919050565b600061386e602183613f72565b915061387982614948565b604082019050919050565b61388d81614154565b82525050565b61389c81614182565b82525050565b6138ab81614182565b82525050565b6138ba81614199565b82525050565b6138c98161418c565b82525050565b60006020820190506138e46000830184613471565b92915050565b600060a0820190506138ff6000830188613471565b61390c6020830187613471565b818103604083015261391e8186613480565b905081810360608301526139328185613480565b9050818103608083015261394681846134ed565b90509695505050505050565b600060a0820190506139676000830188613471565b6139746020830187613471565b61398160408301866138a2565b61398e60608301856138a2565b81810360808301526139a081846134ed565b90509695505050505050565b600060a0820190506139c16000830188613471565b6139ce60208301876138c0565b6139db60408301866138c0565b6139e860608301856138c0565b6139f56080830184613884565b9695505050505050565b60006020820190508181036000830152613a198184613480565b905092915050565b60006040820190508181036000830152613a3b8185613480565b90508181036020830152613a4f8184613480565b90509392505050565b6000602082019050613a6d60008301846134de565b92915050565b60006020820190508181036000830152613a8d8184613526565b905092915050565b60006020820190508181036000830152613aae8161355f565b9050919050565b60006020820190508181036000830152613ace81613582565b9050919050565b60006020820190508181036000830152613aee816135a5565b9050919050565b60006020820190508181036000830152613b0e816135c8565b9050919050565b60006020820190508181036000830152613b2e816135eb565b9050919050565b60006020820190508181036000830152613b4e8161360e565b9050919050565b60006020820190508181036000830152613b6e81613631565b9050919050565b60006020820190508181036000830152613b8e81613654565b9050919050565b60006020820190508181036000830152613bae81613677565b9050919050565b60006020820190508181036000830152613bce8161369a565b9050919050565b60006020820190508181036000830152613bee816136bd565b9050919050565b60006020820190508181036000830152613c0e816136e0565b9050919050565b60006020820190508181036000830152613c2e81613703565b9050919050565b60006020820190508181036000830152613c4e81613726565b9050919050565b60006020820190508181036000830152613c6e81613749565b9050919050565b60006020820190508181036000830152613c8e8161376c565b9050919050565b60006020820190508181036000830152613cae8161378f565b9050919050565b60006020820190508181036000830152613cce816137b2565b9050919050565b60006020820190508181036000830152613cee816137d5565b9050919050565b60006020820190508181036000830152613d0e816137f8565b9050919050565b60006020820190508181036000830152613d2e8161381b565b9050919050565b60006020820190508181036000830152613d4e8161383e565b9050919050565b60006020820190508181036000830152613d6e81613861565b9050919050565b6000602082019050613d8a6000830184613884565b92915050565b6000602082019050613da560008301846138a2565b92915050565b6000604082019050613dc060008301856138a2565b613dcd60208301846138a2565b9392505050565b6000602082019050613de960008301846138b1565b92915050565b6000602082019050613e0460008301846138c0565b92915050565b6000604082019050613e1f60008301856138c0565b613e2c6020830184613884565b9392505050565b6000613e3d613e4e565b9050613e49828261421f565b919050565b6000604051905090565b600067ffffffffffffffff821115613e7357613e72614326565b5b602082029050602081019050919050565b600067ffffffffffffffff821115613e9f57613e9e614326565b5b602082029050602081019050919050565b600067ffffffffffffffff821115613ecb57613eca614326565b5b613ed482614390565b9050602081019050919050565b600067ffffffffffffffff821115613efc57613efb614326565b5b613f0582614390565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b6000613f8e82614154565b9150613f9983614154565b92508261ffff03821115613fb057613faf614299565b5b828201905092915050565b6000613fc682614182565b9150613fd183614182565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561400657614005614299565b5b828201905092915050565b600061401c8261418c565b91506140278361418c565b92508260ff0382111561403d5761403c614299565b5b828201905092915050565b600061405382614182565b915061405e83614182565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561409757614096614299565b5b828202905092915050565b60006140ad82614154565b91506140b883614154565b9250828210156140cb576140ca614299565b5b828203905092915050565b60006140e182614182565b91506140ec83614182565b9250828210156140ff576140fe614299565b5b828203905092915050565b600061411582614162565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600061ffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b60006141a48261418c565b9050919050565b82818337600083830152505050565b60005b838110156141d85780820151818401526020810190506141bd565b838111156141e7576000848401525b50505050565b6000600282049050600182168061420557607f821691505b60208210811415614219576142186142c8565b5b50919050565b61422882614390565b810181811067ffffffffffffffff8211171561424757614246614326565b5b80604052505050565b600061425b82614182565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561428e5761428d614299565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600060033d11156143745760046000803e6143716000516143a1565b90505b90565b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160e01c9050919050565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b7f43616e2774206d696e74206f76657220737570706c79206c696d697400000000600082015250565b7f455243313135353a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008201527f20617070726f7665640000000000000000000000000000000000000000000000602082015250565b7f43616e206f6e6c7920636c61696d203220746f6b656e7320706572206d656d6260008201527f6572736869700000000000000000000000000000000000000000000000000000602082015250565b7f53616c65206973206e6f74206163746976650000000000000000000000000000600082015250565b7f416d6f756e74206d75737420626520706f73697469766520696e746567657200600082015250565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b7f436c61696d696e67206973206e6f742061637469766500000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f57726f6e6720616d6f756e742073656e74000000000000000000000000000000600082015250565b7f43616e2774206d696e742074686174206d616e7920746f6b656e73206174206f60008201527f6e63650000000000000000000000000000000000000000000000000000000000602082015250565b7f4f6e6c7920746865206f776e6572206f662074686973206d656d62657273686960008201527f702063616e20636c61696d2069747320746f6b656e7300000000000000000000602082015250565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b600060443d10156149a757614a2a565b6149af613e4e565b60043d036004823e80513d602482011167ffffffffffffffff821117156149d7575050614a2a565b808201805167ffffffffffffffff8111156149f55750505050614a2a565b80602083010160043d038501811115614a12575050505050614a2a565b614a218260200185018661421f565b82955050505050505b90565b614a368161410a565b8114614a4157600080fd5b50565b614a4d8161411c565b8114614a5857600080fd5b50565b614a6481614128565b8114614a6f57600080fd5b50565b614a7b81614182565b8114614a8657600080fd5b50565b614a928161418c565b8114614a9d57600080fd5b5056fea264697066735822122046ec28e75b2134c931dd32c6c43cf677a33977f3a551f75bb8601d3143d96e0264736f6c6343000807003368747470733a2f2f6e6f6e66756e6769626c652e746f6f6c732f6170692f6d657461646174612f6c69666574696d6500000000000000000000000024e047001f0ac15f72689d3f5cd0b0f52b1abdf90000000000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106102035760003560e01c80638456cb5911610118578063c50497ae116100a0578063e985e9c51161006f578063e985e9c514610723578063f242432a14610760578063f2fde38b14610789578063f9eb7365146107b2578063fdcf9d07146107ef57610203565b8063c50497ae14610679578063d0f7ec2b146106a4578063d4a6a2fd146106cf578063d897833e146106fa57610203565b806391b7f5ed116100e757806391b7f5ed1461058257806398d5fdca146105ab578063a22cb465146105d6578063bd85b039146105ff578063bdc0850a1461063c57610203565b80638456cb59146104ea5780638da5cb5b146105015780638ecad7211461052c578063915c9dd71461055757610203565b80633ccfd60b1161019b5780635c975abb1161016a5780635c975abb14610438578063654f97a31461046357806368428a1b1461048c578063691562a0146104b7578063715018a6146104d357610203565b80633ccfd60b146103905780633f4ba83a146103a75780634e1273f4146103be5780634f558e79146103fb57610203565b806312065fe0116101d757806312065fe0146102e8578063212c010d146103135780632eb2c2d61461033c57806331a53e9a1461036557610203565b8062fdd58e1461020857806301ffc9a71461024557806302fe5305146102825780630e89341c146102ab575b600080fd5b34801561021457600080fd5b5061022f600480360381019061022a91906131e4565b61081a565b60405161023c9190613d90565b60405180910390f35b34801561025157600080fd5b5061026c6004803603810190610267919061335c565b6108e3565b6040516102799190613a58565b60405180910390f35b34801561028e57600080fd5b506102a960048036038101906102a491906133b6565b6109c5565b005b3480156102b757600080fd5b506102d260048036038101906102cd91906133ff565b610a4d565b6040516102df9190613a73565b60405180910390f35b3480156102f457600080fd5b506102fd610ae1565b60405161030a9190613d90565b60405180910390f35b34801561031f57600080fd5b5061033a60048036038101906103359190613264565b610ae9565b005b34801561034857600080fd5b50610363600480360381019061035e919061303e565b610e9c565b005b34801561037157600080fd5b5061037a610f3d565b6040516103879190613def565b60405180910390f35b34801561039c57600080fd5b506103a5610f50565b005b3480156103b357600080fd5b506103bc61101b565b005b3480156103ca57600080fd5b506103e560048036038101906103e091906132b7565b6110a1565b6040516103f291906139ff565b60405180910390f35b34801561040757600080fd5b50610422600480360381019061041d91906133ff565b6111ba565b60405161042f9190613a58565b60405180910390f35b34801561044457600080fd5b5061044d6111ce565b60405161045a9190613a58565b60405180910390f35b34801561046f57600080fd5b5061048a6004803603810190610485919061332f565b6111e5565b005b34801561049857600080fd5b506104a161127e565b6040516104ae9190613a58565b60405180910390f35b6104d160048036038101906104cc9190613224565b611291565b005b3480156104df57600080fd5b506104e8611549565b005b3480156104f657600080fd5b506104ff6115d1565b005b34801561050d57600080fd5b50610516611657565b60405161052391906138cf565b60405180910390f35b34801561053857600080fd5b50610541611681565b60405161054e9190613def565b60405180910390f35b34801561056357600080fd5b5061056c611694565b6040516105799190613d75565b60405180910390f35b34801561058e57600080fd5b506105a960048036038101906105a491906133ff565b6116a8565b005b3480156105b757600080fd5b506105c061172e565b6040516105cd9190613d90565b60405180910390f35b3480156105e257600080fd5b506105fd60048036038101906105f891906131a4565b611738565b005b34801561060b57600080fd5b50610626600480360381019061062191906133ff565b61174e565b6040516106339190613d90565b60405180910390f35b34801561064857600080fd5b50610663600480360381019061065e9190612fa4565b61176b565b6040516106709190613a58565b60405180910390f35b34801561068557600080fd5b5061068e611790565b60405161069b9190613d75565b60405180910390f35b3480156106b057600080fd5b506106b96117a4565b6040516106c691906138cf565b60405180910390f35b3480156106db57600080fd5b506106e46117ca565b6040516106f19190613a58565b60405180910390f35b34801561070657600080fd5b50610721600480360381019061071c919061332f565b6117dd565b005b34801561072f57600080fd5b5061074a60048036038101906107459190612ffe565b611876565b6040516107579190613a58565b60405180910390f35b34801561076c57600080fd5b506107876004803603810190610782919061310d565b61190a565b005b34801561079557600080fd5b506107b060048036038101906107ab9190612fa4565b6119ab565b005b3480156107be57600080fd5b506107d960048036038101906107d4919061342c565b611aa3565b6040516107e69190613def565b60405180910390f35b3480156107fb57600080fd5b50610804611ad3565b6040516108119190613d75565b60405180910390f35b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561088b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161088290613b15565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806109ae57507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806109be57506109bd82611c7c565b5b9050919050565b6109cd611ce6565b73ffffffffffffffffffffffffffffffffffffffff166109eb611657565b73ffffffffffffffffffffffffffffffffffffffff1614610a41576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a3890613c75565b60405180910390fd5b610a4a81611cee565b50565b606060028054610a5c906141ed565b80601f0160208091040260200160405190810160405280929190818152602001828054610a88906141ed565b8015610ad55780601f10610aaa57610100808354040283529160200191610ad5565b820191906000526020600020905b815481529060010190602001808311610ab857829003601f168201915b50505050509050919050565b600047905090565b610af16111ce565b15610b31576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b2890613bd5565b60405180910390fd5b80826005600b9054906101000a900460ff16610b82576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b7990613c55565b60405180910390fd5b60008260ff1611610bc8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bbf90613bb5565b60405180910390fd5b600560049054906101000a900460ff1660ff1682600760008460ff1660ff16815260200190815260200160002060009054906101000a900460ff16610c0d9190614011565b60ff161115610c51576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c4890613b75565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166005600c9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff1660e01b8152600401610cc39190613dd4565b60206040518083038186803b158015610cdb57600080fd5b505afa158015610cef573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d139190612fd1565b73ffffffffffffffffffffffffffffffffffffffff1614610d69576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d6090613cd5565b60405180910390fd5b610d978560058054906101000a900460ff1660ff168560ff1660405180602001604052806000815250611d08565b82600760008660ff1660ff16815260200190815260200160002060008282829054906101000a900460ff16610dcc9190614011565b92506101000a81548160ff021916908360ff1602179055508260ff16600560068282829054906101000a900461ffff16610e069190613f83565b92506101000a81548161ffff021916908361ffff1602179055507fa46f35ef65862922c92cea7f0314ec550090f9710895d8c7f7ac2c122e613e1b858585600760008960ff1660ff16815260200190815260200160002060009054906101000a900460ff16600560069054906101000a900461ffff16604051610e8d9594939291906139ac565b60405180910390a15050505050565b610ea4611ce6565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480610eea5750610ee985610ee4611ce6565b611876565b5b610f29576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2090613c15565b60405180910390fd5b610f368585858585611e9e565b5050505050565b600560029054906101000a900460ff1681565b610f58611ce6565b73ffffffffffffffffffffffffffffffffffffffff16610f76611657565b73ffffffffffffffffffffffffffffffffffffffff1614610fcc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fc390613c75565b60405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611017573d6000803e3d6000fd5b5050565b611023611ce6565b73ffffffffffffffffffffffffffffffffffffffff16611041611657565b73ffffffffffffffffffffffffffffffffffffffff1614611097576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161108e90613c75565b60405180910390fd5b61109f6121b2565b565b606081518351146110e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110de90613d15565b60405180910390fd5b6000835167ffffffffffffffff81111561110457611103614326565b5b6040519080825280602002602001820160405280156111325781602001602082028036833780820191505090505b50905060005b84518110156111af5761117f858281518110611157576111566142f7565b5b6020026020010151858381518110611172576111716142f7565b5b602002602001015161081a565b828281518110611192576111916142f7565b5b602002602001018181525050806111a890614250565b9050611138565b508091505092915050565b6000806111c68361174e565b119050919050565b6000600360149054906101000a900460ff16905090565b6111ed611ce6565b73ffffffffffffffffffffffffffffffffffffffff1661120b611657565b73ffffffffffffffffffffffffffffffffffffffff1614611261576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161125890613c75565b60405180910390fd5b806005600b6101000a81548160ff02191690831515021790555050565b6005600a9054906101000a900460ff1681565b6112996111ce565b156112d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112d090613bd5565b60405180910390fd5b8060ff166005600a9054906101000a900460ff1661132c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161132390613b95565b60405180910390fd5b6000811161136f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161136690613bb5565b60405180910390fd5b600560039054906101000a900460ff1660ff168111156113c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113bb90613cb5565b60405180910390fd5b600081600560089054906101000a900461ffff1661ffff166113e691906140d6565b1015611427576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161141e90613af5565b60405180910390fd5b6006548260ff166114389190614048565b34101561147a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161147190613c95565b60405180910390fd5b6114a88360058054906101000a900460ff1660ff168460ff1660405180602001604052806000815250611d08565b8160ff16600560088282829054906101000a900461ffff166114ca91906140a2565b92506101000a81548161ffff021916908361ffff1602179055508273ffffffffffffffffffffffffffffffffffffffff167f6d6e63fe54bc51d1201117b7699081272e60304c9baa00665c40105f2094e04783600560089054906101000a900461ffff1660405161153c929190613e0a565b60405180910390a2505050565b611551611ce6565b73ffffffffffffffffffffffffffffffffffffffff1661156f611657565b73ffffffffffffffffffffffffffffffffffffffff16146115c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115bc90613c75565b60405180910390fd5b6115cf6000612254565b565b6115d9611ce6565b73ffffffffffffffffffffffffffffffffffffffff166115f7611657565b73ffffffffffffffffffffffffffffffffffffffff161461164d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161164490613c75565b60405180910390fd5b61165561231a565b565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600560039054906101000a900460ff1681565b600560069054906101000a900461ffff1681565b6116b0611ce6565b73ffffffffffffffffffffffffffffffffffffffff166116ce611657565b73ffffffffffffffffffffffffffffffffffffffff1614611724576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161171b90613c75565b60405180910390fd5b8060068190555050565b6000600654905090565b61174a611743611ce6565b83836123bd565b5050565b600060046000838152602001908152602001600020549050919050565b6000806117888360058054906101000a900460ff1660ff1661081a565b119050919050565b600560009054906101000a900461ffff1681565b6005600c9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6005600b9054906101000a900460ff1681565b6117e5611ce6565b73ffffffffffffffffffffffffffffffffffffffff16611803611657565b73ffffffffffffffffffffffffffffffffffffffff1614611859576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161185090613c75565b60405180910390fd5b806005600a6101000a81548160ff02191690831515021790555050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611912611ce6565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480611958575061195785611952611ce6565b611876565b5b611997576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161198e90613b55565b60405180910390fd5b6119a4858585858561252a565b5050505050565b6119b3611ce6565b73ffffffffffffffffffffffffffffffffffffffff166119d1611657565b73ffffffffffffffffffffffffffffffffffffffff1614611a27576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a1e90613c75565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611a97576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a8e90613b35565b60405180910390fd5b611aa081612254565b50565b6000600760008360ff1660ff16815260200190815260200160002060009054906101000a900460ff169050919050565b600560089054906101000a900461ffff1681565b611af5868686868686611c74565b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415611ba75760005b8351811015611ba557828181518110611b4957611b486142f7565b5b602002602001015160046000868481518110611b6857611b676142f7565b5b602002602001015181526020019081526020016000206000828254611b8d9190613fbb565b9250508190555080611b9e90614250565b9050611b2d565b505b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611c595760005b8351811015611c5757828181518110611bfb57611bfa6142f7565b5b602002602001015160046000868481518110611c1a57611c196142f7565b5b602002602001015181526020019081526020016000206000828254611c3f91906140d6565b9250508190555080611c5090614250565b9050611bdf565b505b505050505050565b600080823b905060008111915050919050565b505050505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b8060029080519060200190611d04929190612c52565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611d78576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d6f90613d55565b60405180910390fd5b6000611d82611ce6565b9050611da381600087611d94886127ac565b611d9d886127ac565b87612826565b8260008086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611e029190613fbb565b925050819055508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628787604051611e80929190613dab565b60405180910390a4611e9781600087878787612884565b5050505050565b8151835114611ee2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ed990613d35565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611f52576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f4990613bf5565b60405180910390fd5b6000611f5c611ce6565b9050611f6c818787878787612826565b60005b845181101561211d576000858281518110611f8d57611f8c6142f7565b5b602002602001015190506000858381518110611fac57611fab6142f7565b5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508181101561204d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161204490613c35565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546121029190613fbb565b925050819055505050508061211690614250565b9050611f6f565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051612194929190613a21565b60405180910390a46121aa818787878787612a6b565b505050505050565b6121ba6111ce565b6121f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121f090613ad5565b60405180910390fd5b6000600360146101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa61223d611ce6565b60405161224a91906138cf565b60405180910390a1565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6123226111ce565b15612362576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161235990613bd5565b60405180910390fd5b6001600360146101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586123a6611ce6565b6040516123b391906138cf565b60405180910390a1565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561242c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161242390613cf5565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161251d9190613a58565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141561259a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161259190613bf5565b60405180910390fd5b60006125a4611ce6565b90506125c48187876125b5886127ac565b6125be886127ac565b87612826565b600080600086815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508381101561265b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161265290613c35565b60405180910390fd5b83810360008087815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508360008087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546127109190613fbb565b925050819055508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62888860405161278d929190613dab565b60405180910390a46127a3828888888888612884565b50505050505050565b60606000600167ffffffffffffffff8111156127cb576127ca614326565b5b6040519080825280602002602001820160405280156127f95781602001602082028036833780820191505090505b5090508281600081518110612811576128106142f7565b5b60200260200101818152505080915050919050565b61282e6111ce565b1561286e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161286590613bd5565b60405180910390fd5b61287c868686868686611ae7565b505050505050565b6128a38473ffffffffffffffffffffffffffffffffffffffff16611c61565b15612a63578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b81526004016128e9959493929190613952565b602060405180830381600087803b15801561290357600080fd5b505af192505050801561293457506040513d601f19601f820116820180604052508101906129319190613389565b60015b6129da57612940614355565b806308c379a0141561299d5750612955614997565b80612960575061299f565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129949190613a73565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129d190613a95565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612a61576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a5890613ab5565b60405180910390fd5b505b505050505050565b612a8a8473ffffffffffffffffffffffffffffffffffffffff16611c61565b15612c4a578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b8152600401612ad09594939291906138ea565b602060405180830381600087803b158015612aea57600080fd5b505af1925050508015612b1b57506040513d601f19601f82011682018060405250810190612b189190613389565b60015b612bc157612b27614355565b806308c379a01415612b845750612b3c614997565b80612b475750612b86565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b7b9190613a73565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bb890613a95565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612c48576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c3f90613ab5565b60405180910390fd5b505b505050505050565b828054612c5e906141ed565b90600052602060002090601f016020900481019282612c805760008555612cc7565b82601f10612c9957805160ff1916838001178555612cc7565b82800160010185558215612cc7579182015b82811115612cc6578251825591602001919060010190612cab565b5b509050612cd49190612cd8565b5090565b5b80821115612cf1576000816000905550600101612cd9565b5090565b6000612d08612d0384613e58565b613e33565b90508083825260208201905082856020860282011115612d2b57612d2a61437c565b5b60005b85811015612d5b5781612d418882612e59565b845260208401935060208301925050600181019050612d2e565b5050509392505050565b6000612d78612d7384613e84565b613e33565b90508083825260208201905082856020860282011115612d9b57612d9a61437c565b5b60005b85811015612dcb5781612db18882612f7a565b845260208401935060208301925050600181019050612d9e565b5050509392505050565b6000612de8612de384613eb0565b613e33565b905082815260208101848484011115612e0457612e03614381565b5b612e0f8482856141ab565b509392505050565b6000612e2a612e2584613ee1565b613e33565b905082815260208101848484011115612e4657612e45614381565b5b612e518482856141ab565b509392505050565b600081359050612e6881614a2d565b92915050565b600081519050612e7d81614a2d565b92915050565b600082601f830112612e9857612e97614377565b5b8135612ea8848260208601612cf5565b91505092915050565b600082601f830112612ec657612ec5614377565b5b8135612ed6848260208601612d65565b91505092915050565b600081359050612eee81614a44565b92915050565b600081359050612f0381614a5b565b92915050565b600081519050612f1881614a5b565b92915050565b600082601f830112612f3357612f32614377565b5b8135612f43848260208601612dd5565b91505092915050565b600082601f830112612f6157612f60614377565b5b8135612f71848260208601612e17565b91505092915050565b600081359050612f8981614a72565b92915050565b600081359050612f9e81614a89565b92915050565b600060208284031215612fba57612fb961438b565b5b6000612fc884828501612e59565b91505092915050565b600060208284031215612fe757612fe661438b565b5b6000612ff584828501612e6e565b91505092915050565b600080604083850312156130155761301461438b565b5b600061302385828601612e59565b925050602061303485828601612e59565b9150509250929050565b600080600080600060a0868803121561305a5761305961438b565b5b600061306888828901612e59565b955050602061307988828901612e59565b945050604086013567ffffffffffffffff81111561309a57613099614386565b5b6130a688828901612eb1565b935050606086013567ffffffffffffffff8111156130c7576130c6614386565b5b6130d388828901612eb1565b925050608086013567ffffffffffffffff8111156130f4576130f3614386565b5b61310088828901612f1e565b9150509295509295909350565b600080600080600060a086880312156131295761312861438b565b5b600061313788828901612e59565b955050602061314888828901612e59565b945050604061315988828901612f7a565b935050606061316a88828901612f7a565b925050608086013567ffffffffffffffff81111561318b5761318a614386565b5b61319788828901612f1e565b9150509295509295909350565b600080604083850312156131bb576131ba61438b565b5b60006131c985828601612e59565b92505060206131da85828601612edf565b9150509250929050565b600080604083850312156131fb576131fa61438b565b5b600061320985828601612e59565b925050602061321a85828601612f7a565b9150509250929050565b6000806040838503121561323b5761323a61438b565b5b600061324985828601612e59565b925050602061325a85828601612f8f565b9150509250929050565b60008060006060848603121561327d5761327c61438b565b5b600061328b86828701612e59565b935050602061329c86828701612f8f565b92505060406132ad86828701612f8f565b9150509250925092565b600080604083850312156132ce576132cd61438b565b5b600083013567ffffffffffffffff8111156132ec576132eb614386565b5b6132f885828601612e83565b925050602083013567ffffffffffffffff81111561331957613318614386565b5b61332585828601612eb1565b9150509250929050565b6000602082840312156133455761334461438b565b5b600061335384828501612edf565b91505092915050565b6000602082840312156133725761337161438b565b5b600061338084828501612ef4565b91505092915050565b60006020828403121561339f5761339e61438b565b5b60006133ad84828501612f09565b91505092915050565b6000602082840312156133cc576133cb61438b565b5b600082013567ffffffffffffffff8111156133ea576133e9614386565b5b6133f684828501612f4c565b91505092915050565b6000602082840312156134155761341461438b565b5b600061342384828501612f7a565b91505092915050565b6000602082840312156134425761344161438b565b5b600061345084828501612f8f565b91505092915050565b60006134658383613893565b60208301905092915050565b61347a8161410a565b82525050565b600061348b82613f22565b6134958185613f50565b93506134a083613f12565b8060005b838110156134d15781516134b88882613459565b97506134c383613f43565b9250506001810190506134a4565b5085935050505092915050565b6134e78161411c565b82525050565b60006134f882613f2d565b6135028185613f61565b93506135128185602086016141ba565b61351b81614390565b840191505092915050565b600061353182613f38565b61353b8185613f72565b935061354b8185602086016141ba565b61355481614390565b840191505092915050565b600061356c603483613f72565b9150613577826143ae565b604082019050919050565b600061358f602883613f72565b915061359a826143fd565b604082019050919050565b60006135b2601483613f72565b91506135bd8261444c565b602082019050919050565b60006135d5601c83613f72565b91506135e082614475565b602082019050919050565b60006135f8602b83613f72565b91506136038261449e565b604082019050919050565b600061361b602683613f72565b9150613626826144ed565b604082019050919050565b600061363e602983613f72565b91506136498261453c565b604082019050919050565b6000613661602683613f72565b915061366c8261458b565b604082019050919050565b6000613684601283613f72565b915061368f826145da565b602082019050919050565b60006136a7601f83613f72565b91506136b282614603565b602082019050919050565b60006136ca601083613f72565b91506136d58261462c565b602082019050919050565b60006136ed602583613f72565b91506136f882614655565b604082019050919050565b6000613710603283613f72565b915061371b826146a4565b604082019050919050565b6000613733602a83613f72565b915061373e826146f3565b604082019050919050565b6000613756601683613f72565b915061376182614742565b602082019050919050565b6000613779602083613f72565b91506137848261476b565b602082019050919050565b600061379c601183613f72565b91506137a782614794565b602082019050919050565b60006137bf602383613f72565b91506137ca826147bd565b604082019050919050565b60006137e2603683613f72565b91506137ed8261480c565b604082019050919050565b6000613805602983613f72565b91506138108261485b565b604082019050919050565b6000613828602983613f72565b9150613833826148aa565b604082019050919050565b600061384b602883613f72565b9150613856826148f9565b604082019050919050565b600061386e602183613f72565b915061387982614948565b604082019050919050565b61388d81614154565b82525050565b61389c81614182565b82525050565b6138ab81614182565b82525050565b6138ba81614199565b82525050565b6138c98161418c565b82525050565b60006020820190506138e46000830184613471565b92915050565b600060a0820190506138ff6000830188613471565b61390c6020830187613471565b818103604083015261391e8186613480565b905081810360608301526139328185613480565b9050818103608083015261394681846134ed565b90509695505050505050565b600060a0820190506139676000830188613471565b6139746020830187613471565b61398160408301866138a2565b61398e60608301856138a2565b81810360808301526139a081846134ed565b90509695505050505050565b600060a0820190506139c16000830188613471565b6139ce60208301876138c0565b6139db60408301866138c0565b6139e860608301856138c0565b6139f56080830184613884565b9695505050505050565b60006020820190508181036000830152613a198184613480565b905092915050565b60006040820190508181036000830152613a3b8185613480565b90508181036020830152613a4f8184613480565b90509392505050565b6000602082019050613a6d60008301846134de565b92915050565b60006020820190508181036000830152613a8d8184613526565b905092915050565b60006020820190508181036000830152613aae8161355f565b9050919050565b60006020820190508181036000830152613ace81613582565b9050919050565b60006020820190508181036000830152613aee816135a5565b9050919050565b60006020820190508181036000830152613b0e816135c8565b9050919050565b60006020820190508181036000830152613b2e816135eb565b9050919050565b60006020820190508181036000830152613b4e8161360e565b9050919050565b60006020820190508181036000830152613b6e81613631565b9050919050565b60006020820190508181036000830152613b8e81613654565b9050919050565b60006020820190508181036000830152613bae81613677565b9050919050565b60006020820190508181036000830152613bce8161369a565b9050919050565b60006020820190508181036000830152613bee816136bd565b9050919050565b60006020820190508181036000830152613c0e816136e0565b9050919050565b60006020820190508181036000830152613c2e81613703565b9050919050565b60006020820190508181036000830152613c4e81613726565b9050919050565b60006020820190508181036000830152613c6e81613749565b9050919050565b60006020820190508181036000830152613c8e8161376c565b9050919050565b60006020820190508181036000830152613cae8161378f565b9050919050565b60006020820190508181036000830152613cce816137b2565b9050919050565b60006020820190508181036000830152613cee816137d5565b9050919050565b60006020820190508181036000830152613d0e816137f8565b9050919050565b60006020820190508181036000830152613d2e8161381b565b9050919050565b60006020820190508181036000830152613d4e8161383e565b9050919050565b60006020820190508181036000830152613d6e81613861565b9050919050565b6000602082019050613d8a6000830184613884565b92915050565b6000602082019050613da560008301846138a2565b92915050565b6000604082019050613dc060008301856138a2565b613dcd60208301846138a2565b9392505050565b6000602082019050613de960008301846138b1565b92915050565b6000602082019050613e0460008301846138c0565b92915050565b6000604082019050613e1f60008301856138c0565b613e2c6020830184613884565b9392505050565b6000613e3d613e4e565b9050613e49828261421f565b919050565b6000604051905090565b600067ffffffffffffffff821115613e7357613e72614326565b5b602082029050602081019050919050565b600067ffffffffffffffff821115613e9f57613e9e614326565b5b602082029050602081019050919050565b600067ffffffffffffffff821115613ecb57613eca614326565b5b613ed482614390565b9050602081019050919050565b600067ffffffffffffffff821115613efc57613efb614326565b5b613f0582614390565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b6000613f8e82614154565b9150613f9983614154565b92508261ffff03821115613fb057613faf614299565b5b828201905092915050565b6000613fc682614182565b9150613fd183614182565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561400657614005614299565b5b828201905092915050565b600061401c8261418c565b91506140278361418c565b92508260ff0382111561403d5761403c614299565b5b828201905092915050565b600061405382614182565b915061405e83614182565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561409757614096614299565b5b828202905092915050565b60006140ad82614154565b91506140b883614154565b9250828210156140cb576140ca614299565b5b828203905092915050565b60006140e182614182565b91506140ec83614182565b9250828210156140ff576140fe614299565b5b828203905092915050565b600061411582614162565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600061ffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b60006141a48261418c565b9050919050565b82818337600083830152505050565b60005b838110156141d85780820151818401526020810190506141bd565b838111156141e7576000848401525b50505050565b6000600282049050600182168061420557607f821691505b60208210811415614219576142186142c8565b5b50919050565b61422882614390565b810181811067ffffffffffffffff8211171561424757614246614326565b5b80604052505050565b600061425b82614182565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561428e5761428d614299565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600060033d11156143745760046000803e6143716000516143a1565b90505b90565b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160e01c9050919050565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b7f43616e2774206d696e74206f76657220737570706c79206c696d697400000000600082015250565b7f455243313135353a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008201527f20617070726f7665640000000000000000000000000000000000000000000000602082015250565b7f43616e206f6e6c7920636c61696d203220746f6b656e7320706572206d656d6260008201527f6572736869700000000000000000000000000000000000000000000000000000602082015250565b7f53616c65206973206e6f74206163746976650000000000000000000000000000600082015250565b7f416d6f756e74206d75737420626520706f73697469766520696e746567657200600082015250565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b7f436c61696d696e67206973206e6f742061637469766500000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f57726f6e6720616d6f756e742073656e74000000000000000000000000000000600082015250565b7f43616e2774206d696e742074686174206d616e7920746f6b656e73206174206f60008201527f6e63650000000000000000000000000000000000000000000000000000000000602082015250565b7f4f6e6c7920746865206f776e6572206f662074686973206d656d62657273686960008201527f702063616e20636c61696d2069747320746f6b656e7300000000000000000000602082015250565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b600060443d10156149a757614a2a565b6149af613e4e565b60043d036004823e80513d602482011167ffffffffffffffff821117156149d7575050614a2a565b808201805167ffffffffffffffff8111156149f55750505050614a2a565b80602083010160043d038501811115614a12575050505050614a2a565b614a218260200185018661421f565b82955050505050505b90565b614a368161410a565b8114614a4157600080fd5b50565b614a4d8161411c565b8114614a5857600080fd5b50565b614a6481614128565b8114614a6f57600080fd5b50565b614a7b81614182565b8114614a8657600080fd5b50565b614a928161418c565b8114614a9d57600080fd5b5056fea264697066735822122046ec28e75b2134c931dd32c6c43cf677a33977f3a551f75bb8601d3143d96e0264736f6c63430008070033

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

00000000000000000000000024e047001f0ac15f72689d3f5cd0b0f52b1abdf90000000000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _address (address): 0x24E047001f0Ac15f72689D3F5cD0B0f52b1abdF9
Arg [1] : _saleAndClaimActive (bool): False

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 00000000000000000000000024e047001f0ac15f72689d3f5cd0b0f52b1abdf9
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000000


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.