ETH Price: $3,589.34 (+4.85%)

Token

Dobies Collection (Dobies)
 

Overview

Max Total Supply

7,591 Dobies

Holders

3,479

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
b3nlunt.eth
Balance
2 Dobies
0xdf9ee56b3f5b13bc03381ac144f0c2950ae95a56
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

Just vibes.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
Dobies

Compiler Version
v0.8.14+commit.80d49f37

Optimization Enabled:
Yes with 10000 runs

Other Settings:
default evmVersion
File 1 of 15 : Dobies.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.13;

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

contract Dobies is ERC721Enumerable, Ownable, IDobies {
    string public baseURI;
    address public proxyRegistryAddress;
    uint256 public PUBLIC_SUPPLY = 7200;
    uint256 public minted = 0;
    uint256 public reserves = 800;
    bytes32 public whitelistMerkleRoot;

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

    constructor(
        string memory _baseURI,
        bytes32 _whitelistMerkleRoot,
        address _proxyRegistryAddress,
        uint256 _airdropCount
    ) ERC721("Dobies Collection", "Dobies") {
        baseURI = _baseURI;
        whitelistMerkleRoot = _whitelistMerkleRoot;
        proxyRegistryAddress = _proxyRegistryAddress;

        airdrop(0xb13Adc12aE39223A0A1Da6a531A8B0a946B26BcC, _airdropCount);
    }

    function setPublicSupply(uint256 _PUBLIC_SUPPLY) external onlyOwner {
        PUBLIC_SUPPLY = _PUBLIC_SUPPLY;
    }

    function setBaseURI(string memory _baseURI) external 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 + 1),
                    ".json"
                )
            );
    }

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

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

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

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

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

    function mint(
        uint256 count,
        uint256 startTime,
        uint256 allowance,
        bytes32[] calldata proof
    ) public {
        string memory payload = string(abi.encodePacked(_msgSender()));
        require(
            _verifyWhitelist(
                _leaf(
                    Strings.toString(allowance),
                    Strings.toString(startTime),
                    payload
                ),
                proof
            ),
            "Invalid Merkle Tree proof supplied."
        );
        require(
            addressToMinted[_msgSender()] + count <= allowance,
            "Exceeds whitelist supply"
        );
        require(
            minted + count <= PUBLIC_SUPPLY,
            "No more dobies available"
        );

        minted += count;
        addressToMinted[_msgSender()] += count;
        for (uint256 i; i < count; i++) {
            _mint(_msgSender(), totalSupply() + i);
        }
    }

    function airdrop(address to, uint256 count) public onlyOwner {
        require(count <= reserves, "Cant go over reserves");

        reserves -= count;
        addressToMinted[to] += count;
        for(uint256 i; i < count; i++) {
            _mint(to, totalSupply() + i);
        }
    }

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

    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(ERC721, IERC721)
        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 15 : IDobies.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.13;

interface IDobies {
    function isOwnerOf(address account, uint256[] calldata tokenIds)
        external
        view
        returns (bool);

    function walletOfOwner(address owner)
        external
        view
        returns (uint256[] memory);
}

File 3 of 15 : ERC721Enumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.12;

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"
        );

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

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

File 4 of 15 : 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 5 of 15 : MerkleProof.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.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.
 *
 * WARNING: You should avoid using leaf values that are 64 bytes long prior to
 * hashing, or use a hash function other than keccak256 for hashing leaves.
 * This is because the concatenation of a sorted pair of internal nodes in
 * the merkle tree could be reinterpreted as a leaf value.
 */
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 Merkle 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 6 of 15 : 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 7 of 15 : ERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.13;

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

        uint256 count;
        for (uint256 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 8 of 15 : 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 9 of 15 : Address.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.12;

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

File 10 of 15 : 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 11 of 15 : 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 12 of 15 : 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 13 of 15 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (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 `IERC721Receiver.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

File 14 of 15 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (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`.
     *
     * 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;

    /**
     * @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 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 the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

    /**
     * @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);
}

File 15 of 15 : 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": 10000
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_baseURI","type":"string"},{"internalType":"bytes32","name":"_whitelistMerkleRoot","type":"bytes32"},{"internalType":"address","name":"_proxyRegistryAddress","type":"address"},{"internalType":"uint256","name":"_airdropCount","type":"uint256"}],"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":"PUBLIC_SUPPLY","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":"count","type":"uint256"}],"name":"airdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"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":[{"internalType":"address","name":"proxyAddress","type":"address"}],"name":"flipProxyState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"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":[{"internalType":"uint256","name":"count","type":"uint256"},{"internalType":"uint256","name":"startTime","type":"uint256"},{"internalType":"uint256","name":"allowance","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"minted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[{"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":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reserves","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":"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":"bytes32","name":"_whitelistMerkleRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_proxyRegistryAddress","type":"address"}],"name":"setProxyRegistryAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_PUBLIC_SUPPLY","type":"uint256"}],"name":"setPublicSupply","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":"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"}]

6080604052611c206008556000600955610320600a553480156200002257600080fd5b506040516200338e3803806200338e83398101604081905262000045916200041f565b60408051808201825260118152702237b134b2b99021b7b63632b1ba34b7b760791b602080830191825283518085019094526006845265446f6269657360d01b9084015281519192916200009c9160009162000346565b508051620000b290600190602084019062000346565b505050620000cf620000c96200012f60201b60201c565b62000133565b8351620000e490600690602087019062000346565b50600b839055600780546001600160a01b0319166001600160a01b0384161790556200012573b13adc12ae39223a0a1da6a531a8b0a946b26bcc8262000185565b50505050620005c5565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6005546001600160a01b03163314620001e55760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b600a54811115620002395760405162461bcd60e51b815260206004820152601560248201527f43616e7420676f206f76657220726573657276657300000000000000000000006044820152606401620001dc565b80600a60008282546200024d919062000538565b90915550506001600160a01b0382166000908152600d6020526040812080548392906200027c90849062000552565b90915550600090505b81811015620002c557620002b083826200029e60025490565b620002aa919062000552565b620002ca565b80620002bc816200056d565b91505062000285565b505050565b6002805460018101825560009182527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace0180546001600160a01b0319166001600160a01b0385169081179091556040518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b828054620003549062000589565b90600052602060002090601f016020900481019282620003785760008555620003c3565b82601f106200039357805160ff1916838001178555620003c3565b82800160010185558215620003c3579182015b82811115620003c3578251825591602001919060010190620003a6565b50620003d1929150620003d5565b5090565b5b80821115620003d15760008155600101620003d6565b634e487b7160e01b600052604160045260246000fd5b80516001600160a01b03811681146200041a57600080fd5b919050565b600080600080608085870312156200043657600080fd5b84516001600160401b03808211156200044e57600080fd5b818701915087601f8301126200046357600080fd5b815181811115620004785762000478620003ec565b604051601f8201601f19908116603f01168101908382118183101715620004a357620004a3620003ec565b81604052828152602093508a84848701011115620004c057600080fd5b600091505b82821015620004e45784820184015181830185015290830190620004c5565b82821115620004f65760008484830101525b8098505050508087015194505050620005126040860162000402565b6060959095015193969295505050565b634e487b7160e01b600052601160045260246000fd5b6000828210156200054d576200054d62000522565b500390565b6000821982111562000568576200056862000522565b500190565b60006001820162000582576200058262000522565b5060010190565b600181811c908216806200059e57607f821691505b602082108103620005bf57634e487b7160e01b600052602260045260246000fd5b50919050565b612db980620005d56000396000f3fe608060405234801561001057600080fd5b50600436106102ad5760003560e01c806370a082311161017b578063aa98e0c6116100d8578063d26ea6c01161008c578063f2fde38b11610071578063f2fde38b1461056d578063f3993d1114610580578063f73c814b1461059357600080fd5b8063d26ea6c014610547578063e985e9c51461055a57600080fd5b8063c0035b2a116100bd578063c0035b2a1461050e578063c87b56dd14610521578063cd7c03261461053457600080fd5b8063aa98e0c6146104f2578063b88d4fde146104fb57600080fd5b80638ba4cc3c1161012f57806395d89b411161011457806395d89b41146104b75780639ec00c95146104bf578063a22cb465146104df57600080fd5b80638ba4cc3c146104935780638da5cb5b146104a657600080fd5b806375172a8b1161016057806375172a8b1461046e5780637cb64759146104775780638342083a1461048a57600080fd5b806370a0823114610453578063715018a61461046657600080fd5b806342966c681161022957806355f804b3116101dd5780635bab26e2116101c25780635bab26e2146104155780636352211e146104385780636c0360eb1461044b57600080fd5b806355f804b3146103ef5780635a4fee301461040257600080fd5b80634d44660c1161020e5780634d44660c146103c05780634f02c420146103d35780634f6ccce7146103dc57600080fd5b806342966c681461038d578063438b6300146103a057600080fd5b806318160ddd1161028057806326aa420a1161026557806326aa420a146103545780632f745c591461036757806342842e0e1461037a57600080fd5b806318160ddd1461032f57806323b872dd1461034157600080fd5b806301ffc9a7146102b257806306fdde03146102da578063081812fc146102ef578063095ea7b31461031a575b600080fd5b6102c56102c03660046123fe565b6105a6565b60405190151581526020015b60405180910390f35b6102e2610602565b6040516102d19190612491565b6103026102fd3660046124a4565b610694565b6040516001600160a01b0390911681526020016102d1565b61032d6103283660046124d2565b610732565b005b6002545b6040519081526020016102d1565b61032d61034f3660046124fe565b610863565b61032d6103623660046124a4565b6108eb565b6103336103753660046124d2565b61094a565b61032d6103883660046124fe565b610aa8565b61032d61039b3660046124a4565b610ac3565b6103b36103ae36600461253f565b610b24565b6040516102d1919061255c565b6102c56103ce3660046125ec565b610be0565b61033360095481565b6103336103ea3660046124a4565b610c62565b61032d6103fd366004612735565b610ce0565b61032d61041036600461281e565b610d51565b6102c561042336600461253f565b600c6020526000908152604090205460ff1681565b6103026104463660046124a4565b610d9b565b6102e2610e3b565b61033361046136600461253f565b610ec9565b61032d610faa565b610333600a5481565b61032d6104853660046124a4565b611010565b61033360085481565b61032d6104a13660046124d2565b61106f565b6005546001600160a01b0316610302565b6102e261119a565b6103336104cd36600461253f565b600d6020526000908152604090205481565b61032d6104ed3660046128a7565b6111a9565b610333600b5481565b61032d6105093660046128e5565b61128b565b61032d61051c366004612945565b611319565b6102e261052f3660046124a4565b61155d565b600754610302906001600160a01b031681565b61032d61055536600461253f565b6115f0565b6102c56105683660046129a6565b611684565b61032d61057b36600461253f565b611781565b61032d61058e3660046129d4565b611860565b61032d6105a136600461253f565b6118a2565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f780e9d630000000000000000000000000000000000000000000000000000000014806105fc57506105fc82611943565b92915050565b60606000805461061190612a36565b80601f016020809104026020016040519081016040528092919081815260200182805461063d90612a36565b801561068a5780601f1061065f5761010080835404028352916020019161068a565b820191906000526020600020905b81548152906001019060200180831161066d57829003601f168201915b5050505050905090565b600061069f82611a26565b6107165760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e000000000000000000000000000000000000000060648201526084015b60405180910390fd5b506000908152600360205260409020546001600160a01b031690565b600061073d82610d9b565b9050806001600160a01b0316836001600160a01b0316036107c65760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f7200000000000000000000000000000000000000000000000000000000000000606482015260840161070d565b336001600160a01b03821614806107e257506107e28133611684565b6108545760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606482015260840161070d565b61085e8383611a70565b505050565b61086e335b82611af6565b6108e05760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f766564000000000000000000000000000000606482015260840161070d565b61085e838383611bc9565b6005546001600160a01b031633146109455760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161070d565b600855565b600061095583610ec9565b82106109c95760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201527f74206f6620626f756e6473000000000000000000000000000000000000000000606482015260840161070d565b6000805b600254811015610a3957600281815481106109ea576109ea612a89565b6000918252602090912001546001600160a01b0390811690861603610a2757838203610a195791506105fc9050565b81610a2381612ae7565b9250505b80610a3181612ae7565b9150506109cd565b5060405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201527f74206f6620626f756e6473000000000000000000000000000000000000000000606482015260840161070d565b61085e8383836040518060200160405280600081525061128b565b610acc33610868565b610b185760405162461bcd60e51b815260206004820152601560248201527f4e6f7420617070726f76656420746f206275726e2e0000000000000000000000604482015260640161070d565b610b2181611d64565b50565b60606000610b3183610ec9565b905080600003610b555760408051600080825260208201909252905b509392505050565b60008167ffffffffffffffff811115610b7057610b70612641565b604051908082528060200260200182016040528015610b99578160200160208202803683370190505b50905060005b82811015610b4d57610bb1858261094a565b828281518110610bc357610bc3612a89565b602090810291909101015280610bd881612ae7565b915050610b9f565b6000805b82811015610c5557846001600160a01b03166002858584818110610c0a57610c0a612a89565b9050602002013581548110610c2157610c21612a89565b6000918252602090912001546001600160a01b031614610c45576000915050610c5b565b610c4e81612ae7565b9050610be4565b50600190505b9392505050565b6002546000908210610cdc5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201527f7574206f6620626f756e64730000000000000000000000000000000000000000606482015260840161070d565b5090565b6005546001600160a01b03163314610d3a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161070d565b8051610d4d906006906020840190612340565b5050565b60005b8251811015610d9457610d828585858481518110610d7457610d74612a89565b60200260200101518561128b565b80610d8c81612ae7565b915050610d54565b5050505050565b60008060028381548110610db157610db1612a89565b6000918252602090912001546001600160a01b03169050806105fc5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e0000000000000000000000000000000000000000000000606482015260840161070d565b60068054610e4890612a36565b80601f0160208091040260200160405190810160405280929190818152602001828054610e7490612a36565b8015610ec15780601f10610e9657610100808354040283529160200191610ec1565b820191906000526020600020905b815481529060010190602001808311610ea457829003601f168201915b505050505081565b60006001600160a01b038216610f475760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f206164647265737300000000000000000000000000000000000000000000606482015260840161070d565b6000805b600254811015610fa35760028181548110610f6857610f68612a89565b6000918252602090912001546001600160a01b0390811690851603610f9357610f9082612ae7565b91505b610f9c81612ae7565b9050610f4b565b5092915050565b6005546001600160a01b031633146110045760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161070d565b61100e6000611dfe565b565b6005546001600160a01b0316331461106a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161070d565b600b55565b6005546001600160a01b031633146110c95760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161070d565b600a5481111561111b5760405162461bcd60e51b815260206004820152601560248201527f43616e7420676f206f7665722072657365727665730000000000000000000000604482015260640161070d565b80600a600082825461112d9190612b1f565b90915550506001600160a01b0382166000908152600d60205260408120805483929061115a908490612b36565b90915550600090505b8181101561085e57611188838261117960025490565b6111839190612b36565b611e68565b8061119281612ae7565b915050611163565b60606001805461061190612a36565b336001600160a01b038316036112015760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161070d565b3360008181526004602090815260408083206001600160a01b0387168085529083529281902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6112953383611af6565b6113075760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f766564000000000000000000000000000000606482015260840161070d565b61131384848484611efc565b50505050565b604080513360601b7fffffffffffffffffffffffffffffffffffffffff0000000000000000000000001660208201528151601481830301815260349091019091526113b161137861136986611f85565b61137288611f85565b846120ba565b8484808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152506120f092505050565b6114235760405162461bcd60e51b815260206004820152602360248201527f496e76616c6964204d65726b6c6520547265652070726f6f6620737570706c6960448201527f65642e0000000000000000000000000000000000000000000000000000000000606482015260840161070d565b336000908152600d60205260409020548490611440908890612b36565b111561148e5760405162461bcd60e51b815260206004820152601860248201527f457863656564732077686974656c69737420737570706c790000000000000000604482015260640161070d565b6008548660095461149f9190612b36565b11156114ed5760405162461bcd60e51b815260206004820152601860248201527f4e6f206d6f726520646f6269657320617661696c61626c650000000000000000604482015260640161070d565b85600960008282546114ff9190612b36565b9091555050336000908152600d602052604081208054889290611523908490612b36565b90915550600090505b8681101561155457611542338261117960025490565b8061154c81612ae7565b91505061152c565b50505050505050565b606061156882611a26565b6115b45760405162461bcd60e51b815260206004820152601560248201527f546f6b656e20646f6573206e6f742065786973742e0000000000000000000000604482015260640161070d565b60066115c96115c4846001612b36565b611f85565b6040516020016115da929190612b6a565b6040516020818303038152906040529050919050565b6005546001600160a01b0316331461164a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161070d565b600780547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b6007546040517fc45527910000000000000000000000000000000000000000000000000000000081526001600160a01b03848116600483015260009281169190841690829063c455279190602401602060405180830381865afa1580156116ef573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117139190612c73565b6001600160a01b0316148061174057506001600160a01b0383166000908152600c602052604090205460ff165b1561174f5760019150506105fc565b6001600160a01b0380851660009081526004602090815260408083209387168352929052205460ff165b949350505050565b6005546001600160a01b031633146117db5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161070d565b6001600160a01b0381166118575760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840161070d565b610b2181611dfe565b60005b815181101561131357611890848484848151811061188357611883612a89565b6020026020010151610863565b8061189a81612ae7565b915050611863565b6005546001600160a01b031633146118fc5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161070d565b6001600160a01b03166000908152600c6020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00811660ff90911615179055565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd0000000000000000000000000000000000000000000000000000000014806119d657507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b806105fc57507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316146105fc565b600254600090821080156105fc575060006001600160a01b031660028381548110611a5357611a53612a89565b6000918252602090912001546001600160a01b0316141592915050565b600081815260036020526040902080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0384169081179091558190611abd82610d9b565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611b0182611a26565b611b735760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e0000000000000000000000000000000000000000606482015260840161070d565b6000611b7e83610d9b565b9050806001600160a01b0316846001600160a01b03161480611bb95750836001600160a01b0316611bae84610694565b6001600160a01b0316145b8061177957506117798185611684565b826001600160a01b0316611bdc82610d9b565b6001600160a01b031614611c585760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e0000000000000000000000000000000000000000000000606482015260840161070d565b6001600160a01b038216611cd35760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f7265737300000000000000000000000000000000000000000000000000000000606482015260840161070d565b611cde600082611a70565b8160028281548110611cf257611cf2612a89565b6000918252602082200180547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b03938416179055604051839285811692908716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9190a4505050565b6000611d6f82610d9b565b9050611d7c600083611a70565b600060028381548110611d9157611d91612a89565b6000918252602082200180547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0393841617905560405184928416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b600580546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6002805460018101825560009182527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace0180547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0385169081179091556040518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b611f07848484611bc9565b611f13848484846120ff565b6113135760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e7465720000000000000000000000000000606482015260840161070d565b606081600003611fc857505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115611ff25780611fdc81612ae7565b9150611feb9050600a83612cbf565b9150611fcc565b60008167ffffffffffffffff81111561200d5761200d612641565b6040519080825280601f01601f191660200182016040528015612037576020820181803683370190505b5090505b84156117795761204c600183612b1f565b9150612059600a86612cd3565b612064906030612b36565b60f81b81838151811061207957612079612a89565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506120b3600a86612cbf565b945061203b565b60008183856040516020016120d193929190612ce7565b6040516020818303038152906040528051906020012090509392505050565b6000610c5b82600b54856122be565b60006001600160a01b0384163b156122b3576040517f150b7a020000000000000000000000000000000000000000000000000000000081526001600160a01b0385169063150b7a029061215c903390899088908890600401612d2a565b6020604051808303816000875af19250505080156121b5575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01682019092526121b291810190612d66565b60015b612268573d8080156121e3576040519150601f19603f3d011682016040523d82523d6000602084013e6121e8565b606091505b5080516000036122605760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e7465720000000000000000000000000000606482015260840161070d565b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a0200000000000000000000000000000000000000000000000000000000149050611779565b506001949350505050565b6000826122cb85846122d4565b14949350505050565b600081815b8451811015610b4d5760008582815181106122f6576122f6612a89565b6020026020010151905080831161231c576000838152602082905260409020925061232d565b600081815260208490526040902092505b508061233881612ae7565b9150506122d9565b82805461234c90612a36565b90600052602060002090601f01602090048101928261236e57600085556123b4565b82601f1061238757805160ff19168380011785556123b4565b828001600101855582156123b4579182015b828111156123b4578251825591602001919060010190612399565b50610cdc9291505b80821115610cdc57600081556001016123bc565b7fffffffff0000000000000000000000000000000000000000000000000000000081168114610b2157600080fd5b60006020828403121561241057600080fd5b8135610c5b816123d0565b60005b8381101561243657818101518382015260200161241e565b838111156113135750506000910152565b6000815180845261245f81602086016020860161241b565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b602081526000610c5b6020830184612447565b6000602082840312156124b657600080fd5b5035919050565b6001600160a01b0381168114610b2157600080fd5b600080604083850312156124e557600080fd5b82356124f0816124bd565b946020939093013593505050565b60008060006060848603121561251357600080fd5b833561251e816124bd565b9250602084013561252e816124bd565b929592945050506040919091013590565b60006020828403121561255157600080fd5b8135610c5b816124bd565b6020808252825182820181905260009190848201906040850190845b8181101561259457835183529284019291840191600101612578565b50909695505050505050565b60008083601f8401126125b257600080fd5b50813567ffffffffffffffff8111156125ca57600080fd5b6020830191508360208260051b85010111156125e557600080fd5b9250929050565b60008060006040848603121561260157600080fd5b833561260c816124bd565b9250602084013567ffffffffffffffff81111561262857600080fd5b612634868287016125a0565b9497909650939450505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff811182821017156126b7576126b7612641565b604052919050565b600067ffffffffffffffff8311156126d9576126d9612641565b61270a60207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f86011601612670565b905082815283838301111561271e57600080fd5b828260208301376000602084830101529392505050565b60006020828403121561274757600080fd5b813567ffffffffffffffff81111561275e57600080fd5b8201601f8101841361276f57600080fd5b611779848235602084016126bf565b600082601f83011261278f57600080fd5b8135602067ffffffffffffffff8211156127ab576127ab612641565b8160051b6127ba828201612670565b92835284810182019282810190878511156127d457600080fd5b83870192505b848310156127f3578235825291830191908301906127da565b979650505050505050565b600082601f83011261280f57600080fd5b610c5b838335602085016126bf565b6000806000806080858703121561283457600080fd5b843561283f816124bd565b9350602085013561284f816124bd565b9250604085013567ffffffffffffffff8082111561286c57600080fd5b6128788883890161277e565b9350606087013591508082111561288e57600080fd5b5061289b878288016127fe565b91505092959194509250565b600080604083850312156128ba57600080fd5b82356128c5816124bd565b9150602083013580151581146128da57600080fd5b809150509250929050565b600080600080608085870312156128fb57600080fd5b8435612906816124bd565b93506020850135612916816124bd565b925060408501359150606085013567ffffffffffffffff81111561293957600080fd5b61289b878288016127fe565b60008060008060006080868803121561295d57600080fd5b853594506020860135935060408601359250606086013567ffffffffffffffff81111561298957600080fd5b612995888289016125a0565b969995985093965092949392505050565b600080604083850312156129b957600080fd5b82356129c4816124bd565b915060208301356128da816124bd565b6000806000606084860312156129e957600080fd5b83356129f4816124bd565b92506020840135612a04816124bd565b9150604084013567ffffffffffffffff811115612a2057600080fd5b612a2c8682870161277e565b9150509250925092565b600181811c90821680612a4a57607f821691505b602082108103612a83577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203612b1857612b18612ab8565b5060010190565b600082821015612b3157612b31612ab8565b500390565b60008219821115612b4957612b49612ab8565b500190565b60008151612b6081856020860161241b565b9290920192915050565b600080845481600182811c915080831680612b8657607f831692505b60208084108203612bbe577f4e487b710000000000000000000000000000000000000000000000000000000086526022600452602486fd5b818015612bd25760018114612c0157612c2e565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00861689528489019650612c2e565b60008b81526020902060005b86811015612c265781548b820152908501908301612c0d565b505084890196505b505050505050612c6a612c418286612b4e565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000815260050190565b95945050505050565b600060208284031215612c8557600080fd5b8151610c5b816124bd565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600082612cce57612cce612c90565b500490565b600082612ce257612ce2612c90565b500690565b60008451612cf981846020890161241b565b845190830190612d0d81836020890161241b565b8451910190612d2081836020880161241b565b0195945050505050565b60006001600160a01b03808716835280861660208401525083604083015260806060830152612d5c6080830184612447565b9695505050505050565b600060208284031215612d7857600080fd5b8151610c5b816123d056fea2646970667358221220d62df70bcdc5a54cecf9834b9cd6a32434b741d53df3cdf08f9826de2954d68d64736f6c634300080e003300000000000000000000000000000000000000000000000000000000000000808189c72badb0871df0c5f026c1680aa0b6655fbb958e821faef6ba0c4e1317ee000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c100000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000043697066733a2f2f6261667962656961746f736367676163356f6e6f6f3235357237696179636d626d35357035756a6f6d37636f6d6b6133703664367a7178783474752f0000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106102ad5760003560e01c806370a082311161017b578063aa98e0c6116100d8578063d26ea6c01161008c578063f2fde38b11610071578063f2fde38b1461056d578063f3993d1114610580578063f73c814b1461059357600080fd5b8063d26ea6c014610547578063e985e9c51461055a57600080fd5b8063c0035b2a116100bd578063c0035b2a1461050e578063c87b56dd14610521578063cd7c03261461053457600080fd5b8063aa98e0c6146104f2578063b88d4fde146104fb57600080fd5b80638ba4cc3c1161012f57806395d89b411161011457806395d89b41146104b75780639ec00c95146104bf578063a22cb465146104df57600080fd5b80638ba4cc3c146104935780638da5cb5b146104a657600080fd5b806375172a8b1161016057806375172a8b1461046e5780637cb64759146104775780638342083a1461048a57600080fd5b806370a0823114610453578063715018a61461046657600080fd5b806342966c681161022957806355f804b3116101dd5780635bab26e2116101c25780635bab26e2146104155780636352211e146104385780636c0360eb1461044b57600080fd5b806355f804b3146103ef5780635a4fee301461040257600080fd5b80634d44660c1161020e5780634d44660c146103c05780634f02c420146103d35780634f6ccce7146103dc57600080fd5b806342966c681461038d578063438b6300146103a057600080fd5b806318160ddd1161028057806326aa420a1161026557806326aa420a146103545780632f745c591461036757806342842e0e1461037a57600080fd5b806318160ddd1461032f57806323b872dd1461034157600080fd5b806301ffc9a7146102b257806306fdde03146102da578063081812fc146102ef578063095ea7b31461031a575b600080fd5b6102c56102c03660046123fe565b6105a6565b60405190151581526020015b60405180910390f35b6102e2610602565b6040516102d19190612491565b6103026102fd3660046124a4565b610694565b6040516001600160a01b0390911681526020016102d1565b61032d6103283660046124d2565b610732565b005b6002545b6040519081526020016102d1565b61032d61034f3660046124fe565b610863565b61032d6103623660046124a4565b6108eb565b6103336103753660046124d2565b61094a565b61032d6103883660046124fe565b610aa8565b61032d61039b3660046124a4565b610ac3565b6103b36103ae36600461253f565b610b24565b6040516102d1919061255c565b6102c56103ce3660046125ec565b610be0565b61033360095481565b6103336103ea3660046124a4565b610c62565b61032d6103fd366004612735565b610ce0565b61032d61041036600461281e565b610d51565b6102c561042336600461253f565b600c6020526000908152604090205460ff1681565b6103026104463660046124a4565b610d9b565b6102e2610e3b565b61033361046136600461253f565b610ec9565b61032d610faa565b610333600a5481565b61032d6104853660046124a4565b611010565b61033360085481565b61032d6104a13660046124d2565b61106f565b6005546001600160a01b0316610302565b6102e261119a565b6103336104cd36600461253f565b600d6020526000908152604090205481565b61032d6104ed3660046128a7565b6111a9565b610333600b5481565b61032d6105093660046128e5565b61128b565b61032d61051c366004612945565b611319565b6102e261052f3660046124a4565b61155d565b600754610302906001600160a01b031681565b61032d61055536600461253f565b6115f0565b6102c56105683660046129a6565b611684565b61032d61057b36600461253f565b611781565b61032d61058e3660046129d4565b611860565b61032d6105a136600461253f565b6118a2565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f780e9d630000000000000000000000000000000000000000000000000000000014806105fc57506105fc82611943565b92915050565b60606000805461061190612a36565b80601f016020809104026020016040519081016040528092919081815260200182805461063d90612a36565b801561068a5780601f1061065f5761010080835404028352916020019161068a565b820191906000526020600020905b81548152906001019060200180831161066d57829003601f168201915b5050505050905090565b600061069f82611a26565b6107165760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e000000000000000000000000000000000000000060648201526084015b60405180910390fd5b506000908152600360205260409020546001600160a01b031690565b600061073d82610d9b565b9050806001600160a01b0316836001600160a01b0316036107c65760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f7200000000000000000000000000000000000000000000000000000000000000606482015260840161070d565b336001600160a01b03821614806107e257506107e28133611684565b6108545760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606482015260840161070d565b61085e8383611a70565b505050565b61086e335b82611af6565b6108e05760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f766564000000000000000000000000000000606482015260840161070d565b61085e838383611bc9565b6005546001600160a01b031633146109455760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161070d565b600855565b600061095583610ec9565b82106109c95760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201527f74206f6620626f756e6473000000000000000000000000000000000000000000606482015260840161070d565b6000805b600254811015610a3957600281815481106109ea576109ea612a89565b6000918252602090912001546001600160a01b0390811690861603610a2757838203610a195791506105fc9050565b81610a2381612ae7565b9250505b80610a3181612ae7565b9150506109cd565b5060405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201527f74206f6620626f756e6473000000000000000000000000000000000000000000606482015260840161070d565b61085e8383836040518060200160405280600081525061128b565b610acc33610868565b610b185760405162461bcd60e51b815260206004820152601560248201527f4e6f7420617070726f76656420746f206275726e2e0000000000000000000000604482015260640161070d565b610b2181611d64565b50565b60606000610b3183610ec9565b905080600003610b555760408051600080825260208201909252905b509392505050565b60008167ffffffffffffffff811115610b7057610b70612641565b604051908082528060200260200182016040528015610b99578160200160208202803683370190505b50905060005b82811015610b4d57610bb1858261094a565b828281518110610bc357610bc3612a89565b602090810291909101015280610bd881612ae7565b915050610b9f565b6000805b82811015610c5557846001600160a01b03166002858584818110610c0a57610c0a612a89565b9050602002013581548110610c2157610c21612a89565b6000918252602090912001546001600160a01b031614610c45576000915050610c5b565b610c4e81612ae7565b9050610be4565b50600190505b9392505050565b6002546000908210610cdc5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201527f7574206f6620626f756e64730000000000000000000000000000000000000000606482015260840161070d565b5090565b6005546001600160a01b03163314610d3a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161070d565b8051610d4d906006906020840190612340565b5050565b60005b8251811015610d9457610d828585858481518110610d7457610d74612a89565b60200260200101518561128b565b80610d8c81612ae7565b915050610d54565b5050505050565b60008060028381548110610db157610db1612a89565b6000918252602090912001546001600160a01b03169050806105fc5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e0000000000000000000000000000000000000000000000606482015260840161070d565b60068054610e4890612a36565b80601f0160208091040260200160405190810160405280929190818152602001828054610e7490612a36565b8015610ec15780601f10610e9657610100808354040283529160200191610ec1565b820191906000526020600020905b815481529060010190602001808311610ea457829003601f168201915b505050505081565b60006001600160a01b038216610f475760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f206164647265737300000000000000000000000000000000000000000000606482015260840161070d565b6000805b600254811015610fa35760028181548110610f6857610f68612a89565b6000918252602090912001546001600160a01b0390811690851603610f9357610f9082612ae7565b91505b610f9c81612ae7565b9050610f4b565b5092915050565b6005546001600160a01b031633146110045760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161070d565b61100e6000611dfe565b565b6005546001600160a01b0316331461106a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161070d565b600b55565b6005546001600160a01b031633146110c95760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161070d565b600a5481111561111b5760405162461bcd60e51b815260206004820152601560248201527f43616e7420676f206f7665722072657365727665730000000000000000000000604482015260640161070d565b80600a600082825461112d9190612b1f565b90915550506001600160a01b0382166000908152600d60205260408120805483929061115a908490612b36565b90915550600090505b8181101561085e57611188838261117960025490565b6111839190612b36565b611e68565b8061119281612ae7565b915050611163565b60606001805461061190612a36565b336001600160a01b038316036112015760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161070d565b3360008181526004602090815260408083206001600160a01b0387168085529083529281902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6112953383611af6565b6113075760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f766564000000000000000000000000000000606482015260840161070d565b61131384848484611efc565b50505050565b604080513360601b7fffffffffffffffffffffffffffffffffffffffff0000000000000000000000001660208201528151601481830301815260349091019091526113b161137861136986611f85565b61137288611f85565b846120ba565b8484808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152506120f092505050565b6114235760405162461bcd60e51b815260206004820152602360248201527f496e76616c6964204d65726b6c6520547265652070726f6f6620737570706c6960448201527f65642e0000000000000000000000000000000000000000000000000000000000606482015260840161070d565b336000908152600d60205260409020548490611440908890612b36565b111561148e5760405162461bcd60e51b815260206004820152601860248201527f457863656564732077686974656c69737420737570706c790000000000000000604482015260640161070d565b6008548660095461149f9190612b36565b11156114ed5760405162461bcd60e51b815260206004820152601860248201527f4e6f206d6f726520646f6269657320617661696c61626c650000000000000000604482015260640161070d565b85600960008282546114ff9190612b36565b9091555050336000908152600d602052604081208054889290611523908490612b36565b90915550600090505b8681101561155457611542338261117960025490565b8061154c81612ae7565b91505061152c565b50505050505050565b606061156882611a26565b6115b45760405162461bcd60e51b815260206004820152601560248201527f546f6b656e20646f6573206e6f742065786973742e0000000000000000000000604482015260640161070d565b60066115c96115c4846001612b36565b611f85565b6040516020016115da929190612b6a565b6040516020818303038152906040529050919050565b6005546001600160a01b0316331461164a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161070d565b600780547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b6007546040517fc45527910000000000000000000000000000000000000000000000000000000081526001600160a01b03848116600483015260009281169190841690829063c455279190602401602060405180830381865afa1580156116ef573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117139190612c73565b6001600160a01b0316148061174057506001600160a01b0383166000908152600c602052604090205460ff165b1561174f5760019150506105fc565b6001600160a01b0380851660009081526004602090815260408083209387168352929052205460ff165b949350505050565b6005546001600160a01b031633146117db5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161070d565b6001600160a01b0381166118575760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840161070d565b610b2181611dfe565b60005b815181101561131357611890848484848151811061188357611883612a89565b6020026020010151610863565b8061189a81612ae7565b915050611863565b6005546001600160a01b031633146118fc5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161070d565b6001600160a01b03166000908152600c6020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00811660ff90911615179055565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd0000000000000000000000000000000000000000000000000000000014806119d657507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b806105fc57507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316146105fc565b600254600090821080156105fc575060006001600160a01b031660028381548110611a5357611a53612a89565b6000918252602090912001546001600160a01b0316141592915050565b600081815260036020526040902080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0384169081179091558190611abd82610d9b565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611b0182611a26565b611b735760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e0000000000000000000000000000000000000000606482015260840161070d565b6000611b7e83610d9b565b9050806001600160a01b0316846001600160a01b03161480611bb95750836001600160a01b0316611bae84610694565b6001600160a01b0316145b8061177957506117798185611684565b826001600160a01b0316611bdc82610d9b565b6001600160a01b031614611c585760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e0000000000000000000000000000000000000000000000606482015260840161070d565b6001600160a01b038216611cd35760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f7265737300000000000000000000000000000000000000000000000000000000606482015260840161070d565b611cde600082611a70565b8160028281548110611cf257611cf2612a89565b6000918252602082200180547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b03938416179055604051839285811692908716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9190a4505050565b6000611d6f82610d9b565b9050611d7c600083611a70565b600060028381548110611d9157611d91612a89565b6000918252602082200180547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0393841617905560405184928416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b600580546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6002805460018101825560009182527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace0180547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0385169081179091556040518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b611f07848484611bc9565b611f13848484846120ff565b6113135760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e7465720000000000000000000000000000606482015260840161070d565b606081600003611fc857505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115611ff25780611fdc81612ae7565b9150611feb9050600a83612cbf565b9150611fcc565b60008167ffffffffffffffff81111561200d5761200d612641565b6040519080825280601f01601f191660200182016040528015612037576020820181803683370190505b5090505b84156117795761204c600183612b1f565b9150612059600a86612cd3565b612064906030612b36565b60f81b81838151811061207957612079612a89565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506120b3600a86612cbf565b945061203b565b60008183856040516020016120d193929190612ce7565b6040516020818303038152906040528051906020012090509392505050565b6000610c5b82600b54856122be565b60006001600160a01b0384163b156122b3576040517f150b7a020000000000000000000000000000000000000000000000000000000081526001600160a01b0385169063150b7a029061215c903390899088908890600401612d2a565b6020604051808303816000875af19250505080156121b5575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01682019092526121b291810190612d66565b60015b612268573d8080156121e3576040519150601f19603f3d011682016040523d82523d6000602084013e6121e8565b606091505b5080516000036122605760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e7465720000000000000000000000000000606482015260840161070d565b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a0200000000000000000000000000000000000000000000000000000000149050611779565b506001949350505050565b6000826122cb85846122d4565b14949350505050565b600081815b8451811015610b4d5760008582815181106122f6576122f6612a89565b6020026020010151905080831161231c576000838152602082905260409020925061232d565b600081815260208490526040902092505b508061233881612ae7565b9150506122d9565b82805461234c90612a36565b90600052602060002090601f01602090048101928261236e57600085556123b4565b82601f1061238757805160ff19168380011785556123b4565b828001600101855582156123b4579182015b828111156123b4578251825591602001919060010190612399565b50610cdc9291505b80821115610cdc57600081556001016123bc565b7fffffffff0000000000000000000000000000000000000000000000000000000081168114610b2157600080fd5b60006020828403121561241057600080fd5b8135610c5b816123d0565b60005b8381101561243657818101518382015260200161241e565b838111156113135750506000910152565b6000815180845261245f81602086016020860161241b565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b602081526000610c5b6020830184612447565b6000602082840312156124b657600080fd5b5035919050565b6001600160a01b0381168114610b2157600080fd5b600080604083850312156124e557600080fd5b82356124f0816124bd565b946020939093013593505050565b60008060006060848603121561251357600080fd5b833561251e816124bd565b9250602084013561252e816124bd565b929592945050506040919091013590565b60006020828403121561255157600080fd5b8135610c5b816124bd565b6020808252825182820181905260009190848201906040850190845b8181101561259457835183529284019291840191600101612578565b50909695505050505050565b60008083601f8401126125b257600080fd5b50813567ffffffffffffffff8111156125ca57600080fd5b6020830191508360208260051b85010111156125e557600080fd5b9250929050565b60008060006040848603121561260157600080fd5b833561260c816124bd565b9250602084013567ffffffffffffffff81111561262857600080fd5b612634868287016125a0565b9497909650939450505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff811182821017156126b7576126b7612641565b604052919050565b600067ffffffffffffffff8311156126d9576126d9612641565b61270a60207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f86011601612670565b905082815283838301111561271e57600080fd5b828260208301376000602084830101529392505050565b60006020828403121561274757600080fd5b813567ffffffffffffffff81111561275e57600080fd5b8201601f8101841361276f57600080fd5b611779848235602084016126bf565b600082601f83011261278f57600080fd5b8135602067ffffffffffffffff8211156127ab576127ab612641565b8160051b6127ba828201612670565b92835284810182019282810190878511156127d457600080fd5b83870192505b848310156127f3578235825291830191908301906127da565b979650505050505050565b600082601f83011261280f57600080fd5b610c5b838335602085016126bf565b6000806000806080858703121561283457600080fd5b843561283f816124bd565b9350602085013561284f816124bd565b9250604085013567ffffffffffffffff8082111561286c57600080fd5b6128788883890161277e565b9350606087013591508082111561288e57600080fd5b5061289b878288016127fe565b91505092959194509250565b600080604083850312156128ba57600080fd5b82356128c5816124bd565b9150602083013580151581146128da57600080fd5b809150509250929050565b600080600080608085870312156128fb57600080fd5b8435612906816124bd565b93506020850135612916816124bd565b925060408501359150606085013567ffffffffffffffff81111561293957600080fd5b61289b878288016127fe565b60008060008060006080868803121561295d57600080fd5b853594506020860135935060408601359250606086013567ffffffffffffffff81111561298957600080fd5b612995888289016125a0565b969995985093965092949392505050565b600080604083850312156129b957600080fd5b82356129c4816124bd565b915060208301356128da816124bd565b6000806000606084860312156129e957600080fd5b83356129f4816124bd565b92506020840135612a04816124bd565b9150604084013567ffffffffffffffff811115612a2057600080fd5b612a2c8682870161277e565b9150509250925092565b600181811c90821680612a4a57607f821691505b602082108103612a83577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203612b1857612b18612ab8565b5060010190565b600082821015612b3157612b31612ab8565b500390565b60008219821115612b4957612b49612ab8565b500190565b60008151612b6081856020860161241b565b9290920192915050565b600080845481600182811c915080831680612b8657607f831692505b60208084108203612bbe577f4e487b710000000000000000000000000000000000000000000000000000000086526022600452602486fd5b818015612bd25760018114612c0157612c2e565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00861689528489019650612c2e565b60008b81526020902060005b86811015612c265781548b820152908501908301612c0d565b505084890196505b505050505050612c6a612c418286612b4e565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000815260050190565b95945050505050565b600060208284031215612c8557600080fd5b8151610c5b816124bd565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600082612cce57612cce612c90565b500490565b600082612ce257612ce2612c90565b500690565b60008451612cf981846020890161241b565b845190830190612d0d81836020890161241b565b8451910190612d2081836020880161241b565b0195945050505050565b60006001600160a01b03808716835280861660208401525083604083015260806060830152612d5c6080830184612447565b9695505050505050565b600060208284031215612d7857600080fd5b8151610c5b816123d056fea2646970667358221220d62df70bcdc5a54cecf9834b9cd6a32434b741d53df3cdf08f9826de2954d68d64736f6c634300080e0033

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

00000000000000000000000000000000000000000000000000000000000000808189c72badb0871df0c5f026c1680aa0b6655fbb958e821faef6ba0c4e1317ee000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c100000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000043697066733a2f2f6261667962656961746f736367676163356f6e6f6f3235357237696179636d626d35357035756a6f6d37636f6d6b6133703664367a7178783474752f0000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _baseURI (string): ipfs://bafybeiatoscggac5onoo255r7iaycmbm55p5ujom7comka3p6d6zqxx4tu/
Arg [1] : _whitelistMerkleRoot (bytes32): 0x8189c72badb0871df0c5f026c1680aa0b6655fbb958e821faef6ba0c4e1317ee
Arg [2] : _proxyRegistryAddress (address): 0xa5409ec958C83C3f309868babACA7c86DCB077c1
Arg [3] : _airdropCount (uint256): 100

-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 8189c72badb0871df0c5f026c1680aa0b6655fbb958e821faef6ba0c4e1317ee
Arg [2] : 000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000064
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000043
Arg [5] : 697066733a2f2f6261667962656961746f736367676163356f6e6f6f32353572
Arg [6] : 37696179636d626d35357035756a6f6d37636f6d6b6133703664367a71787834
Arg [7] : 74752f0000000000000000000000000000000000000000000000000000000000


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.