ETH Price: $3,712.73 (+3.37%)

Token

ERC-20: Cuddlee-Crew (CC)
 

Overview

Max Total Supply

19,500 CC

Holders

2,100

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
10 CC
0xcef70e9d1266eca3eab5d1f39c245a18eeeee3e3
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:
CuddleeCrew

Compiler Version
v0.8.0+commit.c7dfd78e

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 18 : CuddleeCrew.sol
// SPDX-License-Identifier: GPL-3.0

pragma solidity ^0.8.0;

import './ERC721Tradable.sol';
import "@openzeppelin/contracts/utils/Counters.sol";

contract CuddleeCrew is ERC721Tradable {
    using Counters for Counters.Counter;
    Counters.Counter private _nextTokenId;
    string public baseURI;
    string public contractURI;
    uint256 public maxSupply = 20000;
    uint256 public cost = 0.02 ether; // Price for whitelist and first week of main sale, then 0.04
    uint256 public maxMintAmount = 20;
    bool public paused = false;
    bool public mainSale = false; // Main Sale is disabled by default
    mapping(address => bool) public presaleAccessList; // Whitelist for pre-sale
    constructor(
        string memory _name,
        string memory _symbol,
        string memory _initBaseURI,
        string memory _contractURI,
        address _proxyRegistryAddress
    )
    ERC721Tradable( _name, _symbol, _proxyRegistryAddress)
    {
        // nextTokenId is initialized to 1, since starting at 0 leads to higher gas cost for the first minter
        _nextTokenId.increment();
        setBaseURI(_initBaseURI);
        setContractURI(_contractURI);
        mint(100); // Mint first 100 for team
    }

    function setBaseURI(string memory _newBaseURI) public onlyOwner {
        baseURI = _newBaseURI;
    }
    // internal
    function _baseURI() internal view virtual override returns (string memory) {
        return baseURI;
    }

    function setContractURI(string memory _contractURI) public onlyOwner {
        contractURI = _contractURI;
    }

    // public
    function mint(uint256 _mintAmount) public payable {
        require(!paused, "paused");
        uint256 supply = totalSupply();
        require(_mintAmount > 0, "Need to Mint 1 or More");
        require(supply + _mintAmount <= maxSupply, "Max NFTs minted.");

        if (msg.sender != owner()) {
            if(!mainSale){
                require(hasPresaleAccess(msg.sender), "You are not whitelisted for the Cuddlee Crew pre-sale, wait opening main sale");
            }
            require(_mintAmount <= maxMintAmount, "You can only Mint 20");
            require(msg.value >= cost * _mintAmount, "Insufficient Funds");
        }

        for (uint256 i = 1; i <= _mintAmount; i++) {
            uint256 currentTokenId = _nextTokenId.current();
            _nextTokenId.increment();
            _safeMint(msg.sender, currentTokenId);
        }
    }
    function setCost(uint256 _newCost) public onlyOwner {
        cost = _newCost;
    }
    function pause(bool _state) public onlyOwner {
        paused = _state;
    }

    function updateMainSaleStatus(bool _mainSale) public onlyOwner {
        mainSale = _mainSale;
    }

    /**
        @dev Returns the total tokens minted so far.
        1 is always subtracted from the Counter since it tracks the next available tokenId.
     */
    function totalSupply() public view returns (uint256) {
        return _nextTokenId.current() - 1;
    }

    function withdraw(uint256 _amount) public payable onlyOwner {
        require(payable(msg.sender).send(_amount));
    }

    function withdrawAll() public payable onlyOwner {
        require(payable(msg.sender).send(address(this).balance));
    }
    function setPresaleAccessList(address[] memory _addressList) public onlyOwner {
        for (uint256 i; i < _addressList.length; i++) {
            presaleAccessList[_addressList[i]] = true;
        }
    }
    function hasPresaleAccess(address wallet) public view returns (bool) {
        return presaleAccessList[wallet];
    }
}

File 2 of 18 : ERC721Tradable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "./common/meta-transactions/ContentMixin.sol";
import "./common/meta-transactions/NativeMetaTransaction.sol";

contract OwnableDelegateProxy {}

/**
 * Used to delegate ownership of a contract to another address, to save on unneeded transactions to approve contract use for users
 */
contract ProxyRegistry {
    mapping(address => OwnableDelegateProxy) public proxies;
}

/**
 * @title ERC721Tradable
 * ERC721Tradable - ERC721 contract that whitelists a trading address, and has minting functionality.
 */
abstract contract ERC721Tradable is ERC721, ContextMixin, NativeMetaTransaction, Ownable {
    using SafeMath for uint256;

    address proxyRegistryAddress;

    constructor(
        string memory _name,
        string memory _symbol,
        address _proxyRegistryAddress
    ) ERC721(_name, _symbol) {
        proxyRegistryAddress = _proxyRegistryAddress;
        _initializeEIP712(_name);
    }

//    /**
//     * @dev Mints a token to an address with a tokenURI.
//     * @param _to address of the future owner of the token
//     */
//    function mintTo(address _to) public onlyOwner {
//        uint256 currentTokenId = _nextTokenId.current();
//        _nextTokenId.increment();
//        _safeMint(_to, currentTokenId);
//    }

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

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

    /**
     * Override isApprovedForAll to whitelist user's OpenSea proxy accounts to enable gas-less listings.
     */
    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);
    }

    /**
     * This is used instead of msg.sender as transactions won't be sent by the original token owner, but by OpenSea.
     */
    function _msgSender()
    internal
    override
    view
    returns (address sender)
    {
        return ContextMixin.msgSender();
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

File 4 of 18 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/ERC721.sol)

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

File 7 of 18 : SafeMath.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/math/SafeMath.sol)

pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

File 8 of 18 : ContentMixin.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

abstract contract ContextMixin {
    function msgSender()
    internal
    view
    returns (address payable sender)
    {
        if (msg.sender == address(this)) {
            bytes memory array = msg.data;
            uint256 index = msg.data.length;
            assembly {
            // Load the 32 bytes word from memory with the address on the lower 20 bytes, and mask those.
                sender := and(
                mload(add(array, index)),
                0xffffffffffffffffffffffffffffffffffffffff
                )
            }
        } else {
            sender = payable(msg.sender);
        }
        return sender;
    }
}

File 9 of 18 : NativeMetaTransaction.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import {EIP712Base} from "./EIP712Base.sol";

contract NativeMetaTransaction is EIP712Base {
    using SafeMath for uint256;
    bytes32 private constant META_TRANSACTION_TYPEHASH = keccak256(
        bytes(
            "MetaTransaction(uint256 nonce,address from,bytes functionSignature)"
        )
    );
    event MetaTransactionExecuted(
        address userAddress,
        address payable relayerAddress,
        bytes functionSignature
    );
    mapping(address => uint256) nonces;

    /*
     * Meta transaction structure.
     * No point of including value field here as if user is doing value transfer then he has the funds to pay for gas
     * He should call the desired function directly in that case.
     */
    struct MetaTransaction {
        uint256 nonce;
        address from;
        bytes functionSignature;
    }

    function executeMetaTransaction(
        address userAddress,
        bytes memory functionSignature,
        bytes32 sigR,
        bytes32 sigS,
        uint8 sigV
    ) public payable returns (bytes memory) {
        MetaTransaction memory metaTx = MetaTransaction({
        nonce: nonces[userAddress],
        from: userAddress,
        functionSignature: functionSignature
        });

        require(
            verify(userAddress, metaTx, sigR, sigS, sigV),
            "Signer and signature do not match"
        );

        // increase nonce for user (to avoid re-use)
        nonces[userAddress] = nonces[userAddress].add(1);

        emit MetaTransactionExecuted(
            userAddress,
            payable(msg.sender),
            functionSignature
        );

        // Append userAddress and relayer address at the end to extract it from calling context
        (bool success, bytes memory returnData) = address(this).call(
            abi.encodePacked(functionSignature, userAddress)
        );
        require(success, "Function call not successful");

        return returnData;
    }

    function hashMetaTransaction(MetaTransaction memory metaTx)
    internal
    pure
    returns (bytes32)
    {
        return
        keccak256(
            abi.encode(
                META_TRANSACTION_TYPEHASH,
                metaTx.nonce,
                metaTx.from,
                keccak256(metaTx.functionSignature)
            )
        );
    }

    function getNonce(address user) public view returns (uint256 nonce) {
        nonce = nonces[user];
    }

    function verify(
        address signer,
        MetaTransaction memory metaTx,
        bytes32 sigR,
        bytes32 sigS,
        uint8 sigV
    ) internal view returns (bool) {
        require(signer != address(0), "NativeMetaTransaction: INVALID_SIGNER");
        return
        signer ==
        ecrecover(
            toTypedMessageHash(hashMetaTransaction(metaTx)),
            sigV,
            sigR,
            sigS
        );
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

File 15 of 18 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

import {Initializable} from "./Initializable.sol";

contract EIP712Base is Initializable {
    struct EIP712Domain {
        string name;
        string version;
        address verifyingContract;
        bytes32 salt;
    }

    string constant public ERC712_VERSION = "1";

    bytes32 internal constant EIP712_DOMAIN_TYPEHASH = keccak256(
        bytes(
            "EIP712Domain(string name,string version,address verifyingContract,bytes32 salt)"
        )
    );
    bytes32 internal domainSeperator;

    // supposed to be called once while initializing.
    // one of the contracts that inherits this contract follows proxy pattern
    // so it is not possible to do this in a constructor
    function _initializeEIP712(
        string memory name
    )
    internal
    initializer
    {
        _setDomainSeperator(name);
    }

    function _setDomainSeperator(string memory name) internal {
        domainSeperator = keccak256(
            abi.encode(
                EIP712_DOMAIN_TYPEHASH,
                keccak256(bytes(name)),
                keccak256(bytes(ERC712_VERSION)),
                address(this),
                bytes32(getChainId())
            )
        );
    }

    function getDomainSeperator() public view returns (bytes32) {
        return domainSeperator;
    }

    function getChainId() public view returns (uint256) {
        uint256 id;
        assembly {
            id := chainid()
        }
        return id;
    }

    /**
     * Accept message hash and returns hash message in EIP712 compatible form
     * So that it can be used to recover signer from signature signed using EIP712 formatted data
     * https://eips.ethereum.org/EIPS/eip-712
     * "\\x19" makes the encoding deterministic
     * "\\x01" is the version byte to make it compatible to EIP-191
     */
    function toTypedMessageHash(bytes32 messageHash)
    internal
    view
    returns (bytes32)
    {
        return
        keccak256(
            abi.encodePacked("\x19\x01", getDomainSeperator(), messageHash)
        );
    }
}

File 18 of 18 : Initializable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

contract Initializable {
bool inited = false;

modifier initializer() {
require(!inited, "already inited");
_;
inited = true;
}
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"string","name":"_initBaseURI","type":"string"},{"internalType":"string","name":"_contractURI","type":"string"},{"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":false,"internalType":"address","name":"userAddress","type":"address"},{"indexed":false,"internalType":"address payable","name":"relayerAddress","type":"address"},{"indexed":false,"internalType":"bytes","name":"functionSignature","type":"bytes"}],"name":"MetaTransactionExecuted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"ERC712_VERSION","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"userAddress","type":"address"},{"internalType":"bytes","name":"functionSignature","type":"bytes"},{"internalType":"bytes32","name":"sigR","type":"bytes32"},{"internalType":"bytes32","name":"sigS","type":"bytes32"},{"internalType":"uint8","name":"sigV","type":"uint8"}],"name":"executeMetaTransaction","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getChainId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getDomainSeperator","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"getNonce","outputs":[{"internalType":"uint256","name":"nonce","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"wallet","type":"address"}],"name":"hasPresaleAccess","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mainSale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"presaleAccessList","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"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":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_contractURI","type":"string"}],"name":"setContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newCost","type":"uint256"}],"name":"setCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_addressList","type":"address[]"}],"name":"setPresaleAccessList","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":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_mainSale","type":"bool"}],"name":"updateMainSaleStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"payable","type":"function"}]

60806040526000600660006101000a81548160ff021916908315150217905550614e20600e5566470de4df820000600f5560146010556000601160006101000a81548160ff0219169083151502179055506000601160016101000a81548160ff0219169083151502179055503480156200007857600080fd5b50604051620066953803806200669583398181016040528101906200009e919062000f8a565b84848282828160009080519060200190620000bb92919062000e0e565b508060019080519060200190620000d492919062000e0e565b505050620000f7620000eb620001a260201b60201c565b620001be60201b60201c565b80600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555062000149836200028460201b60201c565b50505062000163600b6200030660201b62001f771760201c565b62000174836200031c60201b60201c565b6200018582620003c760201b60201c565b6200019760646200047260201b60201c565b5050505050620019e0565b6000620001b96200072d60201b62001f8d1760201c565b905090565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600660009054906101000a900460ff1615620002d7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002ce90620015cb565b60405180910390fd5b620002e881620007e060201b60201c565b6001600660006101000a81548160ff02191690831515021790555050565b6001816000016000828254019250508190555050565b6200032c620001a260201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16620003526200088f60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1614620003ab576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003a290620015a9565b60405180910390fd5b80600c9080519060200190620003c392919062000e0e565b5050565b620003d7620001a260201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16620003fd6200088f60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff161462000456576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200044d90620015a9565b60405180910390fd5b80600d90805190602001906200046e92919062000e0e565b5050565b601160009054906101000a900460ff1615620004c5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620004bc906200160f565b60405180910390fd5b6000620004d7620008b960201b60201c565b9050600082116200051f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620005169062001631565b60405180910390fd5b600e548282620005309190620016e7565b111562000574576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200056b9062001521565b60405180910390fd5b620005846200088f60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614620006be57601160019054906101000a900460ff166200062057620005dd33620008e560201b60201c565b6200061f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200061690620015ed565b60405180910390fd5b5b60105482111562000668576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200065f9062001565565b60405180910390fd5b81600f5462000678919062001744565b341015620006bd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620006b49062001543565b60405180910390fd5b5b6000600190505b82811162000728576000620006e6600b6200093b60201b6200203e1760201c565b9050620006ff600b6200030660201b62001f771760201c565b6200071133826200094960201b60201c565b5080806200071f90620018c0565b915050620006c5565b505050565b60003073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415620007d957600080368080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509050600080369050905073ffffffffffffffffffffffffffffffffffffffff818301511692505050620007dd565b3390505b90565b6040518060800160405280604f815260200162006646604f91398051906020012081805190602001206040518060400160405280600181526020017f31000000000000000000000000000000000000000000000000000000000000008152508051906020012030620008576200096f60201b60201c565b60001b6040516020016200087095949392919062001480565b6040516020818303038152906040528051906020012060078190555050565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60006001620008d4600b6200093b60201b6200203e1760201c565b620008e09190620017a5565b905090565b6000601260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b600081600001549050919050565b6200096b8282604051806020016040528060008152506200097c60201b60201c565b5050565b6000804690508091505090565b6200098e8383620009ea60201b60201c565b620009a3600084848462000bd060201b60201c565b620009e5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620009dc90620014dd565b60405180910390fd5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141562000a5d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000a549062001587565b60405180910390fd5b62000a6e8162000d8a60201b60201c565b1562000ab1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000aa890620014ff565b60405180910390fd5b62000ac56000838362000df660201b60201c565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825462000b179190620016e7565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600062000bfe8473ffffffffffffffffffffffffffffffffffffffff1662000dfb60201b6200204c1760201c565b1562000d7d578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0262000c30620001a260201b60201c565b8786866040518563ffffffff1660e01b815260040162000c5494939291906200142c565b602060405180830381600087803b15801562000c6f57600080fd5b505af192505050801562000ca357506040513d601f19601f8201168201806040525081019062000ca0919062000f5e565b60015b62000d2c573d806000811462000cd6576040519150601f19603f3d011682016040523d82523d6000602084013e62000cdb565b606091505b5060008151141562000d24576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000d1b90620014dd565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505062000d82565b600190505b949350505050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b505050565b600080823b905060008111915050919050565b82805462000e1c906200188a565b90600052602060002090601f01602090048101928262000e40576000855562000e8c565b82601f1062000e5b57805160ff191683800117855562000e8c565b8280016001018555821562000e8c579182015b8281111562000e8b57825182559160200191906001019062000e6e565b5b50905062000e9b919062000e9f565b5090565b5b8082111562000eba57600081600090555060010162000ea0565b5090565b600062000ed562000ecf8462001687565b62001653565b90508281526020810184848401111562000eee57600080fd5b62000efb84828562001854565b509392505050565b60008151905062000f1481620019ac565b92915050565b60008151905062000f2b81620019c6565b92915050565b600082601f83011262000f4357600080fd5b815162000f5584826020860162000ebe565b91505092915050565b60006020828403121562000f7157600080fd5b600062000f818482850162000f1a565b91505092915050565b600080600080600060a0868803121562000fa357600080fd5b600086015167ffffffffffffffff81111562000fbe57600080fd5b62000fcc8882890162000f31565b955050602086015167ffffffffffffffff81111562000fea57600080fd5b62000ff88882890162000f31565b945050604086015167ffffffffffffffff8111156200101657600080fd5b620010248882890162000f31565b935050606086015167ffffffffffffffff8111156200104257600080fd5b620010508882890162000f31565b9250506080620010638882890162000f03565b9150509295509295909350565b6200107b81620017e0565b82525050565b6200108c81620017f4565b82525050565b60006200109f82620016ba565b620010ab8185620016c5565b9350620010bd81856020860162001854565b620010c8816200199b565b840191505092915050565b6000620010e2603283620016d6565b91507f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008301527f63656976657220696d706c656d656e74657200000000000000000000000000006020830152604082019050919050565b60006200114a601c83620016d6565b91507f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006000830152602082019050919050565b60006200118c601083620016d6565b91507f4d6178204e465473206d696e7465642e000000000000000000000000000000006000830152602082019050919050565b6000620011ce601283620016d6565b91507f496e73756666696369656e742046756e647300000000000000000000000000006000830152602082019050919050565b600062001210601483620016d6565b91507f596f752063616e206f6e6c79204d696e742032300000000000000000000000006000830152602082019050919050565b600062001252602083620016d6565b91507f4552433732313a206d696e7420746f20746865207a65726f20616464726573736000830152602082019050919050565b600062001294602083620016d6565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b6000620012d6600e83620016d6565b91507f616c726561647920696e697465640000000000000000000000000000000000006000830152602082019050919050565b600062001318604d83620016d6565b91507f596f7520617265206e6f742077686974656c697374656420666f72207468652060008301527f437564646c65652043726577207072652d73616c652c2077616974206f70656e60208301527f696e67206d61696e2073616c65000000000000000000000000000000000000006040830152606082019050919050565b6000620013a6600683620016d6565b91507f70617573656400000000000000000000000000000000000000000000000000006000830152602082019050919050565b6000620013e8601683620016d6565b91507f4e65656420746f204d696e742031206f72204d6f7265000000000000000000006000830152602082019050919050565b62001426816200184a565b82525050565b600060808201905062001443600083018762001070565b62001452602083018662001070565b6200146160408301856200141b565b818103606083015262001475818462001092565b905095945050505050565b600060a08201905062001497600083018862001081565b620014a6602083018762001081565b620014b5604083018662001081565b620014c4606083018562001070565b620014d3608083018462001081565b9695505050505050565b60006020820190508181036000830152620014f881620010d3565b9050919050565b600060208201905081810360008301526200151a816200113b565b9050919050565b600060208201905081810360008301526200153c816200117d565b9050919050565b600060208201905081810360008301526200155e81620011bf565b9050919050565b60006020820190508181036000830152620015808162001201565b9050919050565b60006020820190508181036000830152620015a28162001243565b9050919050565b60006020820190508181036000830152620015c48162001285565b9050919050565b60006020820190508181036000830152620015e681620012c7565b9050919050565b60006020820190508181036000830152620016088162001309565b9050919050565b600060208201905081810360008301526200162a8162001397565b9050919050565b600060208201905081810360008301526200164c81620013d9565b9050919050565b6000604051905081810181811067ffffffffffffffff821117156200167d576200167c6200196c565b5b8060405250919050565b600067ffffffffffffffff821115620016a557620016a46200196c565b5b601f19601f8301169050602081019050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b6000620016f4826200184a565b915062001701836200184a565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156200173957620017386200190e565b5b828201905092915050565b600062001751826200184a565b91506200175e836200184a565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156200179a57620017996200190e565b5b828202905092915050565b6000620017b2826200184a565b9150620017bf836200184a565b925082821015620017d557620017d46200190e565b5b828203905092915050565b6000620017ed826200182a565b9050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60005b838110156200187457808201518184015260208101905062001857565b8381111562001884576000848401525b50505050565b60006002820490506001821680620018a357607f821691505b60208210811415620018ba57620018b96200193d565b5b50919050565b6000620018cd826200184a565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156200190357620019026200190e565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b620019b781620017e0565b8114620019c357600080fd5b50565b620019d181620017fe565b8114620019dd57600080fd5b50565b614c5680620019f06000396000f3fe60806040526004361061023b5760003560e01c806355f804b31161012e57806395d89b41116100ab578063c87b56dd1161006f578063c87b56dd1461083b578063d5abeb0114610878578063e8a3d485146108a3578063e985e9c5146108ce578063f2fde38b1461090b5761023b565b806395d89b4114610779578063a0712d68146107a4578063a22cb465146107c0578063b88d4fde146107e9578063c1d7ae31146108125761023b565b806370a08231116100f257806370a08231146106c7578063715018a614610704578063853828b61461071b5780638da5cb5b14610725578063938e3d7b146107505761023b565b806355f804b3146105e05780635c975abb1461060957806360cfd359146106345780636352211e1461065f5780636c0360eb1461069c5761023b565b806320379ee5116101bc5780632f994122116101805780632f994122146104fd5780633408e4701461053a57806334131cd31461056557806342842e0e1461058e57806344a0d68a146105b75761023b565b806320379ee514610425578063239c70ae1461045057806323b872dd1461047b5780632d0335ab146104a45780632e1a7d4d146104e15761023b565b80630c53c51c116102035780630c53c51c146103375780630f209186146103675780630f7e5970146103a457806313faede6146103cf57806318160ddd146103fa5761023b565b806301ffc9a71461024057806302329a291461027d57806306fdde03146102a6578063081812fc146102d1578063095ea7b31461030e575b600080fd5b34801561024c57600080fd5b506102676004803603810190610262919061358d565b610934565b6040516102749190614238565b60405180910390f35b34801561028957600080fd5b506102a4600480360381019061029f9190613564565b610a16565b005b3480156102b257600080fd5b506102bb610aaf565b6040516102c8919061431a565b60405180910390f35b3480156102dd57600080fd5b506102f860048036038101906102f39190613649565b610b41565b6040516103059190614193565b60405180910390f35b34801561031a57600080fd5b50610335600480360381019061033091906134e7565b610bc6565b005b610351600480360381019061034c9190613458565b610cde565b60405161035e91906142f8565b60405180910390f35b34801561037357600080fd5b5061038e600480360381019061038991906132ed565b610f50565b60405161039b9190614238565b60405180910390f35b3480156103b057600080fd5b506103b9610fa6565b6040516103c6919061431a565b60405180910390f35b3480156103db57600080fd5b506103e4610fdf565b6040516103f1919061465c565b60405180910390f35b34801561040657600080fd5b5061040f610fe5565b60405161041c919061465c565b60405180910390f35b34801561043157600080fd5b5061043a611002565b6040516104479190614253565b60405180910390f35b34801561045c57600080fd5b5061046561100c565b604051610472919061465c565b60405180910390f35b34801561048757600080fd5b506104a2600480360381019061049d9190613352565b611012565b005b3480156104b057600080fd5b506104cb60048036038101906104c691906132ed565b611072565b6040516104d8919061465c565b60405180910390f35b6104fb60048036038101906104f69190613649565b6110bb565b005b34801561050957600080fd5b50610524600480360381019061051f91906132ed565b611178565b6040516105319190614238565b60405180910390f35b34801561054657600080fd5b5061054f611198565b60405161055c919061465c565b60405180910390f35b34801561057157600080fd5b5061058c60048036038101906105879190613523565b6111a5565b005b34801561059a57600080fd5b506105b560048036038101906105b09190613352565b6112dc565b005b3480156105c357600080fd5b506105de60048036038101906105d99190613649565b6112fc565b005b3480156105ec57600080fd5b5061060760048036038101906106029190613608565b611382565b005b34801561061557600080fd5b5061061e611418565b60405161062b9190614238565b60405180910390f35b34801561064057600080fd5b5061064961142b565b6040516106569190614238565b60405180910390f35b34801561066b57600080fd5b5061068660048036038101906106819190613649565b61143e565b6040516106939190614193565b60405180910390f35b3480156106a857600080fd5b506106b16114f0565b6040516106be919061431a565b60405180910390f35b3480156106d357600080fd5b506106ee60048036038101906106e991906132ed565b61157e565b6040516106fb919061465c565b60405180910390f35b34801561071057600080fd5b50610719611636565b005b6107236116be565b005b34801561073157600080fd5b5061073a61177a565b6040516107479190614193565b60405180910390f35b34801561075c57600080fd5b5061077760048036038101906107729190613608565b6117a4565b005b34801561078557600080fd5b5061078e61183a565b60405161079b919061431a565b60405180910390f35b6107be60048036038101906107b99190613649565b6118cc565b005b3480156107cc57600080fd5b506107e760048036038101906107e2919061341c565b611b31565b005b3480156107f557600080fd5b50610810600480360381019061080b91906133a1565b611b47565b005b34801561081e57600080fd5b5061083960048036038101906108349190613564565b611ba9565b005b34801561084757600080fd5b50610862600480360381019061085d9190613649565b611c42565b60405161086f919061431a565b60405180910390f35b34801561088457600080fd5b5061088d611ce9565b60405161089a919061465c565b60405180910390f35b3480156108af57600080fd5b506108b8611cef565b6040516108c5919061431a565b60405180910390f35b3480156108da57600080fd5b506108f560048036038101906108f09190613316565b611d7d565b6040516109029190614238565b60405180910390f35b34801561091757600080fd5b50610932600480360381019061092d91906132ed565b611e7f565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806109ff57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610a0f5750610a0e8261205f565b5b9050919050565b610a1e6120c9565b73ffffffffffffffffffffffffffffffffffffffff16610a3c61177a565b73ffffffffffffffffffffffffffffffffffffffff1614610a92576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a899061453c565b60405180910390fd5b80601160006101000a81548160ff02191690831515021790555050565b606060008054610abe90614988565b80601f0160208091040260200160405190810160405280929190818152602001828054610aea90614988565b8015610b375780601f10610b0c57610100808354040283529160200191610b37565b820191906000526020600020905b815481529060010190602001808311610b1a57829003601f168201915b5050505050905090565b6000610b4c826120d8565b610b8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b829061451c565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610bd18261143e565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c39906145bc565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c616120c9565b73ffffffffffffffffffffffffffffffffffffffff161480610c905750610c8f81610c8a6120c9565b611d7d565b5b610ccf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cc69061447c565b60405180910390fd5b610cd98383612144565b505050565b606060006040518060600160405280600860008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205481526020018873ffffffffffffffffffffffffffffffffffffffff168152602001878152509050610d6187828787876121fd565b610da0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d979061457c565b60405180910390fd5b610df36001600860008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461230690919063ffffffff16565b600860008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055507f5845892132946850460bff5a0083f71031bc5bf9aadcd40f1de79423eac9b10b873388604051610e69939291906141ae565b60405180910390a16000803073ffffffffffffffffffffffffffffffffffffffff16888a604051602001610e9e929190614105565b604051602081830303815290604052604051610eba91906140ee565b6000604051808303816000865af19150503d8060008114610ef7576040519150601f19603f3d011682016040523d82523d6000602084013e610efc565b606091505b509150915081610f41576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f389061437c565b60405180910390fd5b80935050505095945050505050565b6000601260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b6040518060400160405280600181526020017f310000000000000000000000000000000000000000000000000000000000000081525081565b600f5481565b60006001610ff3600b61203e565b610ffd9190614863565b905090565b6000600754905090565b60105481565b61102361101d6120c9565b8261231c565b611062576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611059906145dc565b60405180910390fd5b61106d8383836123fa565b505050565b6000600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6110c36120c9565b73ffffffffffffffffffffffffffffffffffffffff166110e161177a565b73ffffffffffffffffffffffffffffffffffffffff1614611137576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161112e9061453c565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f1935050505061117557600080fd5b50565b60126020528060005260406000206000915054906101000a900460ff1681565b6000804690508091505090565b6111ad6120c9565b73ffffffffffffffffffffffffffffffffffffffff166111cb61177a565b73ffffffffffffffffffffffffffffffffffffffff1614611221576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112189061453c565b60405180910390fd5b60005b81518110156112d85760016012600084848151811061126c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555080806112d0906149ba565b915050611224565b5050565b6112f783838360405180602001604052806000815250611b47565b505050565b6113046120c9565b73ffffffffffffffffffffffffffffffffffffffff1661132261177a565b73ffffffffffffffffffffffffffffffffffffffff1614611378576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161136f9061453c565b60405180910390fd5b80600f8190555050565b61138a6120c9565b73ffffffffffffffffffffffffffffffffffffffff166113a861177a565b73ffffffffffffffffffffffffffffffffffffffff16146113fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113f59061453c565b60405180910390fd5b80600c908051906020019061141492919061303c565b5050565b601160009054906101000a900460ff1681565b601160019054906101000a900460ff1681565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156114e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114de906144dc565b60405180910390fd5b80915050919050565b600c80546114fd90614988565b80601f016020809104026020016040519081016040528092919081815260200182805461152990614988565b80156115765780601f1061154b57610100808354040283529160200191611576565b820191906000526020600020905b81548152906001019060200180831161155957829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156115ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115e6906144bc565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61163e6120c9565b73ffffffffffffffffffffffffffffffffffffffff1661165c61177a565b73ffffffffffffffffffffffffffffffffffffffff16146116b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116a99061453c565b60405180910390fd5b6116bc6000612656565b565b6116c66120c9565b73ffffffffffffffffffffffffffffffffffffffff166116e461177a565b73ffffffffffffffffffffffffffffffffffffffff161461173a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117319061453c565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f1935050505061177857600080fd5b565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6117ac6120c9565b73ffffffffffffffffffffffffffffffffffffffff166117ca61177a565b73ffffffffffffffffffffffffffffffffffffffff1614611820576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118179061453c565b60405180910390fd5b80600d908051906020019061183692919061303c565b5050565b60606001805461184990614988565b80601f016020809104026020016040519081016040528092919081815260200182805461187590614988565b80156118c25780601f10611897576101008083540402835291602001916118c2565b820191906000526020600020905b8154815290600101906020018083116118a557829003601f168201915b5050505050905090565b601160009054906101000a900460ff161561191c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119139061461c565b60405180910390fd5b6000611926610fe5565b90506000821161196b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119629061463c565b60405180910390fd5b600e54828261197a9190614782565b11156119bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119b2906143bc565b60405180910390fd5b6119c361177a565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611ae857601160019054906101000a900460ff16611a5257611a1233610f50565b611a51576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a48906145fc565b60405180910390fd5b5b601054821115611a97576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a8e9061449c565b60405180910390fd5b81600f54611aa59190614809565b341015611ae7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ade906143dc565b60405180910390fd5b5b6000600190505b828111611b2c576000611b02600b61203e565b9050611b0e600b611f77565b611b18338261271c565b508080611b24906149ba565b915050611aef565b505050565b611b43611b3c6120c9565b838361273a565b5050565b611b58611b526120c9565b8361231c565b611b97576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b8e906145dc565b60405180910390fd5b611ba3848484846128a7565b50505050565b611bb16120c9565b73ffffffffffffffffffffffffffffffffffffffff16611bcf61177a565b73ffffffffffffffffffffffffffffffffffffffff1614611c25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c1c9061453c565b60405180910390fd5b80601160016101000a81548160ff02191690831515021790555050565b6060611c4d826120d8565b611c8c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c839061459c565b60405180910390fd5b6000611c96612903565b90506000815111611cb65760405180602001604052806000815250611ce1565b80611cc084612995565b604051602001611cd192919061412d565b6040516020818303038152906040525b915050919050565b600e5481565b600d8054611cfc90614988565b80601f0160208091040260200160405190810160405280929190818152602001828054611d2890614988565b8015611d755780601f10611d4a57610100808354040283529160200191611d75565b820191906000526020600020905b815481529060010190602001808311611d5857829003601f168201915b505050505081565b600080600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508273ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1663c4552791866040518263ffffffff1660e01b8152600401611df59190614193565b60206040518083038186803b158015611e0d57600080fd5b505afa158015611e21573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e4591906135df565b73ffffffffffffffffffffffffffffffffffffffff161415611e6b576001915050611e79565b611e758484612b42565b9150505b92915050565b611e876120c9565b73ffffffffffffffffffffffffffffffffffffffff16611ea561177a565b73ffffffffffffffffffffffffffffffffffffffff1614611efb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ef29061453c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611f6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f629061435c565b60405180910390fd5b611f7481612656565b50565b6001816000016000828254019250508190555050565b60003073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141561203757600080368080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509050600080369050905073ffffffffffffffffffffffffffffffffffffffff81830151169250505061203b565b3390505b90565b600081600001549050919050565b600080823b905060008111915050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60006120d3611f8d565b905090565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166121b78361143e565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008073ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff16141561226e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122659061445c565b60405180910390fd5b600161228161227c87612bd6565b612c3e565b838686604051600081526020016040526040516122a194939291906142b3565b6020604051602081039080840390855afa1580156122c3573d6000803e3d6000fd5b5050506020604051035173ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff1614905095945050505050565b600081836123149190614782565b905092915050565b6000612327826120d8565b612366576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161235d9061443c565b60405180910390fd5b60006123718361143e565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806123e057508373ffffffffffffffffffffffffffffffffffffffff166123c884610b41565b73ffffffffffffffffffffffffffffffffffffffff16145b806123f157506123f08185611d7d565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661241a8261143e565b73ffffffffffffffffffffffffffffffffffffffff1614612470576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124679061455c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156124e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124d7906143fc565b60405180910390fd5b6124eb838383612c77565b6124f6600082612144565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546125469190614863565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461259d9190614782565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612736828260405180602001604052806000815250612c7c565b5050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156127a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127a09061441c565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161289a9190614238565b60405180910390a3505050565b6128b28484846123fa565b6128be84848484612cd7565b6128fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128f49061433c565b60405180910390fd5b50505050565b6060600c805461291290614988565b80601f016020809104026020016040519081016040528092919081815260200182805461293e90614988565b801561298b5780601f106129605761010080835404028352916020019161298b565b820191906000526020600020905b81548152906001019060200180831161296e57829003601f168201915b5050505050905090565b606060008214156129dd576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612b3d565b600082905060005b60008214612a0f5780806129f8906149ba565b915050600a82612a0891906147d8565b91506129e5565b60008167ffffffffffffffff811115612a51577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612a835781602001600182028036833780820191505090505b5090505b60008514612b3657600182612a9c9190614863565b9150600a85612aab9190614a31565b6030612ab79190614782565b60f81b818381518110612af3577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612b2f91906147d8565b9450612a87565b8093505050505b919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6000604051806080016040528060438152602001614bde604391398051906020012082600001518360200151846040015180519060200120604051602001612c21949392919061426e565b604051602081830303815290604052805190602001209050919050565b6000612c48611002565b82604051602001612c5a92919061415c565b604051602081830303815290604052805190602001209050919050565b505050565b612c868383612e6e565b612c936000848484612cd7565b612cd2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cc99061433c565b60405180910390fd5b505050565b6000612cf88473ffffffffffffffffffffffffffffffffffffffff1661204c565b15612e61578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612d216120c9565b8786866040518563ffffffff1660e01b8152600401612d4394939291906141ec565b602060405180830381600087803b158015612d5d57600080fd5b505af1925050508015612d8e57506040513d601f19601f82011682018060405250810190612d8b91906135b6565b60015b612e11573d8060008114612dbe576040519150601f19603f3d011682016040523d82523d6000602084013e612dc3565b606091505b50600081511415612e09576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e009061433c565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612e66565b600190505b949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612ede576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ed5906144fc565b60405180910390fd5b612ee7816120d8565b15612f27576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f1e9061439c565b60405180910390fd5b612f3360008383612c77565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612f839190614782565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b82805461304890614988565b90600052602060002090601f01602090048101928261306a57600085556130b1565b82601f1061308357805160ff19168380011785556130b1565b828001600101855582156130b1579182015b828111156130b0578251825591602001919060010190613095565b5b5090506130be91906130c2565b5090565b5b808211156130db5760008160009055506001016130c3565b5090565b60006130f26130ed846146a8565b614677565b9050808382526020820190508285602086028201111561311157600080fd5b60005b85811015613141578161312788826131c7565b845260208401935060208301925050600181019050613114565b5050509392505050565b600061315e613159846146d4565b614677565b90508281526020810184848401111561317657600080fd5b613181848285614946565b509392505050565b600061319c61319784614704565b614677565b9050828152602081018484840111156131b457600080fd5b6131bf848285614946565b509392505050565b6000813590506131d681614b3c565b92915050565b600082601f8301126131ed57600080fd5b81356131fd8482602086016130df565b91505092915050565b60008135905061321581614b53565b92915050565b60008135905061322a81614b6a565b92915050565b60008135905061323f81614b81565b92915050565b60008151905061325481614b81565b92915050565b600082601f83011261326b57600080fd5b813561327b84826020860161314b565b91505092915050565b60008151905061329381614b98565b92915050565b600082601f8301126132aa57600080fd5b81356132ba848260208601613189565b91505092915050565b6000813590506132d281614baf565b92915050565b6000813590506132e781614bc6565b92915050565b6000602082840312156132ff57600080fd5b600061330d848285016131c7565b91505092915050565b6000806040838503121561332957600080fd5b6000613337858286016131c7565b9250506020613348858286016131c7565b9150509250929050565b60008060006060848603121561336757600080fd5b6000613375868287016131c7565b9350506020613386868287016131c7565b9250506040613397868287016132c3565b9150509250925092565b600080600080608085870312156133b757600080fd5b60006133c5878288016131c7565b94505060206133d6878288016131c7565b93505060406133e7878288016132c3565b925050606085013567ffffffffffffffff81111561340457600080fd5b6134108782880161325a565b91505092959194509250565b6000806040838503121561342f57600080fd5b600061343d858286016131c7565b925050602061344e85828601613206565b9150509250929050565b600080600080600060a0868803121561347057600080fd5b600061347e888289016131c7565b955050602086013567ffffffffffffffff81111561349b57600080fd5b6134a78882890161325a565b94505060406134b88882890161321b565b93505060606134c98882890161321b565b92505060806134da888289016132d8565b9150509295509295909350565b600080604083850312156134fa57600080fd5b6000613508858286016131c7565b9250506020613519858286016132c3565b9150509250929050565b60006020828403121561353557600080fd5b600082013567ffffffffffffffff81111561354f57600080fd5b61355b848285016131dc565b91505092915050565b60006020828403121561357657600080fd5b600061358484828501613206565b91505092915050565b60006020828403121561359f57600080fd5b60006135ad84828501613230565b91505092915050565b6000602082840312156135c857600080fd5b60006135d684828501613245565b91505092915050565b6000602082840312156135f157600080fd5b60006135ff84828501613284565b91505092915050565b60006020828403121561361a57600080fd5b600082013567ffffffffffffffff81111561363457600080fd5b61364084828501613299565b91505092915050565b60006020828403121561365b57600080fd5b6000613669848285016132c3565b91505092915050565b61367b816148a9565b82525050565b61368a81614897565b82525050565b6136a161369c82614897565b614a03565b82525050565b6136b0816148bb565b82525050565b6136bf816148c7565b82525050565b6136d66136d1826148c7565b614a15565b82525050565b60006136e782614734565b6136f1818561474a565b9350613701818560208601614955565b61370a81614b1e565b840191505092915050565b600061372082614734565b61372a818561475b565b935061373a818560208601614955565b80840191505092915050565b60006137518261473f565b61375b8185614766565b935061376b818560208601614955565b61377481614b1e565b840191505092915050565b600061378a8261473f565b6137948185614777565b93506137a4818560208601614955565b80840191505092915050565b60006137bd603283614766565b91507f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008301527f63656976657220696d706c656d656e74657200000000000000000000000000006020830152604082019050919050565b6000613823602683614766565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613889601c83614766565b91507f46756e6374696f6e2063616c6c206e6f74207375636365737366756c000000006000830152602082019050919050565b60006138c9601c83614766565b91507f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006000830152602082019050919050565b6000613909600283614777565b91507f19010000000000000000000000000000000000000000000000000000000000006000830152600282019050919050565b6000613949601083614766565b91507f4d6178204e465473206d696e7465642e000000000000000000000000000000006000830152602082019050919050565b6000613989601283614766565b91507f496e73756666696369656e742046756e647300000000000000000000000000006000830152602082019050919050565b60006139c9602483614766565b91507f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613a2f601983614766565b91507f4552433732313a20617070726f766520746f2063616c6c6572000000000000006000830152602082019050919050565b6000613a6f602c83614766565b91507f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000613ad5602583614766565b91507f4e61746976654d6574615472616e73616374696f6e3a20494e56414c49445f5360008301527f49474e45520000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613b3b603883614766565b91507f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008301527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006020830152604082019050919050565b6000613ba1601483614766565b91507f596f752063616e206f6e6c79204d696e742032300000000000000000000000006000830152602082019050919050565b6000613be1602a83614766565b91507f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008301527f726f2061646472657373000000000000000000000000000000000000000000006020830152604082019050919050565b6000613c47602983614766565b91507f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008301527f656e7420746f6b656e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000613cad602083614766565b91507f4552433732313a206d696e7420746f20746865207a65726f20616464726573736000830152602082019050919050565b6000613ced602c83614766565b91507f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000613d53600583614777565b91507f2e6a736f6e0000000000000000000000000000000000000000000000000000006000830152600582019050919050565b6000613d93602083614766565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b6000613dd3602983614766565b91507f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008301527f73206e6f74206f776e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000613e39602183614766565b91507f5369676e657220616e64207369676e617475726520646f206e6f74206d61746360008301527f68000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613e9f602f83614766565b91507f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008301527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006020830152604082019050919050565b6000613f05602183614766565b91507f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008301527f72000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613f6b603183614766565b91507f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008301527f776e6572206e6f7220617070726f7665640000000000000000000000000000006020830152604082019050919050565b6000613fd1604d83614766565b91507f596f7520617265206e6f742077686974656c697374656420666f72207468652060008301527f437564646c65652043726577207072652d73616c652c2077616974206f70656e60208301527f696e67206d61696e2073616c65000000000000000000000000000000000000006040830152606082019050919050565b600061405d600683614766565b91507f70617573656400000000000000000000000000000000000000000000000000006000830152602082019050919050565b600061409d601683614766565b91507f4e65656420746f204d696e742031206f72204d6f7265000000000000000000006000830152602082019050919050565b6140d98161492f565b82525050565b6140e881614939565b82525050565b60006140fa8284613715565b915081905092915050565b60006141118285613715565b915061411d8284613690565b6014820191508190509392505050565b6000614139828561377f565b9150614145828461377f565b915061415082613d46565b91508190509392505050565b6000614167826138fc565b915061417382856136c5565b60208201915061418382846136c5565b6020820191508190509392505050565b60006020820190506141a86000830184613681565b92915050565b60006060820190506141c36000830186613681565b6141d06020830185613672565b81810360408301526141e281846136dc565b9050949350505050565b60006080820190506142016000830187613681565b61420e6020830186613681565b61421b60408301856140d0565b818103606083015261422d81846136dc565b905095945050505050565b600060208201905061424d60008301846136a7565b92915050565b600060208201905061426860008301846136b6565b92915050565b600060808201905061428360008301876136b6565b61429060208301866140d0565b61429d6040830185613681565b6142aa60608301846136b6565b95945050505050565b60006080820190506142c860008301876136b6565b6142d560208301866140df565b6142e260408301856136b6565b6142ef60608301846136b6565b95945050505050565b6000602082019050818103600083015261431281846136dc565b905092915050565b600060208201905081810360008301526143348184613746565b905092915050565b60006020820190508181036000830152614355816137b0565b9050919050565b6000602082019050818103600083015261437581613816565b9050919050565b600060208201905081810360008301526143958161387c565b9050919050565b600060208201905081810360008301526143b5816138bc565b9050919050565b600060208201905081810360008301526143d58161393c565b9050919050565b600060208201905081810360008301526143f58161397c565b9050919050565b60006020820190508181036000830152614415816139bc565b9050919050565b6000602082019050818103600083015261443581613a22565b9050919050565b6000602082019050818103600083015261445581613a62565b9050919050565b6000602082019050818103600083015261447581613ac8565b9050919050565b6000602082019050818103600083015261449581613b2e565b9050919050565b600060208201905081810360008301526144b581613b94565b9050919050565b600060208201905081810360008301526144d581613bd4565b9050919050565b600060208201905081810360008301526144f581613c3a565b9050919050565b6000602082019050818103600083015261451581613ca0565b9050919050565b6000602082019050818103600083015261453581613ce0565b9050919050565b6000602082019050818103600083015261455581613d86565b9050919050565b6000602082019050818103600083015261457581613dc6565b9050919050565b6000602082019050818103600083015261459581613e2c565b9050919050565b600060208201905081810360008301526145b581613e92565b9050919050565b600060208201905081810360008301526145d581613ef8565b9050919050565b600060208201905081810360008301526145f581613f5e565b9050919050565b6000602082019050818103600083015261461581613fc4565b9050919050565b6000602082019050818103600083015261463581614050565b9050919050565b6000602082019050818103600083015261465581614090565b9050919050565b600060208201905061467160008301846140d0565b92915050565b6000604051905081810181811067ffffffffffffffff8211171561469e5761469d614aef565b5b8060405250919050565b600067ffffffffffffffff8211156146c3576146c2614aef565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156146ef576146ee614aef565b5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff82111561471f5761471e614aef565b5b601f19601f8301169050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b600061478d8261492f565b91506147988361492f565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156147cd576147cc614a62565b5b828201905092915050565b60006147e38261492f565b91506147ee8361492f565b9250826147fe576147fd614a91565b5b828204905092915050565b60006148148261492f565b915061481f8361492f565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561485857614857614a62565b5b828202905092915050565b600061486e8261492f565b91506148798361492f565b92508282101561488c5761488b614a62565b5b828203905092915050565b60006148a28261490f565b9050919050565b60006148b48261490f565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600061490882614897565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b83811015614973578082015181840152602081019050614958565b83811115614982576000848401525b50505050565b600060028204905060018216806149a057607f821691505b602082108114156149b4576149b3614ac0565b5b50919050565b60006149c58261492f565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156149f8576149f7614a62565b5b600182019050919050565b6000614a0e82614a1f565b9050919050565b6000819050919050565b6000614a2a82614b2f565b9050919050565b6000614a3c8261492f565b9150614a478361492f565b925082614a5757614a56614a91565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b614b4581614897565b8114614b5057600080fd5b50565b614b5c816148bb565b8114614b6757600080fd5b50565b614b73816148c7565b8114614b7e57600080fd5b50565b614b8a816148d1565b8114614b9557600080fd5b50565b614ba1816148fd565b8114614bac57600080fd5b50565b614bb88161492f565b8114614bc357600080fd5b50565b614bcf81614939565b8114614bda57600080fd5b5056fe4d6574615472616e73616374696f6e2875696e74323536206e6f6e63652c616464726573732066726f6d2c62797465732066756e6374696f6e5369676e617475726529a26469706673582212206cb82d8e67c62c9fedfa02849d47814ccaa4aa5f8bc9fffe7fbe5312f427773b64736f6c63430008000033454950373132446f6d61696e28737472696e67206e616d652c737472696e672076657273696f6e2c6164647265737320766572696679696e67436f6e74726163742c627974657333322073616c742900000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000001a0000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1000000000000000000000000000000000000000000000000000000000000000c437564646c65652d43726577000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000024343000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005168747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066732f516d5734386d374b787464585070466564326452624c4c533438554468566d4b52513838786a79777669574475342f000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005068747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066732f516d644474455a66594c705153736251383769714654334345533941744a64524541794a533570695a5232567a6100000000000000000000000000000000

Deployed Bytecode

0x60806040526004361061023b5760003560e01c806355f804b31161012e57806395d89b41116100ab578063c87b56dd1161006f578063c87b56dd1461083b578063d5abeb0114610878578063e8a3d485146108a3578063e985e9c5146108ce578063f2fde38b1461090b5761023b565b806395d89b4114610779578063a0712d68146107a4578063a22cb465146107c0578063b88d4fde146107e9578063c1d7ae31146108125761023b565b806370a08231116100f257806370a08231146106c7578063715018a614610704578063853828b61461071b5780638da5cb5b14610725578063938e3d7b146107505761023b565b806355f804b3146105e05780635c975abb1461060957806360cfd359146106345780636352211e1461065f5780636c0360eb1461069c5761023b565b806320379ee5116101bc5780632f994122116101805780632f994122146104fd5780633408e4701461053a57806334131cd31461056557806342842e0e1461058e57806344a0d68a146105b75761023b565b806320379ee514610425578063239c70ae1461045057806323b872dd1461047b5780632d0335ab146104a45780632e1a7d4d146104e15761023b565b80630c53c51c116102035780630c53c51c146103375780630f209186146103675780630f7e5970146103a457806313faede6146103cf57806318160ddd146103fa5761023b565b806301ffc9a71461024057806302329a291461027d57806306fdde03146102a6578063081812fc146102d1578063095ea7b31461030e575b600080fd5b34801561024c57600080fd5b506102676004803603810190610262919061358d565b610934565b6040516102749190614238565b60405180910390f35b34801561028957600080fd5b506102a4600480360381019061029f9190613564565b610a16565b005b3480156102b257600080fd5b506102bb610aaf565b6040516102c8919061431a565b60405180910390f35b3480156102dd57600080fd5b506102f860048036038101906102f39190613649565b610b41565b6040516103059190614193565b60405180910390f35b34801561031a57600080fd5b50610335600480360381019061033091906134e7565b610bc6565b005b610351600480360381019061034c9190613458565b610cde565b60405161035e91906142f8565b60405180910390f35b34801561037357600080fd5b5061038e600480360381019061038991906132ed565b610f50565b60405161039b9190614238565b60405180910390f35b3480156103b057600080fd5b506103b9610fa6565b6040516103c6919061431a565b60405180910390f35b3480156103db57600080fd5b506103e4610fdf565b6040516103f1919061465c565b60405180910390f35b34801561040657600080fd5b5061040f610fe5565b60405161041c919061465c565b60405180910390f35b34801561043157600080fd5b5061043a611002565b6040516104479190614253565b60405180910390f35b34801561045c57600080fd5b5061046561100c565b604051610472919061465c565b60405180910390f35b34801561048757600080fd5b506104a2600480360381019061049d9190613352565b611012565b005b3480156104b057600080fd5b506104cb60048036038101906104c691906132ed565b611072565b6040516104d8919061465c565b60405180910390f35b6104fb60048036038101906104f69190613649565b6110bb565b005b34801561050957600080fd5b50610524600480360381019061051f91906132ed565b611178565b6040516105319190614238565b60405180910390f35b34801561054657600080fd5b5061054f611198565b60405161055c919061465c565b60405180910390f35b34801561057157600080fd5b5061058c60048036038101906105879190613523565b6111a5565b005b34801561059a57600080fd5b506105b560048036038101906105b09190613352565b6112dc565b005b3480156105c357600080fd5b506105de60048036038101906105d99190613649565b6112fc565b005b3480156105ec57600080fd5b5061060760048036038101906106029190613608565b611382565b005b34801561061557600080fd5b5061061e611418565b60405161062b9190614238565b60405180910390f35b34801561064057600080fd5b5061064961142b565b6040516106569190614238565b60405180910390f35b34801561066b57600080fd5b5061068660048036038101906106819190613649565b61143e565b6040516106939190614193565b60405180910390f35b3480156106a857600080fd5b506106b16114f0565b6040516106be919061431a565b60405180910390f35b3480156106d357600080fd5b506106ee60048036038101906106e991906132ed565b61157e565b6040516106fb919061465c565b60405180910390f35b34801561071057600080fd5b50610719611636565b005b6107236116be565b005b34801561073157600080fd5b5061073a61177a565b6040516107479190614193565b60405180910390f35b34801561075c57600080fd5b5061077760048036038101906107729190613608565b6117a4565b005b34801561078557600080fd5b5061078e61183a565b60405161079b919061431a565b60405180910390f35b6107be60048036038101906107b99190613649565b6118cc565b005b3480156107cc57600080fd5b506107e760048036038101906107e2919061341c565b611b31565b005b3480156107f557600080fd5b50610810600480360381019061080b91906133a1565b611b47565b005b34801561081e57600080fd5b5061083960048036038101906108349190613564565b611ba9565b005b34801561084757600080fd5b50610862600480360381019061085d9190613649565b611c42565b60405161086f919061431a565b60405180910390f35b34801561088457600080fd5b5061088d611ce9565b60405161089a919061465c565b60405180910390f35b3480156108af57600080fd5b506108b8611cef565b6040516108c5919061431a565b60405180910390f35b3480156108da57600080fd5b506108f560048036038101906108f09190613316565b611d7d565b6040516109029190614238565b60405180910390f35b34801561091757600080fd5b50610932600480360381019061092d91906132ed565b611e7f565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806109ff57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610a0f5750610a0e8261205f565b5b9050919050565b610a1e6120c9565b73ffffffffffffffffffffffffffffffffffffffff16610a3c61177a565b73ffffffffffffffffffffffffffffffffffffffff1614610a92576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a899061453c565b60405180910390fd5b80601160006101000a81548160ff02191690831515021790555050565b606060008054610abe90614988565b80601f0160208091040260200160405190810160405280929190818152602001828054610aea90614988565b8015610b375780601f10610b0c57610100808354040283529160200191610b37565b820191906000526020600020905b815481529060010190602001808311610b1a57829003601f168201915b5050505050905090565b6000610b4c826120d8565b610b8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b829061451c565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610bd18261143e565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c39906145bc565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c616120c9565b73ffffffffffffffffffffffffffffffffffffffff161480610c905750610c8f81610c8a6120c9565b611d7d565b5b610ccf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cc69061447c565b60405180910390fd5b610cd98383612144565b505050565b606060006040518060600160405280600860008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205481526020018873ffffffffffffffffffffffffffffffffffffffff168152602001878152509050610d6187828787876121fd565b610da0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d979061457c565b60405180910390fd5b610df36001600860008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461230690919063ffffffff16565b600860008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055507f5845892132946850460bff5a0083f71031bc5bf9aadcd40f1de79423eac9b10b873388604051610e69939291906141ae565b60405180910390a16000803073ffffffffffffffffffffffffffffffffffffffff16888a604051602001610e9e929190614105565b604051602081830303815290604052604051610eba91906140ee565b6000604051808303816000865af19150503d8060008114610ef7576040519150601f19603f3d011682016040523d82523d6000602084013e610efc565b606091505b509150915081610f41576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f389061437c565b60405180910390fd5b80935050505095945050505050565b6000601260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b6040518060400160405280600181526020017f310000000000000000000000000000000000000000000000000000000000000081525081565b600f5481565b60006001610ff3600b61203e565b610ffd9190614863565b905090565b6000600754905090565b60105481565b61102361101d6120c9565b8261231c565b611062576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611059906145dc565b60405180910390fd5b61106d8383836123fa565b505050565b6000600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6110c36120c9565b73ffffffffffffffffffffffffffffffffffffffff166110e161177a565b73ffffffffffffffffffffffffffffffffffffffff1614611137576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161112e9061453c565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f1935050505061117557600080fd5b50565b60126020528060005260406000206000915054906101000a900460ff1681565b6000804690508091505090565b6111ad6120c9565b73ffffffffffffffffffffffffffffffffffffffff166111cb61177a565b73ffffffffffffffffffffffffffffffffffffffff1614611221576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112189061453c565b60405180910390fd5b60005b81518110156112d85760016012600084848151811061126c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555080806112d0906149ba565b915050611224565b5050565b6112f783838360405180602001604052806000815250611b47565b505050565b6113046120c9565b73ffffffffffffffffffffffffffffffffffffffff1661132261177a565b73ffffffffffffffffffffffffffffffffffffffff1614611378576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161136f9061453c565b60405180910390fd5b80600f8190555050565b61138a6120c9565b73ffffffffffffffffffffffffffffffffffffffff166113a861177a565b73ffffffffffffffffffffffffffffffffffffffff16146113fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113f59061453c565b60405180910390fd5b80600c908051906020019061141492919061303c565b5050565b601160009054906101000a900460ff1681565b601160019054906101000a900460ff1681565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156114e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114de906144dc565b60405180910390fd5b80915050919050565b600c80546114fd90614988565b80601f016020809104026020016040519081016040528092919081815260200182805461152990614988565b80156115765780601f1061154b57610100808354040283529160200191611576565b820191906000526020600020905b81548152906001019060200180831161155957829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156115ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115e6906144bc565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61163e6120c9565b73ffffffffffffffffffffffffffffffffffffffff1661165c61177a565b73ffffffffffffffffffffffffffffffffffffffff16146116b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116a99061453c565b60405180910390fd5b6116bc6000612656565b565b6116c66120c9565b73ffffffffffffffffffffffffffffffffffffffff166116e461177a565b73ffffffffffffffffffffffffffffffffffffffff161461173a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117319061453c565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f1935050505061177857600080fd5b565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6117ac6120c9565b73ffffffffffffffffffffffffffffffffffffffff166117ca61177a565b73ffffffffffffffffffffffffffffffffffffffff1614611820576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118179061453c565b60405180910390fd5b80600d908051906020019061183692919061303c565b5050565b60606001805461184990614988565b80601f016020809104026020016040519081016040528092919081815260200182805461187590614988565b80156118c25780601f10611897576101008083540402835291602001916118c2565b820191906000526020600020905b8154815290600101906020018083116118a557829003601f168201915b5050505050905090565b601160009054906101000a900460ff161561191c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119139061461c565b60405180910390fd5b6000611926610fe5565b90506000821161196b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119629061463c565b60405180910390fd5b600e54828261197a9190614782565b11156119bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119b2906143bc565b60405180910390fd5b6119c361177a565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611ae857601160019054906101000a900460ff16611a5257611a1233610f50565b611a51576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a48906145fc565b60405180910390fd5b5b601054821115611a97576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a8e9061449c565b60405180910390fd5b81600f54611aa59190614809565b341015611ae7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ade906143dc565b60405180910390fd5b5b6000600190505b828111611b2c576000611b02600b61203e565b9050611b0e600b611f77565b611b18338261271c565b508080611b24906149ba565b915050611aef565b505050565b611b43611b3c6120c9565b838361273a565b5050565b611b58611b526120c9565b8361231c565b611b97576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b8e906145dc565b60405180910390fd5b611ba3848484846128a7565b50505050565b611bb16120c9565b73ffffffffffffffffffffffffffffffffffffffff16611bcf61177a565b73ffffffffffffffffffffffffffffffffffffffff1614611c25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c1c9061453c565b60405180910390fd5b80601160016101000a81548160ff02191690831515021790555050565b6060611c4d826120d8565b611c8c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c839061459c565b60405180910390fd5b6000611c96612903565b90506000815111611cb65760405180602001604052806000815250611ce1565b80611cc084612995565b604051602001611cd192919061412d565b6040516020818303038152906040525b915050919050565b600e5481565b600d8054611cfc90614988565b80601f0160208091040260200160405190810160405280929190818152602001828054611d2890614988565b8015611d755780601f10611d4a57610100808354040283529160200191611d75565b820191906000526020600020905b815481529060010190602001808311611d5857829003601f168201915b505050505081565b600080600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508273ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1663c4552791866040518263ffffffff1660e01b8152600401611df59190614193565b60206040518083038186803b158015611e0d57600080fd5b505afa158015611e21573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e4591906135df565b73ffffffffffffffffffffffffffffffffffffffff161415611e6b576001915050611e79565b611e758484612b42565b9150505b92915050565b611e876120c9565b73ffffffffffffffffffffffffffffffffffffffff16611ea561177a565b73ffffffffffffffffffffffffffffffffffffffff1614611efb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ef29061453c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611f6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f629061435c565b60405180910390fd5b611f7481612656565b50565b6001816000016000828254019250508190555050565b60003073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141561203757600080368080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509050600080369050905073ffffffffffffffffffffffffffffffffffffffff81830151169250505061203b565b3390505b90565b600081600001549050919050565b600080823b905060008111915050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60006120d3611f8d565b905090565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166121b78361143e565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008073ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff16141561226e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122659061445c565b60405180910390fd5b600161228161227c87612bd6565b612c3e565b838686604051600081526020016040526040516122a194939291906142b3565b6020604051602081039080840390855afa1580156122c3573d6000803e3d6000fd5b5050506020604051035173ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff1614905095945050505050565b600081836123149190614782565b905092915050565b6000612327826120d8565b612366576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161235d9061443c565b60405180910390fd5b60006123718361143e565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806123e057508373ffffffffffffffffffffffffffffffffffffffff166123c884610b41565b73ffffffffffffffffffffffffffffffffffffffff16145b806123f157506123f08185611d7d565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661241a8261143e565b73ffffffffffffffffffffffffffffffffffffffff1614612470576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124679061455c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156124e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124d7906143fc565b60405180910390fd5b6124eb838383612c77565b6124f6600082612144565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546125469190614863565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461259d9190614782565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612736828260405180602001604052806000815250612c7c565b5050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156127a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127a09061441c565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161289a9190614238565b60405180910390a3505050565b6128b28484846123fa565b6128be84848484612cd7565b6128fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128f49061433c565b60405180910390fd5b50505050565b6060600c805461291290614988565b80601f016020809104026020016040519081016040528092919081815260200182805461293e90614988565b801561298b5780601f106129605761010080835404028352916020019161298b565b820191906000526020600020905b81548152906001019060200180831161296e57829003601f168201915b5050505050905090565b606060008214156129dd576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612b3d565b600082905060005b60008214612a0f5780806129f8906149ba565b915050600a82612a0891906147d8565b91506129e5565b60008167ffffffffffffffff811115612a51577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612a835781602001600182028036833780820191505090505b5090505b60008514612b3657600182612a9c9190614863565b9150600a85612aab9190614a31565b6030612ab79190614782565b60f81b818381518110612af3577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612b2f91906147d8565b9450612a87565b8093505050505b919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6000604051806080016040528060438152602001614bde604391398051906020012082600001518360200151846040015180519060200120604051602001612c21949392919061426e565b604051602081830303815290604052805190602001209050919050565b6000612c48611002565b82604051602001612c5a92919061415c565b604051602081830303815290604052805190602001209050919050565b505050565b612c868383612e6e565b612c936000848484612cd7565b612cd2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cc99061433c565b60405180910390fd5b505050565b6000612cf88473ffffffffffffffffffffffffffffffffffffffff1661204c565b15612e61578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612d216120c9565b8786866040518563ffffffff1660e01b8152600401612d4394939291906141ec565b602060405180830381600087803b158015612d5d57600080fd5b505af1925050508015612d8e57506040513d601f19601f82011682018060405250810190612d8b91906135b6565b60015b612e11573d8060008114612dbe576040519150601f19603f3d011682016040523d82523d6000602084013e612dc3565b606091505b50600081511415612e09576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e009061433c565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612e66565b600190505b949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612ede576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ed5906144fc565b60405180910390fd5b612ee7816120d8565b15612f27576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f1e9061439c565b60405180910390fd5b612f3360008383612c77565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612f839190614782565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b82805461304890614988565b90600052602060002090601f01602090048101928261306a57600085556130b1565b82601f1061308357805160ff19168380011785556130b1565b828001600101855582156130b1579182015b828111156130b0578251825591602001919060010190613095565b5b5090506130be91906130c2565b5090565b5b808211156130db5760008160009055506001016130c3565b5090565b60006130f26130ed846146a8565b614677565b9050808382526020820190508285602086028201111561311157600080fd5b60005b85811015613141578161312788826131c7565b845260208401935060208301925050600181019050613114565b5050509392505050565b600061315e613159846146d4565b614677565b90508281526020810184848401111561317657600080fd5b613181848285614946565b509392505050565b600061319c61319784614704565b614677565b9050828152602081018484840111156131b457600080fd5b6131bf848285614946565b509392505050565b6000813590506131d681614b3c565b92915050565b600082601f8301126131ed57600080fd5b81356131fd8482602086016130df565b91505092915050565b60008135905061321581614b53565b92915050565b60008135905061322a81614b6a565b92915050565b60008135905061323f81614b81565b92915050565b60008151905061325481614b81565b92915050565b600082601f83011261326b57600080fd5b813561327b84826020860161314b565b91505092915050565b60008151905061329381614b98565b92915050565b600082601f8301126132aa57600080fd5b81356132ba848260208601613189565b91505092915050565b6000813590506132d281614baf565b92915050565b6000813590506132e781614bc6565b92915050565b6000602082840312156132ff57600080fd5b600061330d848285016131c7565b91505092915050565b6000806040838503121561332957600080fd5b6000613337858286016131c7565b9250506020613348858286016131c7565b9150509250929050565b60008060006060848603121561336757600080fd5b6000613375868287016131c7565b9350506020613386868287016131c7565b9250506040613397868287016132c3565b9150509250925092565b600080600080608085870312156133b757600080fd5b60006133c5878288016131c7565b94505060206133d6878288016131c7565b93505060406133e7878288016132c3565b925050606085013567ffffffffffffffff81111561340457600080fd5b6134108782880161325a565b91505092959194509250565b6000806040838503121561342f57600080fd5b600061343d858286016131c7565b925050602061344e85828601613206565b9150509250929050565b600080600080600060a0868803121561347057600080fd5b600061347e888289016131c7565b955050602086013567ffffffffffffffff81111561349b57600080fd5b6134a78882890161325a565b94505060406134b88882890161321b565b93505060606134c98882890161321b565b92505060806134da888289016132d8565b9150509295509295909350565b600080604083850312156134fa57600080fd5b6000613508858286016131c7565b9250506020613519858286016132c3565b9150509250929050565b60006020828403121561353557600080fd5b600082013567ffffffffffffffff81111561354f57600080fd5b61355b848285016131dc565b91505092915050565b60006020828403121561357657600080fd5b600061358484828501613206565b91505092915050565b60006020828403121561359f57600080fd5b60006135ad84828501613230565b91505092915050565b6000602082840312156135c857600080fd5b60006135d684828501613245565b91505092915050565b6000602082840312156135f157600080fd5b60006135ff84828501613284565b91505092915050565b60006020828403121561361a57600080fd5b600082013567ffffffffffffffff81111561363457600080fd5b61364084828501613299565b91505092915050565b60006020828403121561365b57600080fd5b6000613669848285016132c3565b91505092915050565b61367b816148a9565b82525050565b61368a81614897565b82525050565b6136a161369c82614897565b614a03565b82525050565b6136b0816148bb565b82525050565b6136bf816148c7565b82525050565b6136d66136d1826148c7565b614a15565b82525050565b60006136e782614734565b6136f1818561474a565b9350613701818560208601614955565b61370a81614b1e565b840191505092915050565b600061372082614734565b61372a818561475b565b935061373a818560208601614955565b80840191505092915050565b60006137518261473f565b61375b8185614766565b935061376b818560208601614955565b61377481614b1e565b840191505092915050565b600061378a8261473f565b6137948185614777565b93506137a4818560208601614955565b80840191505092915050565b60006137bd603283614766565b91507f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008301527f63656976657220696d706c656d656e74657200000000000000000000000000006020830152604082019050919050565b6000613823602683614766565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613889601c83614766565b91507f46756e6374696f6e2063616c6c206e6f74207375636365737366756c000000006000830152602082019050919050565b60006138c9601c83614766565b91507f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006000830152602082019050919050565b6000613909600283614777565b91507f19010000000000000000000000000000000000000000000000000000000000006000830152600282019050919050565b6000613949601083614766565b91507f4d6178204e465473206d696e7465642e000000000000000000000000000000006000830152602082019050919050565b6000613989601283614766565b91507f496e73756666696369656e742046756e647300000000000000000000000000006000830152602082019050919050565b60006139c9602483614766565b91507f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613a2f601983614766565b91507f4552433732313a20617070726f766520746f2063616c6c6572000000000000006000830152602082019050919050565b6000613a6f602c83614766565b91507f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000613ad5602583614766565b91507f4e61746976654d6574615472616e73616374696f6e3a20494e56414c49445f5360008301527f49474e45520000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613b3b603883614766565b91507f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008301527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006020830152604082019050919050565b6000613ba1601483614766565b91507f596f752063616e206f6e6c79204d696e742032300000000000000000000000006000830152602082019050919050565b6000613be1602a83614766565b91507f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008301527f726f2061646472657373000000000000000000000000000000000000000000006020830152604082019050919050565b6000613c47602983614766565b91507f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008301527f656e7420746f6b656e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000613cad602083614766565b91507f4552433732313a206d696e7420746f20746865207a65726f20616464726573736000830152602082019050919050565b6000613ced602c83614766565b91507f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000613d53600583614777565b91507f2e6a736f6e0000000000000000000000000000000000000000000000000000006000830152600582019050919050565b6000613d93602083614766565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b6000613dd3602983614766565b91507f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008301527f73206e6f74206f776e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000613e39602183614766565b91507f5369676e657220616e64207369676e617475726520646f206e6f74206d61746360008301527f68000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613e9f602f83614766565b91507f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008301527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006020830152604082019050919050565b6000613f05602183614766565b91507f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008301527f72000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613f6b603183614766565b91507f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008301527f776e6572206e6f7220617070726f7665640000000000000000000000000000006020830152604082019050919050565b6000613fd1604d83614766565b91507f596f7520617265206e6f742077686974656c697374656420666f72207468652060008301527f437564646c65652043726577207072652d73616c652c2077616974206f70656e60208301527f696e67206d61696e2073616c65000000000000000000000000000000000000006040830152606082019050919050565b600061405d600683614766565b91507f70617573656400000000000000000000000000000000000000000000000000006000830152602082019050919050565b600061409d601683614766565b91507f4e65656420746f204d696e742031206f72204d6f7265000000000000000000006000830152602082019050919050565b6140d98161492f565b82525050565b6140e881614939565b82525050565b60006140fa8284613715565b915081905092915050565b60006141118285613715565b915061411d8284613690565b6014820191508190509392505050565b6000614139828561377f565b9150614145828461377f565b915061415082613d46565b91508190509392505050565b6000614167826138fc565b915061417382856136c5565b60208201915061418382846136c5565b6020820191508190509392505050565b60006020820190506141a86000830184613681565b92915050565b60006060820190506141c36000830186613681565b6141d06020830185613672565b81810360408301526141e281846136dc565b9050949350505050565b60006080820190506142016000830187613681565b61420e6020830186613681565b61421b60408301856140d0565b818103606083015261422d81846136dc565b905095945050505050565b600060208201905061424d60008301846136a7565b92915050565b600060208201905061426860008301846136b6565b92915050565b600060808201905061428360008301876136b6565b61429060208301866140d0565b61429d6040830185613681565b6142aa60608301846136b6565b95945050505050565b60006080820190506142c860008301876136b6565b6142d560208301866140df565b6142e260408301856136b6565b6142ef60608301846136b6565b95945050505050565b6000602082019050818103600083015261431281846136dc565b905092915050565b600060208201905081810360008301526143348184613746565b905092915050565b60006020820190508181036000830152614355816137b0565b9050919050565b6000602082019050818103600083015261437581613816565b9050919050565b600060208201905081810360008301526143958161387c565b9050919050565b600060208201905081810360008301526143b5816138bc565b9050919050565b600060208201905081810360008301526143d58161393c565b9050919050565b600060208201905081810360008301526143f58161397c565b9050919050565b60006020820190508181036000830152614415816139bc565b9050919050565b6000602082019050818103600083015261443581613a22565b9050919050565b6000602082019050818103600083015261445581613a62565b9050919050565b6000602082019050818103600083015261447581613ac8565b9050919050565b6000602082019050818103600083015261449581613b2e565b9050919050565b600060208201905081810360008301526144b581613b94565b9050919050565b600060208201905081810360008301526144d581613bd4565b9050919050565b600060208201905081810360008301526144f581613c3a565b9050919050565b6000602082019050818103600083015261451581613ca0565b9050919050565b6000602082019050818103600083015261453581613ce0565b9050919050565b6000602082019050818103600083015261455581613d86565b9050919050565b6000602082019050818103600083015261457581613dc6565b9050919050565b6000602082019050818103600083015261459581613e2c565b9050919050565b600060208201905081810360008301526145b581613e92565b9050919050565b600060208201905081810360008301526145d581613ef8565b9050919050565b600060208201905081810360008301526145f581613f5e565b9050919050565b6000602082019050818103600083015261461581613fc4565b9050919050565b6000602082019050818103600083015261463581614050565b9050919050565b6000602082019050818103600083015261465581614090565b9050919050565b600060208201905061467160008301846140d0565b92915050565b6000604051905081810181811067ffffffffffffffff8211171561469e5761469d614aef565b5b8060405250919050565b600067ffffffffffffffff8211156146c3576146c2614aef565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156146ef576146ee614aef565b5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff82111561471f5761471e614aef565b5b601f19601f8301169050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b600061478d8261492f565b91506147988361492f565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156147cd576147cc614a62565b5b828201905092915050565b60006147e38261492f565b91506147ee8361492f565b9250826147fe576147fd614a91565b5b828204905092915050565b60006148148261492f565b915061481f8361492f565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561485857614857614a62565b5b828202905092915050565b600061486e8261492f565b91506148798361492f565b92508282101561488c5761488b614a62565b5b828203905092915050565b60006148a28261490f565b9050919050565b60006148b48261490f565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600061490882614897565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b83811015614973578082015181840152602081019050614958565b83811115614982576000848401525b50505050565b600060028204905060018216806149a057607f821691505b602082108114156149b4576149b3614ac0565b5b50919050565b60006149c58261492f565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156149f8576149f7614a62565b5b600182019050919050565b6000614a0e82614a1f565b9050919050565b6000819050919050565b6000614a2a82614b2f565b9050919050565b6000614a3c8261492f565b9150614a478361492f565b925082614a5757614a56614a91565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b614b4581614897565b8114614b5057600080fd5b50565b614b5c816148bb565b8114614b6757600080fd5b50565b614b73816148c7565b8114614b7e57600080fd5b50565b614b8a816148d1565b8114614b9557600080fd5b50565b614ba1816148fd565b8114614bac57600080fd5b50565b614bb88161492f565b8114614bc357600080fd5b50565b614bcf81614939565b8114614bda57600080fd5b5056fe4d6574615472616e73616374696f6e2875696e74323536206e6f6e63652c616464726573732066726f6d2c62797465732066756e6374696f6e5369676e617475726529a26469706673582212206cb82d8e67c62c9fedfa02849d47814ccaa4aa5f8bc9fffe7fbe5312f427773b64736f6c63430008000033

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

00000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000001a0000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1000000000000000000000000000000000000000000000000000000000000000c437564646c65652d43726577000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000024343000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005168747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066732f516d5734386d374b787464585070466564326452624c4c533438554468566d4b52513838786a79777669574475342f000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005068747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066732f516d644474455a66594c705153736251383769714654334345533941744a64524541794a533570695a5232567a6100000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _name (string): Cuddlee-Crew
Arg [1] : _symbol (string): CC
Arg [2] : _initBaseURI (string): https://gateway.pinata.cloud/ipfs/QmW48m7KxtdXPpFed2dRbLLS48UDhVmKRQ88xjywviWDu4/
Arg [3] : _contractURI (string): https://gateway.pinata.cloud/ipfs/QmdDtEZfYLpQSsbQ87iqFT3CES9AtJdREAyJS5piZR2Vza
Arg [4] : _proxyRegistryAddress (address): 0xa5409ec958C83C3f309868babACA7c86DCB077c1

-----Encoded View---------------
17 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000120
Arg [3] : 00000000000000000000000000000000000000000000000000000000000001a0
Arg [4] : 000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1
Arg [5] : 000000000000000000000000000000000000000000000000000000000000000c
Arg [6] : 437564646c65652d437265770000000000000000000000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [8] : 4343000000000000000000000000000000000000000000000000000000000000
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000051
Arg [10] : 68747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066
Arg [11] : 732f516d5734386d374b787464585070466564326452624c4c53343855446856
Arg [12] : 6d4b52513838786a79777669574475342f000000000000000000000000000000
Arg [13] : 0000000000000000000000000000000000000000000000000000000000000050
Arg [14] : 68747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066
Arg [15] : 732f516d644474455a66594c705153736251383769714654334345533941744a
Arg [16] : 64524541794a533570695a5232567a6100000000000000000000000000000000


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.