ETH Price: $3,388.30 (-1.30%)

Token

RoyalAzuki (RAZK)
 

Overview

Max Total Supply

3,063 RAZK

Holders

439

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
diamondhanders.eth
Balance
15 RAZK
0xefcbc56e48d51b9d93d647ba7bfa501eb3aac398
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:
RoyalAzuki

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 11 : RoyalAzuki.sol
//SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

import "@openzeppelin/contracts/utils/Strings.sol";
import "erc721a/contracts/ERC721A.sol";

contract RoyalAzuki is ERC721A {
    using Strings for uint256;
    uint256 public constant MAX_SUPPLY = 4444;
    uint256 public freeSupply = 250;
    uint256 public constant MAX_MINT_PER_TX = 10;
    uint256 public constant MAX_MINT_PER_TX_FREE = 5;
    uint256 public price = 0.015 ether;
    address public immutable owner;
    Stage public stage;
    string public baseURI;
    string internal baseExtension = ".json";
    address private constant WITHDRAW_ADDRESS =
        0xb4008a294609A9f1AF08188592dfFca0477658Cf;

    enum Stage {
        Pause,
        Public
    }

    modifier onlyOwner() {
        require(owner == _msgSender(), "RoyalAzuki: not owner");
        _;
    }

    event StageChanged(Stage from, Stage to);

    constructor() ERC721A("RoyalAzuki", "RAZK") {
        owner = _msgSender();
    }

    function tokenURI(uint256 tokenId)
        public
        view
        virtual
        override
        returns (string memory)
    {
        require(_exists(tokenId), "RoyalAzuki: not exist");
        string memory currentBaseURI = _baseURI();
        return (
            bytes(currentBaseURI).length > 0
                ? string(
                    abi.encodePacked(
                        currentBaseURI,
                        tokenId.toString(),
                        baseExtension
                    )
                )
                : ""
        );
    }

    function _baseURI() internal view virtual override returns (string memory) {
        return baseURI;
    }

    function setStage(Stage _stage) external onlyOwner {
        require(stage != _stage, "RoyalAzuki: invalid stage.");
        Stage prevStage = stage;
        stage = _stage;
        emit StageChanged(prevStage, stage);
    }

    function setPrice(uint256 _price) external onlyOwner {
        price = _price;
    }

    function setFreeSupply(uint256 _freeSupply) external onlyOwner {
        freeSupply = _freeSupply;
    }

    function setBaseURI(string memory _newBaseURI) external onlyOwner {
        baseURI = _newBaseURI;
    }

    function mint(uint256 _quantity) external payable {
        uint256 currentSupply = totalSupply();
        require(
            currentSupply + _quantity <= MAX_SUPPLY,
            "RoyalAzuki: exceed max supply."
        );
        if (stage == Stage.Public) {
            if (currentSupply < freeSupply) {
                require(
                    _quantity <= MAX_MINT_PER_TX_FREE,
                    "RoyalAzuki: too many free mint."
                );
            } else {
                require(
                    _quantity <= MAX_MINT_PER_TX,
                    "RoyalAzuki: too many mint."
                );
                require(
                    msg.value >= price * _quantity,
                    "RoyalAzuki: insufficient fund."
                );
            }
        } else {
            revert("RoyalAzuki: mint is pause.");
        }
        _safeMint(msg.sender, _quantity);
    }

    function withdrawAll() external onlyOwner {
        uint256 balance = address(this).balance;
        require(balance > 0, "No money");
        _withdraw(WITHDRAW_ADDRESS, ((balance * 24) / 100));
        _withdraw(msg.sender, address(this).balance);
    }

    function _withdraw(address _address, uint256 _amount) private {
        (bool success, ) = _address.call{value: _amount}("");
        require(success, "Transfer failed");
    }
}

File 2 of 11 : 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 3 of 11 : ERC721A.sol
// SPDX-License-Identifier: MIT
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import '@openzeppelin/contracts/token/ERC721/IERC721.sol';
import '@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol';
import '@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol';
import '@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol';
import '@openzeppelin/contracts/utils/Address.sol';
import '@openzeppelin/contracts/utils/Context.sol';
import '@openzeppelin/contracts/utils/Strings.sol';
import '@openzeppelin/contracts/utils/introspection/ERC165.sol';

error ApprovalCallerNotOwnerNorApproved();
error ApprovalQueryForNonexistentToken();
error ApproveToCaller();
error ApprovalToCurrentOwner();
error BalanceQueryForZeroAddress();
error MintedQueryForZeroAddress();
error BurnedQueryForZeroAddress();
error AuxQueryForZeroAddress();
error MintToZeroAddress();
error MintZeroQuantity();
error OwnerIndexOutOfBounds();
error OwnerQueryForNonexistentToken();
error TokenIndexOutOfBounds();
error TransferCallerNotOwnerNorApproved();
error TransferFromIncorrectOwner();
error TransferToNonERC721ReceiverImplementer();
error TransferToZeroAddress();
error URIQueryForNonexistentToken();

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension. Built to optimize for lower gas during batch mints.
 *
 * Assumes serials are sequentially minted starting at _startTokenId() (defaults to 0, e.g. 0, 1, 2, 3..).
 *
 * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply.
 *
 * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256).
 */
contract ERC721A is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // Compiler will pack this into a single 256bit word.
    struct TokenOwnership {
        // The address of the owner.
        address addr;
        // Keeps track of the start time of ownership with minimal overhead for tokenomics.
        uint64 startTimestamp;
        // Whether the token has been burned.
        bool burned;
    }

    // Compiler will pack this into a single 256bit word.
    struct AddressData {
        // Realistically, 2**64-1 is more than enough.
        uint64 balance;
        // Keeps track of mint count with minimal overhead for tokenomics.
        uint64 numberMinted;
        // Keeps track of burn count with minimal overhead for tokenomics.
        uint64 numberBurned;
        // For miscellaneous variable(s) pertaining to the address
        // (e.g. number of whitelist mint slots used).
        // If there are multiple variables, please pack them into a uint64.
        uint64 aux;
    }

    // The tokenId of the next token to be minted.
    uint256 internal _currentIndex;

    // The number of tokens burned.
    uint256 internal _burnCounter;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to ownership details
    // An empty struct value does not necessarily mean the token is unowned. See ownershipOf implementation for details.
    mapping(uint256 => TokenOwnership) internal _ownerships;

    // Mapping owner address to address data
    mapping(address => AddressData) private _addressData;

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

    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
        _currentIndex = _startTokenId();
    }

    /**
     * To change the starting tokenId, please override this function.
     */
    function _startTokenId() internal view virtual returns (uint256) {
        return 0;
    }

    /**
     * @dev See {IERC721Enumerable-totalSupply}.
     * @dev Burned tokens are calculated here, use _totalMinted() if you want to count just minted tokens.
     */
    function totalSupply() public view returns (uint256) {
        // Counter underflow is impossible as _burnCounter cannot be incremented
        // more than _currentIndex - _startTokenId() times
        unchecked {
            return _currentIndex - _burnCounter - _startTokenId();
        }
    }

    /**
     * Returns the total amount of tokens minted in the contract.
     */
    function _totalMinted() internal view returns (uint256) {
        // Counter underflow is impossible as _currentIndex does not decrement,
        // and it is initialized to _startTokenId()
        unchecked {
            return _currentIndex - _startTokenId();
        }
    }

    /**
     * @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 override returns (uint256) {
        if (owner == address(0)) revert BalanceQueryForZeroAddress();
        return uint256(_addressData[owner].balance);
    }

    /**
     * Returns the number of tokens minted by `owner`.
     */
    function _numberMinted(address owner) internal view returns (uint256) {
        if (owner == address(0)) revert MintedQueryForZeroAddress();
        return uint256(_addressData[owner].numberMinted);
    }

    /**
     * Returns the number of tokens burned by or on behalf of `owner`.
     */
    function _numberBurned(address owner) internal view returns (uint256) {
        if (owner == address(0)) revert BurnedQueryForZeroAddress();
        return uint256(_addressData[owner].numberBurned);
    }

    /**
     * Returns the auxillary data for `owner`. (e.g. number of whitelist mint slots used).
     */
    function _getAux(address owner) internal view returns (uint64) {
        if (owner == address(0)) revert AuxQueryForZeroAddress();
        return _addressData[owner].aux;
    }

    /**
     * Sets the auxillary data for `owner`. (e.g. number of whitelist mint slots used).
     * If there are multiple variables, please pack them into a uint64.
     */
    function _setAux(address owner, uint64 aux) internal {
        if (owner == address(0)) revert AuxQueryForZeroAddress();
        _addressData[owner].aux = aux;
    }

    /**
     * Gas spent here starts off proportional to the maximum mint batch size.
     * It gradually moves to O(1) as tokens get transferred around in the collection over time.
     */
    function ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) {
        uint256 curr = tokenId;

        unchecked {
            if (_startTokenId() <= curr && curr < _currentIndex) {
                TokenOwnership memory ownership = _ownerships[curr];
                if (!ownership.burned) {
                    if (ownership.addr != address(0)) {
                        return ownership;
                    }
                    // Invariant:
                    // There will always be an ownership that has an address and is not burned
                    // before an ownership that does not have an address and is not burned.
                    // Hence, curr will not underflow.
                    while (true) {
                        curr--;
                        ownership = _ownerships[curr];
                        if (ownership.addr != address(0)) {
                            return ownership;
                        }
                    }
                }
            }
        }
        revert OwnerQueryForNonexistentToken();
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view override returns (address) {
        return ownershipOf(tokenId).addr;
    }

    /**
     * @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) {
        if (!_exists(tokenId)) revert URIQueryForNonexistentToken();

        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 override {
        address owner = ERC721A.ownerOf(tokenId);
        if (to == owner) revert ApprovalToCurrentOwner();

        if (_msgSender() != owner && !isApprovedForAll(owner, _msgSender())) {
            revert ApprovalCallerNotOwnerNorApproved();
        }

        _approve(to, tokenId, owner);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view override returns (address) {
        if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken();

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public override {
        if (operator == _msgSender()) revert ApproveToCaller();

        _operatorApprovals[_msgSender()][operator] = approved;
        emit ApprovalForAll(_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 {
        _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 {
        _transfer(from, to, tokenId);
        if (to.isContract() && !_checkContractOnERC721Received(from, to, tokenId, _data)) {
            revert TransferToNonERC721ReceiverImplementer();
        }
    }

    /**
     * @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`),
     */
    function _exists(uint256 tokenId) internal view returns (bool) {
        return _startTokenId() <= tokenId && tokenId < _currentIndex &&
            !_ownerships[tokenId].burned;
    }

    function _safeMint(address to, uint256 quantity) internal {
        _safeMint(to, quantity, '');
    }

    /**
     * @dev Safely mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called for each safe transfer.
     * - `quantity` must be greater than 0.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(
        address to,
        uint256 quantity,
        bytes memory _data
    ) internal {
        _mint(to, quantity, _data, true);
    }

    /**
     * @dev Mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `quantity` must be greater than 0.
     *
     * Emits a {Transfer} event.
     */
    function _mint(
        address to,
        uint256 quantity,
        bytes memory _data,
        bool safe
    ) internal {
        uint256 startTokenId = _currentIndex;
        if (to == address(0)) revert MintToZeroAddress();
        if (quantity == 0) revert MintZeroQuantity();

        _beforeTokenTransfers(address(0), to, startTokenId, quantity);

        // Overflows are incredibly unrealistic.
        // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1
        // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1
        unchecked {
            _addressData[to].balance += uint64(quantity);
            _addressData[to].numberMinted += uint64(quantity);

            _ownerships[startTokenId].addr = to;
            _ownerships[startTokenId].startTimestamp = uint64(block.timestamp);

            uint256 updatedIndex = startTokenId;
            uint256 end = updatedIndex + quantity;

            if (safe && to.isContract()) {
                do {
                    emit Transfer(address(0), to, updatedIndex);
                    if (!_checkContractOnERC721Received(address(0), to, updatedIndex++, _data)) {
                        revert TransferToNonERC721ReceiverImplementer();
                    }
                } while (updatedIndex != end);
                // Reentrancy protection
                if (_currentIndex != startTokenId) revert();
            } else {
                do {
                    emit Transfer(address(0), to, updatedIndex++);
                } while (updatedIndex != end);
            }
            _currentIndex = updatedIndex;
        }
        _afterTokenTransfers(address(0), to, startTokenId, quantity);
    }

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * 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
    ) private {
        TokenOwnership memory prevOwnership = ownershipOf(tokenId);

        bool isApprovedOrOwner = (_msgSender() == prevOwnership.addr ||
            isApprovedForAll(prevOwnership.addr, _msgSender()) ||
            getApproved(tokenId) == _msgSender());

        if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        if (prevOwnership.addr != from) revert TransferFromIncorrectOwner();
        if (to == address(0)) revert TransferToZeroAddress();

        _beforeTokenTransfers(from, to, tokenId, 1);

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

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256.
        unchecked {
            _addressData[from].balance -= 1;
            _addressData[to].balance += 1;

            _ownerships[tokenId].addr = to;
            _ownerships[tokenId].startTimestamp = uint64(block.timestamp);

            // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it.
            // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
            uint256 nextTokenId = tokenId + 1;
            if (_ownerships[nextTokenId].addr == address(0)) {
                // This will suffice for checking _exists(nextTokenId),
                // as a burned slot cannot contain the zero address.
                if (nextTokenId < _currentIndex) {
                    _ownerships[nextTokenId].addr = prevOwnership.addr;
                    _ownerships[nextTokenId].startTimestamp = prevOwnership.startTimestamp;
                }
            }
        }

        emit Transfer(from, to, tokenId);
        _afterTokenTransfers(from, to, tokenId, 1);
    }

    /**
     * @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 {
        TokenOwnership memory prevOwnership = ownershipOf(tokenId);

        _beforeTokenTransfers(prevOwnership.addr, address(0), tokenId, 1);

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

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256.
        unchecked {
            _addressData[prevOwnership.addr].balance -= 1;
            _addressData[prevOwnership.addr].numberBurned += 1;

            // Keep track of who burned the token, and the timestamp of burning.
            _ownerships[tokenId].addr = prevOwnership.addr;
            _ownerships[tokenId].startTimestamp = uint64(block.timestamp);
            _ownerships[tokenId].burned = true;

            // If the ownership slot of tokenId+1 is not explicitly set, that means the burn initiator owns it.
            // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
            uint256 nextTokenId = tokenId + 1;
            if (_ownerships[nextTokenId].addr == address(0)) {
                // This will suffice for checking _exists(nextTokenId),
                // as a burned slot cannot contain the zero address.
                if (nextTokenId < _currentIndex) {
                    _ownerships[nextTokenId].addr = prevOwnership.addr;
                    _ownerships[nextTokenId].startTimestamp = prevOwnership.startTimestamp;
                }
            }
        }

        emit Transfer(prevOwnership.addr, address(0), tokenId);
        _afterTokenTransfers(prevOwnership.addr, address(0), tokenId, 1);

        // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times.
        unchecked {
            _burnCounter++;
        }
    }

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

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target 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 _checkContractOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) {
            return retval == IERC721Receiver(to).onERC721Received.selector;
        } catch (bytes memory reason) {
            if (reason.length == 0) {
                revert TransferToNonERC721ReceiverImplementer();
            } else {
                assembly {
                    revert(add(32, reason), mload(reason))
                }
            }
        }
    }

    /**
     * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting.
     * And also called before burning one token.
     *
     * startTokenId - the first token id to be transferred
     * quantity - the amount to be transferred
     *
     * 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, `tokenId` will be burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _beforeTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}

    /**
     * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes
     * minting.
     * And also called after one token has been burned.
     *
     * startTokenId - the first token id to be transferred
     * quantity - the amount to be transferred
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been
     * transferred to `to`.
     * - When `from` is zero, `tokenId` has been minted for `to`.
     * - When `to` is zero, `tokenId` has been burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _afterTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}
}

File 4 of 11 : 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 5 of 11 : 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 6 of 11 : 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 7 of 11 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Enumerable is IERC721 {
    /**
     * @dev Returns the total amount of tokens stored by the contract.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns a token ID owned by `owner` at a given `index` of its token list.
     * Use along with {balanceOf} to enumerate all of ``owner``'s tokens.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256);

    /**
     * @dev Returns a token ID at a given `index` of all the tokens stored by the contract.
     * Use along with {totalSupply} to enumerate all tokens.
     */
    function tokenByIndex(uint256 index) external view returns (uint256);
}

File 8 of 11 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"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":false,"internalType":"enum RoyalAzuki.Stage","name":"from","type":"uint8"},{"indexed":false,"internalType":"enum RoyalAzuki.Stage","name":"to","type":"uint8"}],"name":"StageChanged","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":"MAX_MINT_PER_TX","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_MINT_PER_TX_FREE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"freeSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":[{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","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":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_freeSupply","type":"uint256"}],"name":"setFreeSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"enum RoyalAzuki.Stage","name":"_stage","type":"uint8"}],"name":"setStage","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stage","outputs":[{"internalType":"enum RoyalAzuki.Stage","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"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":[],"name":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60a060405260fa60085566354a6ba7a180006009556040518060400160405280600581526020017f2e6a736f6e000000000000000000000000000000000000000000000000000000815250600c9080519060200190620000619291906200017f565b503480156200006f57600080fd5b506040518060400160405280600a81526020017f526f79616c417a756b69000000000000000000000000000000000000000000008152506040518060400160405280600481526020017f52415a4b000000000000000000000000000000000000000000000000000000008152508160029080519060200190620000f49291906200017f565b5080600390805190602001906200010d9291906200017f565b506200011e6200017260201b60201c565b6000819055505050620001366200017760201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff1660601b8152505062000294565b600090565b600033905090565b8280546200018d906200022f565b90600052602060002090601f016020900481019282620001b15760008555620001fd565b82601f10620001cc57805160ff1916838001178555620001fd565b82800160010185558215620001fd579182015b82811115620001fc578251825591602001919060010190620001df565b5b5090506200020c919062000210565b5090565b5b808211156200022b57600081600090555060010162000211565b5090565b600060028204905060018216806200024857607f821691505b602082108114156200025f576200025e62000265565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60805160601c613943620002d660003960008181610a1501528181610c3801528181610d3a01528181610d8101528181611382015261162201526139436000f3fe6080604052600436106101b75760003560e01c80638da5cb5b116100ec578063b88d4fde1161008a578063ce3cd99711610064578063ce3cd997146105ed578063e1371bc414610616578063e985e9c514610641578063f676308a1461067e576101b7565b8063b88d4fde1461055c578063c040e6b814610585578063c87b56dd146105b0576101b7565b806395d89b41116100c657806395d89b41146104c1578063a035b1fe146104ec578063a0712d6814610517578063a22cb46514610533576101b7565b80638da5cb5b146104425780638ecad7211461046d57806391b7f5ed14610498576101b7565b806332cb6b0c116101595780636352211e116101335780636352211e146103865780636c0360eb146103c357806370a08231146103ee578063853828b61461042b576101b7565b806332cb6b0c1461030957806342842e0e1461033457806355f804b31461035d576101b7565b8063095ea7b311610195578063095ea7b31461026157806318160ddd1461028a57806323b872dd146102b557806324a6ab0c146102de576101b7565b806301ffc9a7146101bc57806306fdde03146101f9578063081812fc14610224575b600080fd5b3480156101c857600080fd5b506101e360048036038101906101de9190612bf0565b6106a7565b6040516101f09190613061565b60405180910390f35b34801561020557600080fd5b5061020e610789565b60405161021b91906130c0565b60405180910390f35b34801561023057600080fd5b5061024b60048036038101906102469190612cac565b61081b565b6040516102589190612ffa565b60405180910390f35b34801561026d57600080fd5b5061028860048036038101906102839190612bb4565b610897565b005b34801561029657600080fd5b5061029f6109a2565b6040516102ac9190613222565b60405180910390f35b3480156102c157600080fd5b506102dc60048036038101906102d79190612aae565b6109b9565b005b3480156102ea57600080fd5b506102f36109c9565b6040516103009190613222565b60405180910390f35b34801561031557600080fd5b5061031e6109cf565b60405161032b9190613222565b60405180910390f35b34801561034057600080fd5b5061035b60048036038101906103569190612aae565b6109d5565b005b34801561036957600080fd5b50610384600480360381019061037f9190612c6b565b6109f5565b005b34801561039257600080fd5b506103ad60048036038101906103a89190612cac565b610aa4565b6040516103ba9190612ffa565b60405180910390f35b3480156103cf57600080fd5b506103d8610aba565b6040516103e591906130c0565b60405180910390f35b3480156103fa57600080fd5b5061041560048036038101906104109190612a49565b610b48565b6040516104229190613222565b60405180910390f35b34801561043757600080fd5b50610440610c18565b005b34801561044e57600080fd5b50610457610d38565b6040516104649190612ffa565b60405180910390f35b34801561047957600080fd5b50610482610d5c565b60405161048f9190613222565b60405180910390f35b3480156104a457600080fd5b506104bf60048036038101906104ba9190612cac565b610d61565b005b3480156104cd57600080fd5b506104d6610e00565b6040516104e391906130c0565b60405180910390f35b3480156104f857600080fd5b50610501610e92565b60405161050e9190613222565b60405180910390f35b610531600480360381019061052c9190612cac565b610e98565b005b34801561053f57600080fd5b5061055a60048036038101906105559190612b78565b6110b1565b005b34801561056857600080fd5b50610583600480360381019061057e9190612afd565b611229565b005b34801561059157600080fd5b5061059a6112a5565b6040516105a7919061307c565b60405180910390f35b3480156105bc57600080fd5b506105d760048036038101906105d29190612cac565b6112b8565b6040516105e491906130c0565b60405180910390f35b3480156105f957600080fd5b50610614600480360381019061060f9190612c42565b611362565b005b34801561062257600080fd5b5061062b611569565b6040516106389190613222565b60405180910390f35b34801561064d57600080fd5b5061066860048036038101906106639190612a72565b61156e565b6040516106759190613061565b60405180910390f35b34801561068a57600080fd5b506106a560048036038101906106a09190612cac565b611602565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061077257507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806107825750610781826116a1565b5b9050919050565b60606002805461079890613517565b80601f01602080910402602001604051908101604052809291908181526020018280546107c490613517565b80156108115780601f106107e657610100808354040283529160200191610811565b820191906000526020600020905b8154815290600101906020018083116107f457829003601f168201915b5050505050905090565b60006108268261170b565b61085c576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006108a282610aa4565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561090a576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610929611759565b73ffffffffffffffffffffffffffffffffffffffff161415801561095b575061095981610954611759565b61156e565b155b15610992576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61099d838383611761565b505050565b60006109ac611813565b6001546000540303905090565b6109c4838383611818565b505050565b60085481565b61115c81565b6109f083838360405180602001604052806000815250611229565b505050565b6109fd611759565b73ffffffffffffffffffffffffffffffffffffffff167f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1614610a8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a81906131e2565b60405180910390fd5b80600b9080519060200190610aa0929190612815565b5050565b6000610aaf82611d09565b600001519050919050565b600b8054610ac790613517565b80601f0160208091040260200160405190810160405280929190818152602001828054610af390613517565b8015610b405780601f10610b1557610100808354040283529160200191610b40565b820191906000526020600020905b815481529060010190602001808311610b2357829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610bb0576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b610c20611759565b73ffffffffffffffffffffffffffffffffffffffff167f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1614610cad576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ca4906131e2565b60405180910390fd5b600047905060008111610cf5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cec90613162565b60405180910390fd5b610d2b73b4008a294609a9f1af08188592dffca0477658cf6064601884610d1c91906133ae565b610d26919061337d565b611f98565b610d353347611f98565b50565b7f000000000000000000000000000000000000000000000000000000000000000081565b600a81565b610d69611759565b73ffffffffffffffffffffffffffffffffffffffff167f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1614610df6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ded906131e2565b60405180910390fd5b8060098190555050565b606060038054610e0f90613517565b80601f0160208091040260200160405190810160405280929190818152602001828054610e3b90613517565b8015610e885780601f10610e5d57610100808354040283529160200191610e88565b820191906000526020600020905b815481529060010190602001808311610e6b57829003601f168201915b5050505050905090565b60095481565b6000610ea26109a2565b905061115c8282610eb39190613327565b1115610ef4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eeb906131c2565b60405180910390fd5b600180811115610f2d577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b600a60009054906101000a900460ff166001811115610f75577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b141561106857600854811015610fce576005821115610fc9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fc090613142565b60405180910390fd5b611063565b600a821115611012576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161100990613202565b60405180910390fd5b8160095461102091906133ae565b341015611062576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161105990613102565b60405180910390fd5b5b6110a3565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161109a906130e2565b60405180910390fd5b6110ad3383612049565b5050565b6110b9611759565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561111e576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806007600061112b611759565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166111d8611759565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161121d9190613061565b60405180910390a35050565b611234848484611818565b6112538373ffffffffffffffffffffffffffffffffffffffff16612067565b801561126857506112668484848461208a565b155b1561129f576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b600a60009054906101000a900460ff1681565b60606112c38261170b565b611302576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112f9906131a2565b60405180910390fd5b600061130c6121ea565b9050600081511161132c576040518060200160405280600081525061135a565b806113368461227c565b600c60405160200161134a93929190612fb4565b6040516020818303038152906040525b915050919050565b61136a611759565b73ffffffffffffffffffffffffffffffffffffffff167f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16146113f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113ee906131e2565b60405180910390fd5b806001811115611430577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b600a60009054906101000a900460ff166001811115611478577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b14156114b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114b090613182565b60405180910390fd5b6000600a60009054906101000a900460ff16905081600a60006101000a81548160ff02191690836001811115611518577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b02179055507f0f63b8bffe147a0fe1362da0e6e3ae0fcffce5497482f4d438715fe53890acf181600a60009054906101000a900460ff1660405161155d929190613097565b60405180910390a15050565b600581565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61160a611759565b73ffffffffffffffffffffffffffffffffffffffff167f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1614611697576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168e906131e2565b60405180910390fd5b8060088190555050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600081611716611813565b11158015611725575060005482105b8015611752575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600090565b600061182382611d09565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff1661184a611759565b73ffffffffffffffffffffffffffffffffffffffff16148061187d575061187c8260000151611877611759565b61156e565b5b806118c2575061188b611759565b73ffffffffffffffffffffffffffffffffffffffff166118aa8461081b565b73ffffffffffffffffffffffffffffffffffffffff16145b9050806118fb576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff1614611964576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156119cb576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6119d88585856001612429565b6119e86000848460000151611761565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550836004600085815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600085815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600184019050600073ffffffffffffffffffffffffffffffffffffffff166004600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415611c9957600054811015611c985782600001516004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082602001516004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b50828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611d02858585600161242f565b5050505050565b611d1161289b565b600082905080611d1f611813565b11158015611d2e575060005481105b15611f61576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff16151515158152505090508060400151611f5f57600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614611e43578092505050611f93565b5b600115611f5e57818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614611f59578092505050611f93565b611e44565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60008273ffffffffffffffffffffffffffffffffffffffff1682604051611fbe90612fe5565b60006040518083038185875af1925050503d8060008114611ffb576040519150601f19603f3d011682016040523d82523d6000602084013e612000565b606091505b5050905080612044576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161203b90613122565b60405180910390fd5b505050565b612063828260405180602001604052806000815250612435565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a026120b0611759565b8786866040518563ffffffff1660e01b81526004016120d29493929190613015565b602060405180830381600087803b1580156120ec57600080fd5b505af192505050801561211d57506040513d601f19601f8201168201806040525081019061211a9190612c19565b60015b612197573d806000811461214d576040519150601f19603f3d011682016040523d82523d6000602084013e612152565b606091505b5060008151141561218f576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060600b80546121f990613517565b80601f016020809104026020016040519081016040528092919081815260200182805461222590613517565b80156122725780601f1061224757610100808354040283529160200191612272565b820191906000526020600020905b81548152906001019060200180831161225557829003601f168201915b5050505050905090565b606060008214156122c4576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612424565b600082905060005b600082146122f65780806122df9061357a565b915050600a826122ef919061337d565b91506122cc565b60008167ffffffffffffffff811115612338577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561236a5781602001600182028036833780820191505090505b5090505b6000851461241d576001826123839190613408565b9150600a8561239291906135c3565b603061239e9190613327565b60f81b8183815181106123da577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612416919061337d565b945061236e565b8093505050505b919050565b50505050565b50505050565b6124428383836001612447565b505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614156124b4576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008414156124ef576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6124fc6000868387612429565b83600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000819050600085820190508380156126c657506126c58773ffffffffffffffffffffffffffffffffffffffff16612067565b5b1561278c575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461273b600088848060010195508861208a565b612771576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b808214156126cc57826000541461278757600080fd5b6127f8565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48082141561278d575b81600081905550505061280e600086838761242f565b5050505050565b82805461282190613517565b90600052602060002090601f016020900481019282612843576000855561288a565b82601f1061285c57805160ff191683800117855561288a565b8280016001018555821561288a579182015b8281111561288957825182559160200191906001019061286e565b5b50905061289791906128de565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b808211156128f75760008160009055506001016128df565b5090565b600061290e61290984613262565b61323d565b90508281526020810184848401111561292657600080fd5b6129318482856134d5565b509392505050565b600061294c61294784613293565b61323d565b90508281526020810184848401111561296457600080fd5b61296f8482856134d5565b509392505050565b600081359050612986816138a1565b92915050565b60008135905061299b816138b8565b92915050565b6000813590506129b0816138cf565b92915050565b6000815190506129c5816138cf565b92915050565b600082601f8301126129dc57600080fd5b81356129ec8482602086016128fb565b91505092915050565b600081359050612a04816138e6565b92915050565b600082601f830112612a1b57600080fd5b8135612a2b848260208601612939565b91505092915050565b600081359050612a43816138f6565b92915050565b600060208284031215612a5b57600080fd5b6000612a6984828501612977565b91505092915050565b60008060408385031215612a8557600080fd5b6000612a9385828601612977565b9250506020612aa485828601612977565b9150509250929050565b600080600060608486031215612ac357600080fd5b6000612ad186828701612977565b9350506020612ae286828701612977565b9250506040612af386828701612a34565b9150509250925092565b60008060008060808587031215612b1357600080fd5b6000612b2187828801612977565b9450506020612b3287828801612977565b9350506040612b4387828801612a34565b925050606085013567ffffffffffffffff811115612b6057600080fd5b612b6c878288016129cb565b91505092959194509250565b60008060408385031215612b8b57600080fd5b6000612b9985828601612977565b9250506020612baa8582860161298c565b9150509250929050565b60008060408385031215612bc757600080fd5b6000612bd585828601612977565b9250506020612be685828601612a34565b9150509250929050565b600060208284031215612c0257600080fd5b6000612c10848285016129a1565b91505092915050565b600060208284031215612c2b57600080fd5b6000612c39848285016129b6565b91505092915050565b600060208284031215612c5457600080fd5b6000612c62848285016129f5565b91505092915050565b600060208284031215612c7d57600080fd5b600082013567ffffffffffffffff811115612c9757600080fd5b612ca384828501612a0a565b91505092915050565b600060208284031215612cbe57600080fd5b6000612ccc84828501612a34565b91505092915050565b612cde8161343c565b82525050565b612ced8161344e565b82525050565b6000612cfe826132d9565b612d0881856132ef565b9350612d188185602086016134e4565b612d21816136df565b840191505092915050565b612d35816134c3565b82525050565b6000612d46826132e4565b612d50818561330b565b9350612d608185602086016134e4565b612d69816136df565b840191505092915050565b6000612d7f826132e4565b612d89818561331c565b9350612d998185602086016134e4565b80840191505092915050565b60008154612db281613517565b612dbc818661331c565b94506001821660008114612dd75760018114612de857612e1b565b60ff19831686528186019350612e1b565b612df1856132c4565b60005b83811015612e1357815481890152600182019150602081019050612df4565b838801955050505b50505092915050565b6000612e31601a8361330b565b9150612e3c826136f0565b602082019050919050565b6000612e54601e8361330b565b9150612e5f82613719565b602082019050919050565b6000612e77600f8361330b565b9150612e8282613742565b602082019050919050565b6000612e9a601f8361330b565b9150612ea58261376b565b602082019050919050565b6000612ebd60088361330b565b9150612ec882613794565b602082019050919050565b6000612ee0601a8361330b565b9150612eeb826137bd565b602082019050919050565b6000612f0360158361330b565b9150612f0e826137e6565b602082019050919050565b6000612f26601e8361330b565b9150612f318261380f565b602082019050919050565b6000612f4960158361330b565b9150612f5482613838565b602082019050919050565b6000612f6c600083613300565b9150612f7782613861565b600082019050919050565b6000612f8f601a8361330b565b9150612f9a82613864565b602082019050919050565b612fae816134b9565b82525050565b6000612fc08286612d74565b9150612fcc8285612d74565b9150612fd88284612da5565b9150819050949350505050565b6000612ff082612f5f565b9150819050919050565b600060208201905061300f6000830184612cd5565b92915050565b600060808201905061302a6000830187612cd5565b6130376020830186612cd5565b6130446040830185612fa5565b81810360608301526130568184612cf3565b905095945050505050565b60006020820190506130766000830184612ce4565b92915050565b60006020820190506130916000830184612d2c565b92915050565b60006040820190506130ac6000830185612d2c565b6130b96020830184612d2c565b9392505050565b600060208201905081810360008301526130da8184612d3b565b905092915050565b600060208201905081810360008301526130fb81612e24565b9050919050565b6000602082019050818103600083015261311b81612e47565b9050919050565b6000602082019050818103600083015261313b81612e6a565b9050919050565b6000602082019050818103600083015261315b81612e8d565b9050919050565b6000602082019050818103600083015261317b81612eb0565b9050919050565b6000602082019050818103600083015261319b81612ed3565b9050919050565b600060208201905081810360008301526131bb81612ef6565b9050919050565b600060208201905081810360008301526131db81612f19565b9050919050565b600060208201905081810360008301526131fb81612f3c565b9050919050565b6000602082019050818103600083015261321b81612f82565b9050919050565b60006020820190506132376000830184612fa5565b92915050565b6000613247613258565b90506132538282613549565b919050565b6000604051905090565b600067ffffffffffffffff82111561327d5761327c6136b0565b5b613286826136df565b9050602081019050919050565b600067ffffffffffffffff8211156132ae576132ad6136b0565b5b6132b7826136df565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000613332826134b9565b915061333d836134b9565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613372576133716135f4565b5b828201905092915050565b6000613388826134b9565b9150613393836134b9565b9250826133a3576133a2613623565b5b828204905092915050565b60006133b9826134b9565b91506133c4836134b9565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156133fd576133fc6135f4565b5b828202905092915050565b6000613413826134b9565b915061341e836134b9565b925082821015613431576134306135f4565b5b828203905092915050565b600061344782613499565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b60008190506134948261388d565b919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60006134ce82613486565b9050919050565b82818337600083830152505050565b60005b838110156135025780820151818401526020810190506134e7565b83811115613511576000848401525b50505050565b6000600282049050600182168061352f57607f821691505b6020821081141561354357613542613681565b5b50919050565b613552826136df565b810181811067ffffffffffffffff82111715613571576135706136b0565b5b80604052505050565b6000613585826134b9565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156135b8576135b76135f4565b5b600182019050919050565b60006135ce826134b9565b91506135d9836134b9565b9250826135e9576135e8613623565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f526f79616c417a756b693a206d696e742069732070617573652e000000000000600082015250565b7f526f79616c417a756b693a20696e73756666696369656e742066756e642e0000600082015250565b7f5472616e73666572206661696c65640000000000000000000000000000000000600082015250565b7f526f79616c417a756b693a20746f6f206d616e792066726565206d696e742e00600082015250565b7f4e6f206d6f6e6579000000000000000000000000000000000000000000000000600082015250565b7f526f79616c417a756b693a20696e76616c69642073746167652e000000000000600082015250565b7f526f79616c417a756b693a206e6f742065786973740000000000000000000000600082015250565b7f526f79616c417a756b693a20657863656564206d617820737570706c792e0000600082015250565b7f526f79616c417a756b693a206e6f74206f776e65720000000000000000000000600082015250565b50565b7f526f79616c417a756b693a20746f6f206d616e79206d696e742e000000000000600082015250565b6002811061389e5761389d613652565b5b50565b6138aa8161343c565b81146138b557600080fd5b50565b6138c18161344e565b81146138cc57600080fd5b50565b6138d88161345a565b81146138e357600080fd5b50565b600281106138f357600080fd5b50565b6138ff816134b9565b811461390a57600080fd5b5056fea264697066735822122032a24dbe9e5059ed8fe1173c3bc29eaba34b7e8078abef535d2917622b24a63464736f6c63430008040033

Deployed Bytecode

0x6080604052600436106101b75760003560e01c80638da5cb5b116100ec578063b88d4fde1161008a578063ce3cd99711610064578063ce3cd997146105ed578063e1371bc414610616578063e985e9c514610641578063f676308a1461067e576101b7565b8063b88d4fde1461055c578063c040e6b814610585578063c87b56dd146105b0576101b7565b806395d89b41116100c657806395d89b41146104c1578063a035b1fe146104ec578063a0712d6814610517578063a22cb46514610533576101b7565b80638da5cb5b146104425780638ecad7211461046d57806391b7f5ed14610498576101b7565b806332cb6b0c116101595780636352211e116101335780636352211e146103865780636c0360eb146103c357806370a08231146103ee578063853828b61461042b576101b7565b806332cb6b0c1461030957806342842e0e1461033457806355f804b31461035d576101b7565b8063095ea7b311610195578063095ea7b31461026157806318160ddd1461028a57806323b872dd146102b557806324a6ab0c146102de576101b7565b806301ffc9a7146101bc57806306fdde03146101f9578063081812fc14610224575b600080fd5b3480156101c857600080fd5b506101e360048036038101906101de9190612bf0565b6106a7565b6040516101f09190613061565b60405180910390f35b34801561020557600080fd5b5061020e610789565b60405161021b91906130c0565b60405180910390f35b34801561023057600080fd5b5061024b60048036038101906102469190612cac565b61081b565b6040516102589190612ffa565b60405180910390f35b34801561026d57600080fd5b5061028860048036038101906102839190612bb4565b610897565b005b34801561029657600080fd5b5061029f6109a2565b6040516102ac9190613222565b60405180910390f35b3480156102c157600080fd5b506102dc60048036038101906102d79190612aae565b6109b9565b005b3480156102ea57600080fd5b506102f36109c9565b6040516103009190613222565b60405180910390f35b34801561031557600080fd5b5061031e6109cf565b60405161032b9190613222565b60405180910390f35b34801561034057600080fd5b5061035b60048036038101906103569190612aae565b6109d5565b005b34801561036957600080fd5b50610384600480360381019061037f9190612c6b565b6109f5565b005b34801561039257600080fd5b506103ad60048036038101906103a89190612cac565b610aa4565b6040516103ba9190612ffa565b60405180910390f35b3480156103cf57600080fd5b506103d8610aba565b6040516103e591906130c0565b60405180910390f35b3480156103fa57600080fd5b5061041560048036038101906104109190612a49565b610b48565b6040516104229190613222565b60405180910390f35b34801561043757600080fd5b50610440610c18565b005b34801561044e57600080fd5b50610457610d38565b6040516104649190612ffa565b60405180910390f35b34801561047957600080fd5b50610482610d5c565b60405161048f9190613222565b60405180910390f35b3480156104a457600080fd5b506104bf60048036038101906104ba9190612cac565b610d61565b005b3480156104cd57600080fd5b506104d6610e00565b6040516104e391906130c0565b60405180910390f35b3480156104f857600080fd5b50610501610e92565b60405161050e9190613222565b60405180910390f35b610531600480360381019061052c9190612cac565b610e98565b005b34801561053f57600080fd5b5061055a60048036038101906105559190612b78565b6110b1565b005b34801561056857600080fd5b50610583600480360381019061057e9190612afd565b611229565b005b34801561059157600080fd5b5061059a6112a5565b6040516105a7919061307c565b60405180910390f35b3480156105bc57600080fd5b506105d760048036038101906105d29190612cac565b6112b8565b6040516105e491906130c0565b60405180910390f35b3480156105f957600080fd5b50610614600480360381019061060f9190612c42565b611362565b005b34801561062257600080fd5b5061062b611569565b6040516106389190613222565b60405180910390f35b34801561064d57600080fd5b5061066860048036038101906106639190612a72565b61156e565b6040516106759190613061565b60405180910390f35b34801561068a57600080fd5b506106a560048036038101906106a09190612cac565b611602565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061077257507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806107825750610781826116a1565b5b9050919050565b60606002805461079890613517565b80601f01602080910402602001604051908101604052809291908181526020018280546107c490613517565b80156108115780601f106107e657610100808354040283529160200191610811565b820191906000526020600020905b8154815290600101906020018083116107f457829003601f168201915b5050505050905090565b60006108268261170b565b61085c576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006108a282610aa4565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561090a576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610929611759565b73ffffffffffffffffffffffffffffffffffffffff161415801561095b575061095981610954611759565b61156e565b155b15610992576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61099d838383611761565b505050565b60006109ac611813565b6001546000540303905090565b6109c4838383611818565b505050565b60085481565b61115c81565b6109f083838360405180602001604052806000815250611229565b505050565b6109fd611759565b73ffffffffffffffffffffffffffffffffffffffff167f000000000000000000000000b86fc50cd1c62997f0fc49470ee220fd14d2c57473ffffffffffffffffffffffffffffffffffffffff1614610a8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a81906131e2565b60405180910390fd5b80600b9080519060200190610aa0929190612815565b5050565b6000610aaf82611d09565b600001519050919050565b600b8054610ac790613517565b80601f0160208091040260200160405190810160405280929190818152602001828054610af390613517565b8015610b405780601f10610b1557610100808354040283529160200191610b40565b820191906000526020600020905b815481529060010190602001808311610b2357829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610bb0576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b610c20611759565b73ffffffffffffffffffffffffffffffffffffffff167f000000000000000000000000b86fc50cd1c62997f0fc49470ee220fd14d2c57473ffffffffffffffffffffffffffffffffffffffff1614610cad576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ca4906131e2565b60405180910390fd5b600047905060008111610cf5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cec90613162565b60405180910390fd5b610d2b73b4008a294609a9f1af08188592dffca0477658cf6064601884610d1c91906133ae565b610d26919061337d565b611f98565b610d353347611f98565b50565b7f000000000000000000000000b86fc50cd1c62997f0fc49470ee220fd14d2c57481565b600a81565b610d69611759565b73ffffffffffffffffffffffffffffffffffffffff167f000000000000000000000000b86fc50cd1c62997f0fc49470ee220fd14d2c57473ffffffffffffffffffffffffffffffffffffffff1614610df6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ded906131e2565b60405180910390fd5b8060098190555050565b606060038054610e0f90613517565b80601f0160208091040260200160405190810160405280929190818152602001828054610e3b90613517565b8015610e885780601f10610e5d57610100808354040283529160200191610e88565b820191906000526020600020905b815481529060010190602001808311610e6b57829003601f168201915b5050505050905090565b60095481565b6000610ea26109a2565b905061115c8282610eb39190613327565b1115610ef4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eeb906131c2565b60405180910390fd5b600180811115610f2d577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b600a60009054906101000a900460ff166001811115610f75577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b141561106857600854811015610fce576005821115610fc9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fc090613142565b60405180910390fd5b611063565b600a821115611012576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161100990613202565b60405180910390fd5b8160095461102091906133ae565b341015611062576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161105990613102565b60405180910390fd5b5b6110a3565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161109a906130e2565b60405180910390fd5b6110ad3383612049565b5050565b6110b9611759565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561111e576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806007600061112b611759565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166111d8611759565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161121d9190613061565b60405180910390a35050565b611234848484611818565b6112538373ffffffffffffffffffffffffffffffffffffffff16612067565b801561126857506112668484848461208a565b155b1561129f576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b600a60009054906101000a900460ff1681565b60606112c38261170b565b611302576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112f9906131a2565b60405180910390fd5b600061130c6121ea565b9050600081511161132c576040518060200160405280600081525061135a565b806113368461227c565b600c60405160200161134a93929190612fb4565b6040516020818303038152906040525b915050919050565b61136a611759565b73ffffffffffffffffffffffffffffffffffffffff167f000000000000000000000000b86fc50cd1c62997f0fc49470ee220fd14d2c57473ffffffffffffffffffffffffffffffffffffffff16146113f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113ee906131e2565b60405180910390fd5b806001811115611430577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b600a60009054906101000a900460ff166001811115611478577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b14156114b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114b090613182565b60405180910390fd5b6000600a60009054906101000a900460ff16905081600a60006101000a81548160ff02191690836001811115611518577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b02179055507f0f63b8bffe147a0fe1362da0e6e3ae0fcffce5497482f4d438715fe53890acf181600a60009054906101000a900460ff1660405161155d929190613097565b60405180910390a15050565b600581565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61160a611759565b73ffffffffffffffffffffffffffffffffffffffff167f000000000000000000000000b86fc50cd1c62997f0fc49470ee220fd14d2c57473ffffffffffffffffffffffffffffffffffffffff1614611697576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168e906131e2565b60405180910390fd5b8060088190555050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600081611716611813565b11158015611725575060005482105b8015611752575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600090565b600061182382611d09565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff1661184a611759565b73ffffffffffffffffffffffffffffffffffffffff16148061187d575061187c8260000151611877611759565b61156e565b5b806118c2575061188b611759565b73ffffffffffffffffffffffffffffffffffffffff166118aa8461081b565b73ffffffffffffffffffffffffffffffffffffffff16145b9050806118fb576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff1614611964576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156119cb576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6119d88585856001612429565b6119e86000848460000151611761565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550836004600085815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600085815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600184019050600073ffffffffffffffffffffffffffffffffffffffff166004600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415611c9957600054811015611c985782600001516004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082602001516004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b50828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611d02858585600161242f565b5050505050565b611d1161289b565b600082905080611d1f611813565b11158015611d2e575060005481105b15611f61576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff16151515158152505090508060400151611f5f57600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614611e43578092505050611f93565b5b600115611f5e57818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614611f59578092505050611f93565b611e44565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60008273ffffffffffffffffffffffffffffffffffffffff1682604051611fbe90612fe5565b60006040518083038185875af1925050503d8060008114611ffb576040519150601f19603f3d011682016040523d82523d6000602084013e612000565b606091505b5050905080612044576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161203b90613122565b60405180910390fd5b505050565b612063828260405180602001604052806000815250612435565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a026120b0611759565b8786866040518563ffffffff1660e01b81526004016120d29493929190613015565b602060405180830381600087803b1580156120ec57600080fd5b505af192505050801561211d57506040513d601f19601f8201168201806040525081019061211a9190612c19565b60015b612197573d806000811461214d576040519150601f19603f3d011682016040523d82523d6000602084013e612152565b606091505b5060008151141561218f576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060600b80546121f990613517565b80601f016020809104026020016040519081016040528092919081815260200182805461222590613517565b80156122725780601f1061224757610100808354040283529160200191612272565b820191906000526020600020905b81548152906001019060200180831161225557829003601f168201915b5050505050905090565b606060008214156122c4576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612424565b600082905060005b600082146122f65780806122df9061357a565b915050600a826122ef919061337d565b91506122cc565b60008167ffffffffffffffff811115612338577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561236a5781602001600182028036833780820191505090505b5090505b6000851461241d576001826123839190613408565b9150600a8561239291906135c3565b603061239e9190613327565b60f81b8183815181106123da577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612416919061337d565b945061236e565b8093505050505b919050565b50505050565b50505050565b6124428383836001612447565b505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614156124b4576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008414156124ef576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6124fc6000868387612429565b83600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000819050600085820190508380156126c657506126c58773ffffffffffffffffffffffffffffffffffffffff16612067565b5b1561278c575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461273b600088848060010195508861208a565b612771576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b808214156126cc57826000541461278757600080fd5b6127f8565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48082141561278d575b81600081905550505061280e600086838761242f565b5050505050565b82805461282190613517565b90600052602060002090601f016020900481019282612843576000855561288a565b82601f1061285c57805160ff191683800117855561288a565b8280016001018555821561288a579182015b8281111561288957825182559160200191906001019061286e565b5b50905061289791906128de565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b808211156128f75760008160009055506001016128df565b5090565b600061290e61290984613262565b61323d565b90508281526020810184848401111561292657600080fd5b6129318482856134d5565b509392505050565b600061294c61294784613293565b61323d565b90508281526020810184848401111561296457600080fd5b61296f8482856134d5565b509392505050565b600081359050612986816138a1565b92915050565b60008135905061299b816138b8565b92915050565b6000813590506129b0816138cf565b92915050565b6000815190506129c5816138cf565b92915050565b600082601f8301126129dc57600080fd5b81356129ec8482602086016128fb565b91505092915050565b600081359050612a04816138e6565b92915050565b600082601f830112612a1b57600080fd5b8135612a2b848260208601612939565b91505092915050565b600081359050612a43816138f6565b92915050565b600060208284031215612a5b57600080fd5b6000612a6984828501612977565b91505092915050565b60008060408385031215612a8557600080fd5b6000612a9385828601612977565b9250506020612aa485828601612977565b9150509250929050565b600080600060608486031215612ac357600080fd5b6000612ad186828701612977565b9350506020612ae286828701612977565b9250506040612af386828701612a34565b9150509250925092565b60008060008060808587031215612b1357600080fd5b6000612b2187828801612977565b9450506020612b3287828801612977565b9350506040612b4387828801612a34565b925050606085013567ffffffffffffffff811115612b6057600080fd5b612b6c878288016129cb565b91505092959194509250565b60008060408385031215612b8b57600080fd5b6000612b9985828601612977565b9250506020612baa8582860161298c565b9150509250929050565b60008060408385031215612bc757600080fd5b6000612bd585828601612977565b9250506020612be685828601612a34565b9150509250929050565b600060208284031215612c0257600080fd5b6000612c10848285016129a1565b91505092915050565b600060208284031215612c2b57600080fd5b6000612c39848285016129b6565b91505092915050565b600060208284031215612c5457600080fd5b6000612c62848285016129f5565b91505092915050565b600060208284031215612c7d57600080fd5b600082013567ffffffffffffffff811115612c9757600080fd5b612ca384828501612a0a565b91505092915050565b600060208284031215612cbe57600080fd5b6000612ccc84828501612a34565b91505092915050565b612cde8161343c565b82525050565b612ced8161344e565b82525050565b6000612cfe826132d9565b612d0881856132ef565b9350612d188185602086016134e4565b612d21816136df565b840191505092915050565b612d35816134c3565b82525050565b6000612d46826132e4565b612d50818561330b565b9350612d608185602086016134e4565b612d69816136df565b840191505092915050565b6000612d7f826132e4565b612d89818561331c565b9350612d998185602086016134e4565b80840191505092915050565b60008154612db281613517565b612dbc818661331c565b94506001821660008114612dd75760018114612de857612e1b565b60ff19831686528186019350612e1b565b612df1856132c4565b60005b83811015612e1357815481890152600182019150602081019050612df4565b838801955050505b50505092915050565b6000612e31601a8361330b565b9150612e3c826136f0565b602082019050919050565b6000612e54601e8361330b565b9150612e5f82613719565b602082019050919050565b6000612e77600f8361330b565b9150612e8282613742565b602082019050919050565b6000612e9a601f8361330b565b9150612ea58261376b565b602082019050919050565b6000612ebd60088361330b565b9150612ec882613794565b602082019050919050565b6000612ee0601a8361330b565b9150612eeb826137bd565b602082019050919050565b6000612f0360158361330b565b9150612f0e826137e6565b602082019050919050565b6000612f26601e8361330b565b9150612f318261380f565b602082019050919050565b6000612f4960158361330b565b9150612f5482613838565b602082019050919050565b6000612f6c600083613300565b9150612f7782613861565b600082019050919050565b6000612f8f601a8361330b565b9150612f9a82613864565b602082019050919050565b612fae816134b9565b82525050565b6000612fc08286612d74565b9150612fcc8285612d74565b9150612fd88284612da5565b9150819050949350505050565b6000612ff082612f5f565b9150819050919050565b600060208201905061300f6000830184612cd5565b92915050565b600060808201905061302a6000830187612cd5565b6130376020830186612cd5565b6130446040830185612fa5565b81810360608301526130568184612cf3565b905095945050505050565b60006020820190506130766000830184612ce4565b92915050565b60006020820190506130916000830184612d2c565b92915050565b60006040820190506130ac6000830185612d2c565b6130b96020830184612d2c565b9392505050565b600060208201905081810360008301526130da8184612d3b565b905092915050565b600060208201905081810360008301526130fb81612e24565b9050919050565b6000602082019050818103600083015261311b81612e47565b9050919050565b6000602082019050818103600083015261313b81612e6a565b9050919050565b6000602082019050818103600083015261315b81612e8d565b9050919050565b6000602082019050818103600083015261317b81612eb0565b9050919050565b6000602082019050818103600083015261319b81612ed3565b9050919050565b600060208201905081810360008301526131bb81612ef6565b9050919050565b600060208201905081810360008301526131db81612f19565b9050919050565b600060208201905081810360008301526131fb81612f3c565b9050919050565b6000602082019050818103600083015261321b81612f82565b9050919050565b60006020820190506132376000830184612fa5565b92915050565b6000613247613258565b90506132538282613549565b919050565b6000604051905090565b600067ffffffffffffffff82111561327d5761327c6136b0565b5b613286826136df565b9050602081019050919050565b600067ffffffffffffffff8211156132ae576132ad6136b0565b5b6132b7826136df565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000613332826134b9565b915061333d836134b9565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613372576133716135f4565b5b828201905092915050565b6000613388826134b9565b9150613393836134b9565b9250826133a3576133a2613623565b5b828204905092915050565b60006133b9826134b9565b91506133c4836134b9565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156133fd576133fc6135f4565b5b828202905092915050565b6000613413826134b9565b915061341e836134b9565b925082821015613431576134306135f4565b5b828203905092915050565b600061344782613499565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b60008190506134948261388d565b919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60006134ce82613486565b9050919050565b82818337600083830152505050565b60005b838110156135025780820151818401526020810190506134e7565b83811115613511576000848401525b50505050565b6000600282049050600182168061352f57607f821691505b6020821081141561354357613542613681565b5b50919050565b613552826136df565b810181811067ffffffffffffffff82111715613571576135706136b0565b5b80604052505050565b6000613585826134b9565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156135b8576135b76135f4565b5b600182019050919050565b60006135ce826134b9565b91506135d9836134b9565b9250826135e9576135e8613623565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f526f79616c417a756b693a206d696e742069732070617573652e000000000000600082015250565b7f526f79616c417a756b693a20696e73756666696369656e742066756e642e0000600082015250565b7f5472616e73666572206661696c65640000000000000000000000000000000000600082015250565b7f526f79616c417a756b693a20746f6f206d616e792066726565206d696e742e00600082015250565b7f4e6f206d6f6e6579000000000000000000000000000000000000000000000000600082015250565b7f526f79616c417a756b693a20696e76616c69642073746167652e000000000000600082015250565b7f526f79616c417a756b693a206e6f742065786973740000000000000000000000600082015250565b7f526f79616c417a756b693a20657863656564206d617820737570706c792e0000600082015250565b7f526f79616c417a756b693a206e6f74206f776e65720000000000000000000000600082015250565b50565b7f526f79616c417a756b693a20746f6f206d616e79206d696e742e000000000000600082015250565b6002811061389e5761389d613652565b5b50565b6138aa8161343c565b81146138b557600080fd5b50565b6138c18161344e565b81146138cc57600080fd5b50565b6138d88161345a565b81146138e357600080fd5b50565b600281106138f357600080fd5b50565b6138ff816134b9565b811461390a57600080fd5b5056fea264697066735822122032a24dbe9e5059ed8fe1173c3bc29eaba34b7e8078abef535d2917622b24a63464736f6c63430008040033

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.