Contract 0xe785E82358879F061BC3dcAC6f0444462D4b5330 6

Token Contract 
 
 
Txn Hash
Method
Block
From
To
Value
0x983ed0edb2b5959738b7572d77ce6b475b9c33aee84237254707869da5fd72c9Set Approval For...165433182023-02-02 19:52:2317 mins ago0x4c721c77190a44d640ff55be2699fe80a18ae730 IN  World of Women: WOW Token0 Ether0.00152109 32.59751268
0xa9e562973b2b70ecef296ac3cfafb3a83e5089efad44b57aeba009f36c403a49Safe Transfer Fr...165433052023-02-02 19:49:4720 mins agoENS Name brian14.eth IN  World of Women: WOW Token0 Ether0.00314631 35.4426808
0xffcdfb3d20bcc0b888730d379685a674ace61c75f7b2b30d96464b7632bb950eSafe Transfer Fr...165430522023-02-02 18:58:351 hr 11 mins agoENS Name blokculture.eth IN  World of Women: WOW Token0 Ether0.00369917 41.67053539
0x62e7e0948bd513752bf1c10fc5fedf989cff9753e3f753e047b2c9c65de90a45Set Approval For...165429722023-02-02 18:42:111 hr 27 mins ago0x2f140b47cafe98644367677098f4ca8ed2397a12 IN  World of Women: WOW Token0 Ether0.0022164 47.47367884
0xa8f258a58a6945f01ce9714f81a8659433605aab9b54d83ab70f77949c74b822Set Approval For...165422752023-02-02 16:21:593 hrs 48 mins agoENS Name *💧💧💧💧💧💧.eth IN  World of Women: WOW Token0 Ether0.00187248 40.12774771
0x28bde381eda2722d76f9c3f0c1977a0cbce8b8812b817252cb241c00afeea554Set Approval For...165422752023-02-02 16:21:593 hrs 48 mins agoENS Name *💧💧💧💧💧💧.eth IN  World of Women: WOW Token0 Ether0.00187344 40.12774771
0x7edd1bf4074b676c6a4d2204d8ef122d55493216660cf9cce591111b857f0287Set Approval For...165420112023-02-02 15:28:594 hrs 41 mins ago0xcdc9556e3e285d97b810807eca1b49241c70f5ba IN  World of Women: WOW Token0 Ether0.00165488 35.44639794
0xd93db6e582a1ca1e126b530cc9f811e09482985fdac952af31ef96c5346a960bSet Approval For...165407512023-02-02 11:14:478 hrs 55 mins ago0x76417532893ab04a88fe4d7736d4c4acbdce33d9 IN  World of Women: WOW Token0 Ether0.00076923 16.48489405
0x67b2700bee39097afc9799baf3982738e59571bc4df756a74d554b97bc7dbe15Set Approval For...165397592023-02-02 7:54:3512 hrs 15 mins agoENS Name jenko.eth IN  World of Women: WOW Token0 Ether0.00077742 16.6304004
0xace76a0ba5e2d62c94e66c0f2178eef13048c24cc247f20a163d51dd57b48f60Set Approval For...165393842023-02-02 6:39:1113 hrs 30 mins ago0x774171beaeba8c2c3e5ddafecee60b28e51c8fbd IN  World of Women: WOW Token0 Ether0.00078677 16.86074172
0x23a517438cee86fee0aefe697cd33e0a6c5aa6248d5759013e77efa0f3e241beSafe Transfer Fr...165393732023-02-02 6:36:5913 hrs 33 mins ago0x4e2be31d1abf0a4b00a05710a186431a39db981b IN  World of Women: WOW Token0 Ether0.0014567716.5793165
0x963fc0ef3d4d056fe569e6d36163dd4c7e840130275360de77e10952534a0e50Set Approval For...165392452023-02-02 6:11:1113 hrs 58 mins ago0x8629396e39997886cf31fc77a2761c5a58247268 IN  World of Women: WOW Token0 Ether0.00081567 17.47111083
0xea209e8fd1ba73b7c746c1ebaa6045e4a5e33ebfd248078168bf5869959fd5a0Transfer From165392202023-02-02 6:06:1114 hrs 3 mins ago0xd2eaba7b267f7d9d94c17677b87e90e8a8c315d6 IN  World of Women: WOW Token0 Ether0.00145845 17.15168481
0x838080e4daef946a5174c9e906e88593589e08e678e57336ce42781a2ed1507dSet Approval For...165391892023-02-02 5:59:4714 hrs 10 mins ago0xcdc9556e3e285d97b810807eca1b49241c70f5ba IN  World of Women: WOW Token0 Ether0.00078921 16.91299111
0x1e36c1c16dd3a1c8c94a3a1eda19162c14e5f37c6ce87abbe49a5d472cc028d7Set Approval For...165389512023-02-02 5:11:3514 hrs 58 mins agoENS Name zamza.eth IN  World of Women: WOW Token0 Ether0.00045959 17.1652398
0x120fcab03793c19ec54282b0b16786c0f78539005d017989737a01f2d5558905Set Approval For...165389382023-02-02 5:08:5915 hrs 1 min agoENS Name zamza.eth IN  World of Women: WOW Token0 Ether0.00044806 18.08519669
0xc6a1038b03d029fe8920b306ab7b3b93106db9849567d0f56a8cc300a0a0a1e2Safe Transfer Fr...165386562023-02-02 4:12:1115 hrs 57 mins ago0x72b19d0c46bf8269056f9e04bea72fb3fa1ee0f9 IN  World of Women: WOW Token0 Ether0.00191944 19.34355174
0xfcfa0b3b747bbf5992c58e2424e29515510a49ff1e227e6fab91b8bc769be272Set Approval For...165385832023-02-02 3:57:3516 hrs 12 mins ago0x10c41a3e9d394a424d669364e833531c0ad44322 IN  World of Women: WOW Token0 Ether0.00082478 17.6663651
0x1c5138d132f9ea8b001fc52078dd9ef16d380bf2c31d6260800fa15d9ba2e182Set Approval For...165385742023-02-02 3:55:3516 hrs 14 mins ago0x10c41a3e9d394a424d669364e833531c0ad44322 IN  World of Women: WOW Token0 Ether0.00086385 18.51255705
0xc5c495730137aaa899829b74a916a23c1ca82d552929918f7f66145b1b7266eaSet Approval For...165382372023-02-02 2:47:4717 hrs 22 mins ago0xec6286fb381761a4637305926a7ac215a2a50be8 IN  World of Women: WOW Token0 Ether0.00091865 19.68705586
0x721fdc515c4934e9734d10dbc0bbd23123805f3487055a602cf340771c46aebdSet Approval For...165376352023-02-02 0:46:3519 hrs 23 mins ago0xf1121e556892cef6ce85beada00dedcc5dd16c8b IN  World of Women: WOW Token0 Ether0.00223023 47.76987755
0x8d2ab27c7e2d6825f261d32249bb48f197c26c0fad5b7e6ef0f259a88f452e8dSet Approval For...165369552023-02-01 22:29:3521 hrs 40 mins ago0x1f8b5b6220eee763c60ac064da06fcd63533fd00 IN  World of Women: WOW Token0 Ether0.00170004 36.36698234
0xec885b29b2e920bf7bfedeb46f837d7e99bfb267102c704b68e070ae46e3fd26Set Approval For...165369542023-02-01 22:29:2321 hrs 40 mins ago0x1f8b5b6220eee763c60ac064da06fcd63533fd00 IN  World of Women: WOW Token0 Ether0.00162833 34.83293565
0x5304b0e52cbac532ca202f3cd7468133424775ff160e3ce259db90490639707aSet Approval For...165369532023-02-01 22:29:1121 hrs 40 mins ago0x1f8b5b6220eee763c60ac064da06fcd63533fd00 IN  World of Women: WOW Token0 Ether0.00164121 35.12339075
0x8d453b5cea94176ae77a97f3f1f86511148ecd8bb2fa437a2d8a65087e3851d7Set Approval For...165369342023-02-01 22:25:2321 hrs 44 mins ago0x29fc52da4178c6ebedd47a91d65ebae93dfd0784 IN  World of Women: WOW Token0 Ether0.00176951 37.85302695
[ Download CSV Export 

OVERVIEW

10,000 randomly generated digital collectibles of unique, cool and diverse Women, living on the Ethereum blockchain as ERC-721 tokens and hosted on IPFS.

Latest 2 internal transactions
Parent Txn Hash Block From To Value
0x137d978acad74d74b8dd0ff4a899bdf2c2598e510682190c77d96f28a4b11010129133192021-07-28 8:08:31554 days 12 hrs ago World of Women: WOW Token0xbd152acfa5f810cba903c2efe7074be88e335f50260.68 Ether
0x137d978acad74d74b8dd0ff4a899bdf2c2598e510682190c77d96f28a4b11010129133192021-07-28 8:08:31554 days 12 hrs ago World of Women: WOW TokenWorld of Women: Deployer425.32 Ether
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
WorldOfWomen

Compiler Version
v0.8.0+commit.c7dfd78e

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 15 : worldofwomen.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

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

//               ,{{}}}}}}.
//              {{{{{}}}}}}}.
//             {{{{  {{{{{}}}}
//            }}}}} _   _ {{{{{
//            }}}}  m   m  }}}}}
//           {{{{C    ^    {{{{{
//          }}}}}}\  '='  /}}}}}}
//         {{{{{{{{;.___.;{{{{{{{{
//         }}}}}}}}})   (}}}}}}}}}}
//        {{{{}}}}}':   :{{{{{{{{{{
//        {{{}}}}}} `WoW` {{{}}}}}}}
//         {{{{{{{{{    }}}}}}}}}
//           }}}}}}}}  {{{{{{{{{
//            {{{{{{{{  }}}}}}
//               }}}}}  {{{{
//                {{{    }}

contract WorldOfWomen is ERC721, ERC721Enumerable, Ownable, Clubs {

    using SafeMath for uint256;

    uint256 public constant maxSupply = 10000;
    uint256 private _price = 0.08 ether;
    uint256 private _reserved = 200;

    string public WOW_PROVENANCE = "";
    uint256 public startingIndex;

    bool private _saleStarted;
    string public baseURI;

    address t1 = 0xc9b6321dc216D91E626E9BAA61b06B0E4d55bdb1;
    address t2 = 0xBD152AcFA5f810Cba903c2eFe7074Be88E335f50;

    constructor() ERC721("World Of Women", "WOW") {
        _saleStarted = false;
    }

    modifier whenSaleStarted() {
        require(_saleStarted);
        _;
    }

    function mint(uint256 _nbTokens) external payable whenSaleStarted {
        uint256 supply = totalSupply();
        require(_nbTokens < 21, "You cannot mint more than 20 Tokens at once!");
        require(supply + _nbTokens <= maxSupply - _reserved, "Not enough Tokens left.");
        require(_nbTokens * _price <= msg.value, "Inconsistent amount sent!");

        for (uint256 i; i < _nbTokens; i++) {
            _safeMint(msg.sender, supply + i);
        }
    }

    function flipSaleStarted() external onlyOwner {
        _saleStarted = !_saleStarted;

        if (_saleStarted && startingIndex == 0) {
            setStartingIndex();
        }
    }

    function saleStarted() public view returns(bool) {
        return _saleStarted;
    }

    function setBaseURI(string memory _URI) external onlyOwner {
        baseURI = _URI;
    }

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

    // Make it possible to change the price: just in case
    function setPrice(uint256 _newPrice) external onlyOwner {
        _price = _newPrice;
    }

    function getPrice() public view returns (uint256){
        return _price;
    }

    function getReservedLeft() public view returns (uint256) {
        return _reserved;
    }

    // This should be set before sales open.
    function setProvenanceHash(string memory provenanceHash) public onlyOwner {
        WOW_PROVENANCE = provenanceHash;
    }

    // Helper to list all the Women of a wallet
    function walletOfOwner(address _owner) public view returns(uint256[] memory) {
        uint256 tokenCount = balanceOf(_owner);

        uint256[] memory tokensId = new uint256[](tokenCount);
        for(uint256 i; i < tokenCount; i++){
            tokensId[i] = tokenOfOwnerByIndex(_owner, i);
        }
        return tokensId;
    }

    function claimReserved(uint256 _number, address _receiver) external onlyOwner {
        require(_number <= _reserved, "That would exceed the max reserved.");

        uint256 _tokenId = totalSupply();
        for (uint256 i; i < _number; i++) {
            _safeMint(_receiver, _tokenId + i);
        }

        _reserved = _reserved - _number;
    }

    function setStartingIndex() public {
        require(startingIndex == 0, "Starting index is already set");

        // BlockHash only works for the most 256 recent blocks.
        uint256 _block_shift = uint(keccak256(abi.encodePacked(block.difficulty, block.timestamp)));
        _block_shift =  1 + (_block_shift % 255);

        // This shouldn't happen, but just in case the blockchain gets a reboot?
        if (block.number < _block_shift) {
            _block_shift = 1;
        }

        uint256 _block_ref = block.number - _block_shift;
        startingIndex = uint(blockhash(_block_ref)) % maxSupply;

        // Prevent default sequence
        if (startingIndex == 0) {
            startingIndex = startingIndex + 1;
        }
    }

    function withdraw() public onlyOwner {
        uint256 _balance = address(this).balance;
        uint256 _split = _balance.mul(62).div(100);

        require(payable(t1).send(_split));
        require(payable(t2).send(_balance.sub(_split)));
    }

    function _beforeTokenTransfer(address from, address to, uint256 tokenId)
        internal
        override(ERC721, ERC721Enumerable)
    {
        super._beforeTokenTransfer(from, to, tokenId);
    }

    function supportsInterface(bytes4 interfaceId)
        public
        view
        override(ERC721, ERC721Enumerable)
        returns (bool)
    {
        return super.supportsInterface(interfaceId);
    }
}

File 2 of 15 : ERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);
    }

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

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

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

File 3 of 15 : 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 4 of 15 : SafeMath.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 5 of 15 : Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

File 6 of 15 : clubs.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/access/Ownable.sol";

contract Clubs is Ownable {

    using SafeMath for uint256;

    Club[3] internal arrayClubs;

    modifier clubExist(uint256 id) {
        require(id < arrayClubs.length, "This club does not exist.");
        _;
    }

    struct Club {
        string name;
        uint256[] tokens;
        bool locked;
    }

    constructor() {
        arrayClubs[0] = Club("Curators", new uint256[](0), false);
        arrayClubs[1] = Club("Royalties", new uint256[](0), false);
        arrayClubs[2] = Club("Traders", new uint256[](0), false);
    }

    function getClub(uint256 id) external view clubExist(id) returns(Club memory) {
        return arrayClubs[id];
    }

    function addClubToken(uint256 id, uint256 _tokenId) external onlyOwner clubExist(id) {
        require(!arrayClubs[id].locked, "Club is locked.");

        bool isAlreadyInClub = false;
        for (uint256 i; i < arrayClubs[id].tokens.length; i++) {
            if (arrayClubs[id].tokens[i] == _tokenId) {
                isAlreadyInClub = true;
            }
        }

        if (!isAlreadyInClub) {
            arrayClubs[id].tokens.push(_tokenId);
        }
    }

    function updateClubToken(uint256 id, uint256 _oldTokenId, uint256 _newTokenId) external onlyOwner clubExist(id) {
        require(!arrayClubs[id].locked, "Club is locked.");

        for (uint256 i; i < arrayClubs[id].tokens.length; i++) {
            if (arrayClubs[id].tokens[i] == _oldTokenId) {
                arrayClubs[id].tokens[i] = _newTokenId;
            }
        }
    }

    function lockClub(uint256 id) external onlyOwner clubExist(id) {
        require(!arrayClubs[id].locked, "Club is locked.");

        arrayClubs[id].locked = true;
    }
}

File 7 of 15 : 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 15 : 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 15 : 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 15 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 11 of 15 : 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 15 : 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 13 of 15 : 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 14 of 15 : IERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

File 15 of 15 : 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);
}

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"WOW_PROVENANCE","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"addClubToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_number","type":"uint256"},{"internalType":"address","name":"_receiver","type":"address"}],"name":"claimReserved","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"flipSaleStarted","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":"uint256","name":"id","type":"uint256"}],"name":"getClub","outputs":[{"components":[{"internalType":"string","name":"name","type":"string"},{"internalType":"uint256[]","name":"tokens","type":"uint256[]"},{"internalType":"bool","name":"locked","type":"bool"}],"internalType":"struct Clubs.Club","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getReservedLeft","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"lockClub","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_nbTokens","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleStarted","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":"_URI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newPrice","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"provenanceHash","type":"string"}],"name":"setProvenanceHash","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setStartingIndex","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startingIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"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":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"_oldTokenId","type":"uint256"},{"internalType":"uint256","name":"_newTokenId","type":"uint256"}],"name":"updateClubToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405267011c37937e08000060145560c860155560405180602001604052806000815250601690805190602001906200003c929190620006d3565b5073c9b6321dc216d91e626e9baa61b06b0e4d55bdb1601a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555073bd152acfa5f810cba903c2efe7074be88e335f50601b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550348015620000f457600080fd5b506040518060400160405280600e81526020017f576f726c64204f6620576f6d656e0000000000000000000000000000000000008152506040518060400160405280600381526020017f574f570000000000000000000000000000000000000000000000000000000000815250816000908051906020019062000179929190620006d3565b50806001908051906020019062000192929190620006d3565b505050620001b5620001a96200060560201b60201c565b6200060d60201b60201c565b60405180606001604052806040518060400160405280600881526020017f43757261746f72730000000000000000000000000000000000000000000000008152508152602001600067ffffffffffffffff8111156200023d577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156200026c5781602001602082028036833780820191505090505b50815260200160001515815250600b600060038110620002b5577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600302016000820151816000019080519060200190620002d7929190620006d3565b506020820151816001019080519060200190620002f692919062000764565b5060408201518160020160006101000a81548160ff02191690831515021790555090505060405180606001604052806040518060400160405280600981526020017f526f79616c7469657300000000000000000000000000000000000000000000008152508152602001600067ffffffffffffffff811115620003a2577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015620003d15781602001602082028036833780820191505090505b50815260200160001515815250600b6001600381106200041a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6003020160008201518160000190805190602001906200043c929190620006d3565b5060208201518160010190805190602001906200045b92919062000764565b5060408201518160020160006101000a81548160ff02191690831515021790555090505060405180606001604052806040518060400160405280600781526020017f54726164657273000000000000000000000000000000000000000000000000008152508152602001600067ffffffffffffffff81111562000507577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015620005365781602001602082028036833780820191505090505b50815260200160001515815250600b6002600381106200057f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600302016000820151816000019080519060200190620005a1929190620006d3565b506020820151816001019080519060200190620005c092919062000764565b5060408201518160020160006101000a81548160ff0219169083151502179055509050506000601860006101000a81548160ff0219169083151502179055506200083a565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620006e190620007d5565b90600052602060002090601f01602090048101928262000705576000855562000751565b82601f106200072057805160ff191683800117855562000751565b8280016001018555821562000751579182015b828111156200075057825182559160200191906001019062000733565b5b509050620007609190620007b6565b5090565b828054828255906000526020600020908101928215620007a3579160200282015b82811115620007a257825182559160200191906001019062000785565b5b509050620007b29190620007b6565b5090565b5b80821115620007d1576000816000905550600101620007b7565b5090565b60006002820490506001821680620007ee57607f821691505b602082108114156200080557620008046200080b565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b615259806200084a6000396000f3fe6080604052600436106102305760003560e01c8063715018a61161012e578063b88d4fde116100ab578063daa023aa1161006f578063daa023aa1461082a578063debad01814610855578063e985e9c514610880578063e9866550146108bd578063f2fde38b146108d457610230565b8063b88d4fde14610745578063bae92c6e1461076e578063c87b56dd14610797578063cb774d47146107d4578063d5abeb01146107ff57610230565b806398d5fdca116100f257806398d5fdca14610683578063a0712d68146106ae578063a22cb465146106ca578063a4c96fc1146106f3578063b0e1d7f31461071c57610230565b8063715018a6146105d6578063899d7b38146105ed5780638da5cb5b1461060457806391b7f5ed1461062f57806395d89b411461065857610230565b80633ccfd60b116101bc5780635adf16af116101805780635adf16af146104c95780635c474f9e146105065780636352211e146105315780636c0360eb1461056e57806370a082311461059957610230565b80633ccfd60b146103e657806342842e0e146103fd578063438b6300146104265780634f6ccce71461046357806355f804b3146104a057610230565b8063095ea7b311610203578063095ea7b314610303578063109695231461032c57806318160ddd1461035557806323b872dd146103805780632f745c59146103a957610230565b806301ffc9a71461023557806303c156971461027257806306fdde031461029b578063081812fc146102c6575b600080fd5b34801561024157600080fd5b5061025c60048036038101906102579190613c4b565b6108fd565b60405161026991906149b0565b60405180910390f35b34801561027e57600080fd5b5061029960048036038101906102949190613d43565b61090f565b005b3480156102a757600080fd5b506102b0610bc6565b6040516102bd91906149cb565b60405180910390f35b3480156102d257600080fd5b506102ed60048036038101906102e89190613cde565b610c58565b6040516102fa9190614927565b60405180910390f35b34801561030f57600080fd5b5061032a60048036038101906103259190613c0f565b610cdd565b005b34801561033857600080fd5b50610353600480360381019061034e9190613c9d565b610df5565b005b34801561036157600080fd5b5061036a610e8b565b6040516103779190614d2f565b60405180910390f35b34801561038c57600080fd5b506103a760048036038101906103a29190613b09565b610e98565b005b3480156103b557600080fd5b506103d060048036038101906103cb9190613c0f565b610ef8565b6040516103dd9190614d2f565b60405180910390f35b3480156103f257600080fd5b506103fb610f9d565b005b34801561040957600080fd5b50610424600480360381019061041f9190613b09565b61111f565b005b34801561043257600080fd5b5061044d60048036038101906104489190613aa4565b61113f565b60405161045a919061498e565b60405180910390f35b34801561046f57600080fd5b5061048a60048036038101906104859190613cde565b611239565b6040516104979190614d2f565b60405180910390f35b3480156104ac57600080fd5b506104c760048036038101906104c29190613c9d565b6112d0565b005b3480156104d557600080fd5b506104f060048036038101906104eb9190613cde565b611366565b6040516104fd9190614d0d565b60405180910390f35b34801561051257600080fd5b5061051b611508565b60405161052891906149b0565b60405180910390f35b34801561053d57600080fd5b5061055860048036038101906105539190613cde565b61151f565b6040516105659190614927565b60405180910390f35b34801561057a57600080fd5b506105836115d1565b60405161059091906149cb565b60405180910390f35b3480156105a557600080fd5b506105c060048036038101906105bb9190613aa4565b61165f565b6040516105cd9190614d2f565b60405180910390f35b3480156105e257600080fd5b506105eb611717565b005b3480156105f957600080fd5b5061060261179f565b005b34801561061057600080fd5b50610619611873565b6040516106269190614927565b60405180910390f35b34801561063b57600080fd5b5061065660048036038101906106519190613cde565b61189d565b005b34801561066457600080fd5b5061066d611923565b60405161067a91906149cb565b60405180910390f35b34801561068f57600080fd5b506106986119b5565b6040516106a59190614d2f565b60405180910390f35b6106c860048036038101906106c39190613cde565b6119bf565b005b3480156106d657600080fd5b506106f160048036038101906106ec9190613bd3565b611b0c565b005b3480156106ff57600080fd5b5061071a60048036038101906107159190613d7f565b611c8d565b005b34801561072857600080fd5b50610743600480360381019061073e9190613d07565b611f59565b005b34801561075157600080fd5b5061076c60048036038101906107679190613b58565b612073565b005b34801561077a57600080fd5b5061079560048036038101906107909190613cde565b6120d5565b005b3480156107a357600080fd5b506107be60048036038101906107b99190613cde565b612282565b6040516107cb91906149cb565b60405180910390f35b3480156107e057600080fd5b506107e9612329565b6040516107f69190614d2f565b60405180910390f35b34801561080b57600080fd5b5061081461232f565b6040516108219190614d2f565b60405180910390f35b34801561083657600080fd5b5061083f612335565b60405161084c9190614d2f565b60405180910390f35b34801561086157600080fd5b5061086a61233f565b60405161087791906149cb565b60405180910390f35b34801561088c57600080fd5b506108a760048036038101906108a29190613acd565b6123cd565b6040516108b491906149b0565b60405180910390f35b3480156108c957600080fd5b506108d2612461565b005b3480156108e057600080fd5b506108fb60048036038101906108f69190613aa4565b61254b565b005b600061090882612643565b9050919050565b6109176126bd565b73ffffffffffffffffffffffffffffffffffffffff16610935611873565b73ffffffffffffffffffffffffffffffffffffffff161461098b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161098290614bed565b60405180910390fd5b81600381106109cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109c690614bad565b60405180910390fd5b600b8360038110610a09577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6003020160020160009054906101000a900460ff1615610a5e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a5590614ced565b60405180910390fd5b6000805b600b8560038110610a9c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6003020160010180549050811015610b515783600b8660038110610ae9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600302016001018281548110610b28577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001541415610b3e57600191505b8080610b4990615076565b915050610a62565b5080610bc057600b8460038110610b91577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600302016001018390806001815401808255809150506001900390600052602060002001600090919091909150555b50505050565b606060008054610bd590615044565b80601f0160208091040260200160405190810160405280929190818152602001828054610c0190615044565b8015610c4e5780601f10610c2357610100808354040283529160200191610c4e565b820191906000526020600020905b815481529060010190602001808311610c3157829003601f168201915b5050505050905090565b6000610c63826126c5565b610ca2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c9990614bcd565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610ce88261151f565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610d59576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d5090614c6d565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610d786126bd565b73ffffffffffffffffffffffffffffffffffffffff161480610da75750610da681610da16126bd565b6123cd565b5b610de6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ddd90614b2d565b60405180910390fd5b610df08383612731565b505050565b610dfd6126bd565b73ffffffffffffffffffffffffffffffffffffffff16610e1b611873565b73ffffffffffffffffffffffffffffffffffffffff1614610e71576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e6890614bed565b60405180910390fd5b8060169080519060200190610e879291906138a5565b5050565b6000600880549050905090565b610ea9610ea36126bd565b826127ea565b610ee8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610edf90614cad565b60405180910390fd5b610ef38383836128c8565b505050565b6000610f038361165f565b8210610f44576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f3b906149ed565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610fa56126bd565b73ffffffffffffffffffffffffffffffffffffffff16610fc3611873565b73ffffffffffffffffffffffffffffffffffffffff1614611019576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161101090614bed565b60405180910390fd5b600047905060006110476064611039603e85612b2490919063ffffffff16565b612b3a90919063ffffffff16565b9050601a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050506110a957600080fd5b601b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc6110f88385612b5090919063ffffffff16565b9081150290604051600060405180830381858888f1935050505061111b57600080fd5b5050565b61113a83838360405180602001604052806000815250612073565b505050565b6060600061114c8361165f565b905060008167ffffffffffffffff811115611190577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156111be5781602001602082028036833780820191505090505b50905060005b8281101561122e576111d68582610ef8565b82828151811061120f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001018181525050808061122690615076565b9150506111c4565b508092505050919050565b6000611243610e8b565b8210611284576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161127b90614ccd565b60405180910390fd5b600882815481106112be577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b6112d86126bd565b73ffffffffffffffffffffffffffffffffffffffff166112f6611873565b73ffffffffffffffffffffffffffffffffffffffff161461134c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161134390614bed565b60405180910390fd5b80601990805190602001906113629291906138a5565b5050565b61136e61392b565b81600381106113b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113a990614bad565b60405180910390fd5b600b83600381106113ec577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6003020160405180606001604052908160008201805461140b90615044565b80601f016020809104026020016040519081016040528092919081815260200182805461143790615044565b80156114845780601f1061145957610100808354040283529160200191611484565b820191906000526020600020905b81548152906001019060200180831161146757829003601f168201915b50505050508152602001600182018054806020026020016040519081016040528092919081815260200182805480156114dc57602002820191906000526020600020905b8154815260200190600101908083116114c8575b505050505081526020016002820160009054906101000a900460ff161515151581525050915050919050565b6000601860009054906101000a900460ff16905090565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156115c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115bf90614b6d565b60405180910390fd5b80915050919050565b601980546115de90615044565b80601f016020809104026020016040519081016040528092919081815260200182805461160a90615044565b80156116575780601f1061162c57610100808354040283529160200191611657565b820191906000526020600020905b81548152906001019060200180831161163a57829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156116d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116c790614b4d565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61171f6126bd565b73ffffffffffffffffffffffffffffffffffffffff1661173d611873565b73ffffffffffffffffffffffffffffffffffffffff1614611793576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161178a90614bed565b60405180910390fd5b61179d6000612b66565b565b6117a76126bd565b73ffffffffffffffffffffffffffffffffffffffff166117c5611873565b73ffffffffffffffffffffffffffffffffffffffff161461181b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161181290614bed565b60405180910390fd5b601860009054906101000a900460ff1615601860006101000a81548160ff021916908315150217905550601860009054906101000a900460ff16801561186357506000601754145b1561187157611870612461565b5b565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6118a56126bd565b73ffffffffffffffffffffffffffffffffffffffff166118c3611873565b73ffffffffffffffffffffffffffffffffffffffff1614611919576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161191090614bed565b60405180910390fd5b8060148190555050565b60606001805461193290615044565b80601f016020809104026020016040519081016040528092919081815260200182805461195e90615044565b80156119ab5780601f10611980576101008083540402835291602001916119ab565b820191906000526020600020905b81548152906001019060200180831161198e57829003601f168201915b5050505050905090565b6000601454905090565b601860009054906101000a900460ff166119d857600080fd5b60006119e2610e8b565b905060158210611a27576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a1e90614aad565b60405180910390fd5b601554612710611a379190614f5a565b8282611a439190614e79565b1115611a84576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a7b90614c0d565b60405180910390fd5b3460145483611a939190614f00565b1115611ad4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611acb90614acd565b60405180910390fd5b60005b82811015611b0757611af4338284611aef9190614e79565b612c2c565b8080611aff90615076565b915050611ad7565b505050565b611b146126bd565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611b82576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b7990614a8d565b60405180910390fd5b8060056000611b8f6126bd565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611c3c6126bd565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611c8191906149b0565b60405180910390a35050565b611c956126bd565b73ffffffffffffffffffffffffffffffffffffffff16611cb3611873565b73ffffffffffffffffffffffffffffffffffffffff1614611d09576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d0090614bed565b60405180910390fd5b8260038110611d4d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d4490614bad565b60405180910390fd5b600b8460038110611d87577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6003020160020160009054906101000a900460ff1615611ddc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dd390614ced565b60405180910390fd5b60005b600b8560038110611e19577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6003020160010180549050811015611f525783600b8660038110611e66577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600302016001018281548110611ea5577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001541415611f3f5782600b8660038110611ef1577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600302016001018281548110611f30577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001819055505b8080611f4a90615076565b915050611ddf565b5050505050565b611f616126bd565b73ffffffffffffffffffffffffffffffffffffffff16611f7f611873565b73ffffffffffffffffffffffffffffffffffffffff1614611fd5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fcc90614bed565b60405180910390fd5b60155482111561201a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161201190614c8d565b60405180910390fd5b6000612024610e8b565b905060005b83811015612059576120468382846120419190614e79565b612c2c565b808061205190615076565b915050612029565b50826015546120689190614f5a565b601581905550505050565b61208461207e6126bd565b836127ea565b6120c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120ba90614cad565b60405180910390fd5b6120cf84848484612c4a565b50505050565b6120dd6126bd565b73ffffffffffffffffffffffffffffffffffffffff166120fb611873565b73ffffffffffffffffffffffffffffffffffffffff1614612151576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161214890614bed565b60405180910390fd5b8060038110612195576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161218c90614bad565b60405180910390fd5b600b82600381106121cf577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6003020160020160009054906101000a900460ff1615612224576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161221b90614ced565b60405180910390fd5b6001600b8360038110612260577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6003020160020160006101000a81548160ff0219169083151502179055505050565b606061228d826126c5565b6122cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122c390614c4d565b60405180910390fd5b60006122d6612ca6565b905060008151116122f65760405180602001604052806000815250612321565b8061230084612d38565b6040516020016123119291906148d7565b6040516020818303038152906040525b915050919050565b60175481565b61271081565b6000601554905090565b6016805461234c90615044565b80601f016020809104026020016040519081016040528092919081815260200182805461237890615044565b80156123c55780601f1061239a576101008083540402835291602001916123c5565b820191906000526020600020905b8154815290600101906020018083116123a857829003601f168201915b505050505081565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6000601754146124a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161249d90614b0d565b60405180910390fd5b600044426040516020016124bb9291906148fb565b6040516020818303038152906040528051906020012060001c905060ff816124e391906150c9565b60016124ef9190614e79565b9050804310156124fe57600190505b6000814361250c9190614f5a565b9050612710814060001c61252091906150c9565b601781905550600060175414156125475760016017546125409190614e79565b6017819055505b5050565b6125536126bd565b73ffffffffffffffffffffffffffffffffffffffff16612571611873565b73ffffffffffffffffffffffffffffffffffffffff16146125c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125be90614bed565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612637576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161262e90614a2d565b60405180910390fd5b61264081612b66565b50565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806126b657506126b582612ee5565b5b9050919050565b600033905090565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166127a48361151f565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006127f5826126c5565b612834576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161282b90614aed565b60405180910390fd5b600061283f8361151f565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806128ae57508373ffffffffffffffffffffffffffffffffffffffff1661289684610c58565b73ffffffffffffffffffffffffffffffffffffffff16145b806128bf57506128be81856123cd565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166128e88261151f565b73ffffffffffffffffffffffffffffffffffffffff161461293e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161293590614c2d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156129ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129a590614a6d565b60405180910390fd5b6129b9838383612fc7565b6129c4600082612731565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612a149190614f5a565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612a6b9190614e79565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b60008183612b329190614f00565b905092915050565b60008183612b489190614ecf565b905092915050565b60008183612b5e9190614f5a565b905092915050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612c46828260405180602001604052806000815250612fd7565b5050565b612c558484846128c8565b612c6184848484613032565b612ca0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c9790614a0d565b60405180910390fd5b50505050565b606060198054612cb590615044565b80601f0160208091040260200160405190810160405280929190818152602001828054612ce190615044565b8015612d2e5780601f10612d0357610100808354040283529160200191612d2e565b820191906000526020600020905b815481529060010190602001808311612d1157829003601f168201915b5050505050905090565b60606000821415612d80576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612ee0565b600082905060005b60008214612db2578080612d9b90615076565b915050600a82612dab9190614ecf565b9150612d88565b60008167ffffffffffffffff811115612df4577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612e265781602001600182028036833780820191505090505b5090505b60008514612ed957600182612e3f9190614f5a565b9150600a85612e4e91906150c9565b6030612e5a9190614e79565b60f81b818381518110612e96577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612ed29190614ecf565b9450612e2a565b8093505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612fb057507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612fc05750612fbf826131c9565b5b9050919050565b612fd2838383613233565b505050565b612fe18383613347565b612fee6000848484613032565b61302d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161302490614a0d565b60405180910390fd5b505050565b60006130538473ffffffffffffffffffffffffffffffffffffffff16613515565b156131bc578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261307c6126bd565b8786866040518563ffffffff1660e01b815260040161309e9493929190614942565b602060405180830381600087803b1580156130b857600080fd5b505af19250505080156130e957506040513d601f19601f820116820180604052508101906130e69190613c74565b60015b61316c573d8060008114613119576040519150601f19603f3d011682016040523d82523d6000602084013e61311e565b606091505b50600081511415613164576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161315b90614a0d565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506131c1565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b61323e838383613528565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156132815761327c8161352d565b6132c0565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146132bf576132be8382613576565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613303576132fe816136e3565b613342565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614613341576133408282613826565b5b5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156133b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133ae90614b8d565b60405180910390fd5b6133c0816126c5565b15613400576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133f790614a4d565b60405180910390fd5b61340c60008383612fc7565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461345c9190614e79565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016135838461165f565b61358d9190614f5a565b9050600060076000848152602001908152602001600020549050818114613672576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506136f79190614f5a565b905060006009600084815260200190815260200160002054905060006008838154811061374d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060088381548110613795577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001819055508160096000838152602001908152602001600020819055506009600085815260200190815260200160002060009055600880548061380a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b60006138318361165f565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b8280546138b190615044565b90600052602060002090601f0160209004810192826138d3576000855561391a565b82601f106138ec57805160ff191683800117855561391a565b8280016001018555821561391a579182015b828111156139195782518255916020019190600101906138fe565b5b509050613927919061394e565b5090565b604051806060016040528060608152602001606081526020016000151581525090565b5b8082111561396757600081600090555060010161394f565b5090565b600061397e61397984614d7b565b614d4a565b90508281526020810184848401111561399657600080fd5b6139a1848285615002565b509392505050565b60006139bc6139b784614dab565b614d4a565b9050828152602081018484840111156139d457600080fd5b6139df848285615002565b509392505050565b6000813590506139f6816151c7565b92915050565b600081359050613a0b816151de565b92915050565b600081359050613a20816151f5565b92915050565b600081519050613a35816151f5565b92915050565b600082601f830112613a4c57600080fd5b8135613a5c84826020860161396b565b91505092915050565b600082601f830112613a7657600080fd5b8135613a868482602086016139a9565b91505092915050565b600081359050613a9e8161520c565b92915050565b600060208284031215613ab657600080fd5b6000613ac4848285016139e7565b91505092915050565b60008060408385031215613ae057600080fd5b6000613aee858286016139e7565b9250506020613aff858286016139e7565b9150509250929050565b600080600060608486031215613b1e57600080fd5b6000613b2c868287016139e7565b9350506020613b3d868287016139e7565b9250506040613b4e86828701613a8f565b9150509250925092565b60008060008060808587031215613b6e57600080fd5b6000613b7c878288016139e7565b9450506020613b8d878288016139e7565b9350506040613b9e87828801613a8f565b925050606085013567ffffffffffffffff811115613bbb57600080fd5b613bc787828801613a3b565b91505092959194509250565b60008060408385031215613be657600080fd5b6000613bf4858286016139e7565b9250506020613c05858286016139fc565b9150509250929050565b60008060408385031215613c2257600080fd5b6000613c30858286016139e7565b9250506020613c4185828601613a8f565b9150509250929050565b600060208284031215613c5d57600080fd5b6000613c6b84828501613a11565b91505092915050565b600060208284031215613c8657600080fd5b6000613c9484828501613a26565b91505092915050565b600060208284031215613caf57600080fd5b600082013567ffffffffffffffff811115613cc957600080fd5b613cd584828501613a65565b91505092915050565b600060208284031215613cf057600080fd5b6000613cfe84828501613a8f565b91505092915050565b60008060408385031215613d1a57600080fd5b6000613d2885828601613a8f565b9250506020613d39858286016139e7565b9150509250929050565b60008060408385031215613d5657600080fd5b6000613d6485828601613a8f565b9250506020613d7585828601613a8f565b9150509250929050565b600080600060608486031215613d9457600080fd5b6000613da286828701613a8f565b9350506020613db386828701613a8f565b9250506040613dc486828701613a8f565b9150509250925092565b6000613dda83836148a2565b60208301905092915050565b613def81614f8e565b82525050565b6000613e0082614deb565b613e0a8185614e19565b9350613e1583614ddb565b8060005b83811015613e46578151613e2d8882613dce565b9750613e3883614e0c565b925050600181019050613e19565b5085935050505092915050565b6000613e5e82614deb565b613e688185614e2a565b9350613e7383614ddb565b8060005b83811015613ea4578151613e8b8882613dce565b9750613e9683614e0c565b925050600181019050613e77565b5085935050505092915050565b613eba81614fa0565b82525050565b613ec981614fa0565b82525050565b6000613eda82614df6565b613ee48185614e3b565b9350613ef4818560208601615011565b613efd816151b6565b840191505092915050565b6000613f1382614e01565b613f1d8185614e4c565b9350613f2d818560208601615011565b613f36816151b6565b840191505092915050565b6000613f4c82614e01565b613f568185614e5d565b9350613f66818560208601615011565b613f6f816151b6565b840191505092915050565b6000613f8582614e01565b613f8f8185614e6e565b9350613f9f818560208601615011565b80840191505092915050565b6000613fb8602b83614e5d565b91507f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008301527f74206f6620626f756e64730000000000000000000000000000000000000000006020830152604082019050919050565b600061401e603283614e5d565b91507f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008301527f63656976657220696d706c656d656e74657200000000000000000000000000006020830152604082019050919050565b6000614084602683614e5d565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006140ea601c83614e5d565b91507f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006000830152602082019050919050565b600061412a602483614e5d565b91507f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614190601983614e5d565b91507f4552433732313a20617070726f766520746f2063616c6c6572000000000000006000830152602082019050919050565b60006141d0602c83614e5d565b91507f596f752063616e6e6f74206d696e74206d6f7265207468616e20323020546f6b60008301527f656e73206174206f6e63652100000000000000000000000000000000000000006020830152604082019050919050565b6000614236601983614e5d565b91507f496e636f6e73697374656e7420616d6f756e742073656e7421000000000000006000830152602082019050919050565b6000614276602c83614e5d565b91507f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b60006142dc601d83614e5d565b91507f5374617274696e6720696e64657820697320616c7265616479207365740000006000830152602082019050919050565b600061431c603883614e5d565b91507f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008301527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006020830152604082019050919050565b6000614382602a83614e5d565b91507f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008301527f726f2061646472657373000000000000000000000000000000000000000000006020830152604082019050919050565b60006143e8602983614e5d565b91507f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008301527f656e7420746f6b656e00000000000000000000000000000000000000000000006020830152604082019050919050565b600061444e602083614e5d565b91507f4552433732313a206d696e7420746f20746865207a65726f20616464726573736000830152602082019050919050565b600061448e601983614e5d565b91507f5468697320636c756220646f6573206e6f742065786973742e000000000000006000830152602082019050919050565b60006144ce602c83614e5d565b91507f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000614534602083614e5d565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b6000614574601783614e5d565b91507f4e6f7420656e6f75676820546f6b656e73206c6566742e0000000000000000006000830152602082019050919050565b60006145b4602983614e5d565b91507f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008301527f73206e6f74206f776e00000000000000000000000000000000000000000000006020830152604082019050919050565b600061461a602f83614e5d565b91507f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008301527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006020830152604082019050919050565b6000614680602183614e5d565b91507f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008301527f72000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006146e6602383614e5d565b91507f5468617420776f756c642065786365656420746865206d61782072657365727660008301527f65642e00000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061474c603183614e5d565b91507f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008301527f776e6572206e6f7220617070726f7665640000000000000000000000000000006020830152604082019050919050565b60006147b2602c83614e5d565b91507f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008301527f7574206f6620626f756e647300000000000000000000000000000000000000006020830152604082019050919050565b6000614818600f83614e5d565b91507f436c7562206973206c6f636b65642e00000000000000000000000000000000006000830152602082019050919050565b600060608301600083015184820360008601526148688282613f08565b915050602083015184820360208601526148828282613df5565b91505060408301516148976040860182613eb1565b508091505092915050565b6148ab81614ff8565b82525050565b6148ba81614ff8565b82525050565b6148d16148cc82614ff8565b6150bf565b82525050565b60006148e38285613f7a565b91506148ef8284613f7a565b91508190509392505050565b600061490782856148c0565b60208201915061491782846148c0565b6020820191508190509392505050565b600060208201905061493c6000830184613de6565b92915050565b60006080820190506149576000830187613de6565b6149646020830186613de6565b61497160408301856148b1565b81810360608301526149838184613ecf565b905095945050505050565b600060208201905081810360008301526149a88184613e53565b905092915050565b60006020820190506149c56000830184613ec0565b92915050565b600060208201905081810360008301526149e58184613f41565b905092915050565b60006020820190508181036000830152614a0681613fab565b9050919050565b60006020820190508181036000830152614a2681614011565b9050919050565b60006020820190508181036000830152614a4681614077565b9050919050565b60006020820190508181036000830152614a66816140dd565b9050919050565b60006020820190508181036000830152614a868161411d565b9050919050565b60006020820190508181036000830152614aa681614183565b9050919050565b60006020820190508181036000830152614ac6816141c3565b9050919050565b60006020820190508181036000830152614ae681614229565b9050919050565b60006020820190508181036000830152614b0681614269565b9050919050565b60006020820190508181036000830152614b26816142cf565b9050919050565b60006020820190508181036000830152614b468161430f565b9050919050565b60006020820190508181036000830152614b6681614375565b9050919050565b60006020820190508181036000830152614b86816143db565b9050919050565b60006020820190508181036000830152614ba681614441565b9050919050565b60006020820190508181036000830152614bc681614481565b9050919050565b60006020820190508181036000830152614be6816144c1565b9050919050565b60006020820190508181036000830152614c0681614527565b9050919050565b60006020820190508181036000830152614c2681614567565b9050919050565b60006020820190508181036000830152614c46816145a7565b9050919050565b60006020820190508181036000830152614c668161460d565b9050919050565b60006020820190508181036000830152614c8681614673565b9050919050565b60006020820190508181036000830152614ca6816146d9565b9050919050565b60006020820190508181036000830152614cc68161473f565b9050919050565b60006020820190508181036000830152614ce6816147a5565b9050919050565b60006020820190508181036000830152614d068161480b565b9050919050565b60006020820190508181036000830152614d27818461484b565b905092915050565b6000602082019050614d4460008301846148b1565b92915050565b6000604051905081810181811067ffffffffffffffff82111715614d7157614d70615187565b5b8060405250919050565b600067ffffffffffffffff821115614d9657614d95615187565b5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff821115614dc657614dc5615187565b5b601f19601f8301169050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000614e8482614ff8565b9150614e8f83614ff8565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614ec457614ec36150fa565b5b828201905092915050565b6000614eda82614ff8565b9150614ee583614ff8565b925082614ef557614ef4615129565b5b828204905092915050565b6000614f0b82614ff8565b9150614f1683614ff8565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614f4f57614f4e6150fa565b5b828202905092915050565b6000614f6582614ff8565b9150614f7083614ff8565b925082821015614f8357614f826150fa565b5b828203905092915050565b6000614f9982614fd8565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b8381101561502f578082015181840152602081019050615014565b8381111561503e576000848401525b50505050565b6000600282049050600182168061505c57607f821691505b602082108114156150705761506f615158565b5b50919050565b600061508182614ff8565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156150b4576150b36150fa565b5b600182019050919050565b6000819050919050565b60006150d482614ff8565b91506150df83614ff8565b9250826150ef576150ee615129565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b6151d081614f8e565b81146151db57600080fd5b50565b6151e781614fa0565b81146151f257600080fd5b50565b6151fe81614fac565b811461520957600080fd5b50565b61521581614ff8565b811461522057600080fd5b5056fea2646970667358221220a6c249dfe62ad6ca1612f86a3701354ecda4280cc98564ee9af0f2db250a345c64736f6c63430008000033

Block Transaction Difficulty Gas Used Reward
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.

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.