ETH Price: $3,431.57 (-1.51%)

Token

Ethereal Apes (Ethereal Apes)
 

Overview

Max Total Supply

3,332 Ethereal Apes

Holders

924

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
takened.eth
Balance
5 Ethereal Apes
0xe11bb656d623ce24e3001243196cd50e15a3d7c2
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
EtherealApes

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 1000 runs

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

pragma solidity ^0.8.7;

import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "./ERC721Enumerable.sol";

contract EtherealApes is ERC721Enumerable, Ownable {
    string  public              baseURI;
    
    address public              proxyRegistryAddress;
    address public              withdrawalAddress;

    bytes32 public              whitelistMerkleRoot;
    uint256 public              MAX_SUPPLY;

    uint256 public constant     MAX_PER_TX          = 6;
    uint256 public constant     RESERVES            = 440;
    uint256 public constant     priceInWei          = 0.08 ether;

    mapping(address => bool) public projectProxy;
    mapping(address => uint) public addressToMinted;

    constructor(
        string memory _baseURI, 
        address _proxyRegistryAddress, 
        address _withdrawalAddress
    )
        ERC721("Ethereal Apes", "Ethereal Apes")
    {
        baseURI = _baseURI;
        proxyRegistryAddress = _proxyRegistryAddress;
        withdrawalAddress = _withdrawalAddress;
    }

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

    function tokenURI(uint256 _tokenId) public view override returns (string memory) {
        require(_exists(_tokenId), "Token does not exist.");
        return string(abi.encodePacked(baseURI, Strings.toString(_tokenId), ".json"));
    }

    function setProxyRegistryAddress(address _proxyRegistryAddress) external onlyOwner {
        proxyRegistryAddress = _proxyRegistryAddress;
    }

    function flipProxyState(address proxyAddress) public onlyOwner {
        projectProxy[proxyAddress] = !projectProxy[proxyAddress];
    }

    function collectReserves() external onlyOwner {
        require(_owners.length == 0, 'Reserves already taken.');
        for(uint256 i; i < RESERVES; i++)
            _mint(_msgSender(), i);
    }

    function setWhitelistMerkleRoot(bytes32 _whitelistMerkleRoot) external onlyOwner {
        whitelistMerkleRoot = _whitelistMerkleRoot;
    }

    function togglePublicSale(uint256 _MAX_SUPPLY) external onlyOwner {
        delete whitelistMerkleRoot;
        MAX_SUPPLY = _MAX_SUPPLY;
    }


    function _leaf(string memory allowance, string memory payload) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked(payload, allowance));
    }

    function _verify(bytes32 leaf, bytes32[] memory proof) internal view returns (bool) {
        return MerkleProof.verify(proof, whitelistMerkleRoot, leaf);
    }

    function getAllowance(string memory allowance, bytes32[] calldata proof) public view returns (string memory) {
        string memory payload = string(abi.encodePacked(_msgSender()));
        require(_verify(_leaf(allowance, payload), proof), "Invalid Merkle Tree proof supplied.");
        return allowance;
    }

    function whitelistMint(uint256 count, uint256 allowance, bytes32[] calldata proof) public payable {
        string memory payload = string(abi.encodePacked(_msgSender()));
        require(_verify(_leaf(Strings.toString(allowance), payload), proof), "Invalid Merkle Tree proof supplied.");
        require(addressToMinted[_msgSender()] + count <= allowance, "Exceeds whitelist supply"); 
        require(count * priceInWei == msg.value, "Invalid funds provided.");

        addressToMinted[_msgSender()] += count;
        uint256 totalSupply = _owners.length;
        for(uint i; i < count; i++) { 
            _mint(_msgSender(), totalSupply + i);
        }
    }

    function publicMint(uint256 count) public payable {
        uint256 totalSupply = _owners.length;
        require(totalSupply + count < MAX_SUPPLY, "Exceeds max supply.");
        require(count < MAX_PER_TX, "Exceeds max per transaction.");
        require(count * priceInWei == msg.value, "Invalid funds provided.");
    
        for(uint i; i < count; i++) { 
            _mint(_msgSender(), totalSupply + i);
        }
    }

    function burn(uint256 tokenId) public { 
        require(_isApprovedOrOwner(_msgSender(), tokenId), "Not approved to burn.");
        _burn(tokenId);
    }

    function withdraw() public  {
        (bool successOne, ) = payable(0x6BaCdF4e911a8dacd6450415C06bb84F2b767951).call{value: address(this).balance * 50 / 100}("");
        require(successOne, "Failed to send to first withdrawal address");

        (bool successTwo, ) = withdrawalAddress.call{value: address(this).balance}("");
        require(successTwo, "Failed to send to second withdrawal address.");
    }

    function walletOfOwner(address _owner) public view returns (uint256[] memory) {
        uint256 tokenCount = balanceOf(_owner);
        if (tokenCount == 0) return new uint256[](0);

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

    function batchTransferFrom(address _from, address _to, uint256[] memory _tokenIds) public {
        for (uint256 i = 0; i < _tokenIds.length; i++) {
            transferFrom(_from, _to, _tokenIds[i]);
        }
    }

    function batchSafeTransferFrom(address _from, address _to, uint256[] memory _tokenIds, bytes memory data_) public {
        for (uint256 i = 0; i < _tokenIds.length; i++) {
            safeTransferFrom(_from, _to, _tokenIds[i], data_);
        }
    }

    function isOwnerOf(address account, uint256[] calldata _tokenIds) external view returns (bool){
        for(uint256 i; i < _tokenIds.length; ++i ){
            if(_owners[_tokenIds[i]] != account)
                return false;
        }

        return true;
    }

    function isApprovedForAll(address _owner, address operator) public view override returns (bool) {
        OpenSeaProxyRegistry proxyRegistry = OpenSeaProxyRegistry(proxyRegistryAddress);
        if (address(proxyRegistry.proxies(_owner)) == operator || projectProxy[operator]) return true;
        return super.isApprovedForAll(_owner, operator);
    }

    function _mint(address to, uint256 tokenId) internal virtual override {
        _owners.push(to);
        emit Transfer(address(0), to, tokenId);
    }
}

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

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

pragma solidity ^0.8.7;

import "./ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol";

/**
 * @dev This implements an optional extension of {ERC721} defined in the EIP that adds
 * enumerability of all the token ids in the contract as well as all token ids owned by each
 * account but rips out the core of the gas-wasting processing that comes from OpenZeppelin.
 */
abstract contract ERC721Enumerable is ERC721, IERC721Enumerable {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) {
        return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId);
    }

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

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

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

        uint count;
        for(uint i; i < _owners.length; i++){
            if(owner == _owners[i]){
                if(count == index) return i;
                else count++;
            }
        }

        revert("ERC721Enumerable: owner index out of bounds");
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

File 4 of 14 : MerkleProof.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (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 = _efficientHash(computedHash, proofElement);
            } else {
                // Hash(current element of the proof + current computed hash)
                computedHash = _efficientHash(proofElement, computedHash);
            }
        }
        return computedHash;
    }

    function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) {
        assembly {
            mstore(0x00, a)
            mstore(0x20, b)
            value := keccak256(0x00, 0x40)
        }
    }
}

File 5 of 14 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 6 of 14 : ERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.7;

import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol";
import "@openzeppelin/contracts/utils/Context.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/introspection/ERC165.sol";
import "./Address.sol";

abstract contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;
    
    string private _name;
    string private _symbol;

    // Mapping from token ID to owner address
    address[] internal _owners;

    mapping(uint256 => address) private _tokenApprovals;
    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 (uint) 
    {
        require(owner != address(0), "ERC721: balance query for the zero address");

        uint count;
        for( uint i; i < _owners.length; ++i ){
          if( owner == _owners[i] )
            ++count;
        }
        return count;
    }

    /**
     * @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 {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public virtual override {
        address owner = ERC721.ownerOf(tokenId);
        require(to != owner, "ERC721: approval to current owner");

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

        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);
        _owners[tokenId] = to;

        emit Transfer(from, to, tokenId);
    }

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

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

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

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

pragma solidity ^0.8.0;

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

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

File 8 of 14 : Address.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.6;

library Address {
    function isContract(address account) internal view returns (bool) {
        uint size;
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }
}

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 12 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);
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_baseURI","type":"string"},{"internalType":"address","name":"_proxyRegistryAddress","type":"address"},{"internalType":"address","name":"_withdrawalAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_PER_TX","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RESERVES","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"addressToMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"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":"address","name":"_from","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256[]","name":"_tokenIds","type":"uint256[]"},{"internalType":"bytes","name":"data_","type":"bytes"}],"name":"batchSafeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256[]","name":"_tokenIds","type":"uint256[]"}],"name":"batchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"collectReserves","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"proxyAddress","type":"address"}],"name":"flipProxyState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"allowance","type":"string"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"getAllowance","outputs":[{"internalType":"string","name":"","type":"string"}],"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":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256[]","name":"_tokenIds","type":"uint256[]"}],"name":"isOwnerOf","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"priceInWei","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"projectProxy","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"proxyRegistryAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"count","type":"uint256"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_proxyRegistryAddress","type":"address"}],"name":"setProxyRegistryAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_whitelistMerkleRoot","type":"bytes32"}],"name":"setWhitelistMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_MAX_SUPPLY","type":"uint256"}],"name":"togglePublicSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"whitelistMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"count","type":"uint256"},{"internalType":"uint256","name":"allowance","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"whitelistMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawalAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}]

60806040523480156200001157600080fd5b506040516200343738038062003437833981016040819052620000349162000211565b604080518082018252600d8082526c457468657265616c204170657360981b6020808401828152855180870190965292855284015281519192916200007c916000916200014e565b508051620000929060019060208401906200014e565b505050620000af620000a9620000f860201b60201c565b620000fc565b8251620000c49060069060208601906200014e565b50600780546001600160a01b039384166001600160a01b031991821617909155600880549290931691161790555062000367565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200015c9062000314565b90600052602060002090601f016020900481019282620001805760008555620001cb565b82601f106200019b57805160ff1916838001178555620001cb565b82800160010185558215620001cb579182015b82811115620001cb578251825591602001919060010190620001ae565b50620001d9929150620001dd565b5090565b5b80821115620001d95760008155600101620001de565b80516001600160a01b03811681146200020c57600080fd5b919050565b6000806000606084860312156200022757600080fd5b83516001600160401b03808211156200023f57600080fd5b818601915086601f8301126200025457600080fd5b81518181111562000269576200026962000351565b604051601f8201601f19908116603f0116810190838211818310171562000294576200029462000351565b81604052828152602093508984848701011115620002b157600080fd5b600091505b82821015620002d55784820184015181830185015290830190620002b6565b82821115620002e75760008484830101525b9650620002f9915050868201620001f4565b935050506200030b60408501620001f4565b90509250925092565b600181811c908216806200032957607f821691505b602082108114156200034b57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b6130c080620003776000396000f3fe6080604052600436106102e75760003560e01c806366fddfa911610184578063bd32fb66116100d6578063e985e9c51161008a578063f3993d1111610064578063f3993d11146107f5578063f43a22dc14610815578063f73c814b1461082a57600080fd5b8063e985e9c514610795578063f2bcd022146107b5578063f2fde38b146107d557600080fd5b8063c87b56dd116100bb578063c87b56dd14610735578063cd7c032614610755578063d26ea6c01461077557600080fd5b8063bd32fb6614610702578063c4be5b591461072257600080fd5b80638da5cb5b11610138578063a22cb46511610112578063a22cb465146106ac578063aa98e0c6146106cc578063b88d4fde146106e257600080fd5b80638da5cb5b1461064c57806395d89b411461066a5780639ec00c951461067f57600080fd5b806370a082311161016957806370a08231146105f7578063715018a6146106175780638cf7be7e1461062c57600080fd5b806366fddfa9146105c25780636c0360eb146105e257600080fd5b80633c8da5881161023d5780634d44660c116101f15780635a4fee30116101cb5780635a4fee30146105525780635bab26e2146105725780636352211e146105a257600080fd5b80634d44660c146104f25780634f6ccce71461051257806355f804b31461053257600080fd5b806342842e0e1161022257806342842e0e1461048557806342966c68146104a5578063438b6300146104c557600080fd5b80633c8da588146104545780633ccfd60b1461047057600080fd5b8063095ea7b31161029f5780632db11544116102795780632db115441461040b5780632f745c591461041e57806332cb6b0c1461043e57600080fd5b8063095ea7b3146103b657806318160ddd146103d657806323b872dd146103eb57600080fd5b806306fdde03116102d057806306fdde0314610338578063081812fc1461035a5780630922f9c51461039257600080fd5b806301ffc9a7146102ec578063029877b614610321575b600080fd5b3480156102f857600080fd5b5061030c610307366004612bc6565b61084a565b60405190151581526020015b60405180910390f35b34801561032d57600080fd5b5061033661088e565b005b34801561034457600080fd5b5061034d610969565b6040516103189190612ecb565b34801561036657600080fd5b5061037a610375366004612bad565b6109fb565b6040516001600160a01b039091168152602001610318565b34801561039e57600080fd5b506103a86101b881565b604051908152602001610318565b3480156103c257600080fd5b506103366103d1366004612b81565b610a83565b3480156103e257600080fd5b506002546103a8565b3480156103f757600080fd5b50610336610406366004612a58565b610bb5565b610336610419366004612bad565b610c3d565b34801561042a57600080fd5b506103a8610439366004612b81565b610d7b565b34801561044a57600080fd5b506103a8600a5481565b34801561046057600080fd5b506103a867011c37937e08000081565b34801561047c57600080fd5b50610336610eb6565b34801561049157600080fd5b506103366104a0366004612a58565b611069565b3480156104b157600080fd5b506103366104c0366004612bad565b611084565b3480156104d157600080fd5b506104e56104e0366004612917565b6110e2565b6040516103189190612e87565b3480156104fe57600080fd5b5061030c61050d366004612af9565b61119b565b34801561051e57600080fd5b506103a861052d366004612bad565b61121d565b34801561053e57600080fd5b5061033661054d366004612c1d565b61129b565b34801561055e57600080fd5b5061033661056d3660046129cf565b611308565b34801561057e57600080fd5b5061030c61058d366004612917565b600b6020526000908152604090205460ff1681565b3480156105ae57600080fd5b5061037a6105bd366004612bad565b611352565b3480156105ce57600080fd5b5061034d6105dd366004612c52565b6113f2565b3480156105ee57600080fd5b5061034d6114d7565b34801561060357600080fd5b506103a8610612366004612917565b611565565b34801561062357600080fd5b50610336611646565b34801561063857600080fd5b50610336610647366004612bad565b6116ac565b34801561065857600080fd5b506005546001600160a01b031661037a565b34801561067657600080fd5b5061034d611710565b34801561068b57600080fd5b506103a861069a366004612917565b600c6020526000908152604090205481565b3480156106b857600080fd5b506103366106c7366004612b4e565b61171f565b3480156106d857600080fd5b506103a860095481565b3480156106ee57600080fd5b506103366106fd366004612a99565b6117e4565b34801561070e57600080fd5b5061033661071d366004612bad565b611872565b610336610730366004612cae565b6118d1565b34801561074157600080fd5b5061034d610750366004612bad565b611ac6565b34801561076157600080fd5b5060075461037a906001600160a01b031681565b34801561078157600080fd5b50610336610790366004612917565b611b4f565b3480156107a157600080fd5b5061030c6107b0366004612934565b611bcb565b3480156107c157600080fd5b5060085461037a906001600160a01b031681565b3480156107e157600080fd5b506103366107f0366004612917565b611cd7565b34801561080157600080fd5b5061033661081036600461296d565b611db6565b34801561082157600080fd5b506103a8600681565b34801561083657600080fd5b50610336610845366004612917565b611df8565b60006001600160e01b031982167f780e9d63000000000000000000000000000000000000000000000000000000001480610888575061088882611e7b565b92915050565b6005546001600160a01b031633146108ed5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b6002541561093d5760405162461bcd60e51b815260206004820152601760248201527f526573657276657320616c72656164792074616b656e2e00000000000000000060448201526064016108e4565b60005b6101b8811015610966576109543382611f16565b8061095e81612fd8565b915050610940565b50565b60606000805461097890612f9d565b80601f01602080910402602001604051908101604052809291908181526020018280546109a490612f9d565b80156109f15780601f106109c6576101008083540402835291602001916109f1565b820191906000526020600020905b8154815290600101906020018083116109d457829003601f168201915b5050505050905090565b6000610a0682611f92565b610a675760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016108e4565b506000908152600360205260409020546001600160a01b031690565b6000610a8e82611352565b9050806001600160a01b0316836001600160a01b03161415610b185760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f720000000000000000000000000000000000000000000000000000000000000060648201526084016108e4565b336001600160a01b0382161480610b345750610b348133611bcb565b610ba65760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016108e4565b610bb08383611fdc565b505050565b610bc0335b8261204a565b610c325760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656400000000000000000000000000000060648201526084016108e4565b610bb083838361210c565b600254600a54610c4d8383612f0f565b10610c9a5760405162461bcd60e51b815260206004820152601360248201527f45786365656473206d617820737570706c792e0000000000000000000000000060448201526064016108e4565b60068210610cea5760405162461bcd60e51b815260206004820152601c60248201527f45786365656473206d617820706572207472616e73616374696f6e2e0000000060448201526064016108e4565b34610cfd67011c37937e08000084612f3b565b14610d4a5760405162461bcd60e51b815260206004820152601760248201527f496e76616c69642066756e64732070726f76696465642e00000000000000000060448201526064016108e4565b60005b82811015610bb057610d69335b610d648385612f0f565b611f16565b80610d7381612fd8565b915050610d4d565b6000610d8683611565565b8210610de85760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016108e4565b6000805b600254811015610e595760028181548110610e0957610e09613033565b6000918252602090912001546001600160a01b0386811691161415610e475783821415610e395791506108889050565b81610e4381612fd8565b9250505b80610e5181612fd8565b915050610dec565b5060405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016108e4565b6000736bacdf4e911a8dacd6450415c06bb84f2b7679516064610eda476032612f3b565b610ee49190612f27565b604051600081818185875af1925050503d8060008114610f20576040519150601f19603f3d011682016040523d82523d6000602084013e610f25565b606091505b5050905080610f9c5760405162461bcd60e51b815260206004820152602a60248201527f4661696c656420746f2073656e6420746f20666972737420776974686472617760448201527f616c20616464726573730000000000000000000000000000000000000000000060648201526084016108e4565b6008546040516000916001600160a01b03169047908381818185875af1925050503d8060008114610fe9576040519150601f19603f3d011682016040523d82523d6000602084013e610fee565b606091505b50509050806110655760405162461bcd60e51b815260206004820152602c60248201527f4661696c656420746f2073656e6420746f207365636f6e64207769746864726160448201527f77616c20616464726573732e000000000000000000000000000000000000000060648201526084016108e4565b5050565b610bb0838383604051806020016040528060008152506117e4565b61108d33610bba565b6110d95760405162461bcd60e51b815260206004820152601560248201527f4e6f7420617070726f76656420746f206275726e2e000000000000000000000060448201526064016108e4565b6109668161228f565b606060006110ef83611565565b9050806111105760408051600080825260208201909252905b509392505050565b60008167ffffffffffffffff81111561112b5761112b613049565b604051908082528060200260200182016040528015611154578160200160208202803683370190505b50905060005b828110156111085761116c8582610d7b565b82828151811061117e5761117e613033565b60209081029190910101528061119381612fd8565b91505061115a565b6000805b8281101561121057846001600160a01b031660028585848181106111c5576111c5613033565b90506020020135815481106111dc576111dc613033565b6000918252602090912001546001600160a01b031614611200576000915050611216565b61120981612fd8565b905061119f565b50600190505b9392505050565b60025460009082106112975760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201527f7574206f6620626f756e6473000000000000000000000000000000000000000060648201526084016108e4565b5090565b6005546001600160a01b031633146112f55760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108e4565b8051611065906006906020840190612745565b60005b825181101561134b57611339858585848151811061132b5761132b613033565b6020026020010151856117e4565b8061134381612fd8565b91505061130b565b5050505050565b6000806002838154811061136857611368613033565b6000918252602090912001546001600160a01b03169050806108885760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e000000000000000000000000000000000000000000000060648201526084016108e4565b606060003360405160200161141f919060609190911b6bffffffffffffffffffffffff1916815260140190565b604051602081830303815290604052905061147661143d8683612311565b85858080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525061234492505050565b6114ce5760405162461bcd60e51b815260206004820152602360248201527f496e76616c6964204d65726b6c6520547265652070726f6f6620737570706c6960448201526232b21760e91b60648201526084016108e4565b50929392505050565b600680546114e490612f9d565b80601f016020809104026020016040519081016040528092919081815260200182805461151090612f9d565b801561155d5780601f106115325761010080835404028352916020019161155d565b820191906000526020600020905b81548152906001019060200180831161154057829003601f168201915b505050505081565b60006001600160a01b0382166115e35760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f20616464726573730000000000000000000000000000000000000000000060648201526084016108e4565b6000805b60025481101561163f576002818154811061160457611604613033565b6000918252602090912001546001600160a01b038581169116141561162f5761162c82612fd8565b91505b61163881612fd8565b90506115e7565b5092915050565b6005546001600160a01b031633146116a05760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108e4565b6116aa6000612353565b565b6005546001600160a01b031633146117065760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108e4565b6000600955600a55565b60606001805461097890612f9d565b6001600160a01b0382163314156117785760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016108e4565b3360008181526004602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6117ee338361204a565b6118605760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656400000000000000000000000000000060648201526084016108e4565b61186c848484846123a5565b50505050565b6005546001600160a01b031633146118cc5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108e4565b600955565b604080513360601b6bffffffffffffffffffffffff1916602082015281516014818303018152603490910190915261194d61191461190e8661242e565b83612311565b84848080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525061234492505050565b6119a55760405162461bcd60e51b815260206004820152602360248201527f496e76616c6964204d65726b6c6520547265652070726f6f6620737570706c6960448201526232b21760e91b60648201526084016108e4565b336000908152600c602052604090205484906119c2908790612f0f565b1115611a105760405162461bcd60e51b815260206004820152601860248201527f457863656564732077686974656c69737420737570706c79000000000000000060448201526064016108e4565b34611a2367011c37937e08000087612f3b565b14611a705760405162461bcd60e51b815260206004820152601760248201527f496e76616c69642066756e64732070726f76696465642e00000000000000000060448201526064016108e4565b336000908152600c602052604081208054879290611a8f908490612f0f565b909155505060025460005b86811015611abd57611aab33610d5a565b80611ab581612fd8565b915050611a9a565b50505050505050565b6060611ad182611f92565b611b1d5760405162461bcd60e51b815260206004820152601560248201527f546f6b656e20646f6573206e6f742065786973742e000000000000000000000060448201526064016108e4565b6006611b288361242e565b604051602001611b39929190612d78565b6040516020818303038152906040529050919050565b6005546001600160a01b03163314611ba95760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108e4565b600780546001600160a01b0319166001600160a01b0392909216919091179055565b6007546040517fc45527910000000000000000000000000000000000000000000000000000000081526001600160a01b03848116600483015260009281169190841690829063c45527919060240160206040518083038186803b158015611c3157600080fd5b505afa158015611c45573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c699190612c00565b6001600160a01b03161480611c9657506001600160a01b0383166000908152600b602052604090205460ff165b15611ca5576001915050610888565b6001600160a01b0380851660009081526004602090815260408083209387168352929052205460ff165b949350505050565b6005546001600160a01b03163314611d315760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108e4565b6001600160a01b038116611dad5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016108e4565b61096681612353565b60005b815181101561186c57611de68484848481518110611dd957611dd9613033565b6020026020010151610bb5565b80611df081612fd8565b915050611db9565b6005546001600160a01b03163314611e525760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108e4565b6001600160a01b03166000908152600b60205260409020805460ff19811660ff90911615179055565b60006001600160e01b031982167f80ac58cd000000000000000000000000000000000000000000000000000000001480611ede57506001600160e01b031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b8061088857507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b0319831614610888565b6002805460018101825560009182527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace0180546001600160a01b0319166001600160a01b0385169081179091556040518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60025460009082108015610888575060006001600160a01b031660028381548110611fbf57611fbf613033565b6000918252602090912001546001600160a01b0316141592915050565b600081815260036020526040902080546001600160a01b0319166001600160a01b038416908117909155819061201182611352565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061205582611f92565b6120b65760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016108e4565b60006120c183611352565b9050806001600160a01b0316846001600160a01b031614806120fc5750836001600160a01b03166120f1846109fb565b6001600160a01b0316145b80611ccf5750611ccf8185611bcb565b826001600160a01b031661211f82611352565b6001600160a01b03161461219b5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e000000000000000000000000000000000000000000000060648201526084016108e4565b6001600160a01b0382166122165760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016108e4565b612221600082611fdc565b816002828154811061223557612235613033565b6000918252602082200180546001600160a01b0319166001600160a01b03938416179055604051839285811692908716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9190a4505050565b600061229a82611352565b90506122a7600083611fdc565b6000600283815481106122bc576122bc613033565b6000918252602082200180546001600160a01b0319166001600160a01b0393841617905560405184928416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b60008183604051602001612326929190612d49565b60405160208183030381529060405280519060200120905092915050565b60006112168260095485612560565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6123b084848461210c565b6123bc84848484612576565b61186c5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e746572000000000000000000000000000060648201526084016108e4565b60608161246e57505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115612498578061248281612fd8565b91506124919050600a83612f27565b9150612472565b60008167ffffffffffffffff8111156124b3576124b3613049565b6040519080825280601f01601f1916602001820160405280156124dd576020820181803683370190505b5090505b8415611ccf576124f2600183612f5a565b91506124ff600a86612ff3565b61250a906030612f0f565b60f81b81838151811061251f5761251f613033565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350612559600a86612f27565b94506124e1565b60008261256d85846126d9565b14949350505050565b60006001600160a01b0384163b156126ce57604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906125ba903390899088908890600401612e4b565b602060405180830381600087803b1580156125d457600080fd5b505af1925050508015612604575060408051601f3d908101601f1916820190925261260191810190612be3565b60015b6126b4573d808015612632576040519150601f19603f3d011682016040523d82523d6000602084013e612637565b606091505b5080516126ac5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e746572000000000000000000000000000060648201526084016108e4565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611ccf565b506001949350505050565b600081815b84518110156111085760008582815181106126fb576126fb613033565b602002602001015190508083116127215760008381526020829052604090209250612732565b600081815260208490526040902092505b508061273d81612fd8565b9150506126de565b82805461275190612f9d565b90600052602060002090601f01602090048101928261277357600085556127b9565b82601f1061278c57805160ff19168380011785556127b9565b828001600101855582156127b9579182015b828111156127b957825182559160200191906001019061279e565b506112979291505b8082111561129757600081556001016127c1565b60008083601f8401126127e757600080fd5b50813567ffffffffffffffff8111156127ff57600080fd5b6020830191508360208260051b850101111561281a57600080fd5b9250929050565b600082601f83011261283257600080fd5b8135602067ffffffffffffffff82111561284e5761284e613049565b8160051b61285d828201612ede565b83815282810190868401838801850189101561287857600080fd5b600093505b8584101561289b57803583526001939093019291840191840161287d565b50979650505050505050565b600082601f8301126128b857600080fd5b813567ffffffffffffffff8111156128d2576128d2613049565b6128e5601f8201601f1916602001612ede565b8181528460208386010111156128fa57600080fd5b816020850160208301376000918101602001919091529392505050565b60006020828403121561292957600080fd5b81356112168161305f565b6000806040838503121561294757600080fd5b82356129528161305f565b915060208301356129628161305f565b809150509250929050565b60008060006060848603121561298257600080fd5b833561298d8161305f565b9250602084013561299d8161305f565b9150604084013567ffffffffffffffff8111156129b957600080fd5b6129c586828701612821565b9150509250925092565b600080600080608085870312156129e557600080fd5b84356129f08161305f565b93506020850135612a008161305f565b9250604085013567ffffffffffffffff80821115612a1d57600080fd5b612a2988838901612821565b93506060870135915080821115612a3f57600080fd5b50612a4c878288016128a7565b91505092959194509250565b600080600060608486031215612a6d57600080fd5b8335612a788161305f565b92506020840135612a888161305f565b929592945050506040919091013590565b60008060008060808587031215612aaf57600080fd5b8435612aba8161305f565b93506020850135612aca8161305f565b925060408501359150606085013567ffffffffffffffff811115612aed57600080fd5b612a4c878288016128a7565b600080600060408486031215612b0e57600080fd5b8335612b198161305f565b9250602084013567ffffffffffffffff811115612b3557600080fd5b612b41868287016127d5565b9497909650939450505050565b60008060408385031215612b6157600080fd5b8235612b6c8161305f565b91506020830135801515811461296257600080fd5b60008060408385031215612b9457600080fd5b8235612b9f8161305f565b946020939093013593505050565b600060208284031215612bbf57600080fd5b5035919050565b600060208284031215612bd857600080fd5b813561121681613074565b600060208284031215612bf557600080fd5b815161121681613074565b600060208284031215612c1257600080fd5b81516112168161305f565b600060208284031215612c2f57600080fd5b813567ffffffffffffffff811115612c4657600080fd5b611ccf848285016128a7565b600080600060408486031215612c6757600080fd5b833567ffffffffffffffff80821115612c7f57600080fd5b612c8b878388016128a7565b94506020860135915080821115612ca157600080fd5b50612b41868287016127d5565b60008060008060608587031215612cc457600080fd5b8435935060208501359250604085013567ffffffffffffffff811115612ce957600080fd5b612cf5878288016127d5565b95989497509550505050565b60008151808452612d19816020860160208601612f71565b601f01601f19169290920160200192915050565b60008151612d3f818560208601612f71565b9290920192915050565b60008351612d5b818460208801612f71565b835190830190612d6f818360208801612f71565b01949350505050565b600080845481600182811c915080831680612d9457607f831692505b6020808410821415612db457634e487b7160e01b86526022600452602486fd5b818015612dc85760018114612dd957612e06565b60ff19861689528489019650612e06565b60008b81526020902060005b86811015612dfe5781548b820152908501908301612de5565b505084890196505b505050505050612e42612e198286612d2d565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000815260050190565b95945050505050565b60006001600160a01b03808716835280861660208401525083604083015260806060830152612e7d6080830184612d01565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b81811015612ebf57835183529284019291840191600101612ea3565b50909695505050505050565b6020815260006112166020830184612d01565b604051601f8201601f1916810167ffffffffffffffff81118282101715612f0757612f07613049565b604052919050565b60008219821115612f2257612f22613007565b500190565b600082612f3657612f3661301d565b500490565b6000816000190483118215151615612f5557612f55613007565b500290565b600082821015612f6c57612f6c613007565b500390565b60005b83811015612f8c578181015183820152602001612f74565b8381111561186c5750506000910152565b600181811c90821680612fb157607f821691505b60208210811415612fd257634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415612fec57612fec613007565b5060010190565b6000826130025761300261301d565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b038116811461096657600080fd5b6001600160e01b03198116811461096657600080fdfea26469706673582212200429d36e62c030fff4d4c834ef378d627cb1a4f8f8969507063b9187835c9a5264736f6c634300080700330000000000000000000000000000000000000000000000000000000000000060000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1000000000000000000000000850536558e6584cadfbc7b9db7551f9bb7c122cd000000000000000000000000000000000000000000000000000000000000001868747470733a2f2f74656d70626173657572692e636f6d2f0000000000000000

Deployed Bytecode

0x6080604052600436106102e75760003560e01c806366fddfa911610184578063bd32fb66116100d6578063e985e9c51161008a578063f3993d1111610064578063f3993d11146107f5578063f43a22dc14610815578063f73c814b1461082a57600080fd5b8063e985e9c514610795578063f2bcd022146107b5578063f2fde38b146107d557600080fd5b8063c87b56dd116100bb578063c87b56dd14610735578063cd7c032614610755578063d26ea6c01461077557600080fd5b8063bd32fb6614610702578063c4be5b591461072257600080fd5b80638da5cb5b11610138578063a22cb46511610112578063a22cb465146106ac578063aa98e0c6146106cc578063b88d4fde146106e257600080fd5b80638da5cb5b1461064c57806395d89b411461066a5780639ec00c951461067f57600080fd5b806370a082311161016957806370a08231146105f7578063715018a6146106175780638cf7be7e1461062c57600080fd5b806366fddfa9146105c25780636c0360eb146105e257600080fd5b80633c8da5881161023d5780634d44660c116101f15780635a4fee30116101cb5780635a4fee30146105525780635bab26e2146105725780636352211e146105a257600080fd5b80634d44660c146104f25780634f6ccce71461051257806355f804b31461053257600080fd5b806342842e0e1161022257806342842e0e1461048557806342966c68146104a5578063438b6300146104c557600080fd5b80633c8da588146104545780633ccfd60b1461047057600080fd5b8063095ea7b31161029f5780632db11544116102795780632db115441461040b5780632f745c591461041e57806332cb6b0c1461043e57600080fd5b8063095ea7b3146103b657806318160ddd146103d657806323b872dd146103eb57600080fd5b806306fdde03116102d057806306fdde0314610338578063081812fc1461035a5780630922f9c51461039257600080fd5b806301ffc9a7146102ec578063029877b614610321575b600080fd5b3480156102f857600080fd5b5061030c610307366004612bc6565b61084a565b60405190151581526020015b60405180910390f35b34801561032d57600080fd5b5061033661088e565b005b34801561034457600080fd5b5061034d610969565b6040516103189190612ecb565b34801561036657600080fd5b5061037a610375366004612bad565b6109fb565b6040516001600160a01b039091168152602001610318565b34801561039e57600080fd5b506103a86101b881565b604051908152602001610318565b3480156103c257600080fd5b506103366103d1366004612b81565b610a83565b3480156103e257600080fd5b506002546103a8565b3480156103f757600080fd5b50610336610406366004612a58565b610bb5565b610336610419366004612bad565b610c3d565b34801561042a57600080fd5b506103a8610439366004612b81565b610d7b565b34801561044a57600080fd5b506103a8600a5481565b34801561046057600080fd5b506103a867011c37937e08000081565b34801561047c57600080fd5b50610336610eb6565b34801561049157600080fd5b506103366104a0366004612a58565b611069565b3480156104b157600080fd5b506103366104c0366004612bad565b611084565b3480156104d157600080fd5b506104e56104e0366004612917565b6110e2565b6040516103189190612e87565b3480156104fe57600080fd5b5061030c61050d366004612af9565b61119b565b34801561051e57600080fd5b506103a861052d366004612bad565b61121d565b34801561053e57600080fd5b5061033661054d366004612c1d565b61129b565b34801561055e57600080fd5b5061033661056d3660046129cf565b611308565b34801561057e57600080fd5b5061030c61058d366004612917565b600b6020526000908152604090205460ff1681565b3480156105ae57600080fd5b5061037a6105bd366004612bad565b611352565b3480156105ce57600080fd5b5061034d6105dd366004612c52565b6113f2565b3480156105ee57600080fd5b5061034d6114d7565b34801561060357600080fd5b506103a8610612366004612917565b611565565b34801561062357600080fd5b50610336611646565b34801561063857600080fd5b50610336610647366004612bad565b6116ac565b34801561065857600080fd5b506005546001600160a01b031661037a565b34801561067657600080fd5b5061034d611710565b34801561068b57600080fd5b506103a861069a366004612917565b600c6020526000908152604090205481565b3480156106b857600080fd5b506103366106c7366004612b4e565b61171f565b3480156106d857600080fd5b506103a860095481565b3480156106ee57600080fd5b506103366106fd366004612a99565b6117e4565b34801561070e57600080fd5b5061033661071d366004612bad565b611872565b610336610730366004612cae565b6118d1565b34801561074157600080fd5b5061034d610750366004612bad565b611ac6565b34801561076157600080fd5b5060075461037a906001600160a01b031681565b34801561078157600080fd5b50610336610790366004612917565b611b4f565b3480156107a157600080fd5b5061030c6107b0366004612934565b611bcb565b3480156107c157600080fd5b5060085461037a906001600160a01b031681565b3480156107e157600080fd5b506103366107f0366004612917565b611cd7565b34801561080157600080fd5b5061033661081036600461296d565b611db6565b34801561082157600080fd5b506103a8600681565b34801561083657600080fd5b50610336610845366004612917565b611df8565b60006001600160e01b031982167f780e9d63000000000000000000000000000000000000000000000000000000001480610888575061088882611e7b565b92915050565b6005546001600160a01b031633146108ed5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b6002541561093d5760405162461bcd60e51b815260206004820152601760248201527f526573657276657320616c72656164792074616b656e2e00000000000000000060448201526064016108e4565b60005b6101b8811015610966576109543382611f16565b8061095e81612fd8565b915050610940565b50565b60606000805461097890612f9d565b80601f01602080910402602001604051908101604052809291908181526020018280546109a490612f9d565b80156109f15780601f106109c6576101008083540402835291602001916109f1565b820191906000526020600020905b8154815290600101906020018083116109d457829003601f168201915b5050505050905090565b6000610a0682611f92565b610a675760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016108e4565b506000908152600360205260409020546001600160a01b031690565b6000610a8e82611352565b9050806001600160a01b0316836001600160a01b03161415610b185760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f720000000000000000000000000000000000000000000000000000000000000060648201526084016108e4565b336001600160a01b0382161480610b345750610b348133611bcb565b610ba65760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016108e4565b610bb08383611fdc565b505050565b610bc0335b8261204a565b610c325760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656400000000000000000000000000000060648201526084016108e4565b610bb083838361210c565b600254600a54610c4d8383612f0f565b10610c9a5760405162461bcd60e51b815260206004820152601360248201527f45786365656473206d617820737570706c792e0000000000000000000000000060448201526064016108e4565b60068210610cea5760405162461bcd60e51b815260206004820152601c60248201527f45786365656473206d617820706572207472616e73616374696f6e2e0000000060448201526064016108e4565b34610cfd67011c37937e08000084612f3b565b14610d4a5760405162461bcd60e51b815260206004820152601760248201527f496e76616c69642066756e64732070726f76696465642e00000000000000000060448201526064016108e4565b60005b82811015610bb057610d69335b610d648385612f0f565b611f16565b80610d7381612fd8565b915050610d4d565b6000610d8683611565565b8210610de85760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016108e4565b6000805b600254811015610e595760028181548110610e0957610e09613033565b6000918252602090912001546001600160a01b0386811691161415610e475783821415610e395791506108889050565b81610e4381612fd8565b9250505b80610e5181612fd8565b915050610dec565b5060405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016108e4565b6000736bacdf4e911a8dacd6450415c06bb84f2b7679516064610eda476032612f3b565b610ee49190612f27565b604051600081818185875af1925050503d8060008114610f20576040519150601f19603f3d011682016040523d82523d6000602084013e610f25565b606091505b5050905080610f9c5760405162461bcd60e51b815260206004820152602a60248201527f4661696c656420746f2073656e6420746f20666972737420776974686472617760448201527f616c20616464726573730000000000000000000000000000000000000000000060648201526084016108e4565b6008546040516000916001600160a01b03169047908381818185875af1925050503d8060008114610fe9576040519150601f19603f3d011682016040523d82523d6000602084013e610fee565b606091505b50509050806110655760405162461bcd60e51b815260206004820152602c60248201527f4661696c656420746f2073656e6420746f207365636f6e64207769746864726160448201527f77616c20616464726573732e000000000000000000000000000000000000000060648201526084016108e4565b5050565b610bb0838383604051806020016040528060008152506117e4565b61108d33610bba565b6110d95760405162461bcd60e51b815260206004820152601560248201527f4e6f7420617070726f76656420746f206275726e2e000000000000000000000060448201526064016108e4565b6109668161228f565b606060006110ef83611565565b9050806111105760408051600080825260208201909252905b509392505050565b60008167ffffffffffffffff81111561112b5761112b613049565b604051908082528060200260200182016040528015611154578160200160208202803683370190505b50905060005b828110156111085761116c8582610d7b565b82828151811061117e5761117e613033565b60209081029190910101528061119381612fd8565b91505061115a565b6000805b8281101561121057846001600160a01b031660028585848181106111c5576111c5613033565b90506020020135815481106111dc576111dc613033565b6000918252602090912001546001600160a01b031614611200576000915050611216565b61120981612fd8565b905061119f565b50600190505b9392505050565b60025460009082106112975760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201527f7574206f6620626f756e6473000000000000000000000000000000000000000060648201526084016108e4565b5090565b6005546001600160a01b031633146112f55760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108e4565b8051611065906006906020840190612745565b60005b825181101561134b57611339858585848151811061132b5761132b613033565b6020026020010151856117e4565b8061134381612fd8565b91505061130b565b5050505050565b6000806002838154811061136857611368613033565b6000918252602090912001546001600160a01b03169050806108885760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e000000000000000000000000000000000000000000000060648201526084016108e4565b606060003360405160200161141f919060609190911b6bffffffffffffffffffffffff1916815260140190565b604051602081830303815290604052905061147661143d8683612311565b85858080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525061234492505050565b6114ce5760405162461bcd60e51b815260206004820152602360248201527f496e76616c6964204d65726b6c6520547265652070726f6f6620737570706c6960448201526232b21760e91b60648201526084016108e4565b50929392505050565b600680546114e490612f9d565b80601f016020809104026020016040519081016040528092919081815260200182805461151090612f9d565b801561155d5780601f106115325761010080835404028352916020019161155d565b820191906000526020600020905b81548152906001019060200180831161154057829003601f168201915b505050505081565b60006001600160a01b0382166115e35760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f20616464726573730000000000000000000000000000000000000000000060648201526084016108e4565b6000805b60025481101561163f576002818154811061160457611604613033565b6000918252602090912001546001600160a01b038581169116141561162f5761162c82612fd8565b91505b61163881612fd8565b90506115e7565b5092915050565b6005546001600160a01b031633146116a05760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108e4565b6116aa6000612353565b565b6005546001600160a01b031633146117065760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108e4565b6000600955600a55565b60606001805461097890612f9d565b6001600160a01b0382163314156117785760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016108e4565b3360008181526004602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6117ee338361204a565b6118605760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656400000000000000000000000000000060648201526084016108e4565b61186c848484846123a5565b50505050565b6005546001600160a01b031633146118cc5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108e4565b600955565b604080513360601b6bffffffffffffffffffffffff1916602082015281516014818303018152603490910190915261194d61191461190e8661242e565b83612311565b84848080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525061234492505050565b6119a55760405162461bcd60e51b815260206004820152602360248201527f496e76616c6964204d65726b6c6520547265652070726f6f6620737570706c6960448201526232b21760e91b60648201526084016108e4565b336000908152600c602052604090205484906119c2908790612f0f565b1115611a105760405162461bcd60e51b815260206004820152601860248201527f457863656564732077686974656c69737420737570706c79000000000000000060448201526064016108e4565b34611a2367011c37937e08000087612f3b565b14611a705760405162461bcd60e51b815260206004820152601760248201527f496e76616c69642066756e64732070726f76696465642e00000000000000000060448201526064016108e4565b336000908152600c602052604081208054879290611a8f908490612f0f565b909155505060025460005b86811015611abd57611aab33610d5a565b80611ab581612fd8565b915050611a9a565b50505050505050565b6060611ad182611f92565b611b1d5760405162461bcd60e51b815260206004820152601560248201527f546f6b656e20646f6573206e6f742065786973742e000000000000000000000060448201526064016108e4565b6006611b288361242e565b604051602001611b39929190612d78565b6040516020818303038152906040529050919050565b6005546001600160a01b03163314611ba95760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108e4565b600780546001600160a01b0319166001600160a01b0392909216919091179055565b6007546040517fc45527910000000000000000000000000000000000000000000000000000000081526001600160a01b03848116600483015260009281169190841690829063c45527919060240160206040518083038186803b158015611c3157600080fd5b505afa158015611c45573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c699190612c00565b6001600160a01b03161480611c9657506001600160a01b0383166000908152600b602052604090205460ff165b15611ca5576001915050610888565b6001600160a01b0380851660009081526004602090815260408083209387168352929052205460ff165b949350505050565b6005546001600160a01b03163314611d315760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108e4565b6001600160a01b038116611dad5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016108e4565b61096681612353565b60005b815181101561186c57611de68484848481518110611dd957611dd9613033565b6020026020010151610bb5565b80611df081612fd8565b915050611db9565b6005546001600160a01b03163314611e525760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108e4565b6001600160a01b03166000908152600b60205260409020805460ff19811660ff90911615179055565b60006001600160e01b031982167f80ac58cd000000000000000000000000000000000000000000000000000000001480611ede57506001600160e01b031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b8061088857507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b0319831614610888565b6002805460018101825560009182527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace0180546001600160a01b0319166001600160a01b0385169081179091556040518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60025460009082108015610888575060006001600160a01b031660028381548110611fbf57611fbf613033565b6000918252602090912001546001600160a01b0316141592915050565b600081815260036020526040902080546001600160a01b0319166001600160a01b038416908117909155819061201182611352565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061205582611f92565b6120b65760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016108e4565b60006120c183611352565b9050806001600160a01b0316846001600160a01b031614806120fc5750836001600160a01b03166120f1846109fb565b6001600160a01b0316145b80611ccf5750611ccf8185611bcb565b826001600160a01b031661211f82611352565b6001600160a01b03161461219b5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e000000000000000000000000000000000000000000000060648201526084016108e4565b6001600160a01b0382166122165760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016108e4565b612221600082611fdc565b816002828154811061223557612235613033565b6000918252602082200180546001600160a01b0319166001600160a01b03938416179055604051839285811692908716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9190a4505050565b600061229a82611352565b90506122a7600083611fdc565b6000600283815481106122bc576122bc613033565b6000918252602082200180546001600160a01b0319166001600160a01b0393841617905560405184928416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b60008183604051602001612326929190612d49565b60405160208183030381529060405280519060200120905092915050565b60006112168260095485612560565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6123b084848461210c565b6123bc84848484612576565b61186c5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e746572000000000000000000000000000060648201526084016108e4565b60608161246e57505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115612498578061248281612fd8565b91506124919050600a83612f27565b9150612472565b60008167ffffffffffffffff8111156124b3576124b3613049565b6040519080825280601f01601f1916602001820160405280156124dd576020820181803683370190505b5090505b8415611ccf576124f2600183612f5a565b91506124ff600a86612ff3565b61250a906030612f0f565b60f81b81838151811061251f5761251f613033565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350612559600a86612f27565b94506124e1565b60008261256d85846126d9565b14949350505050565b60006001600160a01b0384163b156126ce57604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906125ba903390899088908890600401612e4b565b602060405180830381600087803b1580156125d457600080fd5b505af1925050508015612604575060408051601f3d908101601f1916820190925261260191810190612be3565b60015b6126b4573d808015612632576040519150601f19603f3d011682016040523d82523d6000602084013e612637565b606091505b5080516126ac5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e746572000000000000000000000000000060648201526084016108e4565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611ccf565b506001949350505050565b600081815b84518110156111085760008582815181106126fb576126fb613033565b602002602001015190508083116127215760008381526020829052604090209250612732565b600081815260208490526040902092505b508061273d81612fd8565b9150506126de565b82805461275190612f9d565b90600052602060002090601f01602090048101928261277357600085556127b9565b82601f1061278c57805160ff19168380011785556127b9565b828001600101855582156127b9579182015b828111156127b957825182559160200191906001019061279e565b506112979291505b8082111561129757600081556001016127c1565b60008083601f8401126127e757600080fd5b50813567ffffffffffffffff8111156127ff57600080fd5b6020830191508360208260051b850101111561281a57600080fd5b9250929050565b600082601f83011261283257600080fd5b8135602067ffffffffffffffff82111561284e5761284e613049565b8160051b61285d828201612ede565b83815282810190868401838801850189101561287857600080fd5b600093505b8584101561289b57803583526001939093019291840191840161287d565b50979650505050505050565b600082601f8301126128b857600080fd5b813567ffffffffffffffff8111156128d2576128d2613049565b6128e5601f8201601f1916602001612ede565b8181528460208386010111156128fa57600080fd5b816020850160208301376000918101602001919091529392505050565b60006020828403121561292957600080fd5b81356112168161305f565b6000806040838503121561294757600080fd5b82356129528161305f565b915060208301356129628161305f565b809150509250929050565b60008060006060848603121561298257600080fd5b833561298d8161305f565b9250602084013561299d8161305f565b9150604084013567ffffffffffffffff8111156129b957600080fd5b6129c586828701612821565b9150509250925092565b600080600080608085870312156129e557600080fd5b84356129f08161305f565b93506020850135612a008161305f565b9250604085013567ffffffffffffffff80821115612a1d57600080fd5b612a2988838901612821565b93506060870135915080821115612a3f57600080fd5b50612a4c878288016128a7565b91505092959194509250565b600080600060608486031215612a6d57600080fd5b8335612a788161305f565b92506020840135612a888161305f565b929592945050506040919091013590565b60008060008060808587031215612aaf57600080fd5b8435612aba8161305f565b93506020850135612aca8161305f565b925060408501359150606085013567ffffffffffffffff811115612aed57600080fd5b612a4c878288016128a7565b600080600060408486031215612b0e57600080fd5b8335612b198161305f565b9250602084013567ffffffffffffffff811115612b3557600080fd5b612b41868287016127d5565b9497909650939450505050565b60008060408385031215612b6157600080fd5b8235612b6c8161305f565b91506020830135801515811461296257600080fd5b60008060408385031215612b9457600080fd5b8235612b9f8161305f565b946020939093013593505050565b600060208284031215612bbf57600080fd5b5035919050565b600060208284031215612bd857600080fd5b813561121681613074565b600060208284031215612bf557600080fd5b815161121681613074565b600060208284031215612c1257600080fd5b81516112168161305f565b600060208284031215612c2f57600080fd5b813567ffffffffffffffff811115612c4657600080fd5b611ccf848285016128a7565b600080600060408486031215612c6757600080fd5b833567ffffffffffffffff80821115612c7f57600080fd5b612c8b878388016128a7565b94506020860135915080821115612ca157600080fd5b50612b41868287016127d5565b60008060008060608587031215612cc457600080fd5b8435935060208501359250604085013567ffffffffffffffff811115612ce957600080fd5b612cf5878288016127d5565b95989497509550505050565b60008151808452612d19816020860160208601612f71565b601f01601f19169290920160200192915050565b60008151612d3f818560208601612f71565b9290920192915050565b60008351612d5b818460208801612f71565b835190830190612d6f818360208801612f71565b01949350505050565b600080845481600182811c915080831680612d9457607f831692505b6020808410821415612db457634e487b7160e01b86526022600452602486fd5b818015612dc85760018114612dd957612e06565b60ff19861689528489019650612e06565b60008b81526020902060005b86811015612dfe5781548b820152908501908301612de5565b505084890196505b505050505050612e42612e198286612d2d565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000815260050190565b95945050505050565b60006001600160a01b03808716835280861660208401525083604083015260806060830152612e7d6080830184612d01565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b81811015612ebf57835183529284019291840191600101612ea3565b50909695505050505050565b6020815260006112166020830184612d01565b604051601f8201601f1916810167ffffffffffffffff81118282101715612f0757612f07613049565b604052919050565b60008219821115612f2257612f22613007565b500190565b600082612f3657612f3661301d565b500490565b6000816000190483118215151615612f5557612f55613007565b500290565b600082821015612f6c57612f6c613007565b500390565b60005b83811015612f8c578181015183820152602001612f74565b8381111561186c5750506000910152565b600181811c90821680612fb157607f821691505b60208210811415612fd257634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415612fec57612fec613007565b5060010190565b6000826130025761300261301d565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b038116811461096657600080fd5b6001600160e01b03198116811461096657600080fdfea26469706673582212200429d36e62c030fff4d4c834ef378d627cb1a4f8f8969507063b9187835c9a5264736f6c63430008070033

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

0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1000000000000000000000000850536558e6584cadfbc7b9db7551f9bb7c122cd000000000000000000000000000000000000000000000000000000000000001868747470733a2f2f74656d70626173657572692e636f6d2f0000000000000000

-----Decoded View---------------
Arg [0] : _baseURI (string): https://tempbaseuri.com/
Arg [1] : _proxyRegistryAddress (address): 0xa5409ec958C83C3f309868babACA7c86DCB077c1
Arg [2] : _withdrawalAddress (address): 0x850536558E6584cAdFBC7B9DB7551F9BB7c122cD

-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1
Arg [2] : 000000000000000000000000850536558e6584cadfbc7b9db7551f9bb7c122cd
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000018
Arg [4] : 68747470733a2f2f74656d70626173657572692e636f6d2f0000000000000000


Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.