ETH Price: $2,676.77 (+1.50%)

Token

Punksters V2 (Punkster V2)
 

Overview

Max Total Supply

0 Punkster V2

Holders

84

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 Punkster V2
0x976eede58cc22019639ec0bfa8d71f2aa301a958
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
PunkstersV2

Compiler Version
v0.8.1+commit.df193b15

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 11 : PunkstersV2.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.1;

import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721.sol";

import "@openzeppelin/contracts/access/Ownable.sol";

contract OwnableDelegateProxy {}

contract ProxyRegistry {
    mapping(address => OwnableDelegateProxy) public proxies;
}

contract PunkstersV2 is ERC721, Ownable {
    using Strings for uint256;

    address immutable public proxyRegistryAddress;
    address immutable public punkBodiesV2;
    address public constant punkBodiesV1 = 0x837779Ed98209C38b9bF77804a4f0105B9eb2E02;

    address payable public ownerWallet = payable(0x4dB3ce00D5F784733d3e1F7E8bE19631fAA57958);

    uint public mintingPrice;
    uint public whitelistPrice;
    uint public nextId = 1;
   

    mapping(uint256 => uint256) public hashToId;
    mapping(uint256 => uint256) public idToHash;

    mapping(address => bool) public whitelisted;
 
    

    string baseURI_ = "https://api.punkbodies.com/get-images/v2/metadata/";

    constructor(address pb, address _proxyRegistryAddress)  ERC721("Punksters V2", "Punkster V2") {
        punkBodiesV2 = pb;
        proxyRegistryAddress = _proxyRegistryAddress;
    }

    function setMintingPrice(uint256 newPrice) external onlyOwner {
        mintingPrice = newPrice;
    }

    function setWhitelistPrice(uint256 newPrice) external onlyOwner {
        whitelistPrice = newPrice;
    }
    
    function setBaseUri(string calldata newURI) external onlyOwner {
        baseURI_ = newURI;
    }

    function setOwnerWallet(address payable newWallet) external onlyOwner {
        ownerWallet = newWallet;
    }

    function setWhitelist(address[] calldata _adds, bool[] calldata _values) external onlyOwner {
        require(_adds.length == _values.length, "mismatched length");
        for(uint i = 0; i < _adds.length; i++) {
            whitelisted[_adds[i]] = _values[i];
        }
    }


    function withdraw() external onlyOwner {
        require(ownerWallet != address(0));
        ownerWallet.transfer(address(this).balance);
    }


    function mint(uint256 tokenId0, uint256 tokenId1, address otherToken) external payable{
        require(IERC721(tokenId0 < 10000 ? punkBodiesV1 : punkBodiesV2).ownerOf(tokenId0) == msg.sender, "not owner of token");
        require(IERC721(otherToken).ownerOf(tokenId1) == msg.sender, "not owner of token");


        uint256 price = getPriceFor(msg.sender);
        require(msg.value == price, "wrong value sent");

        uint256 hashed = uint256(keccak256(abi.encodePacked(tokenId0, tokenId1, otherToken)));

        require(hashToId[hashed] == 0, "combination already minted");

        uint256 id = nextId;

        hashToId[hashed] = id;
        idToHash[id] = hashed;

        nextId++;

        _mint(msg.sender, id);
    }

    function burn(uint256 tokenId) external {
        require(_isApprovedOrOwner(_msgSender(), tokenId), "PairedNFT: caller is not owner nor approved");
        
        hashToId[idToHash[tokenId]] = 0;
        _burn(tokenId);
    }

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

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

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

    function isApprovedForAll(address owner_, address operator)
        override
        public
        view
        returns (bool)
    {
        // Whitelist OpenSea proxy contract for easy trading.
        ProxyRegistry proxyRegistry = ProxyRegistry(proxyRegistryAddress);
        if (address(proxyRegistry.proxies(owner_)) == operator) {
            return true;
        }

        return super.isApprovedForAll(owner_, operator);
    }

    function getPriceFor(address buyer) public view returns(uint){
        if (whitelisted[buyer]) return whitelistPrice;
        return mintingPrice;
    }
}

File 2 of 11 : Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

File 3 of 11 : IERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

File 4 of 11 : ERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        require(operator != _msgSender(), "ERC721: approve to caller");

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);
    }

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

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

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

File 5 of 11 : IERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

File 6 of 11 : ERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

File 7 of 11 : Strings.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

File 8 of 11 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

File 9 of 11 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    function _verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) private pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

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

File 10 of 11 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"pb","type":"address"},{"internalType":"address","name":"_proxyRegistryAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"buyer","type":"address"}],"name":"getPriceFor","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"hashToId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"idToHash","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner_","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId0","type":"uint256"},{"internalType":"uint256","name":"tokenId1","type":"uint256"},{"internalType":"address","name":"otherToken","type":"address"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintingPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nextId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ownerWallet","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"proxyRegistryAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"punkBodiesV1","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"punkBodiesV2","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newURI","type":"string"}],"name":"setBaseUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setMintingPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"newWallet","type":"address"}],"name":"setOwnerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_adds","type":"address[]"},{"internalType":"bool[]","name":"_values","type":"bool[]"}],"name":"setWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setWhitelistPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"whitelistPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60c0604052734db3ce00d5f784733d3e1f7e8be19631faa57958600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506001600a556040518060600160405280603281526020016200483760329139600e90805190602001906200008f929190620002c7565b503480156200009d57600080fd5b5060405162004869380380620048698339818101604052810190620000c391906200038e565b6040518060400160405280600c81526020017f50756e6b737465727320563200000000000000000000000000000000000000008152506040518060400160405280600b81526020017f50756e6b73746572205632000000000000000000000000000000000000000000815250816000908051906020019062000147929190620002c7565b50806001908051906020019062000160929190620002c7565b5050506200018362000177620001f960201b60201c565b6200020160201b60201c565b8173ffffffffffffffffffffffffffffffffffffffff1660a08173ffffffffffffffffffffffffffffffffffffffff1660601b815250508073ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff1660601b81525050505062000482565b600033905090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620002d59062000403565b90600052602060002090601f016020900481019282620002f9576000855562000345565b82601f106200031457805160ff191683800117855562000345565b8280016001018555821562000345579182015b828111156200034457825182559160200191906001019062000327565b5b50905062000354919062000358565b5090565b5b808211156200037357600081600090555060010162000359565b5090565b600081519050620003888162000468565b92915050565b60008060408385031215620003a257600080fd5b6000620003b28582860162000377565b9250506020620003c58582860162000377565b9150509250929050565b6000620003dc82620003e3565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600060028204905060018216806200041c57607f821691505b6020821081141562000433576200043262000439565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6200047381620003cf565b81146200047f57600080fd5b50565b60805160601c60a05160601c61437b620004bc60003960008181610f90015261189e01526000818161183a0152611be9015261437b6000f3fe6080604052600436106102045760003560e01c80637d2b87c011610118578063b88d4fde116100a0578063d936547e1161006f578063d936547e14610765578063e7d3fe6b146107a2578063e985e9c5146107be578063f2fde38b146107fb578063fc1a1c361461082457610204565b8063b88d4fde146106ab578063bb542ef0146106d4578063c87b56dd146106fd578063cd7c03261461073a57610204565b80639335dcb7116100e75780639335dcb7146105c657806395d89b41146105f15780639a4514ba1461061c578063a0bcfc7f14610659578063a22cb4651461068257610204565b80637d2b87c0146104f85780638417b47f146105355780638da5cb5b1461055e5780638fb5548f1461058957610204565b806342842e0e1161019b5780636352211e1161016a5780636352211e1461041357806370a0823114610450578063715018a61461048d578063715bf5e0146104a4578063717d57d3146104cf57610204565b806342842e0e1461036b57806342966c681461039457806345f27d72146103bd57806361b8ce8c146103e857610204565b806323b872dd116101d757806323b872dd146102d757806335db70b5146103005780633b99adf71461032b5780633ccfd60b1461035457610204565b806301ffc9a71461020957806306fdde0314610246578063081812fc14610271578063095ea7b3146102ae575b600080fd5b34801561021557600080fd5b50610230600480360381019061022b919061305e565b61084f565b60405161023d9190613665565b60405180910390f35b34801561025257600080fd5b5061025b610931565b6040516102689190613680565b60405180910390f35b34801561027d57600080fd5b506102986004803603810190610293919061311e565b6109c3565b6040516102a591906135e3565b60405180910390f35b3480156102ba57600080fd5b506102d560048036038101906102d09190612f84565b610a48565b005b3480156102e357600080fd5b506102fe60048036038101906102f99190612e7e565b610b60565b005b34801561030c57600080fd5b50610315610bc0565b6040516103229190613942565b60405180910390f35b34801561033757600080fd5b50610352600480360381019061034d9190612fc0565b610bc6565b005b34801561036057600080fd5b50610369610da3565b005b34801561037757600080fd5b50610392600480360381019061038d9190612e7e565b610ee6565b005b3480156103a057600080fd5b506103bb60048036038101906103b6919061311e565b610f06565b005b3480156103c957600080fd5b506103d2610f8e565b6040516103df91906135e3565b60405180910390f35b3480156103f457600080fd5b506103fd610fb2565b60405161040a9190613942565b60405180910390f35b34801561041f57600080fd5b5061043a6004803603810190610435919061311e565b610fb8565b60405161044791906135e3565b60405180910390f35b34801561045c57600080fd5b5061047760048036038101906104729190612dc7565b61106a565b6040516104849190613942565b60405180910390f35b34801561049957600080fd5b506104a2611122565b005b3480156104b057600080fd5b506104b96111aa565b6040516104c691906135e3565b60405180910390f35b3480156104db57600080fd5b506104f660048036038101906104f1919061311e565b6111c2565b005b34801561050457600080fd5b5061051f600480360381019061051a9190612dc7565b611248565b60405161052c9190613942565b60405180910390f35b34801561054157600080fd5b5061055c6004803603810190610557919061311e565b6112b1565b005b34801561056a57600080fd5b50610573611337565b60405161058091906135e3565b60405180910390f35b34801561059557600080fd5b506105b060048036038101906105ab919061311e565b611361565b6040516105bd9190613942565b60405180910390f35b3480156105d257600080fd5b506105db611379565b6040516105e891906135fe565b60405180910390f35b3480156105fd57600080fd5b5061060661139f565b6040516106139190613680565b60405180910390f35b34801561062857600080fd5b50610643600480360381019061063e919061311e565b611431565b6040516106509190613942565b60405180910390f35b34801561066557600080fd5b50610680600480360381019061067b91906130d9565b611449565b005b34801561068e57600080fd5b506106a960048036038101906106a49190612f48565b6114db565b005b3480156106b757600080fd5b506106d260048036038101906106cd9190612ecd565b61165c565b005b3480156106e057600080fd5b506106fb60048036038101906106f69190612e19565b6116be565b005b34801561070957600080fd5b50610724600480360381019061071f919061311e565b61177e565b6040516107319190613680565b60405180910390f35b34801561074657600080fd5b5061074f611838565b60405161075c91906135e3565b60405180910390f35b34801561077157600080fd5b5061078c60048036038101906107879190612dc7565b61185c565b6040516107999190613665565b60405180910390f35b6107bc60048036038101906107b79190613147565b61187c565b005b3480156107ca57600080fd5b506107e560048036038101906107e09190612e42565b611be4565b6040516107f29190613665565b60405180910390f35b34801561080757600080fd5b50610822600480360381019061081d9190612dc7565b611ce4565b005b34801561083057600080fd5b50610839611ddc565b6040516108469190613942565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061091a57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061092a575061092982611de2565b5b9050919050565b60606000805461094090613b8b565b80601f016020809104026020016040519081016040528092919081815260200182805461096c90613b8b565b80156109b95780601f1061098e576101008083540402835291602001916109b9565b820191906000526020600020905b81548152906001019060200180831161099c57829003601f168201915b5050505050905090565b60006109ce82611e4c565b610a0d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0490613842565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a5382610fb8565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610ac4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610abb906138e2565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610ae3611eb8565b73ffffffffffffffffffffffffffffffffffffffff161480610b125750610b1181610b0c611eb8565b611be4565b5b610b51576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b4890613782565b60405180910390fd5b610b5b8383611ec0565b505050565b610b71610b6b611eb8565b82611f79565b610bb0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ba790613902565b60405180910390fd5b610bbb838383612057565b505050565b60085481565b610bce611eb8565b73ffffffffffffffffffffffffffffffffffffffff16610bec611337565b73ffffffffffffffffffffffffffffffffffffffff1614610c42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c3990613862565b60405180910390fd5b818190508484905014610c8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c8190613922565b60405180910390fd5b60005b84849050811015610d9c57828282818110610cd1577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002016020810190610ce69190613035565b600d6000878785818110610d23577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002016020810190610d389190612dc7565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508080610d9490613bee565b915050610c8d565b5050505050565b610dab611eb8565b73ffffffffffffffffffffffffffffffffffffffff16610dc9611337565b73ffffffffffffffffffffffffffffffffffffffff1614610e1f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e1690613862565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415610e7b57600080fd5b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015610ee3573d6000803e3d6000fd5b50565b610f018383836040518060200160405280600081525061165c565b505050565b610f17610f11611eb8565b82611f79565b610f56576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f4d906137e2565b60405180910390fd5b6000600b6000600c600085815260200190815260200160002054815260200190815260200160002081905550610f8b816122b3565b50565b7f000000000000000000000000000000000000000000000000000000000000000081565b600a5481565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611061576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611058906137c2565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156110db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110d2906137a2565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61112a611eb8565b73ffffffffffffffffffffffffffffffffffffffff16611148611337565b73ffffffffffffffffffffffffffffffffffffffff161461119e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161119590613862565b60405180910390fd5b6111a860006123c4565b565b73837779ed98209c38b9bf77804a4f0105b9eb2e0281565b6111ca611eb8565b73ffffffffffffffffffffffffffffffffffffffff166111e8611337565b73ffffffffffffffffffffffffffffffffffffffff161461123e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161123590613862565b60405180910390fd5b8060098190555050565b6000600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16156112a65760095490506112ac565b60085490505b919050565b6112b9611eb8565b73ffffffffffffffffffffffffffffffffffffffff166112d7611337565b73ffffffffffffffffffffffffffffffffffffffff161461132d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161132490613862565b60405180910390fd5b8060088190555050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600c6020528060005260406000206000915090505481565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6060600180546113ae90613b8b565b80601f01602080910402602001604051908101604052809291908181526020018280546113da90613b8b565b80156114275780601f106113fc57610100808354040283529160200191611427565b820191906000526020600020905b81548152906001019060200180831161140a57829003601f168201915b5050505050905090565b600b6020528060005260406000206000915090505481565b611451611eb8565b73ffffffffffffffffffffffffffffffffffffffff1661146f611337565b73ffffffffffffffffffffffffffffffffffffffff16146114c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114bc90613862565b60405180910390fd5b8181600e91906114d6929190612b36565b505050565b6114e3611eb8565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611551576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154890613722565b60405180910390fd5b806005600061155e611eb8565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661160b611eb8565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516116509190613665565b60405180910390a35050565b61166d611667611eb8565b83611f79565b6116ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116a390613902565b60405180910390fd5b6116b88484848461248a565b50505050565b6116c6611eb8565b73ffffffffffffffffffffffffffffffffffffffff166116e4611337565b73ffffffffffffffffffffffffffffffffffffffff161461173a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161173190613862565b60405180910390fd5b80600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b606061178982611e4c565b6117c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117bf906138a2565b60405180910390fd5b60006117d26124e6565b905060008151116117f25760405180602001604052806000815250611830565b8061180f600c600086815260200190815260200160002054612578565b604051602001611820929190613582565b6040516020818303038152906040525b915050919050565b7f000000000000000000000000000000000000000000000000000000000000000081565b600d6020528060005260406000206000915054906101000a900460ff1681565b3373ffffffffffffffffffffffffffffffffffffffff1661271084106118c2577f00000000000000000000000000000000000000000000000000000000000000006118d8565b73837779ed98209c38b9bf77804a4f0105b9eb2e025b73ffffffffffffffffffffffffffffffffffffffff16636352211e856040518263ffffffff1660e01b81526004016119109190613942565b60206040518083038186803b15801561192857600080fd5b505afa15801561193c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119609190612df0565b73ffffffffffffffffffffffffffffffffffffffff16146119b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119ad906138c2565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16636352211e846040518263ffffffff1660e01b8152600401611a069190613942565b60206040518083038186803b158015611a1e57600080fd5b505afa158015611a32573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a569190612df0565b73ffffffffffffffffffffffffffffffffffffffff1614611aac576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aa3906138c2565b60405180910390fd5b6000611ab733611248565b9050803414611afb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611af290613822565b60405180910390fd5b6000848484604051602001611b12939291906135a6565b6040516020818303038152906040528051906020012060001c90506000600b60008381526020019081526020016000205414611b83576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b7a90613742565b60405180910390fd5b6000600a54905080600b60008481526020019081526020016000208190555081600c600083815260200190815260200160002081905550600a6000815480929190611bcd90613bee565b9190505550611bdc3382612725565b505050505050565b6000807f000000000000000000000000000000000000000000000000000000000000000090508273ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1663c4552791866040518263ffffffff1660e01b8152600401611c5a91906135e3565b60206040518083038186803b158015611c7257600080fd5b505afa158015611c86573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611caa91906130b0565b73ffffffffffffffffffffffffffffffffffffffff161415611cd0576001915050611cde565b611cda84846128f3565b9150505b92915050565b611cec611eb8565b73ffffffffffffffffffffffffffffffffffffffff16611d0a611337565b73ffffffffffffffffffffffffffffffffffffffff1614611d60576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d5790613862565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611dd0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dc7906136c2565b60405180910390fd5b611dd9816123c4565b50565b60095481565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611f3383610fb8565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611f8482611e4c565b611fc3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fba90613762565b60405180910390fd5b6000611fce83610fb8565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061203d57508373ffffffffffffffffffffffffffffffffffffffff16612025846109c3565b73ffffffffffffffffffffffffffffffffffffffff16145b8061204e575061204d8185611be4565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661207782610fb8565b73ffffffffffffffffffffffffffffffffffffffff16146120cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120c490613882565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561213d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161213490613702565b60405180910390fd5b612148838383612987565b612153600082611ec0565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546121a39190613a7d565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546121fa91906139f6565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b60006122be82610fb8565b90506122cc81600084612987565b6122d7600083611ec0565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546123279190613a7d565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612495848484612057565b6124a18484848461298c565b6124e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124d7906136a2565b60405180910390fd5b50505050565b6060600e80546124f590613b8b565b80601f016020809104026020016040519081016040528092919081815260200182805461252190613b8b565b801561256e5780601f106125435761010080835404028352916020019161256e565b820191906000526020600020905b81548152906001019060200180831161255157829003601f168201915b5050505050905090565b606060008214156125c0576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612720565b600082905060005b600082146125f25780806125db90613bee565b915050600a826125eb9190613a4c565b91506125c8565b60008167ffffffffffffffff811115612634577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156126665781602001600182028036833780820191505090505b5090505b600085146127195760018261267f9190613a7d565b9150600a8561268e9190613c65565b603061269a91906139f6565b60f81b8183815181106126d6577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856127129190613a4c565b945061266a565b8093505050505b919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612795576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161278c90613802565b60405180910390fd5b61279e81611e4c565b156127de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127d5906136e2565b60405180910390fd5b6127ea60008383612987565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461283a91906139f6565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b505050565b60006129ad8473ffffffffffffffffffffffffffffffffffffffff16612b23565b15612b16578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026129d6611eb8565b8786866040518563ffffffff1660e01b81526004016129f89493929190613619565b602060405180830381600087803b158015612a1257600080fd5b505af1925050508015612a4357506040513d601f19601f82011682018060405250810190612a409190613087565b60015b612ac6573d8060008114612a73576040519150601f19603f3d011682016040523d82523d6000602084013e612a78565b606091505b50600081511415612abe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ab5906136a2565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612b1b565b600190505b949350505050565b600080823b905060008111915050919050565b828054612b4290613b8b565b90600052602060002090601f016020900481019282612b645760008555612bab565b82601f10612b7d57803560ff1916838001178555612bab565b82800160010185558215612bab579182015b82811115612baa578235825591602001919060010190612b8f565b5b509050612bb89190612bbc565b5090565b5b80821115612bd5576000816000905550600101612bbd565b5090565b6000612bec612be784613982565b61395d565b905082815260208101848484011115612c0457600080fd5b612c0f848285613b49565b509392505050565b600081359050612c26816142bb565b92915050565b600081519050612c3b816142bb565b92915050565b600081359050612c50816142d2565b92915050565b60008083601f840112612c6857600080fd5b8235905067ffffffffffffffff811115612c8157600080fd5b602083019150836020820283011115612c9957600080fd5b9250929050565b60008083601f840112612cb257600080fd5b8235905067ffffffffffffffff811115612ccb57600080fd5b602083019150836020820283011115612ce357600080fd5b9250929050565b600081359050612cf9816142e9565b92915050565b600081359050612d0e81614300565b92915050565b600081519050612d2381614300565b92915050565b600082601f830112612d3a57600080fd5b8135612d4a848260208601612bd9565b91505092915050565b600081519050612d6281614317565b92915050565b60008083601f840112612d7a57600080fd5b8235905067ffffffffffffffff811115612d9357600080fd5b602083019150836001820283011115612dab57600080fd5b9250929050565b600081359050612dc18161432e565b92915050565b600060208284031215612dd957600080fd5b6000612de784828501612c17565b91505092915050565b600060208284031215612e0257600080fd5b6000612e1084828501612c2c565b91505092915050565b600060208284031215612e2b57600080fd5b6000612e3984828501612c41565b91505092915050565b60008060408385031215612e5557600080fd5b6000612e6385828601612c17565b9250506020612e7485828601612c17565b9150509250929050565b600080600060608486031215612e9357600080fd5b6000612ea186828701612c17565b9350506020612eb286828701612c17565b9250506040612ec386828701612db2565b9150509250925092565b60008060008060808587031215612ee357600080fd5b6000612ef187828801612c17565b9450506020612f0287828801612c17565b9350506040612f1387828801612db2565b925050606085013567ffffffffffffffff811115612f3057600080fd5b612f3c87828801612d29565b91505092959194509250565b60008060408385031215612f5b57600080fd5b6000612f6985828601612c17565b9250506020612f7a85828601612cea565b9150509250929050565b60008060408385031215612f9757600080fd5b6000612fa585828601612c17565b9250506020612fb685828601612db2565b9150509250929050565b60008060008060408587031215612fd657600080fd5b600085013567ffffffffffffffff811115612ff057600080fd5b612ffc87828801612c56565b9450945050602085013567ffffffffffffffff81111561301b57600080fd5b61302787828801612ca0565b925092505092959194509250565b60006020828403121561304757600080fd5b600061305584828501612cea565b91505092915050565b60006020828403121561307057600080fd5b600061307e84828501612cff565b91505092915050565b60006020828403121561309957600080fd5b60006130a784828501612d14565b91505092915050565b6000602082840312156130c257600080fd5b60006130d084828501612d53565b91505092915050565b600080602083850312156130ec57600080fd5b600083013567ffffffffffffffff81111561310657600080fd5b61311285828601612d68565b92509250509250929050565b60006020828403121561313057600080fd5b600061313e84828501612db2565b91505092915050565b60008060006060848603121561315c57600080fd5b600061316a86828701612db2565b935050602061317b86828701612db2565b925050604061318c86828701612c17565b9150509250925092565b61319f81613ac3565b82525050565b6131ae81613ab1565b82525050565b6131c56131c082613ab1565b613c37565b82525050565b6131d481613ad5565b82525050565b60006131e5826139b3565b6131ef81856139c9565b93506131ff818560208601613b58565b61320881613d52565b840191505092915050565b600061321e826139be565b61322881856139da565b9350613238818560208601613b58565b61324181613d52565b840191505092915050565b6000613257826139be565b61326181856139eb565b9350613271818560208601613b58565b80840191505092915050565b600061328a6032836139da565b915061329582613d70565b604082019050919050565b60006132ad6026836139da565b91506132b882613dbf565b604082019050919050565b60006132d0601c836139da565b91506132db82613e0e565b602082019050919050565b60006132f36024836139da565b91506132fe82613e37565b604082019050919050565b60006133166019836139da565b915061332182613e86565b602082019050919050565b6000613339601a836139da565b915061334482613eaf565b602082019050919050565b600061335c602c836139da565b915061336782613ed8565b604082019050919050565b600061337f6038836139da565b915061338a82613f27565b604082019050919050565b60006133a2602a836139da565b91506133ad82613f76565b604082019050919050565b60006133c56029836139da565b91506133d082613fc5565b604082019050919050565b60006133e8602b836139da565b91506133f382614014565b604082019050919050565b600061340b6020836139da565b915061341682614063565b602082019050919050565b600061342e6010836139da565b91506134398261408c565b602082019050919050565b6000613451602c836139da565b915061345c826140b5565b604082019050919050565b60006134746020836139da565b915061347f82614104565b602082019050919050565b60006134976029836139da565b91506134a28261412d565b604082019050919050565b60006134ba602f836139da565b91506134c58261417c565b604082019050919050565b60006134dd6012836139da565b91506134e8826141cb565b602082019050919050565b60006135006021836139da565b915061350b826141f4565b604082019050919050565b60006135236031836139da565b915061352e82614243565b604082019050919050565b60006135466011836139da565b915061355182614292565b602082019050919050565b61356581613b3f565b82525050565b61357c61357782613b3f565b613c5b565b82525050565b600061358e828561324c565b915061359a828461324c565b91508190509392505050565b60006135b2828661356b565b6020820191506135c2828561356b565b6020820191506135d282846131b4565b601482019150819050949350505050565b60006020820190506135f860008301846131a5565b92915050565b60006020820190506136136000830184613196565b92915050565b600060808201905061362e60008301876131a5565b61363b60208301866131a5565b613648604083018561355c565b818103606083015261365a81846131da565b905095945050505050565b600060208201905061367a60008301846131cb565b92915050565b6000602082019050818103600083015261369a8184613213565b905092915050565b600060208201905081810360008301526136bb8161327d565b9050919050565b600060208201905081810360008301526136db816132a0565b9050919050565b600060208201905081810360008301526136fb816132c3565b9050919050565b6000602082019050818103600083015261371b816132e6565b9050919050565b6000602082019050818103600083015261373b81613309565b9050919050565b6000602082019050818103600083015261375b8161332c565b9050919050565b6000602082019050818103600083015261377b8161334f565b9050919050565b6000602082019050818103600083015261379b81613372565b9050919050565b600060208201905081810360008301526137bb81613395565b9050919050565b600060208201905081810360008301526137db816133b8565b9050919050565b600060208201905081810360008301526137fb816133db565b9050919050565b6000602082019050818103600083015261381b816133fe565b9050919050565b6000602082019050818103600083015261383b81613421565b9050919050565b6000602082019050818103600083015261385b81613444565b9050919050565b6000602082019050818103600083015261387b81613467565b9050919050565b6000602082019050818103600083015261389b8161348a565b9050919050565b600060208201905081810360008301526138bb816134ad565b9050919050565b600060208201905081810360008301526138db816134d0565b9050919050565b600060208201905081810360008301526138fb816134f3565b9050919050565b6000602082019050818103600083015261391b81613516565b9050919050565b6000602082019050818103600083015261393b81613539565b9050919050565b6000602082019050613957600083018461355c565b92915050565b6000613967613978565b90506139738282613bbd565b919050565b6000604051905090565b600067ffffffffffffffff82111561399d5761399c613d23565b5b6139a682613d52565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000613a0182613b3f565b9150613a0c83613b3f565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613a4157613a40613c96565b5b828201905092915050565b6000613a5782613b3f565b9150613a6283613b3f565b925082613a7257613a71613cc5565b5b828204905092915050565b6000613a8882613b3f565b9150613a9383613b3f565b925082821015613aa657613aa5613c96565b5b828203905092915050565b6000613abc82613b1f565b9050919050565b6000613ace82613b1f565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6000613b1882613ab1565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015613b76578082015181840152602081019050613b5b565b83811115613b85576000848401525b50505050565b60006002820490506001821680613ba357607f821691505b60208210811415613bb757613bb6613cf4565b5b50919050565b613bc682613d52565b810181811067ffffffffffffffff82111715613be557613be4613d23565b5b80604052505050565b6000613bf982613b3f565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613c2c57613c2b613c96565b5b600182019050919050565b6000613c4282613c49565b9050919050565b6000613c5482613d63565b9050919050565b6000819050919050565b6000613c7082613b3f565b9150613c7b83613b3f565b925082613c8b57613c8a613cc5565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f636f6d62696e6174696f6e20616c7265616479206d696e746564000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f5061697265644e46543a2063616c6c6572206973206e6f74206f776e6572206e60008201527f6f7220617070726f766564000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f77726f6e672076616c75652073656e7400000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f6e6f74206f776e6572206f6620746f6b656e0000000000000000000000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f6d69736d617463686564206c656e677468000000000000000000000000000000600082015250565b6142c481613ab1565b81146142cf57600080fd5b50565b6142db81613ac3565b81146142e657600080fd5b50565b6142f281613ad5565b81146142fd57600080fd5b50565b61430981613ae1565b811461431457600080fd5b50565b61432081613b0d565b811461432b57600080fd5b50565b61433781613b3f565b811461434257600080fd5b5056fea2646970667358221220e52682443ce73baf71d698ea5f4540cd24c91d247b4668e02ad4e0fbf60d054964736f6c6343000801003368747470733a2f2f6170692e70756e6b626f646965732e636f6d2f6765742d696d616765732f76322f6d657461646174612f00000000000000000000000075442249f8afdb9bff5b394f9a8b5de2a7aa24ff000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1

Deployed Bytecode

0x6080604052600436106102045760003560e01c80637d2b87c011610118578063b88d4fde116100a0578063d936547e1161006f578063d936547e14610765578063e7d3fe6b146107a2578063e985e9c5146107be578063f2fde38b146107fb578063fc1a1c361461082457610204565b8063b88d4fde146106ab578063bb542ef0146106d4578063c87b56dd146106fd578063cd7c03261461073a57610204565b80639335dcb7116100e75780639335dcb7146105c657806395d89b41146105f15780639a4514ba1461061c578063a0bcfc7f14610659578063a22cb4651461068257610204565b80637d2b87c0146104f85780638417b47f146105355780638da5cb5b1461055e5780638fb5548f1461058957610204565b806342842e0e1161019b5780636352211e1161016a5780636352211e1461041357806370a0823114610450578063715018a61461048d578063715bf5e0146104a4578063717d57d3146104cf57610204565b806342842e0e1461036b57806342966c681461039457806345f27d72146103bd57806361b8ce8c146103e857610204565b806323b872dd116101d757806323b872dd146102d757806335db70b5146103005780633b99adf71461032b5780633ccfd60b1461035457610204565b806301ffc9a71461020957806306fdde0314610246578063081812fc14610271578063095ea7b3146102ae575b600080fd5b34801561021557600080fd5b50610230600480360381019061022b919061305e565b61084f565b60405161023d9190613665565b60405180910390f35b34801561025257600080fd5b5061025b610931565b6040516102689190613680565b60405180910390f35b34801561027d57600080fd5b506102986004803603810190610293919061311e565b6109c3565b6040516102a591906135e3565b60405180910390f35b3480156102ba57600080fd5b506102d560048036038101906102d09190612f84565b610a48565b005b3480156102e357600080fd5b506102fe60048036038101906102f99190612e7e565b610b60565b005b34801561030c57600080fd5b50610315610bc0565b6040516103229190613942565b60405180910390f35b34801561033757600080fd5b50610352600480360381019061034d9190612fc0565b610bc6565b005b34801561036057600080fd5b50610369610da3565b005b34801561037757600080fd5b50610392600480360381019061038d9190612e7e565b610ee6565b005b3480156103a057600080fd5b506103bb60048036038101906103b6919061311e565b610f06565b005b3480156103c957600080fd5b506103d2610f8e565b6040516103df91906135e3565b60405180910390f35b3480156103f457600080fd5b506103fd610fb2565b60405161040a9190613942565b60405180910390f35b34801561041f57600080fd5b5061043a6004803603810190610435919061311e565b610fb8565b60405161044791906135e3565b60405180910390f35b34801561045c57600080fd5b5061047760048036038101906104729190612dc7565b61106a565b6040516104849190613942565b60405180910390f35b34801561049957600080fd5b506104a2611122565b005b3480156104b057600080fd5b506104b96111aa565b6040516104c691906135e3565b60405180910390f35b3480156104db57600080fd5b506104f660048036038101906104f1919061311e565b6111c2565b005b34801561050457600080fd5b5061051f600480360381019061051a9190612dc7565b611248565b60405161052c9190613942565b60405180910390f35b34801561054157600080fd5b5061055c6004803603810190610557919061311e565b6112b1565b005b34801561056a57600080fd5b50610573611337565b60405161058091906135e3565b60405180910390f35b34801561059557600080fd5b506105b060048036038101906105ab919061311e565b611361565b6040516105bd9190613942565b60405180910390f35b3480156105d257600080fd5b506105db611379565b6040516105e891906135fe565b60405180910390f35b3480156105fd57600080fd5b5061060661139f565b6040516106139190613680565b60405180910390f35b34801561062857600080fd5b50610643600480360381019061063e919061311e565b611431565b6040516106509190613942565b60405180910390f35b34801561066557600080fd5b50610680600480360381019061067b91906130d9565b611449565b005b34801561068e57600080fd5b506106a960048036038101906106a49190612f48565b6114db565b005b3480156106b757600080fd5b506106d260048036038101906106cd9190612ecd565b61165c565b005b3480156106e057600080fd5b506106fb60048036038101906106f69190612e19565b6116be565b005b34801561070957600080fd5b50610724600480360381019061071f919061311e565b61177e565b6040516107319190613680565b60405180910390f35b34801561074657600080fd5b5061074f611838565b60405161075c91906135e3565b60405180910390f35b34801561077157600080fd5b5061078c60048036038101906107879190612dc7565b61185c565b6040516107999190613665565b60405180910390f35b6107bc60048036038101906107b79190613147565b61187c565b005b3480156107ca57600080fd5b506107e560048036038101906107e09190612e42565b611be4565b6040516107f29190613665565b60405180910390f35b34801561080757600080fd5b50610822600480360381019061081d9190612dc7565b611ce4565b005b34801561083057600080fd5b50610839611ddc565b6040516108469190613942565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061091a57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061092a575061092982611de2565b5b9050919050565b60606000805461094090613b8b565b80601f016020809104026020016040519081016040528092919081815260200182805461096c90613b8b565b80156109b95780601f1061098e576101008083540402835291602001916109b9565b820191906000526020600020905b81548152906001019060200180831161099c57829003601f168201915b5050505050905090565b60006109ce82611e4c565b610a0d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0490613842565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a5382610fb8565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610ac4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610abb906138e2565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610ae3611eb8565b73ffffffffffffffffffffffffffffffffffffffff161480610b125750610b1181610b0c611eb8565b611be4565b5b610b51576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b4890613782565b60405180910390fd5b610b5b8383611ec0565b505050565b610b71610b6b611eb8565b82611f79565b610bb0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ba790613902565b60405180910390fd5b610bbb838383612057565b505050565b60085481565b610bce611eb8565b73ffffffffffffffffffffffffffffffffffffffff16610bec611337565b73ffffffffffffffffffffffffffffffffffffffff1614610c42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c3990613862565b60405180910390fd5b818190508484905014610c8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c8190613922565b60405180910390fd5b60005b84849050811015610d9c57828282818110610cd1577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002016020810190610ce69190613035565b600d6000878785818110610d23577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002016020810190610d389190612dc7565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508080610d9490613bee565b915050610c8d565b5050505050565b610dab611eb8565b73ffffffffffffffffffffffffffffffffffffffff16610dc9611337565b73ffffffffffffffffffffffffffffffffffffffff1614610e1f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e1690613862565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415610e7b57600080fd5b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015610ee3573d6000803e3d6000fd5b50565b610f018383836040518060200160405280600081525061165c565b505050565b610f17610f11611eb8565b82611f79565b610f56576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f4d906137e2565b60405180910390fd5b6000600b6000600c600085815260200190815260200160002054815260200190815260200160002081905550610f8b816122b3565b50565b7f00000000000000000000000075442249f8afdb9bff5b394f9a8b5de2a7aa24ff81565b600a5481565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611061576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611058906137c2565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156110db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110d2906137a2565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61112a611eb8565b73ffffffffffffffffffffffffffffffffffffffff16611148611337565b73ffffffffffffffffffffffffffffffffffffffff161461119e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161119590613862565b60405180910390fd5b6111a860006123c4565b565b73837779ed98209c38b9bf77804a4f0105b9eb2e0281565b6111ca611eb8565b73ffffffffffffffffffffffffffffffffffffffff166111e8611337565b73ffffffffffffffffffffffffffffffffffffffff161461123e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161123590613862565b60405180910390fd5b8060098190555050565b6000600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16156112a65760095490506112ac565b60085490505b919050565b6112b9611eb8565b73ffffffffffffffffffffffffffffffffffffffff166112d7611337565b73ffffffffffffffffffffffffffffffffffffffff161461132d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161132490613862565b60405180910390fd5b8060088190555050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600c6020528060005260406000206000915090505481565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6060600180546113ae90613b8b565b80601f01602080910402602001604051908101604052809291908181526020018280546113da90613b8b565b80156114275780601f106113fc57610100808354040283529160200191611427565b820191906000526020600020905b81548152906001019060200180831161140a57829003601f168201915b5050505050905090565b600b6020528060005260406000206000915090505481565b611451611eb8565b73ffffffffffffffffffffffffffffffffffffffff1661146f611337565b73ffffffffffffffffffffffffffffffffffffffff16146114c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114bc90613862565b60405180910390fd5b8181600e91906114d6929190612b36565b505050565b6114e3611eb8565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611551576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154890613722565b60405180910390fd5b806005600061155e611eb8565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661160b611eb8565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516116509190613665565b60405180910390a35050565b61166d611667611eb8565b83611f79565b6116ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116a390613902565b60405180910390fd5b6116b88484848461248a565b50505050565b6116c6611eb8565b73ffffffffffffffffffffffffffffffffffffffff166116e4611337565b73ffffffffffffffffffffffffffffffffffffffff161461173a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161173190613862565b60405180910390fd5b80600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b606061178982611e4c565b6117c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117bf906138a2565b60405180910390fd5b60006117d26124e6565b905060008151116117f25760405180602001604052806000815250611830565b8061180f600c600086815260200190815260200160002054612578565b604051602001611820929190613582565b6040516020818303038152906040525b915050919050565b7f000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c181565b600d6020528060005260406000206000915054906101000a900460ff1681565b3373ffffffffffffffffffffffffffffffffffffffff1661271084106118c2577f00000000000000000000000075442249f8afdb9bff5b394f9a8b5de2a7aa24ff6118d8565b73837779ed98209c38b9bf77804a4f0105b9eb2e025b73ffffffffffffffffffffffffffffffffffffffff16636352211e856040518263ffffffff1660e01b81526004016119109190613942565b60206040518083038186803b15801561192857600080fd5b505afa15801561193c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119609190612df0565b73ffffffffffffffffffffffffffffffffffffffff16146119b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119ad906138c2565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16636352211e846040518263ffffffff1660e01b8152600401611a069190613942565b60206040518083038186803b158015611a1e57600080fd5b505afa158015611a32573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a569190612df0565b73ffffffffffffffffffffffffffffffffffffffff1614611aac576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aa3906138c2565b60405180910390fd5b6000611ab733611248565b9050803414611afb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611af290613822565b60405180910390fd5b6000848484604051602001611b12939291906135a6565b6040516020818303038152906040528051906020012060001c90506000600b60008381526020019081526020016000205414611b83576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b7a90613742565b60405180910390fd5b6000600a54905080600b60008481526020019081526020016000208190555081600c600083815260200190815260200160002081905550600a6000815480929190611bcd90613bee565b9190505550611bdc3382612725565b505050505050565b6000807f000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c190508273ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1663c4552791866040518263ffffffff1660e01b8152600401611c5a91906135e3565b60206040518083038186803b158015611c7257600080fd5b505afa158015611c86573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611caa91906130b0565b73ffffffffffffffffffffffffffffffffffffffff161415611cd0576001915050611cde565b611cda84846128f3565b9150505b92915050565b611cec611eb8565b73ffffffffffffffffffffffffffffffffffffffff16611d0a611337565b73ffffffffffffffffffffffffffffffffffffffff1614611d60576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d5790613862565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611dd0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dc7906136c2565b60405180910390fd5b611dd9816123c4565b50565b60095481565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611f3383610fb8565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611f8482611e4c565b611fc3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fba90613762565b60405180910390fd5b6000611fce83610fb8565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061203d57508373ffffffffffffffffffffffffffffffffffffffff16612025846109c3565b73ffffffffffffffffffffffffffffffffffffffff16145b8061204e575061204d8185611be4565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661207782610fb8565b73ffffffffffffffffffffffffffffffffffffffff16146120cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120c490613882565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561213d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161213490613702565b60405180910390fd5b612148838383612987565b612153600082611ec0565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546121a39190613a7d565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546121fa91906139f6565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b60006122be82610fb8565b90506122cc81600084612987565b6122d7600083611ec0565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546123279190613a7d565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612495848484612057565b6124a18484848461298c565b6124e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124d7906136a2565b60405180910390fd5b50505050565b6060600e80546124f590613b8b565b80601f016020809104026020016040519081016040528092919081815260200182805461252190613b8b565b801561256e5780601f106125435761010080835404028352916020019161256e565b820191906000526020600020905b81548152906001019060200180831161255157829003601f168201915b5050505050905090565b606060008214156125c0576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612720565b600082905060005b600082146125f25780806125db90613bee565b915050600a826125eb9190613a4c565b91506125c8565b60008167ffffffffffffffff811115612634577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156126665781602001600182028036833780820191505090505b5090505b600085146127195760018261267f9190613a7d565b9150600a8561268e9190613c65565b603061269a91906139f6565b60f81b8183815181106126d6577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856127129190613a4c565b945061266a565b8093505050505b919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612795576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161278c90613802565b60405180910390fd5b61279e81611e4c565b156127de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127d5906136e2565b60405180910390fd5b6127ea60008383612987565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461283a91906139f6565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b505050565b60006129ad8473ffffffffffffffffffffffffffffffffffffffff16612b23565b15612b16578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026129d6611eb8565b8786866040518563ffffffff1660e01b81526004016129f89493929190613619565b602060405180830381600087803b158015612a1257600080fd5b505af1925050508015612a4357506040513d601f19601f82011682018060405250810190612a409190613087565b60015b612ac6573d8060008114612a73576040519150601f19603f3d011682016040523d82523d6000602084013e612a78565b606091505b50600081511415612abe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ab5906136a2565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612b1b565b600190505b949350505050565b600080823b905060008111915050919050565b828054612b4290613b8b565b90600052602060002090601f016020900481019282612b645760008555612bab565b82601f10612b7d57803560ff1916838001178555612bab565b82800160010185558215612bab579182015b82811115612baa578235825591602001919060010190612b8f565b5b509050612bb89190612bbc565b5090565b5b80821115612bd5576000816000905550600101612bbd565b5090565b6000612bec612be784613982565b61395d565b905082815260208101848484011115612c0457600080fd5b612c0f848285613b49565b509392505050565b600081359050612c26816142bb565b92915050565b600081519050612c3b816142bb565b92915050565b600081359050612c50816142d2565b92915050565b60008083601f840112612c6857600080fd5b8235905067ffffffffffffffff811115612c8157600080fd5b602083019150836020820283011115612c9957600080fd5b9250929050565b60008083601f840112612cb257600080fd5b8235905067ffffffffffffffff811115612ccb57600080fd5b602083019150836020820283011115612ce357600080fd5b9250929050565b600081359050612cf9816142e9565b92915050565b600081359050612d0e81614300565b92915050565b600081519050612d2381614300565b92915050565b600082601f830112612d3a57600080fd5b8135612d4a848260208601612bd9565b91505092915050565b600081519050612d6281614317565b92915050565b60008083601f840112612d7a57600080fd5b8235905067ffffffffffffffff811115612d9357600080fd5b602083019150836001820283011115612dab57600080fd5b9250929050565b600081359050612dc18161432e565b92915050565b600060208284031215612dd957600080fd5b6000612de784828501612c17565b91505092915050565b600060208284031215612e0257600080fd5b6000612e1084828501612c2c565b91505092915050565b600060208284031215612e2b57600080fd5b6000612e3984828501612c41565b91505092915050565b60008060408385031215612e5557600080fd5b6000612e6385828601612c17565b9250506020612e7485828601612c17565b9150509250929050565b600080600060608486031215612e9357600080fd5b6000612ea186828701612c17565b9350506020612eb286828701612c17565b9250506040612ec386828701612db2565b9150509250925092565b60008060008060808587031215612ee357600080fd5b6000612ef187828801612c17565b9450506020612f0287828801612c17565b9350506040612f1387828801612db2565b925050606085013567ffffffffffffffff811115612f3057600080fd5b612f3c87828801612d29565b91505092959194509250565b60008060408385031215612f5b57600080fd5b6000612f6985828601612c17565b9250506020612f7a85828601612cea565b9150509250929050565b60008060408385031215612f9757600080fd5b6000612fa585828601612c17565b9250506020612fb685828601612db2565b9150509250929050565b60008060008060408587031215612fd657600080fd5b600085013567ffffffffffffffff811115612ff057600080fd5b612ffc87828801612c56565b9450945050602085013567ffffffffffffffff81111561301b57600080fd5b61302787828801612ca0565b925092505092959194509250565b60006020828403121561304757600080fd5b600061305584828501612cea565b91505092915050565b60006020828403121561307057600080fd5b600061307e84828501612cff565b91505092915050565b60006020828403121561309957600080fd5b60006130a784828501612d14565b91505092915050565b6000602082840312156130c257600080fd5b60006130d084828501612d53565b91505092915050565b600080602083850312156130ec57600080fd5b600083013567ffffffffffffffff81111561310657600080fd5b61311285828601612d68565b92509250509250929050565b60006020828403121561313057600080fd5b600061313e84828501612db2565b91505092915050565b60008060006060848603121561315c57600080fd5b600061316a86828701612db2565b935050602061317b86828701612db2565b925050604061318c86828701612c17565b9150509250925092565b61319f81613ac3565b82525050565b6131ae81613ab1565b82525050565b6131c56131c082613ab1565b613c37565b82525050565b6131d481613ad5565b82525050565b60006131e5826139b3565b6131ef81856139c9565b93506131ff818560208601613b58565b61320881613d52565b840191505092915050565b600061321e826139be565b61322881856139da565b9350613238818560208601613b58565b61324181613d52565b840191505092915050565b6000613257826139be565b61326181856139eb565b9350613271818560208601613b58565b80840191505092915050565b600061328a6032836139da565b915061329582613d70565b604082019050919050565b60006132ad6026836139da565b91506132b882613dbf565b604082019050919050565b60006132d0601c836139da565b91506132db82613e0e565b602082019050919050565b60006132f36024836139da565b91506132fe82613e37565b604082019050919050565b60006133166019836139da565b915061332182613e86565b602082019050919050565b6000613339601a836139da565b915061334482613eaf565b602082019050919050565b600061335c602c836139da565b915061336782613ed8565b604082019050919050565b600061337f6038836139da565b915061338a82613f27565b604082019050919050565b60006133a2602a836139da565b91506133ad82613f76565b604082019050919050565b60006133c56029836139da565b91506133d082613fc5565b604082019050919050565b60006133e8602b836139da565b91506133f382614014565b604082019050919050565b600061340b6020836139da565b915061341682614063565b602082019050919050565b600061342e6010836139da565b91506134398261408c565b602082019050919050565b6000613451602c836139da565b915061345c826140b5565b604082019050919050565b60006134746020836139da565b915061347f82614104565b602082019050919050565b60006134976029836139da565b91506134a28261412d565b604082019050919050565b60006134ba602f836139da565b91506134c58261417c565b604082019050919050565b60006134dd6012836139da565b91506134e8826141cb565b602082019050919050565b60006135006021836139da565b915061350b826141f4565b604082019050919050565b60006135236031836139da565b915061352e82614243565b604082019050919050565b60006135466011836139da565b915061355182614292565b602082019050919050565b61356581613b3f565b82525050565b61357c61357782613b3f565b613c5b565b82525050565b600061358e828561324c565b915061359a828461324c565b91508190509392505050565b60006135b2828661356b565b6020820191506135c2828561356b565b6020820191506135d282846131b4565b601482019150819050949350505050565b60006020820190506135f860008301846131a5565b92915050565b60006020820190506136136000830184613196565b92915050565b600060808201905061362e60008301876131a5565b61363b60208301866131a5565b613648604083018561355c565b818103606083015261365a81846131da565b905095945050505050565b600060208201905061367a60008301846131cb565b92915050565b6000602082019050818103600083015261369a8184613213565b905092915050565b600060208201905081810360008301526136bb8161327d565b9050919050565b600060208201905081810360008301526136db816132a0565b9050919050565b600060208201905081810360008301526136fb816132c3565b9050919050565b6000602082019050818103600083015261371b816132e6565b9050919050565b6000602082019050818103600083015261373b81613309565b9050919050565b6000602082019050818103600083015261375b8161332c565b9050919050565b6000602082019050818103600083015261377b8161334f565b9050919050565b6000602082019050818103600083015261379b81613372565b9050919050565b600060208201905081810360008301526137bb81613395565b9050919050565b600060208201905081810360008301526137db816133b8565b9050919050565b600060208201905081810360008301526137fb816133db565b9050919050565b6000602082019050818103600083015261381b816133fe565b9050919050565b6000602082019050818103600083015261383b81613421565b9050919050565b6000602082019050818103600083015261385b81613444565b9050919050565b6000602082019050818103600083015261387b81613467565b9050919050565b6000602082019050818103600083015261389b8161348a565b9050919050565b600060208201905081810360008301526138bb816134ad565b9050919050565b600060208201905081810360008301526138db816134d0565b9050919050565b600060208201905081810360008301526138fb816134f3565b9050919050565b6000602082019050818103600083015261391b81613516565b9050919050565b6000602082019050818103600083015261393b81613539565b9050919050565b6000602082019050613957600083018461355c565b92915050565b6000613967613978565b90506139738282613bbd565b919050565b6000604051905090565b600067ffffffffffffffff82111561399d5761399c613d23565b5b6139a682613d52565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000613a0182613b3f565b9150613a0c83613b3f565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613a4157613a40613c96565b5b828201905092915050565b6000613a5782613b3f565b9150613a6283613b3f565b925082613a7257613a71613cc5565b5b828204905092915050565b6000613a8882613b3f565b9150613a9383613b3f565b925082821015613aa657613aa5613c96565b5b828203905092915050565b6000613abc82613b1f565b9050919050565b6000613ace82613b1f565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6000613b1882613ab1565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015613b76578082015181840152602081019050613b5b565b83811115613b85576000848401525b50505050565b60006002820490506001821680613ba357607f821691505b60208210811415613bb757613bb6613cf4565b5b50919050565b613bc682613d52565b810181811067ffffffffffffffff82111715613be557613be4613d23565b5b80604052505050565b6000613bf982613b3f565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613c2c57613c2b613c96565b5b600182019050919050565b6000613c4282613c49565b9050919050565b6000613c5482613d63565b9050919050565b6000819050919050565b6000613c7082613b3f565b9150613c7b83613b3f565b925082613c8b57613c8a613cc5565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f636f6d62696e6174696f6e20616c7265616479206d696e746564000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f5061697265644e46543a2063616c6c6572206973206e6f74206f776e6572206e60008201527f6f7220617070726f766564000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f77726f6e672076616c75652073656e7400000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f6e6f74206f776e6572206f6620746f6b656e0000000000000000000000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f6d69736d617463686564206c656e677468000000000000000000000000000000600082015250565b6142c481613ab1565b81146142cf57600080fd5b50565b6142db81613ac3565b81146142e657600080fd5b50565b6142f281613ad5565b81146142fd57600080fd5b50565b61430981613ae1565b811461431457600080fd5b50565b61432081613b0d565b811461432b57600080fd5b50565b61433781613b3f565b811461434257600080fd5b5056fea2646970667358221220e52682443ce73baf71d698ea5f4540cd24c91d247b4668e02ad4e0fbf60d054964736f6c63430008010033

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

00000000000000000000000075442249f8afdb9bff5b394f9a8b5de2a7aa24ff000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1

-----Decoded View---------------
Arg [0] : pb (address): 0x75442249f8afdB9bFF5B394F9A8B5DE2a7AA24ff
Arg [1] : _proxyRegistryAddress (address): 0xa5409ec958C83C3f309868babACA7c86DCB077c1

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 00000000000000000000000075442249f8afdb9bff5b394f9a8b5de2a7aa24ff
Arg [1] : 000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1


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.