ETH Price: $3,177.23 (-7.70%)
Gas: 2 Gwei

Token

Baby Ape Prime Evolution ((B.A.P.E))
 

Overview

Max Total Supply

0 (B.A.P.E)

Holders

91

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Filtered by Token Holder
narckotikz.eth
Balance
2 (B.A.P.E)
0xb605fe904873Da0b0065183D89635aF49A50806F
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
BabyApePrimeEvolution

Compiler Version
v0.8.10+commit.fc410830

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 15 : BapeNft.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.7;

import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol";
import "./Base64.sol"; 

contract BabyApePrimeEvolution is ReentrancyGuard,Ownable,ERC721URIStorage {
    struct NFTMinter{
        address minterAddress;
        uint256 numberOfMintAvailable;
        uint256 mintedNfts;
    }

    struct NFT{
        uint256 tokenID;
        address creator;
        string tokenURI;
    }

    using Counters for Counters.Counter;
    Counters.Counter private _tokenId;
    mapping(string => uint256) public hashes;
    mapping(uint256 => string) public _tokenURIs;
    mapping(uint256=>NFT) public NFTs;

    bool public isPresaleActive = false;
    bool public isPublicSaleAvailable = false;
    mapping(address=>NFTMinter) public nftMinters;

    mapping(address=>uint256) public nftMinted;
    uint256 public maxMint = 4; //addSetter
    
    uint256 public price = 0.12 ether;
    uint256 public whitelistedPrice = 0.12 ether;
    uint256 public staffPrice = 0.00 ether;

    uint256 public teamPrice=0;
    uint256 public whiteListAmount=4;
    uint256 public ogListAmount=4;
    uint256 public maxSupply = 8888;
    
    uint256 private TOTAL_PERC=10000;
    
    uint256 public benificiaryOnePerc = 3885;
    uint256 public benificiaryTwoPerc = 3885;
    uint256 public benificiaryThreePerc = 2230;

    mapping(address=>uint256) public ogList;
    mapping(address=>uint256) public whitelist;
    mapping(address=>uint256) public teamList;

    address payable beneficiaryOne; // add setter
    address payable beneficiaryTwo; // add setter
    address payable beneficiaryThree; // add setter

    string public baseURI;

    bool private revealed = false;
    string private revealUrl= "https://images1.mypinata.cloud/ipfs/QmWCZdZj4wyQK54GrepKPkdcWKerevdg3mmoUMh9yTBmiV/notRevealed.json";
    
    constructor(
        address payable _benificiaryOne,
        address payable _benificiaryTwo, 
        address payable _benificiaryThree,
        string memory _baseURI
        ) ERC721("Baby Ape Prime Evolution", "(B.A.P.E)") {
        beneficiaryOne = _benificiaryOne;
        beneficiaryTwo = _benificiaryTwo;
        beneficiaryThree = _benificiaryThree;
        baseURI = _baseURI;
    }

    modifier onlyBenificiaries{
        require(
            beneficiaryOne==msg.sender ||
            beneficiaryTwo==msg.sender ||
            beneficiaryThree==msg.sender
            ,"Only benificiaries are allowed for this method");
        _;
    }

    function createNFT(
        string memory hash,
        string memory metadata
    ) public payable returns (uint256) {
        require(hashes[hash] != 1, "Already Known this NFT");
        require(
            isPublicSaleAvailable ||
             (isPresaleActive && nftMinters[msg.sender].numberOfMintAvailable>0),
             "You are not allowed");

        require(_tokenId.current()<maxSupply,"Max supply is reached");
        require(nftMinted[msg.sender]<=maxMint,"You cannot mint more");

        nftMinted[msg.sender] = nftMinted[msg.sender] + 1;

        uint256 _nftPrice = price;

        if(whitelist[msg.sender]>0){
            _nftPrice = whitelistedPrice;
        }
        if(ogList[msg.sender]>0){
            _nftPrice = staffPrice;
        }
        if(teamList[msg.sender]>0){
            _nftPrice = teamPrice;
        }

        require(msg.value>=_nftPrice,"Invalid value");

        if(isPresaleActive && !isPublicSaleAvailable){
            nftMinters[msg.sender].numberOfMintAvailable--;
        }
        if(whitelist[msg.sender]>0){
            whitelist[msg.sender]--;
        }
        if(ogList[msg.sender]>0){
            ogList[msg.sender]--;
        }
        if(teamList[msg.sender]>0){
            teamList[msg.sender]--;
        }

        hashes[hash] = 1;

        _tokenId.increment();

        uint256 newItemId = _tokenId.current();

        _mint(msg.sender, newItemId);

        _setTokenURI(newItemId, metadata);

        NFTs[newItemId] = NFT({
            tokenID:newItemId,
            creator:msg.sender,
            tokenURI:metadata
        });

        return newItemId;
    }

    function revealCollection() public onlyOwner{
        revealed = true;
    } 

 function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {

       if (revealed == true) {
           NFT memory nft = NFTs[tokenId];
        return
            string(abi.encodePacked(baseURI, nft.tokenURI));
       } else {
           return revealUrl;
       }
    }

    function batchMinting(
        string[] memory hash,
        string[] memory metadata
    )public payable {
        require(hash.length==metadata.length,"Both arguments must be of same length");
        require(
            isPublicSaleAvailable ||
             (isPresaleActive && nftMinters[msg.sender].numberOfMintAvailable>0),
             "You are not allowed");
        require(_tokenId.current()+hash.length<maxSupply,"Max supply exceeded");

        uint256 _nftPrice = price;

        if(whitelist[msg.sender]>0){
            _nftPrice = whitelistedPrice;
        }
        if(ogList[msg.sender]>0){
            _nftPrice = staffPrice;
        }
        if(teamList[msg.sender]>0){
            _nftPrice = teamPrice;
        }

        _nftPrice = _nftPrice * hash.length;

        require(msg.value>=_nftPrice,"Invalid value");

        

        for(uint256 i=0;i<hash.length;i++){
        require(hashes[hash[i]] != 1, "Already Known this NFT");

        if(isPresaleActive && !isPublicSaleAvailable){
            nftMinters[msg.sender].numberOfMintAvailable--;
        }
        if(whitelist[msg.sender]>0){
            whitelist[msg.sender]--;
        }
        if(ogList[msg.sender]>0){
            ogList[msg.sender]--;
        }
        if(teamList[msg.sender]>0){
            teamList[msg.sender]--;
        }

        hashes[hash[i]] = 1;

        _tokenId.increment();

        uint256 newItemId = _tokenId.current();

        _mint(msg.sender, newItemId);

        _setTokenURI(newItemId, metadata[i]);

        NFTs[newItemId] = NFT({
            tokenID:newItemId,
            creator:msg.sender,
            tokenURI:metadata[i]
        });

        
        }
    }

    function batchTransfer(
        address[] memory _receivers,
        uint256[] memory _tokenIds
    ) public {
        require(_receivers.length==_tokenIds.length,"Both arguments must be of same length");
        for(uint256 i=0;i<_receivers.length;i++){
            safeTransferFrom(msg.sender,_receivers[i],_tokenIds[i]);
        }
    }


    function setPresaleSale(bool value) public onlyOwner{
        isPresaleActive = value;
    }

    function setPublicSale(bool value) public onlyOwner{
        isPublicSaleAvailable = value;
    }

    function setMaxSupply(uint256 _newMaxSupply) public onlyOwner{
        require(_newMaxSupply!=maxSupply,"New Max supply cannot be same with ");
        maxSupply = _newMaxSupply;
    }

    function setWhitelistForPresale(
        address receipentAddress,
        uint256 numberOfMints    
    ) public onlyOwner{
        nftMinters[receipentAddress].numberOfMintAvailable = numberOfMints;
    }

    function addToOgList(address _addr,uint256 _amount) public onlyOwner{
        ogList[_addr] = _amount;
        nftMinters[_addr].numberOfMintAvailable +=_amount;
    }

    function addToWhitelist(address _addr,uint256 _amount) public onlyOwner{
        whitelist[_addr] = _amount;
        nftMinters[_addr].numberOfMintAvailable +=_amount;
    }
    function addToTeamList(address _addr,uint256 _amount) public onlyOwner{
        teamList[_addr] = _amount;
        nftMinters[_addr].numberOfMintAvailable +=_amount;
    }

    function setBenificiaryOne(address payable _newBenificiaryAddress) public onlyOwner {
        require(beneficiaryOne!=_newBenificiaryAddress,"New Beniciary cannot be same with previous Beniciary");
        beneficiaryOne = _newBenificiaryAddress;
    }

    function setBenificiaryTwo(address payable _newBenificiaryAddress) public onlyOwner {
        require(beneficiaryTwo!=_newBenificiaryAddress,"New Beniciary cannot be same with previous Beniciary");
        beneficiaryTwo = _newBenificiaryAddress;
    }

    function setBenificiaryThree(address payable _newBenificiaryAddress) public onlyOwner {
        require(beneficiaryThree!=_newBenificiaryAddress,"New Beniciary cannot be same with previous Beniciary");
        beneficiaryThree = _newBenificiaryAddress;
    }

    function withdraw() public onlyBenificiaries{
        uint256 totalBalance = address(this).balance;
        uint256 benificiaryOneAmount = (totalBalance * benificiaryOnePerc) / TOTAL_PERC;
        uint256 benificiaryTwoAmount = (totalBalance * benificiaryTwoPerc) / TOTAL_PERC;
        uint256 benificiaryThreeAmount = (totalBalance * benificiaryThreePerc) / TOTAL_PERC;
        beneficiaryOne.transfer(benificiaryOneAmount);
        beneficiaryTwo.transfer(benificiaryTwoAmount);
        beneficiaryThree.transfer(benificiaryThreeAmount);
    }

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


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

    function concatenate(string memory a,string memory b) public pure returns (string memory){
        return string(abi.encodePacked(a,'',b));
    } 

    function setMaxMinted(uint256 _newAmount) public onlyOwner{
        maxMint = _newAmount;
    }

}

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

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);
    }

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

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

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

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

File 3 of 15 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;

        _;

        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

File 6 of 15 : ERC721URIStorage.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721URIStorage.sol)

pragma solidity ^0.8.0;

import "../ERC721.sol";

/**
 * @dev ERC721 token with storage based token URI management.
 */
abstract contract ERC721URIStorage is ERC721 {
    using Strings for uint256;

    // Optional mapping for token URIs
    mapping(uint256 => string) private _tokenURIs;

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

        string memory _tokenURI = _tokenURIs[tokenId];
        string memory base = _baseURI();

        // If there is no base URI, return the token URI.
        if (bytes(base).length == 0) {
            return _tokenURI;
        }
        // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked).
        if (bytes(_tokenURI).length > 0) {
            return string(abi.encodePacked(base, _tokenURI));
        }

        return super.tokenURI(tokenId);
    }

    /**
     * @dev Sets `_tokenURI` as the tokenURI of `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual {
        require(_exists(tokenId), "ERC721URIStorage: URI set of nonexistent token");
        _tokenURIs[tokenId] = _tokenURI;
    }

    /**
     * @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 override {
        super._burn(tokenId);

        if (bytes(_tokenURIs[tokenId]).length != 0) {
            delete _tokenURIs[tokenId];
        }
    }
}

File 7 of 15 : Base64.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0;

/// @title Base64
/// @author Brecht Devos - <[email protected]>
/// @notice Provides functions for encoding/decoding base64
library Base64 {
    string internal constant TABLE_ENCODE = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';
    bytes  internal constant TABLE_DECODE = hex"0000000000000000000000000000000000000000000000000000000000000000"
                                            hex"00000000000000000000003e0000003f3435363738393a3b3c3d000000000000"
                                            hex"00000102030405060708090a0b0c0d0e0f101112131415161718190000000000"
                                            hex"001a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132330000000000";

    function encode(bytes memory data) internal pure returns (string memory) {
        if (data.length == 0) return '';

        // load the table into memory
        string memory table = TABLE_ENCODE;

        // multiply by 4/3 rounded up
        uint256 encodedLen = 4 * ((data.length + 2) / 3);

        // add some extra buffer at the end required for the writing
        string memory result = new string(encodedLen + 32);

        assembly {
            // set the actual output length
            mstore(result, encodedLen)

            // prepare the lookup table
            let tablePtr := add(table, 1)

            // input ptr
            let dataPtr := data
            let endPtr := add(dataPtr, mload(data))

            // result ptr, jump over length
            let resultPtr := add(result, 32)

            // run over the input, 3 bytes at a time
            for {} lt(dataPtr, endPtr) {}
            {
                // read 3 bytes
                dataPtr := add(dataPtr, 3)
                let input := mload(dataPtr)

                // write 4 characters
                mstore8(resultPtr, mload(add(tablePtr, and(shr(18, input), 0x3F))))
                resultPtr := add(resultPtr, 1)
                mstore8(resultPtr, mload(add(tablePtr, and(shr(12, input), 0x3F))))
                resultPtr := add(resultPtr, 1)
                mstore8(resultPtr, mload(add(tablePtr, and(shr( 6, input), 0x3F))))
                resultPtr := add(resultPtr, 1)
                mstore8(resultPtr, mload(add(tablePtr, and(        input,  0x3F))))
                resultPtr := add(resultPtr, 1)
            }

            // padding with '='
            switch mod(mload(data), 3)
            case 1 { mstore(sub(resultPtr, 2), shl(240, 0x3d3d)) }
            case 2 { mstore(sub(resultPtr, 1), shl(248, 0x3d)) }
        }

        return result;
    }

    function decode(string memory _data) internal pure returns (bytes memory) {
        bytes memory data = bytes(_data);

        if (data.length == 0) return new bytes(0);
        require(data.length % 4 == 0, "invalid base64 decoder input");

        // load the table into memory
        bytes memory table = TABLE_DECODE;

        // every 4 characters represent 3 bytes
        uint256 decodedLen = (data.length / 4) * 3;

        // add some extra buffer at the end required for the writing
        bytes memory result = new bytes(decodedLen + 32);

        assembly {
            // padding with '='
            let lastBytes := mload(add(data, mload(data)))
            if eq(and(lastBytes, 0xFF), 0x3d) {
                decodedLen := sub(decodedLen, 1)
                if eq(and(lastBytes, 0xFFFF), 0x3d3d) {
                    decodedLen := sub(decodedLen, 1)
                }
            }

            // set the actual output length
            mstore(result, decodedLen)

            // prepare the lookup table
            let tablePtr := add(table, 1)

            // input ptr
            let dataPtr := data
            let endPtr := add(dataPtr, mload(data))

            // result ptr, jump over length
            let resultPtr := add(result, 32)

            // run over the input, 4 characters at a time
            for {} lt(dataPtr, endPtr) {}
            {
               // read 4 characters
               dataPtr := add(dataPtr, 4)
               let input := mload(dataPtr)

               // write 3 bytes
               let output := add(
                   add(
                       shl(18, and(mload(add(tablePtr, and(shr(24, input), 0xFF))), 0xFF)),
                       shl(12, and(mload(add(tablePtr, and(shr(16, input), 0xFF))), 0xFF))),
                   add(
                       shl( 6, and(mload(add(tablePtr, and(shr( 8, input), 0xFF))), 0xFF)),
                               and(mload(add(tablePtr, and(        input , 0xFF))), 0xFF)
                    )
                )
                mstore(resultPtr, shl(232, output))
                resultPtr := add(resultPtr, 3)
            }
        }

        return result;
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address payable","name":"_benificiaryOne","type":"address"},{"internalType":"address payable","name":"_benificiaryTwo","type":"address"},{"internalType":"address payable","name":"_benificiaryThree","type":"address"},{"internalType":"string","name":"_baseURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"NFTs","outputs":[{"internalType":"uint256","name":"tokenID","type":"uint256"},{"internalType":"address","name":"creator","type":"address"},{"internalType":"string","name":"tokenURI","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"_tokenURIs","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_addr","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"addToOgList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_addr","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"addToTeamList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_addr","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"addToWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string[]","name":"hash","type":"string[]"},{"internalType":"string[]","name":"metadata","type":"string[]"}],"name":"batchMinting","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_receivers","type":"address[]"},{"internalType":"uint256[]","name":"_tokenIds","type":"uint256[]"}],"name":"batchTransfer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"benificiaryOnePerc","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"benificiaryThreePerc","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"benificiaryTwoPerc","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"a","type":"string"},{"internalType":"string","name":"b","type":"string"}],"name":"concatenate","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"string","name":"hash","type":"string"},{"internalType":"string","name":"metadata","type":"string"}],"name":"createNFT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"","type":"string"}],"name":"hashes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPresaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPublicSaleAvailable","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"nftMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"nftMinters","outputs":[{"internalType":"address","name":"minterAddress","type":"address"},{"internalType":"uint256","name":"numberOfMintAvailable","type":"uint256"},{"internalType":"uint256","name":"mintedNfts","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"ogList","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ogListAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealCollection","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":"newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"_newBenificiaryAddress","type":"address"}],"name":"setBenificiaryOne","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"_newBenificiaryAddress","type":"address"}],"name":"setBenificiaryThree","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"_newBenificiaryAddress","type":"address"}],"name":"setBenificiaryTwo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newAmount","type":"uint256"}],"name":"setMaxMinted","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newMaxSupply","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"value","type":"bool"}],"name":"setPresaleSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"value","type":"bool"}],"name":"setPublicSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"receipentAddress","type":"address"},{"internalType":"uint256","name":"numberOfMints","type":"uint256"}],"name":"setWhitelistForPresale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"staffPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"teamList","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"teamPrice","outputs":[{"internalType":"uint256","name":"","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":[{"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":"whiteListAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whitelist","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"whitelistedPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

600d805461ffff19169055600460108190556701aa535d3d0c000060118190556012556000601381905560145560158190556016556122b8601755612710601855610f2d6019819055601a556108b6601b556023805460ff1916905561012060405260636080818152906200380b60a03980516200008691602491602090910190620001f7565b503480156200009457600080fd5b506040516200386e3803806200386e833981016040819052620000b791620002d0565b604080518082018252601881527f4261627920417065205072696d652045766f6c7574696f6e00000000000000006020808301919091528251808401909352600983526828422e412e502e452960b81b908301526001600055906200011c33620001a5565b815162000131906002906020850190620001f7565b50805162000147906003906020840190620001f7565b5050601f80546001600160a01b038088166001600160a01b03199283161790925560208054878416908316178155602180549387169390921692909217905582516200019a9250602291840190620001f7565b505050505062000422565b600180546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200020590620003e5565b90600052602060002090601f01602090048101928262000229576000855562000274565b82601f106200024457805160ff191683800117855562000274565b8280016001018555821562000274579182015b828111156200027457825182559160200191906001019062000257565b506200028292915062000286565b5090565b5b8082111562000282576000815560010162000287565b80516001600160a01b0381168114620002b557600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b60008060008060808587031215620002e757600080fd5b620002f2856200029d565b93506020620003038187016200029d565b935062000313604087016200029d565b60608701519093506001600160401b03808211156200033157600080fd5b818801915088601f8301126200034657600080fd5b8151818111156200035b576200035b620002ba565b604051601f8201601f19908116603f01168101908382118183101715620003865762000386620002ba565b816040528281528b868487010111156200039f57600080fd5b600093505b82841015620003c35784840186015181850187015292850192620003a4565b82841115620003d55760008684830101525b989b979a50959850505050505050565b600181811c90821680620003fa57607f821691505b602082108114156200041c57634e487b7160e01b600052602260045260246000fd5b50919050565b6133d980620004326000396000f3fe6080604052600436106103765760003560e01c806368613d17116101d1578063a035b1fe11610102578063c87b56dd116100a0578063ec243bf81161006f578063ec243bf814610a51578063f22cf7fc14610a71578063f2fde38b14610a87578063f4ef911714610aa757600080fd5b8063c87b56dd146109b2578063d5abeb01146109d2578063e4c48349146109e8578063e985e9c514610a0857600080fd5b8063abe99145116100dc578063abe99145146108f1578063b2df64ae1461095c578063b88d4fde1461097c578063c46881e31461099c57600080fd5b8063a035b1fe1461088c578063a22cb465146108a2578063a3c0b95b146108c257600080fd5b80637501f7411161016f5780638da5cb5b116101495780638da5cb5b1461081657806395d89b41146108345780639a2d1dc1146108495780639b19251a1461085f57600080fd5b80637501f741146107ca5780638469eb47146107e057806388d695b2146107f657600080fd5b80636c0360eb116101ab5780636c0360eb146107605780636f8b44b01461077557806370a0823114610795578063715018a6146107b557600080fd5b806368613d171461070d57806368c2d400146107205780636ad564571461074057600080fd5b806330bc4753116102ab5780635aca1bb61161024957806362673ec71161022357806362673ec71461067557806362f5d771146106955780636352211e146106b5578063685e0dc7146106d557600080fd5b80635aca1bb614610625578063609d707b1461064557806360d938dc1461065b57600080fd5b806342842e0e1161028557806342842e0e146105985780634b26699b146105b857806350070eea146105e557806355f804b31461060557600080fd5b806330bc47531461055b5780633ccfd60b1461056e57806340d0b4a91461058357600080fd5b806312065fe01161031857806323b872dd116102f257806323b872dd146104d8578063266001d3146104f85780632bc7a2ee146105185780632f6f92b31461052e57600080fd5b806312065fe01461048f5780631a719691146104a2578063214405fc146104b857600080fd5b8063081812fc11610354578063081812fc146103f65780630900c5d41461042e578063095ea7b31461044d5780630bb78ec11461046f57600080fd5b806301ffc9a71461037b57806302443504146103b057806306fdde03146103d4575b600080fd5b34801561038757600080fd5b5061039b6103963660046129be565b610ad4565b60405190151581526020015b60405180910390f35b3480156103bc57600080fd5b506103c660125481565b6040519081526020016103a7565b3480156103e057600080fd5b506103e9610b26565b6040516103a79190612a3a565b34801561040257600080fd5b50610416610411366004612a4d565b610bb8565b6040516001600160a01b0390911681526020016103a7565b34801561043a57600080fd5b50600d5461039b90610100900460ff1681565b34801561045957600080fd5b5061046d610468366004612a7b565b610c52565b005b34801561047b57600080fd5b506103e961048a366004612a4d565b610d68565b34801561049b57600080fd5b50476103c6565b3480156104ae57600080fd5b506103c660135481565b3480156104c457600080fd5b5061046d6104d3366004612a7b565b610e02565b3480156104e457600080fd5b5061046d6104f3366004612aa7565b610e6d565b34801561050457600080fd5b506103e9610513366004612ba7565b610e9e565b34801561052457600080fd5b506103c660155481565b34801561053a57600080fd5b506103c6610549366004612c0b565b600f6020526000908152604090205481565b61046d610569366004612cdc565b610eca565b34801561057a57600080fd5b5061046d6112fb565b34801561058f57600080fd5b5061046d6114ab565b3480156105a457600080fd5b5061046d6105b3366004612aa7565b6114e4565b3480156105c457600080fd5b506103c66105d3366004612c0b565b601e6020526000908152604090205481565b3480156105f157600080fd5b5061046d610600366004612c0b565b6114ff565b34801561061157600080fd5b5061046d610620366004612d36565b611579565b34801561063157600080fd5b5061046d610640366004612d7b565b6115ba565b34801561065157600080fd5b506103c660145481565b34801561066757600080fd5b50600d5461039b9060ff1681565b34801561068157600080fd5b5061046d610690366004612a7b565b6115fe565b3480156106a157600080fd5b5061046d6106b0366004612a7b565b611647565b3480156106c157600080fd5b506104166106d0366004612a4d565b6116a9565b3480156106e157600080fd5b506103c66106f0366004612d36565b8051602081830181018051600a8252928201919093012091525481565b6103c661071b366004612ba7565b611720565b34801561072c57600080fd5b5061046d61073b366004612d7b565b611b08565b34801561074c57600080fd5b5061046d61075b366004612c0b565b611b45565b34801561076c57600080fd5b506103e9611bbf565b34801561078157600080fd5b5061046d610790366004612a4d565b611bcc565b3480156107a157600080fd5b506103c66107b0366004612c0b565b611c59565b3480156107c157600080fd5b5061046d611ce0565b3480156107d657600080fd5b506103c660105481565b3480156107ec57600080fd5b506103c6601a5481565b34801561080257600080fd5b5061046d610811366004612df1565b611d16565b34801561082257600080fd5b506001546001600160a01b0316610416565b34801561084057600080fd5b506103e9611d92565b34801561085557600080fd5b506103c660165481565b34801561086b57600080fd5b506103c661087a366004612c0b565b601d6020526000908152604090205481565b34801561089857600080fd5b506103c660115481565b3480156108ae57600080fd5b5061046d6108bd366004612ea9565b611da1565b3480156108ce57600080fd5b506108e26108dd366004612a4d565b611dac565b6040516103a793929190612ede565b3480156108fd57600080fd5b5061093761090c366004612c0b565b600e602052600090815260409020805460018201546002909201546001600160a01b03909116919083565b604080516001600160a01b0390941684526020840192909252908201526060016103a7565b34801561096857600080fd5b5061046d610977366004612a4d565b611e61565b34801561098857600080fd5b5061046d610997366004612f11565b611e90565b3480156109a857600080fd5b506103c6601b5481565b3480156109be57600080fd5b506103e96109cd366004612a4d565b611ec2565b3480156109de57600080fd5b506103c660175481565b3480156109f457600080fd5b5061046d610a03366004612a7b565b612065565b348015610a1457600080fd5b5061039b610a23366004612f91565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b348015610a5d57600080fd5b5061046d610a6c366004612c0b565b6120c7565b348015610a7d57600080fd5b506103c660195481565b348015610a9357600080fd5b5061046d610aa2366004612c0b565b612141565b348015610ab357600080fd5b506103c6610ac2366004612c0b565b601c6020526000908152604090205481565b60006001600160e01b031982166380ac58cd60e01b1480610b0557506001600160e01b03198216635b5e139f60e01b145b80610b2057506301ffc9a760e01b6001600160e01b03198316145b92915050565b606060028054610b3590612fca565b80601f0160208091040260200160405190810160405280929190818152602001828054610b6190612fca565b8015610bae5780601f10610b8357610100808354040283529160200191610bae565b820191906000526020600020905b815481529060010190602001808311610b9157829003601f168201915b5050505050905090565b6000818152600460205260408120546001600160a01b0316610c365760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6000610c5d826116a9565b9050806001600160a01b0316836001600160a01b03161415610ccb5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610c2d565b336001600160a01b0382161480610ce75750610ce78133610a23565b610d595760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610c2d565b610d6383836121dc565b505050565b600b6020526000908152604090208054610d8190612fca565b80601f0160208091040260200160405190810160405280929190818152602001828054610dad90612fca565b8015610dfa5780601f10610dcf57610100808354040283529160200191610dfa565b820191906000526020600020905b815481529060010190602001808311610ddd57829003601f168201915b505050505081565b6001546001600160a01b03163314610e2c5760405162461bcd60e51b8152600401610c2d90613005565b6001600160a01b0382166000908152601d60209081526040808320849055600e90915281206001018054839290610e64908490613050565b90915550505050565b610e77338261224a565b610e935760405162461bcd60e51b8152600401610c2d90613068565b610d63838383612341565b60608282604051602001610eb39291906130d5565b604051602081830303815290604052905092915050565b8051825114610eeb5760405162461bcd60e51b8152600401610c2d90613104565b600d54610100900460ff1680610f1f5750600d5460ff168015610f1f5750336000908152600e602052604090206001015415155b610f615760405162461bcd60e51b8152602060048201526013602482015272165bdd48185c99481b9bdd08185b1b1bddd959606a1b6044820152606401610c2d565b6017548251600954610f739190613050565b10610fb65760405162461bcd60e51b815260206004820152601360248201527213585e081cdd5c1c1b1e48195e18d959591959606a1b6044820152606401610c2d565b601154336000908152601d602052604090205415610fd357506012545b336000908152601c602052604090205415610fed57506013545b336000908152601e60205260409020541561100757506014545b82516110139082613149565b9050803410156110555760405162461bcd60e51b815260206004820152600d60248201526c496e76616c69642076616c756560981b6044820152606401610c2d565b60005b83518110156112f557600a84828151811061107557611075613168565b602002602001015160405161108a919061317e565b908152602001604051809103902054600114156110e25760405162461bcd60e51b8152602060048201526016602482015275105b1c9958591e4812db9bdddb881d1a1a5cc813919560521b6044820152606401610c2d565b600d5460ff1680156110fc5750600d54610100900460ff16155b1561112557336000908152600e6020526040812060010180549161111f8361319a565b91905055505b336000908152601d60205260409020541561115b57336000908152601d602052604081208054916111558361319a565b91905055505b336000908152601c60205260409020541561119157336000908152601c6020526040812080549161118b8361319a565b91905055505b336000908152601e6020526040902054156111c757336000908152601e602052604081208054916111c18361319a565b91905055505b6001600a8583815181106111dd576111dd613168565b60200260200101516040516111f2919061317e565b90815260405190819003602001902055611210600980546001019055565b600061121b60095490565b905061122733826124e1565b61124a8185848151811061123d5761123d613168565b6020026020010151612623565b6040518060600160405280828152602001336001600160a01b0316815260200185848151811061127c5761127c613168565b6020908102919091018101519091526000838152600c825260409081902083518155838301516001820180546001600160a01b0319166001600160a01b0390921691909117905590830151805191926112dd9260028501929091019061290f565b509050505080806112ed906131b1565b915050611058565b50505050565b601f546001600160a01b031633148061131e57506020546001600160a01b031633145b8061133357506021546001600160a01b031633145b6113965760405162461bcd60e51b815260206004820152602e60248201527f4f6e6c792062656e696669636961726965732061726520616c6c6f776564206660448201526d1bdc881d1a1a5cc81b595d1a1bd960921b6064820152608401610c2d565b60185460195447916000916113ab9084613149565b6113b591906131cc565b90506000601854601a54846113ca9190613149565b6113d491906131cc565b90506000601854601b54856113e99190613149565b6113f391906131cc565b601f546040519192506001600160a01b03169084156108fc029085906000818181858888f1935050505015801561142e573d6000803e3d6000fd5b506020546040516001600160a01b039091169083156108fc029084906000818181858888f19350505050158015611469573d6000803e3d6000fd5b506021546040516001600160a01b039091169082156108fc029083906000818181858888f193505050501580156114a4573d6000803e3d6000fd5b5050505050565b6001546001600160a01b031633146114d55760405162461bcd60e51b8152600401610c2d90613005565b6023805460ff19166001179055565b610d6383838360405180602001604052806000815250611e90565b6001546001600160a01b031633146115295760405162461bcd60e51b8152600401610c2d90613005565b6020546001600160a01b03828116911614156115575760405162461bcd60e51b8152600401610c2d906131ee565b602080546001600160a01b0319166001600160a01b0392909216919091179055565b6001546001600160a01b031633146115a35760405162461bcd60e51b8152600401610c2d90613005565b80516115b690602290602084019061290f565b5050565b6001546001600160a01b031633146115e45760405162461bcd60e51b8152600401610c2d90613005565b600d80549115156101000261ff0019909216919091179055565b6001546001600160a01b031633146116285760405162461bcd60e51b8152600401610c2d90613005565b6001600160a01b039091166000908152600e6020526040902060010155565b6001546001600160a01b031633146116715760405162461bcd60e51b8152600401610c2d90613005565b6001600160a01b0382166000908152601e60209081526040808320849055600e90915281206001018054839290610e64908490613050565b6000818152600460205260408120546001600160a01b031680610b205760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610c2d565b6000600a83604051611732919061317e565b9081526020016040518091039020546001141561178a5760405162461bcd60e51b8152602060048201526016602482015275105b1c9958591e4812db9bdddb881d1a1a5cc813919560521b6044820152606401610c2d565b600d54610100900460ff16806117be5750600d5460ff1680156117be5750336000908152600e602052604090206001015415155b6118005760405162461bcd60e51b8152602060048201526013602482015272165bdd48185c99481b9bdd08185b1b1bddd959606a1b6044820152606401610c2d565b6017546009541061184b5760405162461bcd60e51b815260206004820152601560248201527413585e081cdd5c1c1b1e481a5cc81c995858da1959605a1b6044820152606401610c2d565b601054336000908152600f602052604090205411156118a35760405162461bcd60e51b8152602060048201526014602482015273596f752063616e6e6f74206d696e74206d6f726560601b6044820152606401610c2d565b336000908152600f60205260409020546118be906001613050565b336000908152600f6020908152604080832093909355601154601d90915291902054156118ea57506012545b336000908152601c60205260409020541561190457506013545b336000908152601e60205260409020541561191e57506014545b8034101561195e5760405162461bcd60e51b815260206004820152600d60248201526c496e76616c69642076616c756560981b6044820152606401610c2d565b600d5460ff1680156119785750600d54610100900460ff16155b156119a157336000908152600e6020526040812060010180549161199b8361319a565b91905055505b336000908152601d6020526040902054156119d757336000908152601d602052604081208054916119d18361319a565b91905055505b336000908152601c602052604090205415611a0d57336000908152601c60205260408120805491611a078361319a565b91905055505b336000908152601e602052604090205415611a4357336000908152601e60205260408120805491611a3d8361319a565b91905055505b6001600a85604051611a55919061317e565b90815260405190819003602001902055611a73600980546001019055565b6000611a7e60095490565b9050611a8a33826124e1565b611a948185612623565b604080516060810182528281523360208083019182528284018881526000868152600c8352949094208351815591516001830180546001600160a01b0319166001600160a01b039092169190911790559251805192939192611afc926002850192019061290f565b50919695505050505050565b6001546001600160a01b03163314611b325760405162461bcd60e51b8152600401610c2d90613005565b600d805460ff1916911515919091179055565b6001546001600160a01b03163314611b6f5760405162461bcd60e51b8152600401610c2d90613005565b6021546001600160a01b0382811691161415611b9d5760405162461bcd60e51b8152600401610c2d906131ee565b602180546001600160a01b0319166001600160a01b0392909216919091179055565b60228054610d8190612fca565b6001546001600160a01b03163314611bf65760405162461bcd60e51b8152600401610c2d90613005565b601754811415611c545760405162461bcd60e51b815260206004820152602360248201527f4e6577204d617820737570706c792063616e6e6f742062652073616d6520776960448201526203a34160ed1b6064820152608401610c2d565b601755565b60006001600160a01b038216611cc45760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610c2d565b506001600160a01b031660009081526005602052604090205490565b6001546001600160a01b03163314611d0a5760405162461bcd60e51b8152600401610c2d90613005565b611d1460006126bd565b565b8051825114611d375760405162461bcd60e51b8152600401610c2d90613104565b60005b8251811015610d6357611d8033848381518110611d5957611d59613168565b6020026020010151848481518110611d7357611d73613168565b60200260200101516114e4565b80611d8a816131b1565b915050611d3a565b606060038054610b3590612fca565b6115b633838361270f565b600c6020526000908152604090208054600182015460028301805492936001600160a01b0390921692611dde90612fca565b80601f0160208091040260200160405190810160405280929190818152602001828054611e0a90612fca565b8015611e575780601f10611e2c57610100808354040283529160200191611e57565b820191906000526020600020905b815481529060010190602001808311611e3a57829003601f168201915b5050505050905083565b6001546001600160a01b03163314611e8b5760405162461bcd60e51b8152600401610c2d90613005565b601055565b611e9a338361224a565b611eb65760405162461bcd60e51b8152600401610c2d90613068565b6112f5848484846127de565b60235460609060ff16151560011415611fce576000828152600c6020908152604080832081516060810183528154815260018201546001600160a01b0316938101939093526002810180549192840191611f1b90612fca565b80601f0160208091040260200160405190810160405280929190818152602001828054611f4790612fca565b8015611f945780601f10611f6957610100808354040283529160200191611f94565b820191906000526020600020905b815481529060010190602001808311611f7757829003601f168201915b505050505081525050905060228160400151604051602001611fb7929190613242565b604051602081830303815290604052915050919050565b60248054611fdb90612fca565b80601f016020809104026020016040519081016040528092919081815260200182805461200790612fca565b80156120545780601f1061202957610100808354040283529160200191612054565b820191906000526020600020905b81548152906001019060200180831161203757829003601f168201915b50505050509050919050565b919050565b6001546001600160a01b0316331461208f5760405162461bcd60e51b8152600401610c2d90613005565b6001600160a01b0382166000908152601c60209081526040808320849055600e90915281206001018054839290610e64908490613050565b6001546001600160a01b031633146120f15760405162461bcd60e51b8152600401610c2d90613005565b601f546001600160a01b038281169116141561211f5760405162461bcd60e51b8152600401610c2d906131ee565b601f80546001600160a01b0319166001600160a01b0392909216919091179055565b6001546001600160a01b0316331461216b5760405162461bcd60e51b8152600401610c2d90613005565b6001600160a01b0381166121d05760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610c2d565b6121d9816126bd565b50565b600081815260066020526040902080546001600160a01b0319166001600160a01b0384169081179091558190612211826116a9565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600460205260408120546001600160a01b03166122c35760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610c2d565b60006122ce836116a9565b9050806001600160a01b0316846001600160a01b031614806123095750836001600160a01b03166122fe84610bb8565b6001600160a01b0316145b8061233957506001600160a01b0380821660009081526007602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b0316612354826116a9565b6001600160a01b0316146123bc5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610c2d565b6001600160a01b03821661241e5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610c2d565b6124296000826121dc565b6001600160a01b03831660009081526005602052604081208054600192906124529084906132e0565b90915550506001600160a01b0382166000908152600560205260408120805460019290612480908490613050565b909155505060008181526004602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6001600160a01b0382166125375760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610c2d565b6000818152600460205260409020546001600160a01b03161561259c5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610c2d565b6001600160a01b03821660009081526005602052604081208054600192906125c5908490613050565b909155505060008181526004602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6000828152600460205260409020546001600160a01b031661269e5760405162461bcd60e51b815260206004820152602e60248201527f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60448201526d32bc34b9ba32b73a103a37b5b2b760911b6064820152608401610c2d565b60008281526008602090815260409091208251610d639284019061290f565b600180546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b031614156127715760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610c2d565b6001600160a01b03838116600081815260076020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6127e9848484612341565b6127f584848484612811565b6112f55760405162461bcd60e51b8152600401610c2d906132f7565b60006001600160a01b0384163b1561290457604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612855903390899088908890600401613349565b6020604051808303816000875af1925050508015612890575060408051601f3d908101601f1916820190925261288d91810190613386565b60015b6128ea573d8080156128be576040519150601f19603f3d011682016040523d82523d6000602084013e6128c3565b606091505b5080516128e25760405162461bcd60e51b8152600401610c2d906132f7565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050612339565b506001949350505050565b82805461291b90612fca565b90600052602060002090601f01602090048101928261293d5760008555612983565b82601f1061295657805160ff1916838001178555612983565b82800160010185558215612983579182015b82811115612983578251825591602001919060010190612968565b5061298f929150612993565b5090565b5b8082111561298f5760008155600101612994565b6001600160e01b0319811681146121d957600080fd5b6000602082840312156129d057600080fd5b81356129db816129a8565b9392505050565b60005b838110156129fd5781810151838201526020016129e5565b838111156112f55750506000910152565b60008151808452612a268160208601602086016129e2565b601f01601f19169290920160200192915050565b6020815260006129db6020830184612a0e565b600060208284031215612a5f57600080fd5b5035919050565b6001600160a01b03811681146121d957600080fd5b60008060408385031215612a8e57600080fd5b8235612a9981612a66565b946020939093013593505050565b600080600060608486031215612abc57600080fd5b8335612ac781612a66565b92506020840135612ad781612a66565b929592945050506040919091013590565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715612b2757612b27612ae8565b604052919050565b600067ffffffffffffffff831115612b4957612b49612ae8565b612b5c601f8401601f1916602001612afe565b9050828152838383011115612b7057600080fd5b828260208301376000602084830101529392505050565b600082601f830112612b9857600080fd5b6129db83833560208501612b2f565b60008060408385031215612bba57600080fd5b823567ffffffffffffffff80821115612bd257600080fd5b612bde86838701612b87565b93506020850135915080821115612bf457600080fd5b50612c0185828601612b87565b9150509250929050565b600060208284031215612c1d57600080fd5b81356129db81612a66565b600067ffffffffffffffff821115612c4257612c42612ae8565b5060051b60200190565b600082601f830112612c5d57600080fd5b81356020612c72612c6d83612c28565b612afe565b82815260059290921b84018101918181019086841115612c9157600080fd5b8286015b84811015612cd157803567ffffffffffffffff811115612cb55760008081fd5b612cc38986838b0101612b87565b845250918301918301612c95565b509695505050505050565b60008060408385031215612cef57600080fd5b823567ffffffffffffffff80821115612d0757600080fd5b612d1386838701612c4c565b93506020850135915080821115612d2957600080fd5b50612c0185828601612c4c565b600060208284031215612d4857600080fd5b813567ffffffffffffffff811115612d5f57600080fd5b61233984828501612b87565b8035801515811461206057600080fd5b600060208284031215612d8d57600080fd5b6129db82612d6b565b600082601f830112612da757600080fd5b81356020612db7612c6d83612c28565b82815260059290921b84018101918181019086841115612dd657600080fd5b8286015b84811015612cd15780358352918301918301612dda565b60008060408385031215612e0457600080fd5b823567ffffffffffffffff80821115612e1c57600080fd5b818501915085601f830112612e3057600080fd5b81356020612e40612c6d83612c28565b82815260059290921b84018101918181019089841115612e5f57600080fd5b948201945b83861015612e86578535612e7781612a66565b82529482019490820190612e64565b96505086013592505080821115612e9c57600080fd5b50612c0185828601612d96565b60008060408385031215612ebc57600080fd5b8235612ec781612a66565b9150612ed560208401612d6b565b90509250929050565b8381526001600160a01b0383166020820152606060408201819052600090612f0890830184612a0e565b95945050505050565b60008060008060808587031215612f2757600080fd5b8435612f3281612a66565b93506020850135612f4281612a66565b925060408501359150606085013567ffffffffffffffff811115612f6557600080fd5b8501601f81018713612f7657600080fd5b612f8587823560208401612b2f565b91505092959194509250565b60008060408385031215612fa457600080fd5b8235612faf81612a66565b91506020830135612fbf81612a66565b809150509250929050565b600181811c90821680612fde57607f821691505b60208210811415612fff57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b600082198211156130635761306361303a565b500190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b600081516130cb8185602086016129e2565b9290920192915050565b600083516130e78184602088016129e2565b8351908301906130fb8183602088016129e2565b01949350505050565b60208082526025908201527f426f746820617267756d656e7473206d757374206265206f662073616d65206c6040820152640cadccee8d60db1b606082015260800190565b60008160001904831182151516156131635761316361303a565b500290565b634e487b7160e01b600052603260045260246000fd5b600082516131908184602087016129e2565b9190910192915050565b6000816131a9576131a961303a565b506000190190565b60006000198214156131c5576131c561303a565b5060010190565b6000826131e957634e487b7160e01b600052601260045260246000fd5b500490565b60208082526034908201527f4e65772042656e6963696172792063616e6e6f742062652073616d6520776974604082015273682070726576696f75732042656e69636961727960601b606082015260800190565b600080845481600182811c91508083168061325e57607f831692505b602080841082141561327e57634e487b7160e01b86526022600452602486fd5b81801561329257600181146132a3576132d0565b60ff198616895284890196506132d0565b60008b81526020902060005b868110156132c85781548b8201529085019083016132af565b505084890196505b505050505050612f0881856130b9565b6000828210156132f2576132f261303a565b500390565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061337c90830184612a0e565b9695505050505050565b60006020828403121561339857600080fd5b81516129db816129a856fea2646970667358221220e01e63b64a553087d805ce19ebb5b61dc81e98b70eaf3e87b60797ebd6b6328664736f6c634300080a003368747470733a2f2f696d61676573312e6d7970696e6174612e636c6f75642f697066732f516d57435a645a6a347779514b3534477265704b506b6463574b657265766467336d6d6f554d68397954426d69562f6e6f7452657665616c65642e6a736f6e000000000000000000000000ef047a921337712e801035570b4ec1aa90b6764f0000000000000000000000006453778675d00616b2d60be619e0fe6978db321d000000000000000000000000075a8946573c087f5da77b8850538f078de7beef0000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000001568747470733a2f2f697066732e696f2f697066732f0000000000000000000000

Deployed Bytecode

0x6080604052600436106103765760003560e01c806368613d17116101d1578063a035b1fe11610102578063c87b56dd116100a0578063ec243bf81161006f578063ec243bf814610a51578063f22cf7fc14610a71578063f2fde38b14610a87578063f4ef911714610aa757600080fd5b8063c87b56dd146109b2578063d5abeb01146109d2578063e4c48349146109e8578063e985e9c514610a0857600080fd5b8063abe99145116100dc578063abe99145146108f1578063b2df64ae1461095c578063b88d4fde1461097c578063c46881e31461099c57600080fd5b8063a035b1fe1461088c578063a22cb465146108a2578063a3c0b95b146108c257600080fd5b80637501f7411161016f5780638da5cb5b116101495780638da5cb5b1461081657806395d89b41146108345780639a2d1dc1146108495780639b19251a1461085f57600080fd5b80637501f741146107ca5780638469eb47146107e057806388d695b2146107f657600080fd5b80636c0360eb116101ab5780636c0360eb146107605780636f8b44b01461077557806370a0823114610795578063715018a6146107b557600080fd5b806368613d171461070d57806368c2d400146107205780636ad564571461074057600080fd5b806330bc4753116102ab5780635aca1bb61161024957806362673ec71161022357806362673ec71461067557806362f5d771146106955780636352211e146106b5578063685e0dc7146106d557600080fd5b80635aca1bb614610625578063609d707b1461064557806360d938dc1461065b57600080fd5b806342842e0e1161028557806342842e0e146105985780634b26699b146105b857806350070eea146105e557806355f804b31461060557600080fd5b806330bc47531461055b5780633ccfd60b1461056e57806340d0b4a91461058357600080fd5b806312065fe01161031857806323b872dd116102f257806323b872dd146104d8578063266001d3146104f85780632bc7a2ee146105185780632f6f92b31461052e57600080fd5b806312065fe01461048f5780631a719691146104a2578063214405fc146104b857600080fd5b8063081812fc11610354578063081812fc146103f65780630900c5d41461042e578063095ea7b31461044d5780630bb78ec11461046f57600080fd5b806301ffc9a71461037b57806302443504146103b057806306fdde03146103d4575b600080fd5b34801561038757600080fd5b5061039b6103963660046129be565b610ad4565b60405190151581526020015b60405180910390f35b3480156103bc57600080fd5b506103c660125481565b6040519081526020016103a7565b3480156103e057600080fd5b506103e9610b26565b6040516103a79190612a3a565b34801561040257600080fd5b50610416610411366004612a4d565b610bb8565b6040516001600160a01b0390911681526020016103a7565b34801561043a57600080fd5b50600d5461039b90610100900460ff1681565b34801561045957600080fd5b5061046d610468366004612a7b565b610c52565b005b34801561047b57600080fd5b506103e961048a366004612a4d565b610d68565b34801561049b57600080fd5b50476103c6565b3480156104ae57600080fd5b506103c660135481565b3480156104c457600080fd5b5061046d6104d3366004612a7b565b610e02565b3480156104e457600080fd5b5061046d6104f3366004612aa7565b610e6d565b34801561050457600080fd5b506103e9610513366004612ba7565b610e9e565b34801561052457600080fd5b506103c660155481565b34801561053a57600080fd5b506103c6610549366004612c0b565b600f6020526000908152604090205481565b61046d610569366004612cdc565b610eca565b34801561057a57600080fd5b5061046d6112fb565b34801561058f57600080fd5b5061046d6114ab565b3480156105a457600080fd5b5061046d6105b3366004612aa7565b6114e4565b3480156105c457600080fd5b506103c66105d3366004612c0b565b601e6020526000908152604090205481565b3480156105f157600080fd5b5061046d610600366004612c0b565b6114ff565b34801561061157600080fd5b5061046d610620366004612d36565b611579565b34801561063157600080fd5b5061046d610640366004612d7b565b6115ba565b34801561065157600080fd5b506103c660145481565b34801561066757600080fd5b50600d5461039b9060ff1681565b34801561068157600080fd5b5061046d610690366004612a7b565b6115fe565b3480156106a157600080fd5b5061046d6106b0366004612a7b565b611647565b3480156106c157600080fd5b506104166106d0366004612a4d565b6116a9565b3480156106e157600080fd5b506103c66106f0366004612d36565b8051602081830181018051600a8252928201919093012091525481565b6103c661071b366004612ba7565b611720565b34801561072c57600080fd5b5061046d61073b366004612d7b565b611b08565b34801561074c57600080fd5b5061046d61075b366004612c0b565b611b45565b34801561076c57600080fd5b506103e9611bbf565b34801561078157600080fd5b5061046d610790366004612a4d565b611bcc565b3480156107a157600080fd5b506103c66107b0366004612c0b565b611c59565b3480156107c157600080fd5b5061046d611ce0565b3480156107d657600080fd5b506103c660105481565b3480156107ec57600080fd5b506103c6601a5481565b34801561080257600080fd5b5061046d610811366004612df1565b611d16565b34801561082257600080fd5b506001546001600160a01b0316610416565b34801561084057600080fd5b506103e9611d92565b34801561085557600080fd5b506103c660165481565b34801561086b57600080fd5b506103c661087a366004612c0b565b601d6020526000908152604090205481565b34801561089857600080fd5b506103c660115481565b3480156108ae57600080fd5b5061046d6108bd366004612ea9565b611da1565b3480156108ce57600080fd5b506108e26108dd366004612a4d565b611dac565b6040516103a793929190612ede565b3480156108fd57600080fd5b5061093761090c366004612c0b565b600e602052600090815260409020805460018201546002909201546001600160a01b03909116919083565b604080516001600160a01b0390941684526020840192909252908201526060016103a7565b34801561096857600080fd5b5061046d610977366004612a4d565b611e61565b34801561098857600080fd5b5061046d610997366004612f11565b611e90565b3480156109a857600080fd5b506103c6601b5481565b3480156109be57600080fd5b506103e96109cd366004612a4d565b611ec2565b3480156109de57600080fd5b506103c660175481565b3480156109f457600080fd5b5061046d610a03366004612a7b565b612065565b348015610a1457600080fd5b5061039b610a23366004612f91565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b348015610a5d57600080fd5b5061046d610a6c366004612c0b565b6120c7565b348015610a7d57600080fd5b506103c660195481565b348015610a9357600080fd5b5061046d610aa2366004612c0b565b612141565b348015610ab357600080fd5b506103c6610ac2366004612c0b565b601c6020526000908152604090205481565b60006001600160e01b031982166380ac58cd60e01b1480610b0557506001600160e01b03198216635b5e139f60e01b145b80610b2057506301ffc9a760e01b6001600160e01b03198316145b92915050565b606060028054610b3590612fca565b80601f0160208091040260200160405190810160405280929190818152602001828054610b6190612fca565b8015610bae5780601f10610b8357610100808354040283529160200191610bae565b820191906000526020600020905b815481529060010190602001808311610b9157829003601f168201915b5050505050905090565b6000818152600460205260408120546001600160a01b0316610c365760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6000610c5d826116a9565b9050806001600160a01b0316836001600160a01b03161415610ccb5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610c2d565b336001600160a01b0382161480610ce75750610ce78133610a23565b610d595760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610c2d565b610d6383836121dc565b505050565b600b6020526000908152604090208054610d8190612fca565b80601f0160208091040260200160405190810160405280929190818152602001828054610dad90612fca565b8015610dfa5780601f10610dcf57610100808354040283529160200191610dfa565b820191906000526020600020905b815481529060010190602001808311610ddd57829003601f168201915b505050505081565b6001546001600160a01b03163314610e2c5760405162461bcd60e51b8152600401610c2d90613005565b6001600160a01b0382166000908152601d60209081526040808320849055600e90915281206001018054839290610e64908490613050565b90915550505050565b610e77338261224a565b610e935760405162461bcd60e51b8152600401610c2d90613068565b610d63838383612341565b60608282604051602001610eb39291906130d5565b604051602081830303815290604052905092915050565b8051825114610eeb5760405162461bcd60e51b8152600401610c2d90613104565b600d54610100900460ff1680610f1f5750600d5460ff168015610f1f5750336000908152600e602052604090206001015415155b610f615760405162461bcd60e51b8152602060048201526013602482015272165bdd48185c99481b9bdd08185b1b1bddd959606a1b6044820152606401610c2d565b6017548251600954610f739190613050565b10610fb65760405162461bcd60e51b815260206004820152601360248201527213585e081cdd5c1c1b1e48195e18d959591959606a1b6044820152606401610c2d565b601154336000908152601d602052604090205415610fd357506012545b336000908152601c602052604090205415610fed57506013545b336000908152601e60205260409020541561100757506014545b82516110139082613149565b9050803410156110555760405162461bcd60e51b815260206004820152600d60248201526c496e76616c69642076616c756560981b6044820152606401610c2d565b60005b83518110156112f557600a84828151811061107557611075613168565b602002602001015160405161108a919061317e565b908152602001604051809103902054600114156110e25760405162461bcd60e51b8152602060048201526016602482015275105b1c9958591e4812db9bdddb881d1a1a5cc813919560521b6044820152606401610c2d565b600d5460ff1680156110fc5750600d54610100900460ff16155b1561112557336000908152600e6020526040812060010180549161111f8361319a565b91905055505b336000908152601d60205260409020541561115b57336000908152601d602052604081208054916111558361319a565b91905055505b336000908152601c60205260409020541561119157336000908152601c6020526040812080549161118b8361319a565b91905055505b336000908152601e6020526040902054156111c757336000908152601e602052604081208054916111c18361319a565b91905055505b6001600a8583815181106111dd576111dd613168565b60200260200101516040516111f2919061317e565b90815260405190819003602001902055611210600980546001019055565b600061121b60095490565b905061122733826124e1565b61124a8185848151811061123d5761123d613168565b6020026020010151612623565b6040518060600160405280828152602001336001600160a01b0316815260200185848151811061127c5761127c613168565b6020908102919091018101519091526000838152600c825260409081902083518155838301516001820180546001600160a01b0319166001600160a01b0390921691909117905590830151805191926112dd9260028501929091019061290f565b509050505080806112ed906131b1565b915050611058565b50505050565b601f546001600160a01b031633148061131e57506020546001600160a01b031633145b8061133357506021546001600160a01b031633145b6113965760405162461bcd60e51b815260206004820152602e60248201527f4f6e6c792062656e696669636961726965732061726520616c6c6f776564206660448201526d1bdc881d1a1a5cc81b595d1a1bd960921b6064820152608401610c2d565b60185460195447916000916113ab9084613149565b6113b591906131cc565b90506000601854601a54846113ca9190613149565b6113d491906131cc565b90506000601854601b54856113e99190613149565b6113f391906131cc565b601f546040519192506001600160a01b03169084156108fc029085906000818181858888f1935050505015801561142e573d6000803e3d6000fd5b506020546040516001600160a01b039091169083156108fc029084906000818181858888f19350505050158015611469573d6000803e3d6000fd5b506021546040516001600160a01b039091169082156108fc029083906000818181858888f193505050501580156114a4573d6000803e3d6000fd5b5050505050565b6001546001600160a01b031633146114d55760405162461bcd60e51b8152600401610c2d90613005565b6023805460ff19166001179055565b610d6383838360405180602001604052806000815250611e90565b6001546001600160a01b031633146115295760405162461bcd60e51b8152600401610c2d90613005565b6020546001600160a01b03828116911614156115575760405162461bcd60e51b8152600401610c2d906131ee565b602080546001600160a01b0319166001600160a01b0392909216919091179055565b6001546001600160a01b031633146115a35760405162461bcd60e51b8152600401610c2d90613005565b80516115b690602290602084019061290f565b5050565b6001546001600160a01b031633146115e45760405162461bcd60e51b8152600401610c2d90613005565b600d80549115156101000261ff0019909216919091179055565b6001546001600160a01b031633146116285760405162461bcd60e51b8152600401610c2d90613005565b6001600160a01b039091166000908152600e6020526040902060010155565b6001546001600160a01b031633146116715760405162461bcd60e51b8152600401610c2d90613005565b6001600160a01b0382166000908152601e60209081526040808320849055600e90915281206001018054839290610e64908490613050565b6000818152600460205260408120546001600160a01b031680610b205760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610c2d565b6000600a83604051611732919061317e565b9081526020016040518091039020546001141561178a5760405162461bcd60e51b8152602060048201526016602482015275105b1c9958591e4812db9bdddb881d1a1a5cc813919560521b6044820152606401610c2d565b600d54610100900460ff16806117be5750600d5460ff1680156117be5750336000908152600e602052604090206001015415155b6118005760405162461bcd60e51b8152602060048201526013602482015272165bdd48185c99481b9bdd08185b1b1bddd959606a1b6044820152606401610c2d565b6017546009541061184b5760405162461bcd60e51b815260206004820152601560248201527413585e081cdd5c1c1b1e481a5cc81c995858da1959605a1b6044820152606401610c2d565b601054336000908152600f602052604090205411156118a35760405162461bcd60e51b8152602060048201526014602482015273596f752063616e6e6f74206d696e74206d6f726560601b6044820152606401610c2d565b336000908152600f60205260409020546118be906001613050565b336000908152600f6020908152604080832093909355601154601d90915291902054156118ea57506012545b336000908152601c60205260409020541561190457506013545b336000908152601e60205260409020541561191e57506014545b8034101561195e5760405162461bcd60e51b815260206004820152600d60248201526c496e76616c69642076616c756560981b6044820152606401610c2d565b600d5460ff1680156119785750600d54610100900460ff16155b156119a157336000908152600e6020526040812060010180549161199b8361319a565b91905055505b336000908152601d6020526040902054156119d757336000908152601d602052604081208054916119d18361319a565b91905055505b336000908152601c602052604090205415611a0d57336000908152601c60205260408120805491611a078361319a565b91905055505b336000908152601e602052604090205415611a4357336000908152601e60205260408120805491611a3d8361319a565b91905055505b6001600a85604051611a55919061317e565b90815260405190819003602001902055611a73600980546001019055565b6000611a7e60095490565b9050611a8a33826124e1565b611a948185612623565b604080516060810182528281523360208083019182528284018881526000868152600c8352949094208351815591516001830180546001600160a01b0319166001600160a01b039092169190911790559251805192939192611afc926002850192019061290f565b50919695505050505050565b6001546001600160a01b03163314611b325760405162461bcd60e51b8152600401610c2d90613005565b600d805460ff1916911515919091179055565b6001546001600160a01b03163314611b6f5760405162461bcd60e51b8152600401610c2d90613005565b6021546001600160a01b0382811691161415611b9d5760405162461bcd60e51b8152600401610c2d906131ee565b602180546001600160a01b0319166001600160a01b0392909216919091179055565b60228054610d8190612fca565b6001546001600160a01b03163314611bf65760405162461bcd60e51b8152600401610c2d90613005565b601754811415611c545760405162461bcd60e51b815260206004820152602360248201527f4e6577204d617820737570706c792063616e6e6f742062652073616d6520776960448201526203a34160ed1b6064820152608401610c2d565b601755565b60006001600160a01b038216611cc45760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610c2d565b506001600160a01b031660009081526005602052604090205490565b6001546001600160a01b03163314611d0a5760405162461bcd60e51b8152600401610c2d90613005565b611d1460006126bd565b565b8051825114611d375760405162461bcd60e51b8152600401610c2d90613104565b60005b8251811015610d6357611d8033848381518110611d5957611d59613168565b6020026020010151848481518110611d7357611d73613168565b60200260200101516114e4565b80611d8a816131b1565b915050611d3a565b606060038054610b3590612fca565b6115b633838361270f565b600c6020526000908152604090208054600182015460028301805492936001600160a01b0390921692611dde90612fca565b80601f0160208091040260200160405190810160405280929190818152602001828054611e0a90612fca565b8015611e575780601f10611e2c57610100808354040283529160200191611e57565b820191906000526020600020905b815481529060010190602001808311611e3a57829003601f168201915b5050505050905083565b6001546001600160a01b03163314611e8b5760405162461bcd60e51b8152600401610c2d90613005565b601055565b611e9a338361224a565b611eb65760405162461bcd60e51b8152600401610c2d90613068565b6112f5848484846127de565b60235460609060ff16151560011415611fce576000828152600c6020908152604080832081516060810183528154815260018201546001600160a01b0316938101939093526002810180549192840191611f1b90612fca565b80601f0160208091040260200160405190810160405280929190818152602001828054611f4790612fca565b8015611f945780601f10611f6957610100808354040283529160200191611f94565b820191906000526020600020905b815481529060010190602001808311611f7757829003601f168201915b505050505081525050905060228160400151604051602001611fb7929190613242565b604051602081830303815290604052915050919050565b60248054611fdb90612fca565b80601f016020809104026020016040519081016040528092919081815260200182805461200790612fca565b80156120545780601f1061202957610100808354040283529160200191612054565b820191906000526020600020905b81548152906001019060200180831161203757829003601f168201915b50505050509050919050565b919050565b6001546001600160a01b0316331461208f5760405162461bcd60e51b8152600401610c2d90613005565b6001600160a01b0382166000908152601c60209081526040808320849055600e90915281206001018054839290610e64908490613050565b6001546001600160a01b031633146120f15760405162461bcd60e51b8152600401610c2d90613005565b601f546001600160a01b038281169116141561211f5760405162461bcd60e51b8152600401610c2d906131ee565b601f80546001600160a01b0319166001600160a01b0392909216919091179055565b6001546001600160a01b0316331461216b5760405162461bcd60e51b8152600401610c2d90613005565b6001600160a01b0381166121d05760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610c2d565b6121d9816126bd565b50565b600081815260066020526040902080546001600160a01b0319166001600160a01b0384169081179091558190612211826116a9565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600460205260408120546001600160a01b03166122c35760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610c2d565b60006122ce836116a9565b9050806001600160a01b0316846001600160a01b031614806123095750836001600160a01b03166122fe84610bb8565b6001600160a01b0316145b8061233957506001600160a01b0380821660009081526007602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b0316612354826116a9565b6001600160a01b0316146123bc5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610c2d565b6001600160a01b03821661241e5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610c2d565b6124296000826121dc565b6001600160a01b03831660009081526005602052604081208054600192906124529084906132e0565b90915550506001600160a01b0382166000908152600560205260408120805460019290612480908490613050565b909155505060008181526004602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6001600160a01b0382166125375760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610c2d565b6000818152600460205260409020546001600160a01b03161561259c5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610c2d565b6001600160a01b03821660009081526005602052604081208054600192906125c5908490613050565b909155505060008181526004602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6000828152600460205260409020546001600160a01b031661269e5760405162461bcd60e51b815260206004820152602e60248201527f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60448201526d32bc34b9ba32b73a103a37b5b2b760911b6064820152608401610c2d565b60008281526008602090815260409091208251610d639284019061290f565b600180546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b031614156127715760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610c2d565b6001600160a01b03838116600081815260076020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6127e9848484612341565b6127f584848484612811565b6112f55760405162461bcd60e51b8152600401610c2d906132f7565b60006001600160a01b0384163b1561290457604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612855903390899088908890600401613349565b6020604051808303816000875af1925050508015612890575060408051601f3d908101601f1916820190925261288d91810190613386565b60015b6128ea573d8080156128be576040519150601f19603f3d011682016040523d82523d6000602084013e6128c3565b606091505b5080516128e25760405162461bcd60e51b8152600401610c2d906132f7565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050612339565b506001949350505050565b82805461291b90612fca565b90600052602060002090601f01602090048101928261293d5760008555612983565b82601f1061295657805160ff1916838001178555612983565b82800160010185558215612983579182015b82811115612983578251825591602001919060010190612968565b5061298f929150612993565b5090565b5b8082111561298f5760008155600101612994565b6001600160e01b0319811681146121d957600080fd5b6000602082840312156129d057600080fd5b81356129db816129a8565b9392505050565b60005b838110156129fd5781810151838201526020016129e5565b838111156112f55750506000910152565b60008151808452612a268160208601602086016129e2565b601f01601f19169290920160200192915050565b6020815260006129db6020830184612a0e565b600060208284031215612a5f57600080fd5b5035919050565b6001600160a01b03811681146121d957600080fd5b60008060408385031215612a8e57600080fd5b8235612a9981612a66565b946020939093013593505050565b600080600060608486031215612abc57600080fd5b8335612ac781612a66565b92506020840135612ad781612a66565b929592945050506040919091013590565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715612b2757612b27612ae8565b604052919050565b600067ffffffffffffffff831115612b4957612b49612ae8565b612b5c601f8401601f1916602001612afe565b9050828152838383011115612b7057600080fd5b828260208301376000602084830101529392505050565b600082601f830112612b9857600080fd5b6129db83833560208501612b2f565b60008060408385031215612bba57600080fd5b823567ffffffffffffffff80821115612bd257600080fd5b612bde86838701612b87565b93506020850135915080821115612bf457600080fd5b50612c0185828601612b87565b9150509250929050565b600060208284031215612c1d57600080fd5b81356129db81612a66565b600067ffffffffffffffff821115612c4257612c42612ae8565b5060051b60200190565b600082601f830112612c5d57600080fd5b81356020612c72612c6d83612c28565b612afe565b82815260059290921b84018101918181019086841115612c9157600080fd5b8286015b84811015612cd157803567ffffffffffffffff811115612cb55760008081fd5b612cc38986838b0101612b87565b845250918301918301612c95565b509695505050505050565b60008060408385031215612cef57600080fd5b823567ffffffffffffffff80821115612d0757600080fd5b612d1386838701612c4c565b93506020850135915080821115612d2957600080fd5b50612c0185828601612c4c565b600060208284031215612d4857600080fd5b813567ffffffffffffffff811115612d5f57600080fd5b61233984828501612b87565b8035801515811461206057600080fd5b600060208284031215612d8d57600080fd5b6129db82612d6b565b600082601f830112612da757600080fd5b81356020612db7612c6d83612c28565b82815260059290921b84018101918181019086841115612dd657600080fd5b8286015b84811015612cd15780358352918301918301612dda565b60008060408385031215612e0457600080fd5b823567ffffffffffffffff80821115612e1c57600080fd5b818501915085601f830112612e3057600080fd5b81356020612e40612c6d83612c28565b82815260059290921b84018101918181019089841115612e5f57600080fd5b948201945b83861015612e86578535612e7781612a66565b82529482019490820190612e64565b96505086013592505080821115612e9c57600080fd5b50612c0185828601612d96565b60008060408385031215612ebc57600080fd5b8235612ec781612a66565b9150612ed560208401612d6b565b90509250929050565b8381526001600160a01b0383166020820152606060408201819052600090612f0890830184612a0e565b95945050505050565b60008060008060808587031215612f2757600080fd5b8435612f3281612a66565b93506020850135612f4281612a66565b925060408501359150606085013567ffffffffffffffff811115612f6557600080fd5b8501601f81018713612f7657600080fd5b612f8587823560208401612b2f565b91505092959194509250565b60008060408385031215612fa457600080fd5b8235612faf81612a66565b91506020830135612fbf81612a66565b809150509250929050565b600181811c90821680612fde57607f821691505b60208210811415612fff57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b600082198211156130635761306361303a565b500190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b600081516130cb8185602086016129e2565b9290920192915050565b600083516130e78184602088016129e2565b8351908301906130fb8183602088016129e2565b01949350505050565b60208082526025908201527f426f746820617267756d656e7473206d757374206265206f662073616d65206c6040820152640cadccee8d60db1b606082015260800190565b60008160001904831182151516156131635761316361303a565b500290565b634e487b7160e01b600052603260045260246000fd5b600082516131908184602087016129e2565b9190910192915050565b6000816131a9576131a961303a565b506000190190565b60006000198214156131c5576131c561303a565b5060010190565b6000826131e957634e487b7160e01b600052601260045260246000fd5b500490565b60208082526034908201527f4e65772042656e6963696172792063616e6e6f742062652073616d6520776974604082015273682070726576696f75732042656e69636961727960601b606082015260800190565b600080845481600182811c91508083168061325e57607f831692505b602080841082141561327e57634e487b7160e01b86526022600452602486fd5b81801561329257600181146132a3576132d0565b60ff198616895284890196506132d0565b60008b81526020902060005b868110156132c85781548b8201529085019083016132af565b505084890196505b505050505050612f0881856130b9565b6000828210156132f2576132f261303a565b500390565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061337c90830184612a0e565b9695505050505050565b60006020828403121561339857600080fd5b81516129db816129a856fea2646970667358221220e01e63b64a553087d805ce19ebb5b61dc81e98b70eaf3e87b60797ebd6b6328664736f6c634300080a0033

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

000000000000000000000000ef047a921337712e801035570b4ec1aa90b6764f0000000000000000000000006453778675d00616b2d60be619e0fe6978db321d000000000000000000000000075a8946573c087f5da77b8850538f078de7beef0000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000001568747470733a2f2f697066732e696f2f697066732f0000000000000000000000

-----Decoded View---------------
Arg [0] : _benificiaryOne (address): 0xEF047a921337712E801035570b4EC1AA90b6764f
Arg [1] : _benificiaryTwo (address): 0x6453778675D00616b2D60Be619e0Fe6978dB321d
Arg [2] : _benificiaryThree (address): 0x075a8946573C087F5dA77B8850538f078De7Beef
Arg [3] : _baseURI (string): https://ipfs.io/ipfs/

-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 000000000000000000000000ef047a921337712e801035570b4ec1aa90b6764f
Arg [1] : 0000000000000000000000006453778675d00616b2d60be619e0fe6978db321d
Arg [2] : 000000000000000000000000075a8946573c087f5da77b8850538f078de7beef
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000015
Arg [5] : 68747470733a2f2f697066732e696f2f697066732f0000000000000000000000


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.