ETH Price: $3,288.43 (-0.85%)

Token

Kiki City Beach Party (KCBP)
 

Overview

Max Total Supply

1,334 KCBP

Holders

349

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Filtered by Token Holder
Hbbt2HBB: Deployer
Balance
2 KCBP
0xb34E24ba5c8d0bB5c06F2afBf472a2e08E133A11
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
KikiCity

Compiler Version
v0.8.15+commit.e14f2714

Optimization Enabled:
Yes with 1000 runs

Other Settings:
default evmVersion
File 1 of 14 : KikiCity.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.9 <0.9.0;

import "https://github.com/FrankNFT-labs/ERC721F/blob/v1.0.3/ERC721F.sol";
import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v4.4.0/contracts/token/ERC1155/IERC1155.sol";

/**
 * @title KikiCity contract
 * @dev Extends ERC721F Non-Fungible Token Standard basic implementation.
 * Optimized to no longer use ERC721Enumarable , but still provide a totalSupply() implementation.
 * @author @FrankNFT.eth
 * 
 */

contract KikiCity is ERC721F {
    
    uint256 public tokenPrice = 0.06 ether; 
    uint256 public tunaPrice = 0.045 ether;   
    uint256 public constant MAX_TOKENS=3333;
    uint public constant MAX_PURCHASE = 26; // set 1 to high to avoid some gas
    uint public constant MAX_RESERVE = 26; // set 1 to high to avoid some gas
    
    bool public saleIsActive;
    bool public preSaleIsActive;
    
    address public mintpass = 0x7973bf63218d305f908307FCD5A89b093b88C594;  
    address public tunaPass = 0x67cA258BDBE0Dc0cB756e4F0b7348F6733CE924a;
    address private constant FRANK = 0xF40Fd88ac59A206D009A07F8c09828a01e2ACC0d;
    address private constant RISA = 0xE59dC42b11e78Ba405Fe59D2d4215bbE1dC790B8;
    address private constant FLASH = 0xAD5eBf58e2fa5Dc22357A8B10F4C2ca4D9Cf9AEe;
    address private constant KIKI = 0xfe3b88B371cD268645686b1EeBa9Fb31d10eF874;
    
    event priceChange(address _by, uint256 price);

    constructor() ERC721F("Kiki City Beach Party", "KCBP") {
        setBaseTokenURI("ipfs://QmQ14y73R3dr9DKniL1nHerQu1UMVETNq9MXBiSRoXV6F2/"); 
        _mint( FRANK, 0);
    }

    /**
     * Mint Tokens to a wallet.
     */
    function mint(address to,uint numberOfTokens) public onlyOwner {    
        uint supply = totalSupply();
        require(supply + numberOfTokens <= MAX_TOKENS, "Reserve would exceed max supply of Tokens");
        require(numberOfTokens < MAX_RESERVE, "Can only mint 25 tokens at a time");
        for (uint i = 0; i < numberOfTokens;) {
            _safeMint(to, supply + i);
            unchecked{ i++;}
        }
    }
     /**
     * Mint Tokens to the owners reserve.
     */
    function reserveTokens() external onlyOwner {    
        mint(owner(),MAX_RESERVE-1);
    }

    /**
     * Pause sale if active, make active if paused
     */
    function flipSaleState() public onlyOwner {
        saleIsActive = !saleIsActive;
        if(saleIsActive){
            preSaleIsActive=false;
        }  
    }

    /**
     * Pause sale if active, make active if paused
     */
    function flipPreSaleState() public onlyOwner {
        preSaleIsActive = !preSaleIsActive;
    }

    /**    
    * Set mintPass contract address
    */
    function setMintPass(address newAddress) external onlyOwner {
         mintpass = newAddress;
    }

        /**    
    * Set mintPass contract address
    */
    function setTunaPass(address newAddress) external onlyOwner {
         tunaPass = newAddress;
    }

    /**     
    * Set price 
    */
    function setPrice(uint256 price) public onlyOwner {
        tokenPrice = price;
        emit priceChange(msg.sender, tokenPrice);
    }
    /**
    * PUBLIC mint method.
    */
    function mint(uint256 numberOfTokens) external payable {
        require(msg.sender == tx.origin);
        require(saleIsActive, "Sale must be active to mint Tokens");
        // add tuna discount
        if(hasTunaPass(msg.sender)){
            require(tunaPrice * numberOfTokens <= msg.value, "Ether value sent is not correct");  
        } else {
            require(tokenPrice * numberOfTokens <= msg.value, "Ether value sent is not correct");  
        }
        iternalMint(numberOfTokens);
    }
    /**
    * Presale mint method.
    */
    function preSalemint(uint256 numberOfTokens) external {
        require(preSaleIsActive, "Sale must be active to mint Tokens");
        require(IERC1155(mintpass).balanceOf(msg.sender,0)>=numberOfTokens,"Purchase would exceed number of kiki Tickets");
        IERC1155(mintpass).safeTransferFrom(msg.sender,0xca5771eDbf49Bf29bE9407B0429195e2B95a0455,0,numberOfTokens,"");
        iternalMint(numberOfTokens);
    }
    /**
    * returns true if the sender has a mint pass.
    */
    function hasMintPass(address sender) public view returns (bool){
        if(sender==address(0)){
            return false;
        } else if (IERC1155(mintpass).balanceOf(sender,0)>0){  // more then one kikiTicket can mint
            return true;
        } 
        return false;
    }

    /**
     * Does the sender have a Tuna Pass.
     */
     
    function hasTunaPass(address sender) public view returns(bool){
        if(sender==address(0)){
            return false;
        }
        else{
            bool pass = IERC1155(tunaPass).balanceOf(sender,420)>0;
            return pass;
        }
    }
/**
    * returns true if the sender has a mint pass.
    */
    function mintPassBalance(address sender) external view returns (uint){
        return IERC1155(mintpass).balanceOf(sender,0);
    }


    function iternalMint(uint256 numberOfTokens) private{
        require(numberOfTokens != 0, "numberOfNfts cannot be 0");
        require(numberOfTokens < MAX_PURCHASE, "Can only mint 25 tokens at a time");
        uint256 supply = totalSupply();
        require(supply+numberOfTokens <= MAX_TOKENS, "Purchase would exceed max supply of Tokens");
        for(uint256 i; i < numberOfTokens;){
            _safeMint( msg.sender, supply + i );
            unchecked{ i++;}
        }
    }
    
    function withdraw() public onlyOwner {
        uint256 balance = address(this).balance;
        require(balance > 0, "Insufficent balance");

        _withdraw(FRANK,(balance * 5) / 100);
        _withdraw(RISA,(balance * 10) / 100);
        _withdraw(FLASH,(balance * 20) / 100);
        _withdraw(KIKI,(balance * 20) / 100);
        _withdraw(owner(), address(this).balance);
    }
}

File 2 of 14 : IERC1155.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC1155/IERC1155.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev Required interface of an ERC1155 compliant contract, as defined in the
 * https://eips.ethereum.org/EIPS/eip-1155[EIP].
 *
 * _Available since v3.1._
 */
interface IERC1155 is IERC165 {
    /**
     * @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`.
     */
    event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value);

    /**
     * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all
     * transfers.
     */
    event TransferBatch(
        address indexed operator,
        address indexed from,
        address indexed to,
        uint256[] ids,
        uint256[] values
    );

    /**
     * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to
     * `approved`.
     */
    event ApprovalForAll(address indexed account, address indexed operator, bool approved);

    /**
     * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI.
     *
     * If an {URI} event was emitted for `id`, the standard
     * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value
     * returned by {IERC1155MetadataURI-uri}.
     */
    event URI(string value, uint256 indexed id);

    /**
     * @dev Returns the amount of tokens of token type `id` owned by `account`.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function balanceOf(address account, uint256 id) external view returns (uint256);

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}.
     *
     * Requirements:
     *
     * - `accounts` and `ids` must have the same length.
     */
    function balanceOfBatch(address[] calldata accounts, uint256[] calldata ids)
        external
        view
        returns (uint256[] memory);

    /**
     * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`,
     *
     * Emits an {ApprovalForAll} event.
     *
     * Requirements:
     *
     * - `operator` cannot be the caller.
     */
    function setApprovalForAll(address operator, bool approved) external;

    /**
     * @dev Returns true if `operator` is approved to transfer ``account``'s tokens.
     *
     * See {setApprovalForAll}.
     */
    function isApprovedForAll(address account, address operator) external view returns (bool);

    /**
     * @dev Transfers `amount` tokens of token type `id` from `from` to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - If the caller is not `from`, it must be have been approved to spend ``from``'s tokens via {setApprovalForAll}.
     * - `from` must have a balance of tokens of type `id` of at least `amount`.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes calldata data
    ) external;

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function safeBatchTransferFrom(
        address from,
        address to,
        uint256[] calldata ids,
        uint256[] calldata amounts,
        bytes calldata data
    ) external;
}

File 3 of 14 : ERC721F.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.9 <0.9.0;

import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v4.4.0/contracts/token/ERC721/ERC721.sol";
import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v4.4.0/contracts/access/Ownable.sol";
import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v4.4.0/contracts/utils/Counters.sol";


/**
 * @title ERC721F
 * @dev Extends ERC721 Non-Fungible Token Standard basic implementation.
 * Optimized to no longer use ERC721Enumerable , but still provide a totalSupply() and walletOfOwner(address _owner) implementation.
 * @author @FrankNFT.eth
 * 
 */

contract ERC721F is Ownable, ERC721 {
    using Counters for Counters.Counter;

    Counters.Counter private _tokenSupply;

    // Base URI for Meta data
    string private _baseTokenURI;

    
    constructor(string memory name_, string memory symbol_) ERC721(name_, symbol_) {
    }

    /** 
     * @dev walletofOwner
     * @return tokens id owned by the given address
     * This read function is O(totalSupply). If calling from a separate contract, be sure to test gas first.
     * It may also degrade with extremely large collection sizes (e.g >> 10000), test for your use case.
     */
    function walletOfOwner(address _owner) external view returns (uint256[] memory){
        uint256 ownerTokenCount = balanceOf(_owner);
        uint256[] memory ownedTokenIds = new uint256[](ownerTokenCount);
        uint256 currentTokenId = _startTokenId();
        uint256 ownedTokenIndex = 0;

        while ( ownedTokenIndex < ownerTokenCount && currentTokenId < _tokenSupply.current() ) {
            if (ownerOf(currentTokenId) == _owner) {
                ownedTokenIds[ownedTokenIndex] = currentTokenId;
                unchecked{ ownedTokenIndex++;}
            }
            unchecked{ currentTokenId++;}
        }
        return ownedTokenIds;
    }
    
    /**
     * To change the starting tokenId, override this function.
     */
    function _startTokenId() internal view virtual returns (uint256) {
        return 0;
    }

    /**
     * @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 override returns (string memory) {
        return _baseTokenURI;
    }
    /**
     * @dev Set the base token URI
     */
    function setBaseTokenURI(string memory baseURI) public onlyOwner {
        _baseTokenURI = baseURI;
    }

    /**
     *    
     * @dev Mints `tokenId` and transfers it to `to`.
     *
     */
    function _mint(address to, uint256 tokenId) internal virtual override {
        super._mint(to, tokenId);
        _tokenSupply.increment();
    }

    /**
     * @dev Gets the total amount of tokens stored by the contract.
     * @return uint256 representing the total amount of tokens
     */
    function totalSupply() public view returns (uint256) {
        return _tokenSupply.current();
    }

    /**
    * Helper method to allow ETH withdraws.
    */
    function _withdraw(address _address, uint256 _amount) internal {
        (bool success, ) = _address.call{ value: _amount }("");
        require(success, "Failed to widthdraw Ether");
    }

    // contract can recieve Ether
    receive() external payable { }
}

File 4 of 14 : 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);
}

File 5 of 14 : 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 14 : 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 7 of 14 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (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 overridden 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 || isApprovedForAll(owner, spender) || getApproved(tokenId) == 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);

        _afterTokenTransfer(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);

        _afterTokenTransfer(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 from incorrect owner");
        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);

        _afterTokenTransfer(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 {}

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}
}

File 8 of 14 : 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 9 of 14 : 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 10 of 14 : 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 11 of 14 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @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
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 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 14 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 13 of 14 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

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

File 14 of 14 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Contract Security Audit

Contract ABI

[{"inputs":[],"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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_by","type":"address"},{"indexed":false,"internalType":"uint256","name":"price","type":"uint256"}],"name":"priceChange","type":"event"},{"inputs":[],"name":"MAX_PURCHASE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_RESERVE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_TOKENS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"flipPreSaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"flipSaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"hasMintPass","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"hasTunaPass","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"mintPassBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintpass","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"preSaleIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"preSalemint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reserveTokens","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":[],"name":"saleIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newAddress","type":"address"}],"name":"setMintPass","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"price","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newAddress","type":"address"}],"name":"setTunaPass","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"tunaPass","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tunaPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

608060405266d529ae9e860000600955669fdf42f6e48000600a55600b8054757973bf63218d305f908307fcd5a89b093b88c594000062010000600160b01b0319909116179055600c80546001600160a01b0319167367ca258bdbe0dc0cb756e4f0b7348f6733ce924a1790553480156200007957600080fd5b506040518060400160405280601581526020017f4b696b69204369747920426561636820506172747900000000000000000000008152506040518060400160405280600481526020016304b4342560e41b8152508181620000e9620000e36200015660201b60201c565b6200015a565b6001620000f7838262000444565b50600262000106828262000444565b50505050506200012f604051806060016040528060368152602001620031cf60369139620001aa565b6200015073f40fd88ac59a206d009a07f8c09828a01e2acc0d60006200021c565b62000537565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000546001600160a01b031633146200020a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b600862000218828262000444565b5050565b6200023382826200024a60201b62001ad11760201c565b6200021860076200039260201b62001c131760201c565b6001600160a01b038216620002a25760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640162000201565b6000818152600360205260409020546001600160a01b031615620003095760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640162000201565b6001600160a01b03821660009081526004602052604081208054600192906200033490849062000510565b909155505060008181526003602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b80546001019055565b505050565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620003cb57607f821691505b602082108103620003ec57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200039b57600081815260208120601f850160051c810160208610156200041b5750805b601f850160051c820191505b818110156200043c5782815560010162000427565b505050505050565b81516001600160401b03811115620004605762000460620003a0565b6200047881620004718454620003b6565b84620003f2565b602080601f831160018114620004b05760008415620004975750858301515b600019600386901b1c1916600185901b1785556200043c565b600085815260208120601f198616915b82811015620004e157888601518255948401946001909101908401620004c0565b5085821015620005005787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600082198211156200053257634e487b7160e01b600052601160045260246000fd5b500190565b612c8880620005476000396000f3fe6080604052600436106102ca5760003560e01c80636352211e11610179578063a0712d68116100d6578063e985e9c51161008a578063f032554911610064578063f03255491461077a578063f2fde38b1461078f578063f47c84c5146107af57600080fd5b8063e985e9c514610717578063eb8d244414610760578063eff31e9e146105ab57600080fd5b8063b2a9cfa6116100bb578063b2a9cfa6146106b7578063b88d4fde146106d7578063c87b56dd146106f757600080fd5b8063a0712d6814610684578063a22cb4651461069757600080fd5b80638c43247b1161012d5780638e3b358b116101125780638e3b358b1461062f57806391b7f5ed1461064f57806395d89b411461066f57600080fd5b80638c43247b146105eb5780638da5cb5b1461061157600080fd5b80637146bd081161015e5780637146bd08146105ab578063715018a6146105c05780637ff9b596146105d557600080fd5b80636352211e1461056b57806370a082311461058b57600080fd5b806334918dfd1161022757806342842e0e116101db5780634b2647d2116101c05780634b2647d21461050b57806356d382c51461052b5780635ef78eef1461054b57600080fd5b806342842e0e146104be578063438b6300146104de57600080fd5b80633d00348e1161020c5780633d00348e1461045e5780633e3438651461047e57806340c10f191461049e57600080fd5b806334918dfd146104345780633ccfd60b1461044957600080fd5b80631f0234d81161027e57806327ac36c41161026357806327ac36c4146103e957806330176e13146103fe5780633414d86e1461041e57600080fd5b80631f0234d8146103aa57806323b872dd146103c957600080fd5b8063081812fc116102af578063081812fc1461032d578063095ea7b31461036557806318160ddd1461038757600080fd5b806301ffc9a7146102d657806306fdde031461030b57600080fd5b366102d157005b600080fd5b3480156102e257600080fd5b506102f66102f136600461263b565b6107c5565b60405190151581526020015b60405180910390f35b34801561031757600080fd5b50610320610862565b60405161030291906126b0565b34801561033957600080fd5b5061034d6103483660046126c3565b6108f4565b6040516001600160a01b039091168152602001610302565b34801561037157600080fd5b506103856103803660046126f3565b61098e565b005b34801561039357600080fd5b5061039c610abf565b604051908152602001610302565b3480156103b657600080fd5b50600b546102f690610100900460ff1681565b3480156103d557600080fd5b506103856103e436600461271d565b610acf565b3480156103f557600080fd5b50610385610b56565b34801561040a57600080fd5b506103856104193660046127e5565b610bc1565b34801561042a57600080fd5b5061039c600a5481565b34801561044057600080fd5b50610385610c19565b34801561045557600080fd5b50610385610c89565b34801561046a57600080fd5b506102f661047936600461282e565b610de0565b34801561048a57600080fd5b506103856104993660046126c3565b610e7d565b3480156104aa57600080fd5b506103856104b93660046126f3565b611084565b3480156104ca57600080fd5b506103856104d936600461271d565b6111df565b3480156104ea57600080fd5b506104fe6104f936600461282e565b6111fa565b6040516103029190612849565b34801561051757600080fd5b506102f661052636600461282e565b6112c1565b34801561053757600080fd5b5061038561054636600461282e565b611369565b34801561055757600080fd5b50600c5461034d906001600160a01b031681565b34801561057757600080fd5b5061034d6105863660046126c3565b6113d3565b34801561059757600080fd5b5061039c6105a636600461282e565b61145e565b3480156105b757600080fd5b5061039c601a81565b3480156105cc57600080fd5b506103856114f8565b3480156105e157600080fd5b5061039c60095481565b3480156105f757600080fd5b50600b5461034d906201000090046001600160a01b031681565b34801561061d57600080fd5b506000546001600160a01b031661034d565b34801561063b57600080fd5b5061039c61064a36600461282e565b61154a565b34801561065b57600080fd5b5061038561066a3660046126c3565b6115c4565b34801561067b57600080fd5b5061032061164d565b6103856106923660046126c3565b61165c565b3480156106a357600080fd5b506103856106b236600461288d565b61179b565b3480156106c357600080fd5b506103856106d236600461282e565b6117a6565b3480156106e357600080fd5b506103856106f23660046128c9565b61182e565b34801561070357600080fd5b506103206107123660046126c3565b6118b6565b34801561072357600080fd5b506102f6610732366004612945565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b34801561076c57600080fd5b50600b546102f69060ff1681565b34801561078657600080fd5b5061038561199f565b34801561079b57600080fd5b506103856107aa36600461282e565b611a04565b3480156107bb57600080fd5b5061039c610d0581565b60006001600160e01b031982167f80ac58cd00000000000000000000000000000000000000000000000000000000148061082857506001600160e01b031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b8061085c57507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b03198316145b92915050565b60606001805461087190612978565b80601f016020809104026020016040519081016040528092919081815260200182805461089d90612978565b80156108ea5780601f106108bf576101008083540402835291602001916108ea565b820191906000526020600020905b8154815290600101906020018083116108cd57829003601f168201915b5050505050905090565b6000818152600360205260408120546001600160a01b03166109725760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600560205260409020546001600160a01b031690565b6000610999826113d3565b9050806001600160a01b0316836001600160a01b031603610a225760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f72000000000000000000000000000000000000000000000000000000000000006064820152608401610969565b336001600160a01b0382161480610a3e5750610a3e8133610732565b610ab05760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610969565b610aba8383611c1c565b505050565b6000610aca60075490565b905090565b610ad93382611c8a565b610b4b5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610969565b610aba838383611d81565b6000546001600160a01b03163314610b9e5760405162461bcd60e51b81526020600482018190526024820152600080516020612c338339815191526044820152606401610969565b610bbf610bb36000546001600160a01b031690565b6104b96001601a6129c8565b565b6000546001600160a01b03163314610c095760405162461bcd60e51b81526020600482018190526024820152600080516020612c338339815191526044820152606401610969565b6008610c158282612a2d565b5050565b6000546001600160a01b03163314610c615760405162461bcd60e51b81526020600482018190526024820152600080516020612c338339815191526044820152606401610969565b600b805460ff19811660ff918216159081179092551615610bbf57600b805461ff0019169055565b6000546001600160a01b03163314610cd15760405162461bcd60e51b81526020600482018190526024820152600080516020612c338339815191526044820152606401610969565b4780610d1f5760405162461bcd60e51b815260206004820152601360248201527f496e737566666963656e742062616c616e6365000000000000000000000000006044820152606401610969565b610d5373f40fd88ac59a206d009a07f8c09828a01e2acc0d6064610d44846005612aed565b610d4e9190612b22565b611f4e565b610d7873e59dc42b11e78ba405fe59d2d4215bbe1dc790b86064610d4484600a612aed565b610d9d73ad5ebf58e2fa5dc22357a8b10f4c2ca4d9cf9aee6064610d44846014612aed565b610dc273fe3b88b371cd268645686b1eeba9fb31d10ef8746064610d44846014612aed565b610ddd610dd76000546001600160a01b031690565b47611f4e565b50565b60006001600160a01b038216610df857506000919050565b600c54604051627eeac760e11b81526001600160a01b0384811660048301526101a46024830152600092839291169062fdd58e90604401602060405180830381865afa158015610e4c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e709190612b36565b119392505050565b919050565b600b54610100900460ff16610edf5760405162461bcd60e51b815260206004820152602260248201527f53616c65206d7573742062652061637469766520746f206d696e7420546f6b656044820152616e7360f01b6064820152608401610969565b600b54604051627eeac760e11b81523360048201526000602482015282916201000090046001600160a01b03169062fdd58e90604401602060405180830381865afa158015610f32573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f569190612b36565b1015610fca5760405162461bcd60e51b815260206004820152602c60248201527f507572636861736520776f756c6420657863656564206e756d626572206f662060448201527f6b696b69205469636b65747300000000000000000000000000000000000000006064820152608401610969565b600b546040517ff242432a00000000000000000000000000000000000000000000000000000000815233600482015273ca5771edbf49bf29be9407b0429195e2b95a045560248201526000604482018190526064820184905260a0608483015260a4820152620100009091046001600160a01b03169063f242432a9060c401600060405180830381600087803b15801561106357600080fd5b505af1158015611077573d6000803e3d6000fd5b50505050610ddd81611ff1565b6000546001600160a01b031633146110cc5760405162461bcd60e51b81526020600482018190526024820152600080516020612c338339815191526044820152606401610969565b60006110d6610abf565b9050610d056110e58383612b4f565b11156111595760405162461bcd60e51b815260206004820152602960248201527f5265736572766520776f756c6420657863656564206d617820737570706c792060448201527f6f6620546f6b656e7300000000000000000000000000000000000000000000006064820152608401610969565b601a82106111b35760405162461bcd60e51b815260206004820152602160248201527f43616e206f6e6c79206d696e7420323520746f6b656e7320617420612074696d6044820152606560f81b6064820152608401610969565b60005b828110156111d9576111d1846111cc8385612b4f565b612149565b6001016111b6565b50505050565b610aba8383836040518060200160405280600081525061182e565b606060006112078361145e565b905060008167ffffffffffffffff81111561122457611224612759565b60405190808252806020026020018201604052801561124d578160200160208202803683370190505b5090506000805b8381108015611264575060075482105b156112b757856001600160a01b031661127c836113d3565b6001600160a01b0316036112ac578183828151811061129d5761129d612b67565b60209081029190910101526001015b600190910190611254565b5090949350505050565b60006001600160a01b0382166112d957506000919050565b600b54604051627eeac760e11b81526001600160a01b03848116600483015260006024830181905292620100009004169062fdd58e90604401602060405180830381865afa15801561132f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113539190612b36565b111561136157506001919050565b506000919050565b6000546001600160a01b031633146113b15760405162461bcd60e51b81526020600482018190526024820152600080516020612c338339815191526044820152606401610969565b600c80546001600160a01b0319166001600160a01b0392909216919091179055565b6000818152600360205260408120546001600160a01b03168061085c5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e00000000000000000000000000000000000000000000006064820152608401610969565b60006001600160a01b0382166114dc5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f2061646472657373000000000000000000000000000000000000000000006064820152608401610969565b506001600160a01b031660009081526004602052604090205490565b6000546001600160a01b031633146115405760405162461bcd60e51b81526020600482018190526024820152600080516020612c338339815191526044820152606401610969565b610bbf6000612163565b600b54604051627eeac760e11b81526001600160a01b03838116600483015260006024830181905292620100009004169062fdd58e90604401602060405180830381865afa1580156115a0573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061085c9190612b36565b6000546001600160a01b0316331461160c5760405162461bcd60e51b81526020600482018190526024820152600080516020612c338339815191526044820152606401610969565b600981905560408051338152602081018390527f2a270679203ad5c6be2af882c755f81ff060752614a378c1804df57dd7d2add0910160405180910390a150565b60606002805461087190612978565b33321461166857600080fd5b600b5460ff166116c55760405162461bcd60e51b815260206004820152602260248201527f53616c65206d7573742062652061637469766520746f206d696e7420546f6b656044820152616e7360f01b6064820152608401610969565b6116ce33610de0565b15611735573481600a546116e29190612aed565b11156117305760405162461bcd60e51b815260206004820152601f60248201527f45746865722076616c75652073656e74206973206e6f7420636f7272656374006044820152606401610969565b611792565b34816009546117449190612aed565b11156117925760405162461bcd60e51b815260206004820152601f60248201527f45746865722076616c75652073656e74206973206e6f7420636f7272656374006044820152606401610969565b610ddd81611ff1565b610c153383836121b3565b6000546001600160a01b031633146117ee5760405162461bcd60e51b81526020600482018190526024820152600080516020612c338339815191526044820152606401610969565b600b80546001600160a01b0390921662010000027fffffffffffffffffffff0000000000000000000000000000000000000000ffff909216919091179055565b6118383383611c8a565b6118aa5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610969565b6111d984848484612281565b6000818152600360205260409020546060906001600160a01b03166119435760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006064820152608401610969565b600061194d6122ff565b9050600081511161196d5760405180602001604052806000815250611998565b806119778461230e565b604051602001611988929190612b7d565b6040516020818303038152906040525b9392505050565b6000546001600160a01b031633146119e75760405162461bcd60e51b81526020600482018190526024820152600080516020612c338339815191526044820152606401610969565b600b805461ff001981166101009182900460ff1615909102179055565b6000546001600160a01b03163314611a4c5760405162461bcd60e51b81526020600482018190526024820152600080516020612c338339815191526044820152606401610969565b6001600160a01b038116611ac85760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610969565b610ddd81612163565b6001600160a01b038216611b275760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610969565b6000818152600360205260409020546001600160a01b031615611b8c5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610969565b6001600160a01b0382166000908152600460205260408120805460019290611bb5908490612b4f565b909155505060008181526003602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b80546001019055565b600081815260056020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611c51826113d3565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600360205260408120546001600160a01b0316611d035760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610969565b6000611d0e836113d3565b9050806001600160a01b0316846001600160a01b03161480611d5557506001600160a01b0380821660009081526006602090815260408083209388168352929052205460ff165b80611d795750836001600160a01b0316611d6e846108f4565b6001600160a01b0316145b949350505050565b826001600160a01b0316611d94826113d3565b6001600160a01b031614611e105760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201527f6f776e65720000000000000000000000000000000000000000000000000000006064820152608401610969565b6001600160a01b038216611e8b5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610969565b611e96600082611c1c565b6001600160a01b0383166000908152600460205260408120805460019290611ebf9084906129c8565b90915550506001600160a01b0382166000908152600460205260408120805460019290611eed908490612b4f565b909155505060008181526003602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611f9b576040519150601f19603f3d011682016040523d82523d6000602084013e611fa0565b606091505b5050905080610aba5760405162461bcd60e51b815260206004820152601960248201527f4661696c656420746f20776964746864726177204574686572000000000000006044820152606401610969565b806000036120415760405162461bcd60e51b815260206004820152601860248201527f6e756d6265724f664e6674732063616e6e6f74206265203000000000000000006044820152606401610969565b601a811061209b5760405162461bcd60e51b815260206004820152602160248201527f43616e206f6e6c79206d696e7420323520746f6b656e7320617420612074696d6044820152606560f81b6064820152608401610969565b60006120a5610abf565b9050610d056120b48383612b4f565b11156121285760405162461bcd60e51b815260206004820152602a60248201527f507572636861736520776f756c6420657863656564206d617820737570706c7960448201527f206f6620546f6b656e73000000000000000000000000000000000000000000006064820152608401610969565b60005b82811015610aba57612141336111cc8385612b4f565b60010161212b565b610c15828260405180602001604052806000815250612443565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b816001600160a01b0316836001600160a01b0316036122145760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610969565b6001600160a01b03838116600081815260066020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b61228c848484611d81565b612298848484846124c1565b6111d95760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b6064820152608401610969565b60606008805461087190612978565b60608160000361235157505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b811561237b578061236581612bac565b91506123749050600a83612b22565b9150612355565b60008167ffffffffffffffff81111561239657612396612759565b6040519080825280601f01601f1916602001820160405280156123c0576020820181803683370190505b5090505b8415611d79576123d56001836129c8565b91506123e2600a86612bc5565b6123ed906030612b4f565b60f81b81838151811061240257612402612b67565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535061243c600a86612b22565b94506123c4565b61244d838361260d565b61245a60008484846124c1565b610aba5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b6064820152608401610969565b60006001600160a01b0384163b1561260257604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612505903390899088908890600401612bd9565b6020604051808303816000875af1925050508015612540575060408051601f3d908101601f1916820190925261253d91810190612c15565b60015b6125e8573d80801561256e576040519150601f19603f3d011682016040523d82523d6000602084013e612573565b606091505b5080516000036125e05760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b6064820152608401610969565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611d79565b506001949350505050565b6126178282611ad1565b610c15600780546001019055565b6001600160e01b031981168114610ddd57600080fd5b60006020828403121561264d57600080fd5b813561199881612625565b60005b8381101561267357818101518382015260200161265b565b838111156111d95750506000910152565b6000815180845261269c816020860160208601612658565b601f01601f19169290920160200192915050565b6020815260006119986020830184612684565b6000602082840312156126d557600080fd5b5035919050565b80356001600160a01b0381168114610e7857600080fd5b6000806040838503121561270657600080fd5b61270f836126dc565b946020939093013593505050565b60008060006060848603121561273257600080fd5b61273b846126dc565b9250612749602085016126dc565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561278a5761278a612759565b604051601f8501601f19908116603f011681019082821181831017156127b2576127b2612759565b816040528093508581528686860111156127cb57600080fd5b858560208301376000602087830101525050509392505050565b6000602082840312156127f757600080fd5b813567ffffffffffffffff81111561280e57600080fd5b8201601f8101841361281f57600080fd5b611d798482356020840161276f565b60006020828403121561284057600080fd5b611998826126dc565b6020808252825182820181905260009190848201906040850190845b8181101561288157835183529284019291840191600101612865565b50909695505050505050565b600080604083850312156128a057600080fd5b6128a9836126dc565b9150602083013580151581146128be57600080fd5b809150509250929050565b600080600080608085870312156128df57600080fd5b6128e8856126dc565b93506128f6602086016126dc565b925060408501359150606085013567ffffffffffffffff81111561291957600080fd5b8501601f8101871361292a57600080fd5b6129398782356020840161276f565b91505092959194509250565b6000806040838503121561295857600080fd5b612961836126dc565b915061296f602084016126dc565b90509250929050565b600181811c9082168061298c57607f821691505b6020821081036129ac57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6000828210156129da576129da6129b2565b500390565b601f821115610aba57600081815260208120601f850160051c81016020861015612a065750805b601f850160051c820191505b81811015612a2557828155600101612a12565b505050505050565b815167ffffffffffffffff811115612a4757612a47612759565b612a5b81612a558454612978565b846129df565b602080601f831160018114612a905760008415612a785750858301515b600019600386901b1c1916600185901b178555612a25565b600085815260208120601f198616915b82811015612abf57888601518255948401946001909101908401612aa0565b5085821015612add5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000816000190483118215151615612b0757612b076129b2565b500290565b634e487b7160e01b600052601260045260246000fd5b600082612b3157612b31612b0c565b500490565b600060208284031215612b4857600080fd5b5051919050565b60008219821115612b6257612b626129b2565b500190565b634e487b7160e01b600052603260045260246000fd5b60008351612b8f818460208801612658565b835190830190612ba3818360208801612658565b01949350505050565b600060018201612bbe57612bbe6129b2565b5060010190565b600082612bd457612bd4612b0c565b500690565b60006001600160a01b03808716835280861660208401525083604083015260806060830152612c0b6080830184612684565b9695505050505050565b600060208284031215612c2757600080fd5b81516119988161262556fe4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572a264697066735822122036b51f0acbc94f41902961d7891324a505d77088fdf249d8a329e5567f069b7f64736f6c634300080f0033697066733a2f2f516d5131347937335233647239444b6e694c316e486572517531554d5645544e71394d58426953526f58563646322f

Deployed Bytecode

0x6080604052600436106102ca5760003560e01c80636352211e11610179578063a0712d68116100d6578063e985e9c51161008a578063f032554911610064578063f03255491461077a578063f2fde38b1461078f578063f47c84c5146107af57600080fd5b8063e985e9c514610717578063eb8d244414610760578063eff31e9e146105ab57600080fd5b8063b2a9cfa6116100bb578063b2a9cfa6146106b7578063b88d4fde146106d7578063c87b56dd146106f757600080fd5b8063a0712d6814610684578063a22cb4651461069757600080fd5b80638c43247b1161012d5780638e3b358b116101125780638e3b358b1461062f57806391b7f5ed1461064f57806395d89b411461066f57600080fd5b80638c43247b146105eb5780638da5cb5b1461061157600080fd5b80637146bd081161015e5780637146bd08146105ab578063715018a6146105c05780637ff9b596146105d557600080fd5b80636352211e1461056b57806370a082311461058b57600080fd5b806334918dfd1161022757806342842e0e116101db5780634b2647d2116101c05780634b2647d21461050b57806356d382c51461052b5780635ef78eef1461054b57600080fd5b806342842e0e146104be578063438b6300146104de57600080fd5b80633d00348e1161020c5780633d00348e1461045e5780633e3438651461047e57806340c10f191461049e57600080fd5b806334918dfd146104345780633ccfd60b1461044957600080fd5b80631f0234d81161027e57806327ac36c41161026357806327ac36c4146103e957806330176e13146103fe5780633414d86e1461041e57600080fd5b80631f0234d8146103aa57806323b872dd146103c957600080fd5b8063081812fc116102af578063081812fc1461032d578063095ea7b31461036557806318160ddd1461038757600080fd5b806301ffc9a7146102d657806306fdde031461030b57600080fd5b366102d157005b600080fd5b3480156102e257600080fd5b506102f66102f136600461263b565b6107c5565b60405190151581526020015b60405180910390f35b34801561031757600080fd5b50610320610862565b60405161030291906126b0565b34801561033957600080fd5b5061034d6103483660046126c3565b6108f4565b6040516001600160a01b039091168152602001610302565b34801561037157600080fd5b506103856103803660046126f3565b61098e565b005b34801561039357600080fd5b5061039c610abf565b604051908152602001610302565b3480156103b657600080fd5b50600b546102f690610100900460ff1681565b3480156103d557600080fd5b506103856103e436600461271d565b610acf565b3480156103f557600080fd5b50610385610b56565b34801561040a57600080fd5b506103856104193660046127e5565b610bc1565b34801561042a57600080fd5b5061039c600a5481565b34801561044057600080fd5b50610385610c19565b34801561045557600080fd5b50610385610c89565b34801561046a57600080fd5b506102f661047936600461282e565b610de0565b34801561048a57600080fd5b506103856104993660046126c3565b610e7d565b3480156104aa57600080fd5b506103856104b93660046126f3565b611084565b3480156104ca57600080fd5b506103856104d936600461271d565b6111df565b3480156104ea57600080fd5b506104fe6104f936600461282e565b6111fa565b6040516103029190612849565b34801561051757600080fd5b506102f661052636600461282e565b6112c1565b34801561053757600080fd5b5061038561054636600461282e565b611369565b34801561055757600080fd5b50600c5461034d906001600160a01b031681565b34801561057757600080fd5b5061034d6105863660046126c3565b6113d3565b34801561059757600080fd5b5061039c6105a636600461282e565b61145e565b3480156105b757600080fd5b5061039c601a81565b3480156105cc57600080fd5b506103856114f8565b3480156105e157600080fd5b5061039c60095481565b3480156105f757600080fd5b50600b5461034d906201000090046001600160a01b031681565b34801561061d57600080fd5b506000546001600160a01b031661034d565b34801561063b57600080fd5b5061039c61064a36600461282e565b61154a565b34801561065b57600080fd5b5061038561066a3660046126c3565b6115c4565b34801561067b57600080fd5b5061032061164d565b6103856106923660046126c3565b61165c565b3480156106a357600080fd5b506103856106b236600461288d565b61179b565b3480156106c357600080fd5b506103856106d236600461282e565b6117a6565b3480156106e357600080fd5b506103856106f23660046128c9565b61182e565b34801561070357600080fd5b506103206107123660046126c3565b6118b6565b34801561072357600080fd5b506102f6610732366004612945565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b34801561076c57600080fd5b50600b546102f69060ff1681565b34801561078657600080fd5b5061038561199f565b34801561079b57600080fd5b506103856107aa36600461282e565b611a04565b3480156107bb57600080fd5b5061039c610d0581565b60006001600160e01b031982167f80ac58cd00000000000000000000000000000000000000000000000000000000148061082857506001600160e01b031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b8061085c57507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b03198316145b92915050565b60606001805461087190612978565b80601f016020809104026020016040519081016040528092919081815260200182805461089d90612978565b80156108ea5780601f106108bf576101008083540402835291602001916108ea565b820191906000526020600020905b8154815290600101906020018083116108cd57829003601f168201915b5050505050905090565b6000818152600360205260408120546001600160a01b03166109725760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600560205260409020546001600160a01b031690565b6000610999826113d3565b9050806001600160a01b0316836001600160a01b031603610a225760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f72000000000000000000000000000000000000000000000000000000000000006064820152608401610969565b336001600160a01b0382161480610a3e5750610a3e8133610732565b610ab05760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610969565b610aba8383611c1c565b505050565b6000610aca60075490565b905090565b610ad93382611c8a565b610b4b5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610969565b610aba838383611d81565b6000546001600160a01b03163314610b9e5760405162461bcd60e51b81526020600482018190526024820152600080516020612c338339815191526044820152606401610969565b610bbf610bb36000546001600160a01b031690565b6104b96001601a6129c8565b565b6000546001600160a01b03163314610c095760405162461bcd60e51b81526020600482018190526024820152600080516020612c338339815191526044820152606401610969565b6008610c158282612a2d565b5050565b6000546001600160a01b03163314610c615760405162461bcd60e51b81526020600482018190526024820152600080516020612c338339815191526044820152606401610969565b600b805460ff19811660ff918216159081179092551615610bbf57600b805461ff0019169055565b6000546001600160a01b03163314610cd15760405162461bcd60e51b81526020600482018190526024820152600080516020612c338339815191526044820152606401610969565b4780610d1f5760405162461bcd60e51b815260206004820152601360248201527f496e737566666963656e742062616c616e6365000000000000000000000000006044820152606401610969565b610d5373f40fd88ac59a206d009a07f8c09828a01e2acc0d6064610d44846005612aed565b610d4e9190612b22565b611f4e565b610d7873e59dc42b11e78ba405fe59d2d4215bbe1dc790b86064610d4484600a612aed565b610d9d73ad5ebf58e2fa5dc22357a8b10f4c2ca4d9cf9aee6064610d44846014612aed565b610dc273fe3b88b371cd268645686b1eeba9fb31d10ef8746064610d44846014612aed565b610ddd610dd76000546001600160a01b031690565b47611f4e565b50565b60006001600160a01b038216610df857506000919050565b600c54604051627eeac760e11b81526001600160a01b0384811660048301526101a46024830152600092839291169062fdd58e90604401602060405180830381865afa158015610e4c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e709190612b36565b119392505050565b919050565b600b54610100900460ff16610edf5760405162461bcd60e51b815260206004820152602260248201527f53616c65206d7573742062652061637469766520746f206d696e7420546f6b656044820152616e7360f01b6064820152608401610969565b600b54604051627eeac760e11b81523360048201526000602482015282916201000090046001600160a01b03169062fdd58e90604401602060405180830381865afa158015610f32573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f569190612b36565b1015610fca5760405162461bcd60e51b815260206004820152602c60248201527f507572636861736520776f756c6420657863656564206e756d626572206f662060448201527f6b696b69205469636b65747300000000000000000000000000000000000000006064820152608401610969565b600b546040517ff242432a00000000000000000000000000000000000000000000000000000000815233600482015273ca5771edbf49bf29be9407b0429195e2b95a045560248201526000604482018190526064820184905260a0608483015260a4820152620100009091046001600160a01b03169063f242432a9060c401600060405180830381600087803b15801561106357600080fd5b505af1158015611077573d6000803e3d6000fd5b50505050610ddd81611ff1565b6000546001600160a01b031633146110cc5760405162461bcd60e51b81526020600482018190526024820152600080516020612c338339815191526044820152606401610969565b60006110d6610abf565b9050610d056110e58383612b4f565b11156111595760405162461bcd60e51b815260206004820152602960248201527f5265736572766520776f756c6420657863656564206d617820737570706c792060448201527f6f6620546f6b656e7300000000000000000000000000000000000000000000006064820152608401610969565b601a82106111b35760405162461bcd60e51b815260206004820152602160248201527f43616e206f6e6c79206d696e7420323520746f6b656e7320617420612074696d6044820152606560f81b6064820152608401610969565b60005b828110156111d9576111d1846111cc8385612b4f565b612149565b6001016111b6565b50505050565b610aba8383836040518060200160405280600081525061182e565b606060006112078361145e565b905060008167ffffffffffffffff81111561122457611224612759565b60405190808252806020026020018201604052801561124d578160200160208202803683370190505b5090506000805b8381108015611264575060075482105b156112b757856001600160a01b031661127c836113d3565b6001600160a01b0316036112ac578183828151811061129d5761129d612b67565b60209081029190910101526001015b600190910190611254565b5090949350505050565b60006001600160a01b0382166112d957506000919050565b600b54604051627eeac760e11b81526001600160a01b03848116600483015260006024830181905292620100009004169062fdd58e90604401602060405180830381865afa15801561132f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113539190612b36565b111561136157506001919050565b506000919050565b6000546001600160a01b031633146113b15760405162461bcd60e51b81526020600482018190526024820152600080516020612c338339815191526044820152606401610969565b600c80546001600160a01b0319166001600160a01b0392909216919091179055565b6000818152600360205260408120546001600160a01b03168061085c5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e00000000000000000000000000000000000000000000006064820152608401610969565b60006001600160a01b0382166114dc5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f2061646472657373000000000000000000000000000000000000000000006064820152608401610969565b506001600160a01b031660009081526004602052604090205490565b6000546001600160a01b031633146115405760405162461bcd60e51b81526020600482018190526024820152600080516020612c338339815191526044820152606401610969565b610bbf6000612163565b600b54604051627eeac760e11b81526001600160a01b03838116600483015260006024830181905292620100009004169062fdd58e90604401602060405180830381865afa1580156115a0573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061085c9190612b36565b6000546001600160a01b0316331461160c5760405162461bcd60e51b81526020600482018190526024820152600080516020612c338339815191526044820152606401610969565b600981905560408051338152602081018390527f2a270679203ad5c6be2af882c755f81ff060752614a378c1804df57dd7d2add0910160405180910390a150565b60606002805461087190612978565b33321461166857600080fd5b600b5460ff166116c55760405162461bcd60e51b815260206004820152602260248201527f53616c65206d7573742062652061637469766520746f206d696e7420546f6b656044820152616e7360f01b6064820152608401610969565b6116ce33610de0565b15611735573481600a546116e29190612aed565b11156117305760405162461bcd60e51b815260206004820152601f60248201527f45746865722076616c75652073656e74206973206e6f7420636f7272656374006044820152606401610969565b611792565b34816009546117449190612aed565b11156117925760405162461bcd60e51b815260206004820152601f60248201527f45746865722076616c75652073656e74206973206e6f7420636f7272656374006044820152606401610969565b610ddd81611ff1565b610c153383836121b3565b6000546001600160a01b031633146117ee5760405162461bcd60e51b81526020600482018190526024820152600080516020612c338339815191526044820152606401610969565b600b80546001600160a01b0390921662010000027fffffffffffffffffffff0000000000000000000000000000000000000000ffff909216919091179055565b6118383383611c8a565b6118aa5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610969565b6111d984848484612281565b6000818152600360205260409020546060906001600160a01b03166119435760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006064820152608401610969565b600061194d6122ff565b9050600081511161196d5760405180602001604052806000815250611998565b806119778461230e565b604051602001611988929190612b7d565b6040516020818303038152906040525b9392505050565b6000546001600160a01b031633146119e75760405162461bcd60e51b81526020600482018190526024820152600080516020612c338339815191526044820152606401610969565b600b805461ff001981166101009182900460ff1615909102179055565b6000546001600160a01b03163314611a4c5760405162461bcd60e51b81526020600482018190526024820152600080516020612c338339815191526044820152606401610969565b6001600160a01b038116611ac85760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610969565b610ddd81612163565b6001600160a01b038216611b275760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610969565b6000818152600360205260409020546001600160a01b031615611b8c5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610969565b6001600160a01b0382166000908152600460205260408120805460019290611bb5908490612b4f565b909155505060008181526003602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b80546001019055565b600081815260056020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611c51826113d3565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600360205260408120546001600160a01b0316611d035760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610969565b6000611d0e836113d3565b9050806001600160a01b0316846001600160a01b03161480611d5557506001600160a01b0380821660009081526006602090815260408083209388168352929052205460ff165b80611d795750836001600160a01b0316611d6e846108f4565b6001600160a01b0316145b949350505050565b826001600160a01b0316611d94826113d3565b6001600160a01b031614611e105760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201527f6f776e65720000000000000000000000000000000000000000000000000000006064820152608401610969565b6001600160a01b038216611e8b5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610969565b611e96600082611c1c565b6001600160a01b0383166000908152600460205260408120805460019290611ebf9084906129c8565b90915550506001600160a01b0382166000908152600460205260408120805460019290611eed908490612b4f565b909155505060008181526003602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611f9b576040519150601f19603f3d011682016040523d82523d6000602084013e611fa0565b606091505b5050905080610aba5760405162461bcd60e51b815260206004820152601960248201527f4661696c656420746f20776964746864726177204574686572000000000000006044820152606401610969565b806000036120415760405162461bcd60e51b815260206004820152601860248201527f6e756d6265724f664e6674732063616e6e6f74206265203000000000000000006044820152606401610969565b601a811061209b5760405162461bcd60e51b815260206004820152602160248201527f43616e206f6e6c79206d696e7420323520746f6b656e7320617420612074696d6044820152606560f81b6064820152608401610969565b60006120a5610abf565b9050610d056120b48383612b4f565b11156121285760405162461bcd60e51b815260206004820152602a60248201527f507572636861736520776f756c6420657863656564206d617820737570706c7960448201527f206f6620546f6b656e73000000000000000000000000000000000000000000006064820152608401610969565b60005b82811015610aba57612141336111cc8385612b4f565b60010161212b565b610c15828260405180602001604052806000815250612443565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b816001600160a01b0316836001600160a01b0316036122145760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610969565b6001600160a01b03838116600081815260066020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b61228c848484611d81565b612298848484846124c1565b6111d95760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b6064820152608401610969565b60606008805461087190612978565b60608160000361235157505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b811561237b578061236581612bac565b91506123749050600a83612b22565b9150612355565b60008167ffffffffffffffff81111561239657612396612759565b6040519080825280601f01601f1916602001820160405280156123c0576020820181803683370190505b5090505b8415611d79576123d56001836129c8565b91506123e2600a86612bc5565b6123ed906030612b4f565b60f81b81838151811061240257612402612b67565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535061243c600a86612b22565b94506123c4565b61244d838361260d565b61245a60008484846124c1565b610aba5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b6064820152608401610969565b60006001600160a01b0384163b1561260257604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612505903390899088908890600401612bd9565b6020604051808303816000875af1925050508015612540575060408051601f3d908101601f1916820190925261253d91810190612c15565b60015b6125e8573d80801561256e576040519150601f19603f3d011682016040523d82523d6000602084013e612573565b606091505b5080516000036125e05760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b6064820152608401610969565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611d79565b506001949350505050565b6126178282611ad1565b610c15600780546001019055565b6001600160e01b031981168114610ddd57600080fd5b60006020828403121561264d57600080fd5b813561199881612625565b60005b8381101561267357818101518382015260200161265b565b838111156111d95750506000910152565b6000815180845261269c816020860160208601612658565b601f01601f19169290920160200192915050565b6020815260006119986020830184612684565b6000602082840312156126d557600080fd5b5035919050565b80356001600160a01b0381168114610e7857600080fd5b6000806040838503121561270657600080fd5b61270f836126dc565b946020939093013593505050565b60008060006060848603121561273257600080fd5b61273b846126dc565b9250612749602085016126dc565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561278a5761278a612759565b604051601f8501601f19908116603f011681019082821181831017156127b2576127b2612759565b816040528093508581528686860111156127cb57600080fd5b858560208301376000602087830101525050509392505050565b6000602082840312156127f757600080fd5b813567ffffffffffffffff81111561280e57600080fd5b8201601f8101841361281f57600080fd5b611d798482356020840161276f565b60006020828403121561284057600080fd5b611998826126dc565b6020808252825182820181905260009190848201906040850190845b8181101561288157835183529284019291840191600101612865565b50909695505050505050565b600080604083850312156128a057600080fd5b6128a9836126dc565b9150602083013580151581146128be57600080fd5b809150509250929050565b600080600080608085870312156128df57600080fd5b6128e8856126dc565b93506128f6602086016126dc565b925060408501359150606085013567ffffffffffffffff81111561291957600080fd5b8501601f8101871361292a57600080fd5b6129398782356020840161276f565b91505092959194509250565b6000806040838503121561295857600080fd5b612961836126dc565b915061296f602084016126dc565b90509250929050565b600181811c9082168061298c57607f821691505b6020821081036129ac57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6000828210156129da576129da6129b2565b500390565b601f821115610aba57600081815260208120601f850160051c81016020861015612a065750805b601f850160051c820191505b81811015612a2557828155600101612a12565b505050505050565b815167ffffffffffffffff811115612a4757612a47612759565b612a5b81612a558454612978565b846129df565b602080601f831160018114612a905760008415612a785750858301515b600019600386901b1c1916600185901b178555612a25565b600085815260208120601f198616915b82811015612abf57888601518255948401946001909101908401612aa0565b5085821015612add5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000816000190483118215151615612b0757612b076129b2565b500290565b634e487b7160e01b600052601260045260246000fd5b600082612b3157612b31612b0c565b500490565b600060208284031215612b4857600080fd5b5051919050565b60008219821115612b6257612b626129b2565b500190565b634e487b7160e01b600052603260045260246000fd5b60008351612b8f818460208801612658565b835190830190612ba3818360208801612658565b01949350505050565b600060018201612bbe57612bbe6129b2565b5060010190565b600082612bd457612bd4612b0c565b500690565b60006001600160a01b03808716835280861660208401525083604083015260806060830152612c0b6080830184612684565b9695505050505050565b600060208284031215612c2757600080fd5b81516119988161262556fe4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572a264697066735822122036b51f0acbc94f41902961d7891324a505d77088fdf249d8a329e5567f069b7f64736f6c634300080f0033

Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.