ETH Price: $2,869.59 (+6.65%)
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Set Approval For...206181052024-08-27 6:23:4772 days ago1724739827IN
0x0d070935...04C6c765a
0 ETH0.000042290.9
Set Approval For...202903992024-07-12 12:24:11118 days ago1720787051IN
0x0d070935...04C6c765a
0 ETH0.000172643.67942518
Set Approval For...202485462024-07-06 16:04:59124 days ago1720281899IN
0x0d070935...04C6c765a
0 ETH0.000175423.73198314
Set Approval For...198335072024-05-09 15:53:11182 days ago1715269991IN
0x0d070935...04C6c765a
0 ETH0.000187127.48174508
Set Approval For...190105062024-01-15 6:30:23297 days ago1705300223IN
0x0d070935...04C6c765a
0 ETH0.000817117.41382582
Set Approval For...187427092023-12-08 16:23:35335 days ago1702052615IN
0x0d070935...04C6c765a
0 ETH0.0028309960.33268052
Safe Transfer Fr...182671952023-10-03 3:01:35401 days ago1696302095IN
0x0d070935...04C6c765a
0 ETH0.00042086.7214835
Set Approval For...182205702023-09-26 14:33:11408 days ago1695738791IN
0x0d070935...04C6c765a
0 ETH0.0005200419.24448141
Set Approval For...182205392023-09-26 14:26:59408 days ago1695738419IN
0x0d070935...04C6c765a
0 ETH0.0007043115.01007395
Set Approval For...177902492023-07-28 8:05:35468 days ago1690531535IN
0x0d070935...04C6c765a
0 ETH0.0006465423.86935954
Set Approval For...177902482023-07-28 8:05:23468 days ago1690531523IN
0x0d070935...04C6c765a
0 ETH0.0011364924.18747692
Set Approval For...174605932023-06-12 1:03:11514 days ago1686531791IN
0x0d070935...04C6c765a
0 ETH0.0010542622.4336344
Set Approval For...170570692023-04-16 4:21:23571 days ago1681618883IN
0x0d070935...04C6c765a
0 ETH0.0010608922.60922539
Set Approval For...169627522023-04-02 17:01:35585 days ago1680454895IN
0x0d070935...04C6c765a
0 ETH0.0012195925.99143085
Set Approval For...169600512023-04-02 7:53:11585 days ago1680421991IN
0x0d070935...04C6c765a
0 ETH0.0008370317.83848325
Set Approval For...169414162023-03-30 17:02:23588 days ago1680195743IN
0x0d070935...04C6c765a
0 ETH0.0025170653.64250476
Set Approval For...168654452023-03-20 0:53:59598 days ago1679273639IN
0x0d070935...04C6c765a
0 ETH0.0007073815.06776942
Set Approval For...168575072023-03-18 22:06:47599 days ago1679177207IN
0x0d070935...04C6c765a
0 ETH0.001107223.5962079
Set Approval For...168562252023-03-18 17:48:35600 days ago1679161715IN
0x0d070935...04C6c765a
0 ETH0.0005086818.8243009
Set Approval For...168562222023-03-18 17:47:59600 days ago1679161679IN
0x0d070935...04C6c765a
0 ETH0.0008425917.9569478
Set Approval For...168561162023-03-18 17:26:35600 days ago1679160395IN
0x0d070935...04C6c765a
0 ETH0.0011145623.75315744
Set Approval For...168560902023-03-18 17:21:23600 days ago1679160083IN
0x0d070935...04C6c765a
0 ETH0.0011711724.95949815
Set Approval For...168560792023-03-18 17:19:11600 days ago1679159951IN
0x0d070935...04C6c765a
0 ETH0.0012931427.54477043
Set Approval For...167868062023-03-08 23:31:23609 days ago1678318283IN
0x0d070935...04C6c765a
0 ETH0.0019788942.17328245
Set Approval For...167613652023-03-05 9:39:47613 days ago1678009187IN
0x0d070935...04C6c765a
0 ETH0.0008552418.22655423
View all transactions

Latest 6 internal transactions

Advanced mode:
Parent Transaction Hash Block From To
145969422022-04-16 14:42:27936 days ago1650120147
0x0d070935...04C6c765a
17.6 ETH
138578772021-12-22 23:15:551050 days ago1640214955
0x0d070935...04C6c765a
13.6 ETH
138400372021-12-20 4:57:131053 days ago1639976233
0x0d070935...04C6c765a
48.4 ETH
137114112021-11-29 23:18:411073 days ago1638227921
0x0d070935...04C6c765a
11.2 ETH
137069662021-11-29 6:12:311074 days ago1638166351
0x0d070935...04C6c765a
15.8 ETH
136986462021-11-27 22:12:331075 days ago1638051153
0x0d070935...04C6c765a
55.4 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
PunksDed

Compiler Version
v0.8.2+commit.661d1103

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 18 : PunksDed.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "./ERC721Tradable.sol";
import "@openzeppelin/contracts/utils/Counters.sol";

contract PunksDed is ERC721Tradable {
    bool public salePublicIsActive;
    bool public saleHoldersOnlyIsActive;
    uint256 public maxByMint;
    uint256 public maxSupply;
    uint256 public maxPublicSupply;
    uint256 public maxReservedSupply;
    uint256 public trancheStart;
    uint256 public fixedPrice;
    address public daoAddress;
    string internal baseTokenURI;

    using Counters for Counters.Counter;
    Counters.Counter private _totalPublicSupply;
    Counters.Counter private _totalReservedSupply;
    
    constructor(
        string memory _name,
        string memory _symbol,
        address _proxyRegistryAddress
    ) ERC721Tradable(_name, _symbol, _proxyRegistryAddress) {
        maxByMint = 50;
        maxSupply = 10000;
        maxPublicSupply = 1000;
        maxReservedSupply = 1000;  
        fixedPrice = 0.2 ether;
        daoAddress = 0xC3b94e21337E9c07DaBADbF299C8590Cf7D2Efbf;
        trancheStart = 1;
        baseTokenURI = "https://www.punksded.xyz/api/meta/1/";
    }

    function contractURI() public pure returns (string memory) {
        return "https://www.punksded.xyz/api/contract/1";
    }

    function _mintN(uint numberOfTokens) private {
        require(numberOfTokens <= maxByMint, "Max mint exceeded");
        require(_totalPublicSupply.current() + numberOfTokens <= maxPublicSupply, "Max supply reached");
        for(uint i = 0; i < numberOfTokens; i++) {
            _totalPublicSupply.increment();
            _safeMint(msg.sender, this.totalSupply());
        }
    }

    function mintPublic(uint numberOfTokens) external payable {
        require(salePublicIsActive, "Sale not active");
        require(fixedPrice * numberOfTokens <= msg.value, "Eth val incorrect");
        _mintN(numberOfTokens);
    }

    function mintHoldersOnly(uint numberOfTokens) external payable {
        require(saleHoldersOnlyIsActive, "Holders sale not active");
        require(this.balanceOf(msg.sender) > 0, "Must be a holder");
        require(fixedPrice * numberOfTokens <= msg.value, "Eth val incorrect");
        _mintN(numberOfTokens);
    }

    function mintReserved(address _to, uint numberOfTokens) external onlyOwner {
        require(_totalReservedSupply.current() + numberOfTokens <= maxReservedSupply, "Max supply reached");
        for(uint i = 0; i < numberOfTokens; i++) {
            _totalReservedSupply.increment();
            _safeMint(_to, this.totalSupply());
        }
    }

    function tokenURI(uint256 _tokenId) override public view returns (string memory) {
        return string(abi.encodePacked(baseTokenURI, Strings.toString(_tokenId)));
    }

    function totalSupply() public view returns (uint256) {
        return _totalPublicSupply.current() + _totalReservedSupply.current();
    }

    function totalPublicSupply() public view returns (uint256) {
        return _totalPublicSupply.current();
    }

    function totalReservedSupply() public view returns (uint256) {
        return _totalReservedSupply.current();
    }

    function flipSalePublicStatus() external onlyOwner {
        salePublicIsActive = !salePublicIsActive;
    }

    function flipSaleHoldersOnlyStatus() external onlyOwner {
        saleHoldersOnlyIsActive = !saleHoldersOnlyIsActive;
    }

    function setDaoAddress(address _daoAddress) external onlyOwner {
        daoAddress = _daoAddress;
    }

    function setBaseTokenURI(string memory _baseTokenURI) external onlyOwner {
        baseTokenURI = _baseTokenURI;
    }

    function setSupply(uint256 _maxPublicSupply, uint256 _maxReservedSupply) external onlyOwner {
        maxPublicSupply = _maxPublicSupply;
        maxReservedSupply = _maxReservedSupply;
        trancheStart = this.totalSupply() + 1;
    }

    function setFixedPrice(uint256 _fixedPrice) external onlyOwner {
        fixedPrice = _fixedPrice;
    }

    function setMaxByMint(uint256 _maxByMint) external onlyOwner {
        maxByMint = _maxByMint;
    }

    function withdraw() external onlyOwner {
        uint balance = address(this).balance;
        require(balance > 0);
        _withdraw(daoAddress, balance);
    }

    function _withdraw(address _address, uint256 _amount) private {
        (bool success, ) = _address.call{value: _amount}("");
        require(success, "Tx failed");
    }

}

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 "./common/meta-transactions/ContentMixin.sol";
import "./common/meta-transactions/NativeMetaTransaction.sol";

contract OwnableDelegateProxy {}

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

/**
 * @title ERC721Tradable
 */
abstract contract ERC721Tradable is ERC721, ContextMixin, NativeMetaTransaction, Ownable {
    address internal proxyRegistryAddress;

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

    /**
     * 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

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

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);
    }

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

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.
     * The call is not executed if the target address is not a contract.
     *
     * @param from address representing the previous owner of the given token ID
     * @param to target address that will receive the tokens
     * @param tokenId uint256 ID of the token to be transferred
     * @param _data bytes optional data to send along with the call
     * @return bool whether the call correctly returned the expected magic value
     */
    function _checkOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        if (to.isContract()) {
            try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) {
                return retval == IERC721Receiver.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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

File 6 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 7 of 18 : NativeMetaTransaction.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import { SafeMathUpgradeable as SafeMath } from "@openzeppelin/contracts-upgradeable/utils/math/SafeMathUpgradeable.sol";
import "./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 8 of 18 : IERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

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

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 no longer needed starting with Solidity 0.8. The compiler
 * now has built in overflow checking.
 */
library SafeMathUpgradeable {
    /**
     * @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 17 of 18 : EIP712Base.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "@openzeppelin/contracts-upgradeable/proxy/utils/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;

/**
 * @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed
 * behind a proxy. Since a proxied contract can't have a constructor, it's common to move constructor logic to an
 * external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer
 * function so it can only be called once. The {initializer} modifier provided by this contract will have this effect.
 *
 * TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as
 * possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}.
 *
 * CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure
 * that all initializers are idempotent. This is not verified automatically as constructors are by Solidity.
 */
abstract contract Initializable {
    /**
     * @dev Indicates that the contract has been initialized.
     */
    bool private _initialized;

    /**
     * @dev Indicates that the contract is in the process of being initialized.
     */
    bool private _initializing;

    /**
     * @dev Modifier to protect an initializer function from being invoked twice.
     */
    modifier initializer() {
        require(_initializing || !_initialized, "Initializable: contract is already initialized");

        bool isTopLevelCall = !_initializing;
        if (isTopLevelCall) {
            _initializing = true;
            _initialized = true;
        }

        _;

        if (isTopLevelCall) {
            _initializing = false;
        }
    }
}

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":"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":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"daoAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"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":[],"name":"fixedPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"flipSaleHoldersOnlyStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"flipSalePublicStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"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":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxByMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPublicSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxReservedSupply","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":"numberOfTokens","type":"uint256"}],"name":"mintHoldersOnly","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"mintPublic","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"mintReserved","outputs":[],"stateMutability":"nonpayable","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":[],"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":[],"name":"saleHoldersOnlyIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"salePublicIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseTokenURI","type":"string"}],"name":"setBaseTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_daoAddress","type":"address"}],"name":"setDaoAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_fixedPrice","type":"uint256"}],"name":"setFixedPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxByMint","type":"uint256"}],"name":"setMaxByMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxPublicSupply","type":"uint256"},{"internalType":"uint256","name":"_maxReservedSupply","type":"uint256"}],"name":"setSupply","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":"totalPublicSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalReservedSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"trancheStart","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":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b506040516200595e3803806200595e83398181016040528101906200003791906200062f565b8282828282816000908051906020019062000054929190620004f6565b5080600190805190602001906200006d929190620004f6565b5050506200009062000084620001af60201b60201c565b620001cb60201b60201c565b80600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550620000e2836200029160201b60201c565b5050506032600b81905550612710600c819055506103e8600d819055506103e8600e819055506702c68af0bb14000060108190555073c3b94e21337e9c07dabadbf299c8590cf7d2efbf601160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506001600f819055506040518060600160405280602481526020016200593a6024913960129080519060200190620001a5929190620004f6565b50505050620009a7565b6000620001c66200038760201b6200216c1760201c565b905090565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600660019054906101000a900460ff1680620002ba5750600660009054906101000a900460ff16155b620002fc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002f3906200075d565b60405180910390fd5b6000600660019054906101000a900460ff1615905080156200034f576001600660016101000a81548160ff0219169083151502179055506001600660006101000a81548160ff0219169083151502179055505b62000360826200043a60201b60201c565b801562000383576000600660016101000a81548160ff0219169083151502179055505b5050565b60003073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614156200043357600080368080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509050600080369050905073ffffffffffffffffffffffffffffffffffffffff81830151169250505062000437565b3390505b90565b6040518060800160405280604f8152602001620058eb604f91398051906020012081805190602001206040518060400160405280600181526020017f31000000000000000000000000000000000000000000000000000000000000008152508051906020012030620004b1620004e960201b60201c565b60001b604051602001620004ca95949392919062000700565b6040516020818303038152906040528051906020012060078190555050565b6000804690508091505090565b828054620005049062000863565b90600052602060002090601f01602090048101928262000528576000855562000574565b82601f106200054357805160ff191683800117855562000574565b8280016001018555821562000574579182015b828111156200057357825182559160200191906001019062000556565b5b50905062000583919062000587565b5090565b5b80821115620005a257600081600090555060010162000588565b5090565b6000620005bd620005b784620007a8565b6200077f565b905082815260208101848484011115620005d657600080fd5b620005e38482856200082d565b509392505050565b600081519050620005fc816200098d565b92915050565b600082601f8301126200061457600080fd5b815162000626848260208601620005a6565b91505092915050565b6000806000606084860312156200064557600080fd5b600084015167ffffffffffffffff8111156200066057600080fd5b6200066e8682870162000602565b935050602084015167ffffffffffffffff8111156200068c57600080fd5b6200069a8682870162000602565b9250506040620006ad86828701620005eb565b9150509250925092565b620006c281620007ef565b82525050565b620006d38162000803565b82525050565b6000620006e8602e83620007de565b9150620006f5826200093e565b604082019050919050565b600060a082019050620007176000830188620006c8565b620007266020830187620006c8565b620007356040830186620006c8565b620007446060830185620006b7565b620007536080830184620006c8565b9695505050505050565b600060208201905081810360008301526200077881620006d9565b9050919050565b60006200078b6200079e565b905062000799828262000899565b919050565b6000604051905090565b600067ffffffffffffffff821115620007c657620007c5620008fe565b5b620007d1826200092d565b9050602081019050919050565b600082825260208201905092915050565b6000620007fc826200080d565b9050919050565b6000819050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60005b838110156200084d57808201518184015260208101905062000830565b838111156200085d576000848401525b50505050565b600060028204905060018216806200087c57607f821691505b60208210811415620008935762000892620008cf565b5b50919050565b620008a4826200092d565b810181811067ffffffffffffffff82111715620008c657620008c5620008fe565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160008201527f647920696e697469616c697a6564000000000000000000000000000000000000602082015250565b6200099881620007ef565b8114620009a457600080fd5b50565b614f3480620009b76000396000f3fe6080604052600436106102725760003560e01c8063715018a61161014f578063b6c65d38116100c1578063e6a5931e1161007a578063e6a5931e14610902578063e8a3d4851461092d578063e985e9c514610958578063efd0cbf914610995578063f2fde38b146109b1578063fc784d49146109da57610272565b8063b6c65d3814610804578063b88d4fde1461082f578063c1fad42c14610858578063c87b56dd14610883578063d5abeb01146108c0578063e6019716146108eb57610272565b80638da5cb5b116101135780638da5cb5b1461070857806395d89b41146107335780639a3cac6a1461075e5780639c817be814610787578063a22cb465146107b2578063b455c5fe146107db57610272565b8063715018a61461066c57806373c8c883146106835780637de55fe1146106ac5780638269de67146106d55780638b60fe63146106ec57610272565b806323b872dd116101e85780633ccfd60b116101ac5780633ccfd60b1461055c57806342842e0e14610573578063478f20e71461059c5780636352211e146105c7578063674d13c81461060457806370a082311461062f57610272565b806323b872dd1461047757806326a74d8e146104a05780632d0335ab146104cb57806330176e13146105085780633408e4701461053157610272565b80630f7e59701161023a5780630f7e597014610375578063138a4e01146103a057806318160ddd146103cb5780631efba6c2146103f657806320379ee5146104215780632131c68c1461044c57610272565b806301ffc9a71461027757806306fdde03146102b4578063081812fc146102df578063095ea7b31461031c5780630c53c51c14610345575b600080fd5b34801561028357600080fd5b5061029e6004803603810190610299919061369a565b610a03565b6040516102ab9190613ec4565b60405180910390f35b3480156102c057600080fd5b506102c9610ae5565b6040516102d69190613fa6565b60405180910390f35b3480156102eb57600080fd5b5061030660048036038101906103019190613756565b610b77565b6040516103139190613e1f565b60405180910390f35b34801561032857600080fd5b50610343600480360381019061033e919061365e565b610bfc565b005b61035f600480360381019061035a91906135cf565b610d14565b60405161036c9190613f84565b60405180910390f35b34801561038157600080fd5b5061038a610f86565b6040516103979190613fa6565b60405180910390f35b3480156103ac57600080fd5b506103b5610fbf565b6040516103c291906142e8565b60405180910390f35b3480156103d757600080fd5b506103e0610fc5565b6040516103ed91906142e8565b60405180910390f35b34801561040257600080fd5b5061040b610fea565b60405161041891906142e8565b60405180910390f35b34801561042d57600080fd5b50610436610ff0565b6040516104439190613edf565b60405180910390f35b34801561045857600080fd5b50610461610ffa565b60405161046e9190613e1f565b60405180910390f35b34801561048357600080fd5b5061049e600480360381019061049991906134c9565b611020565b005b3480156104ac57600080fd5b506104b5611080565b6040516104c291906142e8565b60405180910390f35b3480156104d757600080fd5b506104f260048036038101906104ed9190613464565b611086565b6040516104ff91906142e8565b60405180910390f35b34801561051457600080fd5b5061052f600480360381019061052a9190613715565b6110cf565b005b34801561053d57600080fd5b50610546611165565b60405161055391906142e8565b60405180910390f35b34801561056857600080fd5b50610571611172565b005b34801561057f57600080fd5b5061059a600480360381019061059591906134c9565b61122f565b005b3480156105a857600080fd5b506105b161124f565b6040516105be9190613ec4565b60405180910390f35b3480156105d357600080fd5b506105ee60048036038101906105e99190613756565b611262565b6040516105fb9190613e1f565b60405180910390f35b34801561061057600080fd5b50610619611314565b60405161062691906142e8565b60405180910390f35b34801561063b57600080fd5b5061065660048036038101906106519190613464565b611325565b60405161066391906142e8565b60405180910390f35b34801561067857600080fd5b506106816113dd565b005b34801561068f57600080fd5b506106aa60048036038101906106a59190613756565b611465565b005b3480156106b857600080fd5b506106d360048036038101906106ce919061365e565b6114eb565b005b3480156106e157600080fd5b506106ea611674565b005b61070660048036038101906107019190613756565b61171c565b005b34801561071457600080fd5b5061071d611892565b60405161072a9190613e1f565b60405180910390f35b34801561073f57600080fd5b506107486118bc565b6040516107559190613fa6565b60405180910390f35b34801561076a57600080fd5b5061078560048036038101906107809190613464565b61194e565b005b34801561079357600080fd5b5061079c611a0e565b6040516107a991906142e8565b60405180910390f35b3480156107be57600080fd5b506107d960048036038101906107d49190613593565b611a14565b005b3480156107e757600080fd5b5061080260048036038101906107fd9190613756565b611b95565b005b34801561081057600080fd5b50610819611c1b565b6040516108269190613ec4565b60405180910390f35b34801561083b57600080fd5b5061085660048036038101906108519190613518565b611c2e565b005b34801561086457600080fd5b5061086d611c90565b60405161087a91906142e8565b60405180910390f35b34801561088f57600080fd5b506108aa60048036038101906108a59190613756565b611c96565b6040516108b79190613fa6565b60405180910390f35b3480156108cc57600080fd5b506108d5611cca565b6040516108e291906142e8565b60405180910390f35b3480156108f757600080fd5b50610900611cd0565b005b34801561090e57600080fd5b50610917611d78565b60405161092491906142e8565b60405180910390f35b34801561093957600080fd5b50610942611d89565b60405161094f9190613fa6565b60405180910390f35b34801561096457600080fd5b5061097f600480360381019061097a919061348d565b611da9565b60405161098c9190613ec4565b60405180910390f35b6109af60048036038101906109aa9190613756565b611eab565b005b3480156109bd57600080fd5b506109d860048036038101906109d39190613464565b611f56565b005b3480156109e657600080fd5b50610a0160048036038101906109fc91906137a8565b61204e565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610ace57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610ade5750610add8261221d565b5b9050919050565b606060008054610af4906145f3565b80601f0160208091040260200160405190810160405280929190818152602001828054610b20906145f3565b8015610b6d5780601f10610b4257610100808354040283529160200191610b6d565b820191906000526020600020905b815481529060010190602001808311610b5057829003601f168201915b5050505050905090565b6000610b8282612287565b610bc1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bb8906141c8565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610c0782611262565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c78576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c6f90614248565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c976122f3565b73ffffffffffffffffffffffffffffffffffffffff161480610cc65750610cc581610cc06122f3565b611da9565b5b610d05576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cfc90614128565b60405180910390fd5b610d0f8383612302565b505050565b606060006040518060600160405280600860008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205481526020018873ffffffffffffffffffffffffffffffffffffffff168152602001878152509050610d9787828787876123bb565b610dd6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dcd90614228565b60405180910390fd5b610e296001600860008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546124c490919063ffffffff16565b600860008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055507f5845892132946850460bff5a0083f71031bc5bf9aadcd40f1de79423eac9b10b873388604051610e9f93929190613e3a565b60405180910390a16000803073ffffffffffffffffffffffffffffffffffffffff16888a604051602001610ed4929190613d87565b604051602081830303815290604052604051610ef09190613d70565b6000604051808303816000865af19150503d8060008114610f2d576040519150601f19603f3d011682016040523d82523d6000602084013e610f32565b606091505b509150915081610f77576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f6e90614008565b60405180910390fd5b80935050505095945050505050565b6040518060400160405280600181526020017f310000000000000000000000000000000000000000000000000000000000000081525081565b600b5481565b6000610fd160146124da565b610fdb60136124da565b610fe591906143ed565b905090565b60105481565b6000600754905090565b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b61103161102b6122f3565b826124e8565b611070576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161106790614288565b60405180910390fd5b61107b8383836125c6565b505050565b600d5481565b6000600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6110d76122f3565b73ffffffffffffffffffffffffffffffffffffffff166110f5611892565b73ffffffffffffffffffffffffffffffffffffffff161461114b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611142906141e8565b60405180910390fd5b8060129080519060200190611161929190613234565b5050565b6000804690508091505090565b61117a6122f3565b73ffffffffffffffffffffffffffffffffffffffff16611198611892565b73ffffffffffffffffffffffffffffffffffffffff16146111ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111e5906141e8565b60405180910390fd5b60004790506000811161120057600080fd5b61122c601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682612822565b50565b61124a83838360405180602001604052806000815250611c2e565b505050565b600a60159054906101000a900460ff1681565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561130b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161130290614168565b60405180910390fd5b80915050919050565b600061132060146124da565b905090565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611396576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161138d90614148565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6113e56122f3565b73ffffffffffffffffffffffffffffffffffffffff16611403611892565b73ffffffffffffffffffffffffffffffffffffffff1614611459576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611450906141e8565b60405180910390fd5b61146360006128d3565b565b61146d6122f3565b73ffffffffffffffffffffffffffffffffffffffff1661148b611892565b73ffffffffffffffffffffffffffffffffffffffff16146114e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114d8906141e8565b60405180910390fd5b8060108190555050565b6114f36122f3565b73ffffffffffffffffffffffffffffffffffffffff16611511611892565b73ffffffffffffffffffffffffffffffffffffffff1614611567576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161155e906141e8565b60405180910390fd5b600e548161157560146124da565b61157f91906143ed565b11156115c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115b7906142c8565b60405180910390fd5b60005b8181101561166f576115d56014612999565b61165c833073ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561161f57600080fd5b505afa158015611633573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611657919061377f565b6129af565b808061166790614656565b9150506115c3565b505050565b61167c6122f3565b73ffffffffffffffffffffffffffffffffffffffff1661169a611892565b73ffffffffffffffffffffffffffffffffffffffff16146116f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116e7906141e8565b60405180910390fd5b600a60159054906101000a900460ff1615600a60156101000a81548160ff021916908315150217905550565b600a60159054906101000a900460ff1661176b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611762906142a8565b60405180910390fd5b60003073ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b81526004016117a69190613e1f565b60206040518083038186803b1580156117be57600080fd5b505afa1580156117d2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117f6919061377f565b11611836576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161182d906140e8565b60405180910390fd5b34816010546118459190614474565b1115611886576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161187d90614268565b60405180910390fd5b61188f816129cd565b50565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600180546118cb906145f3565b80601f01602080910402602001604051908101604052809291908181526020018280546118f7906145f3565b80156119445780601f1061191957610100808354040283529160200191611944565b820191906000526020600020905b81548152906001019060200180831161192757829003601f168201915b5050505050905090565b6119566122f3565b73ffffffffffffffffffffffffffffffffffffffff16611974611892565b73ffffffffffffffffffffffffffffffffffffffff16146119ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119c1906141e8565b60405180910390fd5b80601160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600f5481565b611a1c6122f3565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611a8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a8190614088565b60405180910390fd5b8060056000611a976122f3565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611b446122f3565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611b899190613ec4565b60405180910390a35050565b611b9d6122f3565b73ffffffffffffffffffffffffffffffffffffffff16611bbb611892565b73ffffffffffffffffffffffffffffffffffffffff1614611c11576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c08906141e8565b60405180910390fd5b80600b8190555050565b600a60149054906101000a900460ff1681565b611c3f611c396122f3565b836124e8565b611c7e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c7590614288565b60405180910390fd5b611c8a84848484612b1e565b50505050565b600e5481565b60606012611ca383612b7a565b604051602001611cb4929190613daf565b6040516020818303038152906040529050919050565b600c5481565b611cd86122f3565b73ffffffffffffffffffffffffffffffffffffffff16611cf6611892565b73ffffffffffffffffffffffffffffffffffffffff1614611d4c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d43906141e8565b60405180910390fd5b600a60149054906101000a900460ff1615600a60146101000a81548160ff021916908315150217905550565b6000611d8460136124da565b905090565b6060604051806060016040528060278152602001614e9560279139905090565b600080600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508273ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1663c4552791866040518263ffffffff1660e01b8152600401611e219190613e1f565b60206040518083038186803b158015611e3957600080fd5b505afa158015611e4d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e7191906136ec565b73ffffffffffffffffffffffffffffffffffffffff161415611e97576001915050611ea5565b611ea18484612d27565b9150505b92915050565b600a60149054906101000a900460ff16611efa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ef1906140c8565b60405180910390fd5b3481601054611f099190614474565b1115611f4a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f4190614268565b60405180910390fd5b611f53816129cd565b50565b611f5e6122f3565b73ffffffffffffffffffffffffffffffffffffffff16611f7c611892565b73ffffffffffffffffffffffffffffffffffffffff1614611fd2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fc9906141e8565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612042576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161203990613fe8565b60405180910390fd5b61204b816128d3565b50565b6120566122f3565b73ffffffffffffffffffffffffffffffffffffffff16612074611892565b73ffffffffffffffffffffffffffffffffffffffff16146120ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120c1906141e8565b60405180910390fd5b81600d8190555080600e8190555060013073ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561212057600080fd5b505afa158015612134573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612158919061377f565b61216291906143ed565b600f819055505050565b60003073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141561221657600080368080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509050600080369050905073ffffffffffffffffffffffffffffffffffffffff81830151169250505061221a565b3390505b90565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b60006122fd61216c565b905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661237583611262565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008073ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff16141561242c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161242390614108565b60405180910390fd5b600161243f61243a87612dbb565b612e23565b8386866040516000815260200160405260405161245f9493929190613f3f565b6020604051602081039080840390855afa158015612481573d6000803e3d6000fd5b5050506020604051035173ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff1614905095945050505050565b600081836124d291906143ed565b905092915050565b600081600001549050919050565b60006124f382612287565b612532576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612529906140a8565b60405180910390fd5b600061253d83611262565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806125ac57508373ffffffffffffffffffffffffffffffffffffffff1661259484610b77565b73ffffffffffffffffffffffffffffffffffffffff16145b806125bd57506125bc8185611da9565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166125e682611262565b73ffffffffffffffffffffffffffffffffffffffff161461263c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161263390614208565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156126ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126a390614068565b60405180910390fd5b6126b7838383612e5c565b6126c2600082612302565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461271291906144ce565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461276991906143ed565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b60008273ffffffffffffffffffffffffffffffffffffffff168260405161284890613e0a565b60006040518083038185875af1925050503d8060008114612885576040519150601f19603f3d011682016040523d82523d6000602084013e61288a565b606091505b50509050806128ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128c590614188565b60405180910390fd5b505050565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6001816000016000828254019250508190555050565b6129c9828260405180602001604052806000815250612e61565b5050565b600b54811115612a12576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a0990614048565b60405180910390fd5b600d5481612a2060136124da565b612a2a91906143ed565b1115612a6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a62906142c8565b60405180910390fd5b60005b81811015612b1a57612a806013612999565b612b07333073ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b158015612aca57600080fd5b505afa158015612ade573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b02919061377f565b6129af565b8080612b1290614656565b915050612a6e565b5050565b612b298484846125c6565b612b3584848484612ebc565b612b74576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b6b90613fc8565b60405180910390fd5b50505050565b60606000821415612bc2576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612d22565b600082905060005b60008214612bf4578080612bdd90614656565b915050600a82612bed9190614443565b9150612bca565b60008167ffffffffffffffff811115612c36577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612c685781602001600182028036833780820191505090505b5090505b60008514612d1b57600182612c8191906144ce565b9150600a85612c9091906146cd565b6030612c9c91906143ed565b60f81b818381518110612cd8577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612d149190614443565b9450612c6c565b8093505050505b919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6000604051806080016040528060438152602001614ebc604391398051906020012082600001518360200151846040015180519060200120604051602001612e069493929190613efa565b604051602081830303815290604052805190602001209050919050565b6000612e2d610ff0565b82604051602001612e3f929190613dd3565b604051602081830303815290604052805190602001209050919050565b505050565b612e6b8383613053565b612e786000848484612ebc565b612eb7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612eae90613fc8565b60405180910390fd5b505050565b6000612edd8473ffffffffffffffffffffffffffffffffffffffff16613221565b15613046578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612f066122f3565b8786866040518563ffffffff1660e01b8152600401612f289493929190613e78565b602060405180830381600087803b158015612f4257600080fd5b505af1925050508015612f7357506040513d601f19601f82011682018060405250810190612f7091906136c3565b60015b612ff6573d8060008114612fa3576040519150601f19603f3d011682016040523d82523d6000602084013e612fa8565b606091505b50600081511415612fee576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fe590613fc8565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061304b565b600190505b949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156130c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130ba906141a8565b60405180910390fd5b6130cc81612287565b1561310c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161310390614028565b60405180910390fd5b61311860008383612e5c565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461316891906143ed565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b828054613240906145f3565b90600052602060002090601f01602090048101928261326257600085556132a9565b82601f1061327b57805160ff19168380011785556132a9565b828001600101855582156132a9579182015b828111156132a857825182559160200191906001019061328d565b5b5090506132b691906132ba565b5090565b5b808211156132d35760008160009055506001016132bb565b5090565b60006132ea6132e584614328565b614303565b90508281526020810184848401111561330257600080fd5b61330d8482856145b1565b509392505050565b600061332861332384614359565b614303565b90508281526020810184848401111561334057600080fd5b61334b8482856145b1565b509392505050565b60008135905061336281614df3565b92915050565b60008135905061337781614e0a565b92915050565b60008135905061338c81614e21565b92915050565b6000813590506133a181614e38565b92915050565b6000815190506133b681614e38565b92915050565b600082601f8301126133cd57600080fd5b81356133dd8482602086016132d7565b91505092915050565b6000815190506133f581614e4f565b92915050565b600082601f83011261340c57600080fd5b813561341c848260208601613315565b91505092915050565b60008135905061343481614e66565b92915050565b60008151905061344981614e66565b92915050565b60008135905061345e81614e7d565b92915050565b60006020828403121561347657600080fd5b600061348484828501613353565b91505092915050565b600080604083850312156134a057600080fd5b60006134ae85828601613353565b92505060206134bf85828601613353565b9150509250929050565b6000806000606084860312156134de57600080fd5b60006134ec86828701613353565b93505060206134fd86828701613353565b925050604061350e86828701613425565b9150509250925092565b6000806000806080858703121561352e57600080fd5b600061353c87828801613353565b945050602061354d87828801613353565b935050604061355e87828801613425565b925050606085013567ffffffffffffffff81111561357b57600080fd5b613587878288016133bc565b91505092959194509250565b600080604083850312156135a657600080fd5b60006135b485828601613353565b92505060206135c585828601613368565b9150509250929050565b600080600080600060a086880312156135e757600080fd5b60006135f588828901613353565b955050602086013567ffffffffffffffff81111561361257600080fd5b61361e888289016133bc565b945050604061362f8882890161337d565b93505060606136408882890161337d565b92505060806136518882890161344f565b9150509295509295909350565b6000806040838503121561367157600080fd5b600061367f85828601613353565b925050602061369085828601613425565b9150509250929050565b6000602082840312156136ac57600080fd5b60006136ba84828501613392565b91505092915050565b6000602082840312156136d557600080fd5b60006136e3848285016133a7565b91505092915050565b6000602082840312156136fe57600080fd5b600061370c848285016133e6565b91505092915050565b60006020828403121561372757600080fd5b600082013567ffffffffffffffff81111561374157600080fd5b61374d848285016133fb565b91505092915050565b60006020828403121561376857600080fd5b600061377684828501613425565b91505092915050565b60006020828403121561379157600080fd5b600061379f8482850161343a565b91505092915050565b600080604083850312156137bb57600080fd5b60006137c985828601613425565b92505060206137da85828601613425565b9150509250929050565b6137ed81614514565b82525050565b6137fc81614502565b82525050565b61381361380e82614502565b61469f565b82525050565b61382281614526565b82525050565b61383181614532565b82525050565b61384861384382614532565b6146b1565b82525050565b60006138598261439f565b61386381856143b5565b93506138738185602086016145c0565b61387c816147ba565b840191505092915050565b60006138928261439f565b61389c81856143c6565b93506138ac8185602086016145c0565b80840191505092915050565b60006138c3826143aa565b6138cd81856143d1565b93506138dd8185602086016145c0565b6138e6816147ba565b840191505092915050565b60006138fc826143aa565b61390681856143e2565b93506139168185602086016145c0565b80840191505092915050565b6000815461392f816145f3565b61393981866143e2565b94506001821660008114613954576001811461396557613998565b60ff19831686528186019350613998565b61396e8561438a565b60005b8381101561399057815481890152600182019150602081019050613971565b838801955050505b50505092915050565b60006139ae6032836143d1565b91506139b9826147d8565b604082019050919050565b60006139d16026836143d1565b91506139dc82614827565b604082019050919050565b60006139f4601c836143d1565b91506139ff82614876565b602082019050919050565b6000613a17601c836143d1565b9150613a228261489f565b602082019050919050565b6000613a3a6002836143e2565b9150613a45826148c8565b600282019050919050565b6000613a5d6011836143d1565b9150613a68826148f1565b602082019050919050565b6000613a806024836143d1565b9150613a8b8261491a565b604082019050919050565b6000613aa36019836143d1565b9150613aae82614969565b602082019050919050565b6000613ac6602c836143d1565b9150613ad182614992565b604082019050919050565b6000613ae9600f836143d1565b9150613af4826149e1565b602082019050919050565b6000613b0c6010836143d1565b9150613b1782614a0a565b602082019050919050565b6000613b2f6025836143d1565b9150613b3a82614a33565b604082019050919050565b6000613b526038836143d1565b9150613b5d82614a82565b604082019050919050565b6000613b75602a836143d1565b9150613b8082614ad1565b604082019050919050565b6000613b986029836143d1565b9150613ba382614b20565b604082019050919050565b6000613bbb6009836143d1565b9150613bc682614b6f565b602082019050919050565b6000613bde6020836143d1565b9150613be982614b98565b602082019050919050565b6000613c01602c836143d1565b9150613c0c82614bc1565b604082019050919050565b6000613c246020836143d1565b9150613c2f82614c10565b602082019050919050565b6000613c476029836143d1565b9150613c5282614c39565b604082019050919050565b6000613c6a6021836143d1565b9150613c7582614c88565b604082019050919050565b6000613c8d6021836143d1565b9150613c9882614cd7565b604082019050919050565b6000613cb06011836143d1565b9150613cbb82614d26565b602082019050919050565b6000613cd36000836143c6565b9150613cde82614d4f565b600082019050919050565b6000613cf66031836143d1565b9150613d0182614d52565b604082019050919050565b6000613d196017836143d1565b9150613d2482614da1565b602082019050919050565b6000613d3c6012836143d1565b9150613d4782614dca565b602082019050919050565b613d5b8161459a565b82525050565b613d6a816145a4565b82525050565b6000613d7c8284613887565b915081905092915050565b6000613d938285613887565b9150613d9f8284613802565b6014820191508190509392505050565b6000613dbb8285613922565b9150613dc782846138f1565b91508190509392505050565b6000613dde82613a2d565b9150613dea8285613837565b602082019150613dfa8284613837565b6020820191508190509392505050565b6000613e1582613cc6565b9150819050919050565b6000602082019050613e3460008301846137f3565b92915050565b6000606082019050613e4f60008301866137f3565b613e5c60208301856137e4565b8181036040830152613e6e818461384e565b9050949350505050565b6000608082019050613e8d60008301876137f3565b613e9a60208301866137f3565b613ea76040830185613d52565b8181036060830152613eb9818461384e565b905095945050505050565b6000602082019050613ed96000830184613819565b92915050565b6000602082019050613ef46000830184613828565b92915050565b6000608082019050613f0f6000830187613828565b613f1c6020830186613d52565b613f2960408301856137f3565b613f366060830184613828565b95945050505050565b6000608082019050613f546000830187613828565b613f616020830186613d61565b613f6e6040830185613828565b613f7b6060830184613828565b95945050505050565b60006020820190508181036000830152613f9e818461384e565b905092915050565b60006020820190508181036000830152613fc081846138b8565b905092915050565b60006020820190508181036000830152613fe1816139a1565b9050919050565b60006020820190508181036000830152614001816139c4565b9050919050565b60006020820190508181036000830152614021816139e7565b9050919050565b6000602082019050818103600083015261404181613a0a565b9050919050565b6000602082019050818103600083015261406181613a50565b9050919050565b6000602082019050818103600083015261408181613a73565b9050919050565b600060208201905081810360008301526140a181613a96565b9050919050565b600060208201905081810360008301526140c181613ab9565b9050919050565b600060208201905081810360008301526140e181613adc565b9050919050565b6000602082019050818103600083015261410181613aff565b9050919050565b6000602082019050818103600083015261412181613b22565b9050919050565b6000602082019050818103600083015261414181613b45565b9050919050565b6000602082019050818103600083015261416181613b68565b9050919050565b6000602082019050818103600083015261418181613b8b565b9050919050565b600060208201905081810360008301526141a181613bae565b9050919050565b600060208201905081810360008301526141c181613bd1565b9050919050565b600060208201905081810360008301526141e181613bf4565b9050919050565b6000602082019050818103600083015261420181613c17565b9050919050565b6000602082019050818103600083015261422181613c3a565b9050919050565b6000602082019050818103600083015261424181613c5d565b9050919050565b6000602082019050818103600083015261426181613c80565b9050919050565b6000602082019050818103600083015261428181613ca3565b9050919050565b600060208201905081810360008301526142a181613ce9565b9050919050565b600060208201905081810360008301526142c181613d0c565b9050919050565b600060208201905081810360008301526142e181613d2f565b9050919050565b60006020820190506142fd6000830184613d52565b92915050565b600061430d61431e565b90506143198282614625565b919050565b6000604051905090565b600067ffffffffffffffff8211156143435761434261478b565b5b61434c826147ba565b9050602081019050919050565b600067ffffffffffffffff8211156143745761437361478b565b5b61437d826147ba565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b60006143f88261459a565b91506144038361459a565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614438576144376146fe565b5b828201905092915050565b600061444e8261459a565b91506144598361459a565b9250826144695761446861472d565b5b828204905092915050565b600061447f8261459a565b915061448a8361459a565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156144c3576144c26146fe565b5b828202905092915050565b60006144d98261459a565b91506144e48361459a565b9250828210156144f7576144f66146fe565b5b828203905092915050565b600061450d8261457a565b9050919050565b600061451f8261457a565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600061457382614502565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b838110156145de5780820151818401526020810190506145c3565b838111156145ed576000848401525b50505050565b6000600282049050600182168061460b57607f821691505b6020821081141561461f5761461e61475c565b5b50919050565b61462e826147ba565b810181811067ffffffffffffffff8211171561464d5761464c61478b565b5b80604052505050565b60006146618261459a565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614694576146936146fe565b5b600182019050919050565b60006146aa826146bb565b9050919050565b6000819050919050565b60006146c6826147cb565b9050919050565b60006146d88261459a565b91506146e38361459a565b9250826146f3576146f261472d565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f46756e6374696f6e2063616c6c206e6f74207375636365737366756c00000000600082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f1901000000000000000000000000000000000000000000000000000000000000600082015250565b7f4d6178206d696e74206578636565646564000000000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f53616c65206e6f74206163746976650000000000000000000000000000000000600082015250565b7f4d757374206265206120686f6c64657200000000000000000000000000000000600082015250565b7f4e61746976654d6574615472616e73616374696f6e3a20494e56414c49445f5360008201527f49474e4552000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f5478206661696c65640000000000000000000000000000000000000000000000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f5369676e657220616e64207369676e617475726520646f206e6f74206d61746360008201527f6800000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4574682076616c20696e636f7272656374000000000000000000000000000000600082015250565b50565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f486f6c646572732073616c65206e6f7420616374697665000000000000000000600082015250565b7f4d617820737570706c7920726561636865640000000000000000000000000000600082015250565b614dfc81614502565b8114614e0757600080fd5b50565b614e1381614526565b8114614e1e57600080fd5b50565b614e2a81614532565b8114614e3557600080fd5b50565b614e418161453c565b8114614e4c57600080fd5b50565b614e5881614568565b8114614e6357600080fd5b50565b614e6f8161459a565b8114614e7a57600080fd5b50565b614e86816145a4565b8114614e9157600080fd5b5056fe68747470733a2f2f7777772e70756e6b736465642e78797a2f6170692f636f6e74726163742f314d6574615472616e73616374696f6e2875696e74323536206e6f6e63652c616464726573732066726f6d2c62797465732066756e6374696f6e5369676e617475726529a264697066735822122079a79deda8ea962fd5e8f2b1dcda1d53b45a4ac245edcabac14684fd6ae043da64736f6c63430008020033454950373132446f6d61696e28737472696e67206e616d652c737472696e672076657273696f6e2c6164647265737320766572696679696e67436f6e74726163742c627974657333322073616c742968747470733a2f2f7777772e70756e6b736465642e78797a2f6170692f6d6574612f312f000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1000000000000000000000000000000000000000000000000000000000000000850756e6b73446564000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000850554e4b53444544000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106102725760003560e01c8063715018a61161014f578063b6c65d38116100c1578063e6a5931e1161007a578063e6a5931e14610902578063e8a3d4851461092d578063e985e9c514610958578063efd0cbf914610995578063f2fde38b146109b1578063fc784d49146109da57610272565b8063b6c65d3814610804578063b88d4fde1461082f578063c1fad42c14610858578063c87b56dd14610883578063d5abeb01146108c0578063e6019716146108eb57610272565b80638da5cb5b116101135780638da5cb5b1461070857806395d89b41146107335780639a3cac6a1461075e5780639c817be814610787578063a22cb465146107b2578063b455c5fe146107db57610272565b8063715018a61461066c57806373c8c883146106835780637de55fe1146106ac5780638269de67146106d55780638b60fe63146106ec57610272565b806323b872dd116101e85780633ccfd60b116101ac5780633ccfd60b1461055c57806342842e0e14610573578063478f20e71461059c5780636352211e146105c7578063674d13c81461060457806370a082311461062f57610272565b806323b872dd1461047757806326a74d8e146104a05780632d0335ab146104cb57806330176e13146105085780633408e4701461053157610272565b80630f7e59701161023a5780630f7e597014610375578063138a4e01146103a057806318160ddd146103cb5780631efba6c2146103f657806320379ee5146104215780632131c68c1461044c57610272565b806301ffc9a71461027757806306fdde03146102b4578063081812fc146102df578063095ea7b31461031c5780630c53c51c14610345575b600080fd5b34801561028357600080fd5b5061029e6004803603810190610299919061369a565b610a03565b6040516102ab9190613ec4565b60405180910390f35b3480156102c057600080fd5b506102c9610ae5565b6040516102d69190613fa6565b60405180910390f35b3480156102eb57600080fd5b5061030660048036038101906103019190613756565b610b77565b6040516103139190613e1f565b60405180910390f35b34801561032857600080fd5b50610343600480360381019061033e919061365e565b610bfc565b005b61035f600480360381019061035a91906135cf565b610d14565b60405161036c9190613f84565b60405180910390f35b34801561038157600080fd5b5061038a610f86565b6040516103979190613fa6565b60405180910390f35b3480156103ac57600080fd5b506103b5610fbf565b6040516103c291906142e8565b60405180910390f35b3480156103d757600080fd5b506103e0610fc5565b6040516103ed91906142e8565b60405180910390f35b34801561040257600080fd5b5061040b610fea565b60405161041891906142e8565b60405180910390f35b34801561042d57600080fd5b50610436610ff0565b6040516104439190613edf565b60405180910390f35b34801561045857600080fd5b50610461610ffa565b60405161046e9190613e1f565b60405180910390f35b34801561048357600080fd5b5061049e600480360381019061049991906134c9565b611020565b005b3480156104ac57600080fd5b506104b5611080565b6040516104c291906142e8565b60405180910390f35b3480156104d757600080fd5b506104f260048036038101906104ed9190613464565b611086565b6040516104ff91906142e8565b60405180910390f35b34801561051457600080fd5b5061052f600480360381019061052a9190613715565b6110cf565b005b34801561053d57600080fd5b50610546611165565b60405161055391906142e8565b60405180910390f35b34801561056857600080fd5b50610571611172565b005b34801561057f57600080fd5b5061059a600480360381019061059591906134c9565b61122f565b005b3480156105a857600080fd5b506105b161124f565b6040516105be9190613ec4565b60405180910390f35b3480156105d357600080fd5b506105ee60048036038101906105e99190613756565b611262565b6040516105fb9190613e1f565b60405180910390f35b34801561061057600080fd5b50610619611314565b60405161062691906142e8565b60405180910390f35b34801561063b57600080fd5b5061065660048036038101906106519190613464565b611325565b60405161066391906142e8565b60405180910390f35b34801561067857600080fd5b506106816113dd565b005b34801561068f57600080fd5b506106aa60048036038101906106a59190613756565b611465565b005b3480156106b857600080fd5b506106d360048036038101906106ce919061365e565b6114eb565b005b3480156106e157600080fd5b506106ea611674565b005b61070660048036038101906107019190613756565b61171c565b005b34801561071457600080fd5b5061071d611892565b60405161072a9190613e1f565b60405180910390f35b34801561073f57600080fd5b506107486118bc565b6040516107559190613fa6565b60405180910390f35b34801561076a57600080fd5b5061078560048036038101906107809190613464565b61194e565b005b34801561079357600080fd5b5061079c611a0e565b6040516107a991906142e8565b60405180910390f35b3480156107be57600080fd5b506107d960048036038101906107d49190613593565b611a14565b005b3480156107e757600080fd5b5061080260048036038101906107fd9190613756565b611b95565b005b34801561081057600080fd5b50610819611c1b565b6040516108269190613ec4565b60405180910390f35b34801561083b57600080fd5b5061085660048036038101906108519190613518565b611c2e565b005b34801561086457600080fd5b5061086d611c90565b60405161087a91906142e8565b60405180910390f35b34801561088f57600080fd5b506108aa60048036038101906108a59190613756565b611c96565b6040516108b79190613fa6565b60405180910390f35b3480156108cc57600080fd5b506108d5611cca565b6040516108e291906142e8565b60405180910390f35b3480156108f757600080fd5b50610900611cd0565b005b34801561090e57600080fd5b50610917611d78565b60405161092491906142e8565b60405180910390f35b34801561093957600080fd5b50610942611d89565b60405161094f9190613fa6565b60405180910390f35b34801561096457600080fd5b5061097f600480360381019061097a919061348d565b611da9565b60405161098c9190613ec4565b60405180910390f35b6109af60048036038101906109aa9190613756565b611eab565b005b3480156109bd57600080fd5b506109d860048036038101906109d39190613464565b611f56565b005b3480156109e657600080fd5b50610a0160048036038101906109fc91906137a8565b61204e565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610ace57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610ade5750610add8261221d565b5b9050919050565b606060008054610af4906145f3565b80601f0160208091040260200160405190810160405280929190818152602001828054610b20906145f3565b8015610b6d5780601f10610b4257610100808354040283529160200191610b6d565b820191906000526020600020905b815481529060010190602001808311610b5057829003601f168201915b5050505050905090565b6000610b8282612287565b610bc1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bb8906141c8565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610c0782611262565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c78576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c6f90614248565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c976122f3565b73ffffffffffffffffffffffffffffffffffffffff161480610cc65750610cc581610cc06122f3565b611da9565b5b610d05576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cfc90614128565b60405180910390fd5b610d0f8383612302565b505050565b606060006040518060600160405280600860008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205481526020018873ffffffffffffffffffffffffffffffffffffffff168152602001878152509050610d9787828787876123bb565b610dd6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dcd90614228565b60405180910390fd5b610e296001600860008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546124c490919063ffffffff16565b600860008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055507f5845892132946850460bff5a0083f71031bc5bf9aadcd40f1de79423eac9b10b873388604051610e9f93929190613e3a565b60405180910390a16000803073ffffffffffffffffffffffffffffffffffffffff16888a604051602001610ed4929190613d87565b604051602081830303815290604052604051610ef09190613d70565b6000604051808303816000865af19150503d8060008114610f2d576040519150601f19603f3d011682016040523d82523d6000602084013e610f32565b606091505b509150915081610f77576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f6e90614008565b60405180910390fd5b80935050505095945050505050565b6040518060400160405280600181526020017f310000000000000000000000000000000000000000000000000000000000000081525081565b600b5481565b6000610fd160146124da565b610fdb60136124da565b610fe591906143ed565b905090565b60105481565b6000600754905090565b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b61103161102b6122f3565b826124e8565b611070576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161106790614288565b60405180910390fd5b61107b8383836125c6565b505050565b600d5481565b6000600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6110d76122f3565b73ffffffffffffffffffffffffffffffffffffffff166110f5611892565b73ffffffffffffffffffffffffffffffffffffffff161461114b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611142906141e8565b60405180910390fd5b8060129080519060200190611161929190613234565b5050565b6000804690508091505090565b61117a6122f3565b73ffffffffffffffffffffffffffffffffffffffff16611198611892565b73ffffffffffffffffffffffffffffffffffffffff16146111ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111e5906141e8565b60405180910390fd5b60004790506000811161120057600080fd5b61122c601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682612822565b50565b61124a83838360405180602001604052806000815250611c2e565b505050565b600a60159054906101000a900460ff1681565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561130b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161130290614168565b60405180910390fd5b80915050919050565b600061132060146124da565b905090565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611396576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161138d90614148565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6113e56122f3565b73ffffffffffffffffffffffffffffffffffffffff16611403611892565b73ffffffffffffffffffffffffffffffffffffffff1614611459576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611450906141e8565b60405180910390fd5b61146360006128d3565b565b61146d6122f3565b73ffffffffffffffffffffffffffffffffffffffff1661148b611892565b73ffffffffffffffffffffffffffffffffffffffff16146114e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114d8906141e8565b60405180910390fd5b8060108190555050565b6114f36122f3565b73ffffffffffffffffffffffffffffffffffffffff16611511611892565b73ffffffffffffffffffffffffffffffffffffffff1614611567576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161155e906141e8565b60405180910390fd5b600e548161157560146124da565b61157f91906143ed565b11156115c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115b7906142c8565b60405180910390fd5b60005b8181101561166f576115d56014612999565b61165c833073ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561161f57600080fd5b505afa158015611633573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611657919061377f565b6129af565b808061166790614656565b9150506115c3565b505050565b61167c6122f3565b73ffffffffffffffffffffffffffffffffffffffff1661169a611892565b73ffffffffffffffffffffffffffffffffffffffff16146116f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116e7906141e8565b60405180910390fd5b600a60159054906101000a900460ff1615600a60156101000a81548160ff021916908315150217905550565b600a60159054906101000a900460ff1661176b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611762906142a8565b60405180910390fd5b60003073ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b81526004016117a69190613e1f565b60206040518083038186803b1580156117be57600080fd5b505afa1580156117d2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117f6919061377f565b11611836576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161182d906140e8565b60405180910390fd5b34816010546118459190614474565b1115611886576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161187d90614268565b60405180910390fd5b61188f816129cd565b50565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600180546118cb906145f3565b80601f01602080910402602001604051908101604052809291908181526020018280546118f7906145f3565b80156119445780601f1061191957610100808354040283529160200191611944565b820191906000526020600020905b81548152906001019060200180831161192757829003601f168201915b5050505050905090565b6119566122f3565b73ffffffffffffffffffffffffffffffffffffffff16611974611892565b73ffffffffffffffffffffffffffffffffffffffff16146119ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119c1906141e8565b60405180910390fd5b80601160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600f5481565b611a1c6122f3565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611a8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a8190614088565b60405180910390fd5b8060056000611a976122f3565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611b446122f3565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611b899190613ec4565b60405180910390a35050565b611b9d6122f3565b73ffffffffffffffffffffffffffffffffffffffff16611bbb611892565b73ffffffffffffffffffffffffffffffffffffffff1614611c11576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c08906141e8565b60405180910390fd5b80600b8190555050565b600a60149054906101000a900460ff1681565b611c3f611c396122f3565b836124e8565b611c7e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c7590614288565b60405180910390fd5b611c8a84848484612b1e565b50505050565b600e5481565b60606012611ca383612b7a565b604051602001611cb4929190613daf565b6040516020818303038152906040529050919050565b600c5481565b611cd86122f3565b73ffffffffffffffffffffffffffffffffffffffff16611cf6611892565b73ffffffffffffffffffffffffffffffffffffffff1614611d4c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d43906141e8565b60405180910390fd5b600a60149054906101000a900460ff1615600a60146101000a81548160ff021916908315150217905550565b6000611d8460136124da565b905090565b6060604051806060016040528060278152602001614e9560279139905090565b600080600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508273ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1663c4552791866040518263ffffffff1660e01b8152600401611e219190613e1f565b60206040518083038186803b158015611e3957600080fd5b505afa158015611e4d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e7191906136ec565b73ffffffffffffffffffffffffffffffffffffffff161415611e97576001915050611ea5565b611ea18484612d27565b9150505b92915050565b600a60149054906101000a900460ff16611efa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ef1906140c8565b60405180910390fd5b3481601054611f099190614474565b1115611f4a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f4190614268565b60405180910390fd5b611f53816129cd565b50565b611f5e6122f3565b73ffffffffffffffffffffffffffffffffffffffff16611f7c611892565b73ffffffffffffffffffffffffffffffffffffffff1614611fd2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fc9906141e8565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612042576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161203990613fe8565b60405180910390fd5b61204b816128d3565b50565b6120566122f3565b73ffffffffffffffffffffffffffffffffffffffff16612074611892565b73ffffffffffffffffffffffffffffffffffffffff16146120ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120c1906141e8565b60405180910390fd5b81600d8190555080600e8190555060013073ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561212057600080fd5b505afa158015612134573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612158919061377f565b61216291906143ed565b600f819055505050565b60003073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141561221657600080368080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509050600080369050905073ffffffffffffffffffffffffffffffffffffffff81830151169250505061221a565b3390505b90565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b60006122fd61216c565b905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661237583611262565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008073ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff16141561242c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161242390614108565b60405180910390fd5b600161243f61243a87612dbb565b612e23565b8386866040516000815260200160405260405161245f9493929190613f3f565b6020604051602081039080840390855afa158015612481573d6000803e3d6000fd5b5050506020604051035173ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff1614905095945050505050565b600081836124d291906143ed565b905092915050565b600081600001549050919050565b60006124f382612287565b612532576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612529906140a8565b60405180910390fd5b600061253d83611262565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806125ac57508373ffffffffffffffffffffffffffffffffffffffff1661259484610b77565b73ffffffffffffffffffffffffffffffffffffffff16145b806125bd57506125bc8185611da9565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166125e682611262565b73ffffffffffffffffffffffffffffffffffffffff161461263c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161263390614208565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156126ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126a390614068565b60405180910390fd5b6126b7838383612e5c565b6126c2600082612302565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461271291906144ce565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461276991906143ed565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b60008273ffffffffffffffffffffffffffffffffffffffff168260405161284890613e0a565b60006040518083038185875af1925050503d8060008114612885576040519150601f19603f3d011682016040523d82523d6000602084013e61288a565b606091505b50509050806128ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128c590614188565b60405180910390fd5b505050565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6001816000016000828254019250508190555050565b6129c9828260405180602001604052806000815250612e61565b5050565b600b54811115612a12576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a0990614048565b60405180910390fd5b600d5481612a2060136124da565b612a2a91906143ed565b1115612a6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a62906142c8565b60405180910390fd5b60005b81811015612b1a57612a806013612999565b612b07333073ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b158015612aca57600080fd5b505afa158015612ade573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b02919061377f565b6129af565b8080612b1290614656565b915050612a6e565b5050565b612b298484846125c6565b612b3584848484612ebc565b612b74576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b6b90613fc8565b60405180910390fd5b50505050565b60606000821415612bc2576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612d22565b600082905060005b60008214612bf4578080612bdd90614656565b915050600a82612bed9190614443565b9150612bca565b60008167ffffffffffffffff811115612c36577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612c685781602001600182028036833780820191505090505b5090505b60008514612d1b57600182612c8191906144ce565b9150600a85612c9091906146cd565b6030612c9c91906143ed565b60f81b818381518110612cd8577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612d149190614443565b9450612c6c565b8093505050505b919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6000604051806080016040528060438152602001614ebc604391398051906020012082600001518360200151846040015180519060200120604051602001612e069493929190613efa565b604051602081830303815290604052805190602001209050919050565b6000612e2d610ff0565b82604051602001612e3f929190613dd3565b604051602081830303815290604052805190602001209050919050565b505050565b612e6b8383613053565b612e786000848484612ebc565b612eb7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612eae90613fc8565b60405180910390fd5b505050565b6000612edd8473ffffffffffffffffffffffffffffffffffffffff16613221565b15613046578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612f066122f3565b8786866040518563ffffffff1660e01b8152600401612f289493929190613e78565b602060405180830381600087803b158015612f4257600080fd5b505af1925050508015612f7357506040513d601f19601f82011682018060405250810190612f7091906136c3565b60015b612ff6573d8060008114612fa3576040519150601f19603f3d011682016040523d82523d6000602084013e612fa8565b606091505b50600081511415612fee576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fe590613fc8565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061304b565b600190505b949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156130c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130ba906141a8565b60405180910390fd5b6130cc81612287565b1561310c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161310390614028565b60405180910390fd5b61311860008383612e5c565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461316891906143ed565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b828054613240906145f3565b90600052602060002090601f01602090048101928261326257600085556132a9565b82601f1061327b57805160ff19168380011785556132a9565b828001600101855582156132a9579182015b828111156132a857825182559160200191906001019061328d565b5b5090506132b691906132ba565b5090565b5b808211156132d35760008160009055506001016132bb565b5090565b60006132ea6132e584614328565b614303565b90508281526020810184848401111561330257600080fd5b61330d8482856145b1565b509392505050565b600061332861332384614359565b614303565b90508281526020810184848401111561334057600080fd5b61334b8482856145b1565b509392505050565b60008135905061336281614df3565b92915050565b60008135905061337781614e0a565b92915050565b60008135905061338c81614e21565b92915050565b6000813590506133a181614e38565b92915050565b6000815190506133b681614e38565b92915050565b600082601f8301126133cd57600080fd5b81356133dd8482602086016132d7565b91505092915050565b6000815190506133f581614e4f565b92915050565b600082601f83011261340c57600080fd5b813561341c848260208601613315565b91505092915050565b60008135905061343481614e66565b92915050565b60008151905061344981614e66565b92915050565b60008135905061345e81614e7d565b92915050565b60006020828403121561347657600080fd5b600061348484828501613353565b91505092915050565b600080604083850312156134a057600080fd5b60006134ae85828601613353565b92505060206134bf85828601613353565b9150509250929050565b6000806000606084860312156134de57600080fd5b60006134ec86828701613353565b93505060206134fd86828701613353565b925050604061350e86828701613425565b9150509250925092565b6000806000806080858703121561352e57600080fd5b600061353c87828801613353565b945050602061354d87828801613353565b935050604061355e87828801613425565b925050606085013567ffffffffffffffff81111561357b57600080fd5b613587878288016133bc565b91505092959194509250565b600080604083850312156135a657600080fd5b60006135b485828601613353565b92505060206135c585828601613368565b9150509250929050565b600080600080600060a086880312156135e757600080fd5b60006135f588828901613353565b955050602086013567ffffffffffffffff81111561361257600080fd5b61361e888289016133bc565b945050604061362f8882890161337d565b93505060606136408882890161337d565b92505060806136518882890161344f565b9150509295509295909350565b6000806040838503121561367157600080fd5b600061367f85828601613353565b925050602061369085828601613425565b9150509250929050565b6000602082840312156136ac57600080fd5b60006136ba84828501613392565b91505092915050565b6000602082840312156136d557600080fd5b60006136e3848285016133a7565b91505092915050565b6000602082840312156136fe57600080fd5b600061370c848285016133e6565b91505092915050565b60006020828403121561372757600080fd5b600082013567ffffffffffffffff81111561374157600080fd5b61374d848285016133fb565b91505092915050565b60006020828403121561376857600080fd5b600061377684828501613425565b91505092915050565b60006020828403121561379157600080fd5b600061379f8482850161343a565b91505092915050565b600080604083850312156137bb57600080fd5b60006137c985828601613425565b92505060206137da85828601613425565b9150509250929050565b6137ed81614514565b82525050565b6137fc81614502565b82525050565b61381361380e82614502565b61469f565b82525050565b61382281614526565b82525050565b61383181614532565b82525050565b61384861384382614532565b6146b1565b82525050565b60006138598261439f565b61386381856143b5565b93506138738185602086016145c0565b61387c816147ba565b840191505092915050565b60006138928261439f565b61389c81856143c6565b93506138ac8185602086016145c0565b80840191505092915050565b60006138c3826143aa565b6138cd81856143d1565b93506138dd8185602086016145c0565b6138e6816147ba565b840191505092915050565b60006138fc826143aa565b61390681856143e2565b93506139168185602086016145c0565b80840191505092915050565b6000815461392f816145f3565b61393981866143e2565b94506001821660008114613954576001811461396557613998565b60ff19831686528186019350613998565b61396e8561438a565b60005b8381101561399057815481890152600182019150602081019050613971565b838801955050505b50505092915050565b60006139ae6032836143d1565b91506139b9826147d8565b604082019050919050565b60006139d16026836143d1565b91506139dc82614827565b604082019050919050565b60006139f4601c836143d1565b91506139ff82614876565b602082019050919050565b6000613a17601c836143d1565b9150613a228261489f565b602082019050919050565b6000613a3a6002836143e2565b9150613a45826148c8565b600282019050919050565b6000613a5d6011836143d1565b9150613a68826148f1565b602082019050919050565b6000613a806024836143d1565b9150613a8b8261491a565b604082019050919050565b6000613aa36019836143d1565b9150613aae82614969565b602082019050919050565b6000613ac6602c836143d1565b9150613ad182614992565b604082019050919050565b6000613ae9600f836143d1565b9150613af4826149e1565b602082019050919050565b6000613b0c6010836143d1565b9150613b1782614a0a565b602082019050919050565b6000613b2f6025836143d1565b9150613b3a82614a33565b604082019050919050565b6000613b526038836143d1565b9150613b5d82614a82565b604082019050919050565b6000613b75602a836143d1565b9150613b8082614ad1565b604082019050919050565b6000613b986029836143d1565b9150613ba382614b20565b604082019050919050565b6000613bbb6009836143d1565b9150613bc682614b6f565b602082019050919050565b6000613bde6020836143d1565b9150613be982614b98565b602082019050919050565b6000613c01602c836143d1565b9150613c0c82614bc1565b604082019050919050565b6000613c246020836143d1565b9150613c2f82614c10565b602082019050919050565b6000613c476029836143d1565b9150613c5282614c39565b604082019050919050565b6000613c6a6021836143d1565b9150613c7582614c88565b604082019050919050565b6000613c8d6021836143d1565b9150613c9882614cd7565b604082019050919050565b6000613cb06011836143d1565b9150613cbb82614d26565b602082019050919050565b6000613cd36000836143c6565b9150613cde82614d4f565b600082019050919050565b6000613cf66031836143d1565b9150613d0182614d52565b604082019050919050565b6000613d196017836143d1565b9150613d2482614da1565b602082019050919050565b6000613d3c6012836143d1565b9150613d4782614dca565b602082019050919050565b613d5b8161459a565b82525050565b613d6a816145a4565b82525050565b6000613d7c8284613887565b915081905092915050565b6000613d938285613887565b9150613d9f8284613802565b6014820191508190509392505050565b6000613dbb8285613922565b9150613dc782846138f1565b91508190509392505050565b6000613dde82613a2d565b9150613dea8285613837565b602082019150613dfa8284613837565b6020820191508190509392505050565b6000613e1582613cc6565b9150819050919050565b6000602082019050613e3460008301846137f3565b92915050565b6000606082019050613e4f60008301866137f3565b613e5c60208301856137e4565b8181036040830152613e6e818461384e565b9050949350505050565b6000608082019050613e8d60008301876137f3565b613e9a60208301866137f3565b613ea76040830185613d52565b8181036060830152613eb9818461384e565b905095945050505050565b6000602082019050613ed96000830184613819565b92915050565b6000602082019050613ef46000830184613828565b92915050565b6000608082019050613f0f6000830187613828565b613f1c6020830186613d52565b613f2960408301856137f3565b613f366060830184613828565b95945050505050565b6000608082019050613f546000830187613828565b613f616020830186613d61565b613f6e6040830185613828565b613f7b6060830184613828565b95945050505050565b60006020820190508181036000830152613f9e818461384e565b905092915050565b60006020820190508181036000830152613fc081846138b8565b905092915050565b60006020820190508181036000830152613fe1816139a1565b9050919050565b60006020820190508181036000830152614001816139c4565b9050919050565b60006020820190508181036000830152614021816139e7565b9050919050565b6000602082019050818103600083015261404181613a0a565b9050919050565b6000602082019050818103600083015261406181613a50565b9050919050565b6000602082019050818103600083015261408181613a73565b9050919050565b600060208201905081810360008301526140a181613a96565b9050919050565b600060208201905081810360008301526140c181613ab9565b9050919050565b600060208201905081810360008301526140e181613adc565b9050919050565b6000602082019050818103600083015261410181613aff565b9050919050565b6000602082019050818103600083015261412181613b22565b9050919050565b6000602082019050818103600083015261414181613b45565b9050919050565b6000602082019050818103600083015261416181613b68565b9050919050565b6000602082019050818103600083015261418181613b8b565b9050919050565b600060208201905081810360008301526141a181613bae565b9050919050565b600060208201905081810360008301526141c181613bd1565b9050919050565b600060208201905081810360008301526141e181613bf4565b9050919050565b6000602082019050818103600083015261420181613c17565b9050919050565b6000602082019050818103600083015261422181613c3a565b9050919050565b6000602082019050818103600083015261424181613c5d565b9050919050565b6000602082019050818103600083015261426181613c80565b9050919050565b6000602082019050818103600083015261428181613ca3565b9050919050565b600060208201905081810360008301526142a181613ce9565b9050919050565b600060208201905081810360008301526142c181613d0c565b9050919050565b600060208201905081810360008301526142e181613d2f565b9050919050565b60006020820190506142fd6000830184613d52565b92915050565b600061430d61431e565b90506143198282614625565b919050565b6000604051905090565b600067ffffffffffffffff8211156143435761434261478b565b5b61434c826147ba565b9050602081019050919050565b600067ffffffffffffffff8211156143745761437361478b565b5b61437d826147ba565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b60006143f88261459a565b91506144038361459a565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614438576144376146fe565b5b828201905092915050565b600061444e8261459a565b91506144598361459a565b9250826144695761446861472d565b5b828204905092915050565b600061447f8261459a565b915061448a8361459a565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156144c3576144c26146fe565b5b828202905092915050565b60006144d98261459a565b91506144e48361459a565b9250828210156144f7576144f66146fe565b5b828203905092915050565b600061450d8261457a565b9050919050565b600061451f8261457a565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600061457382614502565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b838110156145de5780820151818401526020810190506145c3565b838111156145ed576000848401525b50505050565b6000600282049050600182168061460b57607f821691505b6020821081141561461f5761461e61475c565b5b50919050565b61462e826147ba565b810181811067ffffffffffffffff8211171561464d5761464c61478b565b5b80604052505050565b60006146618261459a565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614694576146936146fe565b5b600182019050919050565b60006146aa826146bb565b9050919050565b6000819050919050565b60006146c6826147cb565b9050919050565b60006146d88261459a565b91506146e38361459a565b9250826146f3576146f261472d565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f46756e6374696f6e2063616c6c206e6f74207375636365737366756c00000000600082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f1901000000000000000000000000000000000000000000000000000000000000600082015250565b7f4d6178206d696e74206578636565646564000000000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f53616c65206e6f74206163746976650000000000000000000000000000000000600082015250565b7f4d757374206265206120686f6c64657200000000000000000000000000000000600082015250565b7f4e61746976654d6574615472616e73616374696f6e3a20494e56414c49445f5360008201527f49474e4552000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f5478206661696c65640000000000000000000000000000000000000000000000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f5369676e657220616e64207369676e617475726520646f206e6f74206d61746360008201527f6800000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4574682076616c20696e636f7272656374000000000000000000000000000000600082015250565b50565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f486f6c646572732073616c65206e6f7420616374697665000000000000000000600082015250565b7f4d617820737570706c7920726561636865640000000000000000000000000000600082015250565b614dfc81614502565b8114614e0757600080fd5b50565b614e1381614526565b8114614e1e57600080fd5b50565b614e2a81614532565b8114614e3557600080fd5b50565b614e418161453c565b8114614e4c57600080fd5b50565b614e5881614568565b8114614e6357600080fd5b50565b614e6f8161459a565b8114614e7a57600080fd5b50565b614e86816145a4565b8114614e9157600080fd5b5056fe68747470733a2f2f7777772e70756e6b736465642e78797a2f6170692f636f6e74726163742f314d6574615472616e73616374696f6e2875696e74323536206e6f6e63652c616464726573732066726f6d2c62797465732066756e6374696f6e5369676e617475726529a264697066735822122079a79deda8ea962fd5e8f2b1dcda1d53b45a4ac245edcabac14684fd6ae043da64736f6c63430008020033

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

000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1000000000000000000000000000000000000000000000000000000000000000850756e6b73446564000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000850554e4b53444544000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _name (string): PunksDed
Arg [1] : _symbol (string): PUNKSDED
Arg [2] : _proxyRegistryAddress (address): 0xa5409ec958C83C3f309868babACA7c86DCB077c1

-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000008
Arg [4] : 50756e6b73446564000000000000000000000000000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000008
Arg [6] : 50554e4b53444544000000000000000000000000000000000000000000000000


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.