ETH Price: $3,669.46 (+0.81%)

Contract

0xB5Ec9f33C6bF939b849Fa4554E07122481afd592
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Add To Team List144212282022-03-20 4:59:52989 days ago1647752392IN
0xB5Ec9f33...481afd592
0 ETH0.0010864115.84042831
Add To Team List144212222022-03-20 4:58:41989 days ago1647752321IN
0xB5Ec9f33...481afd592
0 ETH0.0013317719.41790724
Add To Team List144212192022-03-20 4:58:17989 days ago1647752297IN
0xB5Ec9f33...481afd592
0 ETH0.0015046621.93869735
Add To Team List144212182022-03-20 4:57:35989 days ago1647752255IN
0xB5Ec9f33...481afd592
0 ETH0.0013499419.68622589
Add To Team List144212162022-03-20 4:57:26989 days ago1647752246IN
0xB5Ec9f33...481afd592
0 ETH0.0014287120.83133482
Add To Team List144212162022-03-20 4:57:26989 days ago1647752246IN
0xB5Ec9f33...481afd592
0 ETH0.0014287120.83133482
Add To Team List144212132022-03-20 4:56:13989 days ago1647752173IN
0xB5Ec9f33...481afd592
0 ETH0.0011981917.47321252
Add To Whitelist144212102022-03-20 4:55:38989 days ago1647752138IN
0xB5Ec9f33...481afd592
0 ETH0.0012268217.89308709
Add To Team List144211922022-03-20 4:50:24989 days ago1647751824IN
0xB5Ec9f33...481afd592
0 ETH0.0012165717.73815798
Add To Team List144211892022-03-20 4:49:49989 days ago1647751789IN
0xB5Ec9f33...481afd592
0 ETH0.0012945418.87833059
Add To Team List144211862022-03-20 4:48:52989 days ago1647751732IN
0xB5Ec9f33...481afd592
0 ETH0.0012524418.26117702
Add To Team List144211812022-03-20 4:47:35989 days ago1647751655IN
0xB5Ec9f33...481afd592
0 ETH0.0011742817.12466967
Add To Team List144211762022-03-20 4:46:43989 days ago1647751603IN
0xB5Ec9f33...481afd592
0 ETH0.0013558319.76870632
Add To Team List144211742022-03-20 4:46:05989 days ago1647751565IN
0xB5Ec9f33...481afd592
0 ETH0.0013532119.7305327
Add To Team List144211732022-03-20 4:46:00989 days ago1647751560IN
0xB5Ec9f33...481afd592
0 ETH0.0006632320.99855867
Add To Team List144211732022-03-20 4:46:00989 days ago1647751560IN
0xB5Ec9f33...481afd592
0 ETH0.0006629820.99855867
Add To Team List144211692022-03-20 4:44:40989 days ago1647751480IN
0xB5Ec9f33...481afd592
0 ETH0.0006000717.45171646
Add To Team List144211642022-03-20 4:43:38989 days ago1647751418IN
0xB5Ec9f33...481afd592
0 ETH0.0005585117.68299755
Add To Team List144211632022-03-20 4:43:35989 days ago1647751415IN
0xB5Ec9f33...481afd592
0 ETH0.0005828516.95087081
Add To Team List144211612022-03-20 4:42:49989 days ago1647751369IN
0xB5Ec9f33...481afd592
0 ETH0.0012692518.50624024
Add To Team List144211582022-03-20 4:42:23989 days ago1647751343IN
0xB5Ec9f33...481afd592
0 ETH0.0014067320.51083334
Add To Team List144197512022-03-19 23:17:01990 days ago1647731821IN
0xB5Ec9f33...481afd592
0 ETH0.0015374822.41718284
Add To Team List144196542022-03-19 22:54:37990 days ago1647730477IN
0xB5Ec9f33...481afd592
0 ETH0.0032933448.0268715
Add To Team List144196532022-03-19 22:54:28990 days ago1647730468IN
0xB5Ec9f33...481afd592
0 ETH0.0029359842.808036
Add To Team List144196502022-03-19 22:53:33990 days ago1647730413IN
0xB5Ec9f33...481afd592
0 ETH0.0030525444.50742424
View all transactions

Advanced mode:
Parent Transaction Hash Block From To
View All Internal Transactions
Loading...
Loading

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;
    uint256 public price = 0.15 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;
    
    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");

        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 tokenURI(uint256 _id)
        public
        view
        override
        returns (string memory)
    {
        NFT memory nft = NFTs[_id];
        return
            string(abi.encodePacked(baseURI, nft.tokenURI));
    }
    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));
    } 


}

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":"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":"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":[{"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":"_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":"_id","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"}]

6080604052600d805461ffff19169055670214e8348c4f0000600f556701aa535d3d0c000060105560006011819055601255600460138190556014556122b8601555612710601655610f2d60178190556018556108b66019553480156200006557600080fd5b506040516200357d3803806200357d8339810160408190526200008891620002a2565b604080518082018252601881527f4261627920417065205072696d652045766f6c7574696f6e00000000000000006020808301919091528251808401909352600983526828422e412e502e452960b81b90830152600160005590620000ed3362000177565b815162000102906002906020850190620001c9565b50805162000118906003906020840190620001c9565b5050601d80546001600160a01b038088166001600160a01b031992831617909255601e8054878416908316179055601f8054928616929091169190911790555080516200016c9060209081840190620001c9565b5050505050620003f4565b600180546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b828054620001d790620003b7565b90600052602060002090601f016020900481019282620001fb576000855562000246565b82601f106200021657805160ff191683800117855562000246565b8280016001018555821562000246579182015b828111156200024657825182559160200191906001019062000229565b506200025492915062000258565b5090565b5b8082111562000254576000815560010162000259565b80516001600160a01b03811681146200028757600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b60008060008060808587031215620002b957600080fd5b620002c4856200026f565b93506020620002d58187016200026f565b9350620002e5604087016200026f565b60608701519093506001600160401b03808211156200030357600080fd5b818801915088601f8301126200031857600080fd5b8151818111156200032d576200032d6200028c565b604051601f8201601f19908116603f011681019083821181831017156200035857620003586200028c565b816040528281528b868487010111156200037157600080fd5b600093505b8284101562000395578484018601518185018701529285019262000376565b82841115620003a75760008684830101525b989b979a50959850505050505050565b600181811c90821680620003cc57607f821691505b60208210811415620003ee57634e487b7160e01b600052602260045260246000fd5b50919050565b61317980620004046000396000f3fe60806040526004361061031a5760003560e01c806368613d17116101ab578063a035b1fe116100f7578063d5abeb0111610095578063ec243bf81161006f578063ec243bf81461097d578063f22cf7fc1461099d578063f2fde38b146109b3578063f4ef9117146109d357600080fd5b8063d5abeb01146108fe578063e4c4834914610914578063e985e9c51461093457600080fd5b8063abe99145116100d1578063abe991451461083d578063b88d4fde146108a8578063c46881e3146108c8578063c87b56dd146108de57600080fd5b8063a035b1fe146107d8578063a22cb465146107ee578063a3c0b95b1461080e57600080fd5b8063715018a6116101645780638da5cb5b1161013e5780638da5cb5b1461076257806395d89b41146107805780639a2d1dc1146107955780639b19251a146107ab57600080fd5b8063715018a6146107175780638469eb471461072c57806388d695b21461074257600080fd5b806368613d171461066f57806368c2d400146106825780636ad56457146106a25780636c0360eb146106c25780636f8b44b0146106d757806370a08231146106f757600080fd5b806330bc47531161026a5780635aca1bb61161022357806362673ec7116101fd57806362673ec7146105d757806362f5d771146105f75780636352211e14610617578063685e0dc71461063757600080fd5b80635aca1bb614610587578063609d707b146105a757806360d938dc146105bd57600080fd5b806330bc4753146104d25780633ccfd60b146104e557806342842e0e146104fa5780634b26699b1461051a57806350070eea1461054757806355f804b31461056757600080fd5b80630bb78ec1116102d7578063214405fc116102b1578063214405fc1461045c57806323b872dd1461047c578063266001d31461049c5780632bc7a2ee146104bc57600080fd5b80630bb78ec11461041357806312065fe0146104335780631a7196911461044657600080fd5b806301ffc9a71461031f578063024435041461035457806306fdde0314610378578063081812fc1461039a5780630900c5d4146103d2578063095ea7b3146103f1575b600080fd5b34801561032b57600080fd5b5061033f61033a366004612759565b610a00565b60405190151581526020015b60405180910390f35b34801561036057600080fd5b5061036a60105481565b60405190815260200161034b565b34801561038457600080fd5b5061038d610a52565b60405161034b91906127d5565b3480156103a657600080fd5b506103ba6103b53660046127e8565b610ae4565b6040516001600160a01b03909116815260200161034b565b3480156103de57600080fd5b50600d5461033f90610100900460ff1681565b3480156103fd57600080fd5b5061041161040c366004612816565b610b7e565b005b34801561041f57600080fd5b5061038d61042e3660046127e8565b610c94565b34801561043f57600080fd5b504761036a565b34801561045257600080fd5b5061036a60115481565b34801561046857600080fd5b50610411610477366004612816565b610d2e565b34801561048857600080fd5b50610411610497366004612842565b610d99565b3480156104a857600080fd5b5061038d6104b7366004612942565b610dca565b3480156104c857600080fd5b5061036a60135481565b6104116104e0366004612a5a565b610df6565b3480156104f157600080fd5b50610411611227565b34801561050657600080fd5b50610411610515366004612842565b6113d7565b34801561052657600080fd5b5061036a610535366004612ab4565b601c6020526000908152604090205481565b34801561055357600080fd5b50610411610562366004612ab4565b6113f2565b34801561057357600080fd5b50610411610582366004612ad1565b61146c565b34801561059357600080fd5b506104116105a2366004612b1b565b6114ac565b3480156105b357600080fd5b5061036a60125481565b3480156105c957600080fd5b50600d5461033f9060ff1681565b3480156105e357600080fd5b506104116105f2366004612816565b6114f0565b34801561060357600080fd5b50610411610612366004612816565b611539565b34801561062357600080fd5b506103ba6106323660046127e8565b61159b565b34801561064357600080fd5b5061036a610652366004612ad1565b8051602081830181018051600a8252928201919093012091525481565b61036a61067d366004612942565b611612565b34801561068e57600080fd5b5061041161069d366004612b1b565b611978565b3480156106ae57600080fd5b506104116106bd366004612ab4565b6119b5565b3480156106ce57600080fd5b5061038d611a2f565b3480156106e357600080fd5b506104116106f23660046127e8565b611a3c565b34801561070357600080fd5b5061036a610712366004612ab4565b611ac9565b34801561072357600080fd5b50610411611b50565b34801561073857600080fd5b5061036a60185481565b34801561074e57600080fd5b5061041161075d366004612b91565b611b86565b34801561076e57600080fd5b506001546001600160a01b03166103ba565b34801561078c57600080fd5b5061038d611c02565b3480156107a157600080fd5b5061036a60145481565b3480156107b757600080fd5b5061036a6107c6366004612ab4565b601b6020526000908152604090205481565b3480156107e457600080fd5b5061036a600f5481565b3480156107fa57600080fd5b50610411610809366004612c49565b611c11565b34801561081a57600080fd5b5061082e6108293660046127e8565b611c1c565b60405161034b93929190612c7e565b34801561084957600080fd5b50610883610858366004612ab4565b600e602052600090815260409020805460018201546002909201546001600160a01b03909116919083565b604080516001600160a01b03909416845260208401929092529082015260600161034b565b3480156108b457600080fd5b506104116108c3366004612cb1565b611cd1565b3480156108d457600080fd5b5061036a60195481565b3480156108ea57600080fd5b5061038d6108f93660046127e8565b611d03565b34801561090a57600080fd5b5061036a60155481565b34801561092057600080fd5b5061041161092f366004612816565b611e00565b34801561094057600080fd5b5061033f61094f366004612d31565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561098957600080fd5b50610411610998366004612ab4565b611e62565b3480156109a957600080fd5b5061036a60175481565b3480156109bf57600080fd5b506104116109ce366004612ab4565b611edc565b3480156109df57600080fd5b5061036a6109ee366004612ab4565b601a6020526000908152604090205481565b60006001600160e01b031982166380ac58cd60e01b1480610a3157506001600160e01b03198216635b5e139f60e01b145b80610a4c57506301ffc9a760e01b6001600160e01b03198316145b92915050565b606060028054610a6190612d6a565b80601f0160208091040260200160405190810160405280929190818152602001828054610a8d90612d6a565b8015610ada5780601f10610aaf57610100808354040283529160200191610ada565b820191906000526020600020905b815481529060010190602001808311610abd57829003601f168201915b5050505050905090565b6000818152600460205260408120546001600160a01b0316610b625760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6000610b898261159b565b9050806001600160a01b0316836001600160a01b03161415610bf75760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610b59565b336001600160a01b0382161480610c135750610c13813361094f565b610c855760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610b59565b610c8f8383611f77565b505050565b600b6020526000908152604090208054610cad90612d6a565b80601f0160208091040260200160405190810160405280929190818152602001828054610cd990612d6a565b8015610d265780601f10610cfb57610100808354040283529160200191610d26565b820191906000526020600020905b815481529060010190602001808311610d0957829003601f168201915b505050505081565b6001546001600160a01b03163314610d585760405162461bcd60e51b8152600401610b5990612da5565b6001600160a01b0382166000908152601b60209081526040808320849055600e90915281206001018054839290610d90908490612df0565b90915550505050565b610da33382611fe5565b610dbf5760405162461bcd60e51b8152600401610b5990612e08565b610c8f8383836120dc565b60608282604051602001610ddf929190612e75565b604051602081830303815290604052905092915050565b8051825114610e175760405162461bcd60e51b8152600401610b5990612ea4565b600d54610100900460ff1680610e4b5750600d5460ff168015610e4b5750336000908152600e602052604090206001015415155b610e8d5760405162461bcd60e51b8152602060048201526013602482015272165bdd48185c99481b9bdd08185b1b1bddd959606a1b6044820152606401610b59565b6015548251600954610e9f9190612df0565b10610ee25760405162461bcd60e51b815260206004820152601360248201527213585e081cdd5c1c1b1e48195e18d959591959606a1b6044820152606401610b59565b600f54336000908152601b602052604090205415610eff57506010545b336000908152601a602052604090205415610f1957506011545b336000908152601c602052604090205415610f3357506012545b8251610f3f9082612ee9565b905080341015610f815760405162461bcd60e51b815260206004820152600d60248201526c496e76616c69642076616c756560981b6044820152606401610b59565b60005b835181101561122157600a848281518110610fa157610fa1612f08565b6020026020010151604051610fb69190612f1e565b9081526020016040518091039020546001141561100e5760405162461bcd60e51b8152602060048201526016602482015275105b1c9958591e4812db9bdddb881d1a1a5cc813919560521b6044820152606401610b59565b600d5460ff1680156110285750600d54610100900460ff16155b1561105157336000908152600e6020526040812060010180549161104b83612f3a565b91905055505b336000908152601b60205260409020541561108757336000908152601b6020526040812080549161108183612f3a565b91905055505b336000908152601a6020526040902054156110bd57336000908152601a602052604081208054916110b783612f3a565b91905055505b336000908152601c6020526040902054156110f357336000908152601c602052604081208054916110ed83612f3a565b91905055505b6001600a85838151811061110957611109612f08565b602002602001015160405161111e9190612f1e565b9081526040519081900360200190205561113c600980546001019055565b600061114760095490565b9050611153338261227c565b6111768185848151811061116957611169612f08565b60200260200101516123be565b6040518060600160405280828152602001336001600160a01b031681526020018584815181106111a8576111a8612f08565b6020908102919091018101519091526000838152600c825260409081902083518155838301516001820180546001600160a01b0319166001600160a01b039092169190911790559083015180519192611209926002850192909101906126aa565b5090505050808061121990612f51565b915050610f84565b50505050565b601d546001600160a01b031633148061124a5750601e546001600160a01b031633145b8061125f5750601f546001600160a01b031633145b6112c25760405162461bcd60e51b815260206004820152602e60248201527f4f6e6c792062656e696669636961726965732061726520616c6c6f776564206660448201526d1bdc881d1a1a5cc81b595d1a1bd960921b6064820152608401610b59565b60165460175447916000916112d79084612ee9565b6112e19190612f6c565b90506000601654601854846112f69190612ee9565b6113009190612f6c565b90506000601654601954856113159190612ee9565b61131f9190612f6c565b601d546040519192506001600160a01b03169084156108fc029085906000818181858888f1935050505015801561135a573d6000803e3d6000fd5b50601e546040516001600160a01b039091169083156108fc029084906000818181858888f19350505050158015611395573d6000803e3d6000fd5b50601f546040516001600160a01b039091169082156108fc029083906000818181858888f193505050501580156113d0573d6000803e3d6000fd5b5050505050565b610c8f83838360405180602001604052806000815250611cd1565b6001546001600160a01b0316331461141c5760405162461bcd60e51b8152600401610b5990612da5565b601e546001600160a01b038281169116141561144a5760405162461bcd60e51b8152600401610b5990612f8e565b601e80546001600160a01b0319166001600160a01b0392909216919091179055565b6001546001600160a01b031633146114965760405162461bcd60e51b8152600401610b5990612da5565b80516114a890602090818401906126aa565b5050565b6001546001600160a01b031633146114d65760405162461bcd60e51b8152600401610b5990612da5565b600d80549115156101000261ff0019909216919091179055565b6001546001600160a01b0316331461151a5760405162461bcd60e51b8152600401610b5990612da5565b6001600160a01b039091166000908152600e6020526040902060010155565b6001546001600160a01b031633146115635760405162461bcd60e51b8152600401610b5990612da5565b6001600160a01b0382166000908152601c60209081526040808320849055600e90915281206001018054839290610d90908490612df0565b6000818152600460205260408120546001600160a01b031680610a4c5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610b59565b6000600a836040516116249190612f1e565b9081526020016040518091039020546001141561167c5760405162461bcd60e51b8152602060048201526016602482015275105b1c9958591e4812db9bdddb881d1a1a5cc813919560521b6044820152606401610b59565b600d54610100900460ff16806116b05750600d5460ff1680156116b05750336000908152600e602052604090206001015415155b6116f25760405162461bcd60e51b8152602060048201526013602482015272165bdd48185c99481b9bdd08185b1b1bddd959606a1b6044820152606401610b59565b6015546009541061173d5760405162461bcd60e51b815260206004820152601560248201527413585e081cdd5c1c1b1e481a5cc81c995858da1959605a1b6044820152606401610b59565b600f54336000908152601b60205260409020541561175a57506010545b336000908152601a60205260409020541561177457506011545b336000908152601c60205260409020541561178e57506012545b803410156117ce5760405162461bcd60e51b815260206004820152600d60248201526c496e76616c69642076616c756560981b6044820152606401610b59565b600d5460ff1680156117e85750600d54610100900460ff16155b1561181157336000908152600e6020526040812060010180549161180b83612f3a565b91905055505b336000908152601b60205260409020541561184757336000908152601b6020526040812080549161184183612f3a565b91905055505b336000908152601a60205260409020541561187d57336000908152601a6020526040812080549161187783612f3a565b91905055505b336000908152601c6020526040902054156118b357336000908152601c602052604081208054916118ad83612f3a565b91905055505b6001600a856040516118c59190612f1e565b908152604051908190036020019020556118e3600980546001019055565b60006118ee60095490565b90506118fa338261227c565b61190481856123be565b604080516060810182528281523360208083019182528284018881526000868152600c8352949094208351815591516001830180546001600160a01b0319166001600160a01b03909216919091179055925180519293919261196c92600285019201906126aa565b50919695505050505050565b6001546001600160a01b031633146119a25760405162461bcd60e51b8152600401610b5990612da5565b600d805460ff1916911515919091179055565b6001546001600160a01b031633146119df5760405162461bcd60e51b8152600401610b5990612da5565b601f546001600160a01b0382811691161415611a0d5760405162461bcd60e51b8152600401610b5990612f8e565b601f80546001600160a01b0319166001600160a01b0392909216919091179055565b60208054610cad90612d6a565b6001546001600160a01b03163314611a665760405162461bcd60e51b8152600401610b5990612da5565b601554811415611ac45760405162461bcd60e51b815260206004820152602360248201527f4e6577204d617820737570706c792063616e6e6f742062652073616d6520776960448201526203a34160ed1b6064820152608401610b59565b601555565b60006001600160a01b038216611b345760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610b59565b506001600160a01b031660009081526005602052604090205490565b6001546001600160a01b03163314611b7a5760405162461bcd60e51b8152600401610b5990612da5565b611b846000612458565b565b8051825114611ba75760405162461bcd60e51b8152600401610b5990612ea4565b60005b8251811015610c8f57611bf033848381518110611bc957611bc9612f08565b6020026020010151848481518110611be357611be3612f08565b60200260200101516113d7565b80611bfa81612f51565b915050611baa565b606060038054610a6190612d6a565b6114a83383836124aa565b600c6020526000908152604090208054600182015460028301805492936001600160a01b0390921692611c4e90612d6a565b80601f0160208091040260200160405190810160405280929190818152602001828054611c7a90612d6a565b8015611cc75780601f10611c9c57610100808354040283529160200191611cc7565b820191906000526020600020905b815481529060010190602001808311611caa57829003601f168201915b5050505050905083565b611cdb3383611fe5565b611cf75760405162461bcd60e51b8152600401610b5990612e08565b61122184848484612579565b6000818152600c602090815260408083208151606081810184528254825260018301546001600160a01b0316948201949094526002820180549495949193840191611d4d90612d6a565b80601f0160208091040260200160405190810160405280929190818152602001828054611d7990612d6a565b8015611dc65780601f10611d9b57610100808354040283529160200191611dc6565b820191906000526020600020905b815481529060010190602001808311611da957829003601f168201915b505050505081525050905060208160400151604051602001611de9929190612fe2565b604051602081830303815290604052915050919050565b6001546001600160a01b03163314611e2a5760405162461bcd60e51b8152600401610b5990612da5565b6001600160a01b0382166000908152601a60209081526040808320849055600e90915281206001018054839290610d90908490612df0565b6001546001600160a01b03163314611e8c5760405162461bcd60e51b8152600401610b5990612da5565b601d546001600160a01b0382811691161415611eba5760405162461bcd60e51b8152600401610b5990612f8e565b601d80546001600160a01b0319166001600160a01b0392909216919091179055565b6001546001600160a01b03163314611f065760405162461bcd60e51b8152600401610b5990612da5565b6001600160a01b038116611f6b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610b59565b611f7481612458565b50565b600081815260066020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611fac8261159b565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600460205260408120546001600160a01b031661205e5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610b59565b60006120698361159b565b9050806001600160a01b0316846001600160a01b031614806120a45750836001600160a01b031661209984610ae4565b6001600160a01b0316145b806120d457506001600160a01b0380821660009081526007602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b03166120ef8261159b565b6001600160a01b0316146121575760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610b59565b6001600160a01b0382166121b95760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610b59565b6121c4600082611f77565b6001600160a01b03831660009081526005602052604081208054600192906121ed908490613080565b90915550506001600160a01b038216600090815260056020526040812080546001929061221b908490612df0565b909155505060008181526004602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6001600160a01b0382166122d25760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610b59565b6000818152600460205260409020546001600160a01b0316156123375760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610b59565b6001600160a01b0382166000908152600560205260408120805460019290612360908490612df0565b909155505060008181526004602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6000828152600460205260409020546001600160a01b03166124395760405162461bcd60e51b815260206004820152602e60248201527f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60448201526d32bc34b9ba32b73a103a37b5b2b760911b6064820152608401610b59565b60008281526008602090815260409091208251610c8f928401906126aa565b600180546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b0316141561250c5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610b59565b6001600160a01b03838116600081815260076020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6125848484846120dc565b612590848484846125ac565b6112215760405162461bcd60e51b8152600401610b5990613097565b60006001600160a01b0384163b1561269f57604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906125f09033908990889088906004016130e9565b6020604051808303816000875af192505050801561262b575060408051601f3d908101601f1916820190925261262891810190613126565b60015b612685573d808015612659576040519150601f19603f3d011682016040523d82523d6000602084013e61265e565b606091505b50805161267d5760405162461bcd60e51b8152600401610b5990613097565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506120d4565b506001949350505050565b8280546126b690612d6a565b90600052602060002090601f0160209004810192826126d8576000855561271e565b82601f106126f157805160ff191683800117855561271e565b8280016001018555821561271e579182015b8281111561271e578251825591602001919060010190612703565b5061272a92915061272e565b5090565b5b8082111561272a576000815560010161272f565b6001600160e01b031981168114611f7457600080fd5b60006020828403121561276b57600080fd5b813561277681612743565b9392505050565b60005b83811015612798578181015183820152602001612780565b838111156112215750506000910152565b600081518084526127c181602086016020860161277d565b601f01601f19169290920160200192915050565b60208152600061277660208301846127a9565b6000602082840312156127fa57600080fd5b5035919050565b6001600160a01b0381168114611f7457600080fd5b6000806040838503121561282957600080fd5b823561283481612801565b946020939093013593505050565b60008060006060848603121561285757600080fd5b833561286281612801565b9250602084013561287281612801565b929592945050506040919091013590565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff811182821017156128c2576128c2612883565b604052919050565b600067ffffffffffffffff8311156128e4576128e4612883565b6128f7601f8401601f1916602001612899565b905082815283838301111561290b57600080fd5b828260208301376000602084830101529392505050565b600082601f83011261293357600080fd5b612776838335602085016128ca565b6000806040838503121561295557600080fd5b823567ffffffffffffffff8082111561296d57600080fd5b61297986838701612922565b9350602085013591508082111561298f57600080fd5b5061299c85828601612922565b9150509250929050565b600067ffffffffffffffff8211156129c0576129c0612883565b5060051b60200190565b600082601f8301126129db57600080fd5b813560206129f06129eb836129a6565b612899565b82815260059290921b84018101918181019086841115612a0f57600080fd5b8286015b84811015612a4f57803567ffffffffffffffff811115612a335760008081fd5b612a418986838b0101612922565b845250918301918301612a13565b509695505050505050565b60008060408385031215612a6d57600080fd5b823567ffffffffffffffff80821115612a8557600080fd5b612a91868387016129ca565b93506020850135915080821115612aa757600080fd5b5061299c858286016129ca565b600060208284031215612ac657600080fd5b813561277681612801565b600060208284031215612ae357600080fd5b813567ffffffffffffffff811115612afa57600080fd5b6120d484828501612922565b80358015158114612b1657600080fd5b919050565b600060208284031215612b2d57600080fd5b61277682612b06565b600082601f830112612b4757600080fd5b81356020612b576129eb836129a6565b82815260059290921b84018101918181019086841115612b7657600080fd5b8286015b84811015612a4f5780358352918301918301612b7a565b60008060408385031215612ba457600080fd5b823567ffffffffffffffff80821115612bbc57600080fd5b818501915085601f830112612bd057600080fd5b81356020612be06129eb836129a6565b82815260059290921b84018101918181019089841115612bff57600080fd5b948201945b83861015612c26578535612c1781612801565b82529482019490820190612c04565b96505086013592505080821115612c3c57600080fd5b5061299c85828601612b36565b60008060408385031215612c5c57600080fd5b8235612c6781612801565b9150612c7560208401612b06565b90509250929050565b8381526001600160a01b0383166020820152606060408201819052600090612ca8908301846127a9565b95945050505050565b60008060008060808587031215612cc757600080fd5b8435612cd281612801565b93506020850135612ce281612801565b925060408501359150606085013567ffffffffffffffff811115612d0557600080fd5b8501601f81018713612d1657600080fd5b612d25878235602084016128ca565b91505092959194509250565b60008060408385031215612d4457600080fd5b8235612d4f81612801565b91506020830135612d5f81612801565b809150509250929050565b600181811c90821680612d7e57607f821691505b60208210811415612d9f57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b60008219821115612e0357612e03612dda565b500190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b60008151612e6b81856020860161277d565b9290920192915050565b60008351612e8781846020880161277d565b835190830190612e9b81836020880161277d565b01949350505050565b60208082526025908201527f426f746820617267756d656e7473206d757374206265206f662073616d65206c6040820152640cadccee8d60db1b606082015260800190565b6000816000190483118215151615612f0357612f03612dda565b500290565b634e487b7160e01b600052603260045260246000fd5b60008251612f3081846020870161277d565b9190910192915050565b600081612f4957612f49612dda565b506000190190565b6000600019821415612f6557612f65612dda565b5060010190565b600082612f8957634e487b7160e01b600052601260045260246000fd5b500490565b60208082526034908201527f4e65772042656e6963696172792063616e6e6f742062652073616d6520776974604082015273682070726576696f75732042656e69636961727960601b606082015260800190565b600080845481600182811c915080831680612ffe57607f831692505b602080841082141561301e57634e487b7160e01b86526022600452602486fd5b818015613032576001811461304357613070565b60ff19861689528489019650613070565b60008b81526020902060005b868110156130685781548b82015290850190830161304f565b505084890196505b505050505050612ca88185612e59565b60008282101561309257613092612dda565b500390565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061311c908301846127a9565b9695505050505050565b60006020828403121561313857600080fd5b81516127768161274356fea26469706673582212206adccd3d421c5f5f83306df260bd92899b9eeadc4cdd15eb8b2797875647300664736f6c634300080a0033000000000000000000000000ef047a921337712e801035570b4ec1aa90b6764f0000000000000000000000006453778675d00616b2d60be619e0fe6978db321d000000000000000000000000075a8946573c087f5da77b8850538f078de7beef0000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000001568747470733a2f2f697066732e696f2f697066732f0000000000000000000000

Deployed Bytecode

0x60806040526004361061031a5760003560e01c806368613d17116101ab578063a035b1fe116100f7578063d5abeb0111610095578063ec243bf81161006f578063ec243bf81461097d578063f22cf7fc1461099d578063f2fde38b146109b3578063f4ef9117146109d357600080fd5b8063d5abeb01146108fe578063e4c4834914610914578063e985e9c51461093457600080fd5b8063abe99145116100d1578063abe991451461083d578063b88d4fde146108a8578063c46881e3146108c8578063c87b56dd146108de57600080fd5b8063a035b1fe146107d8578063a22cb465146107ee578063a3c0b95b1461080e57600080fd5b8063715018a6116101645780638da5cb5b1161013e5780638da5cb5b1461076257806395d89b41146107805780639a2d1dc1146107955780639b19251a146107ab57600080fd5b8063715018a6146107175780638469eb471461072c57806388d695b21461074257600080fd5b806368613d171461066f57806368c2d400146106825780636ad56457146106a25780636c0360eb146106c25780636f8b44b0146106d757806370a08231146106f757600080fd5b806330bc47531161026a5780635aca1bb61161022357806362673ec7116101fd57806362673ec7146105d757806362f5d771146105f75780636352211e14610617578063685e0dc71461063757600080fd5b80635aca1bb614610587578063609d707b146105a757806360d938dc146105bd57600080fd5b806330bc4753146104d25780633ccfd60b146104e557806342842e0e146104fa5780634b26699b1461051a57806350070eea1461054757806355f804b31461056757600080fd5b80630bb78ec1116102d7578063214405fc116102b1578063214405fc1461045c57806323b872dd1461047c578063266001d31461049c5780632bc7a2ee146104bc57600080fd5b80630bb78ec11461041357806312065fe0146104335780631a7196911461044657600080fd5b806301ffc9a71461031f578063024435041461035457806306fdde0314610378578063081812fc1461039a5780630900c5d4146103d2578063095ea7b3146103f1575b600080fd5b34801561032b57600080fd5b5061033f61033a366004612759565b610a00565b60405190151581526020015b60405180910390f35b34801561036057600080fd5b5061036a60105481565b60405190815260200161034b565b34801561038457600080fd5b5061038d610a52565b60405161034b91906127d5565b3480156103a657600080fd5b506103ba6103b53660046127e8565b610ae4565b6040516001600160a01b03909116815260200161034b565b3480156103de57600080fd5b50600d5461033f90610100900460ff1681565b3480156103fd57600080fd5b5061041161040c366004612816565b610b7e565b005b34801561041f57600080fd5b5061038d61042e3660046127e8565b610c94565b34801561043f57600080fd5b504761036a565b34801561045257600080fd5b5061036a60115481565b34801561046857600080fd5b50610411610477366004612816565b610d2e565b34801561048857600080fd5b50610411610497366004612842565b610d99565b3480156104a857600080fd5b5061038d6104b7366004612942565b610dca565b3480156104c857600080fd5b5061036a60135481565b6104116104e0366004612a5a565b610df6565b3480156104f157600080fd5b50610411611227565b34801561050657600080fd5b50610411610515366004612842565b6113d7565b34801561052657600080fd5b5061036a610535366004612ab4565b601c6020526000908152604090205481565b34801561055357600080fd5b50610411610562366004612ab4565b6113f2565b34801561057357600080fd5b50610411610582366004612ad1565b61146c565b34801561059357600080fd5b506104116105a2366004612b1b565b6114ac565b3480156105b357600080fd5b5061036a60125481565b3480156105c957600080fd5b50600d5461033f9060ff1681565b3480156105e357600080fd5b506104116105f2366004612816565b6114f0565b34801561060357600080fd5b50610411610612366004612816565b611539565b34801561062357600080fd5b506103ba6106323660046127e8565b61159b565b34801561064357600080fd5b5061036a610652366004612ad1565b8051602081830181018051600a8252928201919093012091525481565b61036a61067d366004612942565b611612565b34801561068e57600080fd5b5061041161069d366004612b1b565b611978565b3480156106ae57600080fd5b506104116106bd366004612ab4565b6119b5565b3480156106ce57600080fd5b5061038d611a2f565b3480156106e357600080fd5b506104116106f23660046127e8565b611a3c565b34801561070357600080fd5b5061036a610712366004612ab4565b611ac9565b34801561072357600080fd5b50610411611b50565b34801561073857600080fd5b5061036a60185481565b34801561074e57600080fd5b5061041161075d366004612b91565b611b86565b34801561076e57600080fd5b506001546001600160a01b03166103ba565b34801561078c57600080fd5b5061038d611c02565b3480156107a157600080fd5b5061036a60145481565b3480156107b757600080fd5b5061036a6107c6366004612ab4565b601b6020526000908152604090205481565b3480156107e457600080fd5b5061036a600f5481565b3480156107fa57600080fd5b50610411610809366004612c49565b611c11565b34801561081a57600080fd5b5061082e6108293660046127e8565b611c1c565b60405161034b93929190612c7e565b34801561084957600080fd5b50610883610858366004612ab4565b600e602052600090815260409020805460018201546002909201546001600160a01b03909116919083565b604080516001600160a01b03909416845260208401929092529082015260600161034b565b3480156108b457600080fd5b506104116108c3366004612cb1565b611cd1565b3480156108d457600080fd5b5061036a60195481565b3480156108ea57600080fd5b5061038d6108f93660046127e8565b611d03565b34801561090a57600080fd5b5061036a60155481565b34801561092057600080fd5b5061041161092f366004612816565b611e00565b34801561094057600080fd5b5061033f61094f366004612d31565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561098957600080fd5b50610411610998366004612ab4565b611e62565b3480156109a957600080fd5b5061036a60175481565b3480156109bf57600080fd5b506104116109ce366004612ab4565b611edc565b3480156109df57600080fd5b5061036a6109ee366004612ab4565b601a6020526000908152604090205481565b60006001600160e01b031982166380ac58cd60e01b1480610a3157506001600160e01b03198216635b5e139f60e01b145b80610a4c57506301ffc9a760e01b6001600160e01b03198316145b92915050565b606060028054610a6190612d6a565b80601f0160208091040260200160405190810160405280929190818152602001828054610a8d90612d6a565b8015610ada5780601f10610aaf57610100808354040283529160200191610ada565b820191906000526020600020905b815481529060010190602001808311610abd57829003601f168201915b5050505050905090565b6000818152600460205260408120546001600160a01b0316610b625760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6000610b898261159b565b9050806001600160a01b0316836001600160a01b03161415610bf75760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610b59565b336001600160a01b0382161480610c135750610c13813361094f565b610c855760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610b59565b610c8f8383611f77565b505050565b600b6020526000908152604090208054610cad90612d6a565b80601f0160208091040260200160405190810160405280929190818152602001828054610cd990612d6a565b8015610d265780601f10610cfb57610100808354040283529160200191610d26565b820191906000526020600020905b815481529060010190602001808311610d0957829003601f168201915b505050505081565b6001546001600160a01b03163314610d585760405162461bcd60e51b8152600401610b5990612da5565b6001600160a01b0382166000908152601b60209081526040808320849055600e90915281206001018054839290610d90908490612df0565b90915550505050565b610da33382611fe5565b610dbf5760405162461bcd60e51b8152600401610b5990612e08565b610c8f8383836120dc565b60608282604051602001610ddf929190612e75565b604051602081830303815290604052905092915050565b8051825114610e175760405162461bcd60e51b8152600401610b5990612ea4565b600d54610100900460ff1680610e4b5750600d5460ff168015610e4b5750336000908152600e602052604090206001015415155b610e8d5760405162461bcd60e51b8152602060048201526013602482015272165bdd48185c99481b9bdd08185b1b1bddd959606a1b6044820152606401610b59565b6015548251600954610e9f9190612df0565b10610ee25760405162461bcd60e51b815260206004820152601360248201527213585e081cdd5c1c1b1e48195e18d959591959606a1b6044820152606401610b59565b600f54336000908152601b602052604090205415610eff57506010545b336000908152601a602052604090205415610f1957506011545b336000908152601c602052604090205415610f3357506012545b8251610f3f9082612ee9565b905080341015610f815760405162461bcd60e51b815260206004820152600d60248201526c496e76616c69642076616c756560981b6044820152606401610b59565b60005b835181101561122157600a848281518110610fa157610fa1612f08565b6020026020010151604051610fb69190612f1e565b9081526020016040518091039020546001141561100e5760405162461bcd60e51b8152602060048201526016602482015275105b1c9958591e4812db9bdddb881d1a1a5cc813919560521b6044820152606401610b59565b600d5460ff1680156110285750600d54610100900460ff16155b1561105157336000908152600e6020526040812060010180549161104b83612f3a565b91905055505b336000908152601b60205260409020541561108757336000908152601b6020526040812080549161108183612f3a565b91905055505b336000908152601a6020526040902054156110bd57336000908152601a602052604081208054916110b783612f3a565b91905055505b336000908152601c6020526040902054156110f357336000908152601c602052604081208054916110ed83612f3a565b91905055505b6001600a85838151811061110957611109612f08565b602002602001015160405161111e9190612f1e565b9081526040519081900360200190205561113c600980546001019055565b600061114760095490565b9050611153338261227c565b6111768185848151811061116957611169612f08565b60200260200101516123be565b6040518060600160405280828152602001336001600160a01b031681526020018584815181106111a8576111a8612f08565b6020908102919091018101519091526000838152600c825260409081902083518155838301516001820180546001600160a01b0319166001600160a01b039092169190911790559083015180519192611209926002850192909101906126aa565b5090505050808061121990612f51565b915050610f84565b50505050565b601d546001600160a01b031633148061124a5750601e546001600160a01b031633145b8061125f5750601f546001600160a01b031633145b6112c25760405162461bcd60e51b815260206004820152602e60248201527f4f6e6c792062656e696669636961726965732061726520616c6c6f776564206660448201526d1bdc881d1a1a5cc81b595d1a1bd960921b6064820152608401610b59565b60165460175447916000916112d79084612ee9565b6112e19190612f6c565b90506000601654601854846112f69190612ee9565b6113009190612f6c565b90506000601654601954856113159190612ee9565b61131f9190612f6c565b601d546040519192506001600160a01b03169084156108fc029085906000818181858888f1935050505015801561135a573d6000803e3d6000fd5b50601e546040516001600160a01b039091169083156108fc029084906000818181858888f19350505050158015611395573d6000803e3d6000fd5b50601f546040516001600160a01b039091169082156108fc029083906000818181858888f193505050501580156113d0573d6000803e3d6000fd5b5050505050565b610c8f83838360405180602001604052806000815250611cd1565b6001546001600160a01b0316331461141c5760405162461bcd60e51b8152600401610b5990612da5565b601e546001600160a01b038281169116141561144a5760405162461bcd60e51b8152600401610b5990612f8e565b601e80546001600160a01b0319166001600160a01b0392909216919091179055565b6001546001600160a01b031633146114965760405162461bcd60e51b8152600401610b5990612da5565b80516114a890602090818401906126aa565b5050565b6001546001600160a01b031633146114d65760405162461bcd60e51b8152600401610b5990612da5565b600d80549115156101000261ff0019909216919091179055565b6001546001600160a01b0316331461151a5760405162461bcd60e51b8152600401610b5990612da5565b6001600160a01b039091166000908152600e6020526040902060010155565b6001546001600160a01b031633146115635760405162461bcd60e51b8152600401610b5990612da5565b6001600160a01b0382166000908152601c60209081526040808320849055600e90915281206001018054839290610d90908490612df0565b6000818152600460205260408120546001600160a01b031680610a4c5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610b59565b6000600a836040516116249190612f1e565b9081526020016040518091039020546001141561167c5760405162461bcd60e51b8152602060048201526016602482015275105b1c9958591e4812db9bdddb881d1a1a5cc813919560521b6044820152606401610b59565b600d54610100900460ff16806116b05750600d5460ff1680156116b05750336000908152600e602052604090206001015415155b6116f25760405162461bcd60e51b8152602060048201526013602482015272165bdd48185c99481b9bdd08185b1b1bddd959606a1b6044820152606401610b59565b6015546009541061173d5760405162461bcd60e51b815260206004820152601560248201527413585e081cdd5c1c1b1e481a5cc81c995858da1959605a1b6044820152606401610b59565b600f54336000908152601b60205260409020541561175a57506010545b336000908152601a60205260409020541561177457506011545b336000908152601c60205260409020541561178e57506012545b803410156117ce5760405162461bcd60e51b815260206004820152600d60248201526c496e76616c69642076616c756560981b6044820152606401610b59565b600d5460ff1680156117e85750600d54610100900460ff16155b1561181157336000908152600e6020526040812060010180549161180b83612f3a565b91905055505b336000908152601b60205260409020541561184757336000908152601b6020526040812080549161184183612f3a565b91905055505b336000908152601a60205260409020541561187d57336000908152601a6020526040812080549161187783612f3a565b91905055505b336000908152601c6020526040902054156118b357336000908152601c602052604081208054916118ad83612f3a565b91905055505b6001600a856040516118c59190612f1e565b908152604051908190036020019020556118e3600980546001019055565b60006118ee60095490565b90506118fa338261227c565b61190481856123be565b604080516060810182528281523360208083019182528284018881526000868152600c8352949094208351815591516001830180546001600160a01b0319166001600160a01b03909216919091179055925180519293919261196c92600285019201906126aa565b50919695505050505050565b6001546001600160a01b031633146119a25760405162461bcd60e51b8152600401610b5990612da5565b600d805460ff1916911515919091179055565b6001546001600160a01b031633146119df5760405162461bcd60e51b8152600401610b5990612da5565b601f546001600160a01b0382811691161415611a0d5760405162461bcd60e51b8152600401610b5990612f8e565b601f80546001600160a01b0319166001600160a01b0392909216919091179055565b60208054610cad90612d6a565b6001546001600160a01b03163314611a665760405162461bcd60e51b8152600401610b5990612da5565b601554811415611ac45760405162461bcd60e51b815260206004820152602360248201527f4e6577204d617820737570706c792063616e6e6f742062652073616d6520776960448201526203a34160ed1b6064820152608401610b59565b601555565b60006001600160a01b038216611b345760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610b59565b506001600160a01b031660009081526005602052604090205490565b6001546001600160a01b03163314611b7a5760405162461bcd60e51b8152600401610b5990612da5565b611b846000612458565b565b8051825114611ba75760405162461bcd60e51b8152600401610b5990612ea4565b60005b8251811015610c8f57611bf033848381518110611bc957611bc9612f08565b6020026020010151848481518110611be357611be3612f08565b60200260200101516113d7565b80611bfa81612f51565b915050611baa565b606060038054610a6190612d6a565b6114a83383836124aa565b600c6020526000908152604090208054600182015460028301805492936001600160a01b0390921692611c4e90612d6a565b80601f0160208091040260200160405190810160405280929190818152602001828054611c7a90612d6a565b8015611cc75780601f10611c9c57610100808354040283529160200191611cc7565b820191906000526020600020905b815481529060010190602001808311611caa57829003601f168201915b5050505050905083565b611cdb3383611fe5565b611cf75760405162461bcd60e51b8152600401610b5990612e08565b61122184848484612579565b6000818152600c602090815260408083208151606081810184528254825260018301546001600160a01b0316948201949094526002820180549495949193840191611d4d90612d6a565b80601f0160208091040260200160405190810160405280929190818152602001828054611d7990612d6a565b8015611dc65780601f10611d9b57610100808354040283529160200191611dc6565b820191906000526020600020905b815481529060010190602001808311611da957829003601f168201915b505050505081525050905060208160400151604051602001611de9929190612fe2565b604051602081830303815290604052915050919050565b6001546001600160a01b03163314611e2a5760405162461bcd60e51b8152600401610b5990612da5565b6001600160a01b0382166000908152601a60209081526040808320849055600e90915281206001018054839290610d90908490612df0565b6001546001600160a01b03163314611e8c5760405162461bcd60e51b8152600401610b5990612da5565b601d546001600160a01b0382811691161415611eba5760405162461bcd60e51b8152600401610b5990612f8e565b601d80546001600160a01b0319166001600160a01b0392909216919091179055565b6001546001600160a01b03163314611f065760405162461bcd60e51b8152600401610b5990612da5565b6001600160a01b038116611f6b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610b59565b611f7481612458565b50565b600081815260066020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611fac8261159b565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600460205260408120546001600160a01b031661205e5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610b59565b60006120698361159b565b9050806001600160a01b0316846001600160a01b031614806120a45750836001600160a01b031661209984610ae4565b6001600160a01b0316145b806120d457506001600160a01b0380821660009081526007602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b03166120ef8261159b565b6001600160a01b0316146121575760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610b59565b6001600160a01b0382166121b95760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610b59565b6121c4600082611f77565b6001600160a01b03831660009081526005602052604081208054600192906121ed908490613080565b90915550506001600160a01b038216600090815260056020526040812080546001929061221b908490612df0565b909155505060008181526004602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6001600160a01b0382166122d25760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610b59565b6000818152600460205260409020546001600160a01b0316156123375760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610b59565b6001600160a01b0382166000908152600560205260408120805460019290612360908490612df0565b909155505060008181526004602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6000828152600460205260409020546001600160a01b03166124395760405162461bcd60e51b815260206004820152602e60248201527f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60448201526d32bc34b9ba32b73a103a37b5b2b760911b6064820152608401610b59565b60008281526008602090815260409091208251610c8f928401906126aa565b600180546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b0316141561250c5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610b59565b6001600160a01b03838116600081815260076020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6125848484846120dc565b612590848484846125ac565b6112215760405162461bcd60e51b8152600401610b5990613097565b60006001600160a01b0384163b1561269f57604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906125f09033908990889088906004016130e9565b6020604051808303816000875af192505050801561262b575060408051601f3d908101601f1916820190925261262891810190613126565b60015b612685573d808015612659576040519150601f19603f3d011682016040523d82523d6000602084013e61265e565b606091505b50805161267d5760405162461bcd60e51b8152600401610b5990613097565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506120d4565b506001949350505050565b8280546126b690612d6a565b90600052602060002090601f0160209004810192826126d8576000855561271e565b82601f106126f157805160ff191683800117855561271e565b8280016001018555821561271e579182015b8281111561271e578251825591602001919060010190612703565b5061272a92915061272e565b5090565b5b8082111561272a576000815560010161272f565b6001600160e01b031981168114611f7457600080fd5b60006020828403121561276b57600080fd5b813561277681612743565b9392505050565b60005b83811015612798578181015183820152602001612780565b838111156112215750506000910152565b600081518084526127c181602086016020860161277d565b601f01601f19169290920160200192915050565b60208152600061277660208301846127a9565b6000602082840312156127fa57600080fd5b5035919050565b6001600160a01b0381168114611f7457600080fd5b6000806040838503121561282957600080fd5b823561283481612801565b946020939093013593505050565b60008060006060848603121561285757600080fd5b833561286281612801565b9250602084013561287281612801565b929592945050506040919091013590565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff811182821017156128c2576128c2612883565b604052919050565b600067ffffffffffffffff8311156128e4576128e4612883565b6128f7601f8401601f1916602001612899565b905082815283838301111561290b57600080fd5b828260208301376000602084830101529392505050565b600082601f83011261293357600080fd5b612776838335602085016128ca565b6000806040838503121561295557600080fd5b823567ffffffffffffffff8082111561296d57600080fd5b61297986838701612922565b9350602085013591508082111561298f57600080fd5b5061299c85828601612922565b9150509250929050565b600067ffffffffffffffff8211156129c0576129c0612883565b5060051b60200190565b600082601f8301126129db57600080fd5b813560206129f06129eb836129a6565b612899565b82815260059290921b84018101918181019086841115612a0f57600080fd5b8286015b84811015612a4f57803567ffffffffffffffff811115612a335760008081fd5b612a418986838b0101612922565b845250918301918301612a13565b509695505050505050565b60008060408385031215612a6d57600080fd5b823567ffffffffffffffff80821115612a8557600080fd5b612a91868387016129ca565b93506020850135915080821115612aa757600080fd5b5061299c858286016129ca565b600060208284031215612ac657600080fd5b813561277681612801565b600060208284031215612ae357600080fd5b813567ffffffffffffffff811115612afa57600080fd5b6120d484828501612922565b80358015158114612b1657600080fd5b919050565b600060208284031215612b2d57600080fd5b61277682612b06565b600082601f830112612b4757600080fd5b81356020612b576129eb836129a6565b82815260059290921b84018101918181019086841115612b7657600080fd5b8286015b84811015612a4f5780358352918301918301612b7a565b60008060408385031215612ba457600080fd5b823567ffffffffffffffff80821115612bbc57600080fd5b818501915085601f830112612bd057600080fd5b81356020612be06129eb836129a6565b82815260059290921b84018101918181019089841115612bff57600080fd5b948201945b83861015612c26578535612c1781612801565b82529482019490820190612c04565b96505086013592505080821115612c3c57600080fd5b5061299c85828601612b36565b60008060408385031215612c5c57600080fd5b8235612c6781612801565b9150612c7560208401612b06565b90509250929050565b8381526001600160a01b0383166020820152606060408201819052600090612ca8908301846127a9565b95945050505050565b60008060008060808587031215612cc757600080fd5b8435612cd281612801565b93506020850135612ce281612801565b925060408501359150606085013567ffffffffffffffff811115612d0557600080fd5b8501601f81018713612d1657600080fd5b612d25878235602084016128ca565b91505092959194509250565b60008060408385031215612d4457600080fd5b8235612d4f81612801565b91506020830135612d5f81612801565b809150509250929050565b600181811c90821680612d7e57607f821691505b60208210811415612d9f57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b60008219821115612e0357612e03612dda565b500190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b60008151612e6b81856020860161277d565b9290920192915050565b60008351612e8781846020880161277d565b835190830190612e9b81836020880161277d565b01949350505050565b60208082526025908201527f426f746820617267756d656e7473206d757374206265206f662073616d65206c6040820152640cadccee8d60db1b606082015260800190565b6000816000190483118215151615612f0357612f03612dda565b500290565b634e487b7160e01b600052603260045260246000fd5b60008251612f3081846020870161277d565b9190910192915050565b600081612f4957612f49612dda565b506000190190565b6000600019821415612f6557612f65612dda565b5060010190565b600082612f8957634e487b7160e01b600052601260045260246000fd5b500490565b60208082526034908201527f4e65772042656e6963696172792063616e6e6f742062652073616d6520776974604082015273682070726576696f75732042656e69636961727960601b606082015260800190565b600080845481600182811c915080831680612ffe57607f831692505b602080841082141561301e57634e487b7160e01b86526022600452602486fd5b818015613032576001811461304357613070565b60ff19861689528489019650613070565b60008b81526020902060005b868110156130685781548b82015290850190830161304f565b505084890196505b505050505050612ca88185612e59565b60008282101561309257613092612dda565b500390565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061311c908301846127a9565b9695505050505050565b60006020828403121561313857600080fd5b81516127768161274356fea26469706673582212206adccd3d421c5f5f83306df260bd92899b9eeadc4cdd15eb8b2797875647300664736f6c634300080a0033

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


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.