ETH Price: $3,397.90 (+1.38%)

Token

Walking Mutant (Walking Mutant)
 

Overview

Max Total Supply

1,938 Walking Mutant

Holders

590

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
2 Walking Mutant
0xfea62dede50e13e50156bf2c3422e4ef14a696d6
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

The Walking Mutant is a collection of 2907 unique Mutant Apes walking on the ETH Blockchain. Mutant Apes can only be acquired by holding a Walking Ape or minting from public launch

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
WalkingMutant

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 1000 runs

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

pragma solidity ^0.8.7;

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

interface IWalkingApe {
     function walletOfOwner(address _owner) external view returns (uint256[] memory);
}

contract WalkingMutant is ERC721Enumerable, Ownable {
    string  public              baseURI             ;
    
    address public              proxyRegistryAddress;
    uint256 public              MAX_SUPPLY          ;
    uint256 public              MAX_PUBLIC_SUPPLY   ;
    uint256 public              MAX_PER_TX          = 11;
    uint256 public              priceInWei          = 0.04 ether;
    uint256 public              priceClaim          = 0 ether;
    address public              wa_Address          ;
    bool    public              claimPause          = true;

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

    constructor(
        string memory _baseURI,
        address _proxyRegistryAddress
    )
        ERC721("Walking Mutant", "Walking Mutant")
    {
        baseURI = _baseURI;
        proxyRegistryAddress = _proxyRegistryAddress;
    }

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

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


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

    function claim() public payable {
        require( !claimPause, "Claim session is not live!");
        uint256 totalSupply = _owners.length;
        uint256[] memory tokensList = IWalkingApe(wa_Address).walletOfOwner(_msgSender());
        uint256 count = tokensList.length;
        for(uint i; i < tokensList.length; i++) { 
            if ( claimed[tokensList[i]] ) 
                {
                    count = count - 1 ;
                }
            else 
                {
                    claimed[tokensList[i]] = true;
                }
        }
        require( count > 0, "You don't have any unclaimed Walking Ape tokens.");
        require(totalSupply + count < MAX_SUPPLY, "Excedes max supply.");
        require(count * priceClaim == msg.value, "Invalid funds provided.");
    
        for(uint i; i < count; i++) { 
            _mint(_msgSender(), totalSupply + i);
        }
    }

    function collectReserves() external onlyOwner {
        for(uint256 i; i < 10; i++)
            _mint(_msgSender(), i);
    }

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

    function flipProxyState(address proxyAddress) public onlyOwner {
        projectProxy[proxyAddress] = !projectProxy[proxyAddress];
    }
    function claimStatus(uint256 _tokenID) public view returns (bool) {
        return claimed[_tokenID];
    }   
    
    function setmaxSupply(uint256 _newMax) public onlyOwner {
        MAX_SUPPLY = _newMax;
    }

    function setmaxPublicSupply(uint256 _newPublicMax) public onlyOwner {
        MAX_PUBLIC_SUPPLY = _newPublicMax;
    }

    function setWAaddress(address _wa) public onlyOwner {
        wa_Address = _wa;
    }

    function setPause(bool _state) public onlyOwner {
        claimPause = _state;
    }

    function setPrice(uint256 _newPrice) public onlyOwner {
        priceInWei = _newPrice;
    }

    function setPriceClaim(uint256 _newClaim) public onlyOwner {
        priceClaim = _newClaim;
    }

    function setTX(uint256 _newTX) public onlyOwner {
        MAX_PER_TX = _newTX;
    }

    function burn(uint256 tokenId) public { 
        require(_isApprovedOrOwner(_msgSender(), tokenId), "Not approved to burn.");
        _burn(tokenId);
    }
    
    
    function withdraw() public onlyOwner {
        require(
        payable(owner()).send(address(this).balance),
        "Withdraw unsuccessful"
        );
    }


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

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

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

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

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

        return true;
    }

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

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

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

File 2 of 13 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (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 3 of 13 : ERC721Enumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.7;

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

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

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

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

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

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

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

File 4 of 13 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (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 5 of 13 : ERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.7;

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

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

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

    mapping(uint256 => address) private _tokenApprovals;
    mapping(address => mapping(address => bool)) private _operatorApprovals;

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(address(0), to, tokenId);
        _owners.push(to);

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

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

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

        // Clear approvals
        _approve(address(0), tokenId);
        _owners[tokenId] = address(0);

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

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

        _beforeTokenTransfer(from, to, tokenId);

        // Clear approvals from the previous owner
        _approve(address(0), tokenId);
        _owners[tokenId] = to;

        emit Transfer(from, to, tokenId);
    }

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

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

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

File 6 of 13 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (token/ERC721/extensions/IERC721Enumerable.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

File 8 of 13 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

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

File 9 of 13 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (token/ERC721/extensions/IERC721Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 10 of 13 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (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 13 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (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 13 : Address.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.6;

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

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

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_baseURI","type":"string"},{"internalType":"address","name":"_proxyRegistryAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_PER_TX","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_PUBLIC_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256[]","name":"_tokenIds","type":"uint256[]"},{"internalType":"bytes","name":"data_","type":"bytes"}],"name":"batchSafeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256[]","name":"_tokenIds","type":"uint256[]"}],"name":"batchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claim","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"claimPause","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenID","type":"uint256"}],"name":"claimStatus","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"claimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"collectReserves","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"proxyAddress","type":"address"}],"name":"flipProxyState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256[]","name":"_tokenIds","type":"uint256[]"}],"name":"isOwnerOf","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"count","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"priceClaim","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"priceInWei","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"projectProxy","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"proxyRegistryAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setPause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newPrice","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newClaim","type":"uint256"}],"name":"setPriceClaim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_proxyRegistryAddress","type":"address"}],"name":"setProxyRegistryAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newTX","type":"uint256"}],"name":"setTX","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_wa","type":"address"}],"name":"setWAaddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newPublicMax","type":"uint256"}],"name":"setmaxPublicSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newMax","type":"uint256"}],"name":"setmaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"wa_Address","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052600b600a819055668e1bc9bf04000090556000600c55600d805460ff60a01b1916600160a01b1790553480156200003a57600080fd5b5060405162003488380380620034888339810160408190526200005d916200022f565b604080518082018252600e8082526d15d85b1ada5b99c8135d5d185b9d60921b602080840182815285518087019096529285528401528151919291620000a6916000916200016c565b508051620000bc9060019060208401906200016c565b505050620000d9620000d36200011660201b60201c565b6200011a565b8151620000ee9060069060208501906200016c565b50600780546001600160a01b0319166001600160a01b03929092169190911790555062000373565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200017a9062000320565b90600052602060002090601f0160209004810192826200019e5760008555620001e9565b82601f10620001b957805160ff1916838001178555620001e9565b82800160010185558215620001e9579182015b82811115620001e9578251825591602001919060010190620001cc565b50620001f7929150620001fb565b5090565b5b80821115620001f75760008155600101620001fc565b80516001600160a01b03811681146200022a57600080fd5b919050565b600080604083850312156200024357600080fd5b82516001600160401b03808211156200025b57600080fd5b818501915085601f8301126200027057600080fd5b8151818111156200028557620002856200035d565b604051601f8201601f19908116603f01168101908382118183101715620002b057620002b06200035d565b81604052828152602093508884848701011115620002cd57600080fd5b600091505b82821015620002f15784820184015181830185015290830190620002d2565b82821115620003035760008484830101525b95506200031591505085820162000212565b925050509250929050565b600181811c908216806200033557607f821691505b602082108114156200035757634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b61310580620003836000396000f3fe6080604052600436106103295760003560e01c8063672781ed116101a5578063ad7fd2eb116100ec578063daaef4cd11610095578063f2fde38b1161006f578063f2fde38b146108d6578063f3993d11146108f6578063f43a22dc14610916578063f73c814b1461092c57600080fd5b8063daaef4cd14610866578063dbe7e3bd14610886578063e985e9c5146108b657600080fd5b8063c87b56dd116100c6578063c87b56dd14610806578063cd7c032614610826578063d26ea6c01461084657600080fd5b8063ad7fd2eb146107a6578063b88d4fde146107c6578063bedb86fb146107e657600080fd5b80638da5cb5b1161014e57806395d89b411161012857806395d89b411461075e578063a0712d6814610773578063a22cb4651461078657600080fd5b80638da5cb5b146107005780638f5a23fe1461071e57806391b7f5ed1461073e57600080fd5b8063715018a61161017f578063715018a61461069a5780637875d95a146106af57806383b14818146106d057600080fd5b8063672781ed1461064f5780636c0360eb1461066557806370a082311461067a57600080fd5b80633ccfd60b116102745780634e71d92d1161021d57806355f804b3116101f757806355f804b3146105bf5780635a4fee30146105df5780635bab26e2146105ff5780636352211e1461062f57600080fd5b80634e71d92d146105775780634f6ccce71461057f57806354057aa61461059f57600080fd5b8063429f99771161024e578063429f99771461050a578063438b63001461052a5780634d44660c1461055757600080fd5b80633ccfd60b146104b557806342842e0e146104ca57806342966c68146104ea57600080fd5b8063228025e8116102d65780632f745c59116102b05780632f745c591461046957806332cb6b0c146104895780633c8da5881461049f57600080fd5b8063228025e81461041357806323b872dd146104335780632a47f7991461045357600080fd5b8063081812fc11610307578063081812fc1461039c578063095ea7b3146103d457806318160ddd146103f457600080fd5b806301ffc9a71461032e578063029877b61461036357806306fdde031461037a575b600080fd5b34801561033a57600080fd5b5061034e610349366004612ca4565b61094c565b60405190151581526020015b60405180910390f35b34801561036f57600080fd5b50610378610990565b005b34801561038657600080fd5b5061038f610a08565b60405161035a9190612ecc565b3480156103a857600080fd5b506103bc6103b7366004612d44565b610a9a565b6040516001600160a01b03909116815260200161035a565b3480156103e057600080fd5b506103786103ef366004612bc5565b610b22565b34801561040057600080fd5b506002545b60405190815260200161035a565b34801561041f57600080fd5b5061037861042e366004612d44565b610c54565b34801561043f57600080fd5b5061037861044e366004612a67565b610ca1565b34801561045f57600080fd5b5061040560095481565b34801561047557600080fd5b50610405610484366004612bc5565b610d29565b34801561049557600080fd5b5061040560085481565b3480156104ab57600080fd5b50610405600b5481565b3480156104c157600080fd5b50610378610e64565b3480156104d657600080fd5b506103786104e5366004612a67565b610f22565b3480156104f657600080fd5b50610378610505366004612d44565b610f3d565b34801561051657600080fd5b50610378610525366004612926565b610f9b565b34801561053657600080fd5b5061054a610545366004612926565b611005565b60405161035a9190612e88565b34801561056357600080fd5b5061034e610572366004612b08565b6110be565b610378611140565b34801561058b57600080fd5b5061040561059a366004612d44565b611444565b3480156105ab57600080fd5b506103786105ba366004612d44565b6114c2565b3480156105cb57600080fd5b506103786105da366004612cfb565b61150f565b3480156105eb57600080fd5b506103786105fa3660046129de565b61156e565b34801561060b57600080fd5b5061034e61061a366004612926565b600e6020526000908152604090205460ff1681565b34801561063b57600080fd5b506103bc61064a366004612d44565b6115b8565b34801561065b57600080fd5b50610405600c5481565b34801561067157600080fd5b5061038f611658565b34801561068657600080fd5b50610405610695366004612926565b6116e6565b3480156106a657600080fd5b506103786117c7565b3480156106bb57600080fd5b50600d5461034e90600160a01b900460ff1681565b3480156106dc57600080fd5b5061034e6106eb366004612d44565b6000908152600f602052604090205460ff1690565b34801561070c57600080fd5b506005546001600160a01b03166103bc565b34801561072a57600080fd5b50610378610739366004612d44565b611819565b34801561074a57600080fd5b50610378610759366004612d44565b611866565b34801561076a57600080fd5b5061038f6118b3565b610378610781366004612d44565b6118c2565b34801561079257600080fd5b506103786107a1366004612b90565b6119f7565b3480156107b257600080fd5b50600d546103bc906001600160a01b031681565b3480156107d257600080fd5b506103786107e1366004612aa8565b611abc565b3480156107f257600080fd5b50610378610801366004612c89565b611b44565b34801561081257600080fd5b5061038f610821366004612d44565b611bc5565b34801561083257600080fd5b506007546103bc906001600160a01b031681565b34801561085257600080fd5b50610378610861366004612926565b611c4e565b34801561087257600080fd5b50610378610881366004612d44565b611cb8565b34801561089257600080fd5b5061034e6108a1366004612d44565b600f6020526000908152604090205460ff1681565b3480156108c257600080fd5b5061034e6108d1366004612943565b611d05565b3480156108e257600080fd5b506103786108f1366004612926565b611e11565b34801561090257600080fd5b5061037861091136600461297c565b611ede565b34801561092257600080fd5b50610405600a5481565b34801561093857600080fd5b50610378610947366004612926565b611f20565b60006001600160e01b031982167f780e9d6300000000000000000000000000000000000000000000000000000000148061098a575061098a82611f91565b92915050565b6005546001600160a01b031633146109dd5760405162461bcd60e51b815260206004820181905260248201526000805160206130b083398151915260448201526064015b60405180910390fd5b60005b600a811015610a05576109f3338261202c565b806109fd81612ffd565b9150506109e0565b50565b606060008054610a1790612fc2565b80601f0160208091040260200160405190810160405280929190818152602001828054610a4390612fc2565b8015610a905780601f10610a6557610100808354040283529160200191610a90565b820191906000526020600020905b815481529060010190602001808311610a7357829003601f168201915b5050505050905090565b6000610aa5826120a8565b610b065760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016109d4565b506000908152600360205260409020546001600160a01b031690565b6000610b2d826115b8565b9050806001600160a01b0316836001600160a01b03161415610bb75760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f720000000000000000000000000000000000000000000000000000000000000060648201526084016109d4565b336001600160a01b0382161480610bd35750610bd38133611d05565b610c455760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016109d4565b610c4f83836120f2565b505050565b6005546001600160a01b03163314610c9c5760405162461bcd60e51b815260206004820181905260248201526000805160206130b083398151915260448201526064016109d4565b600855565b610cac335b82612160565b610d1e5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656400000000000000000000000000000060648201526084016109d4565b610c4f838383612222565b6000610d34836116e6565b8210610d965760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016109d4565b6000805b600254811015610e075760028181548110610db757610db7613058565b6000918252602090912001546001600160a01b0386811691161415610df55783821415610de757915061098a9050565b81610df181612ffd565b9250505b80610dff81612ffd565b915050610d9a565b5060405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016109d4565b6005546001600160a01b03163314610eac5760405162461bcd60e51b815260206004820181905260248201526000805160206130b083398151915260448201526064016109d4565b6005546040516001600160a01b03909116904780156108fc02916000818181858888f19350505050610f205760405162461bcd60e51b815260206004820152601560248201527f576974686472617720756e7375636365737366756c000000000000000000000060448201526064016109d4565b565b610c4f83838360405180602001604052806000815250611abc565b610f4633610ca6565b610f925760405162461bcd60e51b815260206004820152601560248201527f4e6f7420617070726f76656420746f206275726e2e000000000000000000000060448201526064016109d4565b610a05816123a5565b6005546001600160a01b03163314610fe35760405162461bcd60e51b815260206004820181905260248201526000805160206130b083398151915260448201526064016109d4565b600d80546001600160a01b0319166001600160a01b0392909216919091179055565b60606000611012836116e6565b9050806110335760408051600080825260208201909252905b509392505050565b60008167ffffffffffffffff81111561104e5761104e61306e565b604051908082528060200260200182016040528015611077578160200160208202803683370190505b50905060005b8281101561102b5761108f8582610d29565b8282815181106110a1576110a1613058565b6020908102919091010152806110b681612ffd565b91505061107d565b6000805b8281101561113357846001600160a01b031660028585848181106110e8576110e8613058565b90506020020135815481106110ff576110ff613058565b6000918252602090912001546001600160a01b031614611123576000915050611139565b61112c81612ffd565b90506110c2565b50600190505b9392505050565b600d54600160a01b900460ff161561119a5760405162461bcd60e51b815260206004820152601a60248201527f436c61696d2073657373696f6e206973206e6f74206c6976652100000000000060448201526064016109d4565b600254600d546000906001600160a01b031663438b6300336040516001600160e01b031960e084901b1681526001600160a01b03909116600482015260240160006040518083038186803b1580156111f157600080fd5b505afa158015611205573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261122d9190810190612bf1565b805190915060005b82518110156112e157600f600084838151811061125457611254613058565b60209081029190910181015182528101919091526040016000205460ff161561128957611282600183612f7f565b91506112cf565b6001600f60008584815181106112a1576112a1613058565b6020026020010151815260200190815260200160002060006101000a81548160ff0219169083151502179055505b806112d981612ffd565b915050611235565b50600081116113585760405162461bcd60e51b815260206004820152603060248201527f596f7520646f6e2774206861766520616e7920756e636c61696d65642057616c60448201527f6b696e672041706520746f6b656e732e0000000000000000000000000000000060648201526084016109d4565b6008546113658285612f34565b106113b25760405162461bcd60e51b815260206004820152601360248201527f45786365646573206d617820737570706c792e0000000000000000000000000060448201526064016109d4565b34600c54826113c19190612f60565b1461140e5760405162461bcd60e51b815260206004820152601760248201527f496e76616c69642066756e64732070726f76696465642e00000000000000000060448201526064016109d4565b60005b8181101561143e5761142c336114278387612f34565b61202c565b8061143681612ffd565b915050611411565b50505050565b60025460009082106114be5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201527f7574206f6620626f756e6473000000000000000000000000000000000000000060648201526084016109d4565b5090565b6005546001600160a01b0316331461150a5760405162461bcd60e51b815260206004820181905260248201526000805160206130b083398151915260448201526064016109d4565b600c55565b6005546001600160a01b031633146115575760405162461bcd60e51b815260206004820181905260248201526000805160206130b083398151915260448201526064016109d4565b805161156a906006906020840190612797565b5050565b60005b82518110156115b15761159f858585848151811061159157611591613058565b602002602001015185611abc565b806115a981612ffd565b915050611571565b5050505050565b600080600283815481106115ce576115ce613058565b6000918252602090912001546001600160a01b031690508061098a5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e000000000000000000000000000000000000000000000060648201526084016109d4565b6006805461166590612fc2565b80601f016020809104026020016040519081016040528092919081815260200182805461169190612fc2565b80156116de5780601f106116b3576101008083540402835291602001916116de565b820191906000526020600020905b8154815290600101906020018083116116c157829003601f168201915b505050505081565b60006001600160a01b0382166117645760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f20616464726573730000000000000000000000000000000000000000000060648201526084016109d4565b6000805b6002548110156117c0576002818154811061178557611785613058565b6000918252602090912001546001600160a01b03858116911614156117b0576117ad82612ffd565b91505b6117b981612ffd565b9050611768565b5092915050565b6005546001600160a01b0316331461180f5760405162461bcd60e51b815260206004820181905260248201526000805160206130b083398151915260448201526064016109d4565b610f206000612427565b6005546001600160a01b031633146118615760405162461bcd60e51b815260206004820181905260248201526000805160206130b083398151915260448201526064016109d4565b600955565b6005546001600160a01b031633146118ae5760405162461bcd60e51b815260206004820181905260248201526000805160206130b083398151915260448201526064016109d4565b600b55565b606060018054610a1790612fc2565b6002546009546118d28383612f34565b1061191f5760405162461bcd60e51b815260206004820152601360248201527f45786365646573206d617820737570706c792e0000000000000000000000000060448201526064016109d4565b600a5482106119705760405162461bcd60e51b815260206004820152601c60248201527f45786365656473206d617820706572207472616e73616374696f6e2e0000000060448201526064016109d4565b34600b548361197f9190612f60565b146119cc5760405162461bcd60e51b815260206004820152601760248201527f496e76616c69642066756e64732070726f76696465642e00000000000000000060448201526064016109d4565b60005b82811015610c4f576119e5336114278385612f34565b806119ef81612ffd565b9150506119cf565b6001600160a01b038216331415611a505760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016109d4565b3360008181526004602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b611ac63383612160565b611b385760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656400000000000000000000000000000060648201526084016109d4565b61143e84848484612479565b6005546001600160a01b03163314611b8c5760405162461bcd60e51b815260206004820181905260248201526000805160206130b083398151915260448201526064016109d4565b600d8054911515600160a01b027fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff909216919091179055565b6060611bd0826120a8565b611c1c5760405162461bcd60e51b815260206004820152601560248201527f546f6b656e20646f6573206e6f742065786973742e000000000000000000000060448201526064016109d4565b6006611c2783612502565b604051602001611c38929190612da5565b6040516020818303038152906040529050919050565b6005546001600160a01b03163314611c965760405162461bcd60e51b815260206004820181905260248201526000805160206130b083398151915260448201526064016109d4565b600780546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b03163314611d005760405162461bcd60e51b815260206004820181905260248201526000805160206130b083398151915260448201526064016109d4565b600a55565b6007546040517fc45527910000000000000000000000000000000000000000000000000000000081526001600160a01b03848116600483015260009281169190841690829063c45527919060240160206040518083038186803b158015611d6b57600080fd5b505afa158015611d7f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611da39190612cde565b6001600160a01b03161480611dd057506001600160a01b0383166000908152600e602052604090205460ff165b15611ddf57600191505061098a565b6001600160a01b0380851660009081526004602090815260408083209387168352929052205460ff165b949350505050565b6005546001600160a01b03163314611e595760405162461bcd60e51b815260206004820181905260248201526000805160206130b083398151915260448201526064016109d4565b6001600160a01b038116611ed55760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016109d4565b610a0581612427565b60005b815181101561143e57611f0e8484848481518110611f0157611f01613058565b6020026020010151610ca1565b80611f1881612ffd565b915050611ee1565b6005546001600160a01b03163314611f685760405162461bcd60e51b815260206004820181905260248201526000805160206130b083398151915260448201526064016109d4565b6001600160a01b03166000908152600e60205260409020805460ff19811660ff90911615179055565b60006001600160e01b031982167f80ac58cd000000000000000000000000000000000000000000000000000000001480611ff457506001600160e01b031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b8061098a57507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b031983161461098a565b6002805460018101825560009182527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace0180546001600160a01b0319166001600160a01b0385169081179091556040518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6002546000908210801561098a575060006001600160a01b0316600283815481106120d5576120d5613058565b6000918252602090912001546001600160a01b0316141592915050565b600081815260036020526040902080546001600160a01b0319166001600160a01b0384169081179091558190612127826115b8565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061216b826120a8565b6121cc5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016109d4565b60006121d7836115b8565b9050806001600160a01b0316846001600160a01b031614806122125750836001600160a01b031661220784610a9a565b6001600160a01b0316145b80611e095750611e098185611d05565b826001600160a01b0316612235826115b8565b6001600160a01b0316146122b15760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e000000000000000000000000000000000000000000000060648201526084016109d4565b6001600160a01b03821661232c5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016109d4565b6123376000826120f2565b816002828154811061234b5761234b613058565b6000918252602082200180546001600160a01b0319166001600160a01b03938416179055604051839285811692908716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9190a4505050565b60006123b0826115b8565b90506123bd6000836120f2565b6000600283815481106123d2576123d2613058565b6000918252602082200180546001600160a01b0319166001600160a01b0393841617905560405184928416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b612484848484612222565b61249084848484612634565b61143e5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e746572000000000000000000000000000060648201526084016109d4565b60608161254257505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b811561256c578061255681612ffd565b91506125659050600a83612f4c565b9150612546565b60008167ffffffffffffffff8111156125875761258761306e565b6040519080825280601f01601f1916602001820160405280156125b1576020820181803683370190505b5090505b8415611e09576125c6600183612f7f565b91506125d3600a86613018565b6125de906030612f34565b60f81b8183815181106125f3576125f3613058565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535061262d600a86612f4c565b94506125b5565b60006001600160a01b0384163b1561278c57604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612678903390899088908890600401612e4c565b602060405180830381600087803b15801561269257600080fd5b505af19250505080156126c2575060408051601f3d908101601f191682019092526126bf91810190612cc1565b60015b612772573d8080156126f0576040519150601f19603f3d011682016040523d82523d6000602084013e6126f5565b606091505b50805161276a5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e746572000000000000000000000000000060648201526084016109d4565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611e09565b506001949350505050565b8280546127a390612fc2565b90600052602060002090601f0160209004810192826127c5576000855561280b565b82601f106127de57805160ff191683800117855561280b565b8280016001018555821561280b579182015b8281111561280b5782518255916020019190600101906127f0565b506114be9291505b808211156114be5760008155600101612813565b600067ffffffffffffffff8311156128415761284161306e565b612854601f8401601f1916602001612edf565b905082815283838301111561286857600080fd5b828260208301376000602084830101529392505050565b600082601f83011261289057600080fd5b813560206128a56128a083612f10565b612edf565b80838252828201915082860187848660051b89010111156128c557600080fd5b60005b858110156128e4578135845292840192908401906001016128c8565b5090979650505050505050565b8035801515811461290157600080fd5b919050565b600082601f83011261291757600080fd5b61113983833560208501612827565b60006020828403121561293857600080fd5b813561113981613084565b6000806040838503121561295657600080fd5b823561296181613084565b9150602083013561297181613084565b809150509250929050565b60008060006060848603121561299157600080fd5b833561299c81613084565b925060208401356129ac81613084565b9150604084013567ffffffffffffffff8111156129c857600080fd5b6129d48682870161287f565b9150509250925092565b600080600080608085870312156129f457600080fd5b84356129ff81613084565b93506020850135612a0f81613084565b9250604085013567ffffffffffffffff80821115612a2c57600080fd5b612a388883890161287f565b93506060870135915080821115612a4e57600080fd5b50612a5b87828801612906565b91505092959194509250565b600080600060608486031215612a7c57600080fd5b8335612a8781613084565b92506020840135612a9781613084565b929592945050506040919091013590565b60008060008060808587031215612abe57600080fd5b8435612ac981613084565b93506020850135612ad981613084565b925060408501359150606085013567ffffffffffffffff811115612afc57600080fd5b612a5b87828801612906565b600080600060408486031215612b1d57600080fd5b8335612b2881613084565b9250602084013567ffffffffffffffff80821115612b4557600080fd5b818601915086601f830112612b5957600080fd5b813581811115612b6857600080fd5b8760208260051b8501011115612b7d57600080fd5b6020830194508093505050509250925092565b60008060408385031215612ba357600080fd5b8235612bae81613084565b9150612bbc602084016128f1565b90509250929050565b60008060408385031215612bd857600080fd5b8235612be381613084565b946020939093013593505050565b60006020808385031215612c0457600080fd5b825167ffffffffffffffff811115612c1b57600080fd5b8301601f81018513612c2c57600080fd5b8051612c3a6128a082612f10565b80828252848201915084840188868560051b8701011115612c5a57600080fd5b600094505b83851015612c7d578051835260019490940193918501918501612c5f565b50979650505050505050565b600060208284031215612c9b57600080fd5b611139826128f1565b600060208284031215612cb657600080fd5b813561113981613099565b600060208284031215612cd357600080fd5b815161113981613099565b600060208284031215612cf057600080fd5b815161113981613084565b600060208284031215612d0d57600080fd5b813567ffffffffffffffff811115612d2457600080fd5b8201601f81018413612d3557600080fd5b611e0984823560208401612827565b600060208284031215612d5657600080fd5b5035919050565b60008151808452612d75816020860160208601612f96565b601f01601f19169290920160200192915050565b60008151612d9b818560208601612f96565b9290920192915050565b600080845481600182811c915080831680612dc157607f831692505b6020808410821415612de157634e487b7160e01b86526022600452602486fd5b818015612df55760018114612e0657612e33565b60ff19861689528489019650612e33565b60008b81526020902060005b86811015612e2b5781548b820152908501908301612e12565b505084890196505b505050505050612e438185612d89565b95945050505050565b60006001600160a01b03808716835280861660208401525083604083015260806060830152612e7e6080830184612d5d565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b81811015612ec057835183529284019291840191600101612ea4565b50909695505050505050565b6020815260006111396020830184612d5d565b604051601f8201601f1916810167ffffffffffffffff81118282101715612f0857612f0861306e565b604052919050565b600067ffffffffffffffff821115612f2a57612f2a61306e565b5060051b60200190565b60008219821115612f4757612f4761302c565b500190565b600082612f5b57612f5b613042565b500490565b6000816000190483118215151615612f7a57612f7a61302c565b500290565b600082821015612f9157612f9161302c565b500390565b60005b83811015612fb1578181015183820152602001612f99565b8381111561143e5750506000910152565b600181811c90821680612fd657607f821691505b60208210811415612ff757634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156130115761301161302c565b5060010190565b60008261302757613027613042565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114610a0557600080fd5b6001600160e01b031981168114610a0557600080fdfe4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572a2646970667358221220565a1ad789f2abfe9cb9078018b7f8cbb209098644391ad57100560e4157635e64736f6c634300080700330000000000000000000000000000000000000000000000000000000000000040000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1000000000000000000000000000000000000000000000000000000000000001174686577616c6b696e676170652e636f6d000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106103295760003560e01c8063672781ed116101a5578063ad7fd2eb116100ec578063daaef4cd11610095578063f2fde38b1161006f578063f2fde38b146108d6578063f3993d11146108f6578063f43a22dc14610916578063f73c814b1461092c57600080fd5b8063daaef4cd14610866578063dbe7e3bd14610886578063e985e9c5146108b657600080fd5b8063c87b56dd116100c6578063c87b56dd14610806578063cd7c032614610826578063d26ea6c01461084657600080fd5b8063ad7fd2eb146107a6578063b88d4fde146107c6578063bedb86fb146107e657600080fd5b80638da5cb5b1161014e57806395d89b411161012857806395d89b411461075e578063a0712d6814610773578063a22cb4651461078657600080fd5b80638da5cb5b146107005780638f5a23fe1461071e57806391b7f5ed1461073e57600080fd5b8063715018a61161017f578063715018a61461069a5780637875d95a146106af57806383b14818146106d057600080fd5b8063672781ed1461064f5780636c0360eb1461066557806370a082311461067a57600080fd5b80633ccfd60b116102745780634e71d92d1161021d57806355f804b3116101f757806355f804b3146105bf5780635a4fee30146105df5780635bab26e2146105ff5780636352211e1461062f57600080fd5b80634e71d92d146105775780634f6ccce71461057f57806354057aa61461059f57600080fd5b8063429f99771161024e578063429f99771461050a578063438b63001461052a5780634d44660c1461055757600080fd5b80633ccfd60b146104b557806342842e0e146104ca57806342966c68146104ea57600080fd5b8063228025e8116102d65780632f745c59116102b05780632f745c591461046957806332cb6b0c146104895780633c8da5881461049f57600080fd5b8063228025e81461041357806323b872dd146104335780632a47f7991461045357600080fd5b8063081812fc11610307578063081812fc1461039c578063095ea7b3146103d457806318160ddd146103f457600080fd5b806301ffc9a71461032e578063029877b61461036357806306fdde031461037a575b600080fd5b34801561033a57600080fd5b5061034e610349366004612ca4565b61094c565b60405190151581526020015b60405180910390f35b34801561036f57600080fd5b50610378610990565b005b34801561038657600080fd5b5061038f610a08565b60405161035a9190612ecc565b3480156103a857600080fd5b506103bc6103b7366004612d44565b610a9a565b6040516001600160a01b03909116815260200161035a565b3480156103e057600080fd5b506103786103ef366004612bc5565b610b22565b34801561040057600080fd5b506002545b60405190815260200161035a565b34801561041f57600080fd5b5061037861042e366004612d44565b610c54565b34801561043f57600080fd5b5061037861044e366004612a67565b610ca1565b34801561045f57600080fd5b5061040560095481565b34801561047557600080fd5b50610405610484366004612bc5565b610d29565b34801561049557600080fd5b5061040560085481565b3480156104ab57600080fd5b50610405600b5481565b3480156104c157600080fd5b50610378610e64565b3480156104d657600080fd5b506103786104e5366004612a67565b610f22565b3480156104f657600080fd5b50610378610505366004612d44565b610f3d565b34801561051657600080fd5b50610378610525366004612926565b610f9b565b34801561053657600080fd5b5061054a610545366004612926565b611005565b60405161035a9190612e88565b34801561056357600080fd5b5061034e610572366004612b08565b6110be565b610378611140565b34801561058b57600080fd5b5061040561059a366004612d44565b611444565b3480156105ab57600080fd5b506103786105ba366004612d44565b6114c2565b3480156105cb57600080fd5b506103786105da366004612cfb565b61150f565b3480156105eb57600080fd5b506103786105fa3660046129de565b61156e565b34801561060b57600080fd5b5061034e61061a366004612926565b600e6020526000908152604090205460ff1681565b34801561063b57600080fd5b506103bc61064a366004612d44565b6115b8565b34801561065b57600080fd5b50610405600c5481565b34801561067157600080fd5b5061038f611658565b34801561068657600080fd5b50610405610695366004612926565b6116e6565b3480156106a657600080fd5b506103786117c7565b3480156106bb57600080fd5b50600d5461034e90600160a01b900460ff1681565b3480156106dc57600080fd5b5061034e6106eb366004612d44565b6000908152600f602052604090205460ff1690565b34801561070c57600080fd5b506005546001600160a01b03166103bc565b34801561072a57600080fd5b50610378610739366004612d44565b611819565b34801561074a57600080fd5b50610378610759366004612d44565b611866565b34801561076a57600080fd5b5061038f6118b3565b610378610781366004612d44565b6118c2565b34801561079257600080fd5b506103786107a1366004612b90565b6119f7565b3480156107b257600080fd5b50600d546103bc906001600160a01b031681565b3480156107d257600080fd5b506103786107e1366004612aa8565b611abc565b3480156107f257600080fd5b50610378610801366004612c89565b611b44565b34801561081257600080fd5b5061038f610821366004612d44565b611bc5565b34801561083257600080fd5b506007546103bc906001600160a01b031681565b34801561085257600080fd5b50610378610861366004612926565b611c4e565b34801561087257600080fd5b50610378610881366004612d44565b611cb8565b34801561089257600080fd5b5061034e6108a1366004612d44565b600f6020526000908152604090205460ff1681565b3480156108c257600080fd5b5061034e6108d1366004612943565b611d05565b3480156108e257600080fd5b506103786108f1366004612926565b611e11565b34801561090257600080fd5b5061037861091136600461297c565b611ede565b34801561092257600080fd5b50610405600a5481565b34801561093857600080fd5b50610378610947366004612926565b611f20565b60006001600160e01b031982167f780e9d6300000000000000000000000000000000000000000000000000000000148061098a575061098a82611f91565b92915050565b6005546001600160a01b031633146109dd5760405162461bcd60e51b815260206004820181905260248201526000805160206130b083398151915260448201526064015b60405180910390fd5b60005b600a811015610a05576109f3338261202c565b806109fd81612ffd565b9150506109e0565b50565b606060008054610a1790612fc2565b80601f0160208091040260200160405190810160405280929190818152602001828054610a4390612fc2565b8015610a905780601f10610a6557610100808354040283529160200191610a90565b820191906000526020600020905b815481529060010190602001808311610a7357829003601f168201915b5050505050905090565b6000610aa5826120a8565b610b065760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016109d4565b506000908152600360205260409020546001600160a01b031690565b6000610b2d826115b8565b9050806001600160a01b0316836001600160a01b03161415610bb75760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f720000000000000000000000000000000000000000000000000000000000000060648201526084016109d4565b336001600160a01b0382161480610bd35750610bd38133611d05565b610c455760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016109d4565b610c4f83836120f2565b505050565b6005546001600160a01b03163314610c9c5760405162461bcd60e51b815260206004820181905260248201526000805160206130b083398151915260448201526064016109d4565b600855565b610cac335b82612160565b610d1e5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656400000000000000000000000000000060648201526084016109d4565b610c4f838383612222565b6000610d34836116e6565b8210610d965760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016109d4565b6000805b600254811015610e075760028181548110610db757610db7613058565b6000918252602090912001546001600160a01b0386811691161415610df55783821415610de757915061098a9050565b81610df181612ffd565b9250505b80610dff81612ffd565b915050610d9a565b5060405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016109d4565b6005546001600160a01b03163314610eac5760405162461bcd60e51b815260206004820181905260248201526000805160206130b083398151915260448201526064016109d4565b6005546040516001600160a01b03909116904780156108fc02916000818181858888f19350505050610f205760405162461bcd60e51b815260206004820152601560248201527f576974686472617720756e7375636365737366756c000000000000000000000060448201526064016109d4565b565b610c4f83838360405180602001604052806000815250611abc565b610f4633610ca6565b610f925760405162461bcd60e51b815260206004820152601560248201527f4e6f7420617070726f76656420746f206275726e2e000000000000000000000060448201526064016109d4565b610a05816123a5565b6005546001600160a01b03163314610fe35760405162461bcd60e51b815260206004820181905260248201526000805160206130b083398151915260448201526064016109d4565b600d80546001600160a01b0319166001600160a01b0392909216919091179055565b60606000611012836116e6565b9050806110335760408051600080825260208201909252905b509392505050565b60008167ffffffffffffffff81111561104e5761104e61306e565b604051908082528060200260200182016040528015611077578160200160208202803683370190505b50905060005b8281101561102b5761108f8582610d29565b8282815181106110a1576110a1613058565b6020908102919091010152806110b681612ffd565b91505061107d565b6000805b8281101561113357846001600160a01b031660028585848181106110e8576110e8613058565b90506020020135815481106110ff576110ff613058565b6000918252602090912001546001600160a01b031614611123576000915050611139565b61112c81612ffd565b90506110c2565b50600190505b9392505050565b600d54600160a01b900460ff161561119a5760405162461bcd60e51b815260206004820152601a60248201527f436c61696d2073657373696f6e206973206e6f74206c6976652100000000000060448201526064016109d4565b600254600d546000906001600160a01b031663438b6300336040516001600160e01b031960e084901b1681526001600160a01b03909116600482015260240160006040518083038186803b1580156111f157600080fd5b505afa158015611205573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261122d9190810190612bf1565b805190915060005b82518110156112e157600f600084838151811061125457611254613058565b60209081029190910181015182528101919091526040016000205460ff161561128957611282600183612f7f565b91506112cf565b6001600f60008584815181106112a1576112a1613058565b6020026020010151815260200190815260200160002060006101000a81548160ff0219169083151502179055505b806112d981612ffd565b915050611235565b50600081116113585760405162461bcd60e51b815260206004820152603060248201527f596f7520646f6e2774206861766520616e7920756e636c61696d65642057616c60448201527f6b696e672041706520746f6b656e732e0000000000000000000000000000000060648201526084016109d4565b6008546113658285612f34565b106113b25760405162461bcd60e51b815260206004820152601360248201527f45786365646573206d617820737570706c792e0000000000000000000000000060448201526064016109d4565b34600c54826113c19190612f60565b1461140e5760405162461bcd60e51b815260206004820152601760248201527f496e76616c69642066756e64732070726f76696465642e00000000000000000060448201526064016109d4565b60005b8181101561143e5761142c336114278387612f34565b61202c565b8061143681612ffd565b915050611411565b50505050565b60025460009082106114be5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201527f7574206f6620626f756e6473000000000000000000000000000000000000000060648201526084016109d4565b5090565b6005546001600160a01b0316331461150a5760405162461bcd60e51b815260206004820181905260248201526000805160206130b083398151915260448201526064016109d4565b600c55565b6005546001600160a01b031633146115575760405162461bcd60e51b815260206004820181905260248201526000805160206130b083398151915260448201526064016109d4565b805161156a906006906020840190612797565b5050565b60005b82518110156115b15761159f858585848151811061159157611591613058565b602002602001015185611abc565b806115a981612ffd565b915050611571565b5050505050565b600080600283815481106115ce576115ce613058565b6000918252602090912001546001600160a01b031690508061098a5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e000000000000000000000000000000000000000000000060648201526084016109d4565b6006805461166590612fc2565b80601f016020809104026020016040519081016040528092919081815260200182805461169190612fc2565b80156116de5780601f106116b3576101008083540402835291602001916116de565b820191906000526020600020905b8154815290600101906020018083116116c157829003601f168201915b505050505081565b60006001600160a01b0382166117645760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f20616464726573730000000000000000000000000000000000000000000060648201526084016109d4565b6000805b6002548110156117c0576002818154811061178557611785613058565b6000918252602090912001546001600160a01b03858116911614156117b0576117ad82612ffd565b91505b6117b981612ffd565b9050611768565b5092915050565b6005546001600160a01b0316331461180f5760405162461bcd60e51b815260206004820181905260248201526000805160206130b083398151915260448201526064016109d4565b610f206000612427565b6005546001600160a01b031633146118615760405162461bcd60e51b815260206004820181905260248201526000805160206130b083398151915260448201526064016109d4565b600955565b6005546001600160a01b031633146118ae5760405162461bcd60e51b815260206004820181905260248201526000805160206130b083398151915260448201526064016109d4565b600b55565b606060018054610a1790612fc2565b6002546009546118d28383612f34565b1061191f5760405162461bcd60e51b815260206004820152601360248201527f45786365646573206d617820737570706c792e0000000000000000000000000060448201526064016109d4565b600a5482106119705760405162461bcd60e51b815260206004820152601c60248201527f45786365656473206d617820706572207472616e73616374696f6e2e0000000060448201526064016109d4565b34600b548361197f9190612f60565b146119cc5760405162461bcd60e51b815260206004820152601760248201527f496e76616c69642066756e64732070726f76696465642e00000000000000000060448201526064016109d4565b60005b82811015610c4f576119e5336114278385612f34565b806119ef81612ffd565b9150506119cf565b6001600160a01b038216331415611a505760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016109d4565b3360008181526004602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b611ac63383612160565b611b385760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656400000000000000000000000000000060648201526084016109d4565b61143e84848484612479565b6005546001600160a01b03163314611b8c5760405162461bcd60e51b815260206004820181905260248201526000805160206130b083398151915260448201526064016109d4565b600d8054911515600160a01b027fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff909216919091179055565b6060611bd0826120a8565b611c1c5760405162461bcd60e51b815260206004820152601560248201527f546f6b656e20646f6573206e6f742065786973742e000000000000000000000060448201526064016109d4565b6006611c2783612502565b604051602001611c38929190612da5565b6040516020818303038152906040529050919050565b6005546001600160a01b03163314611c965760405162461bcd60e51b815260206004820181905260248201526000805160206130b083398151915260448201526064016109d4565b600780546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b03163314611d005760405162461bcd60e51b815260206004820181905260248201526000805160206130b083398151915260448201526064016109d4565b600a55565b6007546040517fc45527910000000000000000000000000000000000000000000000000000000081526001600160a01b03848116600483015260009281169190841690829063c45527919060240160206040518083038186803b158015611d6b57600080fd5b505afa158015611d7f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611da39190612cde565b6001600160a01b03161480611dd057506001600160a01b0383166000908152600e602052604090205460ff165b15611ddf57600191505061098a565b6001600160a01b0380851660009081526004602090815260408083209387168352929052205460ff165b949350505050565b6005546001600160a01b03163314611e595760405162461bcd60e51b815260206004820181905260248201526000805160206130b083398151915260448201526064016109d4565b6001600160a01b038116611ed55760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016109d4565b610a0581612427565b60005b815181101561143e57611f0e8484848481518110611f0157611f01613058565b6020026020010151610ca1565b80611f1881612ffd565b915050611ee1565b6005546001600160a01b03163314611f685760405162461bcd60e51b815260206004820181905260248201526000805160206130b083398151915260448201526064016109d4565b6001600160a01b03166000908152600e60205260409020805460ff19811660ff90911615179055565b60006001600160e01b031982167f80ac58cd000000000000000000000000000000000000000000000000000000001480611ff457506001600160e01b031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b8061098a57507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b031983161461098a565b6002805460018101825560009182527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace0180546001600160a01b0319166001600160a01b0385169081179091556040518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6002546000908210801561098a575060006001600160a01b0316600283815481106120d5576120d5613058565b6000918252602090912001546001600160a01b0316141592915050565b600081815260036020526040902080546001600160a01b0319166001600160a01b0384169081179091558190612127826115b8565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061216b826120a8565b6121cc5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016109d4565b60006121d7836115b8565b9050806001600160a01b0316846001600160a01b031614806122125750836001600160a01b031661220784610a9a565b6001600160a01b0316145b80611e095750611e098185611d05565b826001600160a01b0316612235826115b8565b6001600160a01b0316146122b15760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e000000000000000000000000000000000000000000000060648201526084016109d4565b6001600160a01b03821661232c5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016109d4565b6123376000826120f2565b816002828154811061234b5761234b613058565b6000918252602082200180546001600160a01b0319166001600160a01b03938416179055604051839285811692908716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9190a4505050565b60006123b0826115b8565b90506123bd6000836120f2565b6000600283815481106123d2576123d2613058565b6000918252602082200180546001600160a01b0319166001600160a01b0393841617905560405184928416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b612484848484612222565b61249084848484612634565b61143e5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e746572000000000000000000000000000060648201526084016109d4565b60608161254257505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b811561256c578061255681612ffd565b91506125659050600a83612f4c565b9150612546565b60008167ffffffffffffffff8111156125875761258761306e565b6040519080825280601f01601f1916602001820160405280156125b1576020820181803683370190505b5090505b8415611e09576125c6600183612f7f565b91506125d3600a86613018565b6125de906030612f34565b60f81b8183815181106125f3576125f3613058565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535061262d600a86612f4c565b94506125b5565b60006001600160a01b0384163b1561278c57604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612678903390899088908890600401612e4c565b602060405180830381600087803b15801561269257600080fd5b505af19250505080156126c2575060408051601f3d908101601f191682019092526126bf91810190612cc1565b60015b612772573d8080156126f0576040519150601f19603f3d011682016040523d82523d6000602084013e6126f5565b606091505b50805161276a5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e746572000000000000000000000000000060648201526084016109d4565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611e09565b506001949350505050565b8280546127a390612fc2565b90600052602060002090601f0160209004810192826127c5576000855561280b565b82601f106127de57805160ff191683800117855561280b565b8280016001018555821561280b579182015b8281111561280b5782518255916020019190600101906127f0565b506114be9291505b808211156114be5760008155600101612813565b600067ffffffffffffffff8311156128415761284161306e565b612854601f8401601f1916602001612edf565b905082815283838301111561286857600080fd5b828260208301376000602084830101529392505050565b600082601f83011261289057600080fd5b813560206128a56128a083612f10565b612edf565b80838252828201915082860187848660051b89010111156128c557600080fd5b60005b858110156128e4578135845292840192908401906001016128c8565b5090979650505050505050565b8035801515811461290157600080fd5b919050565b600082601f83011261291757600080fd5b61113983833560208501612827565b60006020828403121561293857600080fd5b813561113981613084565b6000806040838503121561295657600080fd5b823561296181613084565b9150602083013561297181613084565b809150509250929050565b60008060006060848603121561299157600080fd5b833561299c81613084565b925060208401356129ac81613084565b9150604084013567ffffffffffffffff8111156129c857600080fd5b6129d48682870161287f565b9150509250925092565b600080600080608085870312156129f457600080fd5b84356129ff81613084565b93506020850135612a0f81613084565b9250604085013567ffffffffffffffff80821115612a2c57600080fd5b612a388883890161287f565b93506060870135915080821115612a4e57600080fd5b50612a5b87828801612906565b91505092959194509250565b600080600060608486031215612a7c57600080fd5b8335612a8781613084565b92506020840135612a9781613084565b929592945050506040919091013590565b60008060008060808587031215612abe57600080fd5b8435612ac981613084565b93506020850135612ad981613084565b925060408501359150606085013567ffffffffffffffff811115612afc57600080fd5b612a5b87828801612906565b600080600060408486031215612b1d57600080fd5b8335612b2881613084565b9250602084013567ffffffffffffffff80821115612b4557600080fd5b818601915086601f830112612b5957600080fd5b813581811115612b6857600080fd5b8760208260051b8501011115612b7d57600080fd5b6020830194508093505050509250925092565b60008060408385031215612ba357600080fd5b8235612bae81613084565b9150612bbc602084016128f1565b90509250929050565b60008060408385031215612bd857600080fd5b8235612be381613084565b946020939093013593505050565b60006020808385031215612c0457600080fd5b825167ffffffffffffffff811115612c1b57600080fd5b8301601f81018513612c2c57600080fd5b8051612c3a6128a082612f10565b80828252848201915084840188868560051b8701011115612c5a57600080fd5b600094505b83851015612c7d578051835260019490940193918501918501612c5f565b50979650505050505050565b600060208284031215612c9b57600080fd5b611139826128f1565b600060208284031215612cb657600080fd5b813561113981613099565b600060208284031215612cd357600080fd5b815161113981613099565b600060208284031215612cf057600080fd5b815161113981613084565b600060208284031215612d0d57600080fd5b813567ffffffffffffffff811115612d2457600080fd5b8201601f81018413612d3557600080fd5b611e0984823560208401612827565b600060208284031215612d5657600080fd5b5035919050565b60008151808452612d75816020860160208601612f96565b601f01601f19169290920160200192915050565b60008151612d9b818560208601612f96565b9290920192915050565b600080845481600182811c915080831680612dc157607f831692505b6020808410821415612de157634e487b7160e01b86526022600452602486fd5b818015612df55760018114612e0657612e33565b60ff19861689528489019650612e33565b60008b81526020902060005b86811015612e2b5781548b820152908501908301612e12565b505084890196505b505050505050612e438185612d89565b95945050505050565b60006001600160a01b03808716835280861660208401525083604083015260806060830152612e7e6080830184612d5d565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b81811015612ec057835183529284019291840191600101612ea4565b50909695505050505050565b6020815260006111396020830184612d5d565b604051601f8201601f1916810167ffffffffffffffff81118282101715612f0857612f0861306e565b604052919050565b600067ffffffffffffffff821115612f2a57612f2a61306e565b5060051b60200190565b60008219821115612f4757612f4761302c565b500190565b600082612f5b57612f5b613042565b500490565b6000816000190483118215151615612f7a57612f7a61302c565b500290565b600082821015612f9157612f9161302c565b500390565b60005b83811015612fb1578181015183820152602001612f99565b8381111561143e5750506000910152565b600181811c90821680612fd657607f821691505b60208210811415612ff757634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156130115761301161302c565b5060010190565b60008261302757613027613042565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114610a0557600080fd5b6001600160e01b031981168114610a0557600080fdfe4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572a2646970667358221220565a1ad789f2abfe9cb9078018b7f8cbb209098644391ad57100560e4157635e64736f6c63430008070033

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

0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1000000000000000000000000000000000000000000000000000000000000001174686577616c6b696e676170652e636f6d000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _baseURI (string): thewalkingape.com
Arg [1] : _proxyRegistryAddress (address): 0xa5409ec958C83C3f309868babACA7c86DCB077c1

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000011
Arg [3] : 74686577616c6b696e676170652e636f6d000000000000000000000000000000


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.