ETH Price: $2,901.95 (-1.23%)
 

Overview

ETH Balance

1.340701610000000162 ETH

Eth Value

$3,890.65 (@ $2,901.95/ETH)

Token Holdings

More Info

Private Name Tags

TokenTracker

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Set Approval For...237939342025-11-14 0:44:3573 days ago1763081075IN
0xaE2aBbD1...014FF0f8d
0 ETH0.000096922.09740636
Set Approval For...230783782025-08-06 0:14:35173 days ago1754439275IN
0xaE2aBbD1...014FF0f8d
0 ETH0.000033990.73558017
Set Approval For...230694162025-08-04 18:13:35174 days ago1754331215IN
0xaE2aBbD1...014FF0f8d
0 ETH0.0001172.53197972
Set Approval For...229927902025-07-25 1:08:35185 days ago1753405715IN
0xaE2aBbD1...014FF0f8d
0 ETH0.000012750.27597244
Set Approval For...225161502025-05-19 9:34:11252 days ago1747647251IN
0xaE2aBbD1...014FF0f8d
0 ETH0.000078181.69147055
Set Approval For...218779282025-02-19 4:07:59341 days ago1739938079IN
0xaE2aBbD1...014FF0f8d
0 ETH0.000053642.2
Set Approval For...209952292024-10-18 21:46:59464 days ago1729288019IN
0xaE2aBbD1...014FF0f8d
0 ETH0.0002955512.12096368
Set Approval For...209952282024-10-18 21:46:47464 days ago1729288007IN
0xaE2aBbD1...014FF0f8d
0 ETH0.0002924612
Set Approval For...203234232024-07-17 3:01:23558 days ago1721185283IN
0xaE2aBbD1...014FF0f8d
0 ETH0.000189657.77772831
Set Approval For...202011952024-06-30 1:22:59575 days ago1719710579IN
0xaE2aBbD1...014FF0f8d
0 ETH0.000076741.66062317
Set Approval For...200986212024-06-15 17:15:35589 days ago1718471735IN
0xaE2aBbD1...014FF0f8d
0 ETH0.00017227.08645734
Set Approval For...199041132024-05-19 12:54:47617 days ago1716123287IN
0xaE2aBbD1...014FF0f8d
0 ETH0.000135622.93494213
Set Approval For...194853262024-03-21 20:12:11675 days ago1711051931IN
0xaE2aBbD1...014FF0f8d
0 ETH0.0016816136.33248233
Set Approval For...194336642024-03-14 13:53:11682 days ago1710424391IN
0xaE2aBbD1...014FF0f8d
0 ETH0.0032221669.61722873
Transfer From192283032024-02-14 19:33:23711 days ago1707939203IN
0xaE2aBbD1...014FF0f8d
0 ETH0.0021937437.95214391
Set Approval For...188707912023-12-26 15:33:11761 days ago1703604791IN
0xaE2aBbD1...014FF0f8d
0 ETH0.0004995420.48670297
Set Approval For...187496082023-12-09 15:37:11778 days ago1702136231IN
0xaE2aBbD1...014FF0f8d
0 ETH0.0022965649.69631437
Set Approval For...184624822023-10-30 10:49:11819 days ago1698662951IN
0xaE2aBbD1...014FF0f8d
0 ETH0.0007111515.38897317
Set Approval For...175649652023-06-26 17:05:11944 days ago1687799111IN
0xaE2aBbD1...014FF0f8d
0 ETH0.0010238222.15501135
Set Approval For...174826152023-06-15 3:26:59956 days ago1686799619IN
0xaE2aBbD1...014FF0f8d
0 ETH0.0006848914.82073884
Set Approval For...169923682023-04-06 22:01:471025 days ago1680818507IN
0xaE2aBbD1...014FF0f8d
0 ETH0.0005968524.47735099
Set Approval For...169923612023-04-06 22:00:231025 days ago1680818423IN
0xaE2aBbD1...014FF0f8d
0 ETH0.0006176425.4176338
Set Approval For...168890582023-03-23 8:28:471040 days ago1679560127IN
0xaE2aBbD1...014FF0f8d
0 ETH0.0003373213.8338881
Set Approval For...168890582023-03-23 8:28:471040 days ago1679560127IN
0xaE2aBbD1...014FF0f8d
0 ETH0.0003361613.8338881
Transfer From168094722023-03-12 4:07:351051 days ago1678594055IN
0xaE2aBbD1...014FF0f8d
0 ETH0.0011456818.29372031
View all transactions

Latest 20 internal transactions

Advanced mode:
Parent Transaction Hash Method Block
From
To
Transfer153047482022-08-09 0:10:591266 days ago1660003859
0xaE2aBbD1...014FF0f8d
0.29925 ETH
Transfer153047482022-08-09 0:10:591266 days ago1660003859
0xaE2aBbD1...014FF0f8d
0.1575 ETH
Transfer153047482022-08-09 0:10:591266 days ago1660003859
0xaE2aBbD1...014FF0f8d
0.07875 ETH
Transfer153047482022-08-09 0:10:591266 days ago1660003859
0xaE2aBbD1...014FF0f8d
0.0315 ETH
Transfer153047482022-08-09 0:10:591266 days ago1660003859
0xaE2aBbD1...014FF0f8d
0.063 ETH
-146195002022-04-20 3:23:551377 days ago1650425035
0xaE2aBbD1...014FF0f8d
21.97825 ETH
-146195002022-04-20 3:23:551377 days ago1650425035
0xaE2aBbD1...014FF0f8d
11.5675 ETH
-146195002022-04-20 3:23:551377 days ago1650425035
0xaE2aBbD1...014FF0f8d
5.78375 ETH
-146195002022-04-20 3:23:551377 days ago1650425035
0xaE2aBbD1...014FF0f8d
2.3135 ETH
-146195002022-04-20 3:23:551377 days ago1650425035
0xaE2aBbD1...014FF0f8d
4.627 ETH
-145594752022-04-10 18:15:311386 days ago1649614531
0xaE2aBbD1...014FF0f8d
0.038 ETH
-145594752022-04-10 18:15:311386 days ago1649614531
0xaE2aBbD1...014FF0f8d
0.02 ETH
-145594752022-04-10 18:15:311386 days ago1649614531
0xaE2aBbD1...014FF0f8d
0.01 ETH
-145594752022-04-10 18:15:311386 days ago1649614531
0xaE2aBbD1...014FF0f8d
0.004 ETH
-145594752022-04-10 18:15:311386 days ago1649614531
0xaE2aBbD1...014FF0f8d
0.008 ETH
-145493712022-04-09 4:21:181388 days ago1649478078
0xaE2aBbD1...014FF0f8d
0.08075 ETH
-145493712022-04-09 4:21:181388 days ago1649478078
0xaE2aBbD1...014FF0f8d
0.0425 ETH
-145493712022-04-09 4:21:181388 days ago1649478078
0xaE2aBbD1...014FF0f8d
0.02125 ETH
-145493712022-04-09 4:21:181388 days ago1649478078
0xaE2aBbD1...014FF0f8d
0.0085 ETH
-145493712022-04-09 4:21:181388 days ago1649478078
0xaE2aBbD1...014FF0f8d
0.017 ETH
Loading...
Loading
Cross-Chain Transactions

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
CryptoCrimeClub

Compiler Version
v0.8.0+commit.c7dfd78e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
pragma solidity ^0.8.0;                                                                                                                                                                                                                                
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Burnable.sol";

import {MerkleProof} from "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";

contract CryptoCrimeClub is ERC721, Ownable, ERC721Burnable {
    using Strings for uint256;
    using Counters for Counters.Counter;
    
    uint16 public reserved = 200;
    uint16 public maxSupply = 5000;
    bool public isBurnable = false;
    string public baseURI;
    // presale
    uint256 public presaleMintPrice = 0.08 ether;
    uint16 public presaleMaxPerTransaction = 3;
    uint16 public presaleMaxPerWallet = 3;
    // public sale
    uint256 public publicSaleMintPrice = 0.09 ether;
    uint16 public publicSaleMaxPerTransaction = 5;
    uint16 public publicSaleMaxPerWallet = 50;
    // whitelist
    bytes32 public merkleRoot;

    enum MintState {
        CLOSED,
        PRESALE,
        PUBLIC_SALE,
        SOLD_OUT
    }

    MintState public mintState = MintState.CLOSED;
    
    // Private
    mapping(address => uint16) private _totalMinted;
    Counters.Counter _numOfReservedClaimed;
    Counters.Counter _tokenIdCounter;
    address[] private _payees;
    mapping(address => uint256) _shares;
    string private _tokenSalt;
    bool private _useHashedFilenames = true;
    
    constructor(address[] memory payees_, uint256[] memory shares_, string memory tokenSalt_) 
    ERC721("CryptoCrimeClub", "CCC") 
    { 
        _tokenSalt = tokenSalt_;
        updatePayouts(payees_, shares_);
    }

    // Modifiers

    modifier publicSaleIsLive() {
        require(mintState != MintState.SOLD_OUT, "CryptoCrimeClub is sold out");
        require(mintState == MintState.PUBLIC_SALE, "Public sale has not started");
        _;
    }

    modifier presaleIsLive() {
        require(mintState != MintState.SOLD_OUT, "CryptoCrimeClub is sold out");
        require(mintState == MintState.PRESALE, "Presale is closed");
        _;
    }

    function isOwner() public view returns(bool) {
        return owner() == msg.sender;
    }

    // Mint

    function totalSupply() public view returns (uint256) {
        return _tokenIdCounter.current();
    }

    function mint(uint16 _quantity) public payable publicSaleIsLive {
        uint256 supply = totalSupply();
        uint16 walletCount = _totalMinted[msg.sender];
        require(msg.sender == tx.origin, "Cannot mint from another contract");
        require(msg.sender != address(0), "Cannot mint to null address");
        require(supply < maxSupply, "Sold Out");
        require(walletCount < publicSaleMaxPerWallet, "Exceeded max allowed per wallet");
        require(walletCount + _quantity <= publicSaleMaxPerWallet, "Minting would exceed max allowed per wallet, please decrease quantity and try again");
        require(_quantity > 0, "Need to mint at least one!");
        require(_quantity <= publicSaleMaxPerTransaction, "More than the max allowed in one transaction");
        require(supply + _quantity <= maxSupply, "Minting would exceed max supply, please select a smaller quantity.");
        require(msg.value == publicSaleMintPrice * _quantity, "Incorrect amount of ETH sent");

        for (uint256 i = 0; i < _quantity; i++) {
            _tokenIdCounter.increment();
            _safeMint(msg.sender, _tokenIdCounter.current());
        }

        _totalMinted[msg.sender] = _quantity + walletCount;
        if (totalSupply() == maxSupply) {
            mintState = MintState.SOLD_OUT;
        }
    }

    // MARK: Presale

    function mintPreSale(uint16 _quantity, bytes32[] memory proof) public payable presaleIsLive {
        uint16 count = _totalMinted[msg.sender];
        require(msg.sender == tx.origin, "Cannot mint from another contract");
        require(msg.sender != address(0), "Cannot mint to null address");
        require(isInWhitelist(proof, msg.sender), "You are not eligible for Presale");
        require(count < presaleMaxPerWallet, "Exceeded max mint allowed per wallet for Presale");
        require(count + _quantity <= presaleMaxPerWallet, "Minting would exceed max allowed per wallet for presale. Please decreae quantity and try again.");
        require(totalSupply() < maxSupply, "Collection Sold Out");
        require(_quantity > 0, "Need to mint at least one!");
        require(_quantity <= presaleMaxPerTransaction, "Exceeded max allowed for one transaction");
        require(totalSupply() + _quantity <= maxSupply, "Minting would exceed max supply, please decrease quantity");
        require(_quantity*presaleMintPrice == msg.value, "Incorrect amount of ETH sent");
        
        for (uint256 i = 0; i < _quantity; i++) {
            _tokenIdCounter.increment();
            _safeMint(msg.sender, _tokenIdCounter.current());
        }

        _totalMinted[msg.sender] = _quantity + count;
        if (totalSupply() == maxSupply) {
            mintState = MintState.SOLD_OUT;
        }
    }

    function isInWhitelist(bytes32[] memory proof, address _account) public view returns (bool) {
        return MerkleProof.verify(proof, merkleRoot, keccak256(abi.encodePacked(_account)));
    }
   
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory)
    {
        require(_exists(tokenId), "URI query for nonexistent token");

        string memory currentBaseURI = baseURI;
        string memory filename = "";

        if (_useHashedFilenames) {
            bytes32 tokenHash = sha256(abi.encodePacked(_tokenSalt, tokenId.toString()));

            for(uint i = 0; i < 32; i++) {
                bytes1 data = tokenHash[i];
                string memory hexString = uint8ToHexString(uint8(data));
                filename = append(filename, hexString);
            }
        } else {
            filename = tokenId.toString();
        }
        
        return bytes(currentBaseURI).length > 0
            ? string(abi.encodePacked(currentBaseURI, "/", filename, ".json"))
            : "";
    }

    function burn(uint256 tokenId) public virtual override {
        require(isBurnable, "Burning is disabled");
        super.burn(tokenId);
    }

    // MARK: onlyOwner

    function setMerkleRoot(bytes32 _root) public onlyOwner {
        merkleRoot = _root;
    }

    function setBaseURI(string memory _uri) public onlyOwner {
        baseURI = _uri;
    }

    function setPublicMintPrice(uint256 _price) public onlyOwner {
        publicSaleMintPrice = _price;
    }

    function setPresaleMintPrice(uint256 _price) public onlyOwner {
        presaleMintPrice = _price;
    }

    function setMintState(uint8 _state) public onlyOwner {
        mintState = MintState(_state);
    }

    function setReservedQuantity(uint16 _quantity) public onlyOwner {
        reserved = _quantity;
    }

    function setUseHashedFilenames(bool useHashedFilenames_) public onlyOwner {
        _useHashedFilenames = useHashedFilenames_;
    }

    function setTokenSalt(string memory tokenSalt_) public onlyOwner {
        _tokenSalt = tokenSalt_;
    }

    function toggleBurnable() public onlyOwner {
        isBurnable = !isBurnable;
    }

    function setSaleRestrictions(
        uint16 _presaleMaxPerTransaction,
        uint16 _presaleMaxPerWallet, 
        uint16 _publicSaleMaxPerTransaction, 
        uint16 _publicSaleMaxPerWallet,
        uint16 _maxSupply) 
        public onlyOwner {
        presaleMaxPerTransaction = _presaleMaxPerTransaction;
        presaleMaxPerWallet = _presaleMaxPerWallet;
        publicSaleMaxPerTransaction = _publicSaleMaxPerTransaction;
        publicSaleMaxPerWallet = _publicSaleMaxPerWallet;
        maxSupply = _maxSupply;
    } 

    function claimReserved(address addr, uint256 _quantity) public onlyOwner {
        uint256 supply = totalSupply();
        require(supply < maxSupply, "Collection has sold out");
        require(_quantity + supply <= maxSupply, "Minting would exceed the max supply, please decrease quantity");
        require(_numOfReservedClaimed.current() < reserved, "Already minted all of the reserved NFTs");
        require(_quantity + _numOfReservedClaimed.current() <= reserved, "Minting would exceed the limit of reserved NFTs. Please decrease quantity.");

        for(uint256 i = 0; i < _quantity; i++) {
            _tokenIdCounter.increment();
            _mint(addr, _tokenIdCounter.current());
            _numOfReservedClaimed.increment();
        }

         if (totalSupply() == maxSupply) {
            mintState = MintState.SOLD_OUT;
        }
    }

    function contractBalance() public view onlyOwner returns(uint256) {
        return address(this).balance;
    }

    function withdrawAll() public onlyOwner {
        uint256 balance = contractBalance();
        require(balance > 0, "Balance must be more than 0");

        for(uint256 i = 0; i < _payees.length; i++) {
            address payee = _payees[i];
            uint256 numOfShares = _shares[payee];

            if (numOfShares > 0) {
                _withdraw(payee, (balance * numOfShares)/1000);
            }
        }

        require(contractBalance() == 0, "Did not withdraw all funds");
    }

    function shares(address account) public view onlyOwner returns(uint256) {
        return _shares[account];
    }

    function payees() public view onlyOwner returns(address[] memory) {
        return _payees;
    }

    function updatePayouts(
        address[] memory payees_, 
        uint256[] memory shares_) 
        public 
        onlyOwner {
        _payees = new address[](0);

        for(uint256 i = 0; i < payees_.length; i++) {
            _addPayee(payees_[i], shares_[i]);
        }
    }

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

    function _addPayee(address account, uint256 shares_) private {
        require(account != address(0), "Account is the zero address");
        require(shares_ > 0, "Shares are 0");

        _payees.push(account);
        _shares[account] = shares_;
    }

    // MARK - Utilities

    function uint8toHexChar(uint8 i) internal pure returns (uint8) {
        return (i > 9) ?
            (i + 87) : // ascii a-f
            (i + 48); // ascii 0-9
    }

     function uint8ToHexString(uint8 i) internal pure returns (string memory) {
        bytes memory o = new bytes(2);
        uint24 mask = 0x0f;
        o[1] = bytes1(uint8toHexChar(uint8(i & mask)));
        i = i >> 4;
        o[0] = bytes1(uint8toHexChar(uint8(i & mask)));
        return string(o);
    }

    function append(string memory a, string memory b) internal pure returns (string memory) {
        return string(abi.encodePacked(a, b));
    }
}

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Trees proofs.
 *
 * The proofs can be generated using the JavaScript library
 * https://github.com/miguelmota/merkletreejs[merkletreejs].
 * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
 *
 * See `test/utils/cryptography/MerkleProof.test.js` for some examples.
 */
library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(
        bytes32[] memory proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProof(proof, leaf) == root;
    }

    /**
     * @dev Returns the rebuilt hash obtained by traversing a Merklee tree up
     * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt
     * hash matches the root of the tree. When processing the proof, the pairs
     * of leafs & pre-images are assumed to be sorted.
     *
     * _Available since v4.4._
     */
    function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            bytes32 proofElement = proof[i];
            if (computedHash <= proofElement) {
                // Hash(current computed hash + current element of the proof)
                computedHash = keccak256(abi.encodePacked(computedHash, proofElement));
            } else {
                // Hash(current element of the proof + current computed hash)
                computedHash = keccak256(abi.encodePacked(proofElement, computedHash));
            }
        }
        return computedHash;
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

pragma solidity ^0.8.0;

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

/**
 * @title ERC721 Burnable Token
 * @dev ERC721 Token that can be irreversibly burned (destroyed).
 */
abstract contract ERC721Burnable is Context, ERC721 {
    /**
     * @dev Burns `tokenId`. See {ERC721-_burn}.
     *
     * Requirements:
     *
     * - The caller must own `tokenId` or be an approved operator.
     */
    function burn(uint256 tokenId) public virtual {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721Burnable: caller is not owner nor approved");
        _burn(tokenId);
    }
}

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);
    }

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"address[]","name":"payees_","type":"address[]"},{"internalType":"uint256[]","name":"shares_","type":"uint256[]"},{"internalType":"string","name":"tokenSalt_","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"claimReserved","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"contractBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isBurnable","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"},{"internalType":"address","name":"_account","type":"address"}],"name":"isInWhitelist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isOwner","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"_quantity","type":"uint16"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_quantity","type":"uint16"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"mintPreSale","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintState","outputs":[{"internalType":"enum CryptoCrimeClub.MintState","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"payees","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presaleMaxPerTransaction","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presaleMaxPerWallet","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presaleMintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSaleMaxPerTransaction","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSaleMaxPerWallet","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSaleMintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reserved","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_root","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"_state","type":"uint8"}],"name":"setMintState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setPresaleMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setPublicMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_quantity","type":"uint16"}],"name":"setReservedQuantity","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_presaleMaxPerTransaction","type":"uint16"},{"internalType":"uint16","name":"_presaleMaxPerWallet","type":"uint16"},{"internalType":"uint16","name":"_publicSaleMaxPerTransaction","type":"uint16"},{"internalType":"uint16","name":"_publicSaleMaxPerWallet","type":"uint16"},{"internalType":"uint16","name":"_maxSupply","type":"uint16"}],"name":"setSaleRestrictions","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"tokenSalt_","type":"string"}],"name":"setTokenSalt","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"useHashedFilenames_","type":"bool"}],"name":"setUseHashedFilenames","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"shares","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":[],"name":"toggleBurnable","outputs":[],"stateMutability":"nonpayable","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":"address[]","name":"payees_","type":"address[]"},{"internalType":"uint256[]","name":"shares_","type":"uint256[]"}],"name":"updatePayouts","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526006805461ffff60a01b1916601960a31b1761ffff60b01b191661027160b31b1760ff60c01b1916905567011c37937e08000060085560098054600361ffff199182161763ffff000019908116620300001790925567013fbe85edc90000600a55600b8054600592169190911790911662320000179055600d80546000919060ff191660018302179055506014805460ff19166001179055348015620000a957600080fd5b506040516200473c3803806200473c833981016040819052620000cc9162000584565b604080518082018252600f81526e21b93cb83a37a1b934b6b2a1b63ab160891b60208083019182528351808501909452600384526243434360e81b9084015281519192916200011e9160009162000381565b5080516200013490600190602084019062000381565b505050620001516200014b6200017c60201b60201c565b62000180565b80516200016690601390602084019062000381565b50620001738383620001d2565b505050620007e3565b3390565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b620001dc6200017c565b6001600160a01b0316620001ef620002ca565b6001600160a01b031614620002215760405162461bcd60e51b81526004016200021890620006aa565b60405180910390fd5b6040805160008152602081019182905251620002409160119162000410565b5060005b8251811015620002c557620002b08382815181106200027357634e487b7160e01b600052603260045260246000fd5b60200260200101518383815181106200029c57634e487b7160e01b600052603260045260246000fd5b6020026020010151620002d960201b60201c565b80620002bc81620007a5565b91505062000244565b505050565b6006546001600160a01b031690565b6001600160a01b038216620003025760405162461bcd60e51b81526004016200021890620006df565b60008111620003255760405162461bcd60e51b8152600401620002189062000684565b60118054600181019091557f31ecc21a745e3968a04e9570e4425bc18fa8019c68028196b546d1669c200c680180546001600160a01b039093166001600160a01b03199093168317905560009182526012602052604090912055565b8280546200038f9062000768565b90600052602060002090601f016020900481019282620003b35760008555620003fe565b82601f10620003ce57805160ff1916838001178555620003fe565b82800160010185558215620003fe579182015b82811115620003fe578251825591602001919060010190620003e1565b506200040c92915062000468565b5090565b828054828255906000526020600020908101928215620003fe579160200282015b82811115620003fe57825182546001600160a01b0319166001600160a01b0390911617825560209092019160019091019062000431565b5b808211156200040c576000815560010162000469565b600082601f83011262000490578081fd5b81516020620004a9620004a38362000742565b62000716565b8281528181019085830183850287018401881015620004c6578586fd5b855b85811015620004e657815184529284019290840190600101620004c8565b5090979650505050505050565b600082601f83011262000504578081fd5b81516001600160401b03811115620005205762000520620007cd565b602062000536601f8301601f1916820162000716565b82815285828487010111156200054a578384fd5b835b83811015620005695785810183015182820184015282016200054c565b838111156200057a57848385840101525b5095945050505050565b60008060006060848603121562000599578283fd5b83516001600160401b0380821115620005b0578485fd5b818601915086601f830112620005c4578485fd5b81516020620005d7620004a38362000742565b82815281810190858301838502870184018c1015620005f457898afd5b8996505b848710156200062d5780516001600160a01b038116811462000618578a8bfd5b835260019690960195918301918301620005f8565b509189015191975090935050508082111562000647578384fd5b62000655878388016200047f565b935060408601519150808211156200066b578283fd5b506200067a86828701620004f3565b9150509250925092565b6020808252600c908201526b05368617265732061726520360a41b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252601b908201527f4163636f756e7420697320746865207a65726f20616464726573730000000000604082015260600190565b6040518181016001600160401b03811182821017156200073a576200073a620007cd565b604052919050565b60006001600160401b038211156200075e576200075e620007cd565b5060209081020190565b6002810460018216806200077d57607f821691505b602082108114156200079f57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415620007c657634e487b7160e01b81526011600452602481fd5b5060010190565b634e487b7160e01b600052604160045260246000fd5b613f4980620007f36000396000f3fe6080604052600436106102c95760003560e01c80636352211e11610175578063a22cb465116100dc578063d092763b11610095578063e985e9c51161006f578063e985e9c5146107f3578063f11cb0af14610813578063f2fde38b14610833578063fe60d12c14610853576102c9565b8063d092763b1461079e578063d1dadcf3146107be578063d5abeb01146107de576102c9565b8063a22cb465146106e7578063b3cc59db14610707578063b88d4fde1461071c578063c051e38a1461073c578063c87b56dd1461075e578063ce7c2ac21461077e576102c9565b8063853828b61161012e578063853828b614610669578063883356d91461067e5780638b7afe2e146106935780638da5cb5b146106a85780638f32d59b146106bd57806395d89b41146106d2576102c9565b80636352211e146105ca5780636c0360eb146105ea57806370a08231146105ff578063715018a61461061f5780637cb64759146106345780637e15979014610654576102c9565b80632eb4a7ab1161023457806344b16597116101ed57806350cf22c1116101c757806350cf22c11461056057806355f804b3146105755780635be50521146105955780635d82cf6e146105aa576102c9565b806344b1659714610509578063472d3b1b146105295780634e8086aa1461053e576102c9565b80632eb4a7ab1461046157806337a13193146104765780633a1ab641146104965780633c63e5ff146104a957806342842e0e146104c957806342966c68146104e9576102c9565b806318160ddd1161028657806318160ddd146103b75780631a387bc3146103d95780631b5757f2146103ee57806322ac59291461040e57806323b872dd1461042e57806323cf0a221461044e576102c9565b806301ffc9a7146102ce578063045a4f581461030457806306fdde0314610326578063081812fc14610348578063095ea7b31461037557806312c23bd814610395575b600080fd5b3480156102da57600080fd5b506102ee6102e9366004612d29565b610868565b6040516102fb91906130db565b60405180910390f35b34801561031057600080fd5b5061032461031f366004612da7565b6108b0565b005b34801561033257600080fd5b5061033b61091a565b6040516102fb9190613117565b34801561035457600080fd5b50610368610363366004612cf9565b6109ac565b6040516102fb919061303d565b34801561038157600080fd5b50610324610390366004612bb5565b6109ef565b3480156103a157600080fd5b506103aa610a87565b6040516102fb9190613d18565b3480156103c357600080fd5b506103cc610a97565b6040516102fb91906130e6565b3480156103e557600080fd5b506103cc610aa8565b3480156103fa57600080fd5b50610324610409366004612bb5565b610aae565b34801561041a57600080fd5b50610324610429366004612cdf565b610c44565b34801561043a57600080fd5b50610324610449366004612ad8565b610c96565b61032461045c366004612da7565b610cce565b34801561046d57600080fd5b506103cc610f7e565b34801561048257600080fd5b50610324610491366004612cf9565b610f84565b6103246104a4366004612dc1565b610fc8565b3480156104b557600080fd5b506103246104c4366004612e03565b61125c565b3480156104d557600080fd5b506103246104e4366004612ad8565b6112fc565b3480156104f557600080fd5b50610324610504366004612cf9565b611317565b34801561051557600080fd5b506102ee610524366004612c9c565b61134c565b34801561053557600080fd5b506103aa611388565b34801561054a57600080fd5b50610553611398565b6040516102fb919061308e565b34801561056c57600080fd5b506103aa611438565b34801561058157600080fd5b50610324610590366004612d61565b611442565b3480156105a157600080fd5b506103cc611498565b3480156105b657600080fd5b506103246105c5366004612cf9565b61149e565b3480156105d657600080fd5b506103686105e5366004612cf9565b6114e2565b3480156105f657600080fd5b5061033b611517565b34801561060b57600080fd5b506103cc61061a366004612a8c565b6115a5565b34801561062b57600080fd5b506103246115e9565b34801561064057600080fd5b5061032461064f366004612cf9565b611634565b34801561066057600080fd5b506103aa611678565b34801561067557600080fd5b50610324611682565b34801561068a57600080fd5b506102ee6117a6565b34801561069f57600080fd5b506103cc6117b6565b3480156106b457600080fd5b506103686117fc565b3480156106c957600080fd5b506102ee61180b565b3480156106de57600080fd5b5061033b611825565b3480156106f357600080fd5b50610324610702366004612b8c565b611834565b34801561071357600080fd5b50610324611846565b34801561072857600080fd5b50610324610737366004612b13565b6118a6565b34801561074857600080fd5b506107516118e5565b6040516102fb91906130ef565b34801561076a57600080fd5b5061033b610779366004612cf9565b6118ee565b34801561078a57600080fd5b506103cc610799366004612a8c565b611aff565b3480156107aa57600080fd5b506103246107b9366004612d61565b611b5c565b3480156107ca57600080fd5b506103246107d9366004612bde565b611bae565b3480156107ea57600080fd5b506103aa611c81565b3480156107ff57600080fd5b506102ee61080e366004612aa6565b611c92565b34801561081f57600080fd5b5061032461082e366004612e67565b611cc0565b34801561083f57600080fd5b5061032461084e366004612a8c565b611d54565b34801561085f57600080fd5b506103aa611dc2565b60006001600160e01b031982166380ac58cd60e01b148061089957506001600160e01b03198216635b5e139f60e01b145b806108a857506108a882611dd3565b90505b919050565b6108b8611dec565b6001600160a01b03166108c96117fc565b6001600160a01b0316146108f85760405162461bcd60e51b81526004016108ef9061386e565b60405180910390fd5b6006805461ffff909216600160a01b0261ffff60a01b19909216919091179055565b60606000805461092990613e51565b80601f016020809104026020016040519081016040528092919081815260200182805461095590613e51565b80156109a25780601f10610977576101008083540402835291602001916109a2565b820191906000526020600020905b81548152906001019060200180831161098557829003601f168201915b5050505050905090565b60006109b782611df0565b6109d35760405162461bcd60e51b81526004016108ef90613822565b506000908152600460205260409020546001600160a01b031690565b60006109fa826114e2565b9050806001600160a01b0316836001600160a01b03161415610a2e5760405162461bcd60e51b81526004016108ef906139a4565b806001600160a01b0316610a40611dec565b6001600160a01b03161480610a5c5750610a5c8161080e611dec565b610a785760405162461bcd60e51b81526004016108ef906135df565b610a828383611e0d565b505050565b60095462010000900461ffff1681565b6000610aa36010611e7b565b905090565b600a5481565b610ab6611dec565b6001600160a01b0316610ac76117fc565b6001600160a01b031614610aed5760405162461bcd60e51b81526004016108ef9061386e565b6000610af7610a97565b600654909150600160b01b900461ffff168110610b265760405162461bcd60e51b81526004016108ef9061317a565b600654600160b01b900461ffff16610b3e8284613d9e565b1115610b5c5760405162461bcd60e51b81526004016108ef906139e5565b600654600160a01b900461ffff16610b74600f611e7b565b10610b915760405162461bcd60e51b81526004016108ef90613316565b600654600160a01b900461ffff16610ba9600f611e7b565b610bb39084613d9e565b1115610bd15760405162461bcd60e51b81526004016108ef90613c40565b60005b82811015610c1557610be66010611e7f565b610bf984610bf46010611e7b565b611e88565b610c03600f611e7f565b80610c0d81613e8c565b915050610bd4565b50600654600160b01b900461ffff16610c2c610a97565b1415610a82575050600d805460ff1916600317905550565b610c4c611dec565b6001600160a01b0316610c5d6117fc565b6001600160a01b031614610c835760405162461bcd60e51b81526004016108ef9061386e565b6014805460ff1916911515919091179055565b610ca7610ca1611dec565b82611f67565b610cc35760405162461bcd60e51b81526004016108ef90613a8a565b610a82838383611fe4565b6003600d5460ff166003811115610cf557634e487b7160e01b600052602160045260246000fd5b1415610d135760405162461bcd60e51b81526004016108ef906131b1565b6002600d5460ff166003811115610d3a57634e487b7160e01b600052602160045260246000fd5b14610d575760405162461bcd60e51b81526004016108ef906134bb565b6000610d61610a97565b336000818152600e602052604090205491925061ffff909116903214610d995760405162461bcd60e51b81526004016108ef90613215565b33610db65760405162461bcd60e51b81526004016108ef90613b8b565b600654600160b01b900461ffff168210610de25760405162461bcd60e51b81526004016108ef9061335d565b600b5461ffff62010000909104811690821610610e115760405162461bcd60e51b81526004016108ef906136cf565b600b5462010000900461ffff16610e288483613d81565b61ffff161115610e4a5760405162461bcd60e51b81526004016108ef90613b12565b60008361ffff1611610e6e5760405162461bcd60e51b81526004016108ef90613adb565b600b5461ffff9081169084161115610e985760405162461bcd60e51b81526004016108ef90613958565b60065461ffff600160b01b909104811690610eb590851684613d9e565b1115610ed35760405162461bcd60e51b81526004016108ef90613cb0565b8261ffff16600a54610ee59190613def565b3414610f035760405162461bcd60e51b81526004016108ef90613256565b60005b8361ffff16811015610f4157610f1c6010611e7f565b610f2f33610f2a6010611e7b565b612111565b80610f3981613e8c565b915050610f06565b50610f4c8184613d81565b336000908152600e60205260409020805461ffff191661ffff928316179055600654600160b01b900416610c2c610a97565b600c5481565b610f8c611dec565b6001600160a01b0316610f9d6117fc565b6001600160a01b031614610fc35760405162461bcd60e51b81526004016108ef9061386e565b600855565b6003600d5460ff166003811115610fef57634e487b7160e01b600052602160045260246000fd5b141561100d5760405162461bcd60e51b81526004016108ef906131b1565b6001600d5460ff16600381111561103457634e487b7160e01b600052602160045260246000fd5b146110515760405162461bcd60e51b81526004016108ef90613433565b336000818152600e602052604090205461ffff169032146110845760405162461bcd60e51b81526004016108ef90613215565b336110a15760405162461bcd60e51b81526004016108ef90613b8b565b6110ab823361134c565b6110c75760405162461bcd60e51b81526004016108ef906138a3565b60095461ffff620100009091048116908216106110f65760405162461bcd60e51b81526004016108ef9061312a565b60095462010000900461ffff1661110d8483613d81565b61ffff16111561112f5760405162461bcd60e51b81526004016108ef90613706565b600654600160b01b900461ffff16611145610a97565b106111625760405162461bcd60e51b81526004016108ef906131e8565b60008361ffff16116111865760405162461bcd60e51b81526004016108ef90613adb565b60095461ffff90811690841611156111b05760405162461bcd60e51b81526004016108ef90613a42565b60065461ffff600160b01b90910481169084166111cb610a97565b6111d59190613d9e565b11156111f35760405162461bcd60e51b81526004016108ef9061345e565b346008548461ffff166112069190613def565b146112235760405162461bcd60e51b81526004016108ef90613256565b60005b8361ffff16811015610f415761123c6010611e7f565b61124a33610f2a6010611e7b565b8061125481613e8c565b915050611226565b611264611dec565b6001600160a01b03166112756117fc565b6001600160a01b03161461129b5760405162461bcd60e51b81526004016108ef9061386e565b6009805461ffff1990811661ffff9788161763ffff00001990811662010000978916880217909255600b805490911694871694909417169185169093021790556006805461ffff60b01b1916600160b01b9290931691909102919091179055565b610a82838383604051806020016040528060008152506118a6565b600654600160c01b900460ff166113405760405162461bcd60e51b81526004016108ef90613789565b6113498161212b565b50565b600061138183600c54846040516020016113669190612ed0565b6040516020818303038152906040528051906020012061215b565b9392505050565b600b5462010000900461ffff1681565b60606113a2611dec565b6001600160a01b03166113b36117fc565b6001600160a01b0316146113d95760405162461bcd60e51b81526004016108ef9061386e565b60118054806020026020016040519081016040528092919081815260200182805480156109a257602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311611411575050505050905090565b60095461ffff1681565b61144a611dec565b6001600160a01b031661145b6117fc565b6001600160a01b0316146114815760405162461bcd60e51b81526004016108ef9061386e565b80516114949060079060208401906128a1565b5050565b60085481565b6114a6611dec565b6001600160a01b03166114b76117fc565b6001600160a01b0316146114dd5760405162461bcd60e51b81526004016108ef9061386e565b600a55565b6000818152600260205260408120546001600160a01b0316806108a85760405162461bcd60e51b81526004016108ef90613686565b6007805461152490613e51565b80601f016020809104026020016040519081016040528092919081815260200182805461155090613e51565b801561159d5780601f106115725761010080835404028352916020019161159d565b820191906000526020600020905b81548152906001019060200180831161158057829003601f168201915b505050505081565b60006001600160a01b0382166115cd5760405162461bcd60e51b81526004016108ef9061363c565b506001600160a01b031660009081526003602052604090205490565b6115f1611dec565b6001600160a01b03166116026117fc565b6001600160a01b0316146116285760405162461bcd60e51b81526004016108ef9061386e565b6116326000612171565b565b61163c611dec565b6001600160a01b031661164d6117fc565b6001600160a01b0316146116735760405162461bcd60e51b81526004016108ef9061386e565b600c55565b600b5461ffff1681565b61168a611dec565b6001600160a01b031661169b6117fc565b6001600160a01b0316146116c15760405162461bcd60e51b81526004016108ef9061386e565b60006116cb6117b6565b9050600081116116ed5760405162461bcd60e51b81526004016108ef906137eb565b60005b6011548110156117805760006011828154811061171d57634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b03168083526012909152604090912054909150801561176b5761176b826103e861175c8488613def565b6117669190613ddb565b6121c3565b5050808061177890613e8c565b9150506116f0565b506117896117b6565b156113495760405162461bcd60e51b81526004016108ef906133fc565b600654600160c01b900460ff1681565b60006117c0611dec565b6001600160a01b03166117d16117fc565b6001600160a01b0316146117f75760405162461bcd60e51b81526004016108ef9061386e565b504790565b6006546001600160a01b031690565b6000336118166117fc565b6001600160a01b031614905090565b60606001805461092990613e51565b61149461183f611dec565b838361223f565b61184e611dec565b6001600160a01b031661185f6117fc565b6001600160a01b0316146118855760405162461bcd60e51b81526004016108ef9061386e565b6006805460ff60c01b198116600160c01b9182900460ff1615909102179055565b6118b76118b1611dec565b83611f67565b6118d35760405162461bcd60e51b81526004016108ef90613a8a565b6118df848484846122e2565b50505050565b600d5460ff1681565b60606118f982611df0565b6119155760405162461bcd60e51b81526004016108ef9061328d565b60006007805461192490613e51565b80601f016020809104026020016040519081016040528092919081815260200182805461195090613e51565b801561199d5780601f106119725761010080835404028352916020019161199d565b820191906000526020600020905b81548152906001019060200180831161198057829003601f168201915b50506040805160208101909152600081526014549495509360ff16159250611aaa915050576000600260136119d187612315565b6040516020016119e2929190612f94565b60408051601f19818403018152908290526119fc91612efb565b602060405180830381855afa158015611a19573d6000803e3d6000fd5b5050506040513d601f19601f82011682018060405250810190611a3c9190612d11565b905060005b6020811015611aa3576000828260208110611a6c57634e487b7160e01b600052603260045260246000fd5b1a60f81b90506000611a808260f81c612430565b9050611a8c85826124f8565b945050508080611a9b90613e8c565b915050611a41565b5050611ab6565b611ab384612315565b90505b6000825111611ad45760405180602001604052806000815250611af7565b8181604051602001611ae7929190612f46565b6040516020818303038152906040525b949350505050565b6000611b09611dec565b6001600160a01b0316611b1a6117fc565b6001600160a01b031614611b405760405162461bcd60e51b81526004016108ef9061386e565b506001600160a01b031660009081526012602052604090205490565b611b64611dec565b6001600160a01b0316611b756117fc565b6001600160a01b031614611b9b5760405162461bcd60e51b81526004016108ef9061386e565b80516114949060139060208401906128a1565b611bb6611dec565b6001600160a01b0316611bc76117fc565b6001600160a01b031614611bed5760405162461bcd60e51b81526004016108ef9061386e565b6040805160008152602081019182905251611c0a91601191612925565b5060005b8251811015610a8257611c6f838281518110611c3a57634e487b7160e01b600052603260045260246000fd5b6020026020010151838381518110611c6257634e487b7160e01b600052603260045260246000fd5b6020026020010151612524565b80611c7981613e8c565b915050611c0e565b600654600160b01b900461ffff1681565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b611cc8611dec565b6001600160a01b0316611cd96117fc565b6001600160a01b031614611cff5760405162461bcd60e51b81526004016108ef9061386e565b8060ff166003811115611d2257634e487b7160e01b600052602160045260246000fd5b600d805460ff19166001836003811115611d4c57634e487b7160e01b600052602160045260246000fd5b021790555050565b611d5c611dec565b6001600160a01b0316611d6d6117fc565b6001600160a01b031614611d935760405162461bcd60e51b81526004016108ef9061386e565b6001600160a01b038116611db95760405162461bcd60e51b81526004016108ef9061337f565b61134981612171565b600654600160a01b900461ffff1681565b6001600160e01b031981166301ffc9a760e01b14919050565b3390565b6000908152600260205260409020546001600160a01b0316151590565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611e42826114e2565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b5490565b80546001019055565b6001600160a01b038216611eae5760405162461bcd60e51b81526004016108ef906137b6565b611eb781611df0565b15611ed45760405162461bcd60e51b81526004016108ef906133c5565b611ee060008383610a82565b6001600160a01b0382166000908152600360205260408120805460019290611f09908490613d9e565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6000611f7282611df0565b611f8e5760405162461bcd60e51b81526004016108ef90613593565b6000611f99836114e2565b9050806001600160a01b0316846001600160a01b03161480611fd45750836001600160a01b0316611fc9846109ac565b6001600160a01b0316145b80611af75750611af78185611c92565b826001600160a01b0316611ff7826114e2565b6001600160a01b03161461201d5760405162461bcd60e51b81526004016108ef906138d8565b6001600160a01b0382166120435760405162461bcd60e51b81526004016108ef906134f2565b61204e838383610a82565b612059600082611e0d565b6001600160a01b0383166000908152600360205260408120805460019290612082908490613e0e565b90915550506001600160a01b03821660009081526003602052604081208054600192906120b0908490613d9e565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6114948282604051806020016040528060008152506125c6565b612136610ca1611dec565b6121525760405162461bcd60e51b81526004016108ef90613bf0565b611349816125f9565b60008261216885846126a0565b14949350505050565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6000826001600160a01b0316826040516121dc9061303a565b60006040518083038185875af1925050503d8060008114612219576040519150601f19603f3d011682016040523d82523d6000602084013e61221e565b606091505b5050905080610a825760405162461bcd60e51b81526004016108ef90613bc2565b816001600160a01b0316836001600160a01b031614156122715760405162461bcd60e51b81526004016108ef90613536565b6001600160a01b0383811660008181526005602090815260408083209487168084529490915290819020805460ff1916851515179055517f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31906122d59085906130db565b60405180910390a3505050565b6122ed848484611fe4565b6122f984848484612758565b6118df5760405162461bcd60e51b81526004016108ef906132c4565b60608161233a57506040805180820190915260018152600360fc1b60208201526108ab565b8160005b8115612364578061234e81613e8c565b915061235d9050600a83613ddb565b915061233e565b60008167ffffffffffffffff81111561238d57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156123b7576020820181803683370190505b5090505b8415611af7576123cc600183613e0e565b91506123d9600a86613ea7565b6123e4906030613d9e565b60f81b81838151811061240757634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350612429600a86613ddb565b94506123bb565b60408051600280825281830190925260609160009190602082018180368337019050509050600f612462848216612873565b60f81b8260018151811061248657634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535060048460ff16901c93506124b5818560ff1616612873565b60f81b826000815181106124d957634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350909392505050565b6060828260405160200161250d929190612f17565b604051602081830303815290604052905092915050565b6001600160a01b03821661254a5760405162461bcd60e51b81526004016108ef90613921565b6000811161256a5760405162461bcd60e51b81526004016108ef9061356d565b60118054600181019091557f31ecc21a745e3968a04e9570e4425bc18fa8019c68028196b546d1669c200c680180546001600160a01b039093166001600160a01b03199093168317905560009182526012602052604090912055565b6125d08383611e88565b6125dd6000848484612758565b610a825760405162461bcd60e51b81526004016108ef906132c4565b6000612604826114e2565b905061261281600084610a82565b61261d600083611e0d565b6001600160a01b0381166000908152600360205260408120805460019290612646908490613e0e565b909155505060008281526002602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b600081815b84518110156127505760008582815181106126d057634e487b7160e01b600052603260045260246000fd5b602002602001015190508083116127115782816040516020016126f4929190612eed565b60405160208183030381529060405280519060200120925061273d565b8083604051602001612724929190612eed565b6040516020818303038152906040528051906020012092505b508061274881613e8c565b9150506126a5565b509392505050565b600061276c846001600160a01b031661289b565b1561286857836001600160a01b031663150b7a02612788611dec565b8786866040518563ffffffff1660e01b81526004016127aa9493929190613051565b602060405180830381600087803b1580156127c457600080fd5b505af19250505080156127f4575060408051601f3d908101601f191682019092526127f191810190612d45565b60015b61284e573d808015612822576040519150601f19603f3d011682016040523d82523d6000602084013e612827565b606091505b5080516128465760405162461bcd60e51b81526004016108ef906132c4565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611af7565b506001949350505050565b600060098260ff16116128905761288b826030613db6565b6108a8565b6108a8826057613db6565b3b151590565b8280546128ad90613e51565b90600052602060002090601f0160209004810192826128cf5760008555612915565b82601f106128e857805160ff1916838001178555612915565b82800160010185558215612915579182015b828111156129155782518255916020019190600101906128fa565b5061292192915061297a565b5090565b828054828255906000526020600020908101928215612915579160200282015b8281111561291557825182546001600160a01b0319166001600160a01b03909116178255602090920191600190910190612945565b5b80821115612921576000815560010161297b565b600067ffffffffffffffff8311156129a9576129a9613ee7565b6129bc601f8401601f1916602001613d27565b90508281528383830111156129d057600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b03811681146108ab57600080fd5b600082601f830112612a0e578081fd5b81356020612a23612a1e83613d51565b613d27565b8281528181019085830183850287018401881015612a3f578586fd5b855b85811015612a5d57813584529284019290840190600101612a41565b5090979650505050505050565b803580151581146108ab57600080fd5b803561ffff811681146108ab57600080fd5b600060208284031215612a9d578081fd5b611381826129e7565b60008060408385031215612ab8578081fd5b612ac1836129e7565b9150612acf602084016129e7565b90509250929050565b600080600060608486031215612aec578081fd5b612af5846129e7565b9250612b03602085016129e7565b9150604084013590509250925092565b60008060008060808587031215612b28578081fd5b612b31856129e7565b9350612b3f602086016129e7565b925060408501359150606085013567ffffffffffffffff811115612b61578182fd5b8501601f81018713612b71578182fd5b612b808782356020840161298f565b91505092959194509250565b60008060408385031215612b9e578182fd5b612ba7836129e7565b9150612acf60208401612a6a565b60008060408385031215612bc7578182fd5b612bd0836129e7565b946020939093013593505050565b60008060408385031215612bf0578182fd5b823567ffffffffffffffff80821115612c07578384fd5b818501915085601f830112612c1a578384fd5b81356020612c2a612a1e83613d51565b82815281810190858301838502870184018b1015612c46578889fd5b8896505b84871015612c6f57612c5b816129e7565b835260019690960195918301918301612c4a565b5096505086013592505080821115612c85578283fd5b50612c92858286016129fe565b9150509250929050565b60008060408385031215612cae578182fd5b823567ffffffffffffffff811115612cc4578283fd5b612cd0858286016129fe565b925050612acf602084016129e7565b600060208284031215612cf0578081fd5b61138182612a6a565b600060208284031215612d0a578081fd5b5035919050565b600060208284031215612d22578081fd5b5051919050565b600060208284031215612d3a578081fd5b813561138181613efd565b600060208284031215612d56578081fd5b815161138181613efd565b600060208284031215612d72578081fd5b813567ffffffffffffffff811115612d88578182fd5b8201601f81018413612d98578182fd5b611af78482356020840161298f565b600060208284031215612db8578081fd5b61138182612a7a565b60008060408385031215612dd3578182fd5b612ddc83612a7a565b9150602083013567ffffffffffffffff811115612df7578182fd5b612c92858286016129fe565b600080600080600060a08688031215612e1a578283fd5b612e2386612a7a565b9450612e3160208701612a7a565b9350612e3f60408701612a7a565b9250612e4d60608701612a7a565b9150612e5b60808701612a7a565b90509295509295909350565b600060208284031215612e78578081fd5b813560ff81168114611381578182fd5b60008151808452612ea0816020860160208601613e25565b601f01601f19169290920160200192915050565b60008151612ec6818560208601613e25565b9290920192915050565b60609190911b6bffffffffffffffffffffffff1916815260140190565b918252602082015260400190565b60008251612f0d818460208701613e25565b9190910192915050565b60008351612f29818460208801613e25565b835190830190612f3d818360208801613e25565b01949350505050565b60008351612f58818460208801613e25565b602f60f81b9083019081528351612f76816001840160208801613e25565b64173539b7b760d91b60019290910191820152600601949350505050565b8254600090819060028104600180831680612fb057607f831692505b6020808410821415612fd057634e487b7160e01b87526022600452602487fd5b818015612fe45760018114612ff557613021565b60ff19861689528489019650613021565b612ffe8b613d75565b885b868110156130195781548b820152908501908301613000565b505084890196505b5050505050506130318185612eb4565b95945050505050565b90565b6001600160a01b0391909116815260200190565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061308490830184612e88565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b818110156130cf5783516001600160a01b0316835292840192918401916001016130aa565b50909695505050505050565b901515815260200190565b90815260200190565b602081016004831061311157634e487b7160e01b600052602160045260246000fd5b91905290565b6000602082526113816020830184612e88565b60208082526030908201527f4578636565646564206d6178206d696e7420616c6c6f7765642070657220776160408201526f6c6c657420666f722050726573616c6560801b606082015260800190565b60208082526017908201527f436f6c6c656374696f6e2068617320736f6c64206f7574000000000000000000604082015260600190565b6020808252601b908201527f43727970746f4372696d65436c756220697320736f6c64206f75740000000000604082015260600190565b60208082526013908201527210dbdb1b1958dd1a5bdb8814dbdb190813dd5d606a1b604082015260600190565b60208082526021908201527f43616e6e6f74206d696e742066726f6d20616e6f7468657220636f6e747261636040820152601d60fa1b606082015260800190565b6020808252601c908201527f496e636f727265637420616d6f756e74206f66204554482073656e7400000000604082015260600190565b6020808252601f908201527f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e00604082015260600190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526027908201527f416c7265616479206d696e74656420616c6c206f6620746865207265736572766040820152666564204e46547360c81b606082015260800190565b60208082526008908201526714dbdb190813dd5d60c21b604082015260600190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252601c908201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604082015260600190565b6020808252601a908201527f446964206e6f7420776974686472617720616c6c2066756e6473000000000000604082015260600190565b602080825260119082015270141c995cd85b19481a5cc818db1bdcd959607a1b604082015260600190565b60208082526039908201527f4d696e74696e6720776f756c6420657863656564206d617820737570706c792c60408201527f20706c65617365206465637265617365207175616e7469747900000000000000606082015260800190565b6020808252601b908201527f5075626c69632073616c6520686173206e6f7420737461727465640000000000604082015260600190565b60208082526024908201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646040820152637265737360e01b606082015260800190565b60208082526019908201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604082015260600190565b6020808252600c908201526b05368617265732061726520360a41b604082015260600190565b6020808252602c908201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b60208082526038908201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760408201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606082015260800190565b6020808252602a908201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604082015269726f206164647265737360b01b606082015260800190565b60208082526029908201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460408201526832b73a103a37b5b2b760b91b606082015260800190565b6020808252601f908201527f4578636565646564206d617820616c6c6f776564207065722077616c6c657400604082015260600190565b6020808252605f908201527f4d696e74696e6720776f756c6420657863656564206d617820616c6c6f77656460408201527f207065722077616c6c657420666f722070726573616c652e20506c656173652060608201527f64656372656165207175616e7469747920616e642074727920616761696e2e00608082015260a00190565b602080825260139082015272109d5c9b9a5b99c81a5cc8191a5cd8589b1959606a1b604082015260600190565b6020808252818101527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604082015260600190565b6020808252601b908201527f42616c616e6365206d757374206265206d6f7265207468616e20300000000000604082015260600190565b6020808252602c908201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252818101527f596f7520617265206e6f7420656c696769626c6520666f722050726573616c65604082015260600190565b60208082526029908201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960408201526839903737ba1037bbb760b91b606082015260800190565b6020808252601b908201527f4163636f756e7420697320746865207a65726f20616464726573730000000000604082015260600190565b6020808252602c908201527f4d6f7265207468616e20746865206d617820616c6c6f77656420696e206f6e6560408201526b103a3930b739b0b1ba34b7b760a11b606082015260800190565b60208082526021908201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656040820152603960f91b606082015260800190565b6020808252603d908201527f4d696e74696e6720776f756c642065786365656420746865206d61782073757060408201527f706c792c20706c65617365206465637265617365207175616e74697479000000606082015260800190565b60208082526028908201527f4578636565646564206d617820616c6c6f77656420666f72206f6e65207472616040820152673739b0b1ba34b7b760c11b606082015260800190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252601a908201527f4e65656420746f206d696e74206174206c65617374206f6e6521000000000000604082015260600190565b60208082526053908201527f4d696e74696e6720776f756c6420657863656564206d617820616c6c6f77656460408201527f207065722077616c6c65742c20706c6561736520646563726561736520717561606082015272373a34ba3c9030b732103a393c9030b3b0b4b760691b608082015260a00190565b6020808252601b908201527f43616e6e6f74206d696e7420746f206e756c6c20616464726573730000000000604082015260600190565b6020808252601490820152736661696c6564207769746820776974686472617760601b604082015260600190565b60208082526030908201527f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760408201526f1b995c881b9bdc88185c1c1c9bdd995960821b606082015260800190565b6020808252604a908201527f4d696e74696e6720776f756c642065786365656420746865206c696d6974206f60408201527f66207265736572766564204e4654732e20506c656173652064656372656173656060820152691038bab0b73a34ba3c9760b11b608082015260a00190565b60208082526042908201527f4d696e74696e6720776f756c6420657863656564206d617820737570706c792c60408201527f20706c656173652073656c656374206120736d616c6c6572207175616e7469746060820152613c9760f11b608082015260a00190565b61ffff91909116815260200190565b60405181810167ffffffffffffffff81118282101715613d4957613d49613ee7565b604052919050565b600067ffffffffffffffff821115613d6b57613d6b613ee7565b5060209081020190565b60009081526020902090565b600061ffff808316818516808303821115612f3d57612f3d613ebb565b60008219821115613db157613db1613ebb565b500190565b600060ff821660ff84168060ff03821115613dd357613dd3613ebb565b019392505050565b600082613dea57613dea613ed1565b500490565b6000816000190483118215151615613e0957613e09613ebb565b500290565b600082821015613e2057613e20613ebb565b500390565b60005b83811015613e40578181015183820152602001613e28565b838111156118df5750506000910152565b600281046001821680613e6557607f821691505b60208210811415613e8657634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415613ea057613ea0613ebb565b5060010190565b600082613eb657613eb6613ed1565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461134957600080fdfea264697066735822122079cffb58f1a98c351d5b2bdce6391ee87ae3d6b07ca83c4a48587764ba5f26c064736f6c634300080000330000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000001e000000000000000000000000000000000000000000000000000000000000000050000000000000000000000001355e5c2c64747b8351b953e96d5491c79ff5b0c000000000000000000000000a6e74688b9d39e6e7e1fd2f6c78f4c87afafc701000000000000000000000000ca5e079c49cadbf58da38a1b93e65e13094908350000000000000000000000007046e2856387e552813e8cbc447bb642b4d485b4000000000000000000000000379bcfbd40dda55569dacc72469f54fcacda638a000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000007d00000000000000000000000000000000000000000000000000000000000000fa00000000000000000000000000000000000000000000000000000000000001db00000000000000000000000000000000000000000000000000000000000000046d6d616c00000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106102c95760003560e01c80636352211e11610175578063a22cb465116100dc578063d092763b11610095578063e985e9c51161006f578063e985e9c5146107f3578063f11cb0af14610813578063f2fde38b14610833578063fe60d12c14610853576102c9565b8063d092763b1461079e578063d1dadcf3146107be578063d5abeb01146107de576102c9565b8063a22cb465146106e7578063b3cc59db14610707578063b88d4fde1461071c578063c051e38a1461073c578063c87b56dd1461075e578063ce7c2ac21461077e576102c9565b8063853828b61161012e578063853828b614610669578063883356d91461067e5780638b7afe2e146106935780638da5cb5b146106a85780638f32d59b146106bd57806395d89b41146106d2576102c9565b80636352211e146105ca5780636c0360eb146105ea57806370a08231146105ff578063715018a61461061f5780637cb64759146106345780637e15979014610654576102c9565b80632eb4a7ab1161023457806344b16597116101ed57806350cf22c1116101c757806350cf22c11461056057806355f804b3146105755780635be50521146105955780635d82cf6e146105aa576102c9565b806344b1659714610509578063472d3b1b146105295780634e8086aa1461053e576102c9565b80632eb4a7ab1461046157806337a13193146104765780633a1ab641146104965780633c63e5ff146104a957806342842e0e146104c957806342966c68146104e9576102c9565b806318160ddd1161028657806318160ddd146103b75780631a387bc3146103d95780631b5757f2146103ee57806322ac59291461040e57806323b872dd1461042e57806323cf0a221461044e576102c9565b806301ffc9a7146102ce578063045a4f581461030457806306fdde0314610326578063081812fc14610348578063095ea7b31461037557806312c23bd814610395575b600080fd5b3480156102da57600080fd5b506102ee6102e9366004612d29565b610868565b6040516102fb91906130db565b60405180910390f35b34801561031057600080fd5b5061032461031f366004612da7565b6108b0565b005b34801561033257600080fd5b5061033b61091a565b6040516102fb9190613117565b34801561035457600080fd5b50610368610363366004612cf9565b6109ac565b6040516102fb919061303d565b34801561038157600080fd5b50610324610390366004612bb5565b6109ef565b3480156103a157600080fd5b506103aa610a87565b6040516102fb9190613d18565b3480156103c357600080fd5b506103cc610a97565b6040516102fb91906130e6565b3480156103e557600080fd5b506103cc610aa8565b3480156103fa57600080fd5b50610324610409366004612bb5565b610aae565b34801561041a57600080fd5b50610324610429366004612cdf565b610c44565b34801561043a57600080fd5b50610324610449366004612ad8565b610c96565b61032461045c366004612da7565b610cce565b34801561046d57600080fd5b506103cc610f7e565b34801561048257600080fd5b50610324610491366004612cf9565b610f84565b6103246104a4366004612dc1565b610fc8565b3480156104b557600080fd5b506103246104c4366004612e03565b61125c565b3480156104d557600080fd5b506103246104e4366004612ad8565b6112fc565b3480156104f557600080fd5b50610324610504366004612cf9565b611317565b34801561051557600080fd5b506102ee610524366004612c9c565b61134c565b34801561053557600080fd5b506103aa611388565b34801561054a57600080fd5b50610553611398565b6040516102fb919061308e565b34801561056c57600080fd5b506103aa611438565b34801561058157600080fd5b50610324610590366004612d61565b611442565b3480156105a157600080fd5b506103cc611498565b3480156105b657600080fd5b506103246105c5366004612cf9565b61149e565b3480156105d657600080fd5b506103686105e5366004612cf9565b6114e2565b3480156105f657600080fd5b5061033b611517565b34801561060b57600080fd5b506103cc61061a366004612a8c565b6115a5565b34801561062b57600080fd5b506103246115e9565b34801561064057600080fd5b5061032461064f366004612cf9565b611634565b34801561066057600080fd5b506103aa611678565b34801561067557600080fd5b50610324611682565b34801561068a57600080fd5b506102ee6117a6565b34801561069f57600080fd5b506103cc6117b6565b3480156106b457600080fd5b506103686117fc565b3480156106c957600080fd5b506102ee61180b565b3480156106de57600080fd5b5061033b611825565b3480156106f357600080fd5b50610324610702366004612b8c565b611834565b34801561071357600080fd5b50610324611846565b34801561072857600080fd5b50610324610737366004612b13565b6118a6565b34801561074857600080fd5b506107516118e5565b6040516102fb91906130ef565b34801561076a57600080fd5b5061033b610779366004612cf9565b6118ee565b34801561078a57600080fd5b506103cc610799366004612a8c565b611aff565b3480156107aa57600080fd5b506103246107b9366004612d61565b611b5c565b3480156107ca57600080fd5b506103246107d9366004612bde565b611bae565b3480156107ea57600080fd5b506103aa611c81565b3480156107ff57600080fd5b506102ee61080e366004612aa6565b611c92565b34801561081f57600080fd5b5061032461082e366004612e67565b611cc0565b34801561083f57600080fd5b5061032461084e366004612a8c565b611d54565b34801561085f57600080fd5b506103aa611dc2565b60006001600160e01b031982166380ac58cd60e01b148061089957506001600160e01b03198216635b5e139f60e01b145b806108a857506108a882611dd3565b90505b919050565b6108b8611dec565b6001600160a01b03166108c96117fc565b6001600160a01b0316146108f85760405162461bcd60e51b81526004016108ef9061386e565b60405180910390fd5b6006805461ffff909216600160a01b0261ffff60a01b19909216919091179055565b60606000805461092990613e51565b80601f016020809104026020016040519081016040528092919081815260200182805461095590613e51565b80156109a25780601f10610977576101008083540402835291602001916109a2565b820191906000526020600020905b81548152906001019060200180831161098557829003601f168201915b5050505050905090565b60006109b782611df0565b6109d35760405162461bcd60e51b81526004016108ef90613822565b506000908152600460205260409020546001600160a01b031690565b60006109fa826114e2565b9050806001600160a01b0316836001600160a01b03161415610a2e5760405162461bcd60e51b81526004016108ef906139a4565b806001600160a01b0316610a40611dec565b6001600160a01b03161480610a5c5750610a5c8161080e611dec565b610a785760405162461bcd60e51b81526004016108ef906135df565b610a828383611e0d565b505050565b60095462010000900461ffff1681565b6000610aa36010611e7b565b905090565b600a5481565b610ab6611dec565b6001600160a01b0316610ac76117fc565b6001600160a01b031614610aed5760405162461bcd60e51b81526004016108ef9061386e565b6000610af7610a97565b600654909150600160b01b900461ffff168110610b265760405162461bcd60e51b81526004016108ef9061317a565b600654600160b01b900461ffff16610b3e8284613d9e565b1115610b5c5760405162461bcd60e51b81526004016108ef906139e5565b600654600160a01b900461ffff16610b74600f611e7b565b10610b915760405162461bcd60e51b81526004016108ef90613316565b600654600160a01b900461ffff16610ba9600f611e7b565b610bb39084613d9e565b1115610bd15760405162461bcd60e51b81526004016108ef90613c40565b60005b82811015610c1557610be66010611e7f565b610bf984610bf46010611e7b565b611e88565b610c03600f611e7f565b80610c0d81613e8c565b915050610bd4565b50600654600160b01b900461ffff16610c2c610a97565b1415610a82575050600d805460ff1916600317905550565b610c4c611dec565b6001600160a01b0316610c5d6117fc565b6001600160a01b031614610c835760405162461bcd60e51b81526004016108ef9061386e565b6014805460ff1916911515919091179055565b610ca7610ca1611dec565b82611f67565b610cc35760405162461bcd60e51b81526004016108ef90613a8a565b610a82838383611fe4565b6003600d5460ff166003811115610cf557634e487b7160e01b600052602160045260246000fd5b1415610d135760405162461bcd60e51b81526004016108ef906131b1565b6002600d5460ff166003811115610d3a57634e487b7160e01b600052602160045260246000fd5b14610d575760405162461bcd60e51b81526004016108ef906134bb565b6000610d61610a97565b336000818152600e602052604090205491925061ffff909116903214610d995760405162461bcd60e51b81526004016108ef90613215565b33610db65760405162461bcd60e51b81526004016108ef90613b8b565b600654600160b01b900461ffff168210610de25760405162461bcd60e51b81526004016108ef9061335d565b600b5461ffff62010000909104811690821610610e115760405162461bcd60e51b81526004016108ef906136cf565b600b5462010000900461ffff16610e288483613d81565b61ffff161115610e4a5760405162461bcd60e51b81526004016108ef90613b12565b60008361ffff1611610e6e5760405162461bcd60e51b81526004016108ef90613adb565b600b5461ffff9081169084161115610e985760405162461bcd60e51b81526004016108ef90613958565b60065461ffff600160b01b909104811690610eb590851684613d9e565b1115610ed35760405162461bcd60e51b81526004016108ef90613cb0565b8261ffff16600a54610ee59190613def565b3414610f035760405162461bcd60e51b81526004016108ef90613256565b60005b8361ffff16811015610f4157610f1c6010611e7f565b610f2f33610f2a6010611e7b565b612111565b80610f3981613e8c565b915050610f06565b50610f4c8184613d81565b336000908152600e60205260409020805461ffff191661ffff928316179055600654600160b01b900416610c2c610a97565b600c5481565b610f8c611dec565b6001600160a01b0316610f9d6117fc565b6001600160a01b031614610fc35760405162461bcd60e51b81526004016108ef9061386e565b600855565b6003600d5460ff166003811115610fef57634e487b7160e01b600052602160045260246000fd5b141561100d5760405162461bcd60e51b81526004016108ef906131b1565b6001600d5460ff16600381111561103457634e487b7160e01b600052602160045260246000fd5b146110515760405162461bcd60e51b81526004016108ef90613433565b336000818152600e602052604090205461ffff169032146110845760405162461bcd60e51b81526004016108ef90613215565b336110a15760405162461bcd60e51b81526004016108ef90613b8b565b6110ab823361134c565b6110c75760405162461bcd60e51b81526004016108ef906138a3565b60095461ffff620100009091048116908216106110f65760405162461bcd60e51b81526004016108ef9061312a565b60095462010000900461ffff1661110d8483613d81565b61ffff16111561112f5760405162461bcd60e51b81526004016108ef90613706565b600654600160b01b900461ffff16611145610a97565b106111625760405162461bcd60e51b81526004016108ef906131e8565b60008361ffff16116111865760405162461bcd60e51b81526004016108ef90613adb565b60095461ffff90811690841611156111b05760405162461bcd60e51b81526004016108ef90613a42565b60065461ffff600160b01b90910481169084166111cb610a97565b6111d59190613d9e565b11156111f35760405162461bcd60e51b81526004016108ef9061345e565b346008548461ffff166112069190613def565b146112235760405162461bcd60e51b81526004016108ef90613256565b60005b8361ffff16811015610f415761123c6010611e7f565b61124a33610f2a6010611e7b565b8061125481613e8c565b915050611226565b611264611dec565b6001600160a01b03166112756117fc565b6001600160a01b03161461129b5760405162461bcd60e51b81526004016108ef9061386e565b6009805461ffff1990811661ffff9788161763ffff00001990811662010000978916880217909255600b805490911694871694909417169185169093021790556006805461ffff60b01b1916600160b01b9290931691909102919091179055565b610a82838383604051806020016040528060008152506118a6565b600654600160c01b900460ff166113405760405162461bcd60e51b81526004016108ef90613789565b6113498161212b565b50565b600061138183600c54846040516020016113669190612ed0565b6040516020818303038152906040528051906020012061215b565b9392505050565b600b5462010000900461ffff1681565b60606113a2611dec565b6001600160a01b03166113b36117fc565b6001600160a01b0316146113d95760405162461bcd60e51b81526004016108ef9061386e565b60118054806020026020016040519081016040528092919081815260200182805480156109a257602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311611411575050505050905090565b60095461ffff1681565b61144a611dec565b6001600160a01b031661145b6117fc565b6001600160a01b0316146114815760405162461bcd60e51b81526004016108ef9061386e565b80516114949060079060208401906128a1565b5050565b60085481565b6114a6611dec565b6001600160a01b03166114b76117fc565b6001600160a01b0316146114dd5760405162461bcd60e51b81526004016108ef9061386e565b600a55565b6000818152600260205260408120546001600160a01b0316806108a85760405162461bcd60e51b81526004016108ef90613686565b6007805461152490613e51565b80601f016020809104026020016040519081016040528092919081815260200182805461155090613e51565b801561159d5780601f106115725761010080835404028352916020019161159d565b820191906000526020600020905b81548152906001019060200180831161158057829003601f168201915b505050505081565b60006001600160a01b0382166115cd5760405162461bcd60e51b81526004016108ef9061363c565b506001600160a01b031660009081526003602052604090205490565b6115f1611dec565b6001600160a01b03166116026117fc565b6001600160a01b0316146116285760405162461bcd60e51b81526004016108ef9061386e565b6116326000612171565b565b61163c611dec565b6001600160a01b031661164d6117fc565b6001600160a01b0316146116735760405162461bcd60e51b81526004016108ef9061386e565b600c55565b600b5461ffff1681565b61168a611dec565b6001600160a01b031661169b6117fc565b6001600160a01b0316146116c15760405162461bcd60e51b81526004016108ef9061386e565b60006116cb6117b6565b9050600081116116ed5760405162461bcd60e51b81526004016108ef906137eb565b60005b6011548110156117805760006011828154811061171d57634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b03168083526012909152604090912054909150801561176b5761176b826103e861175c8488613def565b6117669190613ddb565b6121c3565b5050808061177890613e8c565b9150506116f0565b506117896117b6565b156113495760405162461bcd60e51b81526004016108ef906133fc565b600654600160c01b900460ff1681565b60006117c0611dec565b6001600160a01b03166117d16117fc565b6001600160a01b0316146117f75760405162461bcd60e51b81526004016108ef9061386e565b504790565b6006546001600160a01b031690565b6000336118166117fc565b6001600160a01b031614905090565b60606001805461092990613e51565b61149461183f611dec565b838361223f565b61184e611dec565b6001600160a01b031661185f6117fc565b6001600160a01b0316146118855760405162461bcd60e51b81526004016108ef9061386e565b6006805460ff60c01b198116600160c01b9182900460ff1615909102179055565b6118b76118b1611dec565b83611f67565b6118d35760405162461bcd60e51b81526004016108ef90613a8a565b6118df848484846122e2565b50505050565b600d5460ff1681565b60606118f982611df0565b6119155760405162461bcd60e51b81526004016108ef9061328d565b60006007805461192490613e51565b80601f016020809104026020016040519081016040528092919081815260200182805461195090613e51565b801561199d5780601f106119725761010080835404028352916020019161199d565b820191906000526020600020905b81548152906001019060200180831161198057829003601f168201915b50506040805160208101909152600081526014549495509360ff16159250611aaa915050576000600260136119d187612315565b6040516020016119e2929190612f94565b60408051601f19818403018152908290526119fc91612efb565b602060405180830381855afa158015611a19573d6000803e3d6000fd5b5050506040513d601f19601f82011682018060405250810190611a3c9190612d11565b905060005b6020811015611aa3576000828260208110611a6c57634e487b7160e01b600052603260045260246000fd5b1a60f81b90506000611a808260f81c612430565b9050611a8c85826124f8565b945050508080611a9b90613e8c565b915050611a41565b5050611ab6565b611ab384612315565b90505b6000825111611ad45760405180602001604052806000815250611af7565b8181604051602001611ae7929190612f46565b6040516020818303038152906040525b949350505050565b6000611b09611dec565b6001600160a01b0316611b1a6117fc565b6001600160a01b031614611b405760405162461bcd60e51b81526004016108ef9061386e565b506001600160a01b031660009081526012602052604090205490565b611b64611dec565b6001600160a01b0316611b756117fc565b6001600160a01b031614611b9b5760405162461bcd60e51b81526004016108ef9061386e565b80516114949060139060208401906128a1565b611bb6611dec565b6001600160a01b0316611bc76117fc565b6001600160a01b031614611bed5760405162461bcd60e51b81526004016108ef9061386e565b6040805160008152602081019182905251611c0a91601191612925565b5060005b8251811015610a8257611c6f838281518110611c3a57634e487b7160e01b600052603260045260246000fd5b6020026020010151838381518110611c6257634e487b7160e01b600052603260045260246000fd5b6020026020010151612524565b80611c7981613e8c565b915050611c0e565b600654600160b01b900461ffff1681565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b611cc8611dec565b6001600160a01b0316611cd96117fc565b6001600160a01b031614611cff5760405162461bcd60e51b81526004016108ef9061386e565b8060ff166003811115611d2257634e487b7160e01b600052602160045260246000fd5b600d805460ff19166001836003811115611d4c57634e487b7160e01b600052602160045260246000fd5b021790555050565b611d5c611dec565b6001600160a01b0316611d6d6117fc565b6001600160a01b031614611d935760405162461bcd60e51b81526004016108ef9061386e565b6001600160a01b038116611db95760405162461bcd60e51b81526004016108ef9061337f565b61134981612171565b600654600160a01b900461ffff1681565b6001600160e01b031981166301ffc9a760e01b14919050565b3390565b6000908152600260205260409020546001600160a01b0316151590565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611e42826114e2565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b5490565b80546001019055565b6001600160a01b038216611eae5760405162461bcd60e51b81526004016108ef906137b6565b611eb781611df0565b15611ed45760405162461bcd60e51b81526004016108ef906133c5565b611ee060008383610a82565b6001600160a01b0382166000908152600360205260408120805460019290611f09908490613d9e565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6000611f7282611df0565b611f8e5760405162461bcd60e51b81526004016108ef90613593565b6000611f99836114e2565b9050806001600160a01b0316846001600160a01b03161480611fd45750836001600160a01b0316611fc9846109ac565b6001600160a01b0316145b80611af75750611af78185611c92565b826001600160a01b0316611ff7826114e2565b6001600160a01b03161461201d5760405162461bcd60e51b81526004016108ef906138d8565b6001600160a01b0382166120435760405162461bcd60e51b81526004016108ef906134f2565b61204e838383610a82565b612059600082611e0d565b6001600160a01b0383166000908152600360205260408120805460019290612082908490613e0e565b90915550506001600160a01b03821660009081526003602052604081208054600192906120b0908490613d9e565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6114948282604051806020016040528060008152506125c6565b612136610ca1611dec565b6121525760405162461bcd60e51b81526004016108ef90613bf0565b611349816125f9565b60008261216885846126a0565b14949350505050565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6000826001600160a01b0316826040516121dc9061303a565b60006040518083038185875af1925050503d8060008114612219576040519150601f19603f3d011682016040523d82523d6000602084013e61221e565b606091505b5050905080610a825760405162461bcd60e51b81526004016108ef90613bc2565b816001600160a01b0316836001600160a01b031614156122715760405162461bcd60e51b81526004016108ef90613536565b6001600160a01b0383811660008181526005602090815260408083209487168084529490915290819020805460ff1916851515179055517f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31906122d59085906130db565b60405180910390a3505050565b6122ed848484611fe4565b6122f984848484612758565b6118df5760405162461bcd60e51b81526004016108ef906132c4565b60608161233a57506040805180820190915260018152600360fc1b60208201526108ab565b8160005b8115612364578061234e81613e8c565b915061235d9050600a83613ddb565b915061233e565b60008167ffffffffffffffff81111561238d57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156123b7576020820181803683370190505b5090505b8415611af7576123cc600183613e0e565b91506123d9600a86613ea7565b6123e4906030613d9e565b60f81b81838151811061240757634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350612429600a86613ddb565b94506123bb565b60408051600280825281830190925260609160009190602082018180368337019050509050600f612462848216612873565b60f81b8260018151811061248657634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535060048460ff16901c93506124b5818560ff1616612873565b60f81b826000815181106124d957634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350909392505050565b6060828260405160200161250d929190612f17565b604051602081830303815290604052905092915050565b6001600160a01b03821661254a5760405162461bcd60e51b81526004016108ef90613921565b6000811161256a5760405162461bcd60e51b81526004016108ef9061356d565b60118054600181019091557f31ecc21a745e3968a04e9570e4425bc18fa8019c68028196b546d1669c200c680180546001600160a01b039093166001600160a01b03199093168317905560009182526012602052604090912055565b6125d08383611e88565b6125dd6000848484612758565b610a825760405162461bcd60e51b81526004016108ef906132c4565b6000612604826114e2565b905061261281600084610a82565b61261d600083611e0d565b6001600160a01b0381166000908152600360205260408120805460019290612646908490613e0e565b909155505060008281526002602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b600081815b84518110156127505760008582815181106126d057634e487b7160e01b600052603260045260246000fd5b602002602001015190508083116127115782816040516020016126f4929190612eed565b60405160208183030381529060405280519060200120925061273d565b8083604051602001612724929190612eed565b6040516020818303038152906040528051906020012092505b508061274881613e8c565b9150506126a5565b509392505050565b600061276c846001600160a01b031661289b565b1561286857836001600160a01b031663150b7a02612788611dec565b8786866040518563ffffffff1660e01b81526004016127aa9493929190613051565b602060405180830381600087803b1580156127c457600080fd5b505af19250505080156127f4575060408051601f3d908101601f191682019092526127f191810190612d45565b60015b61284e573d808015612822576040519150601f19603f3d011682016040523d82523d6000602084013e612827565b606091505b5080516128465760405162461bcd60e51b81526004016108ef906132c4565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611af7565b506001949350505050565b600060098260ff16116128905761288b826030613db6565b6108a8565b6108a8826057613db6565b3b151590565b8280546128ad90613e51565b90600052602060002090601f0160209004810192826128cf5760008555612915565b82601f106128e857805160ff1916838001178555612915565b82800160010185558215612915579182015b828111156129155782518255916020019190600101906128fa565b5061292192915061297a565b5090565b828054828255906000526020600020908101928215612915579160200282015b8281111561291557825182546001600160a01b0319166001600160a01b03909116178255602090920191600190910190612945565b5b80821115612921576000815560010161297b565b600067ffffffffffffffff8311156129a9576129a9613ee7565b6129bc601f8401601f1916602001613d27565b90508281528383830111156129d057600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b03811681146108ab57600080fd5b600082601f830112612a0e578081fd5b81356020612a23612a1e83613d51565b613d27565b8281528181019085830183850287018401881015612a3f578586fd5b855b85811015612a5d57813584529284019290840190600101612a41565b5090979650505050505050565b803580151581146108ab57600080fd5b803561ffff811681146108ab57600080fd5b600060208284031215612a9d578081fd5b611381826129e7565b60008060408385031215612ab8578081fd5b612ac1836129e7565b9150612acf602084016129e7565b90509250929050565b600080600060608486031215612aec578081fd5b612af5846129e7565b9250612b03602085016129e7565b9150604084013590509250925092565b60008060008060808587031215612b28578081fd5b612b31856129e7565b9350612b3f602086016129e7565b925060408501359150606085013567ffffffffffffffff811115612b61578182fd5b8501601f81018713612b71578182fd5b612b808782356020840161298f565b91505092959194509250565b60008060408385031215612b9e578182fd5b612ba7836129e7565b9150612acf60208401612a6a565b60008060408385031215612bc7578182fd5b612bd0836129e7565b946020939093013593505050565b60008060408385031215612bf0578182fd5b823567ffffffffffffffff80821115612c07578384fd5b818501915085601f830112612c1a578384fd5b81356020612c2a612a1e83613d51565b82815281810190858301838502870184018b1015612c46578889fd5b8896505b84871015612c6f57612c5b816129e7565b835260019690960195918301918301612c4a565b5096505086013592505080821115612c85578283fd5b50612c92858286016129fe565b9150509250929050565b60008060408385031215612cae578182fd5b823567ffffffffffffffff811115612cc4578283fd5b612cd0858286016129fe565b925050612acf602084016129e7565b600060208284031215612cf0578081fd5b61138182612a6a565b600060208284031215612d0a578081fd5b5035919050565b600060208284031215612d22578081fd5b5051919050565b600060208284031215612d3a578081fd5b813561138181613efd565b600060208284031215612d56578081fd5b815161138181613efd565b600060208284031215612d72578081fd5b813567ffffffffffffffff811115612d88578182fd5b8201601f81018413612d98578182fd5b611af78482356020840161298f565b600060208284031215612db8578081fd5b61138182612a7a565b60008060408385031215612dd3578182fd5b612ddc83612a7a565b9150602083013567ffffffffffffffff811115612df7578182fd5b612c92858286016129fe565b600080600080600060a08688031215612e1a578283fd5b612e2386612a7a565b9450612e3160208701612a7a565b9350612e3f60408701612a7a565b9250612e4d60608701612a7a565b9150612e5b60808701612a7a565b90509295509295909350565b600060208284031215612e78578081fd5b813560ff81168114611381578182fd5b60008151808452612ea0816020860160208601613e25565b601f01601f19169290920160200192915050565b60008151612ec6818560208601613e25565b9290920192915050565b60609190911b6bffffffffffffffffffffffff1916815260140190565b918252602082015260400190565b60008251612f0d818460208701613e25565b9190910192915050565b60008351612f29818460208801613e25565b835190830190612f3d818360208801613e25565b01949350505050565b60008351612f58818460208801613e25565b602f60f81b9083019081528351612f76816001840160208801613e25565b64173539b7b760d91b60019290910191820152600601949350505050565b8254600090819060028104600180831680612fb057607f831692505b6020808410821415612fd057634e487b7160e01b87526022600452602487fd5b818015612fe45760018114612ff557613021565b60ff19861689528489019650613021565b612ffe8b613d75565b885b868110156130195781548b820152908501908301613000565b505084890196505b5050505050506130318185612eb4565b95945050505050565b90565b6001600160a01b0391909116815260200190565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061308490830184612e88565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b818110156130cf5783516001600160a01b0316835292840192918401916001016130aa565b50909695505050505050565b901515815260200190565b90815260200190565b602081016004831061311157634e487b7160e01b600052602160045260246000fd5b91905290565b6000602082526113816020830184612e88565b60208082526030908201527f4578636565646564206d6178206d696e7420616c6c6f7765642070657220776160408201526f6c6c657420666f722050726573616c6560801b606082015260800190565b60208082526017908201527f436f6c6c656374696f6e2068617320736f6c64206f7574000000000000000000604082015260600190565b6020808252601b908201527f43727970746f4372696d65436c756220697320736f6c64206f75740000000000604082015260600190565b60208082526013908201527210dbdb1b1958dd1a5bdb8814dbdb190813dd5d606a1b604082015260600190565b60208082526021908201527f43616e6e6f74206d696e742066726f6d20616e6f7468657220636f6e747261636040820152601d60fa1b606082015260800190565b6020808252601c908201527f496e636f727265637420616d6f756e74206f66204554482073656e7400000000604082015260600190565b6020808252601f908201527f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e00604082015260600190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526027908201527f416c7265616479206d696e74656420616c6c206f6620746865207265736572766040820152666564204e46547360c81b606082015260800190565b60208082526008908201526714dbdb190813dd5d60c21b604082015260600190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252601c908201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604082015260600190565b6020808252601a908201527f446964206e6f7420776974686472617720616c6c2066756e6473000000000000604082015260600190565b602080825260119082015270141c995cd85b19481a5cc818db1bdcd959607a1b604082015260600190565b60208082526039908201527f4d696e74696e6720776f756c6420657863656564206d617820737570706c792c60408201527f20706c65617365206465637265617365207175616e7469747900000000000000606082015260800190565b6020808252601b908201527f5075626c69632073616c6520686173206e6f7420737461727465640000000000604082015260600190565b60208082526024908201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646040820152637265737360e01b606082015260800190565b60208082526019908201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604082015260600190565b6020808252600c908201526b05368617265732061726520360a41b604082015260600190565b6020808252602c908201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b60208082526038908201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760408201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606082015260800190565b6020808252602a908201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604082015269726f206164647265737360b01b606082015260800190565b60208082526029908201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460408201526832b73a103a37b5b2b760b91b606082015260800190565b6020808252601f908201527f4578636565646564206d617820616c6c6f776564207065722077616c6c657400604082015260600190565b6020808252605f908201527f4d696e74696e6720776f756c6420657863656564206d617820616c6c6f77656460408201527f207065722077616c6c657420666f722070726573616c652e20506c656173652060608201527f64656372656165207175616e7469747920616e642074727920616761696e2e00608082015260a00190565b602080825260139082015272109d5c9b9a5b99c81a5cc8191a5cd8589b1959606a1b604082015260600190565b6020808252818101527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604082015260600190565b6020808252601b908201527f42616c616e6365206d757374206265206d6f7265207468616e20300000000000604082015260600190565b6020808252602c908201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252818101527f596f7520617265206e6f7420656c696769626c6520666f722050726573616c65604082015260600190565b60208082526029908201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960408201526839903737ba1037bbb760b91b606082015260800190565b6020808252601b908201527f4163636f756e7420697320746865207a65726f20616464726573730000000000604082015260600190565b6020808252602c908201527f4d6f7265207468616e20746865206d617820616c6c6f77656420696e206f6e6560408201526b103a3930b739b0b1ba34b7b760a11b606082015260800190565b60208082526021908201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656040820152603960f91b606082015260800190565b6020808252603d908201527f4d696e74696e6720776f756c642065786365656420746865206d61782073757060408201527f706c792c20706c65617365206465637265617365207175616e74697479000000606082015260800190565b60208082526028908201527f4578636565646564206d617820616c6c6f77656420666f72206f6e65207472616040820152673739b0b1ba34b7b760c11b606082015260800190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252601a908201527f4e65656420746f206d696e74206174206c65617374206f6e6521000000000000604082015260600190565b60208082526053908201527f4d696e74696e6720776f756c6420657863656564206d617820616c6c6f77656460408201527f207065722077616c6c65742c20706c6561736520646563726561736520717561606082015272373a34ba3c9030b732103a393c9030b3b0b4b760691b608082015260a00190565b6020808252601b908201527f43616e6e6f74206d696e7420746f206e756c6c20616464726573730000000000604082015260600190565b6020808252601490820152736661696c6564207769746820776974686472617760601b604082015260600190565b60208082526030908201527f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760408201526f1b995c881b9bdc88185c1c1c9bdd995960821b606082015260800190565b6020808252604a908201527f4d696e74696e6720776f756c642065786365656420746865206c696d6974206f60408201527f66207265736572766564204e4654732e20506c656173652064656372656173656060820152691038bab0b73a34ba3c9760b11b608082015260a00190565b60208082526042908201527f4d696e74696e6720776f756c6420657863656564206d617820737570706c792c60408201527f20706c656173652073656c656374206120736d616c6c6572207175616e7469746060820152613c9760f11b608082015260a00190565b61ffff91909116815260200190565b60405181810167ffffffffffffffff81118282101715613d4957613d49613ee7565b604052919050565b600067ffffffffffffffff821115613d6b57613d6b613ee7565b5060209081020190565b60009081526020902090565b600061ffff808316818516808303821115612f3d57612f3d613ebb565b60008219821115613db157613db1613ebb565b500190565b600060ff821660ff84168060ff03821115613dd357613dd3613ebb565b019392505050565b600082613dea57613dea613ed1565b500490565b6000816000190483118215151615613e0957613e09613ebb565b500290565b600082821015613e2057613e20613ebb565b500390565b60005b83811015613e40578181015183820152602001613e28565b838111156118df5750506000910152565b600281046001821680613e6557607f821691505b60208210811415613e8657634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415613ea057613ea0613ebb565b5060010190565b600082613eb657613eb6613ed1565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461134957600080fdfea264697066735822122079cffb58f1a98c351d5b2bdce6391ee87ae3d6b07ca83c4a48587764ba5f26c064736f6c63430008000033

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

0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000001e000000000000000000000000000000000000000000000000000000000000000050000000000000000000000001355e5c2c64747b8351b953e96d5491c79ff5b0c000000000000000000000000a6e74688b9d39e6e7e1fd2f6c78f4c87afafc701000000000000000000000000ca5e079c49cadbf58da38a1b93e65e13094908350000000000000000000000007046e2856387e552813e8cbc447bb642b4d485b4000000000000000000000000379bcfbd40dda55569dacc72469f54fcacda638a000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000007d00000000000000000000000000000000000000000000000000000000000000fa00000000000000000000000000000000000000000000000000000000000001db00000000000000000000000000000000000000000000000000000000000000046d6d616c00000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : payees_ (address[]): 0x1355e5c2C64747B8351b953E96D5491C79FF5b0c,0xa6e74688B9d39E6e7e1fD2f6C78F4C87afaFC701,0xcA5e079c49caDBf58Da38a1B93E65E1309490835,0x7046e2856387e552813e8CBC447bB642b4D485b4,0x379bCFbd40dDa55569dAcC72469F54fcACdA638A
Arg [1] : shares_ (uint256[]): 100,50,125,250,475
Arg [2] : tokenSalt_ (string): mmal

-----Encoded View---------------
17 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000120
Arg [2] : 00000000000000000000000000000000000000000000000000000000000001e0
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [4] : 0000000000000000000000001355e5c2c64747b8351b953e96d5491c79ff5b0c
Arg [5] : 000000000000000000000000a6e74688b9d39e6e7e1fd2f6c78f4c87afafc701
Arg [6] : 000000000000000000000000ca5e079c49cadbf58da38a1b93e65e1309490835
Arg [7] : 0000000000000000000000007046e2856387e552813e8cbc447bb642b4d485b4
Arg [8] : 000000000000000000000000379bcfbd40dda55569dacc72469f54fcacda638a
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000064
Arg [11] : 0000000000000000000000000000000000000000000000000000000000000032
Arg [12] : 000000000000000000000000000000000000000000000000000000000000007d
Arg [13] : 00000000000000000000000000000000000000000000000000000000000000fa
Arg [14] : 00000000000000000000000000000000000000000000000000000000000001db
Arg [15] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [16] : 6d6d616c00000000000000000000000000000000000000000000000000000000


Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

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