ETH Price: $3,411.64 (+1.70%)
Gas: 6.23 Gwei

Token

Kuroki Nft (KKI)
 

Overview

Max Total Supply

30,991 KKI

Holders

29,479

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
0 KKI
0xb58167e162dc1e9b1b8d6ed5257af42b55440e0a
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:
KurokiNft

Compiler Version
v0.8.13+commit.abaa5c0e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 1 : KurokiNft.sol
/**
 *Submitted for verification at Etherscan.io on 2022-05-05
*/

// SPDX-License-Identifier: MIT
/**

                                                                                                                          
*/
pragma solidity ^0.8.9;

/**
 * @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;
    }
}

/**
 * @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);
}

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

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

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

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

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

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

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

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

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

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

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

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



/**
 * @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);
}



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

/**
 * @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;
    }
}

/**
 * @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));
    }

    function isContractOwner() public virtual returns (bool) {
        return (_owner == _msgSender());
    }

    /**
     * @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);
    }
}




abstract contract Target721 { 
    function ownerOf(uint256 tokenId) public view virtual returns (address);
}




/**
 * @title Gutter Punks Flyer contract.
 * @author The Gutter Punks team.
 *
 * @notice Airdrops a flyer to Invisible Friends holders.
 *
 */
contract KurokiNft is Context, ERC165, IERC721, IERC721Metadata, Ownable {
    
    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 from token ID to approved address
    mapping(uint256 => address) private _tokenApprovals;

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

    mapping(uint256 => bool) private _tokenBifurcated;

    string internal _baseTokenURI = "ipfs://QmWFj1S2TUSnn3XzN2wnNfdPk2eyFzrEZCfRf5qFkXCZ9i";
    string internal _contractURI;

    uint256 internal _totalSupply;
    uint256 internal MAX_TOKEN_ID; 
	
	bool internal burnAirdrop = false;

    Target721 _target = Target721(0xED5AF388653567Af2F388E6224dC7C4b3241C544);


    constructor() {
        _name = "Kuroki Nft";
        _symbol = "KKI";
    }

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

    function setTargetContract(address contractAddress) external onlyOwner { 
        _target = Target721(contractAddress);
    }

    function balanceOf(address owner) public view virtual override returns (uint256) {
        require(owner != address(0), "ERC721: balance query for the zero address");
        uint256 balance = 0;
        for(uint256 i = 0;i <= MAX_TOKEN_ID;i++) {
           if(_ownerOf(i) == owner) { balance++; }
        }
        return balance;
    }

    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        address owner = _ownerOf(tokenId);
        require(owner != address(0), "ERC721: owner query for nonexistent token");
        return owner;
    }

    function _ownerOf(uint256 tokenId) internal view virtual returns (address) {
        address owner = _owners[tokenId];
        if(owner == address(0) && !_tokenBifurcated[tokenId] && !burnAirdrop) {
           try _target.ownerOf(tokenId) returns (address result) { owner = result; } catch { owner = address(0); }
        }
        return owner;
    }

    function name() public view virtual override returns (string memory) {
        return _name;
    }

    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    function approve(address to, uint256 tokenId) public virtual override {
        address owner = 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);
    }

    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        require(_exists(tokenId), "ERC721: approved query for nonexistent token");
        address approved = _tokenApprovals[tokenId];
        return approved;
    }

    function setApprovalForAll(address operator, bool approved) public virtual override {
        _setApprovalForAll(_msgSender(), operator, approved);
    }

    function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {
        return _operatorApprovals[owner][operator];
    }

    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);
    }

    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        safeTransferFrom(from, to, tokenId, "");
    }

    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);
    }

    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");
    }

    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return _owners[tokenId] != address(0) || _target.ownerOf(tokenId) != address(0);
    }

    function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {
        require(_exists(tokenId), "ERC721: operator query for nonexistent token");
        address owner = ownerOf(tokenId);
        return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender));
    }

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

    function _burn(uint256 tokenId) internal virtual {
        address owner = ownerOf(tokenId);
        require(owner == _msgSender(), "Must own token to burn.");

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

        // Clear approvals
        _approve(address(0), tokenId);
        unchecked { 
           if(!_tokenBifurcated[tokenId]) { _tokenBifurcated[tokenId] = true; }
           _totalSupply -= 1;
        }
        delete _owners[tokenId];

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

    function _transfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {
        require(ownerOf(tokenId) == from, "ERC721: transfer of token that is not own");
        require(to != address(0), "ERC721: transfer to the zero address");

        _beforeTokenTransfer(from, to, tokenId);

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

        emit Transfer(from, to, tokenId);
    }

    function _approve(address to, uint256 tokenId) internal virtual {
        _tokenApprovals[tokenId] = to;
        emit Approval(ownerOf(tokenId), to, tokenId);
    }

    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);
    }

    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;
        }
    }

    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}


    function setURI(string calldata baseURI) external onlyOwner {
        _baseTokenURI = baseURI;
    }

    function setBurnAirdrop(bool setBurn) external onlyOwner {
        burnAirdrop = setBurn;
    }

    function giftAirdrop(address[] calldata recipients) external onlyOwner {
        uint256 startingSupply = _totalSupply;

        // Update the total supply.
        _totalSupply = startingSupply + recipients.length;

        // Note: First token has ID #0.
        for (uint256 i = 0; i < recipients.length; i++) {
            _mint(recipients[i], startingSupply + i);
        }
        if((startingSupply + recipients.length - 1) > MAX_TOKEN_ID) { MAX_TOKEN_ID = (startingSupply + recipients.length - 1); } 
    }

    function bifurcateToken(uint256 tokenId) external { 
        address owner = ownerOf(tokenId);
        require(owner == _msgSender() || isContractOwner(), "Must own token to bifurcate.");
        _tokenBifurcated[tokenId] = true; 
        unchecked { 
           _owners[tokenId] = owner;
        }
    }
    function burn(uint256 tokenId) external { 
        _burn(tokenId);
    }
	
    function emitTransfers(uint256[] calldata tokenId, address[] calldata from, address[] calldata to) external onlyOwner { 
       require(tokenId.length == from.length && from.length == to.length, "Arrays do not match.");
       for(uint256 i = 0;i < tokenId.length;i++) { 
           if(_owners[tokenId[i]] == address(0)) { 
              emit Transfer(from[i], to[i], tokenId[i]);
           } 
       }
    }

    function contractURI() external view returns (string memory) {
        return _contractURI;
    }

    function tokenURI(uint256 tokenId) public view override returns (string memory) {
        require(
            _exists(tokenId),
            "ERC721Metadata: URI query for nonexistent token"
        );
        
        return _baseTokenURI;
    }

    function totalSupply() public view returns (uint256) {
        return _totalSupply;
    }
}


/**
 * @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);
    }
}


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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Settings
{
  "remappings": [],
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "evmVersion": "london",
  "libraries": {},
  "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"},{"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":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"bifurcateToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenId","type":"uint256[]"},{"internalType":"address[]","name":"from","type":"address[]"},{"internalType":"address[]","name":"to","type":"address[]"}],"name":"emitTransfers","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":"recipients","type":"address[]"}],"name":"giftAirdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isContractOwner","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","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":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"setBurn","type":"bool"}],"name":"setBurnAirdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"contractAddress","type":"address"}],"name":"setTargetContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"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"}]

60e0604052603560808181529062001ea360a0398051620000299160079160209091019062000121565b50600b80546001600160a81b03191674ed5af388653567af2f388e6224dc7c4b3241c544001790553480156200005e57600080fd5b506200006a33620000d1565b60408051808201909152600a8082526912dd5c9bdada4813999d60b21b60209092019182526200009d9160019162000121565b50604080518082019091526003808252624b4b4960e81b6020909201918252620000ca9160029162000121565b5062000203565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b8280546200012f90620001c7565b90600052602060002090601f0160209004810192826200015357600085556200019e565b82601f106200016e57805160ff19168380011785556200019e565b828001600101855582156200019e579182015b828111156200019e57825182559160200191906001019062000181565b50620001ac929150620001b0565b5090565b5b80821115620001ac5760008155600101620001b1565b600181811c90821680620001dc57607f821691505b602082108103620001fd57634e487b7160e01b600052602260045260246000fd5b50919050565b611c9080620002136000396000f3fe608060405234801561001057600080fd5b506004361061018e5760003560e01c806370a08231116100de578063b88d4fde11610097578063e8a3d48511610071578063e8a3d4851461034e578063e985e9c514610356578063f0d6f8ef14610392578063f2fde38b146103a557600080fd5b8063b88d4fde14610315578063c87b56dd14610328578063df1e2f281461033b57600080fd5b806370a08231146102ba578063715018a6146102cd5780637f7dcdbf146102d55780638da5cb5b146102e957806395d89b41146102fa578063a22cb4651461030257600080fd5b806318160ddd1161014b57806342966c681161012557806342966c681461026e57806342d8c7d51461028157806347fc822f146102945780636352211e146102a757600080fd5b806318160ddd1461023657806323b872dd1461024857806342842e0e1461025b57600080fd5b806301ffc9a71461019357806302fe5305146101bb57806306fdde03146101d0578063081812fc146101e5578063095ea7b31461021057806317495dde14610223575b600080fd5b6101a66101a13660046115da565b6103b8565b60405190151581526020015b60405180910390f35b6101ce6101c93660046115f7565b61040a565b005b6101d861044e565b6040516101b291906116b6565b6101f86101f33660046116c9565b6104e0565b6040516001600160a01b0390911681526020016101b2565b6101ce61021e3660046116f7565b610568565b6101ce610231366004611738565b610678565b6009545b6040519081526020016101b2565b6101ce610256366004611753565b6106b5565b6101ce610269366004611753565b6106e6565b6101ce61027c3660046116c9565b610701565b6101ce61028f3660046117e0565b61070d565b6101ce6102a236600461187a565b610881565b6101f86102b53660046116c9565b6108d3565b61023a6102c836600461187a565b610949565b6101ce610a09565b6101a66000546001600160a01b0316331490565b6000546001600160a01b03166101f8565b6101d8610a3f565b6101ce610310366004611897565b610a4e565b6101ce6103233660046118e2565b610a5d565b6101d86103363660046116c9565b610a95565b6101ce6103493660046119c2565b610b96565b6101d8610c64565b6101a6610364366004611a04565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b6101ce6103a03660046116c9565b610c73565b6101ce6103b336600461187a565b610d37565b60006001600160e01b031982166380ac58cd60e01b14806103e957506001600160e01b03198216635b5e139f60e01b145b8061040457506301ffc9a760e01b6001600160e01b03198316145b92915050565b6000546001600160a01b0316331461043d5760405162461bcd60e51b815260040161043490611a3d565b60405180910390fd5b6104496007838361152b565b505050565b60606001805461045d90611a72565b80601f016020809104026020016040519081016040528092919081815260200182805461048990611a72565b80156104d65780601f106104ab576101008083540402835291602001916104d6565b820191906000526020600020905b8154815290600101906020018083116104b957829003601f168201915b5050505050905090565b60006104eb82610dcf565b61054c5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610434565b506000908152600460205260409020546001600160a01b031690565b6000610573826108d3565b9050806001600160a01b0316836001600160a01b0316036105e05760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610434565b336001600160a01b03821614806105fc57506105fc8133610364565b61066e5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610434565b6104498383610e73565b6000546001600160a01b031633146106a25760405162461bcd60e51b815260040161043490611a3d565b600b805460ff1916911515919091179055565b6106bf3382610ee1565b6106db5760405162461bcd60e51b815260040161043490611aac565b610449838383610fcb565b61044983838360405180602001604052806000815250610a5d565b61070a816110fd565b50565b6000546001600160a01b031633146107375760405162461bcd60e51b815260040161043490611a3d565b848314801561074557508281145b6107885760405162461bcd60e51b815260206004820152601460248201527320b93930bcb9903237903737ba1036b0ba31b41760611b6044820152606401610434565b60005b858110156108785760006003818989858181106107aa576107aa611afd565b60209081029290920135835250810191909152604001600020546001600160a01b031603610866578686828181106107e4576107e4611afd565b905060200201358383838181106107fd576107fd611afd565b9050602002016020810190610812919061187a565b6001600160a01b031686868481811061082d5761082d611afd565b9050602002016020810190610842919061187a565b6001600160a01b0316600080516020611c3b83398151915260405160405180910390a45b8061087081611b29565b91505061078b565b50505050505050565b6000546001600160a01b031633146108ab5760405162461bcd60e51b815260040161043490611a3d565b600b80546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b6000806108df836111ea565b90506001600160a01b0381166104045760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610434565b60006001600160a01b0382166109b45760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610434565b6000805b600a548111610a0257836001600160a01b03166109d4826111ea565b6001600160a01b0316036109f057816109ec81611b29565b9250505b806109fa81611b29565b9150506109b8565b5092915050565b6000546001600160a01b03163314610a335760405162461bcd60e51b815260040161043490611a3d565b610a3d60006112af565b565b60606002805461045d90611a72565b610a593383836112ff565b5050565b610a673383610ee1565b610a835760405162461bcd60e51b815260040161043490611aac565b610a8f848484846113cd565b50505050565b6060610aa082610dcf565b610b045760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610434565b60078054610b1190611a72565b80601f0160208091040260200160405190810160405280929190818152602001828054610b3d90611a72565b8015610b8a5780601f10610b5f57610100808354040283529160200191610b8a565b820191906000526020600020905b815481529060010190602001808311610b6d57829003601f168201915b50505050509050919050565b6000546001600160a01b03163314610bc05760405162461bcd60e51b815260040161043490611a3d565b600954610bcd8282611b42565b60095560005b82811015610c2657610c14848483818110610bf057610bf0611afd565b9050602002016020810190610c05919061187a565b610c0f8385611b42565b611400565b80610c1e81611b29565b915050610bd3565b50600a546001610c368484611b42565b610c409190611b5a565b1115610449576001610c528383611b42565b610c5c9190611b5a565b600a55505050565b60606008805461045d90611a72565b6000610c7e826108d3565b90506001600160a01b038116331480610ca65750610ca66000546001600160a01b0316331490565b610cf25760405162461bcd60e51b815260206004820152601c60248201527f4d757374206f776e20746f6b656e20746f206269667572636174652e000000006044820152606401610434565b6000918252600660209081526040808420805460ff19166001179055600390915290912080546001600160a01b039092166001600160a01b0319909216919091179055565b6000546001600160a01b03163314610d615760405162461bcd60e51b815260040161043490611a3d565b6001600160a01b038116610dc65760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610434565b61070a816112af565b6000818152600360205260408120546001600160a01b03161515806104045750600b546040516331a9108f60e11b81526004810184905260009161010090046001600160a01b031690636352211e90602401602060405180830381865afa158015610e3e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e629190611b71565b6001600160a01b0316141592915050565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610ea8826108d3565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000610eec82610dcf565b610f4d5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610434565b6000610f58836108d3565b9050806001600160a01b0316846001600160a01b03161480610f935750836001600160a01b0316610f88846104e0565b6001600160a01b0316145b80610fc357506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b0316610fde826108d3565b6001600160a01b0316146110465760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610434565b6001600160a01b0382166110a85760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610434565b6110b3600082610e73565b60008181526003602052604080822080546001600160a01b0319166001600160a01b038681169182179092559151849391871691600080516020611c3b83398151915291a4505050565b6000611108826108d3565b90506001600160a01b03811633146111625760405162461bcd60e51b815260206004820152601760248201527f4d757374206f776e20746f6b656e20746f206275726e2e0000000000000000006044820152606401610434565b61116d600083610e73565b60008281526006602052604090205460ff1661119d576000828152600660205260409020805460ff191660011790555b6009805460001901905560008281526003602052604080822080546001600160a01b0319169055518391906001600160a01b03841690600080516020611c3b833981519152908390a45050565b6000818152600360205260408120546001600160a01b03168015801561121f575060008381526006602052604090205460ff16155b801561122e5750600b5460ff16155b1561040457600b546040516331a9108f60e11b8152600481018590526101009091046001600160a01b031690636352211e90602401602060405180830381865afa92505050801561129c575060408051601f3d908101601f1916820190925261129991810190611b71565b60015b6112a857506000610404565b9392505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b816001600160a01b0316836001600160a01b0316036113605760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610434565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6113d8848484610fcb565b6113e48484848461142a565b610a8f5760405162461bcd60e51b815260040161043490611b8e565b60405181906001600160a01b03841690600090600080516020611c3b833981519152908290a45050565b60006001600160a01b0384163b1561152057604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061146e903390899088908890600401611be0565b6020604051808303816000875af19250505080156114a9575060408051601f3d908101601f191682019092526114a691810190611c1d565b60015b611506573d8080156114d7576040519150601f19603f3d011682016040523d82523d6000602084013e6114dc565b606091505b5080516000036114fe5760405162461bcd60e51b815260040161043490611b8e565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610fc3565b506001949350505050565b82805461153790611a72565b90600052602060002090601f016020900481019282611559576000855561159f565b82601f106115725782800160ff1982351617855561159f565b8280016001018555821561159f579182015b8281111561159f578235825591602001919060010190611584565b506115ab9291506115af565b5090565b5b808211156115ab57600081556001016115b0565b6001600160e01b03198116811461070a57600080fd5b6000602082840312156115ec57600080fd5b81356112a8816115c4565b6000806020838503121561160a57600080fd5b823567ffffffffffffffff8082111561162257600080fd5b818501915085601f83011261163657600080fd5b81358181111561164557600080fd5b86602082850101111561165757600080fd5b60209290920196919550909350505050565b6000815180845260005b8181101561168f57602081850181015186830182015201611673565b818111156116a1576000602083870101525b50601f01601f19169290920160200192915050565b6020815260006112a86020830184611669565b6000602082840312156116db57600080fd5b5035919050565b6001600160a01b038116811461070a57600080fd5b6000806040838503121561170a57600080fd5b8235611715816116e2565b946020939093013593505050565b8035801515811461173357600080fd5b919050565b60006020828403121561174a57600080fd5b6112a882611723565b60008060006060848603121561176857600080fd5b8335611773816116e2565b92506020840135611783816116e2565b929592945050506040919091013590565b60008083601f8401126117a657600080fd5b50813567ffffffffffffffff8111156117be57600080fd5b6020830191508360208260051b85010111156117d957600080fd5b9250929050565b600080600080600080606087890312156117f957600080fd5b863567ffffffffffffffff8082111561181157600080fd5b61181d8a838b01611794565b9098509650602089013591508082111561183657600080fd5b6118428a838b01611794565b9096509450604089013591508082111561185b57600080fd5b5061186889828a01611794565b979a9699509497509295939492505050565b60006020828403121561188c57600080fd5b81356112a8816116e2565b600080604083850312156118aa57600080fd5b82356118b5816116e2565b91506118c360208401611723565b90509250929050565b634e487b7160e01b600052604160045260246000fd5b600080600080608085870312156118f857600080fd5b8435611903816116e2565b93506020850135611913816116e2565b925060408501359150606085013567ffffffffffffffff8082111561193757600080fd5b818701915087601f83011261194b57600080fd5b81358181111561195d5761195d6118cc565b604051601f8201601f19908116603f01168101908382118183101715611985576119856118cc565b816040528281528a602084870101111561199e57600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b600080602083850312156119d557600080fd5b823567ffffffffffffffff8111156119ec57600080fd5b6119f885828601611794565b90969095509350505050565b60008060408385031215611a1757600080fd5b8235611a22816116e2565b91506020830135611a32816116e2565b809150509250929050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600181811c90821680611a8657607f821691505b602082108103611aa657634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600060018201611b3b57611b3b611b13565b5060010190565b60008219821115611b5557611b55611b13565b500190565b600082821015611b6c57611b6c611b13565b500390565b600060208284031215611b8357600080fd5b81516112a8816116e2565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611c1390830184611669565b9695505050505050565b600060208284031215611c2f57600080fd5b81516112a8816115c456feddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa2646970667358221220f9bdae45970c0611e640f6b6468cb8a7f59d4cf066fe76e9f3c735e3ebfb66d764736f6c634300080d0033697066733a2f2f516d57466a3153325455536e6e33587a4e32776e4e6664506b326579467a72455a436652663571466b58435a3969

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061018e5760003560e01c806370a08231116100de578063b88d4fde11610097578063e8a3d48511610071578063e8a3d4851461034e578063e985e9c514610356578063f0d6f8ef14610392578063f2fde38b146103a557600080fd5b8063b88d4fde14610315578063c87b56dd14610328578063df1e2f281461033b57600080fd5b806370a08231146102ba578063715018a6146102cd5780637f7dcdbf146102d55780638da5cb5b146102e957806395d89b41146102fa578063a22cb4651461030257600080fd5b806318160ddd1161014b57806342966c681161012557806342966c681461026e57806342d8c7d51461028157806347fc822f146102945780636352211e146102a757600080fd5b806318160ddd1461023657806323b872dd1461024857806342842e0e1461025b57600080fd5b806301ffc9a71461019357806302fe5305146101bb57806306fdde03146101d0578063081812fc146101e5578063095ea7b31461021057806317495dde14610223575b600080fd5b6101a66101a13660046115da565b6103b8565b60405190151581526020015b60405180910390f35b6101ce6101c93660046115f7565b61040a565b005b6101d861044e565b6040516101b291906116b6565b6101f86101f33660046116c9565b6104e0565b6040516001600160a01b0390911681526020016101b2565b6101ce61021e3660046116f7565b610568565b6101ce610231366004611738565b610678565b6009545b6040519081526020016101b2565b6101ce610256366004611753565b6106b5565b6101ce610269366004611753565b6106e6565b6101ce61027c3660046116c9565b610701565b6101ce61028f3660046117e0565b61070d565b6101ce6102a236600461187a565b610881565b6101f86102b53660046116c9565b6108d3565b61023a6102c836600461187a565b610949565b6101ce610a09565b6101a66000546001600160a01b0316331490565b6000546001600160a01b03166101f8565b6101d8610a3f565b6101ce610310366004611897565b610a4e565b6101ce6103233660046118e2565b610a5d565b6101d86103363660046116c9565b610a95565b6101ce6103493660046119c2565b610b96565b6101d8610c64565b6101a6610364366004611a04565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b6101ce6103a03660046116c9565b610c73565b6101ce6103b336600461187a565b610d37565b60006001600160e01b031982166380ac58cd60e01b14806103e957506001600160e01b03198216635b5e139f60e01b145b8061040457506301ffc9a760e01b6001600160e01b03198316145b92915050565b6000546001600160a01b0316331461043d5760405162461bcd60e51b815260040161043490611a3d565b60405180910390fd5b6104496007838361152b565b505050565b60606001805461045d90611a72565b80601f016020809104026020016040519081016040528092919081815260200182805461048990611a72565b80156104d65780601f106104ab576101008083540402835291602001916104d6565b820191906000526020600020905b8154815290600101906020018083116104b957829003601f168201915b5050505050905090565b60006104eb82610dcf565b61054c5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610434565b506000908152600460205260409020546001600160a01b031690565b6000610573826108d3565b9050806001600160a01b0316836001600160a01b0316036105e05760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610434565b336001600160a01b03821614806105fc57506105fc8133610364565b61066e5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610434565b6104498383610e73565b6000546001600160a01b031633146106a25760405162461bcd60e51b815260040161043490611a3d565b600b805460ff1916911515919091179055565b6106bf3382610ee1565b6106db5760405162461bcd60e51b815260040161043490611aac565b610449838383610fcb565b61044983838360405180602001604052806000815250610a5d565b61070a816110fd565b50565b6000546001600160a01b031633146107375760405162461bcd60e51b815260040161043490611a3d565b848314801561074557508281145b6107885760405162461bcd60e51b815260206004820152601460248201527320b93930bcb9903237903737ba1036b0ba31b41760611b6044820152606401610434565b60005b858110156108785760006003818989858181106107aa576107aa611afd565b60209081029290920135835250810191909152604001600020546001600160a01b031603610866578686828181106107e4576107e4611afd565b905060200201358383838181106107fd576107fd611afd565b9050602002016020810190610812919061187a565b6001600160a01b031686868481811061082d5761082d611afd565b9050602002016020810190610842919061187a565b6001600160a01b0316600080516020611c3b83398151915260405160405180910390a45b8061087081611b29565b91505061078b565b50505050505050565b6000546001600160a01b031633146108ab5760405162461bcd60e51b815260040161043490611a3d565b600b80546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b6000806108df836111ea565b90506001600160a01b0381166104045760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610434565b60006001600160a01b0382166109b45760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610434565b6000805b600a548111610a0257836001600160a01b03166109d4826111ea565b6001600160a01b0316036109f057816109ec81611b29565b9250505b806109fa81611b29565b9150506109b8565b5092915050565b6000546001600160a01b03163314610a335760405162461bcd60e51b815260040161043490611a3d565b610a3d60006112af565b565b60606002805461045d90611a72565b610a593383836112ff565b5050565b610a673383610ee1565b610a835760405162461bcd60e51b815260040161043490611aac565b610a8f848484846113cd565b50505050565b6060610aa082610dcf565b610b045760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610434565b60078054610b1190611a72565b80601f0160208091040260200160405190810160405280929190818152602001828054610b3d90611a72565b8015610b8a5780601f10610b5f57610100808354040283529160200191610b8a565b820191906000526020600020905b815481529060010190602001808311610b6d57829003601f168201915b50505050509050919050565b6000546001600160a01b03163314610bc05760405162461bcd60e51b815260040161043490611a3d565b600954610bcd8282611b42565b60095560005b82811015610c2657610c14848483818110610bf057610bf0611afd565b9050602002016020810190610c05919061187a565b610c0f8385611b42565b611400565b80610c1e81611b29565b915050610bd3565b50600a546001610c368484611b42565b610c409190611b5a565b1115610449576001610c528383611b42565b610c5c9190611b5a565b600a55505050565b60606008805461045d90611a72565b6000610c7e826108d3565b90506001600160a01b038116331480610ca65750610ca66000546001600160a01b0316331490565b610cf25760405162461bcd60e51b815260206004820152601c60248201527f4d757374206f776e20746f6b656e20746f206269667572636174652e000000006044820152606401610434565b6000918252600660209081526040808420805460ff19166001179055600390915290912080546001600160a01b039092166001600160a01b0319909216919091179055565b6000546001600160a01b03163314610d615760405162461bcd60e51b815260040161043490611a3d565b6001600160a01b038116610dc65760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610434565b61070a816112af565b6000818152600360205260408120546001600160a01b03161515806104045750600b546040516331a9108f60e11b81526004810184905260009161010090046001600160a01b031690636352211e90602401602060405180830381865afa158015610e3e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e629190611b71565b6001600160a01b0316141592915050565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610ea8826108d3565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000610eec82610dcf565b610f4d5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610434565b6000610f58836108d3565b9050806001600160a01b0316846001600160a01b03161480610f935750836001600160a01b0316610f88846104e0565b6001600160a01b0316145b80610fc357506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b0316610fde826108d3565b6001600160a01b0316146110465760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610434565b6001600160a01b0382166110a85760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610434565b6110b3600082610e73565b60008181526003602052604080822080546001600160a01b0319166001600160a01b038681169182179092559151849391871691600080516020611c3b83398151915291a4505050565b6000611108826108d3565b90506001600160a01b03811633146111625760405162461bcd60e51b815260206004820152601760248201527f4d757374206f776e20746f6b656e20746f206275726e2e0000000000000000006044820152606401610434565b61116d600083610e73565b60008281526006602052604090205460ff1661119d576000828152600660205260409020805460ff191660011790555b6009805460001901905560008281526003602052604080822080546001600160a01b0319169055518391906001600160a01b03841690600080516020611c3b833981519152908390a45050565b6000818152600360205260408120546001600160a01b03168015801561121f575060008381526006602052604090205460ff16155b801561122e5750600b5460ff16155b1561040457600b546040516331a9108f60e11b8152600481018590526101009091046001600160a01b031690636352211e90602401602060405180830381865afa92505050801561129c575060408051601f3d908101601f1916820190925261129991810190611b71565b60015b6112a857506000610404565b9392505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b816001600160a01b0316836001600160a01b0316036113605760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610434565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6113d8848484610fcb565b6113e48484848461142a565b610a8f5760405162461bcd60e51b815260040161043490611b8e565b60405181906001600160a01b03841690600090600080516020611c3b833981519152908290a45050565b60006001600160a01b0384163b1561152057604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061146e903390899088908890600401611be0565b6020604051808303816000875af19250505080156114a9575060408051601f3d908101601f191682019092526114a691810190611c1d565b60015b611506573d8080156114d7576040519150601f19603f3d011682016040523d82523d6000602084013e6114dc565b606091505b5080516000036114fe5760405162461bcd60e51b815260040161043490611b8e565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610fc3565b506001949350505050565b82805461153790611a72565b90600052602060002090601f016020900481019282611559576000855561159f565b82601f106115725782800160ff1982351617855561159f565b8280016001018555821561159f579182015b8281111561159f578235825591602001919060010190611584565b506115ab9291506115af565b5090565b5b808211156115ab57600081556001016115b0565b6001600160e01b03198116811461070a57600080fd5b6000602082840312156115ec57600080fd5b81356112a8816115c4565b6000806020838503121561160a57600080fd5b823567ffffffffffffffff8082111561162257600080fd5b818501915085601f83011261163657600080fd5b81358181111561164557600080fd5b86602082850101111561165757600080fd5b60209290920196919550909350505050565b6000815180845260005b8181101561168f57602081850181015186830182015201611673565b818111156116a1576000602083870101525b50601f01601f19169290920160200192915050565b6020815260006112a86020830184611669565b6000602082840312156116db57600080fd5b5035919050565b6001600160a01b038116811461070a57600080fd5b6000806040838503121561170a57600080fd5b8235611715816116e2565b946020939093013593505050565b8035801515811461173357600080fd5b919050565b60006020828403121561174a57600080fd5b6112a882611723565b60008060006060848603121561176857600080fd5b8335611773816116e2565b92506020840135611783816116e2565b929592945050506040919091013590565b60008083601f8401126117a657600080fd5b50813567ffffffffffffffff8111156117be57600080fd5b6020830191508360208260051b85010111156117d957600080fd5b9250929050565b600080600080600080606087890312156117f957600080fd5b863567ffffffffffffffff8082111561181157600080fd5b61181d8a838b01611794565b9098509650602089013591508082111561183657600080fd5b6118428a838b01611794565b9096509450604089013591508082111561185b57600080fd5b5061186889828a01611794565b979a9699509497509295939492505050565b60006020828403121561188c57600080fd5b81356112a8816116e2565b600080604083850312156118aa57600080fd5b82356118b5816116e2565b91506118c360208401611723565b90509250929050565b634e487b7160e01b600052604160045260246000fd5b600080600080608085870312156118f857600080fd5b8435611903816116e2565b93506020850135611913816116e2565b925060408501359150606085013567ffffffffffffffff8082111561193757600080fd5b818701915087601f83011261194b57600080fd5b81358181111561195d5761195d6118cc565b604051601f8201601f19908116603f01168101908382118183101715611985576119856118cc565b816040528281528a602084870101111561199e57600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b600080602083850312156119d557600080fd5b823567ffffffffffffffff8111156119ec57600080fd5b6119f885828601611794565b90969095509350505050565b60008060408385031215611a1757600080fd5b8235611a22816116e2565b91506020830135611a32816116e2565b809150509250929050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600181811c90821680611a8657607f821691505b602082108103611aa657634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600060018201611b3b57611b3b611b13565b5060010190565b60008219821115611b5557611b55611b13565b500190565b600082821015611b6c57611b6c611b13565b500390565b600060208284031215611b8357600080fd5b81516112a8816116e2565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611c1390830184611669565b9695505050505050565b600060208284031215611c2f57600080fd5b81516112a8816115c456feddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa2646970667358221220f9bdae45970c0611e640f6b6468cb8a7f59d4cf066fe76e9f3c735e3ebfb66d764736f6c634300080d0033

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.