ETH Price: $3,321.35 (-2.74%)
Gas: 5.69 Gwei

Token

RTFKT SKIN VIAL (EVO X)
 

Overview

Max Total Supply

0 EVO X

Holders

4,576

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
mcflyy.eth
0x9adCB03f647cCf416Bc15456F17Fb7edf840f413
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

RTFKT Skin Vials allow you to change the look of the RTFKT x NIKE DUNK GENESIS CRYPTOKICKS or any compatible CRYPTOKICKS with limited edition skins.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
MNLTHSKIN

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
No with 200 runs

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

/*
    RTFKT Legal Overview [https://rtfkt.com/legaloverview]
    1. RTFKT Platform Terms of Services [Document #1, https://rtfkt.com/tos]
    2. End Use License Terms
    A. Digital Collectible Terms (RTFKT-Owned Content) [Document #2-A, https://rtfkt.com/legal-2A]
    B. Digital Collectible Terms (Third Party Content) [Document #2-B, https://rtfkt.com/legal-2B]
    C. Digital Collectible Limited Commercial Use License Terms (RTFKT-Owned Content) [Document #2-C, https://rtfkt.com/legal-2C]
    D. Digital Collectible Terms [Document #2-D, https://rtfkt.com/legal-2D]
    
    3. Policies or other documentation
    A. RTFKT Privacy Policy [Document #3-A, https://rtfkt.com/privacy]
    B. NFT Issuance and Marketing Policy [Document #3-B, https://rtfkt.com/legal-3B]
    C. Transfer Fees [Document #3C, https://rtfkt.com/legal-3C]
    C. 1. Commercialization Registration [https://rtfkt.typeform.com/to/u671kiRl]
    
    4. General notices
    A. Murakami Short Verbiage – User Experience Notice [Document #X-1, https://rtfkt.com/legal-X1]
*/

pragma solidity ^0.8.7;

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


abstract contract externalContract {
    function equipSkin(uint256 vialId, uint256 dunkId) public virtual;
    function ownerOf(uint256 tokenId) public view virtual returns (address);
    function getEquippedSkin(uint256 dunkId) public view virtual returns(uint256);
}

contract MNLTHSKIN is ERC1155, Ownable, ERC1155Burnable {  
    using Strings for uint256;

    constructor() ERC1155("") {}

    event newVial(uint256 tokenId);
    uint256 tokenId = 1;
    mapping (uint256 => string) tokenUri;
    mapping (address => bool) public authorizedContract;

    function mint(address receiver) public returns (uint256) {
        require(authorizedContract[msg.sender] == true, "Not authorized - vial mint");

        _mint(receiver, tokenId, 1, "");
        emit newVial(tokenId);
        tokenUri[tokenId] = string(abi.encodePacked("https://mnlthassets.rtfkt.com/", tokenId.toString()));
        uint256 currentId = tokenId;
        tokenId++;

        return currentId;
    }

    function equipSkin(address contractAdress, uint256 dunkId, uint256 vialId) public {
        require(authorizedContract[contractAdress] == true, "Not authorized - vial equipSkin");
        require(balanceOf(msg.sender, vialId) == 1, "This vial doesn't belong to you");
        externalContract externalToken = externalContract(contractAdress);
        require(externalToken.ownerOf(dunkId) == msg.sender, "You don't own that NFT");
        require(externalToken.getEquippedSkin(dunkId) == 0, "A skin is already equipped");
        burn(msg.sender, vialId, 1);
        externalToken.equipSkin(dunkId, vialId); 
    }

    function skinUnequipped(uint256 id, address owner) public {
        require(authorizedContract[msg.sender] == true, "Not authorized - vial skinUnequipped");
        require(balanceOf(owner, id) == 0, "This vial weirdly already exist");
        _mint(owner, id, 1, "");
    }

    function toggleAuthorizedContract(address contractAddress) public onlyOwner {
        authorizedContract[contractAddress] = !authorizedContract[contractAddress];
    }

    function uri(uint256 id) public view virtual override returns (string memory) {
        return tokenUri[id];
    }
}

File 2 of 12 : ERC1155Burnable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC1155/extensions/ERC1155Burnable.sol)

pragma solidity ^0.8.0;

import "../ERC1155.sol";

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

        _burn(account, id, value);
    }

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

        _burnBatch(account, ids, values);
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 9 of 12 : IERC1155MetadataURI.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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 10 of 12 : IERC1155Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.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.
     *
     * NOTE: 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.
     *
     * NOTE: 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 11 of 12 : IERC1155.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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 12 of 12 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":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":"uint256","name":"tokenId","type":"uint256"}],"name":"newVial","type":"event"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"authorizedContract","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"burnBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"contractAdress","type":"address"},{"internalType":"uint256","name":"dunkId","type":"uint256"},{"internalType":"uint256","name":"vialId","type":"uint256"}],"name":"equipSkin","outputs":[],"stateMutability":"nonpayable","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":"receiver","type":"address"}],"name":"mint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"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":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"address","name":"owner","type":"address"}],"name":"skinUnequipped","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"contractAddress","type":"address"}],"name":"toggleAuthorizedContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}]

608060405260016004553480156200001657600080fd5b506040518060200160405280600081525062000038816200005f60201b60201c565b50620000596200004d6200007b60201b60201c565b6200008360201b60201c565b6200025e565b80600290805190602001906200007792919062000149565b5050565b600033905090565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200015790620001f9565b90600052602060002090601f0160209004810192826200017b5760008555620001c7565b82601f106200019657805160ff1916838001178555620001c7565b82800160010185558215620001c7579182015b82811115620001c6578251825591602001919060010190620001a9565b5b509050620001d69190620001da565b5090565b5b80821115620001f5576000816000905550600101620001db565b5090565b600060028204905060018216806200021257607f821691505b602082108114156200022957620002286200022f565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b614393806200026e6000396000f3fe608060405234801561001057600080fd5b50600436106101155760003560e01c8063715018a6116100a2578063c189754c11610071578063c189754c146102da578063e985e9c51461030a578063f242432a1461033a578063f2fde38b14610356578063f5298aca1461037257610115565b8063715018a61461027a5780638da5cb5b14610284578063a22cb465146102a2578063acec123a146102be57610115565b80633ba78a36116100e95780633ba78a36146101c65780633de1f93c146101e25780634e1273f4146101fe5780636a6278421461022e5780636b20c4541461025e57610115565b8062fdd58e1461011a57806301ffc9a71461014a5780630e89341c1461017a5780632eb2c2d6146101aa575b600080fd5b610134600480360381019061012f9190612cb4565b61038e565b6040516101419190613782565b60405180910390f35b610164600480360381019061015f9190612dbf565b610457565b6040516101719190613485565b60405180910390f35b610194600480360381019061018f9190612e19565b610539565b6040516101a191906134a0565b60405180910390f35b6101c460048036038101906101bf9190612a83565b6105de565b005b6101e060048036038101906101db9190612cf4565b61067f565b005b6101fc60048036038101906101f79190612e73565b6109a3565b005b61021860048036038101906102139190612d47565b610aa2565b604051610225919061342c565b60405180910390f35b610248600480360381019061024391906129e9565b610bbb565b6040516102559190613782565b60405180910390f35b61027860048036038101906102739190612be9565b610d22565b005b610282610dbf565b005b61028c610e47565b604051610299919061334f565b60405180910390f35b6102bc60048036038101906102b79190612c74565b610e71565b005b6102d860048036038101906102d391906129e9565b610e87565b005b6102f460048036038101906102ef91906129e9565b610faa565b6040516103019190613485565b60405180910390f35b610324600480360381019061031f9190612a43565b610fca565b6040516103319190613485565b60405180910390f35b610354600480360381019061034f9190612b52565b61105e565b005b610370600480360381019061036b91906129e9565b6110ff565b005b61038c60048036038101906103879190612cf4565b6111f7565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156103ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103f690613522565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061052257507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610532575061053182611294565b5b9050919050565b606060056000838152602001908152602001600020805461055990613a61565b80601f016020809104026020016040519081016040528092919081815260200182805461058590613a61565b80156105d25780601f106105a7576101008083540402835291602001916105d2565b820191906000526020600020905b8154815290600101906020018083116105b557829003601f168201915b50505050509050919050565b6105e66112fe565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061062c575061062b856106266112fe565b610fca565b5b61066b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610662906135e2565b60405180910390fd5b6106788585858585611306565b5050505050565b60011515600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151514610712576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610709906136a2565b60405180910390fd5b600161071e338361038e565b1461075e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161075590613602565b60405180910390fd5b60008390503373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16636352211e856040518263ffffffff1660e01b81526004016107b39190613782565b60206040518083038186803b1580156107cb57600080fd5b505afa1580156107df573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108039190612a16565b73ffffffffffffffffffffffffffffffffffffffff1614610859576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161085090613502565b60405180910390fd5b60008173ffffffffffffffffffffffffffffffffffffffff166349913afe856040518263ffffffff1660e01b81526004016108949190613782565b60206040518083038186803b1580156108ac57600080fd5b505afa1580156108c0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108e49190612e46565b14610924576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161091b90613662565b60405180910390fd5b610930338360016111f7565b8073ffffffffffffffffffffffffffffffffffffffff1663c6769bda84846040518363ffffffff1660e01b815260040161096b92919061379d565b600060405180830381600087803b15801561098557600080fd5b505af1158015610999573d6000803e3d6000fd5b5050505050505050565b60011515600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151514610a36576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a2d90613542565b60405180910390fd5b6000610a42828461038e565b14610a82576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a79906136c2565b60405180910390fd5b610a9e818360016040518060200160405280600081525061161a565b5050565b60608151835114610ae8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610adf90613702565b60405180910390fd5b6000835167ffffffffffffffff811115610b0557610b04613bfa565b5b604051908082528060200260200182016040528015610b335781602001602082028036833780820191505090505b50905060005b8451811015610bb057610b80858281518110610b5857610b57613bcb565b5b6020026020010151858381518110610b7357610b72613bcb565b5b602002602001015161038e565b828281518110610b9357610b92613bcb565b5b60200260200101818152505080610ba990613ac4565b9050610b39565b508091505092915050565b600060011515600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151514610c50576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c4790613742565b60405180910390fd5b610c6e8260045460016040518060200160405280600081525061161a565b7fda37435279d9eee356742448a8382f3b030e47ad44918c2c511afe81b96541fa600454604051610c9f9190613782565b60405180910390a1610cb26004546117b0565b604051602001610cc2919061332d565b6040516020818303038152906040526005600060045481526020019081526020016000209080519060200190610cf9929190612707565b506000600454905060046000815480929190610d1490613ac4565b919050555080915050919050565b610d2a6112fe565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161480610d705750610d6f83610d6a6112fe565b610fca565b5b610daf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610da6906135a2565b60405180910390fd5b610dba838383611911565b505050565b610dc76112fe565b73ffffffffffffffffffffffffffffffffffffffff16610de5610e47565b73ffffffffffffffffffffffffffffffffffffffff1614610e3b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e3290613682565b60405180910390fd5b610e456000611bc2565b565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610e83610e7c6112fe565b8383611c88565b5050565b610e8f6112fe565b73ffffffffffffffffffffffffffffffffffffffff16610ead610e47565b73ffffffffffffffffffffffffffffffffffffffff1614610f03576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610efa90613682565b60405180910390fd5b600660008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b60066020528060005260406000206000915054906101000a900460ff1681565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6110666112fe565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614806110ac57506110ab856110a66112fe565b610fca565b5b6110eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110e2906135a2565b60405180910390fd5b6110f88585858585611df5565b5050505050565b6111076112fe565b73ffffffffffffffffffffffffffffffffffffffff16611125610e47565b73ffffffffffffffffffffffffffffffffffffffff161461117b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161117290613682565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156111eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111e290613562565b60405180910390fd5b6111f481611bc2565b50565b6111ff6112fe565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16148061124557506112448361123f6112fe565b610fca565b5b611284576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161127b906135a2565b60405180910390fd5b61128f838383612077565b505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b815183511461134a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161134190613722565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156113ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113b1906135c2565b60405180910390fd5b60006113c46112fe565b90506113d4818787878787612294565b60005b84518110156115855760008582815181106113f5576113f4613bcb565b5b60200260200101519050600085838151811061141457611413613bcb565b5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156114b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114ac90613642565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461156a91906138f0565b925050819055505050508061157e90613ac4565b90506113d7565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516115fc92919061344e565b60405180910390a461161281878787878761229c565b505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141561168a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168190613762565b60405180910390fd5b60006116946112fe565b90506116b5816000876116a688612483565b6116af88612483565b87612294565b8260008086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461171491906138f0565b925050819055508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62878760405161179292919061379d565b60405180910390a46117a9816000878787876124fd565b5050505050565b606060008214156117f8576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061190c565b600082905060005b6000821461182a57808061181390613ac4565b915050600a826118239190613946565b9150611800565b60008167ffffffffffffffff81111561184657611845613bfa565b5b6040519080825280601f01601f1916602001820160405280156118785781602001600182028036833780820191505090505b5090505b60008514611905576001826118919190613977565b9150600a856118a09190613b0d565b60306118ac91906138f0565b60f81b8183815181106118c2576118c1613bcb565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856118fe9190613946565b945061187c565b8093505050505b919050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611981576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161197890613622565b60405180910390fd5b80518251146119c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119bc90613722565b60405180910390fd5b60006119cf6112fe565b90506119ef81856000868660405180602001604052806000815250612294565b60005b8351811015611b3c576000848281518110611a1057611a0f613bcb565b5b602002602001015190506000848381518110611a2f57611a2e613bcb565b5b60200260200101519050600080600084815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611ad0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ac790613582565b60405180910390fd5b81810360008085815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505050508080611b3490613ac4565b9150506119f2565b50600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8686604051611bb492919061344e565b60405180910390a450505050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611cf7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cee906136e2565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611de89190613485565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611e65576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e5c906135c2565b60405180910390fd5b6000611e6f6112fe565b9050611e8f818787611e8088612483565b611e8988612483565b87612294565b600080600086815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905083811015611f26576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f1d90613642565b60405180910390fd5b83810360008087815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508360008087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611fdb91906138f0565b925050819055508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62888860405161205892919061379d565b60405180910390a461206e8288888888886124fd565b50505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156120e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120de90613622565b60405180910390fd5b60006120f16112fe565b90506121218185600061210387612483565b61210c87612483565b60405180602001604052806000815250612294565b600080600085815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050828110156121b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121af90613582565b60405180910390fd5b82810360008086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62878760405161228592919061379d565b60405180910390a45050505050565b505050505050565b6122bb8473ffffffffffffffffffffffffffffffffffffffff166126e4565b1561247b578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b815260040161230195949392919061336a565b602060405180830381600087803b15801561231b57600080fd5b505af192505050801561234c57506040513d601f19601f820116820180604052508101906123499190612dec565b60015b6123f257612358613c29565b806308c379a014156123b5575061236d61426b565b8061237857506123b7565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123ac91906134a0565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123e9906134c2565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612479576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612470906134e2565b60405180910390fd5b505b505050505050565b60606000600167ffffffffffffffff8111156124a2576124a1613bfa565b5b6040519080825280602002602001820160405280156124d05781602001602082028036833780820191505090505b50905082816000815181106124e8576124e7613bcb565b5b60200260200101818152505080915050919050565b61251c8473ffffffffffffffffffffffffffffffffffffffff166126e4565b156126dc578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b81526004016125629594939291906133d2565b602060405180830381600087803b15801561257c57600080fd5b505af19250505080156125ad57506040513d601f19601f820116820180604052508101906125aa9190612dec565b60015b612653576125b9613c29565b806308c379a0141561261657506125ce61426b565b806125d95750612618565b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161260d91906134a0565b60405180910390fd5b505b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161264a906134c2565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916146126da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126d1906134e2565b60405180910390fd5b505b505050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b82805461271390613a61565b90600052602060002090601f016020900481019282612735576000855561277c565b82601f1061274e57805160ff191683800117855561277c565b8280016001018555821561277c579182015b8281111561277b578251825591602001919060010190612760565b5b509050612789919061278d565b5090565b5b808211156127a657600081600090555060010161278e565b5090565b60006127bd6127b8846137eb565b6137c6565b905080838252602082019050828560208602820111156127e0576127df613c50565b5b60005b8581101561281057816127f688826128cc565b8452602084019350602083019250506001810190506127e3565b5050509392505050565b600061282d61282884613817565b6137c6565b905080838252602082019050828560208602820111156128505761284f613c50565b5b60005b85811015612880578161286688826129bf565b845260208401935060208301925050600181019050612853565b5050509392505050565b600061289d61289884613843565b6137c6565b9050828152602081018484840111156128b9576128b8613c55565b5b6128c4848285613a1f565b509392505050565b6000813590506128db81614301565b92915050565b6000815190506128f081614301565b92915050565b600082601f83011261290b5761290a613c4b565b5b813561291b8482602086016127aa565b91505092915050565b600082601f83011261293957612938613c4b565b5b813561294984826020860161281a565b91505092915050565b60008135905061296181614318565b92915050565b6000813590506129768161432f565b92915050565b60008151905061298b8161432f565b92915050565b600082601f8301126129a6576129a5613c4b565b5b81356129b684826020860161288a565b91505092915050565b6000813590506129ce81614346565b92915050565b6000815190506129e381614346565b92915050565b6000602082840312156129ff576129fe613c5f565b5b6000612a0d848285016128cc565b91505092915050565b600060208284031215612a2c57612a2b613c5f565b5b6000612a3a848285016128e1565b91505092915050565b60008060408385031215612a5a57612a59613c5f565b5b6000612a68858286016128cc565b9250506020612a79858286016128cc565b9150509250929050565b600080600080600060a08688031215612a9f57612a9e613c5f565b5b6000612aad888289016128cc565b9550506020612abe888289016128cc565b945050604086013567ffffffffffffffff811115612adf57612ade613c5a565b5b612aeb88828901612924565b935050606086013567ffffffffffffffff811115612b0c57612b0b613c5a565b5b612b1888828901612924565b925050608086013567ffffffffffffffff811115612b3957612b38613c5a565b5b612b4588828901612991565b9150509295509295909350565b600080600080600060a08688031215612b6e57612b6d613c5f565b5b6000612b7c888289016128cc565b9550506020612b8d888289016128cc565b9450506040612b9e888289016129bf565b9350506060612baf888289016129bf565b925050608086013567ffffffffffffffff811115612bd057612bcf613c5a565b5b612bdc88828901612991565b9150509295509295909350565b600080600060608486031215612c0257612c01613c5f565b5b6000612c10868287016128cc565b935050602084013567ffffffffffffffff811115612c3157612c30613c5a565b5b612c3d86828701612924565b925050604084013567ffffffffffffffff811115612c5e57612c5d613c5a565b5b612c6a86828701612924565b9150509250925092565b60008060408385031215612c8b57612c8a613c5f565b5b6000612c99858286016128cc565b9250506020612caa85828601612952565b9150509250929050565b60008060408385031215612ccb57612cca613c5f565b5b6000612cd9858286016128cc565b9250506020612cea858286016129bf565b9150509250929050565b600080600060608486031215612d0d57612d0c613c5f565b5b6000612d1b868287016128cc565b9350506020612d2c868287016129bf565b9250506040612d3d868287016129bf565b9150509250925092565b60008060408385031215612d5e57612d5d613c5f565b5b600083013567ffffffffffffffff811115612d7c57612d7b613c5a565b5b612d88858286016128f6565b925050602083013567ffffffffffffffff811115612da957612da8613c5a565b5b612db585828601612924565b9150509250929050565b600060208284031215612dd557612dd4613c5f565b5b6000612de384828501612967565b91505092915050565b600060208284031215612e0257612e01613c5f565b5b6000612e108482850161297c565b91505092915050565b600060208284031215612e2f57612e2e613c5f565b5b6000612e3d848285016129bf565b91505092915050565b600060208284031215612e5c57612e5b613c5f565b5b6000612e6a848285016129d4565b91505092915050565b60008060408385031215612e8a57612e89613c5f565b5b6000612e98858286016129bf565b9250506020612ea9858286016128cc565b9150509250929050565b6000612ebf838361330f565b60208301905092915050565b612ed4816139ab565b82525050565b6000612ee582613884565b612eef81856138b2565b9350612efa83613874565b8060005b83811015612f2b578151612f128882612eb3565b9750612f1d836138a5565b925050600181019050612efe565b5085935050505092915050565b612f41816139bd565b82525050565b6000612f528261388f565b612f5c81856138c3565b9350612f6c818560208601613a2e565b612f7581613c64565b840191505092915050565b6000612f8b8261389a565b612f9581856138d4565b9350612fa5818560208601613a2e565b612fae81613c64565b840191505092915050565b6000612fc48261389a565b612fce81856138e5565b9350612fde818560208601613a2e565b80840191505092915050565b6000612ff76034836138d4565b915061300282613c82565b604082019050919050565b600061301a6028836138d4565b915061302582613cd1565b604082019050919050565b600061303d6016836138d4565b915061304882613d20565b602082019050919050565b6000613060602b836138d4565b915061306b82613d49565b604082019050919050565b60006130836024836138d4565b915061308e82613d98565b604082019050919050565b60006130a66026836138d4565b91506130b182613de7565b604082019050919050565b60006130c96024836138d4565b91506130d482613e36565b604082019050919050565b60006130ec6029836138d4565b91506130f782613e85565b604082019050919050565b600061310f601e836138e5565b915061311a82613ed4565b601e82019050919050565b60006131326025836138d4565b915061313d82613efd565b604082019050919050565b60006131556032836138d4565b915061316082613f4c565b604082019050919050565b6000613178601f836138d4565b915061318382613f9b565b602082019050919050565b600061319b6023836138d4565b91506131a682613fc4565b604082019050919050565b60006131be602a836138d4565b91506131c982614013565b604082019050919050565b60006131e1601a836138d4565b91506131ec82614062565b602082019050919050565b60006132046020836138d4565b915061320f8261408b565b602082019050919050565b6000613227601f836138d4565b9150613232826140b4565b602082019050919050565b600061324a601f836138d4565b9150613255826140dd565b602082019050919050565b600061326d6029836138d4565b915061327882614106565b604082019050919050565b60006132906029836138d4565b915061329b82614155565b604082019050919050565b60006132b36028836138d4565b91506132be826141a4565b604082019050919050565b60006132d6601a836138d4565b91506132e1826141f3565b602082019050919050565b60006132f96021836138d4565b91506133048261421c565b604082019050919050565b61331881613a15565b82525050565b61332781613a15565b82525050565b600061333882613102565b91506133448284612fb9565b915081905092915050565b60006020820190506133646000830184612ecb565b92915050565b600060a08201905061337f6000830188612ecb565b61338c6020830187612ecb565b818103604083015261339e8186612eda565b905081810360608301526133b28185612eda565b905081810360808301526133c68184612f47565b90509695505050505050565b600060a0820190506133e76000830188612ecb565b6133f46020830187612ecb565b613401604083018661331e565b61340e606083018561331e565b81810360808301526134208184612f47565b90509695505050505050565b600060208201905081810360008301526134468184612eda565b905092915050565b600060408201905081810360008301526134688185612eda565b9050818103602083015261347c8184612eda565b90509392505050565b600060208201905061349a6000830184612f38565b92915050565b600060208201905081810360008301526134ba8184612f80565b905092915050565b600060208201905081810360008301526134db81612fea565b9050919050565b600060208201905081810360008301526134fb8161300d565b9050919050565b6000602082019050818103600083015261351b81613030565b9050919050565b6000602082019050818103600083015261353b81613053565b9050919050565b6000602082019050818103600083015261355b81613076565b9050919050565b6000602082019050818103600083015261357b81613099565b9050919050565b6000602082019050818103600083015261359b816130bc565b9050919050565b600060208201905081810360008301526135bb816130df565b9050919050565b600060208201905081810360008301526135db81613125565b9050919050565b600060208201905081810360008301526135fb81613148565b9050919050565b6000602082019050818103600083015261361b8161316b565b9050919050565b6000602082019050818103600083015261363b8161318e565b9050919050565b6000602082019050818103600083015261365b816131b1565b9050919050565b6000602082019050818103600083015261367b816131d4565b9050919050565b6000602082019050818103600083015261369b816131f7565b9050919050565b600060208201905081810360008301526136bb8161321a565b9050919050565b600060208201905081810360008301526136db8161323d565b9050919050565b600060208201905081810360008301526136fb81613260565b9050919050565b6000602082019050818103600083015261371b81613283565b9050919050565b6000602082019050818103600083015261373b816132a6565b9050919050565b6000602082019050818103600083015261375b816132c9565b9050919050565b6000602082019050818103600083015261377b816132ec565b9050919050565b6000602082019050613797600083018461331e565b92915050565b60006040820190506137b2600083018561331e565b6137bf602083018461331e565b9392505050565b60006137d06137e1565b90506137dc8282613a93565b919050565b6000604051905090565b600067ffffffffffffffff82111561380657613805613bfa565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561383257613831613bfa565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561385e5761385d613bfa565b5b61386782613c64565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006138fb82613a15565b915061390683613a15565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561393b5761393a613b3e565b5b828201905092915050565b600061395182613a15565b915061395c83613a15565b92508261396c5761396b613b6d565b5b828204905092915050565b600061398282613a15565b915061398d83613a15565b9250828210156139a05761399f613b3e565b5b828203905092915050565b60006139b6826139f5565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015613a4c578082015181840152602081019050613a31565b83811115613a5b576000848401525b50505050565b60006002820490506001821680613a7957607f821691505b60208210811415613a8d57613a8c613b9c565b5b50919050565b613a9c82613c64565b810181811067ffffffffffffffff82111715613abb57613aba613bfa565b5b80604052505050565b6000613acf82613a15565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613b0257613b01613b3e565b5b600182019050919050565b6000613b1882613a15565b9150613b2383613a15565b925082613b3357613b32613b6d565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600060033d1115613c485760046000803e613c45600051613c75565b90505b90565b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160e01c9050919050565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b7f596f7520646f6e2774206f776e2074686174204e465400000000000000000000600082015250565b7f455243313135353a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b7f4e6f7420617574686f72697a6564202d207669616c20736b696e556e6571756960008201527f7070656400000000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206275726e20616d6f756e7420657863656564732062616c60008201527f616e636500000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008201527f20617070726f7665640000000000000000000000000000000000000000000000602082015250565b7f68747470733a2f2f6d6e6c74686173736574732e7274666b742e636f6d2f0000600082015250565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b7f54686973207669616c20646f65736e27742062656c6f6e6720746f20796f7500600082015250565b7f455243313135353a206275726e2066726f6d20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b7f4120736b696e20697320616c7265616479206571756970706564000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4e6f7420617574686f72697a6564202d207669616c206571756970536b696e00600082015250565b7f54686973207669616c2077656972646c7920616c726561647920657869737400600082015250565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b7f4e6f7420617574686f72697a6564202d207669616c206d696e74000000000000600082015250565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b600060443d101561427b576142fe565b6142836137e1565b60043d036004823e80513d602482011167ffffffffffffffff821117156142ab5750506142fe565b808201805167ffffffffffffffff8111156142c957505050506142fe565b80602083010160043d0385018111156142e65750505050506142fe565b6142f582602001850186613a93565b82955050505050505b90565b61430a816139ab565b811461431557600080fd5b50565b614321816139bd565b811461432c57600080fd5b50565b614338816139c9565b811461434357600080fd5b50565b61434f81613a15565b811461435a57600080fd5b5056fea26469706673582212205e17fe041884b7a31d338f14f31ca6db7f1335216f3b2218ae1f2ca3a74952d364736f6c63430008070033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101155760003560e01c8063715018a6116100a2578063c189754c11610071578063c189754c146102da578063e985e9c51461030a578063f242432a1461033a578063f2fde38b14610356578063f5298aca1461037257610115565b8063715018a61461027a5780638da5cb5b14610284578063a22cb465146102a2578063acec123a146102be57610115565b80633ba78a36116100e95780633ba78a36146101c65780633de1f93c146101e25780634e1273f4146101fe5780636a6278421461022e5780636b20c4541461025e57610115565b8062fdd58e1461011a57806301ffc9a71461014a5780630e89341c1461017a5780632eb2c2d6146101aa575b600080fd5b610134600480360381019061012f9190612cb4565b61038e565b6040516101419190613782565b60405180910390f35b610164600480360381019061015f9190612dbf565b610457565b6040516101719190613485565b60405180910390f35b610194600480360381019061018f9190612e19565b610539565b6040516101a191906134a0565b60405180910390f35b6101c460048036038101906101bf9190612a83565b6105de565b005b6101e060048036038101906101db9190612cf4565b61067f565b005b6101fc60048036038101906101f79190612e73565b6109a3565b005b61021860048036038101906102139190612d47565b610aa2565b604051610225919061342c565b60405180910390f35b610248600480360381019061024391906129e9565b610bbb565b6040516102559190613782565b60405180910390f35b61027860048036038101906102739190612be9565b610d22565b005b610282610dbf565b005b61028c610e47565b604051610299919061334f565b60405180910390f35b6102bc60048036038101906102b79190612c74565b610e71565b005b6102d860048036038101906102d391906129e9565b610e87565b005b6102f460048036038101906102ef91906129e9565b610faa565b6040516103019190613485565b60405180910390f35b610324600480360381019061031f9190612a43565b610fca565b6040516103319190613485565b60405180910390f35b610354600480360381019061034f9190612b52565b61105e565b005b610370600480360381019061036b91906129e9565b6110ff565b005b61038c60048036038101906103879190612cf4565b6111f7565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156103ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103f690613522565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061052257507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610532575061053182611294565b5b9050919050565b606060056000838152602001908152602001600020805461055990613a61565b80601f016020809104026020016040519081016040528092919081815260200182805461058590613a61565b80156105d25780601f106105a7576101008083540402835291602001916105d2565b820191906000526020600020905b8154815290600101906020018083116105b557829003601f168201915b50505050509050919050565b6105e66112fe565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061062c575061062b856106266112fe565b610fca565b5b61066b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610662906135e2565b60405180910390fd5b6106788585858585611306565b5050505050565b60011515600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151514610712576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610709906136a2565b60405180910390fd5b600161071e338361038e565b1461075e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161075590613602565b60405180910390fd5b60008390503373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16636352211e856040518263ffffffff1660e01b81526004016107b39190613782565b60206040518083038186803b1580156107cb57600080fd5b505afa1580156107df573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108039190612a16565b73ffffffffffffffffffffffffffffffffffffffff1614610859576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161085090613502565b60405180910390fd5b60008173ffffffffffffffffffffffffffffffffffffffff166349913afe856040518263ffffffff1660e01b81526004016108949190613782565b60206040518083038186803b1580156108ac57600080fd5b505afa1580156108c0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108e49190612e46565b14610924576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161091b90613662565b60405180910390fd5b610930338360016111f7565b8073ffffffffffffffffffffffffffffffffffffffff1663c6769bda84846040518363ffffffff1660e01b815260040161096b92919061379d565b600060405180830381600087803b15801561098557600080fd5b505af1158015610999573d6000803e3d6000fd5b5050505050505050565b60011515600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151514610a36576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a2d90613542565b60405180910390fd5b6000610a42828461038e565b14610a82576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a79906136c2565b60405180910390fd5b610a9e818360016040518060200160405280600081525061161a565b5050565b60608151835114610ae8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610adf90613702565b60405180910390fd5b6000835167ffffffffffffffff811115610b0557610b04613bfa565b5b604051908082528060200260200182016040528015610b335781602001602082028036833780820191505090505b50905060005b8451811015610bb057610b80858281518110610b5857610b57613bcb565b5b6020026020010151858381518110610b7357610b72613bcb565b5b602002602001015161038e565b828281518110610b9357610b92613bcb565b5b60200260200101818152505080610ba990613ac4565b9050610b39565b508091505092915050565b600060011515600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151514610c50576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c4790613742565b60405180910390fd5b610c6e8260045460016040518060200160405280600081525061161a565b7fda37435279d9eee356742448a8382f3b030e47ad44918c2c511afe81b96541fa600454604051610c9f9190613782565b60405180910390a1610cb26004546117b0565b604051602001610cc2919061332d565b6040516020818303038152906040526005600060045481526020019081526020016000209080519060200190610cf9929190612707565b506000600454905060046000815480929190610d1490613ac4565b919050555080915050919050565b610d2a6112fe565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161480610d705750610d6f83610d6a6112fe565b610fca565b5b610daf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610da6906135a2565b60405180910390fd5b610dba838383611911565b505050565b610dc76112fe565b73ffffffffffffffffffffffffffffffffffffffff16610de5610e47565b73ffffffffffffffffffffffffffffffffffffffff1614610e3b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e3290613682565b60405180910390fd5b610e456000611bc2565b565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610e83610e7c6112fe565b8383611c88565b5050565b610e8f6112fe565b73ffffffffffffffffffffffffffffffffffffffff16610ead610e47565b73ffffffffffffffffffffffffffffffffffffffff1614610f03576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610efa90613682565b60405180910390fd5b600660008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b60066020528060005260406000206000915054906101000a900460ff1681565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6110666112fe565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614806110ac57506110ab856110a66112fe565b610fca565b5b6110eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110e2906135a2565b60405180910390fd5b6110f88585858585611df5565b5050505050565b6111076112fe565b73ffffffffffffffffffffffffffffffffffffffff16611125610e47565b73ffffffffffffffffffffffffffffffffffffffff161461117b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161117290613682565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156111eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111e290613562565b60405180910390fd5b6111f481611bc2565b50565b6111ff6112fe565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16148061124557506112448361123f6112fe565b610fca565b5b611284576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161127b906135a2565b60405180910390fd5b61128f838383612077565b505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b815183511461134a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161134190613722565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156113ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113b1906135c2565b60405180910390fd5b60006113c46112fe565b90506113d4818787878787612294565b60005b84518110156115855760008582815181106113f5576113f4613bcb565b5b60200260200101519050600085838151811061141457611413613bcb565b5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156114b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114ac90613642565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461156a91906138f0565b925050819055505050508061157e90613ac4565b90506113d7565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516115fc92919061344e565b60405180910390a461161281878787878761229c565b505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141561168a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168190613762565b60405180910390fd5b60006116946112fe565b90506116b5816000876116a688612483565b6116af88612483565b87612294565b8260008086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461171491906138f0565b925050819055508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62878760405161179292919061379d565b60405180910390a46117a9816000878787876124fd565b5050505050565b606060008214156117f8576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061190c565b600082905060005b6000821461182a57808061181390613ac4565b915050600a826118239190613946565b9150611800565b60008167ffffffffffffffff81111561184657611845613bfa565b5b6040519080825280601f01601f1916602001820160405280156118785781602001600182028036833780820191505090505b5090505b60008514611905576001826118919190613977565b9150600a856118a09190613b0d565b60306118ac91906138f0565b60f81b8183815181106118c2576118c1613bcb565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856118fe9190613946565b945061187c565b8093505050505b919050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611981576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161197890613622565b60405180910390fd5b80518251146119c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119bc90613722565b60405180910390fd5b60006119cf6112fe565b90506119ef81856000868660405180602001604052806000815250612294565b60005b8351811015611b3c576000848281518110611a1057611a0f613bcb565b5b602002602001015190506000848381518110611a2f57611a2e613bcb565b5b60200260200101519050600080600084815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611ad0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ac790613582565b60405180910390fd5b81810360008085815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505050508080611b3490613ac4565b9150506119f2565b50600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8686604051611bb492919061344e565b60405180910390a450505050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611cf7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cee906136e2565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611de89190613485565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611e65576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e5c906135c2565b60405180910390fd5b6000611e6f6112fe565b9050611e8f818787611e8088612483565b611e8988612483565b87612294565b600080600086815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905083811015611f26576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f1d90613642565b60405180910390fd5b83810360008087815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508360008087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611fdb91906138f0565b925050819055508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62888860405161205892919061379d565b60405180910390a461206e8288888888886124fd565b50505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156120e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120de90613622565b60405180910390fd5b60006120f16112fe565b90506121218185600061210387612483565b61210c87612483565b60405180602001604052806000815250612294565b600080600085815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050828110156121b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121af90613582565b60405180910390fd5b82810360008086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62878760405161228592919061379d565b60405180910390a45050505050565b505050505050565b6122bb8473ffffffffffffffffffffffffffffffffffffffff166126e4565b1561247b578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b815260040161230195949392919061336a565b602060405180830381600087803b15801561231b57600080fd5b505af192505050801561234c57506040513d601f19601f820116820180604052508101906123499190612dec565b60015b6123f257612358613c29565b806308c379a014156123b5575061236d61426b565b8061237857506123b7565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123ac91906134a0565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123e9906134c2565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612479576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612470906134e2565b60405180910390fd5b505b505050505050565b60606000600167ffffffffffffffff8111156124a2576124a1613bfa565b5b6040519080825280602002602001820160405280156124d05781602001602082028036833780820191505090505b50905082816000815181106124e8576124e7613bcb565b5b60200260200101818152505080915050919050565b61251c8473ffffffffffffffffffffffffffffffffffffffff166126e4565b156126dc578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b81526004016125629594939291906133d2565b602060405180830381600087803b15801561257c57600080fd5b505af19250505080156125ad57506040513d601f19601f820116820180604052508101906125aa9190612dec565b60015b612653576125b9613c29565b806308c379a0141561261657506125ce61426b565b806125d95750612618565b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161260d91906134a0565b60405180910390fd5b505b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161264a906134c2565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916146126da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126d1906134e2565b60405180910390fd5b505b505050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b82805461271390613a61565b90600052602060002090601f016020900481019282612735576000855561277c565b82601f1061274e57805160ff191683800117855561277c565b8280016001018555821561277c579182015b8281111561277b578251825591602001919060010190612760565b5b509050612789919061278d565b5090565b5b808211156127a657600081600090555060010161278e565b5090565b60006127bd6127b8846137eb565b6137c6565b905080838252602082019050828560208602820111156127e0576127df613c50565b5b60005b8581101561281057816127f688826128cc565b8452602084019350602083019250506001810190506127e3565b5050509392505050565b600061282d61282884613817565b6137c6565b905080838252602082019050828560208602820111156128505761284f613c50565b5b60005b85811015612880578161286688826129bf565b845260208401935060208301925050600181019050612853565b5050509392505050565b600061289d61289884613843565b6137c6565b9050828152602081018484840111156128b9576128b8613c55565b5b6128c4848285613a1f565b509392505050565b6000813590506128db81614301565b92915050565b6000815190506128f081614301565b92915050565b600082601f83011261290b5761290a613c4b565b5b813561291b8482602086016127aa565b91505092915050565b600082601f83011261293957612938613c4b565b5b813561294984826020860161281a565b91505092915050565b60008135905061296181614318565b92915050565b6000813590506129768161432f565b92915050565b60008151905061298b8161432f565b92915050565b600082601f8301126129a6576129a5613c4b565b5b81356129b684826020860161288a565b91505092915050565b6000813590506129ce81614346565b92915050565b6000815190506129e381614346565b92915050565b6000602082840312156129ff576129fe613c5f565b5b6000612a0d848285016128cc565b91505092915050565b600060208284031215612a2c57612a2b613c5f565b5b6000612a3a848285016128e1565b91505092915050565b60008060408385031215612a5a57612a59613c5f565b5b6000612a68858286016128cc565b9250506020612a79858286016128cc565b9150509250929050565b600080600080600060a08688031215612a9f57612a9e613c5f565b5b6000612aad888289016128cc565b9550506020612abe888289016128cc565b945050604086013567ffffffffffffffff811115612adf57612ade613c5a565b5b612aeb88828901612924565b935050606086013567ffffffffffffffff811115612b0c57612b0b613c5a565b5b612b1888828901612924565b925050608086013567ffffffffffffffff811115612b3957612b38613c5a565b5b612b4588828901612991565b9150509295509295909350565b600080600080600060a08688031215612b6e57612b6d613c5f565b5b6000612b7c888289016128cc565b9550506020612b8d888289016128cc565b9450506040612b9e888289016129bf565b9350506060612baf888289016129bf565b925050608086013567ffffffffffffffff811115612bd057612bcf613c5a565b5b612bdc88828901612991565b9150509295509295909350565b600080600060608486031215612c0257612c01613c5f565b5b6000612c10868287016128cc565b935050602084013567ffffffffffffffff811115612c3157612c30613c5a565b5b612c3d86828701612924565b925050604084013567ffffffffffffffff811115612c5e57612c5d613c5a565b5b612c6a86828701612924565b9150509250925092565b60008060408385031215612c8b57612c8a613c5f565b5b6000612c99858286016128cc565b9250506020612caa85828601612952565b9150509250929050565b60008060408385031215612ccb57612cca613c5f565b5b6000612cd9858286016128cc565b9250506020612cea858286016129bf565b9150509250929050565b600080600060608486031215612d0d57612d0c613c5f565b5b6000612d1b868287016128cc565b9350506020612d2c868287016129bf565b9250506040612d3d868287016129bf565b9150509250925092565b60008060408385031215612d5e57612d5d613c5f565b5b600083013567ffffffffffffffff811115612d7c57612d7b613c5a565b5b612d88858286016128f6565b925050602083013567ffffffffffffffff811115612da957612da8613c5a565b5b612db585828601612924565b9150509250929050565b600060208284031215612dd557612dd4613c5f565b5b6000612de384828501612967565b91505092915050565b600060208284031215612e0257612e01613c5f565b5b6000612e108482850161297c565b91505092915050565b600060208284031215612e2f57612e2e613c5f565b5b6000612e3d848285016129bf565b91505092915050565b600060208284031215612e5c57612e5b613c5f565b5b6000612e6a848285016129d4565b91505092915050565b60008060408385031215612e8a57612e89613c5f565b5b6000612e98858286016129bf565b9250506020612ea9858286016128cc565b9150509250929050565b6000612ebf838361330f565b60208301905092915050565b612ed4816139ab565b82525050565b6000612ee582613884565b612eef81856138b2565b9350612efa83613874565b8060005b83811015612f2b578151612f128882612eb3565b9750612f1d836138a5565b925050600181019050612efe565b5085935050505092915050565b612f41816139bd565b82525050565b6000612f528261388f565b612f5c81856138c3565b9350612f6c818560208601613a2e565b612f7581613c64565b840191505092915050565b6000612f8b8261389a565b612f9581856138d4565b9350612fa5818560208601613a2e565b612fae81613c64565b840191505092915050565b6000612fc48261389a565b612fce81856138e5565b9350612fde818560208601613a2e565b80840191505092915050565b6000612ff76034836138d4565b915061300282613c82565b604082019050919050565b600061301a6028836138d4565b915061302582613cd1565b604082019050919050565b600061303d6016836138d4565b915061304882613d20565b602082019050919050565b6000613060602b836138d4565b915061306b82613d49565b604082019050919050565b60006130836024836138d4565b915061308e82613d98565b604082019050919050565b60006130a66026836138d4565b91506130b182613de7565b604082019050919050565b60006130c96024836138d4565b91506130d482613e36565b604082019050919050565b60006130ec6029836138d4565b91506130f782613e85565b604082019050919050565b600061310f601e836138e5565b915061311a82613ed4565b601e82019050919050565b60006131326025836138d4565b915061313d82613efd565b604082019050919050565b60006131556032836138d4565b915061316082613f4c565b604082019050919050565b6000613178601f836138d4565b915061318382613f9b565b602082019050919050565b600061319b6023836138d4565b91506131a682613fc4565b604082019050919050565b60006131be602a836138d4565b91506131c982614013565b604082019050919050565b60006131e1601a836138d4565b91506131ec82614062565b602082019050919050565b60006132046020836138d4565b915061320f8261408b565b602082019050919050565b6000613227601f836138d4565b9150613232826140b4565b602082019050919050565b600061324a601f836138d4565b9150613255826140dd565b602082019050919050565b600061326d6029836138d4565b915061327882614106565b604082019050919050565b60006132906029836138d4565b915061329b82614155565b604082019050919050565b60006132b36028836138d4565b91506132be826141a4565b604082019050919050565b60006132d6601a836138d4565b91506132e1826141f3565b602082019050919050565b60006132f96021836138d4565b91506133048261421c565b604082019050919050565b61331881613a15565b82525050565b61332781613a15565b82525050565b600061333882613102565b91506133448284612fb9565b915081905092915050565b60006020820190506133646000830184612ecb565b92915050565b600060a08201905061337f6000830188612ecb565b61338c6020830187612ecb565b818103604083015261339e8186612eda565b905081810360608301526133b28185612eda565b905081810360808301526133c68184612f47565b90509695505050505050565b600060a0820190506133e76000830188612ecb565b6133f46020830187612ecb565b613401604083018661331e565b61340e606083018561331e565b81810360808301526134208184612f47565b90509695505050505050565b600060208201905081810360008301526134468184612eda565b905092915050565b600060408201905081810360008301526134688185612eda565b9050818103602083015261347c8184612eda565b90509392505050565b600060208201905061349a6000830184612f38565b92915050565b600060208201905081810360008301526134ba8184612f80565b905092915050565b600060208201905081810360008301526134db81612fea565b9050919050565b600060208201905081810360008301526134fb8161300d565b9050919050565b6000602082019050818103600083015261351b81613030565b9050919050565b6000602082019050818103600083015261353b81613053565b9050919050565b6000602082019050818103600083015261355b81613076565b9050919050565b6000602082019050818103600083015261357b81613099565b9050919050565b6000602082019050818103600083015261359b816130bc565b9050919050565b600060208201905081810360008301526135bb816130df565b9050919050565b600060208201905081810360008301526135db81613125565b9050919050565b600060208201905081810360008301526135fb81613148565b9050919050565b6000602082019050818103600083015261361b8161316b565b9050919050565b6000602082019050818103600083015261363b8161318e565b9050919050565b6000602082019050818103600083015261365b816131b1565b9050919050565b6000602082019050818103600083015261367b816131d4565b9050919050565b6000602082019050818103600083015261369b816131f7565b9050919050565b600060208201905081810360008301526136bb8161321a565b9050919050565b600060208201905081810360008301526136db8161323d565b9050919050565b600060208201905081810360008301526136fb81613260565b9050919050565b6000602082019050818103600083015261371b81613283565b9050919050565b6000602082019050818103600083015261373b816132a6565b9050919050565b6000602082019050818103600083015261375b816132c9565b9050919050565b6000602082019050818103600083015261377b816132ec565b9050919050565b6000602082019050613797600083018461331e565b92915050565b60006040820190506137b2600083018561331e565b6137bf602083018461331e565b9392505050565b60006137d06137e1565b90506137dc8282613a93565b919050565b6000604051905090565b600067ffffffffffffffff82111561380657613805613bfa565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561383257613831613bfa565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561385e5761385d613bfa565b5b61386782613c64565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006138fb82613a15565b915061390683613a15565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561393b5761393a613b3e565b5b828201905092915050565b600061395182613a15565b915061395c83613a15565b92508261396c5761396b613b6d565b5b828204905092915050565b600061398282613a15565b915061398d83613a15565b9250828210156139a05761399f613b3e565b5b828203905092915050565b60006139b6826139f5565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015613a4c578082015181840152602081019050613a31565b83811115613a5b576000848401525b50505050565b60006002820490506001821680613a7957607f821691505b60208210811415613a8d57613a8c613b9c565b5b50919050565b613a9c82613c64565b810181811067ffffffffffffffff82111715613abb57613aba613bfa565b5b80604052505050565b6000613acf82613a15565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613b0257613b01613b3e565b5b600182019050919050565b6000613b1882613a15565b9150613b2383613a15565b925082613b3357613b32613b6d565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600060033d1115613c485760046000803e613c45600051613c75565b90505b90565b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160e01c9050919050565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b7f596f7520646f6e2774206f776e2074686174204e465400000000000000000000600082015250565b7f455243313135353a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b7f4e6f7420617574686f72697a6564202d207669616c20736b696e556e6571756960008201527f7070656400000000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206275726e20616d6f756e7420657863656564732062616c60008201527f616e636500000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008201527f20617070726f7665640000000000000000000000000000000000000000000000602082015250565b7f68747470733a2f2f6d6e6c74686173736574732e7274666b742e636f6d2f0000600082015250565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b7f54686973207669616c20646f65736e27742062656c6f6e6720746f20796f7500600082015250565b7f455243313135353a206275726e2066726f6d20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b7f4120736b696e20697320616c7265616479206571756970706564000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4e6f7420617574686f72697a6564202d207669616c206571756970536b696e00600082015250565b7f54686973207669616c2077656972646c7920616c726561647920657869737400600082015250565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b7f4e6f7420617574686f72697a6564202d207669616c206d696e74000000000000600082015250565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b600060443d101561427b576142fe565b6142836137e1565b60043d036004823e80513d602482011167ffffffffffffffff821117156142ab5750506142fe565b808201805167ffffffffffffffff8111156142c957505050506142fe565b80602083010160043d0385018111156142e65750505050506142fe565b6142f582602001850186613a93565b82955050505050505b90565b61430a816139ab565b811461431557600080fd5b50565b614321816139bd565b811461432c57600080fd5b50565b614338816139c9565b811461434357600080fd5b50565b61434f81613a15565b811461435a57600080fd5b5056fea26469706673582212205e17fe041884b7a31d338f14f31ca6db7f1335216f3b2218ae1f2ca3a74952d364736f6c63430008070033

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.