ETH Price: $3,281.65 (-2.20%)

Token

Keg Plebs (Keg Plebs)
 

Overview

Max Total Supply

822 Keg Plebs

Holders

344

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
go1dy.eth
Balance
2 Keg Plebs
0x9b5146a53FA189102c17D711FbC222AAe72E0B60
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
Keg

Compiler Version
v0.8.0+commit.c7dfd78e

Optimization Enabled:
Yes with 2000 runs

Other Settings:
default evmVersion
File 1 of 12 : Keg.sol
// SPDX-License-Identifier: GPL-3.0
pragma solidity ^0.8.0;

/*
    Authors: @shdw_dev, @JefftheWorm
*/
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "./ERC721Keg.sol";

contract Keg is ERC721, Ownable {
    using Strings for uint256;
    
    // state variables:
    string public                   baseURI;
    string public                   baseExtension = '.json';

    uint256 public constant         totalMints = 10000;
    uint256 public constant         price = 0.05 ether;
    uint128 public constant         maxPublicMintPerTx = 20;
    uint128 public constant         maxAllowlistMintPerAddress = 3;

    bytes32 public                  allowlistMerkleRoot;

    bool public                     paused = true;
    bool public                     allowlistMintPeriod = true;
    bool public                     reveal = false;

    constructor( 
        string memory _initURI
        
    ) ERC721("Keg Plebs", "Keg Plebs") {

        setBaseURI(_initURI);
        _safeMint(msg.sender, 20);
    }
    
    function publicMint(uint256 _mintAmt) external payable {
        require(!paused && !allowlistMintPeriod                 , "Minting is paused.");
        require(totalSupply() + _mintAmt < totalMints + 1       , "Exceeds total supply.");
        require(msg.sender == tx.origin                         , "Minter is not a User");
        require(_mintAmt < maxPublicMintPerTx + 1               , "Exceeds max batch mint amount.");
        require(_mintAmt * price == msg.value                   , "Insufficient funds.");

        _safeMint(msg.sender, _mintAmt); 
    }

    // allowlist mint -- verifies that the sender address is in the merkle tree
    function allowlistMint(uint256 _mintAmt, bytes32[] memory proof) external payable {
        string memory payload = string(abi.encodePacked(msg.sender));

        require(!paused && allowlistMintPeriod                                      , "Minting is paused.");
        require(totalSupply() + _mintAmt < totalMints + 1                           , "Exceeds total supply.");
        require(_verify(_leaf(payload), proof)                                      , "Allowlist proof provided is invalid.");
        require(_totalMints(msg.sender) + _mintAmt < maxAllowlistMintPerAddress + 1 , "Exceeds max mints per address.");
        require(_mintAmt * price == msg.value                                       , "Incorrect eth amount.");
        
        _safeMint(msg.sender, _mintAmt); 
    }
    
    function walletOfOwner(address _owner) external view returns(uint256[] memory) {
        uint256 tokenCount = balanceOf(_owner);
        if(tokenCount == 0) return new uint256[](0);

        uint256[] memory tokenIds = new uint256[](tokenCount);
        uint256 index;

        for(uint256 i = 0; i < totalSupply(); i++) {
            if(ownerOf(i) == _owner) {
                tokenIds[index] = i; 
                index++;
            }
        }
        return tokenIds;
    }

    function tokenURI(uint256 _tokenId) external view override returns(string memory) {
        require(_exists(_tokenId) , "Token DNE");
        if(!reveal) {
            return baseURI;
        }

        return string(abi.encodePacked(baseURI, Strings.toString(_tokenId), baseExtension));
    }

    // hashes address string for a leaf node in the merkle tree
    function _leaf(string memory _payload) internal pure returns(bytes32) {
        return keccak256(abi.encodePacked(_payload));
    }

    // verifies an address is in the merkle tree
    function _verify(bytes32 leaf, bytes32[] memory _proof) internal view returns(bool) {
        return MerkleProof.verify(_proof, allowlistMerkleRoot, leaf);
    }

    // contract owner only
    function setAllowlistMerkleRoot(bytes32 _allowlistMerkleRoot) external onlyOwner {
        allowlistMerkleRoot = _allowlistMerkleRoot;
    }

    // update baseURI
    function setBaseURI(string memory _newURI) public onlyOwner {
        baseURI = _newURI;
    }

    function setBaseExtension(string memory _newBaseExtension) public onlyOwner {
        baseExtension = _newBaseExtension;
    }
    
    // pause minting
    function pause(bool _state) external onlyOwner {
        paused = _state;
    }
    
    // turn off allowlist minting
    function toggleAllowlisted() external onlyOwner {
        allowlistMintPeriod = !allowlistMintPeriod;
        delete allowlistMerkleRoot;
    }

    // reveal minted kegplebs
    function _reveal() external onlyOwner {
        reveal = true;
    }

    function withdraw() external payable onlyOwner {
        (bool success, ) = msg.sender.call{value: address(this).balance}("");
        require(success, "Transfer Error");
    }
}

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

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

File 4 of 12 : ERC721Keg.sol
// SPDX-License-Identifier: MIT

/**
 * ERC721Keg is a slight modification from the recently created ERC721A standard to meet
 * the Keg Plebs needs.
 */
pragma solidity ^0.8.0;

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/Address.sol";
import "@openzeppelin/contracts/utils/Context.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/introspection/ERC165.sol";

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

    struct AddressStats {
        uint128 balance;
        uint128 totalMints;
    }

    string private _name;
    string private _symbol;

    uint256 private currentMintCount = 0;

    mapping(uint256 => address) private _owners;
    mapping(address => AddressStats) private _addressStats;


    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 
     */
    function totalSupply() public view returns (uint256) {
        return currentMintCount;
    }

    /**
     * @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), "ERC721Keg: balance query for the zero address");
        return _addressStats[owner].balance;
    }

    function _totalMints(address owner)
        internal
        view
        returns (uint256) 
    {
        require( owner != address(0),"ERC721Keg: total minted query for the zero address");
        return _addressStats[owner].totalMints;    
    }

    /**
     * @dev Helper function for ownerOf()
     */
    function findOwner(uint256 tokenId) internal view returns (address) 
    {
        require(_exists(tokenId), "ERC721Keg: token does not exist");

        if(_owners[tokenId] != address(0)) return _owners[tokenId]; // check to see if the token is the first of a batch

        uint256 lowest = 0; 
        if(tokenId > 19) { // 20 will be the highest number you can mint per tx; so lowest needs to be at least 1 greater than 19
            lowest = tokenId - 20;
        }
        
        for(uint256 idx = tokenId; idx + 1 > lowest; idx-- ) {
            address owner = _owners[idx];
            if(owner != address(0)) return owner; 
        }

        revert("ERC721Keg: owner not found.");
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address)
    {
        return findOwner(tokenId);
    }

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

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

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

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

        _approve(to, tokenId, owner);
    }

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

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved)
        external
        virtual
        override
    {
        require(operator != _msgSender(), "ERC721Keg: 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
    ) external virtual override {
        _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 {
        _transfer(from, to, tokenId);
        require(
            _checkOnERC721Received(from, to, tokenId, _data),
            "ERC721Keg: transfer to non ERC721Receiver implementer"
        );
    }

    /**
     * @dev Returns whether `tokenId` exists.
     *
     * Tokens can be managed by who owns them or approved accounts via {approve} or {setApprovalForAll}.
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return tokenId < currentMintCount;
    }

    /**
     * @dev Returns whether `spender` is allowed to manage `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _isApprovedOrOwner(address spender, uint256 tokenId, address owner) internal view virtual returns (bool) {
        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 _mintAmt) internal virtual {
        _safeMint(to, _mintAmt, "");
    }

    /**
     * @dev Mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - there must be `quantity` tokens remaining unminted in the total collection.
     * - `to` cannot be the zero address
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(
        address to,
        uint256 _mintAmt,
        bytes memory _data
    ) internal {
        require(to != address(0), "ERC721Keg: mint to the zero address");
        uint256 firstTokenId = currentMintCount;

        require(!_exists(firstTokenId), "ERC721K: token already minted"); 
        _beforeTokenTransfer(address(0), to, firstTokenId, _mintAmt); 

        _owners[firstTokenId] = to; // set the id to the minter's addi

        AddressStats memory addressStats = _addressStats[to];
        _addressStats[to] = AddressStats(
            addressStats.balance + uint128(_mintAmt),
            addressStats.totalMints + uint128(_mintAmt)
        );

        uint256 updatedIndex = firstTokenId;

        for(uint128 i = 0; i < _mintAmt; i++) {
            emit Transfer(address(0), to, updatedIndex);

            require(
                _checkOnERC721Received(address(0), to, updatedIndex, _data),
                "ERC721Keg: transfer to non ERC721Receiver implementer"
            );
            updatedIndex++;
        }
        currentMintCount = updatedIndex;
    }

    /**
     * @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 {
        address currOwner = findOwner(tokenId);

        require(
            _isApprovedOrOwner(_msgSender(), tokenId, currOwner), 
            "ERC721Keg: transfer not called by owner or approved of."
        );

        require(
            currOwner == from,
            "ERC721Keg: transfer of token that is not own."
        );
        require(to != address(0), "ERC721Keg: transfer to the zero address");

        _beforeTokenTransfer(from, to, tokenId, 1);

        // Clear approvals from the previous owner
        _approve(address(0), tokenId, currOwner);
        _addressStats[from].balance -= 1;
        _addressStats[to].balance += 1;
        _owners[tokenId] = to;

        // check/update the following token id
        if(_owners[tokenId + 1] == address(0)) {
            if(_exists(tokenId + 1)) {
                _owners[tokenId + 1] = currOwner;
            }
        }

        emit Transfer(from, to, tokenId);
    }

    /**
     * @dev Approve `to` to operate on `tokenId`
     *
     * Emits a {Approval} event.
     */
    function _approve(address to, uint256 tokenId, address owner) internal virtual {
        _tokenApprovals[tokenId] = to;
        emit Approval(owner, 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(
                        "ERC721Keg: 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 firstTokenId,
        uint mintAmt
    ) internal virtual {}
}

File 5 of 12 : 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 6 of 12 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

File 8 of 12 : 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 9 of 12 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Address.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_initURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"_reveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"allowlistMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmt","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"allowlistMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"allowlistMintPeriod","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseExtension","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxAllowlistMintPerAddress","outputs":[{"internalType":"uint128","name":"","type":"uint128"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPublicMintPerTx","outputs":[{"internalType":"uint128","name":"","type":"uint128"}],"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":"bool","name":"_state","type":"bool"}],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmt","type":"uint256"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reveal","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"bytes32","name":"_allowlistMerkleRoot","type":"bytes32"}],"name":"setAllowlistMerkleRoot","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":"_newBaseExtension","type":"string"}],"name":"setBaseExtension","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newURI","type":"string"}],"name":"setBaseURI","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":[],"name":"toggleAllowlisted","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalMints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"withdraw","outputs":[],"stateMutability":"payable","type":"function"}]

600060025560c06040526005608081905264173539b7b760d91b60a09081526200002d916009919062000550565b50600b805462ff00001961ff001960ff1990921660011791909116610100171690553480156200005c57600080fd5b506040516200373c3803806200373c8339810160408190526200007f9162000627565b6040805180820182526009808252684b656720506c65627360b81b602080840182815285518087019096529285528401528151919291620000c39160009162000550565b508051620000d990600190602084019062000550565b505050620000f6620000f06200011560201b60201c565b62000119565b62000101816200016b565b6200010e336014620001d3565b5062000945565b3390565b600780546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6200017562000115565b6001600160a01b031662000188620001f5565b6001600160a01b031614620001ba5760405162461bcd60e51b8152600401620001b19062000802565b60405180910390fd5b8051620001cf90600890602084019062000550565b5050565b620001cf8282604051806020016040528060008152506200020460201b60201c565b6007546001600160a01b031690565b6001600160a01b0383166200022d5760405162461bcd60e51b8152600401620001b1906200072b565b6002546200023b8162000404565b156200025b5760405162461bcd60e51b8152600401620001b190620007cb565b6200026a60008583866200040b565b600081815260036020908152604080832080546001600160a01b0319166001600160a01b038916908117909155835260048252918290208251808401845290546001600160801b038082168352600160801b9091041691810191909152815180830190925280519091908190620002e390879062000837565b6001600160801b0316815260200185836020015162000303919062000837565b6001600160801b039081169091526001600160a01b038716600090815260046020908152604082208451815495909201518416600160801b029184166001600160801b0319909516949094179092169190911790915582905b85816001600160801b03161015620003f95760405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4620003b5600088848862000411565b620003d45760405162461bcd60e51b8152600401620001b1906200076e565b81620003e081620008fb565b9250508080620003f090620008d1565b9150506200035c565b506002555050505050565b6002541190565b50505050565b600062000432846001600160a01b03166200054a60201b620013431760201c565b156200053e576001600160a01b03841663150b7a026200045162000115565b8786866040518563ffffffff1660e01b8152600401620004759493929190620006d5565b602060405180830381600087803b1580156200049057600080fd5b505af1925050508015620004c3575060408051601f3d908101601f19168201909252620004c091810190620005f6565b60015b62000523573d808015620004f4576040519150601f19603f3d011682016040523d82523d6000602084013e620004f9565b606091505b5080516200051b5760405162461bcd60e51b8152600401620001b1906200076e565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905062000542565b5060015b949350505050565b3b151590565b8280546200055e9062000894565b90600052602060002090601f016020900481019282620005825760008555620005cd565b82601f106200059d57805160ff1916838001178555620005cd565b82800160010185558215620005cd579182015b82811115620005cd578251825591602001919060010190620005b0565b50620005db929150620005df565b5090565b5b80821115620005db5760008155600101620005e0565b60006020828403121562000608578081fd5b81516001600160e01b03198116811462000620578182fd5b9392505050565b60006020828403121562000639578081fd5b81516001600160401b038082111562000650578283fd5b818401915084601f83011262000664578283fd5b8151818111156200067957620006796200092f565b604051601f8201601f191681016020018381118282101715620006a057620006a06200092f565b604052818152838201602001871015620006b8578485fd5b620006cb82602083016020870162000865565b9695505050505050565b600060018060a01b038087168352808616602084015250836040830152608060608301528251806080840152620007148160a085016020870162000865565b601f01601f19169190910160a00195945050505050565b60208082526023908201527f4552433732314b65673a206d696e7420746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60208082526035908201527f4552433732314b65673a207472616e7366657220746f206e6f6e20455243373260408201527f31526563656976657220696d706c656d656e7465720000000000000000000000606082015260800190565b6020808252601d908201527f4552433732314b3a20746f6b656e20616c7265616479206d696e746564000000604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60006001600160801b038281168482168083038211156200085c576200085c62000919565b01949350505050565b60005b838110156200088257818101518382015260200162000868565b838111156200040b5750506000910152565b600281046001821680620008a957607f821691505b60208210811415620008cb57634e487b7160e01b600052602260045260246000fd5b50919050565b60006001600160801b0382811680821415620008f157620008f162000919565b6001019392505050565b600060001982141562000912576200091262000919565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b612de780620009556000396000f3fe60806040526004361061026a5760003560e01c80636c0360eb11610153578063b88d4fde116100cb578063e985e9c51161007f578063eed718c111610064578063eed718c114610626578063f2fde38b1461063b578063f95df4141461065b5761026a565b8063e985e9c5146105f1578063ec4ccbb1146106115761026a565b8063c87b56dd116100b0578063c87b56dd1461059c578063c983b4ce146105bc578063da3ef23f146105d15761026a565b8063b88d4fde14610567578063c6682862146105875761026a565b80638da5cb5b11610122578063a035b1fe11610107578063a035b1fe1461051d578063a22cb46514610532578063a475b5dd146105525761026a565b80638da5cb5b146104f357806395d89b41146105085761026a565b80636c0360eb1461049657806370a08231146104ab578063715018a6146104cb5780637bc9200e146104e05761026a565b80632db11544116101e6578063503ca789116101b55780635c975abb1161019a5780635c975abb1461044c578063607ea931146104615780636352211e146104765761026a565b8063503ca7891461040a57806355f804b31461042c5761026a565b80632db11544146103a25780633ccfd60b146103b557806342842e0e146103bd578063438b6300146103dd5761026a565b8063095ea7b31161023d5780631f21bfbf116102225780631f21bfbf1461035857806323b872dd1461036d578063293108e01461038d5761026a565b8063095ea7b31461031657806318160ddd146103365761026a565b806301ffc9a71461026f57806302329a29146102a557806306fdde03146102c7578063081812fc146102e9575b600080fd5b34801561027b57600080fd5b5061028f61028a3660046120d2565b61067b565b60405161029c91906123eb565b60405180910390f35b3480156102b157600080fd5b506102c56102c03660046120a0565b610725565b005b3480156102d357600080fd5b506102dc610780565b60405161029c91906123ff565b3480156102f557600080fd5b506103096103043660046120ba565b610812565b60405161029c9190612357565b34801561032257600080fd5b506102c5610331366004612077565b610855565b34801561034257600080fd5b5061034b6108ee565b60405161029c91906123f6565b34801561036457600080fd5b5061034b6108f4565b34801561037957600080fd5b506102c5610388366004611f9a565b6108fa565b34801561039957600080fd5b5061034b610905565b6102c56103b03660046120ba565b61090b565b6102c5610a0d565b3480156103c957600080fd5b506102c56103d8366004611f9a565b610ac8565b3480156103e957600080fd5b506103fd6103f8366004611f4e565b610ae3565b60405161029c91906123a7565b34801561041657600080fd5b5061041f610bed565b60405161029c9190612b6e565b34801561043857600080fd5b506102c561044736600461210a565b610bf2565b34801561045857600080fd5b5061028f610c48565b34801561046d57600080fd5b5061041f610c51565b34801561048257600080fd5b506103096104913660046120ba565b610c56565b3480156104a257600080fd5b506102dc610c61565b3480156104b757600080fd5b5061034b6104c6366004611f4e565b610cef565b3480156104d757600080fd5b506102c5610d3c565b6102c56104ee366004612150565b610d87565b3480156104ff57600080fd5b50610309610ecd565b34801561051457600080fd5b506102dc610edc565b34801561052957600080fd5b5061034b610eeb565b34801561053e57600080fd5b506102c561054d36600461204e565b610ef6565b34801561055e57600080fd5b5061028f610fc4565b34801561057357600080fd5b506102c5610582366004611fd5565b610fd3565b34801561059357600080fd5b506102dc61100c565b3480156105a857600080fd5b506102dc6105b73660046120ba565b611019565b3480156105c857600080fd5b5061028f611117565b3480156105dd57600080fd5b506102c56105ec36600461210a565b611125565b3480156105fd57600080fd5b5061028f61060c366004611f68565b611177565b34801561061d57600080fd5b506102c56111a5565b34801561063257600080fd5b506102c5611223565b34801561064757600080fd5b506102c5610656366004611f4e565b611291565b34801561066757600080fd5b506102c56106763660046120ba565b6112ff565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd00000000000000000000000000000000000000000000000000000000148061070e57507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b8061071d575061071d82611349565b90505b919050565b61072d611393565b6001600160a01b031661073e610ecd565b6001600160a01b03161461076d5760405162461bcd60e51b81526004016107649061296c565b60405180910390fd5b600b805460ff1916911515919091179055565b60606000805461078f90612cb0565b80601f01602080910402602001604051908101604052809291908181526020018280546107bb90612cb0565b80156108085780601f106107dd57610100808354040283529160200191610808565b820191906000526020600020905b8154815290600101906020018083116107eb57829003601f168201915b5050505050905090565b600061081d82611397565b6108395760405162461bcd60e51b8152600401610764906128d8565b506000908152600560205260409020546001600160a01b031690565b600061086082610c56565b9050806001600160a01b0316836001600160a01b031614156108945760405162461bcd60e51b81526004016107649061287b565b806001600160a01b03166108a6611393565b6001600160a01b031614806108c257506108c28161060c611393565b6108de5760405162461bcd60e51b815260040161076490612651565b6108e983838361139e565b505050565b60025490565b61271081565b6108e9838383611407565b600a5481565b600b5460ff161580156109265750600b54610100900460ff16155b6109425760405162461bcd60e51b8152600401610764906124a6565b61094f6127106001612be3565b816109586108ee565b6109629190612be3565b1061097f5760405162461bcd60e51b815260040161076490612412565b33321461099e5760405162461bcd60e51b81526004016107649061280d565b6109aa60146001612bb8565b6001600160801b031681106109d15760405162461bcd60e51b815260040161076490612844565b346109e366b1a2bc2ec5000083612c0f565b14610a005760405162461bcd60e51b815260040161076490612b37565b610a0a3382611658565b50565b610a15611393565b6001600160a01b0316610a26610ecd565b6001600160a01b031614610a4c5760405162461bcd60e51b81526004016107649061296c565b6000336001600160a01b031647604051610a6590612354565b60006040518083038185875af1925050503d8060008114610aa2576040519150601f19603f3d011682016040523d82523d6000602084013e610aa7565b606091505b5050905080610a0a5760405162461bcd60e51b8152600401610764906126ae565b6108e983838360405180602001604052806000815250610fd3565b60606000610af083610cef565b905080610b0d575050604080516000815260208101909152610720565b60008167ffffffffffffffff811115610b3657634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610b5f578160200160208202803683370190505b5090506000805b610b6e6108ee565b811015610be357856001600160a01b0316610b8882610c56565b6001600160a01b03161415610bd15780838381518110610bb857634e487b7160e01b600052603260045260246000fd5b602090810291909101015281610bcd81612d12565b9250505b80610bdb81612d12565b915050610b66565b5090949350505050565b601481565b610bfa611393565b6001600160a01b0316610c0b610ecd565b6001600160a01b031614610c315760405162461bcd60e51b81526004016107649061296c565b8051610c44906008906020840190611e36565b5050565b600b5460ff1681565b600381565b600061071d82611672565b60088054610c6e90612cb0565b80601f0160208091040260200160405190810160405280929190818152602001828054610c9a90612cb0565b8015610ce75780601f10610cbc57610100808354040283529160200191610ce7565b820191906000526020600020905b815481529060010190602001808311610cca57829003601f168201915b505050505081565b60006001600160a01b038216610d175760405162461bcd60e51b8152600401610764906127b0565b506001600160a01b03166000908152600460205260409020546001600160801b031690565b610d44611393565b6001600160a01b0316610d55610ecd565b6001600160a01b031614610d7b5760405162461bcd60e51b81526004016107649061296c565b610d856000611755565b565b600033604051602001610d9a91906122c7565b60408051601f19818403018152919052600b5490915060ff16158015610dc75750600b54610100900460ff165b610de35760405162461bcd60e51b8152600401610764906124a6565b610df06127106001612be3565b83610df96108ee565b610e039190612be3565b10610e205760405162461bcd60e51b815260040161076490612412565b610e32610e2c826117b4565b836117e4565b610e4e5760405162461bcd60e51b815260040161076490612597565b610e5a60036001612bb8565b6001600160801b031683610e6d336117fa565b610e779190612be3565b10610e945760405162461bcd60e51b815260040161076490612ac9565b34610ea666b1a2bc2ec5000085612c0f565b14610ec35760405162461bcd60e51b815260040161076490612935565b6108e93384611658565b6007546001600160a01b031690565b60606001805461078f90612cb0565b66b1a2bc2ec5000081565b610efe611393565b6001600160a01b0316826001600160a01b03161415610f2f5760405162461bcd60e51b8152600401610764906129a1565b8060066000610f3c611393565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff191692151592909217909155610f80611393565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051610fb891906123eb565b60405180910390a35050565b600b5462010000900460ff1681565b610fde848484611407565b610fea8484848461185b565b6110065760405162461bcd60e51b8152600401610764906125f4565b50505050565b60098054610c6e90612cb0565b606061102482611397565b6110405760405162461bcd60e51b8152600401610764906129d8565b600b5462010000900460ff166110e2576008805461105d90612cb0565b80601f016020809104026020016040519081016040528092919081815260200182805461108990612cb0565b80156110d65780601f106110ab576101008083540402835291602001916110d6565b820191906000526020600020905b8154815290600101906020018083116110b957829003601f168201915b50505050509050610720565b60086110ed836119a8565b600960405160200161110193929190612321565b6040516020818303038152906040529050919050565b600b54610100900460ff1681565b61112d611393565b6001600160a01b031661113e610ecd565b6001600160a01b0316146111645760405162461bcd60e51b81526004016107649061296c565b8051610c44906009906020840190611e36565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b6111ad611393565b6001600160a01b03166111be610ecd565b6001600160a01b0316146111e45760405162461bcd60e51b81526004016107649061296c565b600b80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff81166101009182900460ff16159091021790556000600a55565b61122b611393565b6001600160a01b031661123c610ecd565b6001600160a01b0316146112625760405162461bcd60e51b81526004016107649061296c565b600b80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ffff1662010000179055565b611299611393565b6001600160a01b03166112aa610ecd565b6001600160a01b0316146112d05760405162461bcd60e51b81526004016107649061296c565b6001600160a01b0381166112f65760405162461bcd60e51b81526004016107649061253a565b610a0a81611755565b611307611393565b6001600160a01b0316611318610ecd565b6001600160a01b03161461133e5760405162461bcd60e51b81526004016107649061296c565b600a55565b3b151590565b7fffffffff0000000000000000000000000000000000000000000000000000000081167f01ffc9a70000000000000000000000000000000000000000000000000000000014919050565b3390565b6002541190565b600082815260056020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061141282611672565b905061142661141f611393565b8383611af7565b6114425760405162461bcd60e51b8152600401610764906124dd565b836001600160a01b0316816001600160a01b0316146114735760405162461bcd60e51b815260040161076490612a0f565b6001600160a01b0383166114995760405162461bcd60e51b815260040161076490612a6c565b6114a68484846001611006565b6114b26000838361139e565b6001600160a01b03841660009081526004602052604081208054600192906114e49084906001600160801b0316612c2e565b82546101009290920a6001600160801b038181021990931691831602179091556001600160a01b0385166000908152600460205260408120805460019450909261153091859116612bb8565b82546101009290920a6001600160801b038181021990931691909216919091021790555060008281526003602081905260408220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b03871617905581611596856001612be3565b81526020810191909152604001600020546001600160a01b03161415611611576115c96115c4836001612be3565b611397565b156116115780600360006115de856001612be3565b815260200190815260200160002060006101000a8154816001600160a01b0302191690836001600160a01b031602179055505b81836001600160a01b0316856001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a450505050565b610c44828260405180602001604052806000815250611b42565b600061167d82611397565b6116995760405162461bcd60e51b815260040161076490612b00565b6000828152600360205260409020546001600160a01b0316156116d457506000818152600360205260409020546001600160a01b0316610720565b600060138311156116ed576116ea601484612c56565b90505b825b816116fb826001612be3565b111561173c576000818152600360205260409020546001600160a01b03168015611729579250610720915050565b508061173481612c99565b9150506116ef565b5060405162461bcd60e51b815260040161076490612742565b600780546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6000816040516020016117c79190612305565b604051602081830303815290604052805190602001209050919050565b60006117f382600a5485611d68565b9392505050565b60006001600160a01b0382166118225760405162461bcd60e51b8152600401610764906126e5565b506001600160a01b031660009081526004602052604090205470010000000000000000000000000000000090046001600160801b031690565b600061186f846001600160a01b0316611343565b1561199c57836001600160a01b031663150b7a0261188b611393565b8786866040518563ffffffff1660e01b81526004016118ad949392919061236b565b602060405180830381600087803b1580156118c757600080fd5b505af19250505080156118f7575060408051601f3d908101601f191682019092526118f4918101906120ee565b60015b611951573d808015611925576040519150601f19603f3d011682016040523d82523d6000602084013e61192a565b606091505b5080516119495760405162461bcd60e51b8152600401610764906125f4565b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a02000000000000000000000000000000000000000000000000000000001490506119a0565b5060015b949350505050565b6060816119e9575060408051808201909152600181527f30000000000000000000000000000000000000000000000000000000000000006020820152610720565b8160005b8115611a1357806119fd81612d12565b9150611a0c9050600a83612bfb565b91506119ed565b60008167ffffffffffffffff811115611a3c57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611a66576020820181803683370190505b5090505b84156119a057611a7b600183612c56565b9150611a88600a86612d2d565b611a93906030612be3565b60f81b818381518110611ab657634e487b7160e01b600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350611af0600a86612bfb565b9450611a6a565b6000816001600160a01b0316846001600160a01b03161480611b325750836001600160a01b0316611b2784610812565b6001600160a01b0316145b806119a057506119a08285611177565b6001600160a01b038316611b685760405162461bcd60e51b815260040161076490612449565b600254611b7481611397565b15611b915760405162461bcd60e51b815260040161076490612779565b611b9e6000858386611006565b6000818152600360209081526040808320805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b038916908117909155835260048252918290208251808401845290546001600160801b0380821683527001000000000000000000000000000000009091041691810191909152815180830190925280519091908190611c2f908790612bb8565b6001600160801b03168152602001858360200151611c4d9190612bb8565b6001600160801b039081169091526001600160a01b038716600090815260046020908152604082208451815495909201518416700100000000000000000000000000000000029184167fffffffffffffffffffffffffffffffff00000000000000000000000000000000909516949094179092169190911790915582905b85816001600160801b03161015611d5d5760405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4611d21600088848861185b565b611d3d5760405162461bcd60e51b8152600401610764906125f4565b81611d4781612d12565b9250508080611d5590612ceb565b915050611ccb565b506002555050505050565b600082611d758584611d7e565b14949350505050565b600081815b8451811015611e2e576000858281518110611dae57634e487b7160e01b600052603260045260246000fd5b60200260200101519050808311611def578281604051602001611dd29291906122f7565b604051602081830303815290604052805190602001209250611e1b565b8083604051602001611e029291906122f7565b6040516020818303038152906040528051906020012092505b5080611e2681612d12565b915050611d83565b509392505050565b828054611e4290612cb0565b90600052602060002090601f016020900481019282611e645760008555611eaa565b82601f10611e7d57805160ff1916838001178555611eaa565b82800160010185558215611eaa579182015b82811115611eaa578251825591602001919060010190611e8f565b50611eb6929150611eba565b5090565b5b80821115611eb65760008155600101611ebb565b600067ffffffffffffffff831115611ee957611ee9612d6d565b611efc6020601f19601f86011601612b82565b9050828152838383011115611f1057600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b038116811461072057600080fd5b8035801515811461072057600080fd5b600060208284031215611f5f578081fd5b6117f382611f27565b60008060408385031215611f7a578081fd5b611f8383611f27565b9150611f9160208401611f27565b90509250929050565b600080600060608486031215611fae578081fd5b611fb784611f27565b9250611fc560208501611f27565b9150604084013590509250925092565b60008060008060808587031215611fea578081fd5b611ff385611f27565b935061200160208601611f27565b925060408501359150606085013567ffffffffffffffff811115612023578182fd5b8501601f81018713612033578182fd5b61204287823560208401611ecf565b91505092959194509250565b60008060408385031215612060578182fd5b61206983611f27565b9150611f9160208401611f3e565b60008060408385031215612089578182fd5b61209283611f27565b946020939093013593505050565b6000602082840312156120b1578081fd5b6117f382611f3e565b6000602082840312156120cb578081fd5b5035919050565b6000602082840312156120e3578081fd5b81356117f381612d83565b6000602082840312156120ff578081fd5b81516117f381612d83565b60006020828403121561211b578081fd5b813567ffffffffffffffff811115612131578182fd5b8201601f81018413612141578182fd5b6119a084823560208401611ecf565b60008060408385031215612162578182fd5b8235915060208084013567ffffffffffffffff80821115612181578384fd5b818601915086601f830112612194578384fd5b8135818111156121a6576121a6612d6d565b83810291506121b6848301612b82565b8181528481019084860184860187018b10156121d0578788fd5b8795505b838610156121f25780358352600195909501949186019186016121d4565b508096505050505050509250929050565b6000815180845261221b816020860160208601612c6d565b601f01601f19169290920160200192915050565b80546000906002810460018083168061224957607f831692505b602080841082141561226957634e487b7160e01b86526022600452602486fd5b81801561227d576001811461228e576122bb565b60ff198616895284890196506122bb565b61229788612bac565b60005b868110156122b35781548b82015290850190830161229a565b505084890196505b50505050505092915050565b60609190911b7fffffffffffffffffffffffffffffffffffffffff00000000000000000000000016815260140190565b918252602082015260400190565b60008251612317818460208701612c6d565b9190910192915050565b600061232d828661222f565b845161233d818360208901612c6d565b6123498183018661222f565b979650505050505050565b90565b6001600160a01b0391909116815260200190565b60006001600160a01b0380871683528086166020840152508360408301526080606083015261239d6080830184612203565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b818110156123df578351835292840192918401916001016123c3565b50909695505050505050565b901515815260200190565b90815260200190565b6000602082526117f36020830184612203565b60208082526015908201527f4578636565647320746f74616c20737570706c792e0000000000000000000000604082015260600190565b60208082526023908201527f4552433732314b65673a206d696e7420746f20746865207a65726f206164647260408201527f6573730000000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526012908201527f4d696e74696e67206973207061757365642e0000000000000000000000000000604082015260600190565b60208082526037908201527f4552433732314b65673a207472616e73666572206e6f742063616c6c6564206260408201527f79206f776e6572206f7220617070726f766564206f662e000000000000000000606082015260800190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201527f6464726573730000000000000000000000000000000000000000000000000000606082015260800190565b60208082526024908201527f416c6c6f776c6973742070726f6f662070726f766964656420697320696e766160408201527f6c69642e00000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526035908201527f4552433732314b65673a207472616e7366657220746f206e6f6e20455243373260408201527f31526563656976657220696d706c656d656e7465720000000000000000000000606082015260800190565b6020808252603b908201527f4552433732314b65673a20617070726f76652063616c6c6572206973206e6f7460408201527f206f776e6572206e6f7220617070726f76656420666f7220616c6c0000000000606082015260800190565b6020808252600e908201527f5472616e73666572204572726f72000000000000000000000000000000000000604082015260600190565b60208082526032908201527f4552433732314b65673a20746f74616c206d696e74656420717565727920666f60408201527f7220746865207a65726f20616464726573730000000000000000000000000000606082015260800190565b6020808252601b908201527f4552433732314b65673a206f776e6572206e6f7420666f756e642e0000000000604082015260600190565b6020808252601d908201527f4552433732314b3a20746f6b656e20616c7265616479206d696e746564000000604082015260600190565b6020808252602d908201527f4552433732314b65673a2062616c616e636520717565727920666f722074686560408201527f207a65726f206164647265737300000000000000000000000000000000000000606082015260800190565b60208082526014908201527f4d696e746572206973206e6f7420612055736572000000000000000000000000604082015260600190565b6020808252601e908201527f45786365656473206d6178206261746368206d696e7420616d6f756e742e0000604082015260600190565b60208082526024908201527f4552433732314b65673a20617070726f76616c20746f2063757272656e74206f60408201527f776e657200000000000000000000000000000000000000000000000000000000606082015260800190565b6020808252602f908201527f4552433732314b65673a20617070726f76656420717565727920666f72206e6f60408201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000606082015260800190565b60208082526015908201527f496e636f72726563742065746820616d6f756e742e0000000000000000000000604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252601c908201527f4552433732314b65673a20617070726f766520746f2063616c6c657200000000604082015260600190565b60208082526009908201527f546f6b656e20444e450000000000000000000000000000000000000000000000604082015260600190565b6020808252602d908201527f4552433732314b65673a207472616e73666572206f6620746f6b656e2074686160408201527f74206973206e6f74206f776e2e00000000000000000000000000000000000000606082015260800190565b60208082526027908201527f4552433732314b65673a207472616e7366657220746f20746865207a65726f2060408201527f6164647265737300000000000000000000000000000000000000000000000000606082015260800190565b6020808252601e908201527f45786365656473206d6178206d696e74732070657220616464726573732e0000604082015260600190565b6020808252601f908201527f4552433732314b65673a20746f6b656e20646f6573206e6f7420657869737400604082015260600190565b60208082526013908201527f496e73756666696369656e742066756e64732e00000000000000000000000000604082015260600190565b6001600160801b0391909116815260200190565b60405181810167ffffffffffffffff81118282101715612ba457612ba4612d6d565b604052919050565b60009081526020902090565b60006001600160801b03808316818516808303821115612bda57612bda612d41565b01949350505050565b60008219821115612bf657612bf6612d41565b500190565b600082612c0a57612c0a612d57565b500490565b6000816000190483118215151615612c2957612c29612d41565b500290565b60006001600160801b0383811690831681811015612c4e57612c4e612d41565b039392505050565b600082821015612c6857612c68612d41565b500390565b60005b83811015612c88578181015183820152602001612c70565b838111156110065750506000910152565b600081612ca857612ca8612d41565b506000190190565b600281046001821680612cc457607f821691505b60208210811415612ce557634e487b7160e01b600052602260045260246000fd5b50919050565b60006001600160801b0380831681811415612d0857612d08612d41565b6001019392505050565b6000600019821415612d2657612d26612d41565b5060010190565b600082612d3c57612d3c612d57565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b7fffffffff0000000000000000000000000000000000000000000000000000000081168114610a0a57600080fdfea26469706673582212207a916c4f7db02d8c3ff91ea46cc9542d24e7a830dfea4cd66bc3bd8953a39f9a64736f6c6343000800003300000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000035697066733a2f2f516d6438326353326269356a5068414b79464b7a764d786e4e77524454654b4535456e556161616d6652576874750000000000000000000000

Deployed Bytecode

0x60806040526004361061026a5760003560e01c80636c0360eb11610153578063b88d4fde116100cb578063e985e9c51161007f578063eed718c111610064578063eed718c114610626578063f2fde38b1461063b578063f95df4141461065b5761026a565b8063e985e9c5146105f1578063ec4ccbb1146106115761026a565b8063c87b56dd116100b0578063c87b56dd1461059c578063c983b4ce146105bc578063da3ef23f146105d15761026a565b8063b88d4fde14610567578063c6682862146105875761026a565b80638da5cb5b11610122578063a035b1fe11610107578063a035b1fe1461051d578063a22cb46514610532578063a475b5dd146105525761026a565b80638da5cb5b146104f357806395d89b41146105085761026a565b80636c0360eb1461049657806370a08231146104ab578063715018a6146104cb5780637bc9200e146104e05761026a565b80632db11544116101e6578063503ca789116101b55780635c975abb1161019a5780635c975abb1461044c578063607ea931146104615780636352211e146104765761026a565b8063503ca7891461040a57806355f804b31461042c5761026a565b80632db11544146103a25780633ccfd60b146103b557806342842e0e146103bd578063438b6300146103dd5761026a565b8063095ea7b31161023d5780631f21bfbf116102225780631f21bfbf1461035857806323b872dd1461036d578063293108e01461038d5761026a565b8063095ea7b31461031657806318160ddd146103365761026a565b806301ffc9a71461026f57806302329a29146102a557806306fdde03146102c7578063081812fc146102e9575b600080fd5b34801561027b57600080fd5b5061028f61028a3660046120d2565b61067b565b60405161029c91906123eb565b60405180910390f35b3480156102b157600080fd5b506102c56102c03660046120a0565b610725565b005b3480156102d357600080fd5b506102dc610780565b60405161029c91906123ff565b3480156102f557600080fd5b506103096103043660046120ba565b610812565b60405161029c9190612357565b34801561032257600080fd5b506102c5610331366004612077565b610855565b34801561034257600080fd5b5061034b6108ee565b60405161029c91906123f6565b34801561036457600080fd5b5061034b6108f4565b34801561037957600080fd5b506102c5610388366004611f9a565b6108fa565b34801561039957600080fd5b5061034b610905565b6102c56103b03660046120ba565b61090b565b6102c5610a0d565b3480156103c957600080fd5b506102c56103d8366004611f9a565b610ac8565b3480156103e957600080fd5b506103fd6103f8366004611f4e565b610ae3565b60405161029c91906123a7565b34801561041657600080fd5b5061041f610bed565b60405161029c9190612b6e565b34801561043857600080fd5b506102c561044736600461210a565b610bf2565b34801561045857600080fd5b5061028f610c48565b34801561046d57600080fd5b5061041f610c51565b34801561048257600080fd5b506103096104913660046120ba565b610c56565b3480156104a257600080fd5b506102dc610c61565b3480156104b757600080fd5b5061034b6104c6366004611f4e565b610cef565b3480156104d757600080fd5b506102c5610d3c565b6102c56104ee366004612150565b610d87565b3480156104ff57600080fd5b50610309610ecd565b34801561051457600080fd5b506102dc610edc565b34801561052957600080fd5b5061034b610eeb565b34801561053e57600080fd5b506102c561054d36600461204e565b610ef6565b34801561055e57600080fd5b5061028f610fc4565b34801561057357600080fd5b506102c5610582366004611fd5565b610fd3565b34801561059357600080fd5b506102dc61100c565b3480156105a857600080fd5b506102dc6105b73660046120ba565b611019565b3480156105c857600080fd5b5061028f611117565b3480156105dd57600080fd5b506102c56105ec36600461210a565b611125565b3480156105fd57600080fd5b5061028f61060c366004611f68565b611177565b34801561061d57600080fd5b506102c56111a5565b34801561063257600080fd5b506102c5611223565b34801561064757600080fd5b506102c5610656366004611f4e565b611291565b34801561066757600080fd5b506102c56106763660046120ba565b6112ff565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd00000000000000000000000000000000000000000000000000000000148061070e57507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b8061071d575061071d82611349565b90505b919050565b61072d611393565b6001600160a01b031661073e610ecd565b6001600160a01b03161461076d5760405162461bcd60e51b81526004016107649061296c565b60405180910390fd5b600b805460ff1916911515919091179055565b60606000805461078f90612cb0565b80601f01602080910402602001604051908101604052809291908181526020018280546107bb90612cb0565b80156108085780601f106107dd57610100808354040283529160200191610808565b820191906000526020600020905b8154815290600101906020018083116107eb57829003601f168201915b5050505050905090565b600061081d82611397565b6108395760405162461bcd60e51b8152600401610764906128d8565b506000908152600560205260409020546001600160a01b031690565b600061086082610c56565b9050806001600160a01b0316836001600160a01b031614156108945760405162461bcd60e51b81526004016107649061287b565b806001600160a01b03166108a6611393565b6001600160a01b031614806108c257506108c28161060c611393565b6108de5760405162461bcd60e51b815260040161076490612651565b6108e983838361139e565b505050565b60025490565b61271081565b6108e9838383611407565b600a5481565b600b5460ff161580156109265750600b54610100900460ff16155b6109425760405162461bcd60e51b8152600401610764906124a6565b61094f6127106001612be3565b816109586108ee565b6109629190612be3565b1061097f5760405162461bcd60e51b815260040161076490612412565b33321461099e5760405162461bcd60e51b81526004016107649061280d565b6109aa60146001612bb8565b6001600160801b031681106109d15760405162461bcd60e51b815260040161076490612844565b346109e366b1a2bc2ec5000083612c0f565b14610a005760405162461bcd60e51b815260040161076490612b37565b610a0a3382611658565b50565b610a15611393565b6001600160a01b0316610a26610ecd565b6001600160a01b031614610a4c5760405162461bcd60e51b81526004016107649061296c565b6000336001600160a01b031647604051610a6590612354565b60006040518083038185875af1925050503d8060008114610aa2576040519150601f19603f3d011682016040523d82523d6000602084013e610aa7565b606091505b5050905080610a0a5760405162461bcd60e51b8152600401610764906126ae565b6108e983838360405180602001604052806000815250610fd3565b60606000610af083610cef565b905080610b0d575050604080516000815260208101909152610720565b60008167ffffffffffffffff811115610b3657634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610b5f578160200160208202803683370190505b5090506000805b610b6e6108ee565b811015610be357856001600160a01b0316610b8882610c56565b6001600160a01b03161415610bd15780838381518110610bb857634e487b7160e01b600052603260045260246000fd5b602090810291909101015281610bcd81612d12565b9250505b80610bdb81612d12565b915050610b66565b5090949350505050565b601481565b610bfa611393565b6001600160a01b0316610c0b610ecd565b6001600160a01b031614610c315760405162461bcd60e51b81526004016107649061296c565b8051610c44906008906020840190611e36565b5050565b600b5460ff1681565b600381565b600061071d82611672565b60088054610c6e90612cb0565b80601f0160208091040260200160405190810160405280929190818152602001828054610c9a90612cb0565b8015610ce75780601f10610cbc57610100808354040283529160200191610ce7565b820191906000526020600020905b815481529060010190602001808311610cca57829003601f168201915b505050505081565b60006001600160a01b038216610d175760405162461bcd60e51b8152600401610764906127b0565b506001600160a01b03166000908152600460205260409020546001600160801b031690565b610d44611393565b6001600160a01b0316610d55610ecd565b6001600160a01b031614610d7b5760405162461bcd60e51b81526004016107649061296c565b610d856000611755565b565b600033604051602001610d9a91906122c7565b60408051601f19818403018152919052600b5490915060ff16158015610dc75750600b54610100900460ff165b610de35760405162461bcd60e51b8152600401610764906124a6565b610df06127106001612be3565b83610df96108ee565b610e039190612be3565b10610e205760405162461bcd60e51b815260040161076490612412565b610e32610e2c826117b4565b836117e4565b610e4e5760405162461bcd60e51b815260040161076490612597565b610e5a60036001612bb8565b6001600160801b031683610e6d336117fa565b610e779190612be3565b10610e945760405162461bcd60e51b815260040161076490612ac9565b34610ea666b1a2bc2ec5000085612c0f565b14610ec35760405162461bcd60e51b815260040161076490612935565b6108e93384611658565b6007546001600160a01b031690565b60606001805461078f90612cb0565b66b1a2bc2ec5000081565b610efe611393565b6001600160a01b0316826001600160a01b03161415610f2f5760405162461bcd60e51b8152600401610764906129a1565b8060066000610f3c611393565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff191692151592909217909155610f80611393565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051610fb891906123eb565b60405180910390a35050565b600b5462010000900460ff1681565b610fde848484611407565b610fea8484848461185b565b6110065760405162461bcd60e51b8152600401610764906125f4565b50505050565b60098054610c6e90612cb0565b606061102482611397565b6110405760405162461bcd60e51b8152600401610764906129d8565b600b5462010000900460ff166110e2576008805461105d90612cb0565b80601f016020809104026020016040519081016040528092919081815260200182805461108990612cb0565b80156110d65780601f106110ab576101008083540402835291602001916110d6565b820191906000526020600020905b8154815290600101906020018083116110b957829003601f168201915b50505050509050610720565b60086110ed836119a8565b600960405160200161110193929190612321565b6040516020818303038152906040529050919050565b600b54610100900460ff1681565b61112d611393565b6001600160a01b031661113e610ecd565b6001600160a01b0316146111645760405162461bcd60e51b81526004016107649061296c565b8051610c44906009906020840190611e36565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b6111ad611393565b6001600160a01b03166111be610ecd565b6001600160a01b0316146111e45760405162461bcd60e51b81526004016107649061296c565b600b80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff81166101009182900460ff16159091021790556000600a55565b61122b611393565b6001600160a01b031661123c610ecd565b6001600160a01b0316146112625760405162461bcd60e51b81526004016107649061296c565b600b80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ffff1662010000179055565b611299611393565b6001600160a01b03166112aa610ecd565b6001600160a01b0316146112d05760405162461bcd60e51b81526004016107649061296c565b6001600160a01b0381166112f65760405162461bcd60e51b81526004016107649061253a565b610a0a81611755565b611307611393565b6001600160a01b0316611318610ecd565b6001600160a01b03161461133e5760405162461bcd60e51b81526004016107649061296c565b600a55565b3b151590565b7fffffffff0000000000000000000000000000000000000000000000000000000081167f01ffc9a70000000000000000000000000000000000000000000000000000000014919050565b3390565b6002541190565b600082815260056020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061141282611672565b905061142661141f611393565b8383611af7565b6114425760405162461bcd60e51b8152600401610764906124dd565b836001600160a01b0316816001600160a01b0316146114735760405162461bcd60e51b815260040161076490612a0f565b6001600160a01b0383166114995760405162461bcd60e51b815260040161076490612a6c565b6114a68484846001611006565b6114b26000838361139e565b6001600160a01b03841660009081526004602052604081208054600192906114e49084906001600160801b0316612c2e565b82546101009290920a6001600160801b038181021990931691831602179091556001600160a01b0385166000908152600460205260408120805460019450909261153091859116612bb8565b82546101009290920a6001600160801b038181021990931691909216919091021790555060008281526003602081905260408220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b03871617905581611596856001612be3565b81526020810191909152604001600020546001600160a01b03161415611611576115c96115c4836001612be3565b611397565b156116115780600360006115de856001612be3565b815260200190815260200160002060006101000a8154816001600160a01b0302191690836001600160a01b031602179055505b81836001600160a01b0316856001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a450505050565b610c44828260405180602001604052806000815250611b42565b600061167d82611397565b6116995760405162461bcd60e51b815260040161076490612b00565b6000828152600360205260409020546001600160a01b0316156116d457506000818152600360205260409020546001600160a01b0316610720565b600060138311156116ed576116ea601484612c56565b90505b825b816116fb826001612be3565b111561173c576000818152600360205260409020546001600160a01b03168015611729579250610720915050565b508061173481612c99565b9150506116ef565b5060405162461bcd60e51b815260040161076490612742565b600780546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6000816040516020016117c79190612305565b604051602081830303815290604052805190602001209050919050565b60006117f382600a5485611d68565b9392505050565b60006001600160a01b0382166118225760405162461bcd60e51b8152600401610764906126e5565b506001600160a01b031660009081526004602052604090205470010000000000000000000000000000000090046001600160801b031690565b600061186f846001600160a01b0316611343565b1561199c57836001600160a01b031663150b7a0261188b611393565b8786866040518563ffffffff1660e01b81526004016118ad949392919061236b565b602060405180830381600087803b1580156118c757600080fd5b505af19250505080156118f7575060408051601f3d908101601f191682019092526118f4918101906120ee565b60015b611951573d808015611925576040519150601f19603f3d011682016040523d82523d6000602084013e61192a565b606091505b5080516119495760405162461bcd60e51b8152600401610764906125f4565b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a02000000000000000000000000000000000000000000000000000000001490506119a0565b5060015b949350505050565b6060816119e9575060408051808201909152600181527f30000000000000000000000000000000000000000000000000000000000000006020820152610720565b8160005b8115611a1357806119fd81612d12565b9150611a0c9050600a83612bfb565b91506119ed565b60008167ffffffffffffffff811115611a3c57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611a66576020820181803683370190505b5090505b84156119a057611a7b600183612c56565b9150611a88600a86612d2d565b611a93906030612be3565b60f81b818381518110611ab657634e487b7160e01b600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350611af0600a86612bfb565b9450611a6a565b6000816001600160a01b0316846001600160a01b03161480611b325750836001600160a01b0316611b2784610812565b6001600160a01b0316145b806119a057506119a08285611177565b6001600160a01b038316611b685760405162461bcd60e51b815260040161076490612449565b600254611b7481611397565b15611b915760405162461bcd60e51b815260040161076490612779565b611b9e6000858386611006565b6000818152600360209081526040808320805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b038916908117909155835260048252918290208251808401845290546001600160801b0380821683527001000000000000000000000000000000009091041691810191909152815180830190925280519091908190611c2f908790612bb8565b6001600160801b03168152602001858360200151611c4d9190612bb8565b6001600160801b039081169091526001600160a01b038716600090815260046020908152604082208451815495909201518416700100000000000000000000000000000000029184167fffffffffffffffffffffffffffffffff00000000000000000000000000000000909516949094179092169190911790915582905b85816001600160801b03161015611d5d5760405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4611d21600088848861185b565b611d3d5760405162461bcd60e51b8152600401610764906125f4565b81611d4781612d12565b9250508080611d5590612ceb565b915050611ccb565b506002555050505050565b600082611d758584611d7e565b14949350505050565b600081815b8451811015611e2e576000858281518110611dae57634e487b7160e01b600052603260045260246000fd5b60200260200101519050808311611def578281604051602001611dd29291906122f7565b604051602081830303815290604052805190602001209250611e1b565b8083604051602001611e029291906122f7565b6040516020818303038152906040528051906020012092505b5080611e2681612d12565b915050611d83565b509392505050565b828054611e4290612cb0565b90600052602060002090601f016020900481019282611e645760008555611eaa565b82601f10611e7d57805160ff1916838001178555611eaa565b82800160010185558215611eaa579182015b82811115611eaa578251825591602001919060010190611e8f565b50611eb6929150611eba565b5090565b5b80821115611eb65760008155600101611ebb565b600067ffffffffffffffff831115611ee957611ee9612d6d565b611efc6020601f19601f86011601612b82565b9050828152838383011115611f1057600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b038116811461072057600080fd5b8035801515811461072057600080fd5b600060208284031215611f5f578081fd5b6117f382611f27565b60008060408385031215611f7a578081fd5b611f8383611f27565b9150611f9160208401611f27565b90509250929050565b600080600060608486031215611fae578081fd5b611fb784611f27565b9250611fc560208501611f27565b9150604084013590509250925092565b60008060008060808587031215611fea578081fd5b611ff385611f27565b935061200160208601611f27565b925060408501359150606085013567ffffffffffffffff811115612023578182fd5b8501601f81018713612033578182fd5b61204287823560208401611ecf565b91505092959194509250565b60008060408385031215612060578182fd5b61206983611f27565b9150611f9160208401611f3e565b60008060408385031215612089578182fd5b61209283611f27565b946020939093013593505050565b6000602082840312156120b1578081fd5b6117f382611f3e565b6000602082840312156120cb578081fd5b5035919050565b6000602082840312156120e3578081fd5b81356117f381612d83565b6000602082840312156120ff578081fd5b81516117f381612d83565b60006020828403121561211b578081fd5b813567ffffffffffffffff811115612131578182fd5b8201601f81018413612141578182fd5b6119a084823560208401611ecf565b60008060408385031215612162578182fd5b8235915060208084013567ffffffffffffffff80821115612181578384fd5b818601915086601f830112612194578384fd5b8135818111156121a6576121a6612d6d565b83810291506121b6848301612b82565b8181528481019084860184860187018b10156121d0578788fd5b8795505b838610156121f25780358352600195909501949186019186016121d4565b508096505050505050509250929050565b6000815180845261221b816020860160208601612c6d565b601f01601f19169290920160200192915050565b80546000906002810460018083168061224957607f831692505b602080841082141561226957634e487b7160e01b86526022600452602486fd5b81801561227d576001811461228e576122bb565b60ff198616895284890196506122bb565b61229788612bac565b60005b868110156122b35781548b82015290850190830161229a565b505084890196505b50505050505092915050565b60609190911b7fffffffffffffffffffffffffffffffffffffffff00000000000000000000000016815260140190565b918252602082015260400190565b60008251612317818460208701612c6d565b9190910192915050565b600061232d828661222f565b845161233d818360208901612c6d565b6123498183018661222f565b979650505050505050565b90565b6001600160a01b0391909116815260200190565b60006001600160a01b0380871683528086166020840152508360408301526080606083015261239d6080830184612203565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b818110156123df578351835292840192918401916001016123c3565b50909695505050505050565b901515815260200190565b90815260200190565b6000602082526117f36020830184612203565b60208082526015908201527f4578636565647320746f74616c20737570706c792e0000000000000000000000604082015260600190565b60208082526023908201527f4552433732314b65673a206d696e7420746f20746865207a65726f206164647260408201527f6573730000000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526012908201527f4d696e74696e67206973207061757365642e0000000000000000000000000000604082015260600190565b60208082526037908201527f4552433732314b65673a207472616e73666572206e6f742063616c6c6564206260408201527f79206f776e6572206f7220617070726f766564206f662e000000000000000000606082015260800190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201527f6464726573730000000000000000000000000000000000000000000000000000606082015260800190565b60208082526024908201527f416c6c6f776c6973742070726f6f662070726f766964656420697320696e766160408201527f6c69642e00000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526035908201527f4552433732314b65673a207472616e7366657220746f206e6f6e20455243373260408201527f31526563656976657220696d706c656d656e7465720000000000000000000000606082015260800190565b6020808252603b908201527f4552433732314b65673a20617070726f76652063616c6c6572206973206e6f7460408201527f206f776e6572206e6f7220617070726f76656420666f7220616c6c0000000000606082015260800190565b6020808252600e908201527f5472616e73666572204572726f72000000000000000000000000000000000000604082015260600190565b60208082526032908201527f4552433732314b65673a20746f74616c206d696e74656420717565727920666f60408201527f7220746865207a65726f20616464726573730000000000000000000000000000606082015260800190565b6020808252601b908201527f4552433732314b65673a206f776e6572206e6f7420666f756e642e0000000000604082015260600190565b6020808252601d908201527f4552433732314b3a20746f6b656e20616c7265616479206d696e746564000000604082015260600190565b6020808252602d908201527f4552433732314b65673a2062616c616e636520717565727920666f722074686560408201527f207a65726f206164647265737300000000000000000000000000000000000000606082015260800190565b60208082526014908201527f4d696e746572206973206e6f7420612055736572000000000000000000000000604082015260600190565b6020808252601e908201527f45786365656473206d6178206261746368206d696e7420616d6f756e742e0000604082015260600190565b60208082526024908201527f4552433732314b65673a20617070726f76616c20746f2063757272656e74206f60408201527f776e657200000000000000000000000000000000000000000000000000000000606082015260800190565b6020808252602f908201527f4552433732314b65673a20617070726f76656420717565727920666f72206e6f60408201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000606082015260800190565b60208082526015908201527f496e636f72726563742065746820616d6f756e742e0000000000000000000000604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252601c908201527f4552433732314b65673a20617070726f766520746f2063616c6c657200000000604082015260600190565b60208082526009908201527f546f6b656e20444e450000000000000000000000000000000000000000000000604082015260600190565b6020808252602d908201527f4552433732314b65673a207472616e73666572206f6620746f6b656e2074686160408201527f74206973206e6f74206f776e2e00000000000000000000000000000000000000606082015260800190565b60208082526027908201527f4552433732314b65673a207472616e7366657220746f20746865207a65726f2060408201527f6164647265737300000000000000000000000000000000000000000000000000606082015260800190565b6020808252601e908201527f45786365656473206d6178206d696e74732070657220616464726573732e0000604082015260600190565b6020808252601f908201527f4552433732314b65673a20746f6b656e20646f6573206e6f7420657869737400604082015260600190565b60208082526013908201527f496e73756666696369656e742066756e64732e00000000000000000000000000604082015260600190565b6001600160801b0391909116815260200190565b60405181810167ffffffffffffffff81118282101715612ba457612ba4612d6d565b604052919050565b60009081526020902090565b60006001600160801b03808316818516808303821115612bda57612bda612d41565b01949350505050565b60008219821115612bf657612bf6612d41565b500190565b600082612c0a57612c0a612d57565b500490565b6000816000190483118215151615612c2957612c29612d41565b500290565b60006001600160801b0383811690831681811015612c4e57612c4e612d41565b039392505050565b600082821015612c6857612c68612d41565b500390565b60005b83811015612c88578181015183820152602001612c70565b838111156110065750506000910152565b600081612ca857612ca8612d41565b506000190190565b600281046001821680612cc457607f821691505b60208210811415612ce557634e487b7160e01b600052602260045260246000fd5b50919050565b60006001600160801b0380831681811415612d0857612d08612d41565b6001019392505050565b6000600019821415612d2657612d26612d41565b5060010190565b600082612d3c57612d3c612d57565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b7fffffffff0000000000000000000000000000000000000000000000000000000081168114610a0a57600080fdfea26469706673582212207a916c4f7db02d8c3ff91ea46cc9542d24e7a830dfea4cd66bc3bd8953a39f9a64736f6c63430008000033

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

00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000035697066733a2f2f516d6438326353326269356a5068414b79464b7a764d786e4e77524454654b4535456e556161616d6652576874750000000000000000000000

-----Decoded View---------------
Arg [0] : _initURI (string): ipfs://Qmd82cS2bi5jPhAKyFKzvMxnNwRDTeKE5EnUaaamfRWhtu

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000035
Arg [2] : 697066733a2f2f516d6438326353326269356a5068414b79464b7a764d786e4e
Arg [3] : 77524454654b4535456e556161616d6652576874750000000000000000000000


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.