ETH Price: $2,104.05 (-16.22%)

Contract

0xE3eA5022c464ABEa993bFEF950FbA0cA2B20bD80
 

Overview

ETH Balance

0.01292 ETH

Eth Value

$27.18 (@ $2,104.05/ETH)

More Info

Private Name Tags

TokenTracker

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Set Approval For...191825762024-02-08 9:32:59389 days ago1707384779IN
WP: Wanted Punks Token
0 ETH0.0023334250.65281128
Set Approval For...153558542022-08-17 1:38:31929 days ago1660700311IN
WP: Wanted Punks Token
0 ETH0.0006883614.94266189
Set Approval For...147900382022-05-17 3:00:371021 days ago1652756437IN
WP: Wanted Punks Token
0 ETH0.0016988436.81055914
Set Approval For...146461112022-04-24 7:17:091044 days ago1650784629IN
WP: Wanted Punks Token
0 ETH0.0011364124.62389718
Set Approval For...144448952022-03-23 21:03:271075 days ago1648069407IN
WP: Wanted Punks Token
0 ETH0.0019321541.86596091
Set Approval For...144011422022-03-17 1:48:021082 days ago1647481682IN
WP: Wanted Punks Token
0 ETH0.0018535840.16359113
Set Approval For...143554272022-03-09 22:55:331089 days ago1646866533IN
WP: Wanted Punks Token
0 ETH0.0005834524.07103913
Set Approval For...142449082022-02-20 19:48:421107 days ago1645386522IN
WP: Wanted Punks Token
0 ETH0.0013985757.6992241
Set Approval For...139933352022-01-12 22:08:191145 days ago1642025299IN
WP: Wanted Punks Token
0 ETH0.00958647207.71970648
Set Approval For...139837222022-01-11 10:44:451147 days ago1641897885IN
WP: Wanted Punks Token
0 ETH0.00715292154.98961368
Set Approval For...139800502022-01-10 21:05:261147 days ago1641848726IN
WP: Wanted Punks Token
0 ETH0.01275901276.46241473
Set Approval For...134900292021-10-26 1:17:191224 days ago1635211039IN
WP: Wanted Punks Token
0 ETH0.0042378691.82617677
Set Approval For...134650992021-10-22 3:35:361228 days ago1634873736IN
WP: Wanted Punks Token
0 ETH0.0025794455.89134344
Set Approval For...134148152021-10-14 6:45:141236 days ago1634193914IN
WP: Wanted Punks Token
0 ETH0.0045880199.41307138
Set Approval For...134060392021-10-12 21:20:271237 days ago1634073627IN
WP: Wanted Punks Token
0 ETH0.0037717181.72557447
Set Approval For...133734272021-10-07 18:36:261243 days ago1633631786IN
WP: Wanted Punks Token
0 ETH0.00705242152.85169913
Set Approval For...133127782021-09-28 6:47:351252 days ago1632811655IN
WP: Wanted Punks Token
0 ETH0.0043414694.07089593
Set Approval For...133066042021-09-27 7:51:391253 days ago1632729099IN
WP: Wanted Punks Token
0 ETH0.003615578.34086614
Set Approval For...132969652021-09-25 19:53:181255 days ago1632599598IN
WP: Wanted Punks Token
0 ETH0.0022398748.53352204
Transfer From132958582021-09-25 15:44:391255 days ago1632584679IN
WP: Wanted Punks Token
0 ETH0.0037564245.0761926
Set Approval For...132790282021-09-23 1:19:421257 days ago1632359982IN
WP: Wanted Punks Token
0 ETH0.002793860.53623578
Set Approval For...132788102021-09-23 0:31:331257 days ago1632357093IN
WP: Wanted Punks Token
0 ETH0.00482027104.44570217
Transfer Ownersh...132784912021-09-22 23:13:361257 days ago1632352416IN
WP: Wanted Punks Token
0 ETH0.0026809993.85249873
Transfer From132770902021-09-22 18:21:471258 days ago1632334907IN
WP: Wanted Punks Token
0 ETH0.01010262117.27188509
Set Approval For...132698872021-09-21 15:18:151259 days ago1632237495IN
WP: Wanted Punks Token
0 ETH0.0091773198.85381829
View all transactions

Latest 9 internal transactions

Advanced mode:
Parent Transaction Hash Block
From
To
132618952021-09-20 9:43:361260 days ago1632131016
WP: Wanted Punks Token
0.079 ETH
132610312021-09-20 6:37:291260 days ago1632119849
WP: Wanted Punks Token
0.25 ETH
132567892021-09-19 14:55:211261 days ago1632063321
WP: Wanted Punks Token
0.6 ETH
132528012021-09-18 23:57:261261 days ago1632009446
WP: Wanted Punks Token
0.77 ETH
132428022021-09-17 10:58:001263 days ago1631876280
WP: Wanted Punks Token
1 ETH
132287102021-09-15 6:38:551265 days ago1631687935
WP: Wanted Punks Token
0.36728 ETH
132223482021-09-14 6:59:251266 days ago1631602765
WP: Wanted Punks Token
1.6408 ETH
132220412021-09-14 5:54:281266 days ago1631598868
WP: Wanted Punks Token
1.5 ETH
132198942021-09-13 21:48:441266 days ago1631569724
WP: Wanted Punks Token
0.5 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
WantedPunks

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 15000 runs

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

pragma solidity 0.8.7;

import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";

contract WantedPunks is Ownable, ERC721Enumerable {
    using Strings for uint256;

    event TokenURISet(string indexed tokenUri);
    event TokenURILocked(string indexed tokenUri);
    event CollectionRevealed();
    event PresaleClosed();
    event MultisigProposed(address multisig);
    event MultisigUpdated(address multisig);
    event Pause();
    event Resume();

    uint256 public constant PRE_PRICE = 39000000000000000;
    uint256 public constant PRICE = 60000000000000000;
    uint256 public constant MAX_WP_SUPPLY = 950;
    uint256 public constant PRESALE_SUPPLY = 200;
    uint256 public constant WP_PACK_LIMIT = 5;
    uint256 private constant SPECIAL_RESERVE = 50;
    uint256 private constant SPLIT = 40;
    address private constant DEV_WALLET =
        0xebA9F4d9D11A3bD96C5dE4bcE02da592a2676473;
    string private constant PLACEHOLDER_SUFFIX = "placeholder.json";
    string private constant METADATA_INFIX = "/metadata/";
    string public constant provenance =
        "7488c72e8faa6dbfaa4188434b1d50dd9602843031cc9bbbf402052088dbdc65";

    // current metadata base prefix
    string private _baseTokenUri;
    uint256 private tipAccumulator;
    uint256 private earningsAccumulator;
    uint256 private specialReserveCounter;
    address public multisig;
    address private proposedMultisig;
    bool public tokenURILocked;
    bool public collectionRevealed;
    bool public presaleOn;
    bool public saleOn;
    bool public paused;

    constructor(address multisig_) ERC721("WP", "Wanted Punks") {
        require(multisig_ != address(0), "ZeroMultisigAddress");
        multisig = multisig_;
        presaleOn = true;
    }

    function finalizePresale() public onlyOwner {
        _finalizePresale();
    }

    function setTokenURI(string memory newUri)
        public
        onlyOwner
        whenUriNotLocked
    {
        _baseTokenUri = newUri;
        emit TokenURISet(_baseTokenUri);
    }

    function lockTokenURI() public onlyOwner {
        if (!tokenURILocked) {
            tokenURILocked = true;
            emit TokenURILocked(_baseTokenUri);
        }
    }

    function presaleMint(uint256 punks) public payable {
        _enforceNotPaused();
        _enforcePresale();
        uint256 ts = totalSupply();
        uint256 sl = MAX_WP_SUPPLY;
        require(punks > 0, "ZeroWantedPunksRequested");
        // TODO: uncomment after testing
        // if (punks > WP_PACK_LIMIT) revert BuyLimitExceeded(WP_PACK_LIMIT);
        require(PRE_PRICE * punks == msg.value, "InvalidETHAmount");
        require(ts + punks <= sl, "MintingExceedsMaxSupply");

        for (uint256 i = 0; i < punks; i++) {
            _safeMint(msg.sender, ts + i);
        }

        uint256 tip = (msg.value * SPLIT) / 100;
        tipAccumulator += tip;
        earningsAccumulator += (msg.value - tip);

        if (totalSupply() == sl) {
            _finalizePresale();
        }
    }

    /// @dev mint up to `punks` tokens
    function mint(uint256 punks) public payable {
        _enforceNotPaused();
        _enforceSale();
        uint256 ts = totalSupply();
        uint256 sl = MAX_WP_SUPPLY;
        require(ts < MAX_WP_SUPPLY, "WantedPunksSoldOut");
        require(punks > 0, "ZeroWantedPunksRequested");
        require(punks <= WP_PACK_LIMIT, "BuyLimitExceeded");
        require(PRICE * punks == msg.value, "InvalidETHAmount");
        require(ts + punks <= sl, "MintingExceedsMaxSupply");

        for (uint256 i = 0; i < punks; i++) {
            _safeMint(msg.sender, ts + i);
        }

        uint256 tip = (msg.value * SPLIT) / 100;
        tipAccumulator += tip;
        earningsAccumulator += (msg.value - tip);

        if (totalSupply() == sl) {
            _reveal();
        }
    }

    function memorialize(uint256 punks) public onlyOwner {
        require(
            specialReserveCounter + punks <= SPECIAL_RESERVE,
            "MintingExceedsSpecialReserve"
        );

        require(punks > 0, "ZeroWantedPunksRequested");

        for (uint256 i = 0; i < punks; i++) {
            _safeMint(multisig, MAX_WP_SUPPLY + specialReserveCounter + i);
        }

        specialReserveCounter += punks;
    }

    function tipdraw(uint256 amount) public onlyDev {
        require(amount > 0, "ZeroWEIRequested");
        require(amount <= tipAccumulator, "AmountExceedsEarnings");

        tipAccumulator -= amount;

        (bool success, ) = payable(msg.sender).call{value: amount}("");

        require(success, "ETHTransferFailed");
    }

    function withdraw(uint256 amount) public onlyOwner {
        require(amount > 0, "ZeroWEIRequested");
        require(amount <= earningsAccumulator, "AmountExceedsEarnings");

        earningsAccumulator -= amount;

        (bool success, ) = payable(msg.sender).call{value: amount}("");

        require(success, "ETHTransferFailed");
    }

    /**
     * @dev Returns placeholder for a minted token prior to reveal time,
     * the regular tokenURI otherise.
     *
     * @param tokenId Identity of an existing (minted) WP NFT.
     */
    function tokenURI(uint256 tokenId)
        public
        view
        virtual
        override
        returns (string memory result)
    {
        require(_exists(tokenId), "UnknownTokenId");

        result = collectionRevealed ? regularURI(tokenId) : placeholderURI();
    }

    function earnings() public view returns (uint256 bal) {
        require(
            (msg.sender == owner()) || (msg.sender == DEV_WALLET),
            "StrangerDetected"
        );

        bal = (msg.sender == DEV_WALLET) ? tipAccumulator : earningsAccumulator;
    }

    function reveal() public onlyOwner {
        _reveal();
    }

    function proposeMultisigUpdate(address proposal) public onlyDev {
        require(proposal != address(0), "ZeroProposalAddress");
        proposedMultisig = proposal;
        emit MultisigProposed(proposedMultisig);
    }

    function approveMultisigUpdate(address confirmation) public onlyOwner {
        require(confirmation != address(0), "ZeroConfirmationAddress");
        require(confirmation == proposedMultisig, "ConfirmationMismatch");
        multisig = proposedMultisig;
        delete proposedMultisig;
        emit MultisigUpdated(multisig);
    }

    function toggle() public onlyOwner {
        paused = !paused;
        if (paused) {
            emit Pause();
        } else {
            emit Resume();
        }
    }

    //
    // BASEMENT
    //
    function _pause() internal {
        paused = true;
        emit Pause();
    }

    function _enforceNotPaused() internal view {
        require(!paused, "OnPause");
    }

    modifier onlyDev() {
        require(msg.sender == DEV_WALLET, "StrangerDetected");

        _;
    }

    modifier whenUriNotLocked() {
        require(!tokenURILocked, "TokenURILockedErr");

        _;
    }

    function _enforcePresale() internal view {
        require(presaleOn, "PresaleNotOn");
    }

    function _enforceSale() internal view {
        require(saleOn, "SaleNotOn");
    }

    function placeholderURI() internal view returns (string memory) {
        return
            string(
                abi.encodePacked(
                    _baseTokenUri,
                    METADATA_INFIX,
                    PLACEHOLDER_SUFFIX
                )
            );
    }

    function regularURI(uint256 tokenId) internal view returns (string memory) {
        return
            string(
                abi.encodePacked(
                    _baseTokenUri,
                    METADATA_INFIX,
                    tokenId.toString(),
                    ".json"
                )
            );
    }

    function _reveal() internal {
        if (!collectionRevealed) {
            collectionRevealed = true;
            emit CollectionRevealed();
        }
    }

    function _finalizePresale() internal {
        if (presaleOn) {
            _pause();
            presaleOn = false;
            saleOn = true;
            emit PresaleClosed();
        }
    }
}

File 2 of 13 : ERC721Enumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../ERC721.sol";
import "./IERC721Enumerable.sol";

/**
 * @dev This implements an optional extension of {ERC721} defined in the EIP that adds
 * enumerability of all the token ids in the contract as well as all token ids owned by each
 * account.
 */
abstract contract ERC721Enumerable is ERC721, IERC721Enumerable {
    // Mapping from owner to list of owned token IDs
    mapping(address => mapping(uint256 => uint256)) private _ownedTokens;

    // Mapping from token ID to index of the owner tokens list
    mapping(uint256 => uint256) private _ownedTokensIndex;

    // Array with all token ids, used for enumeration
    uint256[] private _allTokens;

    // Mapping from token id to position in the allTokens array
    mapping(uint256 => uint256) private _allTokensIndex;

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

    /**
     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds");
        return _ownedTokens[owner][index];
    }

    /**
     * @dev See {IERC721Enumerable-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        return _allTokens.length;
    }

    /**
     * @dev See {IERC721Enumerable-tokenByIndex}.
     */
    function tokenByIndex(uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds");
        return _allTokens[index];
    }

    /**
     * @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` cannot be the zero address.
     * - `to` cannot be the zero address.
     *
     * 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 override {
        super._beforeTokenTransfer(from, to, tokenId);

        if (from == address(0)) {
            _addTokenToAllTokensEnumeration(tokenId);
        } else if (from != to) {
            _removeTokenFromOwnerEnumeration(from, tokenId);
        }
        if (to == address(0)) {
            _removeTokenFromAllTokensEnumeration(tokenId);
        } else if (to != from) {
            _addTokenToOwnerEnumeration(to, tokenId);
        }
    }

    /**
     * @dev Private function to add a token to this extension's ownership-tracking data structures.
     * @param to address representing the new owner of the given token ID
     * @param tokenId uint256 ID of the token to be added to the tokens list of the given address
     */
    function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private {
        uint256 length = ERC721.balanceOf(to);
        _ownedTokens[to][length] = tokenId;
        _ownedTokensIndex[tokenId] = length;
    }

    /**
     * @dev Private function to add a token to this extension's token tracking data structures.
     * @param tokenId uint256 ID of the token to be added to the tokens list
     */
    function _addTokenToAllTokensEnumeration(uint256 tokenId) private {
        _allTokensIndex[tokenId] = _allTokens.length;
        _allTokens.push(tokenId);
    }

    /**
     * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that
     * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for
     * gas optimizations e.g. when performing a transfer operation (avoiding double writes).
     * This has O(1) time complexity, but alters the order of the _ownedTokens array.
     * @param from address representing the previous owner of the given token ID
     * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address
     */
    function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private {
        // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = ERC721.balanceOf(from) - 1;
        uint256 tokenIndex = _ownedTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary
        if (tokenIndex != lastTokenIndex) {
            uint256 lastTokenId = _ownedTokens[from][lastTokenIndex];

            _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
            _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index
        }

        // This also deletes the contents at the last position of the array
        delete _ownedTokensIndex[tokenId];
        delete _ownedTokens[from][lastTokenIndex];
    }

    /**
     * @dev Private function to remove a token from this extension's token tracking data structures.
     * This has O(1) time complexity, but alters the order of the _allTokens array.
     * @param tokenId uint256 ID of the token to be removed from the tokens list
     */
    function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private {
        // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = _allTokens.length - 1;
        uint256 tokenIndex = _allTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so
        // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding
        // an 'if' statement (like in _removeTokenFromOwnerEnumeration)
        uint256 lastTokenId = _allTokens[lastTokenIndex];

        _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
        _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index

        // This also deletes the contents at the last position of the array
        delete _allTokensIndex[tokenId];
        _allTokens.pop();
    }
}

File 3 of 13 : 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 4 of 13 : 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 5 of 13 : 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 6 of 13 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Enumerable is IERC721 {
    /**
     * @dev Returns the total amount of tokens stored by the contract.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns a token ID owned by `owner` at a given `index` of its token list.
     * Use along with {balanceOf} to enumerate all of ``owner``'s tokens.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId);

    /**
     * @dev Returns a token ID at a given `index` of all the tokens stored by the contract.
     * Use along with {totalSupply} to enumerate all tokens.
     */
    function tokenByIndex(uint256 index) external view returns (uint256);
}

File 7 of 13 : 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 8 of 13 : 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 9 of 13 : 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 10 of 13 : 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 11 of 13 : 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 12 of 13 : 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 13 of 13 : 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);
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 15000
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  },
  "metadata": {
    "useLiteralContent": true
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"address","name":"multisig_","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":[],"name":"CollectionRevealed","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"multisig","type":"address"}],"name":"MultisigProposed","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"multisig","type":"address"}],"name":"MultisigUpdated","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":[],"name":"Pause","type":"event"},{"anonymous":false,"inputs":[],"name":"PresaleClosed","type":"event"},{"anonymous":false,"inputs":[],"name":"Resume","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"string","name":"tokenUri","type":"string"}],"name":"TokenURILocked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"string","name":"tokenUri","type":"string"}],"name":"TokenURISet","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":"MAX_WP_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRESALE_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRE_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WP_PACK_LIMIT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"confirmation","type":"address"}],"name":"approveMultisigUpdate","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":"collectionRevealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"earnings","outputs":[{"internalType":"uint256","name":"bal","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"finalizePresale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lockTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"punks","type":"uint256"}],"name":"memorialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"punks","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"multisig","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","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":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"punks","type":"uint256"}],"name":"presaleMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"presaleOn","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"proposal","type":"address"}],"name":"proposeMultisigUpdate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"provenance","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reveal","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":"saleOn","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":"newUri","type":"string"}],"name":"setTokenURI","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":"amount","type":"uint256"}],"name":"tipdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"toggle","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"result","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenURILocked","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b506040516200404a3803806200404a83398101604081905262000034916200024b565b60405180604001604052806002815260200161057560f41b8152506040518060400160405280600c81526020016b57616e7465642050756e6b7360a01b8152506200008e620000886200015160201b60201c565b62000155565b8151620000a3906001906020850190620001a5565b508051620000b9906002906020840190620001a5565b5050506001600160a01b038116620001175760405162461bcd60e51b815260206004820152601360248201527f5a65726f4d756c74697369674164647265737300000000000000000000000000604482015260640160405180910390fd5b600f80546001600160a01b039092166001600160a01b03199092169190911790556010805460ff60b01b1916600160b01b179055620002ba565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b828054620001b3906200027d565b90600052602060002090601f016020900481019282620001d7576000855562000222565b82601f10620001f257805160ff191683800117855562000222565b8280016001018555821562000222579182015b828111156200022257825182559160200191906001019062000205565b506200023092915062000234565b5090565b5b8082111562000230576000815560010162000235565b6000602082840312156200025e57600080fd5b81516001600160a01b03811681146200027657600080fd5b9392505050565b600181811c908216806200029257607f821691505b60208210811415620002b457634e487b7160e01b600052602260045260246000fd5b50919050565b613d8080620002ca6000396000f3fe6080604052600436106102e75760003560e01c806370a0823111610184578063a0a6e940116100d6578063c87b56dd1161008a578063e985e9c511610064578063e985e9c51461082d578063f2fde38b14610883578063f8f55bf1146108a357600080fd5b8063c87b56dd146107da578063c9b298f1146107fa578063e0df5b6f1461080d57600080fd5b8063a475b5dd116100bb578063a475b5dd14610773578063ac998f4514610788578063b88d4fde146107ba57600080fd5b8063a0a6e9401461073e578063a22cb4651461075357600080fd5b80638d859f3e1161013857806395d643a81161011257806395d643a81461070157806395d89b4114610716578063a0712d681461072b57600080fd5b80638d859f3e1461069b5780638da5cb5b146106b6578063926a371b146106e157600080fd5b806373138e4f1161016957806373138e4f1461061e578063773ef1cf146106335780637c234fb51461066857600080fd5b806370a08231146105e9578063715018a61461060957600080fd5b80632f745c591161023d5780635194a1d2116101f15780635e5a9e30116101cb5780635e5a9e301461059e5780636352211e146105b35780637028836b146105d357600080fd5b80635194a1d21461052d578063556fedd21461054d5780635c975abb1461056857600080fd5b806342842e0e1161022257806342842e0e146104c05780634783c35b146104e05780634f6ccce71461050d57600080fd5b80632f745c591461048b57806340a3d246146104ab57600080fd5b80630f7309e81161029f5780631f2885f9116102795780631f2885f91461042b57806323b872dd1461044b5780632e1a7d4d1461046b57600080fd5b80630f7309e8146103cd57806318160ddd146103e25780631ad874b4146103f757600080fd5b8063081812fc116102d0578063081812fc14610343578063095ea7b3146103885780630f093803146103aa57600080fd5b806301ffc9a7146102ec57806306fdde0314610321575b600080fd5b3480156102f857600080fd5b5061030c6103073660046137eb565b6108c3565b60405190151581526020015b60405180910390f35b34801561032d57600080fd5b5061033661091f565b6040516103189190613a91565b34801561034f57600080fd5b5061036361035e36600461386e565b6109b1565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610318565b34801561039457600080fd5b506103a86103a33660046137c1565b610a76565b005b3480156103b657600080fd5b506103bf600581565b604051908152602001610318565b3480156103d957600080fd5b50610336610bcf565b3480156103ee57600080fd5b506009546103bf565b34801561040357600080fd5b5060105461030c90760100000000000000000000000000000000000000000000900460ff1681565b34801561043757600080fd5b506103a8610446366004613678565b610beb565b34801561045757600080fd5b506103a86104663660046136cd565b610d2b565b34801561047757600080fd5b506103a861048636600461386e565b610db2565b34801561049757600080fd5b506103bf6104a63660046137c1565b610f6e565b3480156104b757600080fd5b506103a8611023565b3480156104cc57600080fd5b506103a86104db3660046136cd565b61113d565b3480156104ec57600080fd5b50600f546103639073ffffffffffffffffffffffffffffffffffffffff1681565b34801561051957600080fd5b506103bf61052836600461386e565b611158565b34801561053957600080fd5b506103a861054836600461386e565b6111fc565b34801561055957600080fd5b506103bf668a8e4b1a3d800081565b34801561057457600080fd5b5060105461030c907801000000000000000000000000000000000000000000000000900460ff1681565b3480156105aa57600080fd5b506103a8611387565b3480156105bf57600080fd5b506103636105ce36600461386e565b611490565b3480156105df57600080fd5b506103bf6103b681565b3480156105f557600080fd5b506103bf610604366004613678565b611528565b34801561061557600080fd5b506103a86115dc565b34801561062a57600080fd5b506103bf60c881565b34801561063f57600080fd5b5060105461030c9077010000000000000000000000000000000000000000000000900460ff1681565b34801561067457600080fd5b5060105461030c907501000000000000000000000000000000000000000000900460ff1681565b3480156106a757600080fd5b506103bf66d529ae9e86000081565b3480156106c257600080fd5b5060005473ffffffffffffffffffffffffffffffffffffffff16610363565b3480156106ed57600080fd5b506103a86106fc366004613678565b61164d565b34801561070d57600080fd5b506103bf6117ff565b34801561072257600080fd5b506103366118ae565b6103a861073936600461386e565b6118bd565b34801561074a57600080fd5b506103a8611b1c565b34801561075f57600080fd5b506103a861076e366004613785565b611b8b565b34801561077f57600080fd5b506103a8611c88565b34801561079457600080fd5b5060105461030c9074010000000000000000000000000000000000000000900460ff1681565b3480156107c657600080fd5b506103a86107d5366004613709565b611cf7565b3480156107e657600080fd5b506103366107f536600461386e565b611d7f565b6103a861080836600461386e565b611e2c565b34801561081957600080fd5b506103a8610828366004613825565b611fe2565b34801561083957600080fd5b5061030c61084836600461369a565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260066020908152604080832093909416825291909152205460ff1690565b34801561088f57600080fd5b506103a861089e366004613678565b61210a565b3480156108af57600080fd5b506103a86108be36600461386e565b612206565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f780e9d6300000000000000000000000000000000000000000000000000000000148061091957506109198261231d565b92915050565b60606001805461092e90613b50565b80601f016020809104026020016040519081016040528092919081815260200182805461095a90613b50565b80156109a75780601f1061097c576101008083540402835291602001916109a7565b820191906000526020600020905b81548152906001019060200180831161098a57829003601f168201915b5050505050905090565b60008181526003602052604081205473ffffffffffffffffffffffffffffffffffffffff16610a4d5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e000000000000000000000000000000000000000060648201526084015b60405180910390fd5b5060009081526005602052604090205473ffffffffffffffffffffffffffffffffffffffff1690565b6000610a8182611490565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610b255760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f72000000000000000000000000000000000000000000000000000000000000006064820152608401610a44565b3373ffffffffffffffffffffffffffffffffffffffff82161480610b4e5750610b4e8133610848565b610bc05760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610a44565b610bca8383612400565b505050565b604051806060016040528060408152602001613d0b6040913981565b3373eba9f4d9d11a3bd96c5de4bce02da592a267647314610c4e5760405162461bcd60e51b815260206004820152601060248201527f537472616e6765724465746563746564000000000000000000000000000000006044820152606401610a44565b73ffffffffffffffffffffffffffffffffffffffff8116610cb15760405162461bcd60e51b815260206004820152601360248201527f5a65726f50726f706f73616c41646472657373000000000000000000000000006044820152606401610a44565b601080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff83169081179091556040519081527f1d566c79c6cd80099cdb8432e611412aeb9ac029a2a03e9fe1979edb1e8e6571906020015b60405180910390a150565b610d3533826124a0565b610da75760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610a44565b610bca8383836125f6565b60005473ffffffffffffffffffffffffffffffffffffffff163314610e195760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a44565b60008111610e695760405162461bcd60e51b815260206004820152601060248201527f5a65726f574549526571756573746564000000000000000000000000000000006044820152606401610a44565b600d54811115610ebb5760405162461bcd60e51b815260206004820152601560248201527f416d6f756e74457863656564734561726e696e677300000000000000000000006044820152606401610a44565b80600d6000828254610ecd9190613b0d565b9091555050604051600090339083908381818185875af1925050503d8060008114610f14576040519150601f19603f3d011682016040523d82523d6000602084013e610f19565b606091505b5050905080610f6a5760405162461bcd60e51b815260206004820152601160248201527f4554485472616e736665724661696c65640000000000000000000000000000006044820152606401610a44565b5050565b6000610f7983611528565b8210610fed5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201527f74206f6620626f756e64730000000000000000000000000000000000000000006064820152608401610a44565b5073ffffffffffffffffffffffffffffffffffffffff919091166000908152600760209081526040808320938352929052205490565b60005473ffffffffffffffffffffffffffffffffffffffff16331461108a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a44565b6010805460ff780100000000000000000000000000000000000000000000000080830482161581027fffffffffffffff00ffffffffffffffffffffffffffffffffffffffffffffffff909316929092179283905591041615611111576040517f6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff62590600090a1565b6040517f490d6d11e278f168be9be39e46297f72ea877136d5bccad9cf4993e63a29568f90600090a15b565b610bca83838360405180602001604052806000815250611cf7565b600061116360095490565b82106111d75760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201527f7574206f6620626f756e647300000000000000000000000000000000000000006064820152608401610a44565b600982815481106111ea576111ea613c7e565b90600052602060002001549050919050565b60005473ffffffffffffffffffffffffffffffffffffffff1633146112635760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a44565b603281600e546112739190613aa4565b11156112c15760405162461bcd60e51b815260206004820152601c60248201527f4d696e74696e67457863656564735370656369616c52657365727665000000006044820152606401610a44565b600081116113115760405162461bcd60e51b815260206004820152601860248201527f5a65726f57616e74656450756e6b7352657175657374656400000000000000006044820152606401610a44565b60005b8181101561136c57600f54600e5461135a9173ffffffffffffffffffffffffffffffffffffffff1690839061134b906103b6613aa4565b6113559190613aa4565b612834565b8061136481613ba4565b915050611314565b5080600e600082825461137f9190613aa4565b909155505050565b60005473ffffffffffffffffffffffffffffffffffffffff1633146113ee5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a44565b60105474010000000000000000000000000000000000000000900460ff1661113b57601080547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff167401000000000000000000000000000000000000000017905560405161145e90600b906139a2565b604051908190038120907f294bf3adcdbb3a8fc69e8a091f06fdbe7c3d016a658b80f5ec578c6ffc179ad390600090a2565b60008181526003602052604081205473ffffffffffffffffffffffffffffffffffffffff16806109195760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e00000000000000000000000000000000000000000000006064820152608401610a44565b600073ffffffffffffffffffffffffffffffffffffffff82166115b35760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f2061646472657373000000000000000000000000000000000000000000006064820152608401610a44565b5073ffffffffffffffffffffffffffffffffffffffff1660009081526004602052604090205490565b60005473ffffffffffffffffffffffffffffffffffffffff1633146116435760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a44565b61113b600061284e565b60005473ffffffffffffffffffffffffffffffffffffffff1633146116b45760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a44565b73ffffffffffffffffffffffffffffffffffffffff81166117175760405162461bcd60e51b815260206004820152601760248201527f5a65726f436f6e6669726d6174696f6e416464726573730000000000000000006044820152606401610a44565b60105473ffffffffffffffffffffffffffffffffffffffff8281169116146117815760405162461bcd60e51b815260206004820152601460248201527f436f6e6669726d6174696f6e4d69736d617463680000000000000000000000006044820152606401610a44565b60108054600f805473ffffffffffffffffffffffffffffffffffffffff83167fffffffffffffffffffffffff000000000000000000000000000000000000000091821681179092559091169091556040519081527f6d74d31357c421bb05a45b4becf09f03737979c1150bb0054704d1b4f31bb82a90602001610d20565b6000805473ffffffffffffffffffffffffffffffffffffffff1633148061183957503373eba9f4d9d11a3bd96c5de4bce02da592a2676473145b6118855760405162461bcd60e51b815260206004820152601060248201527f537472616e6765724465746563746564000000000000000000000000000000006044820152606401610a44565b3373eba9f4d9d11a3bd96c5de4bce02da592a2676473146118a75750600d5490565b50600c5490565b60606002805461092e90613b50565b6118c56128c3565b6118cd612932565b60006118d860095490565b90506103b680821061192c5760405162461bcd60e51b815260206004820152601260248201527f57616e74656450756e6b73536f6c644f757400000000000000000000000000006044820152606401610a44565b6000831161197c5760405162461bcd60e51b815260206004820152601860248201527f5a65726f57616e74656450756e6b7352657175657374656400000000000000006044820152606401610a44565b60058311156119cd5760405162461bcd60e51b815260206004820152601060248201527f4275794c696d69744578636565646564000000000000000000000000000000006044820152606401610a44565b346119df8466d529ae9e860000613ad0565b14611a2c5760405162461bcd60e51b815260206004820152601060248201527f496e76616c6964455448416d6f756e74000000000000000000000000000000006044820152606401610a44565b80611a378484613aa4565b1115611a855760405162461bcd60e51b815260206004820152601760248201527f4d696e74696e67457863656564734d6178537570706c790000000000000000006044820152606401610a44565b60005b83811015611ab057611a9e336113558386613aa4565b80611aa881613ba4565b915050611a88565b5060006064611ac0602834613ad0565b611aca9190613abc565b905080600c6000828254611ade9190613aa4565b90915550611aee90508134613b0d565b600d6000828254611aff9190613aa4565b9091555050600954821415611b1657611b1661299f565b50505050565b60005473ffffffffffffffffffffffffffffffffffffffff163314611b835760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a44565b61113b612a2d565b73ffffffffffffffffffffffffffffffffffffffff8216331415611bf15760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610a44565b33600081815260066020908152604080832073ffffffffffffffffffffffffffffffffffffffff87168085529083529281902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b60005473ffffffffffffffffffffffffffffffffffffffff163314611cef5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a44565b61113b61299f565b611d0133836124a0565b611d735760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610a44565b611b1684848484612ac7565b60008181526003602052604090205460609073ffffffffffffffffffffffffffffffffffffffff16611df35760405162461bcd60e51b815260206004820152600e60248201527f556e6b6e6f776e546f6b656e49640000000000000000000000000000000000006044820152606401610a44565b6010547501000000000000000000000000000000000000000000900460ff16611e2357611e1e612b50565b610919565b61091982612be6565b611e346128c3565b611e3c612c51565b6000611e4760095490565b90506103b682611e995760405162461bcd60e51b815260206004820152601860248201527f5a65726f57616e74656450756e6b7352657175657374656400000000000000006044820152606401610a44565b34611eab84668a8e4b1a3d8000613ad0565b14611ef85760405162461bcd60e51b815260206004820152601060248201527f496e76616c6964455448416d6f756e74000000000000000000000000000000006044820152606401610a44565b80611f038484613aa4565b1115611f515760405162461bcd60e51b815260206004820152601760248201527f4d696e74696e67457863656564734d6178537570706c790000000000000000006044820152606401610a44565b60005b83811015611f7c57611f6a336113558386613aa4565b80611f7481613ba4565b915050611f54565b5060006064611f8c602834613ad0565b611f969190613abc565b905080600c6000828254611faa9190613aa4565b90915550611fba90508134613b0d565b600d6000828254611fcb9190613aa4565b9091555050600954821415611b1657611b16612a2d565b60005473ffffffffffffffffffffffffffffffffffffffff1633146120495760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a44565b60105474010000000000000000000000000000000000000000900460ff16156120b45760405162461bcd60e51b815260206004820152601160248201527f546f6b656e5552494c6f636b65644572720000000000000000000000000000006044820152606401610a44565b80516120c790600b906020840190613522565b50600b6040516120d791906139a2565b604051908190038120907f5bb111c9b2ad41c6cc1754cdbee2cc303b7becb89d29d2d5f91165fcc0b0a49d90600090a250565b60005473ffffffffffffffffffffffffffffffffffffffff1633146121715760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a44565b73ffffffffffffffffffffffffffffffffffffffff81166121fa5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610a44565b6122038161284e565b50565b3373eba9f4d9d11a3bd96c5de4bce02da592a2676473146122695760405162461bcd60e51b815260206004820152601060248201527f537472616e6765724465746563746564000000000000000000000000000000006044820152606401610a44565b600081116122b95760405162461bcd60e51b815260206004820152601060248201527f5a65726f574549526571756573746564000000000000000000000000000000006044820152606401610a44565b600c5481111561230b5760405162461bcd60e51b815260206004820152601560248201527f416d6f756e74457863656564734561726e696e677300000000000000000000006044820152606401610a44565b80600c6000828254610ecd9190613b0d565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd0000000000000000000000000000000000000000000000000000000014806123b057507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b8061091957507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff00000000000000000000000000000000000000000000000000000000831614610919565b600081815260056020526040902080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff8416908117909155819061245a82611490565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008181526003602052604081205473ffffffffffffffffffffffffffffffffffffffff166125375760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e00000000000000000000000000000000000000006064820152608401610a44565b600061254283611490565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806125b157508373ffffffffffffffffffffffffffffffffffffffff16612599846109b1565b73ffffffffffffffffffffffffffffffffffffffff16145b806125ee575073ffffffffffffffffffffffffffffffffffffffff80821660009081526006602090815260408083209388168352929052205460ff165b949350505050565b8273ffffffffffffffffffffffffffffffffffffffff1661261682611490565b73ffffffffffffffffffffffffffffffffffffffff161461269f5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e00000000000000000000000000000000000000000000006064820152608401610a44565b73ffffffffffffffffffffffffffffffffffffffff82166127275760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610a44565b612732838383612cbd565b61273d600082612400565b73ffffffffffffffffffffffffffffffffffffffff83166000908152600460205260408120805460019290612773908490613b0d565b909155505073ffffffffffffffffffffffffffffffffffffffff821660009081526004602052604081208054600192906127ae908490613aa4565b909155505060008181526003602052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff86811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b610f6a828260405180602001604052806000815250612dc3565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6010547801000000000000000000000000000000000000000000000000900460ff161561113b5760405162461bcd60e51b815260206004820152600760248201527f4f6e5061757365000000000000000000000000000000000000000000000000006044820152606401610a44565b60105477010000000000000000000000000000000000000000000000900460ff1661113b5760405162461bcd60e51b815260206004820152600960248201527f53616c654e6f744f6e00000000000000000000000000000000000000000000006044820152606401610a44565b6010547501000000000000000000000000000000000000000000900460ff1661113b57601080547fffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffff1675010000000000000000000000000000000000000000001790556040517f4884a1e8d033385ee80fa3d769d1ba3c44e18291db0f726e436a01997d3df36a90600090a1565b601054760100000000000000000000000000000000000000000000900460ff161561113b57612a5a612e4c565b601080547fffffffffffffffff0000ffffffffffffffffffffffffffffffffffffffffffff16770100000000000000000000000000000000000000000000001790556040517f178883df77bd1da8fe0f452c81786ec2daed0fe6bf06928f621f32239ff9e3fc90600090a1565b612ad28484846125f6565b612ade84848484612eba565b611b165760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610a44565b6060600b6040518060400160405280600a81526020017f2f6d657461646174612f000000000000000000000000000000000000000000008152506040518060400160405280601081526020017f706c616365686f6c6465722e6a736f6e00000000000000000000000000000000815250604051602001612bd2939291906139ae565b604051602081830303815290604052905090565b6060600b6040518060400160405280600a81526020017f2f6d657461646174612f00000000000000000000000000000000000000000000815250612c298461309f565b604051602001612c3b939291906139e7565b6040516020818303038152906040529050919050565b601054760100000000000000000000000000000000000000000000900460ff1661113b5760405162461bcd60e51b815260206004820152600c60248201527f50726573616c654e6f744f6e00000000000000000000000000000000000000006044820152606401610a44565b73ffffffffffffffffffffffffffffffffffffffff8316612d2557612d2081600980546000838152600a60205260408120829055600182018355919091527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af0155565b612d62565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612d6257612d6283826131d1565b73ffffffffffffffffffffffffffffffffffffffff8216612d8657610bca81613288565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614610bca57610bca8282613337565b612dcd8383613388565b612dda6000848484612eba565b610bca5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610a44565b601080547fffffffffffffff00ffffffffffffffffffffffffffffffffffffffffffffffff1678010000000000000000000000000000000000000000000000001790556040517f6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff62590600090a1565b600073ffffffffffffffffffffffffffffffffffffffff84163b15613094576040517f150b7a0200000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff85169063150b7a0290612f31903390899088908890600401613a48565b602060405180830381600087803b158015612f4b57600080fd5b505af1925050508015612f99575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0168201909252612f9691810190613808565b60015b613049573d808015612fc7576040519150601f19603f3d011682016040523d82523d6000602084013e612fcc565b606091505b5080516130415760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610a44565b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a02000000000000000000000000000000000000000000000000000000001490506125ee565b506001949350505050565b6060816130df57505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b811561310957806130f381613ba4565b91506131029050600a83613abc565b91506130e3565b60008167ffffffffffffffff81111561312457613124613cad565b6040519080825280601f01601f19166020018201604052801561314e576020820181803683370190505b5090505b84156125ee57613163600183613b0d565b9150613170600a86613bdd565b61317b906030613aa4565b60f81b81838151811061319057613190613c7e565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506131ca600a86613abc565b9450613152565b600060016131de84611528565b6131e89190613b0d565b6000838152600860205260409020549091508082146132485773ffffffffffffffffffffffffffffffffffffffff841660009081526007602090815260408083208584528252808320548484528184208190558352600890915290208190555b50600091825260086020908152604080842084905573ffffffffffffffffffffffffffffffffffffffff9094168352600781528383209183525290812055565b60095460009061329a90600190613b0d565b6000838152600a6020526040812054600980549394509092849081106132c2576132c2613c7e565b9060005260206000200154905080600983815481106132e3576132e3613c7e565b6000918252602080832090910192909255828152600a9091526040808220849055858252812055600980548061331b5761331b613c4f565b6001900381819060005260206000200160009055905550505050565b600061334283611528565b73ffffffffffffffffffffffffffffffffffffffff9093166000908152600760209081526040808320868452825280832085905593825260089052919091209190915550565b73ffffffffffffffffffffffffffffffffffffffff82166133eb5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610a44565b60008181526003602052604090205473ffffffffffffffffffffffffffffffffffffffff161561345d5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610a44565b61346960008383612cbd565b73ffffffffffffffffffffffffffffffffffffffff8216600090815260046020526040812080546001929061349f908490613aa4565b909155505060008181526003602052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b82805461352e90613b50565b90600052602060002090601f0160209004810192826135505760008555613596565b82601f1061356957805160ff1916838001178555613596565b82800160010185558215613596579182015b8281111561359657825182559160200191906001019061357b565b506135a29291506135a6565b5090565b5b808211156135a257600081556001016135a7565b600067ffffffffffffffff808411156135d6576135d6613cad565b604051601f85017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f0116810190828211818310171561361c5761361c613cad565b8160405280935085815286868601111561363557600080fd5b858560208301376000602087830101525050509392505050565b803573ffffffffffffffffffffffffffffffffffffffff8116811461367357600080fd5b919050565b60006020828403121561368a57600080fd5b6136938261364f565b9392505050565b600080604083850312156136ad57600080fd5b6136b68361364f565b91506136c46020840161364f565b90509250929050565b6000806000606084860312156136e257600080fd5b6136eb8461364f565b92506136f96020850161364f565b9150604084013590509250925092565b6000806000806080858703121561371f57600080fd5b6137288561364f565b93506137366020860161364f565b925060408501359150606085013567ffffffffffffffff81111561375957600080fd5b8501601f8101871361376a57600080fd5b613779878235602084016135bb565b91505092959194509250565b6000806040838503121561379857600080fd5b6137a18361364f565b9150602083013580151581146137b657600080fd5b809150509250929050565b600080604083850312156137d457600080fd5b6137dd8361364f565b946020939093013593505050565b6000602082840312156137fd57600080fd5b813561369381613cdc565b60006020828403121561381a57600080fd5b815161369381613cdc565b60006020828403121561383757600080fd5b813567ffffffffffffffff81111561384e57600080fd5b8201601f8101841361385f57600080fd5b6125ee848235602084016135bb565b60006020828403121561388057600080fd5b5035919050565b6000815180845261389f816020860160208601613b24565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b8054600090600181811c90808316806138eb57607f831692505b6020808410821415613926577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b81801561393a576001811461396957613996565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00861689528489019650613996565b60008881526020902060005b8681101561398e5781548b820152908501908301613975565b505084890196505b50505050505092915050565b600061369382846138d1565b60006139ba82866138d1565b84516139ca818360208901613b24565b84519101906139dd818360208801613b24565b0195945050505050565b60006139f382866138d1565b8451613a03818360208901613b24565b8451910190613a16818360208801613b24565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000910190815260050195945050505050565b600073ffffffffffffffffffffffffffffffffffffffff808716835280861660208401525083604083015260806060830152613a876080830184613887565b9695505050505050565b6020815260006136936020830184613887565b60008219821115613ab757613ab7613bf1565b500190565b600082613acb57613acb613c20565b500490565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613b0857613b08613bf1565b500290565b600082821015613b1f57613b1f613bf1565b500390565b60005b83811015613b3f578181015183820152602001613b27565b83811115611b165750506000910152565b600181811c90821680613b6457607f821691505b60208210811415613b9e577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613bd657613bd6613bf1565b5060010190565b600082613bec57613bec613c20565b500690565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7fffffffff000000000000000000000000000000000000000000000000000000008116811461220357600080fdfe37343838633732653866616136646266616134313838343334623164353064643936303238343330333163633962626266343032303532303838646264633635a2646970667358221220c9b836d186102038d66f594d63338a8b65e6a18d7925143dc60fc36fe320bf3f64736f6c63430008070033000000000000000000000000b07d6705d0594d19943ca52cb3fc4dcf2d71be94

Deployed Bytecode

0x6080604052600436106102e75760003560e01c806370a0823111610184578063a0a6e940116100d6578063c87b56dd1161008a578063e985e9c511610064578063e985e9c51461082d578063f2fde38b14610883578063f8f55bf1146108a357600080fd5b8063c87b56dd146107da578063c9b298f1146107fa578063e0df5b6f1461080d57600080fd5b8063a475b5dd116100bb578063a475b5dd14610773578063ac998f4514610788578063b88d4fde146107ba57600080fd5b8063a0a6e9401461073e578063a22cb4651461075357600080fd5b80638d859f3e1161013857806395d643a81161011257806395d643a81461070157806395d89b4114610716578063a0712d681461072b57600080fd5b80638d859f3e1461069b5780638da5cb5b146106b6578063926a371b146106e157600080fd5b806373138e4f1161016957806373138e4f1461061e578063773ef1cf146106335780637c234fb51461066857600080fd5b806370a08231146105e9578063715018a61461060957600080fd5b80632f745c591161023d5780635194a1d2116101f15780635e5a9e30116101cb5780635e5a9e301461059e5780636352211e146105b35780637028836b146105d357600080fd5b80635194a1d21461052d578063556fedd21461054d5780635c975abb1461056857600080fd5b806342842e0e1161022257806342842e0e146104c05780634783c35b146104e05780634f6ccce71461050d57600080fd5b80632f745c591461048b57806340a3d246146104ab57600080fd5b80630f7309e81161029f5780631f2885f9116102795780631f2885f91461042b57806323b872dd1461044b5780632e1a7d4d1461046b57600080fd5b80630f7309e8146103cd57806318160ddd146103e25780631ad874b4146103f757600080fd5b8063081812fc116102d0578063081812fc14610343578063095ea7b3146103885780630f093803146103aa57600080fd5b806301ffc9a7146102ec57806306fdde0314610321575b600080fd5b3480156102f857600080fd5b5061030c6103073660046137eb565b6108c3565b60405190151581526020015b60405180910390f35b34801561032d57600080fd5b5061033661091f565b6040516103189190613a91565b34801561034f57600080fd5b5061036361035e36600461386e565b6109b1565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610318565b34801561039457600080fd5b506103a86103a33660046137c1565b610a76565b005b3480156103b657600080fd5b506103bf600581565b604051908152602001610318565b3480156103d957600080fd5b50610336610bcf565b3480156103ee57600080fd5b506009546103bf565b34801561040357600080fd5b5060105461030c90760100000000000000000000000000000000000000000000900460ff1681565b34801561043757600080fd5b506103a8610446366004613678565b610beb565b34801561045757600080fd5b506103a86104663660046136cd565b610d2b565b34801561047757600080fd5b506103a861048636600461386e565b610db2565b34801561049757600080fd5b506103bf6104a63660046137c1565b610f6e565b3480156104b757600080fd5b506103a8611023565b3480156104cc57600080fd5b506103a86104db3660046136cd565b61113d565b3480156104ec57600080fd5b50600f546103639073ffffffffffffffffffffffffffffffffffffffff1681565b34801561051957600080fd5b506103bf61052836600461386e565b611158565b34801561053957600080fd5b506103a861054836600461386e565b6111fc565b34801561055957600080fd5b506103bf668a8e4b1a3d800081565b34801561057457600080fd5b5060105461030c907801000000000000000000000000000000000000000000000000900460ff1681565b3480156105aa57600080fd5b506103a8611387565b3480156105bf57600080fd5b506103636105ce36600461386e565b611490565b3480156105df57600080fd5b506103bf6103b681565b3480156105f557600080fd5b506103bf610604366004613678565b611528565b34801561061557600080fd5b506103a86115dc565b34801561062a57600080fd5b506103bf60c881565b34801561063f57600080fd5b5060105461030c9077010000000000000000000000000000000000000000000000900460ff1681565b34801561067457600080fd5b5060105461030c907501000000000000000000000000000000000000000000900460ff1681565b3480156106a757600080fd5b506103bf66d529ae9e86000081565b3480156106c257600080fd5b5060005473ffffffffffffffffffffffffffffffffffffffff16610363565b3480156106ed57600080fd5b506103a86106fc366004613678565b61164d565b34801561070d57600080fd5b506103bf6117ff565b34801561072257600080fd5b506103366118ae565b6103a861073936600461386e565b6118bd565b34801561074a57600080fd5b506103a8611b1c565b34801561075f57600080fd5b506103a861076e366004613785565b611b8b565b34801561077f57600080fd5b506103a8611c88565b34801561079457600080fd5b5060105461030c9074010000000000000000000000000000000000000000900460ff1681565b3480156107c657600080fd5b506103a86107d5366004613709565b611cf7565b3480156107e657600080fd5b506103366107f536600461386e565b611d7f565b6103a861080836600461386e565b611e2c565b34801561081957600080fd5b506103a8610828366004613825565b611fe2565b34801561083957600080fd5b5061030c61084836600461369a565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260066020908152604080832093909416825291909152205460ff1690565b34801561088f57600080fd5b506103a861089e366004613678565b61210a565b3480156108af57600080fd5b506103a86108be36600461386e565b612206565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f780e9d6300000000000000000000000000000000000000000000000000000000148061091957506109198261231d565b92915050565b60606001805461092e90613b50565b80601f016020809104026020016040519081016040528092919081815260200182805461095a90613b50565b80156109a75780601f1061097c576101008083540402835291602001916109a7565b820191906000526020600020905b81548152906001019060200180831161098a57829003601f168201915b5050505050905090565b60008181526003602052604081205473ffffffffffffffffffffffffffffffffffffffff16610a4d5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e000000000000000000000000000000000000000060648201526084015b60405180910390fd5b5060009081526005602052604090205473ffffffffffffffffffffffffffffffffffffffff1690565b6000610a8182611490565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610b255760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f72000000000000000000000000000000000000000000000000000000000000006064820152608401610a44565b3373ffffffffffffffffffffffffffffffffffffffff82161480610b4e5750610b4e8133610848565b610bc05760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610a44565b610bca8383612400565b505050565b604051806060016040528060408152602001613d0b6040913981565b3373eba9f4d9d11a3bd96c5de4bce02da592a267647314610c4e5760405162461bcd60e51b815260206004820152601060248201527f537472616e6765724465746563746564000000000000000000000000000000006044820152606401610a44565b73ffffffffffffffffffffffffffffffffffffffff8116610cb15760405162461bcd60e51b815260206004820152601360248201527f5a65726f50726f706f73616c41646472657373000000000000000000000000006044820152606401610a44565b601080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff83169081179091556040519081527f1d566c79c6cd80099cdb8432e611412aeb9ac029a2a03e9fe1979edb1e8e6571906020015b60405180910390a150565b610d3533826124a0565b610da75760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610a44565b610bca8383836125f6565b60005473ffffffffffffffffffffffffffffffffffffffff163314610e195760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a44565b60008111610e695760405162461bcd60e51b815260206004820152601060248201527f5a65726f574549526571756573746564000000000000000000000000000000006044820152606401610a44565b600d54811115610ebb5760405162461bcd60e51b815260206004820152601560248201527f416d6f756e74457863656564734561726e696e677300000000000000000000006044820152606401610a44565b80600d6000828254610ecd9190613b0d565b9091555050604051600090339083908381818185875af1925050503d8060008114610f14576040519150601f19603f3d011682016040523d82523d6000602084013e610f19565b606091505b5050905080610f6a5760405162461bcd60e51b815260206004820152601160248201527f4554485472616e736665724661696c65640000000000000000000000000000006044820152606401610a44565b5050565b6000610f7983611528565b8210610fed5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201527f74206f6620626f756e64730000000000000000000000000000000000000000006064820152608401610a44565b5073ffffffffffffffffffffffffffffffffffffffff919091166000908152600760209081526040808320938352929052205490565b60005473ffffffffffffffffffffffffffffffffffffffff16331461108a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a44565b6010805460ff780100000000000000000000000000000000000000000000000080830482161581027fffffffffffffff00ffffffffffffffffffffffffffffffffffffffffffffffff909316929092179283905591041615611111576040517f6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff62590600090a1565b6040517f490d6d11e278f168be9be39e46297f72ea877136d5bccad9cf4993e63a29568f90600090a15b565b610bca83838360405180602001604052806000815250611cf7565b600061116360095490565b82106111d75760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201527f7574206f6620626f756e647300000000000000000000000000000000000000006064820152608401610a44565b600982815481106111ea576111ea613c7e565b90600052602060002001549050919050565b60005473ffffffffffffffffffffffffffffffffffffffff1633146112635760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a44565b603281600e546112739190613aa4565b11156112c15760405162461bcd60e51b815260206004820152601c60248201527f4d696e74696e67457863656564735370656369616c52657365727665000000006044820152606401610a44565b600081116113115760405162461bcd60e51b815260206004820152601860248201527f5a65726f57616e74656450756e6b7352657175657374656400000000000000006044820152606401610a44565b60005b8181101561136c57600f54600e5461135a9173ffffffffffffffffffffffffffffffffffffffff1690839061134b906103b6613aa4565b6113559190613aa4565b612834565b8061136481613ba4565b915050611314565b5080600e600082825461137f9190613aa4565b909155505050565b60005473ffffffffffffffffffffffffffffffffffffffff1633146113ee5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a44565b60105474010000000000000000000000000000000000000000900460ff1661113b57601080547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff167401000000000000000000000000000000000000000017905560405161145e90600b906139a2565b604051908190038120907f294bf3adcdbb3a8fc69e8a091f06fdbe7c3d016a658b80f5ec578c6ffc179ad390600090a2565b60008181526003602052604081205473ffffffffffffffffffffffffffffffffffffffff16806109195760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e00000000000000000000000000000000000000000000006064820152608401610a44565b600073ffffffffffffffffffffffffffffffffffffffff82166115b35760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f2061646472657373000000000000000000000000000000000000000000006064820152608401610a44565b5073ffffffffffffffffffffffffffffffffffffffff1660009081526004602052604090205490565b60005473ffffffffffffffffffffffffffffffffffffffff1633146116435760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a44565b61113b600061284e565b60005473ffffffffffffffffffffffffffffffffffffffff1633146116b45760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a44565b73ffffffffffffffffffffffffffffffffffffffff81166117175760405162461bcd60e51b815260206004820152601760248201527f5a65726f436f6e6669726d6174696f6e416464726573730000000000000000006044820152606401610a44565b60105473ffffffffffffffffffffffffffffffffffffffff8281169116146117815760405162461bcd60e51b815260206004820152601460248201527f436f6e6669726d6174696f6e4d69736d617463680000000000000000000000006044820152606401610a44565b60108054600f805473ffffffffffffffffffffffffffffffffffffffff83167fffffffffffffffffffffffff000000000000000000000000000000000000000091821681179092559091169091556040519081527f6d74d31357c421bb05a45b4becf09f03737979c1150bb0054704d1b4f31bb82a90602001610d20565b6000805473ffffffffffffffffffffffffffffffffffffffff1633148061183957503373eba9f4d9d11a3bd96c5de4bce02da592a2676473145b6118855760405162461bcd60e51b815260206004820152601060248201527f537472616e6765724465746563746564000000000000000000000000000000006044820152606401610a44565b3373eba9f4d9d11a3bd96c5de4bce02da592a2676473146118a75750600d5490565b50600c5490565b60606002805461092e90613b50565b6118c56128c3565b6118cd612932565b60006118d860095490565b90506103b680821061192c5760405162461bcd60e51b815260206004820152601260248201527f57616e74656450756e6b73536f6c644f757400000000000000000000000000006044820152606401610a44565b6000831161197c5760405162461bcd60e51b815260206004820152601860248201527f5a65726f57616e74656450756e6b7352657175657374656400000000000000006044820152606401610a44565b60058311156119cd5760405162461bcd60e51b815260206004820152601060248201527f4275794c696d69744578636565646564000000000000000000000000000000006044820152606401610a44565b346119df8466d529ae9e860000613ad0565b14611a2c5760405162461bcd60e51b815260206004820152601060248201527f496e76616c6964455448416d6f756e74000000000000000000000000000000006044820152606401610a44565b80611a378484613aa4565b1115611a855760405162461bcd60e51b815260206004820152601760248201527f4d696e74696e67457863656564734d6178537570706c790000000000000000006044820152606401610a44565b60005b83811015611ab057611a9e336113558386613aa4565b80611aa881613ba4565b915050611a88565b5060006064611ac0602834613ad0565b611aca9190613abc565b905080600c6000828254611ade9190613aa4565b90915550611aee90508134613b0d565b600d6000828254611aff9190613aa4565b9091555050600954821415611b1657611b1661299f565b50505050565b60005473ffffffffffffffffffffffffffffffffffffffff163314611b835760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a44565b61113b612a2d565b73ffffffffffffffffffffffffffffffffffffffff8216331415611bf15760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610a44565b33600081815260066020908152604080832073ffffffffffffffffffffffffffffffffffffffff87168085529083529281902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b60005473ffffffffffffffffffffffffffffffffffffffff163314611cef5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a44565b61113b61299f565b611d0133836124a0565b611d735760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610a44565b611b1684848484612ac7565b60008181526003602052604090205460609073ffffffffffffffffffffffffffffffffffffffff16611df35760405162461bcd60e51b815260206004820152600e60248201527f556e6b6e6f776e546f6b656e49640000000000000000000000000000000000006044820152606401610a44565b6010547501000000000000000000000000000000000000000000900460ff16611e2357611e1e612b50565b610919565b61091982612be6565b611e346128c3565b611e3c612c51565b6000611e4760095490565b90506103b682611e995760405162461bcd60e51b815260206004820152601860248201527f5a65726f57616e74656450756e6b7352657175657374656400000000000000006044820152606401610a44565b34611eab84668a8e4b1a3d8000613ad0565b14611ef85760405162461bcd60e51b815260206004820152601060248201527f496e76616c6964455448416d6f756e74000000000000000000000000000000006044820152606401610a44565b80611f038484613aa4565b1115611f515760405162461bcd60e51b815260206004820152601760248201527f4d696e74696e67457863656564734d6178537570706c790000000000000000006044820152606401610a44565b60005b83811015611f7c57611f6a336113558386613aa4565b80611f7481613ba4565b915050611f54565b5060006064611f8c602834613ad0565b611f969190613abc565b905080600c6000828254611faa9190613aa4565b90915550611fba90508134613b0d565b600d6000828254611fcb9190613aa4565b9091555050600954821415611b1657611b16612a2d565b60005473ffffffffffffffffffffffffffffffffffffffff1633146120495760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a44565b60105474010000000000000000000000000000000000000000900460ff16156120b45760405162461bcd60e51b815260206004820152601160248201527f546f6b656e5552494c6f636b65644572720000000000000000000000000000006044820152606401610a44565b80516120c790600b906020840190613522565b50600b6040516120d791906139a2565b604051908190038120907f5bb111c9b2ad41c6cc1754cdbee2cc303b7becb89d29d2d5f91165fcc0b0a49d90600090a250565b60005473ffffffffffffffffffffffffffffffffffffffff1633146121715760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a44565b73ffffffffffffffffffffffffffffffffffffffff81166121fa5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610a44565b6122038161284e565b50565b3373eba9f4d9d11a3bd96c5de4bce02da592a2676473146122695760405162461bcd60e51b815260206004820152601060248201527f537472616e6765724465746563746564000000000000000000000000000000006044820152606401610a44565b600081116122b95760405162461bcd60e51b815260206004820152601060248201527f5a65726f574549526571756573746564000000000000000000000000000000006044820152606401610a44565b600c5481111561230b5760405162461bcd60e51b815260206004820152601560248201527f416d6f756e74457863656564734561726e696e677300000000000000000000006044820152606401610a44565b80600c6000828254610ecd9190613b0d565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd0000000000000000000000000000000000000000000000000000000014806123b057507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b8061091957507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff00000000000000000000000000000000000000000000000000000000831614610919565b600081815260056020526040902080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff8416908117909155819061245a82611490565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008181526003602052604081205473ffffffffffffffffffffffffffffffffffffffff166125375760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e00000000000000000000000000000000000000006064820152608401610a44565b600061254283611490565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806125b157508373ffffffffffffffffffffffffffffffffffffffff16612599846109b1565b73ffffffffffffffffffffffffffffffffffffffff16145b806125ee575073ffffffffffffffffffffffffffffffffffffffff80821660009081526006602090815260408083209388168352929052205460ff165b949350505050565b8273ffffffffffffffffffffffffffffffffffffffff1661261682611490565b73ffffffffffffffffffffffffffffffffffffffff161461269f5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e00000000000000000000000000000000000000000000006064820152608401610a44565b73ffffffffffffffffffffffffffffffffffffffff82166127275760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610a44565b612732838383612cbd565b61273d600082612400565b73ffffffffffffffffffffffffffffffffffffffff83166000908152600460205260408120805460019290612773908490613b0d565b909155505073ffffffffffffffffffffffffffffffffffffffff821660009081526004602052604081208054600192906127ae908490613aa4565b909155505060008181526003602052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff86811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b610f6a828260405180602001604052806000815250612dc3565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6010547801000000000000000000000000000000000000000000000000900460ff161561113b5760405162461bcd60e51b815260206004820152600760248201527f4f6e5061757365000000000000000000000000000000000000000000000000006044820152606401610a44565b60105477010000000000000000000000000000000000000000000000900460ff1661113b5760405162461bcd60e51b815260206004820152600960248201527f53616c654e6f744f6e00000000000000000000000000000000000000000000006044820152606401610a44565b6010547501000000000000000000000000000000000000000000900460ff1661113b57601080547fffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffff1675010000000000000000000000000000000000000000001790556040517f4884a1e8d033385ee80fa3d769d1ba3c44e18291db0f726e436a01997d3df36a90600090a1565b601054760100000000000000000000000000000000000000000000900460ff161561113b57612a5a612e4c565b601080547fffffffffffffffff0000ffffffffffffffffffffffffffffffffffffffffffff16770100000000000000000000000000000000000000000000001790556040517f178883df77bd1da8fe0f452c81786ec2daed0fe6bf06928f621f32239ff9e3fc90600090a1565b612ad28484846125f6565b612ade84848484612eba565b611b165760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610a44565b6060600b6040518060400160405280600a81526020017f2f6d657461646174612f000000000000000000000000000000000000000000008152506040518060400160405280601081526020017f706c616365686f6c6465722e6a736f6e00000000000000000000000000000000815250604051602001612bd2939291906139ae565b604051602081830303815290604052905090565b6060600b6040518060400160405280600a81526020017f2f6d657461646174612f00000000000000000000000000000000000000000000815250612c298461309f565b604051602001612c3b939291906139e7565b6040516020818303038152906040529050919050565b601054760100000000000000000000000000000000000000000000900460ff1661113b5760405162461bcd60e51b815260206004820152600c60248201527f50726573616c654e6f744f6e00000000000000000000000000000000000000006044820152606401610a44565b73ffffffffffffffffffffffffffffffffffffffff8316612d2557612d2081600980546000838152600a60205260408120829055600182018355919091527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af0155565b612d62565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612d6257612d6283826131d1565b73ffffffffffffffffffffffffffffffffffffffff8216612d8657610bca81613288565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614610bca57610bca8282613337565b612dcd8383613388565b612dda6000848484612eba565b610bca5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610a44565b601080547fffffffffffffff00ffffffffffffffffffffffffffffffffffffffffffffffff1678010000000000000000000000000000000000000000000000001790556040517f6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff62590600090a1565b600073ffffffffffffffffffffffffffffffffffffffff84163b15613094576040517f150b7a0200000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff85169063150b7a0290612f31903390899088908890600401613a48565b602060405180830381600087803b158015612f4b57600080fd5b505af1925050508015612f99575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0168201909252612f9691810190613808565b60015b613049573d808015612fc7576040519150601f19603f3d011682016040523d82523d6000602084013e612fcc565b606091505b5080516130415760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610a44565b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a02000000000000000000000000000000000000000000000000000000001490506125ee565b506001949350505050565b6060816130df57505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b811561310957806130f381613ba4565b91506131029050600a83613abc565b91506130e3565b60008167ffffffffffffffff81111561312457613124613cad565b6040519080825280601f01601f19166020018201604052801561314e576020820181803683370190505b5090505b84156125ee57613163600183613b0d565b9150613170600a86613bdd565b61317b906030613aa4565b60f81b81838151811061319057613190613c7e565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506131ca600a86613abc565b9450613152565b600060016131de84611528565b6131e89190613b0d565b6000838152600860205260409020549091508082146132485773ffffffffffffffffffffffffffffffffffffffff841660009081526007602090815260408083208584528252808320548484528184208190558352600890915290208190555b50600091825260086020908152604080842084905573ffffffffffffffffffffffffffffffffffffffff9094168352600781528383209183525290812055565b60095460009061329a90600190613b0d565b6000838152600a6020526040812054600980549394509092849081106132c2576132c2613c7e565b9060005260206000200154905080600983815481106132e3576132e3613c7e565b6000918252602080832090910192909255828152600a9091526040808220849055858252812055600980548061331b5761331b613c4f565b6001900381819060005260206000200160009055905550505050565b600061334283611528565b73ffffffffffffffffffffffffffffffffffffffff9093166000908152600760209081526040808320868452825280832085905593825260089052919091209190915550565b73ffffffffffffffffffffffffffffffffffffffff82166133eb5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610a44565b60008181526003602052604090205473ffffffffffffffffffffffffffffffffffffffff161561345d5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610a44565b61346960008383612cbd565b73ffffffffffffffffffffffffffffffffffffffff8216600090815260046020526040812080546001929061349f908490613aa4565b909155505060008181526003602052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b82805461352e90613b50565b90600052602060002090601f0160209004810192826135505760008555613596565b82601f1061356957805160ff1916838001178555613596565b82800160010185558215613596579182015b8281111561359657825182559160200191906001019061357b565b506135a29291506135a6565b5090565b5b808211156135a257600081556001016135a7565b600067ffffffffffffffff808411156135d6576135d6613cad565b604051601f85017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f0116810190828211818310171561361c5761361c613cad565b8160405280935085815286868601111561363557600080fd5b858560208301376000602087830101525050509392505050565b803573ffffffffffffffffffffffffffffffffffffffff8116811461367357600080fd5b919050565b60006020828403121561368a57600080fd5b6136938261364f565b9392505050565b600080604083850312156136ad57600080fd5b6136b68361364f565b91506136c46020840161364f565b90509250929050565b6000806000606084860312156136e257600080fd5b6136eb8461364f565b92506136f96020850161364f565b9150604084013590509250925092565b6000806000806080858703121561371f57600080fd5b6137288561364f565b93506137366020860161364f565b925060408501359150606085013567ffffffffffffffff81111561375957600080fd5b8501601f8101871361376a57600080fd5b613779878235602084016135bb565b91505092959194509250565b6000806040838503121561379857600080fd5b6137a18361364f565b9150602083013580151581146137b657600080fd5b809150509250929050565b600080604083850312156137d457600080fd5b6137dd8361364f565b946020939093013593505050565b6000602082840312156137fd57600080fd5b813561369381613cdc565b60006020828403121561381a57600080fd5b815161369381613cdc565b60006020828403121561383757600080fd5b813567ffffffffffffffff81111561384e57600080fd5b8201601f8101841361385f57600080fd5b6125ee848235602084016135bb565b60006020828403121561388057600080fd5b5035919050565b6000815180845261389f816020860160208601613b24565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b8054600090600181811c90808316806138eb57607f831692505b6020808410821415613926577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b81801561393a576001811461396957613996565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00861689528489019650613996565b60008881526020902060005b8681101561398e5781548b820152908501908301613975565b505084890196505b50505050505092915050565b600061369382846138d1565b60006139ba82866138d1565b84516139ca818360208901613b24565b84519101906139dd818360208801613b24565b0195945050505050565b60006139f382866138d1565b8451613a03818360208901613b24565b8451910190613a16818360208801613b24565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000910190815260050195945050505050565b600073ffffffffffffffffffffffffffffffffffffffff808716835280861660208401525083604083015260806060830152613a876080830184613887565b9695505050505050565b6020815260006136936020830184613887565b60008219821115613ab757613ab7613bf1565b500190565b600082613acb57613acb613c20565b500490565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613b0857613b08613bf1565b500290565b600082821015613b1f57613b1f613bf1565b500390565b60005b83811015613b3f578181015183820152602001613b27565b83811115611b165750506000910152565b600181811c90821680613b6457607f821691505b60208210811415613b9e577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613bd657613bd6613bf1565b5060010190565b600082613bec57613bec613c20565b500690565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7fffffffff000000000000000000000000000000000000000000000000000000008116811461220357600080fdfe37343838633732653866616136646266616134313838343334623164353064643936303238343330333163633962626266343032303532303838646264633635a2646970667358221220c9b836d186102038d66f594d63338a8b65e6a18d7925143dc60fc36fe320bf3f64736f6c63430008070033

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

000000000000000000000000b07d6705d0594d19943ca52cb3fc4dcf2d71be94

-----Decoded View---------------
Arg [0] : multisig_ (address): 0xb07D6705D0594D19943ca52cb3fC4dCf2D71Be94

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000b07d6705d0594d19943ca52cb3fc4dcf2d71be94


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

OVERVIEW

10,000 captured.Only 1,000 remain.Here lie the identities of the most wanted.

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.