ETH Price: $3,464.03 (+3.91%)
Gas: 5.02 Gwei

Token

Psilocybin (Psilocybin)
 

Overview

Max Total Supply

4,547 Psilocybin

Holders

1,879

Market

Volume (24H)

0.0208 ETH

Min Price (24H)

$31.18 @ 0.009000 ETH

Max Price (24H)

$40.88 @ 0.011800 ETH

Other Info

Filtered by Token Holder
jhenn.eth
Balance
1 Psilocybin
0x7b15d62b1fcf15ddd99fc09235d6492737c1e630
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:
Psilocybin

Compiler Version
v0.8.13+commit.abaa5c0e

Optimization Enabled:
Yes with 10000 runs

Other Settings:
default evmVersion
File 1 of 14 : Psilocybin.sol
// SPDX-License-Identifier: MIT OR Apache-2.0
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "./eReentrantGuard.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/interfaces/IERC2981.sol";

contract OwnableDelegateProxy {}

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

interface Component {
    function ownerOf(uint256 tokenId) external view returns (address);

    function balanceOf(address owner) external view returns (uint256);

    function burn(uint256 tokenId) external;
}

contract Psilocybin is
    ERC721("Psilocybin", "Psilocybin"),
    IERC2981,
    Ownable,
    nonReentrant
{
    using Strings for uint256;

    string public baseUnrevealedURI =
        "ipfs://QmU6jskNygLHYQ88P1oeJcxJyLKYRACGFiyHcuYNuRGPsg";
    string public baseRevealedURI = "";

    uint16 internal tokenCount = 1;
    uint8 public royaltyDivisor = 20;
    bool public saleIsActive = false;
    bool public isRevealed = false;
    bool private isOpenSeaProxyActive = true;

    address internal openSeaProxyRegistryAddress =
        0xa5409ec958C83C3f309868babACA7c86DCB077c1;

    mapping(uint256 => bool) public pappUsed;

    Component public PAPP =
        Component(0xC8E1de8Dc39a758C7a50F659b53F787e0F1398BD);
    Component public C1 = Component(0x5501024dDb740266Fa0d69d19809EC86dB5E3f8b);
    Component public C2 = Component(0xA7B6cb932EEcACd956454317d59c49AA317e3C57);
    Component public C3 = Component(0xc8Cc20febE260C62A9717534442D4E499F9DE741);

    /**
     * SETTERS
     */

    function setBaseURI(
        string memory _unrevealedUri,
        string memory _revealedUri
    ) external onlyOwner {
        baseUnrevealedURI = _unrevealedUri;
        baseRevealedURI = _revealedUri;
    }

    function setComponents(
        Component _papp,
        Component _c1,
        Component _c2,
        Component _c3
    ) external onlyOwner {
        PAPP = _papp;
        C1 = _c1;
        C2 = _c2;
        C3 = _c3;
    }

    function switchSaleState() external onlyOwner {
        saleIsActive = !saleIsActive;
    }

    function switchIsRevealed() external onlyOwner {
        isRevealed = !isRevealed;
    }

    function setRoyaltyDivisor(uint8 _divisor) external onlyOwner {
        royaltyDivisor = _divisor;
    }

    function setIsOpenSeaProxyActive(bool _isActive) external onlyOwner {
        isOpenSeaProxyActive = _isActive;
    }

    function setOpenSeaProxyAddress(address _address) external onlyOwner {
        openSeaProxyRegistryAddress = _address;
    }

    /**
     * USER FUNCTIONS
     */

    function totalSupply() external view returns (uint256) {
        return tokenCount - 1;
    }

    /** @dev User will need to approve all burning before calling this function */
    function claim(
        uint256 _PAPPid,
        uint256 _C1id,
        uint256 _C2id,
        uint256 _C3id
    ) external reentryLock {
        require(saleIsActive, "Sale is not active");
        require(PAPP.ownerOf(_PAPPid) == msg.sender, "Invalid PAPP");
        require(!pappUsed[_PAPPid], "PAPP has been used");

        try C1.burn(_C1id) {} catch Error(string memory reason) {
            revert(string(abi.encodePacked("C1: ", reason)));
        }
        try C2.burn(_C2id) {} catch Error(string memory reason) {
            revert(string(abi.encodePacked("C2: ", reason)));
        }
        try C3.burn(_C3id) {} catch Error(string memory reason) {
            revert(string(abi.encodePacked("C3: ", reason)));
        }

        pappUsed[_PAPPid] = true;

        _mint(msg.sender, tokenCount++);
    }

    function burn(uint256 tokenId) public {
        require(
            _isApprovedOrOwner(_msgSender(), tokenId),
            "caller is not owner nor approved"
        );
        _burn(tokenId);
    }

    /** @dev This will be used to mint extra C3 for giveaways */
    function ownerMint(uint256 _amount) external onlyOwner {
        uint16 _tokenCount = tokenCount;
        for (uint256 i; i < _amount; i++) {
            _mint(msg.sender, _tokenCount++);
        }
        tokenCount = _tokenCount;
    }

    /**
     * OVERRIDES
     */

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

        return
            isRevealed
                ? string(abi.encodePacked(baseRevealedURI, tokenId.toString()))
                : string(abi.encodePacked(baseUnrevealedURI));
    }

    function isApprovedForAll(address owner, address operator)
        public
        view
        override
        returns (bool)
    {
        // Get a reference to OpenSea's proxy registry contract by instantiating
        // the contract using the already existing address.
        ProxyRegistry proxyRegistry = ProxyRegistry(
            openSeaProxyRegistryAddress
        );
        if (
            isOpenSeaProxyActive &&
            address(proxyRegistry.proxies(owner)) == operator
        ) {
            return true;
        }

        return super.isApprovedForAll(owner, operator);
    }

    /**
     * VIEW FUNCTIONS
     */

    /** @dev See {IERC2981-royaltyInfo} */
    function royaltyInfo(uint256 tokenId, uint256 salePrice)
        external
        view
        override
        returns (address receiver, uint256 royaltyAmount)
    {
        require(_exists(tokenId), "Nonexistent token");

        return (
            0x218B622bbe4404c01f972F243952E3a1D2132Dec,
            salePrice / royaltyDivisor
        );
    }

    function checkBalances(address _a)
        external
        view
        returns (
            uint256 _PAPP,
            uint256 _C1,
            uint256 _C2,
            uint256 _C3
        )
    {
        _PAPP = PAPP.balanceOf(_a);
        _C1 = C1.balanceOf(_a);
        _C2 = C2.balanceOf(_a);
        _C3 = C3.balanceOf(_a);
    }
}

/***************************************
 * @author: 🍖                         *
 * @team:   Asteria                     *
 ****************************************/

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

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);
    }

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

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

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

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

File 3 of 14 : eReentrantGuard.sol
// SPDX-License-Identifier: MIT OR Apache-2.0
pragma solidity ^0.8.0;

/**
 * @title nonReentrant module to prevent recursive calling of functions
 * @dev See https://medium.com/coinmonks/protect-your-solidity-smart-contracts-from-reentrancy-attacks-9972c3af7c21
 */

abstract contract nonReentrant {
    bool private _reentryKey = false;
    modifier reentryLock() {
        require(!_reentryKey, "cannot reenter a locked function");
        _reentryKey = true;
        _;
        _reentryKey = false;
    }
}

File 4 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 5 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 6 of 14 : IERC2981.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (interfaces/IERC2981.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

/**
 * @dev Interface for the NFT Royalty Standard
 */
interface IERC2981 is IERC165 {
    /**
     * @dev Called with the sale price to determine how much royalty is owed and to whom.
     * @param tokenId - the NFT asset queried for royalty information
     * @param salePrice - the sale price of the NFT asset specified by `tokenId`
     * @return receiver - address of who should be sent the royalty payment
     * @return royaltyAmount - the royalty payment amount for `salePrice`
     */
    function royaltyInfo(uint256 tokenId, uint256 salePrice)
        external
        view
        returns (address receiver, uint256 royaltyAmount);
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 11 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 12 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 13 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 14 of 14 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (interfaces/IERC165.sol)

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"C1","outputs":[{"internalType":"contract Component","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"C2","outputs":[{"internalType":"contract Component","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"C3","outputs":[{"internalType":"contract Component","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PAPP","outputs":[{"internalType":"contract Component","name":"","type":"address"}],"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":"baseRevealedURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseUnrevealedURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_a","type":"address"}],"name":"checkBalances","outputs":[{"internalType":"uint256","name":"_PAPP","type":"uint256"},{"internalType":"uint256","name":"_C1","type":"uint256"},{"internalType":"uint256","name":"_C2","type":"uint256"},{"internalType":"uint256","name":"_C3","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_PAPPid","type":"uint256"},{"internalType":"uint256","name":"_C1id","type":"uint256"},{"internalType":"uint256","name":"_C2id","type":"uint256"},{"internalType":"uint256","name":"_C3id","type":"uint256"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isRevealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"_amount","type":"uint256"}],"name":"ownerMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"pappUsed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"royaltyDivisor","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"royaltyAmount","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":"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":"_unrevealedUri","type":"string"},{"internalType":"string","name":"_revealedUri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract Component","name":"_papp","type":"address"},{"internalType":"contract Component","name":"_c1","type":"address"},{"internalType":"contract Component","name":"_c2","type":"address"},{"internalType":"contract Component","name":"_c3","type":"address"}],"name":"setComponents","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_isActive","type":"bool"}],"name":"setIsOpenSeaProxyActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"setOpenSeaProxyAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"_divisor","type":"uint8"}],"name":"setRoyaltyDivisor","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":"switchIsRevealed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"switchSaleState","outputs":[],"stateMutability":"nonpayable","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"}]

6006805460ff60a01b1916905560e06040526035608081815290620034a460a03980516200003691600791602090910190620001ec565b506040805160208101918290526000908190526200005791600891620001ec565b506009805479a5409ec958c83c3f309868babaca7c86dcb077c10100001400016001600160d01b0319909116179055600b80546001600160a01b031990811673c8e1de8dc39a758c7a50f659b53f787e0f1398bd17909155600c80548216735501024ddb740266fa0d69d19809ec86db5e3f8b179055600d8054821673a7b6cb932eecacd956454317d59c49aa317e3c57179055600e805490911673c8cc20febe260c62a9717534442d4e499f9de7411790553480156200011757600080fd5b50604080518082018252600a808252692839b4b637b1bcb134b760b11b6020808401828152855180870190965292855284015281519192916200015d91600091620001ec565b50805162000173906001906020840190620001ec565b505050620001906200018a6200019660201b60201c565b6200019a565b620002ce565b3390565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b828054620001fa9062000292565b90600052602060002090601f0160209004810192826200021e576000855562000269565b82601f106200023957805160ff191683800117855562000269565b8280016001018555821562000269579182015b82811115620002695782518255916020019190600101906200024c565b50620002779291506200027b565b5090565b5b808211156200027757600081556001016200027c565b600181811c90821680620002a757607f821691505b602082108103620002c857634e487b7160e01b600052602260045260246000fd5b50919050565b6131c680620002de6000396000f3fe608060405234801561001057600080fd5b50600436106102ad5760003560e01c80636352211e1161017b578063b5add717116100d8578063e985e9c51161008c578063efc4f1dc11610071578063efc4f1dc146105bd578063f19e75d4146105c5578063f2fde38b146105d857600080fd5b8063e985e9c514610596578063eb8d2444146105a957600080fd5b8063c0fa9bcb116100bd578063c0fa9bcb1461055d578063c87b56dd14610570578063e43082f71461058357600080fd5b8063b5add71714610537578063b88d4fde1461054a57600080fd5b80638da5cb5b1161012f578063901b4ad511610114578063901b4ad51461050957806395d89b411461051c578063a22cb4651461052457600080fd5b80638da5cb5b146104d3578063901b201d146104e457600080fd5b806370a082311161016057806370a08231146104a5578063715018a6146104b857806373ee9cd7146104c057600080fd5b80636352211e1461047f5780636790a9de1461049257600080fd5b80631b2996921161022957806342842e0e116101dd57806345afdc8d116101c257806345afdc8d1461043457806354214f6914610447578063575eed891461045c57600080fd5b806342842e0e1461040e57806342966c681461042157600080fd5b806323b872dd1161020e57806323b872dd146103c15780632a55205a146103d4578063377407e81461040657600080fd5b80631b2996921461039b5780631fc2044c146103ae57600080fd5b8063095ea7b31161028057806311cd682d1161026557806311cd682d1461034a5780631788401d1461037d57806318160ddd1461038557600080fd5b8063095ea7b3146103225780630f354d161461033757600080fd5b806301ffc9a7146102b257806306fdde03146102da578063081812fc146102ef57806308454e121461031a575b600080fd5b6102c56102c0366004612804565b6105eb565b60405190151581526020015b60405180910390f35b6102e26106d0565b6040516102d1919061289e565b6103026102fd3660046128b1565b610762565b6040516001600160a01b0390911681526020016102d1565b6102e261080d565b6103356103303660046128df565b61089b565b005b600c54610302906001600160a01b031681565b61035d61035836600461290b565b6109cc565b6040805194855260208501939093529183015260608201526080016102d1565b6102e2610bfe565b61038d610c0b565b6040519081526020016102d1565b6103356103a936600461290b565b610c2a565b600d54610302906001600160a01b031681565b6103356103cf366004612928565b610cc8565b6103e76103e2366004612969565b610d50565b604080516001600160a01b0390931683526020830191909152016102d1565b610335610ded565b61033561041c366004612928565b610e84565b61033561042f3660046128b1565b610e9f565b61033561044236600461298b565b610f00565b6009546102c590640100000000900460ff1681565b6102c561046a3660046128b1565b600a6020526000908152604090205460ff1681565b61030261048d3660046128b1565b610fc2565b6103356104a0366004612afd565b61104d565b61038d6104b336600461290b565b6110ce565b610335611168565b600e54610302906001600160a01b031681565b6006546001600160a01b0316610302565b6009546104f79062010000900460ff1681565b60405160ff90911681526020016102d1565b610335610517366004612b61565b6111ce565b6102e2611262565b610335610532366004612b99565b611271565b610335610545366004612bce565b611280565b610335610558366004612c00565b6117b5565b600b54610302906001600160a01b031681565b6102e261057e3660046128b1565b611843565b610335610591366004612c80565b611939565b6102c56105a4366004612c9b565b6119ce565b6009546102c5906301000000900460ff1681565b610335611acf565b6103356105d33660046128b1565b611b65565b6103356105e636600461290b565b611c33565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd00000000000000000000000000000000000000000000000000000000148061067e57507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b806106ca57507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b92915050565b6060600080546106df90612cd4565b80601f016020809104026020016040519081016040528092919081815260200182805461070b90612cd4565b80156107585780601f1061072d57610100808354040283529160200191610758565b820191906000526020600020905b81548152906001019060200180831161073b57829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166107f15760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e000000000000000000000000000000000000000060648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b6008805461081a90612cd4565b80601f016020809104026020016040519081016040528092919081815260200182805461084690612cd4565b80156108935780601f1061086857610100808354040283529160200191610893565b820191906000526020600020905b81548152906001019060200180831161087657829003601f168201915b505050505081565b60006108a682610fc2565b9050806001600160a01b0316836001600160a01b03160361092f5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f720000000000000000000000000000000000000000000000000000000000000060648201526084016107e8565b336001600160a01b038216148061094b575061094b81336119ce565b6109bd5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016107e8565b6109c78383611d12565b505050565b600b546040517f70a082310000000000000000000000000000000000000000000000000000000081526001600160a01b03838116600483015260009283928392839216906370a0823190602401602060405180830381865afa158015610a36573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a5a9190612d27565b600c546040517f70a082310000000000000000000000000000000000000000000000000000000081526001600160a01b0388811660048301529296509116906370a0823190602401602060405180830381865afa158015610abf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ae39190612d27565b600d546040517f70a082310000000000000000000000000000000000000000000000000000000081526001600160a01b0388811660048301529295509116906370a0823190602401602060405180830381865afa158015610b48573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b6c9190612d27565b600e546040517f70a082310000000000000000000000000000000000000000000000000000000081526001600160a01b0388811660048301529294509116906370a0823190602401602060405180830381865afa158015610bd1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bf59190612d27565b90509193509193565b6007805461081a90612cd4565b600954600090610c219060019061ffff16612d6f565b61ffff16905090565b6006546001600160a01b03163314610c845760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107e8565b600980546001600160a01b039092166601000000000000027fffffffffffff0000000000000000000000000000000000000000ffffffffffff909216919091179055565b610cd3335b82611d98565b610d455760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656400000000000000000000000000000060648201526084016107e8565b6109c7838383611e78565b60008281526002602052604081205481906001600160a01b0316610db65760405162461bcd60e51b815260206004820152601160248201527f4e6f6e6578697374656e7420746f6b656e00000000000000000000000000000060448201526064016107e8565b60095473218b622bbe4404c01f972f243952e3a1d2132dec90610de29062010000900460ff1685612dc1565b915091509250929050565b6006546001600160a01b03163314610e475760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107e8565b600980547fffffffffffffffffffffffffffffffffffffffffffffffffffffff00ffffffff81166401000000009182900460ff1615909102179055565b6109c7838383604051806020016040528060008152506117b5565b610ea833610ccd565b610ef45760405162461bcd60e51b815260206004820181905260248201527f63616c6c6572206973206e6f74206f776e6572206e6f7220617070726f76656460448201526064016107e8565b610efd8161205d565b50565b6006546001600160a01b03163314610f5a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107e8565b600b80546001600160a01b039586167fffffffffffffffffffffffff000000000000000000000000000000000000000091821617909155600c805494861694821694909417909355600d805492851692841692909217909155600e8054919093169116179055565b6000818152600260205260408120546001600160a01b0316806106ca5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e000000000000000000000000000000000000000000000060648201526084016107e8565b6006546001600160a01b031633146110a75760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107e8565b81516110ba90600790602085019061273d565b5080516109c790600890602084019061273d565b60006001600160a01b03821661114c5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f20616464726573730000000000000000000000000000000000000000000060648201526084016107e8565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b031633146111c25760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107e8565b6111cc6000612110565b565b6006546001600160a01b031633146112285760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107e8565b6009805460ff90921662010000027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ffff909216919091179055565b6060600180546106df90612cd4565b61127c33838361217a565b5050565b60065474010000000000000000000000000000000000000000900460ff16156112eb5760405162461bcd60e51b815260206004820181905260248201527f63616e6e6f74207265656e7465722061206c6f636b65642066756e6374696f6e60448201526064016107e8565b600680547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff16740100000000000000000000000000000000000000001790556009546301000000900460ff166113835760405162461bcd60e51b815260206004820152601260248201527f53616c65206973206e6f7420616374697665000000000000000000000000000060448201526064016107e8565b600b546040517f6352211e0000000000000000000000000000000000000000000000000000000081526004810186905233916001600160a01b031690636352211e90602401602060405180830381865afa1580156113e5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114099190612dd5565b6001600160a01b03161461145f5760405162461bcd60e51b815260206004820152600c60248201527f496e76616c69642050415050000000000000000000000000000000000000000060448201526064016107e8565b6000848152600a602052604090205460ff16156114be5760405162461bcd60e51b815260206004820152601260248201527f5041505020686173206265656e2075736564000000000000000000000000000060448201526064016107e8565b600c546040517f42966c68000000000000000000000000000000000000000000000000000000008152600481018590526001600160a01b03909116906342966c6890602401600060405180830381600087803b15801561151d57600080fd5b505af192505050801561152e575060015b6115ba5761153a612df2565b806308c379a0036115ae575061154e612e0e565b8061155957506115b0565b8060405160200161156a9190612eb6565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529082905262461bcd60e51b82526107e89160040161289e565b505b3d6000803e3d6000fd5b600d546040517f42966c68000000000000000000000000000000000000000000000000000000008152600481018490526001600160a01b03909116906342966c6890602401600060405180830381600087803b15801561161957600080fd5b505af192505050801561162a575060015b61166657611636612df2565b806308c379a0036115ae575061164a612e0e565b8061165557506115b0565b8060405160200161156a9190612efb565b600e546040517f42966c68000000000000000000000000000000000000000000000000000000008152600481018390526001600160a01b03909116906342966c6890602401600060405180830381600087803b1580156116c557600080fd5b505af19250505080156116d6575060015b611712576116e2612df2565b806308c379a0036115ae57506116f6612e0e565b8061170157506115b0565b8060405160200161156a9190612f33565b6000848152600a6020526040812080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790556009805461178792339261ffff909216919061176483612f6b565b91906101000a81548161ffff021916908361ffff16021790555061ffff16612266565b5050600680547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff1690555050565b6117bf3383611d98565b6118315760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656400000000000000000000000000000060648201526084016107e8565b61183d848484846123c0565b50505050565b6000818152600260205260409020546060906001600160a01b03166118d05760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e000000000000000000000000000000000060648201526084016107e8565b600954640100000000900460ff166119085760076040516020016118f4919061305c565b6040516020818303038152906040526106ca565b600861191383612449565b604051602001611924929190613068565b60405160208183030381529060405292915050565b6006546001600160a01b031633146119935760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107e8565b6009805491151565010000000000027fffffffffffffffffffffffffffffffffffffffffffffffffffff00ffffffffff909216919091179055565b600954600090660100000000000081046001600160a01b03169065010000000000900460ff168015611a8e57506040517fc45527910000000000000000000000000000000000000000000000000000000081526001600160a01b038581166004830152808516919083169063c455279190602401602060405180830381865afa158015611a5f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a839190612dd5565b6001600160a01b0316145b15611a9d5760019150506106ca565b6001600160a01b0380851660009081526005602090815260408083209387168352929052205460ff165b949350505050565b6006546001600160a01b03163314611b295760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107e8565b600980547fffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ffffff811663010000009182900460ff1615909102179055565b6006546001600160a01b03163314611bbf5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107e8565b60095461ffff1660005b82811015611bfc57611bea3383611bdf81612f6b565b945061ffff16612266565b80611bf48161308d565b915050611bc9565b50600980547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00001661ffff9290921691909117905550565b6006546001600160a01b03163314611c8d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107e8565b6001600160a01b038116611d095760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016107e8565b610efd81612110565b600081815260046020526040902080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0384169081179091558190611d5f82610fc2565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b0316611e225760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e000000000000000000000000000000000000000060648201526084016107e8565b6000611e2d83610fc2565b9050806001600160a01b0316846001600160a01b03161480611e685750836001600160a01b0316611e5d84610762565b6001600160a01b0316145b80611ac75750611ac781856119ce565b826001600160a01b0316611e8b82610fc2565b6001600160a01b031614611f075760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e000000000000000000000000000000000000000000000060648201526084016107e8565b6001600160a01b038216611f825760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016107e8565b611f8d600082611d12565b6001600160a01b0383166000908152600360205260408120805460019290611fb69084906130c5565b90915550506001600160a01b0382166000908152600360205260408120805460019290611fe49084906130dc565b909155505060008181526002602052604080822080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600061206882610fc2565b9050612075600083611d12565b6001600160a01b038116600090815260036020526040812080546001929061209e9084906130c5565b909155505060008281526002602052604080822080547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b600680546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b0316036121db5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016107e8565b6001600160a01b0383811660008181526005602090815260408083209487168084529482529182902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6001600160a01b0382166122bc5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016107e8565b6000818152600260205260409020546001600160a01b0316156123215760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016107e8565b6001600160a01b038216600090815260036020526040812080546001929061234a9084906130dc565b909155505060008181526002602052604080822080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6123cb848484611e78565b6123d78484848461257e565b61183d5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e746572000000000000000000000000000060648201526084016107e8565b60608160000361248c57505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b81156124b657806124a08161308d565b91506124af9050600a83612dc1565b9150612490565b60008167ffffffffffffffff8111156124d1576124d16129e7565b6040519080825280601f01601f1916602001820160405280156124fb576020820181803683370190505b5090505b8415611ac7576125106001836130c5565b915061251d600a866130f4565b6125289060306130dc565b60f81b81838151811061253d5761253d613108565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350612577600a86612dc1565b94506124ff565b60006001600160a01b0384163b15612732576040517f150b7a020000000000000000000000000000000000000000000000000000000081526001600160a01b0385169063150b7a02906125db903390899088908890600401613137565b6020604051808303816000875af1925050508015612634575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016820190925261263191810190613173565b60015b6126e7573d808015612662576040519150601f19603f3d011682016040523d82523d6000602084013e612667565b606091505b5080516000036126df5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e746572000000000000000000000000000060648201526084016107e8565b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a0200000000000000000000000000000000000000000000000000000000149050611ac7565b506001949350505050565b82805461274990612cd4565b90600052602060002090601f01602090048101928261276b57600085556127b1565b82601f1061278457805160ff19168380011785556127b1565b828001600101855582156127b1579182015b828111156127b1578251825591602001919060010190612796565b506127bd9291506127c1565b5090565b5b808211156127bd57600081556001016127c2565b7fffffffff0000000000000000000000000000000000000000000000000000000081168114610efd57600080fd5b60006020828403121561281657600080fd5b8135612821816127d6565b9392505050565b60005b8381101561284357818101518382015260200161282b565b8381111561183d5750506000910152565b6000815180845261286c816020860160208601612828565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b6020815260006128216020830184612854565b6000602082840312156128c357600080fd5b5035919050565b6001600160a01b0381168114610efd57600080fd5b600080604083850312156128f257600080fd5b82356128fd816128ca565b946020939093013593505050565b60006020828403121561291d57600080fd5b8135612821816128ca565b60008060006060848603121561293d57600080fd5b8335612948816128ca565b92506020840135612958816128ca565b929592945050506040919091013590565b6000806040838503121561297c57600080fd5b50508035926020909101359150565b600080600080608085870312156129a157600080fd5b84356129ac816128ca565b935060208501356129bc816128ca565b925060408501356129cc816128ca565b915060608501356129dc816128ca565b939692955090935050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f830116810181811067ffffffffffffffff82111715612a5a57612a5a6129e7565b6040525050565b600067ffffffffffffffff831115612a7b57612a7b6129e7565b604051612ab060207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8701160182612a16565b809150838152848484011115612ac557600080fd5b83836020830137600060208583010152509392505050565b600082601f830112612aee57600080fd5b61282183833560208501612a61565b60008060408385031215612b1057600080fd5b823567ffffffffffffffff80821115612b2857600080fd5b612b3486838701612add565b93506020850135915080821115612b4a57600080fd5b50612b5785828601612add565b9150509250929050565b600060208284031215612b7357600080fd5b813560ff8116811461282157600080fd5b80358015158114612b9457600080fd5b919050565b60008060408385031215612bac57600080fd5b8235612bb7816128ca565b9150612bc560208401612b84565b90509250929050565b60008060008060808587031215612be457600080fd5b5050823594602084013594506040840135936060013592509050565b60008060008060808587031215612c1657600080fd5b8435612c21816128ca565b93506020850135612c31816128ca565b925060408501359150606085013567ffffffffffffffff811115612c5457600080fd5b8501601f81018713612c6557600080fd5b612c7487823560208401612a61565b91505092959194509250565b600060208284031215612c9257600080fd5b61282182612b84565b60008060408385031215612cae57600080fd5b8235612cb9816128ca565b91506020830135612cc9816128ca565b809150509250929050565b600181811c90821680612ce857607f821691505b602082108103612d21577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b600060208284031215612d3957600080fd5b5051919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061ffff83811690831681811015612d8a57612d8a612d40565b039392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600082612dd057612dd0612d92565b500490565b600060208284031215612de757600080fd5b8151612821816128ca565b600060033d1115612e0b5760046000803e5060005160e01c5b90565b600060443d1015612e1c5790565b6040517ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc803d016004833e81513d67ffffffffffffffff8160248401118184111715612e6a57505050505090565b8285019150815181811115612e825750505050505090565b843d8701016020828501011115612e9c5750505050505090565b612eab60208286010187612a16565b509095945050505050565b7f43313a2000000000000000000000000000000000000000000000000000000000815260008251612eee816004850160208701612828565b9190910160040192915050565b7f43323a2000000000000000000000000000000000000000000000000000000000815260008251612eee816004850160208701612828565b7f43333a2000000000000000000000000000000000000000000000000000000000815260008251612eee816004850160208701612828565b600061ffff808316818103612f8257612f82612d40565b6001019392505050565b8054600090600181811c9080831680612fa657607f831692505b60208084108203612fe0577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b818015612ff4576001811461302357613050565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00861689528489019650613050565b60008881526020902060005b868110156130485781548b82015290850190830161302f565b505084890196505b50505050505092915050565b60006128218284612f8c565b60006130748285612f8c565b8351613084818360208801612828565b01949350505050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036130be576130be612d40565b5060010190565b6000828210156130d7576130d7612d40565b500390565b600082198211156130ef576130ef612d40565b500190565b60008261310357613103612d92565b500690565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60006001600160a01b038087168352808616602084015250836040830152608060608301526131696080830184612854565b9695505050505050565b60006020828403121561318557600080fd5b8151612821816127d656fea26469706673582212205b9d44364ab4368c9ff34c7f97c05066b4a4f5fa4dd83a381a2adf6310096eb764736f6c634300080d0033697066733a2f2f516d55366a736b4e79674c485951383850316f654a63784a794c4b5952414347466979486375594e755247507367

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106102ad5760003560e01c80636352211e1161017b578063b5add717116100d8578063e985e9c51161008c578063efc4f1dc11610071578063efc4f1dc146105bd578063f19e75d4146105c5578063f2fde38b146105d857600080fd5b8063e985e9c514610596578063eb8d2444146105a957600080fd5b8063c0fa9bcb116100bd578063c0fa9bcb1461055d578063c87b56dd14610570578063e43082f71461058357600080fd5b8063b5add71714610537578063b88d4fde1461054a57600080fd5b80638da5cb5b1161012f578063901b4ad511610114578063901b4ad51461050957806395d89b411461051c578063a22cb4651461052457600080fd5b80638da5cb5b146104d3578063901b201d146104e457600080fd5b806370a082311161016057806370a08231146104a5578063715018a6146104b857806373ee9cd7146104c057600080fd5b80636352211e1461047f5780636790a9de1461049257600080fd5b80631b2996921161022957806342842e0e116101dd57806345afdc8d116101c257806345afdc8d1461043457806354214f6914610447578063575eed891461045c57600080fd5b806342842e0e1461040e57806342966c681461042157600080fd5b806323b872dd1161020e57806323b872dd146103c15780632a55205a146103d4578063377407e81461040657600080fd5b80631b2996921461039b5780631fc2044c146103ae57600080fd5b8063095ea7b31161028057806311cd682d1161026557806311cd682d1461034a5780631788401d1461037d57806318160ddd1461038557600080fd5b8063095ea7b3146103225780630f354d161461033757600080fd5b806301ffc9a7146102b257806306fdde03146102da578063081812fc146102ef57806308454e121461031a575b600080fd5b6102c56102c0366004612804565b6105eb565b60405190151581526020015b60405180910390f35b6102e26106d0565b6040516102d1919061289e565b6103026102fd3660046128b1565b610762565b6040516001600160a01b0390911681526020016102d1565b6102e261080d565b6103356103303660046128df565b61089b565b005b600c54610302906001600160a01b031681565b61035d61035836600461290b565b6109cc565b6040805194855260208501939093529183015260608201526080016102d1565b6102e2610bfe565b61038d610c0b565b6040519081526020016102d1565b6103356103a936600461290b565b610c2a565b600d54610302906001600160a01b031681565b6103356103cf366004612928565b610cc8565b6103e76103e2366004612969565b610d50565b604080516001600160a01b0390931683526020830191909152016102d1565b610335610ded565b61033561041c366004612928565b610e84565b61033561042f3660046128b1565b610e9f565b61033561044236600461298b565b610f00565b6009546102c590640100000000900460ff1681565b6102c561046a3660046128b1565b600a6020526000908152604090205460ff1681565b61030261048d3660046128b1565b610fc2565b6103356104a0366004612afd565b61104d565b61038d6104b336600461290b565b6110ce565b610335611168565b600e54610302906001600160a01b031681565b6006546001600160a01b0316610302565b6009546104f79062010000900460ff1681565b60405160ff90911681526020016102d1565b610335610517366004612b61565b6111ce565b6102e2611262565b610335610532366004612b99565b611271565b610335610545366004612bce565b611280565b610335610558366004612c00565b6117b5565b600b54610302906001600160a01b031681565b6102e261057e3660046128b1565b611843565b610335610591366004612c80565b611939565b6102c56105a4366004612c9b565b6119ce565b6009546102c5906301000000900460ff1681565b610335611acf565b6103356105d33660046128b1565b611b65565b6103356105e636600461290b565b611c33565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd00000000000000000000000000000000000000000000000000000000148061067e57507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b806106ca57507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b92915050565b6060600080546106df90612cd4565b80601f016020809104026020016040519081016040528092919081815260200182805461070b90612cd4565b80156107585780601f1061072d57610100808354040283529160200191610758565b820191906000526020600020905b81548152906001019060200180831161073b57829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166107f15760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e000000000000000000000000000000000000000060648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b6008805461081a90612cd4565b80601f016020809104026020016040519081016040528092919081815260200182805461084690612cd4565b80156108935780601f1061086857610100808354040283529160200191610893565b820191906000526020600020905b81548152906001019060200180831161087657829003601f168201915b505050505081565b60006108a682610fc2565b9050806001600160a01b0316836001600160a01b03160361092f5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f720000000000000000000000000000000000000000000000000000000000000060648201526084016107e8565b336001600160a01b038216148061094b575061094b81336119ce565b6109bd5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016107e8565b6109c78383611d12565b505050565b600b546040517f70a082310000000000000000000000000000000000000000000000000000000081526001600160a01b03838116600483015260009283928392839216906370a0823190602401602060405180830381865afa158015610a36573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a5a9190612d27565b600c546040517f70a082310000000000000000000000000000000000000000000000000000000081526001600160a01b0388811660048301529296509116906370a0823190602401602060405180830381865afa158015610abf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ae39190612d27565b600d546040517f70a082310000000000000000000000000000000000000000000000000000000081526001600160a01b0388811660048301529295509116906370a0823190602401602060405180830381865afa158015610b48573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b6c9190612d27565b600e546040517f70a082310000000000000000000000000000000000000000000000000000000081526001600160a01b0388811660048301529294509116906370a0823190602401602060405180830381865afa158015610bd1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bf59190612d27565b90509193509193565b6007805461081a90612cd4565b600954600090610c219060019061ffff16612d6f565b61ffff16905090565b6006546001600160a01b03163314610c845760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107e8565b600980546001600160a01b039092166601000000000000027fffffffffffff0000000000000000000000000000000000000000ffffffffffff909216919091179055565b610cd3335b82611d98565b610d455760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656400000000000000000000000000000060648201526084016107e8565b6109c7838383611e78565b60008281526002602052604081205481906001600160a01b0316610db65760405162461bcd60e51b815260206004820152601160248201527f4e6f6e6578697374656e7420746f6b656e00000000000000000000000000000060448201526064016107e8565b60095473218b622bbe4404c01f972f243952e3a1d2132dec90610de29062010000900460ff1685612dc1565b915091509250929050565b6006546001600160a01b03163314610e475760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107e8565b600980547fffffffffffffffffffffffffffffffffffffffffffffffffffffff00ffffffff81166401000000009182900460ff1615909102179055565b6109c7838383604051806020016040528060008152506117b5565b610ea833610ccd565b610ef45760405162461bcd60e51b815260206004820181905260248201527f63616c6c6572206973206e6f74206f776e6572206e6f7220617070726f76656460448201526064016107e8565b610efd8161205d565b50565b6006546001600160a01b03163314610f5a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107e8565b600b80546001600160a01b039586167fffffffffffffffffffffffff000000000000000000000000000000000000000091821617909155600c805494861694821694909417909355600d805492851692841692909217909155600e8054919093169116179055565b6000818152600260205260408120546001600160a01b0316806106ca5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e000000000000000000000000000000000000000000000060648201526084016107e8565b6006546001600160a01b031633146110a75760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107e8565b81516110ba90600790602085019061273d565b5080516109c790600890602084019061273d565b60006001600160a01b03821661114c5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f20616464726573730000000000000000000000000000000000000000000060648201526084016107e8565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b031633146111c25760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107e8565b6111cc6000612110565b565b6006546001600160a01b031633146112285760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107e8565b6009805460ff90921662010000027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ffff909216919091179055565b6060600180546106df90612cd4565b61127c33838361217a565b5050565b60065474010000000000000000000000000000000000000000900460ff16156112eb5760405162461bcd60e51b815260206004820181905260248201527f63616e6e6f74207265656e7465722061206c6f636b65642066756e6374696f6e60448201526064016107e8565b600680547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff16740100000000000000000000000000000000000000001790556009546301000000900460ff166113835760405162461bcd60e51b815260206004820152601260248201527f53616c65206973206e6f7420616374697665000000000000000000000000000060448201526064016107e8565b600b546040517f6352211e0000000000000000000000000000000000000000000000000000000081526004810186905233916001600160a01b031690636352211e90602401602060405180830381865afa1580156113e5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114099190612dd5565b6001600160a01b03161461145f5760405162461bcd60e51b815260206004820152600c60248201527f496e76616c69642050415050000000000000000000000000000000000000000060448201526064016107e8565b6000848152600a602052604090205460ff16156114be5760405162461bcd60e51b815260206004820152601260248201527f5041505020686173206265656e2075736564000000000000000000000000000060448201526064016107e8565b600c546040517f42966c68000000000000000000000000000000000000000000000000000000008152600481018590526001600160a01b03909116906342966c6890602401600060405180830381600087803b15801561151d57600080fd5b505af192505050801561152e575060015b6115ba5761153a612df2565b806308c379a0036115ae575061154e612e0e565b8061155957506115b0565b8060405160200161156a9190612eb6565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529082905262461bcd60e51b82526107e89160040161289e565b505b3d6000803e3d6000fd5b600d546040517f42966c68000000000000000000000000000000000000000000000000000000008152600481018490526001600160a01b03909116906342966c6890602401600060405180830381600087803b15801561161957600080fd5b505af192505050801561162a575060015b61166657611636612df2565b806308c379a0036115ae575061164a612e0e565b8061165557506115b0565b8060405160200161156a9190612efb565b600e546040517f42966c68000000000000000000000000000000000000000000000000000000008152600481018390526001600160a01b03909116906342966c6890602401600060405180830381600087803b1580156116c557600080fd5b505af19250505080156116d6575060015b611712576116e2612df2565b806308c379a0036115ae57506116f6612e0e565b8061170157506115b0565b8060405160200161156a9190612f33565b6000848152600a6020526040812080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790556009805461178792339261ffff909216919061176483612f6b565b91906101000a81548161ffff021916908361ffff16021790555061ffff16612266565b5050600680547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff1690555050565b6117bf3383611d98565b6118315760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656400000000000000000000000000000060648201526084016107e8565b61183d848484846123c0565b50505050565b6000818152600260205260409020546060906001600160a01b03166118d05760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e000000000000000000000000000000000060648201526084016107e8565b600954640100000000900460ff166119085760076040516020016118f4919061305c565b6040516020818303038152906040526106ca565b600861191383612449565b604051602001611924929190613068565b60405160208183030381529060405292915050565b6006546001600160a01b031633146119935760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107e8565b6009805491151565010000000000027fffffffffffffffffffffffffffffffffffffffffffffffffffff00ffffffffff909216919091179055565b600954600090660100000000000081046001600160a01b03169065010000000000900460ff168015611a8e57506040517fc45527910000000000000000000000000000000000000000000000000000000081526001600160a01b038581166004830152808516919083169063c455279190602401602060405180830381865afa158015611a5f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a839190612dd5565b6001600160a01b0316145b15611a9d5760019150506106ca565b6001600160a01b0380851660009081526005602090815260408083209387168352929052205460ff165b949350505050565b6006546001600160a01b03163314611b295760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107e8565b600980547fffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ffffff811663010000009182900460ff1615909102179055565b6006546001600160a01b03163314611bbf5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107e8565b60095461ffff1660005b82811015611bfc57611bea3383611bdf81612f6b565b945061ffff16612266565b80611bf48161308d565b915050611bc9565b50600980547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00001661ffff9290921691909117905550565b6006546001600160a01b03163314611c8d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107e8565b6001600160a01b038116611d095760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016107e8565b610efd81612110565b600081815260046020526040902080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0384169081179091558190611d5f82610fc2565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b0316611e225760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e000000000000000000000000000000000000000060648201526084016107e8565b6000611e2d83610fc2565b9050806001600160a01b0316846001600160a01b03161480611e685750836001600160a01b0316611e5d84610762565b6001600160a01b0316145b80611ac75750611ac781856119ce565b826001600160a01b0316611e8b82610fc2565b6001600160a01b031614611f075760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e000000000000000000000000000000000000000000000060648201526084016107e8565b6001600160a01b038216611f825760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016107e8565b611f8d600082611d12565b6001600160a01b0383166000908152600360205260408120805460019290611fb69084906130c5565b90915550506001600160a01b0382166000908152600360205260408120805460019290611fe49084906130dc565b909155505060008181526002602052604080822080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600061206882610fc2565b9050612075600083611d12565b6001600160a01b038116600090815260036020526040812080546001929061209e9084906130c5565b909155505060008281526002602052604080822080547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b600680546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b0316036121db5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016107e8565b6001600160a01b0383811660008181526005602090815260408083209487168084529482529182902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6001600160a01b0382166122bc5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016107e8565b6000818152600260205260409020546001600160a01b0316156123215760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016107e8565b6001600160a01b038216600090815260036020526040812080546001929061234a9084906130dc565b909155505060008181526002602052604080822080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6123cb848484611e78565b6123d78484848461257e565b61183d5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e746572000000000000000000000000000060648201526084016107e8565b60608160000361248c57505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b81156124b657806124a08161308d565b91506124af9050600a83612dc1565b9150612490565b60008167ffffffffffffffff8111156124d1576124d16129e7565b6040519080825280601f01601f1916602001820160405280156124fb576020820181803683370190505b5090505b8415611ac7576125106001836130c5565b915061251d600a866130f4565b6125289060306130dc565b60f81b81838151811061253d5761253d613108565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350612577600a86612dc1565b94506124ff565b60006001600160a01b0384163b15612732576040517f150b7a020000000000000000000000000000000000000000000000000000000081526001600160a01b0385169063150b7a02906125db903390899088908890600401613137565b6020604051808303816000875af1925050508015612634575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016820190925261263191810190613173565b60015b6126e7573d808015612662576040519150601f19603f3d011682016040523d82523d6000602084013e612667565b606091505b5080516000036126df5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e746572000000000000000000000000000060648201526084016107e8565b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a0200000000000000000000000000000000000000000000000000000000149050611ac7565b506001949350505050565b82805461274990612cd4565b90600052602060002090601f01602090048101928261276b57600085556127b1565b82601f1061278457805160ff19168380011785556127b1565b828001600101855582156127b1579182015b828111156127b1578251825591602001919060010190612796565b506127bd9291506127c1565b5090565b5b808211156127bd57600081556001016127c2565b7fffffffff0000000000000000000000000000000000000000000000000000000081168114610efd57600080fd5b60006020828403121561281657600080fd5b8135612821816127d6565b9392505050565b60005b8381101561284357818101518382015260200161282b565b8381111561183d5750506000910152565b6000815180845261286c816020860160208601612828565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b6020815260006128216020830184612854565b6000602082840312156128c357600080fd5b5035919050565b6001600160a01b0381168114610efd57600080fd5b600080604083850312156128f257600080fd5b82356128fd816128ca565b946020939093013593505050565b60006020828403121561291d57600080fd5b8135612821816128ca565b60008060006060848603121561293d57600080fd5b8335612948816128ca565b92506020840135612958816128ca565b929592945050506040919091013590565b6000806040838503121561297c57600080fd5b50508035926020909101359150565b600080600080608085870312156129a157600080fd5b84356129ac816128ca565b935060208501356129bc816128ca565b925060408501356129cc816128ca565b915060608501356129dc816128ca565b939692955090935050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f830116810181811067ffffffffffffffff82111715612a5a57612a5a6129e7565b6040525050565b600067ffffffffffffffff831115612a7b57612a7b6129e7565b604051612ab060207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8701160182612a16565b809150838152848484011115612ac557600080fd5b83836020830137600060208583010152509392505050565b600082601f830112612aee57600080fd5b61282183833560208501612a61565b60008060408385031215612b1057600080fd5b823567ffffffffffffffff80821115612b2857600080fd5b612b3486838701612add565b93506020850135915080821115612b4a57600080fd5b50612b5785828601612add565b9150509250929050565b600060208284031215612b7357600080fd5b813560ff8116811461282157600080fd5b80358015158114612b9457600080fd5b919050565b60008060408385031215612bac57600080fd5b8235612bb7816128ca565b9150612bc560208401612b84565b90509250929050565b60008060008060808587031215612be457600080fd5b5050823594602084013594506040840135936060013592509050565b60008060008060808587031215612c1657600080fd5b8435612c21816128ca565b93506020850135612c31816128ca565b925060408501359150606085013567ffffffffffffffff811115612c5457600080fd5b8501601f81018713612c6557600080fd5b612c7487823560208401612a61565b91505092959194509250565b600060208284031215612c9257600080fd5b61282182612b84565b60008060408385031215612cae57600080fd5b8235612cb9816128ca565b91506020830135612cc9816128ca565b809150509250929050565b600181811c90821680612ce857607f821691505b602082108103612d21577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b600060208284031215612d3957600080fd5b5051919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061ffff83811690831681811015612d8a57612d8a612d40565b039392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600082612dd057612dd0612d92565b500490565b600060208284031215612de757600080fd5b8151612821816128ca565b600060033d1115612e0b5760046000803e5060005160e01c5b90565b600060443d1015612e1c5790565b6040517ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc803d016004833e81513d67ffffffffffffffff8160248401118184111715612e6a57505050505090565b8285019150815181811115612e825750505050505090565b843d8701016020828501011115612e9c5750505050505090565b612eab60208286010187612a16565b509095945050505050565b7f43313a2000000000000000000000000000000000000000000000000000000000815260008251612eee816004850160208701612828565b9190910160040192915050565b7f43323a2000000000000000000000000000000000000000000000000000000000815260008251612eee816004850160208701612828565b7f43333a2000000000000000000000000000000000000000000000000000000000815260008251612eee816004850160208701612828565b600061ffff808316818103612f8257612f82612d40565b6001019392505050565b8054600090600181811c9080831680612fa657607f831692505b60208084108203612fe0577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b818015612ff4576001811461302357613050565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00861689528489019650613050565b60008881526020902060005b868110156130485781548b82015290850190830161302f565b505084890196505b50505050505092915050565b60006128218284612f8c565b60006130748285612f8c565b8351613084818360208801612828565b01949350505050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036130be576130be612d40565b5060010190565b6000828210156130d7576130d7612d40565b500390565b600082198211156130ef576130ef612d40565b500190565b60008261310357613103612d92565b500690565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60006001600160a01b038087168352808616602084015250836040830152608060608301526131696080830184612854565b9695505050505050565b60006020828403121561318557600080fd5b8151612821816127d656fea26469706673582212205b9d44364ab4368c9ff34c7f97c05066b4a4f5fa4dd83a381a2adf6310096eb764736f6c634300080d0033

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.