ETH Price: $3,380.18 (-0.80%)
Gas: 3 Gwei

Token

Arise Chikun (CHIKUNS)
 

Overview

Max Total Supply

790 CHIKUNS

Holders

779

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Balance
1 CHIKUNS
0x424e97e814322be193cc78854517cc7afb2e1910
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:
AriseChikun

Compiler Version
v0.8.13+commit.abaa5c0e

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 6 : AriseChikun.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.13;

import "erc721a/contracts/ERC721A.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "./Ownable.sol";

contract AriseChikun is ERC721A, Ownable {
    uint256 public presaleStart = 1690934400;
    uint256 public presaleEnd = 1690941600;

    uint256 public maxSupply = 9000;
    uint256 public presalePrice = 0.011 ether;
    uint256 public publicPrice = 0.022 ether;

    bytes32 public root;

    string public baseTokenURI;
    string public uriSuffix = ".json";

    bool public revealed;
    bool public paused;

    modifier onlyWhenNotPaused() {
        require(!paused, "Paused");
        _;
    }

    modifier callerIsUser() {
        require(tx.origin == msg.sender, "NonEOA");
        _;
    }

    constructor(
        string memory _baseTokenURI,
        bytes32 _root
    ) ERC721A("Arise Chikun", "CHIKUNS") Ownable(msg.sender) {
        baseTokenURI = _baseTokenURI;
        root = _root;
    }

    function isValid(
        bytes32[] memory proof,
        bytes32 leaf
    ) internal view returns (bool) {
        return MerkleProof.verify(proof, root, leaf);
    }

    function presaleMint(
        uint256 quantity,
        bytes32[] memory proof
    ) external payable onlyWhenNotPaused callerIsUser {
        require(
            block.timestamp > presaleStart && block.timestamp < presaleEnd,
            "NonPresalePeriod"
        );

        require(
            isValid(proof, keccak256(abi.encodePacked(msg.sender))),
            "NonWhitelisted"
        );

        require(_totalMinted() + quantity <= maxSupply, "SupplyExceeded");

        require(msg.value >= presalePrice * quantity, "InvalidEtherAmount");

        _mint(msg.sender, quantity);
    }

    function publicMint(
        uint256 quantity
    ) external payable onlyWhenNotPaused callerIsUser {
        require(block.timestamp > presaleEnd, "NonPublicPeriod");

        require(_totalMinted() + quantity <= maxSupply, "SupplyExceeded");

        require(msg.value >= publicPrice * quantity, "InvalidEtherAmount");

        _mint(msg.sender, quantity);
    }

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

    function tokenURI(
        uint256 tokenId
    ) public view virtual override returns (string memory) {
        require(_exists(tokenId), "InvalidTokenId");

        string memory baseURI = _baseURI();
        if (!revealed) return baseURI;

        return string(abi.encodePacked(baseURI, _toString(tokenId), uriSuffix));
    }

    function mintMany(
        address[] calldata _to,
        uint256[] calldata _amount
    ) external onlyOwner {
        for (uint256 i; i < _to.length; ) {
            require(_totalMinted() + _amount[i] <= maxSupply, "SupplyExceeded");
            _mint(_to[i], _amount[i]);
            unchecked {
                i++;
            }
        }
    }

    function airdropNfts(address[] calldata _to) external onlyOwner {
        for (uint256 i; i < _to.length; ) {
            require(_totalMinted() <= maxSupply, "SupplyExceeded");
            _mint(_to[i], 1);
            unchecked {
                i++;
            }
        }
    }

    function withdraw() external onlyOwner {
        (bool success, ) = msg.sender.call{value: address(this).balance}("");
        require(success, "WithdrawFailed");
    }

    function setRoot(bytes32 _root) external onlyOwner {
        root = _root;
    }

    function setPaused(bool _pasused) public onlyOwner {
        paused = _pasused;
    }

    function setBaseURI(string memory _baseTokenURI) external onlyOwner {
        baseTokenURI = _baseTokenURI;
    }

    function setRevealed(bool _state) external onlyOwner {
        revealed = _state;
    }

    function setUriSuffix(string memory _uriSuffix) external onlyOwner {
        uriSuffix = _uriSuffix;
    }

    function setPresalePrice(uint256 _price) external onlyOwner {
        presalePrice = _price;
    }

    function setPublicPrice(uint256 _price) external onlyOwner {
        publicPrice = _price;
    }

    function setMaxSupply(uint256 _maxSupply) external onlyOwner {
        require(_totalMinted() > _maxSupply, "InvalidMaxSupply");
        maxSupply = _maxSupply;
    }

    function setSaleTimings(
        uint256 _presaleStart,
        uint256 _presaleEnd
    ) external onlyOwner {
        presaleStart = _presaleStart;
        presaleEnd = _presaleEnd;
    }

    receive() external payable {}

    fallback() external payable {}
}

File 2 of 6 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol)

pragma solidity ^0.8.13;

import "@openzeppelin/contracts/utils/Context.sol";

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * The initial owner is set to the address provided by the deployer. This can
 * later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

    /**
     * @dev The caller account is not authorized to perform an operation.
     */
    error OwnableUnauthorizedAccount(address account);

    /**
     * @dev The owner is not a valid owner account. (eg. `address(0)`)
     */
    error OwnableInvalidOwner(address owner);

    event OwnershipTransferred(
        address indexed previousOwner,
        address indexed newOwner
    );

    /**
     * @dev Initializes the contract setting the address provided by the deployer as the initial owner.
     */
    constructor(address initialOwner) {
        _transferOwnership(initialOwner);
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        if (owner() != _msgSender()) {
            revert OwnableUnauthorizedAccount(_msgSender());
        }
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby disabling any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function AriseChikun(address newOwner) public virtual onlyOwner {
        if (newOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 3 of 6 : ERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.2.3
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import './IERC721A.sol';

/**
 * @dev Interface of ERC721 token receiver.
 */
interface ERC721A__IERC721Receiver {
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

/**
 * @title ERC721A
 *
 * @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721)
 * Non-Fungible Token Standard, including the Metadata extension.
 * Optimized for lower gas during batch mints.
 *
 * Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...)
 * starting from `_startTokenId()`.
 *
 * Assumptions:
 *
 * - An owner cannot have more than 2**64 - 1 (max value of uint64) of supply.
 * - The maximum token ID cannot exceed 2**256 - 1 (max value of uint256).
 */
contract ERC721A is IERC721A {
    // Bypass for a `--via-ir` bug (https://github.com/chiru-labs/ERC721A/pull/364).
    struct TokenApprovalRef {
        address value;
    }

    // =============================================================
    //                           CONSTANTS
    // =============================================================

    // Mask of an entry in packed address data.
    uint256 private constant _BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1;

    // The bit position of `numberMinted` in packed address data.
    uint256 private constant _BITPOS_NUMBER_MINTED = 64;

    // The bit position of `numberBurned` in packed address data.
    uint256 private constant _BITPOS_NUMBER_BURNED = 128;

    // The bit position of `aux` in packed address data.
    uint256 private constant _BITPOS_AUX = 192;

    // Mask of all 256 bits in packed address data except the 64 bits for `aux`.
    uint256 private constant _BITMASK_AUX_COMPLEMENT = (1 << 192) - 1;

    // The bit position of `startTimestamp` in packed ownership.
    uint256 private constant _BITPOS_START_TIMESTAMP = 160;

    // The bit mask of the `burned` bit in packed ownership.
    uint256 private constant _BITMASK_BURNED = 1 << 224;

    // The bit position of the `nextInitialized` bit in packed ownership.
    uint256 private constant _BITPOS_NEXT_INITIALIZED = 225;

    // The bit mask of the `nextInitialized` bit in packed ownership.
    uint256 private constant _BITMASK_NEXT_INITIALIZED = 1 << 225;

    // The bit position of `extraData` in packed ownership.
    uint256 private constant _BITPOS_EXTRA_DATA = 232;

    // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`.
    uint256 private constant _BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1;

    // The mask of the lower 160 bits for addresses.
    uint256 private constant _BITMASK_ADDRESS = (1 << 160) - 1;

    // The maximum `quantity` that can be minted with {_mintERC2309}.
    // This limit is to prevent overflows on the address data entries.
    // For a limit of 5000, a total of 3.689e15 calls to {_mintERC2309}
    // is required to cause an overflow, which is unrealistic.
    uint256 private constant _MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000;

    // The `Transfer` event signature is given by:
    // `keccak256(bytes("Transfer(address,address,uint256)"))`.
    bytes32 private constant _TRANSFER_EVENT_SIGNATURE =
        0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef;

    // =============================================================
    //                            STORAGE
    // =============================================================

    // The next token ID to be minted.
    uint256 private _currentIndex;

    // The number of tokens burned.
    uint256 private _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 {_packedOwnershipOf} implementation for details.
    //
    // Bits Layout:
    // - [0..159]   `addr`
    // - [160..223] `startTimestamp`
    // - [224]      `burned`
    // - [225]      `nextInitialized`
    // - [232..255] `extraData`
    mapping(uint256 => uint256) private _packedOwnerships;

    // Mapping owner address to address data.
    //
    // Bits Layout:
    // - [0..63]    `balance`
    // - [64..127]  `numberMinted`
    // - [128..191] `numberBurned`
    // - [192..255] `aux`
    mapping(address => uint256) private _packedAddressData;

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

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

    // =============================================================
    //                          CONSTRUCTOR
    // =============================================================

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

    // =============================================================
    //                   TOKEN COUNTING OPERATIONS
    // =============================================================

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

    /**
     * @dev Returns the next token ID to be minted.
     */
    function _nextTokenId() internal view virtual returns (uint256) {
        return _currentIndex;
    }

    /**
     * @dev Returns the total number of tokens in existence.
     * Burned tokens will reduce the count.
     * To get the total number of tokens minted, please see {_totalMinted}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        // Counter underflow is impossible as _burnCounter cannot be incremented
        // more than `_currentIndex - _startTokenId()` times.
        unchecked {
            return _currentIndex - _burnCounter - _startTokenId();
        }
    }

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

    /**
     * @dev Returns the total number of tokens burned.
     */
    function _totalBurned() internal view virtual returns (uint256) {
        return _burnCounter;
    }

    // =============================================================
    //                    ADDRESS DATA OPERATIONS
    // =============================================================

    /**
     * @dev Returns the number of tokens in `owner`'s account.
     */
    function balanceOf(address owner) public view virtual override returns (uint256) {
        if (owner == address(0)) revert BalanceQueryForZeroAddress();
        return _packedAddressData[owner] & _BITMASK_ADDRESS_DATA_ENTRY;
    }

    /**
     * Returns the number of tokens minted by `owner`.
     */
    function _numberMinted(address owner) internal view returns (uint256) {
        return (_packedAddressData[owner] >> _BITPOS_NUMBER_MINTED) & _BITMASK_ADDRESS_DATA_ENTRY;
    }

    /**
     * Returns the number of tokens burned by or on behalf of `owner`.
     */
    function _numberBurned(address owner) internal view returns (uint256) {
        return (_packedAddressData[owner] >> _BITPOS_NUMBER_BURNED) & _BITMASK_ADDRESS_DATA_ENTRY;
    }

    /**
     * Returns the auxiliary data for `owner`. (e.g. number of whitelist mint slots used).
     */
    function _getAux(address owner) internal view returns (uint64) {
        return uint64(_packedAddressData[owner] >> _BITPOS_AUX);
    }

    /**
     * Sets the auxiliary 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 virtual {
        uint256 packed = _packedAddressData[owner];
        uint256 auxCasted;
        // Cast `aux` with assembly to avoid redundant masking.
        assembly {
            auxCasted := aux
        }
        packed = (packed & _BITMASK_AUX_COMPLEMENT) | (auxCasted << _BITPOS_AUX);
        _packedAddressData[owner] = packed;
    }

    // =============================================================
    //                            IERC165
    // =============================================================

    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified)
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30000 gas.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        // The interface IDs are constants representing the first 4 bytes
        // of the XOR of all function selectors in the interface.
        // See: [ERC165](https://eips.ethereum.org/EIPS/eip-165)
        // (e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`)
        return
            interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165.
            interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721.
            interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata.
    }

    // =============================================================
    //                        IERC721Metadata
    // =============================================================

    /**
     * @dev Returns the token collection name.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the token collection symbol.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    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, _toString(tokenId))) : '';
    }

    /**
     * @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, it can be overridden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return '';
    }

    // =============================================================
    //                     OWNERSHIPS OPERATIONS
    // =============================================================

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        return address(uint160(_packedOwnershipOf(tokenId)));
    }

    /**
     * @dev Gas spent here starts off proportional to the maximum mint batch size.
     * It gradually moves to O(1) as tokens get transferred around over time.
     */
    function _ownershipOf(uint256 tokenId) internal view virtual returns (TokenOwnership memory) {
        return _unpackedOwnership(_packedOwnershipOf(tokenId));
    }

    /**
     * @dev Returns the unpacked `TokenOwnership` struct at `index`.
     */
    function _ownershipAt(uint256 index) internal view virtual returns (TokenOwnership memory) {
        return _unpackedOwnership(_packedOwnerships[index]);
    }

    /**
     * @dev Initializes the ownership slot minted at `index` for efficiency purposes.
     */
    function _initializeOwnershipAt(uint256 index) internal virtual {
        if (_packedOwnerships[index] == 0) {
            _packedOwnerships[index] = _packedOwnershipOf(index);
        }
    }

    /**
     * Returns the packed ownership data of `tokenId`.
     */
    function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) {
        uint256 curr = tokenId;

        unchecked {
            if (_startTokenId() <= curr)
                if (curr < _currentIndex) {
                    uint256 packed = _packedOwnerships[curr];
                    // If not burned.
                    if (packed & _BITMASK_BURNED == 0) {
                        // Invariant:
                        // There will always be an initialized ownership slot
                        // (i.e. `ownership.addr != address(0) && ownership.burned == false`)
                        // before an unintialized ownership slot
                        // (i.e. `ownership.addr == address(0) && ownership.burned == false`)
                        // Hence, `curr` will not underflow.
                        //
                        // We can directly compare the packed value.
                        // If the address is zero, packed will be zero.
                        while (packed == 0) {
                            packed = _packedOwnerships[--curr];
                        }
                        return packed;
                    }
                }
        }
        revert OwnerQueryForNonexistentToken();
    }

    /**
     * @dev Returns the unpacked `TokenOwnership` struct from `packed`.
     */
    function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) {
        ownership.addr = address(uint160(packed));
        ownership.startTimestamp = uint64(packed >> _BITPOS_START_TIMESTAMP);
        ownership.burned = packed & _BITMASK_BURNED != 0;
        ownership.extraData = uint24(packed >> _BITPOS_EXTRA_DATA);
    }

    /**
     * @dev Packs ownership data into a single uint256.
     */
    function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) {
        assembly {
            // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean.
            owner := and(owner, _BITMASK_ADDRESS)
            // `owner | (block.timestamp << _BITPOS_START_TIMESTAMP) | flags`.
            result := or(owner, or(shl(_BITPOS_START_TIMESTAMP, timestamp()), flags))
        }
    }

    /**
     * @dev Returns the `nextInitialized` flag set if `quantity` equals 1.
     */
    function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) {
        // For branchless setting of the `nextInitialized` flag.
        assembly {
            // `(quantity == 1) << _BITPOS_NEXT_INITIALIZED`.
            result := shl(_BITPOS_NEXT_INITIALIZED, eq(quantity, 1))
        }
    }

    // =============================================================
    //                      APPROVAL OPERATIONS
    // =============================================================

    /**
     * @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) public payable virtual override {
        address owner = ownerOf(tokenId);

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

        _tokenApprovals[tokenId].value = to;
        emit Approval(owner, to, tokenId);
    }

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken();

        return _tokenApprovals[tokenId].value;
    }

    /**
     * @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) public virtual override {
        _operatorApprovals[_msgSenderERC721A()][operator] = approved;
        emit ApprovalForAll(_msgSenderERC721A(), operator, approved);
    }

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

    /**
     * @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. See {_mint}.
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return
            _startTokenId() <= tokenId &&
            tokenId < _currentIndex && // If within bounds,
            _packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not burned.
    }

    /**
     * @dev Returns whether `msgSender` is equal to `approvedAddress` or `owner`.
     */
    function _isSenderApprovedOrOwner(
        address approvedAddress,
        address owner,
        address msgSender
    ) private pure returns (bool result) {
        assembly {
            // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean.
            owner := and(owner, _BITMASK_ADDRESS)
            // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean.
            msgSender := and(msgSender, _BITMASK_ADDRESS)
            // `msgSender == owner || msgSender == approvedAddress`.
            result := or(eq(msgSender, owner), eq(msgSender, approvedAddress))
        }
    }

    /**
     * @dev Returns the storage slot and value for the approved address of `tokenId`.
     */
    function _getApprovedSlotAndAddress(uint256 tokenId)
        private
        view
        returns (uint256 approvedAddressSlot, address approvedAddress)
    {
        TokenApprovalRef storage tokenApproval = _tokenApprovals[tokenId];
        // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId].value`.
        assembly {
            approvedAddressSlot := tokenApproval.slot
            approvedAddress := sload(approvedAddressSlot)
        }
    }

    // =============================================================
    //                      TRANSFER OPERATIONS
    // =============================================================

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * 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
    ) public payable virtual override {
        uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId);

        if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner();

        (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId);

        // The nested ifs save around 20+ gas over a compound boolean condition.
        if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A()))
            if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved();

        if (to == address(0)) revert TransferToZeroAddress();

        _beforeTokenTransfers(from, to, tokenId, 1);

        // Clear approvals from the previous owner.
        assembly {
            if approvedAddress {
                // This is equivalent to `delete _tokenApprovals[tokenId]`.
                sstore(approvedAddressSlot, 0)
            }
        }

        // 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 {
            // We can directly increment and decrement the balances.
            --_packedAddressData[from]; // Updates: `balance -= 1`.
            ++_packedAddressData[to]; // Updates: `balance += 1`.

            // Updates:
            // - `address` to the next owner.
            // - `startTimestamp` to the timestamp of transfering.
            // - `burned` to `false`.
            // - `nextInitialized` to `true`.
            _packedOwnerships[tokenId] = _packOwnershipData(
                to,
                _BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked)
            );

            // If the next slot may not have been initialized (i.e. `nextInitialized == false`) .
            if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) {
                uint256 nextTokenId = tokenId + 1;
                // If the next slot's address is zero and not burned (i.e. packed value is zero).
                if (_packedOwnerships[nextTokenId] == 0) {
                    // If the next slot is within bounds.
                    if (nextTokenId != _currentIndex) {
                        // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`.
                        _packedOwnerships[nextTokenId] = prevOwnershipPacked;
                    }
                }
            }
        }

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

    /**
     * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public payable virtual override {
        safeTransferFrom(from, to, tokenId, '');
    }

    /**
     * @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 memory _data
    ) public payable virtual override {
        transferFrom(from, to, tokenId);
        if (to.code.length != 0)
            if (!_checkContractOnERC721Received(from, to, tokenId, _data)) {
                revert TransferToNonERC721ReceiverImplementer();
            }
    }

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

    /**
     * @dev Private function to invoke {IERC721Receiver-onERC721Received} on a target contract.
     *
     * `from` - Previous owner of the given token ID.
     * `to` - Target address that will receive the token.
     * `tokenId` - Token ID to be transferred.
     * `_data` - Optional data to send along with the call.
     *
     * Returns whether the call correctly returned the expected magic value.
     */
    function _checkContractOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns (
            bytes4 retval
        ) {
            return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector;
        } catch (bytes memory reason) {
            if (reason.length == 0) {
                revert TransferToNonERC721ReceiverImplementer();
            } else {
                assembly {
                    revert(add(32, reason), mload(reason))
                }
            }
        }
    }

    // =============================================================
    //                        MINT OPERATIONS
    // =============================================================

    /**
     * @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 for each mint.
     */
    function _mint(address to, uint256 quantity) internal virtual {
        uint256 startTokenId = _currentIndex;
        if (quantity == 0) revert MintZeroQuantity();

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

        // Overflows are incredibly unrealistic.
        // `balance` and `numberMinted` have a maximum limit of 2**64.
        // `tokenId` has a maximum limit of 2**256.
        unchecked {
            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the `balance` and `numberMinted`.
            _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1);

            // Updates:
            // - `address` to the owner.
            // - `startTimestamp` to the timestamp of minting.
            // - `burned` to `false`.
            // - `nextInitialized` to `quantity == 1`.
            _packedOwnerships[startTokenId] = _packOwnershipData(
                to,
                _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0)
            );

            uint256 toMasked;
            uint256 end = startTokenId + quantity;

            // Use assembly to loop and emit the `Transfer` event for gas savings.
            // The duplicated `log4` removes an extra check and reduces stack juggling.
            // The assembly, together with the surrounding Solidity code, have been
            // delicately arranged to nudge the compiler into producing optimized opcodes.
            assembly {
                // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean.
                toMasked := and(to, _BITMASK_ADDRESS)
                // Emit the `Transfer` event.
                log4(
                    0, // Start of data (0, since no data).
                    0, // End of data (0, since no data).
                    _TRANSFER_EVENT_SIGNATURE, // Signature.
                    0, // `address(0)`.
                    toMasked, // `to`.
                    startTokenId // `tokenId`.
                )

                // The `iszero(eq(,))` check ensures that large values of `quantity`
                // that overflows uint256 will make the loop run out of gas.
                // The compiler will optimize the `iszero` away for performance.
                for {
                    let tokenId := add(startTokenId, 1)
                } iszero(eq(tokenId, end)) {
                    tokenId := add(tokenId, 1)
                } {
                    // Emit the `Transfer` event. Similar to above.
                    log4(0, 0, _TRANSFER_EVENT_SIGNATURE, 0, toMasked, tokenId)
                }
            }
            if (toMasked == 0) revert MintToZeroAddress();

            _currentIndex = end;
        }
        _afterTokenTransfers(address(0), to, startTokenId, quantity);
    }

    /**
     * @dev Mints `quantity` tokens and transfers them to `to`.
     *
     * This function is intended for efficient minting only during contract creation.
     *
     * It emits only one {ConsecutiveTransfer} as defined in
     * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309),
     * instead of a sequence of {Transfer} event(s).
     *
     * Calling this function outside of contract creation WILL make your contract
     * non-compliant with the ERC721 standard.
     * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309
     * {ConsecutiveTransfer} event is only permissible during contract creation.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `quantity` must be greater than 0.
     *
     * Emits a {ConsecutiveTransfer} event.
     */
    function _mintERC2309(address to, uint256 quantity) internal virtual {
        uint256 startTokenId = _currentIndex;
        if (to == address(0)) revert MintToZeroAddress();
        if (quantity == 0) revert MintZeroQuantity();
        if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit();

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

        // Overflows are unrealistic due to the above check for `quantity` to be below the limit.
        unchecked {
            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the `balance` and `numberMinted`.
            _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1);

            // Updates:
            // - `address` to the owner.
            // - `startTimestamp` to the timestamp of minting.
            // - `burned` to `false`.
            // - `nextInitialized` to `quantity == 1`.
            _packedOwnerships[startTokenId] = _packOwnershipData(
                to,
                _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0)
            );

            emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to);

            _currentIndex = startTokenId + quantity;
        }
        _afterTokenTransfers(address(0), to, startTokenId, 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.
     *
     * See {_mint}.
     *
     * Emits a {Transfer} event for each mint.
     */
    function _safeMint(
        address to,
        uint256 quantity,
        bytes memory _data
    ) internal virtual {
        _mint(to, quantity);

        unchecked {
            if (to.code.length != 0) {
                uint256 end = _currentIndex;
                uint256 index = end - quantity;
                do {
                    if (!_checkContractOnERC721Received(address(0), to, index++, _data)) {
                        revert TransferToNonERC721ReceiverImplementer();
                    }
                } while (index < end);
                // Reentrancy protection.
                if (_currentIndex != end) revert();
            }
        }
    }

    /**
     * @dev Equivalent to `_safeMint(to, quantity, '')`.
     */
    function _safeMint(address to, uint256 quantity) internal virtual {
        _safeMint(to, quantity, '');
    }

    // =============================================================
    //                        BURN OPERATIONS
    // =============================================================

    /**
     * @dev Equivalent to `_burn(tokenId, false)`.
     */
    function _burn(uint256 tokenId) internal virtual {
        _burn(tokenId, false);
    }

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

        address from = address(uint160(prevOwnershipPacked));

        (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId);

        if (approvalCheck) {
            // The nested ifs save around 20+ gas over a compound boolean condition.
            if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A()))
                if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved();
        }

        _beforeTokenTransfers(from, address(0), tokenId, 1);

        // Clear approvals from the previous owner.
        assembly {
            if approvedAddress {
                // This is equivalent to `delete _tokenApprovals[tokenId]`.
                sstore(approvedAddressSlot, 0)
            }
        }

        // 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 {
            // Updates:
            // - `balance -= 1`.
            // - `numberBurned += 1`.
            //
            // We can directly decrement the balance, and increment the number burned.
            // This is equivalent to `packed -= 1; packed += 1 << _BITPOS_NUMBER_BURNED;`.
            _packedAddressData[from] += (1 << _BITPOS_NUMBER_BURNED) - 1;

            // Updates:
            // - `address` to the last owner.
            // - `startTimestamp` to the timestamp of burning.
            // - `burned` to `true`.
            // - `nextInitialized` to `true`.
            _packedOwnerships[tokenId] = _packOwnershipData(
                from,
                (_BITMASK_BURNED | _BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked)
            );

            // If the next slot may not have been initialized (i.e. `nextInitialized == false`) .
            if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) {
                uint256 nextTokenId = tokenId + 1;
                // If the next slot's address is zero and not burned (i.e. packed value is zero).
                if (_packedOwnerships[nextTokenId] == 0) {
                    // If the next slot is within bounds.
                    if (nextTokenId != _currentIndex) {
                        // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`.
                        _packedOwnerships[nextTokenId] = prevOwnershipPacked;
                    }
                }
            }
        }

        emit Transfer(from, address(0), tokenId);
        _afterTokenTransfers(from, address(0), tokenId, 1);

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

    // =============================================================
    //                     EXTRA DATA OPERATIONS
    // =============================================================

    /**
     * @dev Directly sets the extra data for the ownership data `index`.
     */
    function _setExtraDataAt(uint256 index, uint24 extraData) internal virtual {
        uint256 packed = _packedOwnerships[index];
        if (packed == 0) revert OwnershipNotInitializedForExtraData();
        uint256 extraDataCasted;
        // Cast `extraData` with assembly to avoid redundant masking.
        assembly {
            extraDataCasted := extraData
        }
        packed = (packed & _BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << _BITPOS_EXTRA_DATA);
        _packedOwnerships[index] = packed;
    }

    /**
     * @dev Called during each token transfer to set the 24bit `extraData` field.
     * Intended to be overridden by the cosumer contract.
     *
     * `previousExtraData` - the value of `extraData` before transfer.
     *
     * 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 _extraData(
        address from,
        address to,
        uint24 previousExtraData
    ) internal view virtual returns (uint24) {}

    /**
     * @dev Returns the next extra data for the packed ownership data.
     * The returned result is shifted into position.
     */
    function _nextExtraData(
        address from,
        address to,
        uint256 prevOwnershipPacked
    ) private view returns (uint256) {
        uint24 extraData = uint24(prevOwnershipPacked >> _BITPOS_EXTRA_DATA);
        return uint256(_extraData(from, to, extraData)) << _BITPOS_EXTRA_DATA;
    }

    // =============================================================
    //                       OTHER OPERATIONS
    // =============================================================

    /**
     * @dev Returns the message sender (defaults to `msg.sender`).
     *
     * If you are writing GSN compatible contracts, you need to override this function.
     */
    function _msgSenderERC721A() internal view virtual returns (address) {
        return msg.sender;
    }

    /**
     * @dev Converts a uint256 to its ASCII string decimal representation.
     */
    function _toString(uint256 value) internal pure virtual returns (string memory str) {
        assembly {
            // The maximum value of a uint256 contains 78 digits (1 byte per digit), but
            // we allocate 0xa0 bytes to keep the free memory pointer 32-byte word aligned.
            // We will need 1 word for the trailing zeros padding, 1 word for the length,
            // and 3 words for a maximum of 78 digits. Total: 5 * 0x20 = 0xa0.
            let m := add(mload(0x40), 0xa0)
            // Update the free memory pointer to allocate.
            mstore(0x40, m)
            // Assign the `str` to the end.
            str := sub(m, 0x20)
            // Zeroize the slot after the string.
            mstore(str, 0)

            // Cache the end of the memory to calculate the length later.
            let end := str

            // We write the string from rightmost digit to leftmost digit.
            // The following is essentially a do-while loop that also handles the zero case.
            // prettier-ignore
            for { let temp := value } 1 {} {
                str := sub(str, 1)
                // Write the character to the pointer.
                // The ASCII index of the '0' character is 48.
                mstore8(str, add(48, mod(temp, 10)))
                // Keep dividing `temp` until zero.
                temp := div(temp, 10)
                // prettier-ignore
                if iszero(temp) { break }
            }

            let length := sub(end, str)
            // Move the pointer 32 bytes leftwards to make room for the length.
            str := sub(str, 0x20)
            // Store the length.
            mstore(str, length)
        }
    }
}

File 4 of 6 : MerkleProof.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Tree proofs.
 *
 * The tree and the proofs can be generated using our
 * https://github.com/OpenZeppelin/merkle-tree[JavaScript library].
 * You will find a quickstart guide in the readme.
 *
 * WARNING: You should avoid using leaf values that are 64 bytes long prior to
 * hashing, or use a hash function other than keccak256 for hashing leaves.
 * This is because the concatenation of a sorted pair of internal nodes in
 * the merkle tree could be reinterpreted as a leaf value.
 * OpenZeppelin's JavaScript library generates merkle trees that are safe
 * against this attack out of the box.
 */
library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(
        bytes32[] memory proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProof(proof, leaf) == root;
    }

    /**
     * @dev Calldata version of {verify}
     *
     * _Available since v4.7._
     */
    function verifyCalldata(
        bytes32[] calldata proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProofCalldata(proof, leaf) == root;
    }

    /**
     * @dev Returns the rebuilt hash obtained by traversing a Merkle tree up
     * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt
     * hash matches the root of the tree. When processing the proof, the pairs
     * of leafs & pre-images are assumed to be sorted.
     *
     * _Available since v4.4._
     */
    function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            computedHash = _hashPair(computedHash, proof[i]);
        }
        return computedHash;
    }

    /**
     * @dev Calldata version of {processProof}
     *
     * _Available since v4.7._
     */
    function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            computedHash = _hashPair(computedHash, proof[i]);
        }
        return computedHash;
    }

    /**
     * @dev Returns true if the `leaves` can be simultaneously proven to be a part of a merkle tree defined by
     * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}.
     *
     * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details.
     *
     * _Available since v4.7._
     */
    function multiProofVerify(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProof(proof, proofFlags, leaves) == root;
    }

    /**
     * @dev Calldata version of {multiProofVerify}
     *
     * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details.
     *
     * _Available since v4.7._
     */
    function multiProofVerifyCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProofCalldata(proof, proofFlags, leaves) == root;
    }

    /**
     * @dev Returns the root of a tree reconstructed from `leaves` and sibling nodes in `proof`. The reconstruction
     * proceeds by incrementally reconstructing all inner nodes by combining a leaf/inner node with either another
     * leaf/inner node or a proof sibling node, depending on whether each `proofFlags` item is true or false
     * respectively.
     *
     * CAUTION: Not all merkle trees admit multiproofs. To use multiproofs, it is sufficient to ensure that: 1) the tree
     * is complete (but not necessarily perfect), 2) the leaves to be proven are in the opposite order they are in the
     * tree (i.e., as seen from right to left starting at the deepest layer and continuing at the next layer).
     *
     * _Available since v4.7._
     */
    function processMultiProof(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by
        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
        // the merkle tree.
        uint256 leavesLen = leaves.length;
        uint256 totalHashes = proofFlags.length;

        // Check proof validity.
        require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof");

        // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using
        // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop".
        bytes32[] memory hashes = new bytes32[](totalHashes);
        uint256 leafPos = 0;
        uint256 hashPos = 0;
        uint256 proofPos = 0;
        // At each step, we compute the next hash using two values:
        // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we
        //   get the next hash.
        // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the
        //   `proof` array.
        for (uint256 i = 0; i < totalHashes; i++) {
            bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];
            bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++];
            hashes[i] = _hashPair(a, b);
        }

        if (totalHashes > 0) {
            return hashes[totalHashes - 1];
        } else if (leavesLen > 0) {
            return leaves[0];
        } else {
            return proof[0];
        }
    }

    /**
     * @dev Calldata version of {processMultiProof}.
     *
     * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details.
     *
     * _Available since v4.7._
     */
    function processMultiProofCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by
        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
        // the merkle tree.
        uint256 leavesLen = leaves.length;
        uint256 totalHashes = proofFlags.length;

        // Check proof validity.
        require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof");

        // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using
        // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop".
        bytes32[] memory hashes = new bytes32[](totalHashes);
        uint256 leafPos = 0;
        uint256 hashPos = 0;
        uint256 proofPos = 0;
        // At each step, we compute the next hash using two values:
        // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we
        //   get the next hash.
        // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the
        //   `proof` array.
        for (uint256 i = 0; i < totalHashes; i++) {
            bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];
            bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++];
            hashes[i] = _hashPair(a, b);
        }

        if (totalHashes > 0) {
            return hashes[totalHashes - 1];
        } else if (leavesLen > 0) {
            return leaves[0];
        } else {
            return proof[0];
        }
    }

    function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) {
        return a < b ? _efficientHash(a, b) : _efficientHash(b, a);
    }

    function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) {
        /// @solidity memory-safe-assembly
        assembly {
            mstore(0x00, a)
            mstore(0x20, b)
            value := keccak256(0x00, 0x40)
        }
    }
}

File 5 of 6 : 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 6 of 6 : IERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.2.3
// Creator: Chiru Labs

pragma solidity ^0.8.4;

/**
 * @dev Interface of ERC721A.
 */
interface IERC721A {
    /**
     * The caller must own the token or be an approved operator.
     */
    error ApprovalCallerNotOwnerNorApproved();

    /**
     * The token does not exist.
     */
    error ApprovalQueryForNonexistentToken();

    /**
     * Cannot query the balance for the zero address.
     */
    error BalanceQueryForZeroAddress();

    /**
     * Cannot mint to the zero address.
     */
    error MintToZeroAddress();

    /**
     * The quantity of tokens minted must be more than zero.
     */
    error MintZeroQuantity();

    /**
     * The token does not exist.
     */
    error OwnerQueryForNonexistentToken();

    /**
     * The caller must own the token or be an approved operator.
     */
    error TransferCallerNotOwnerNorApproved();

    /**
     * The token must be owned by `from`.
     */
    error TransferFromIncorrectOwner();

    /**
     * Cannot safely transfer to a contract that does not implement the
     * ERC721Receiver interface.
     */
    error TransferToNonERC721ReceiverImplementer();

    /**
     * Cannot transfer to the zero address.
     */
    error TransferToZeroAddress();

    /**
     * The token does not exist.
     */
    error URIQueryForNonexistentToken();

    /**
     * The `quantity` minted with ERC2309 exceeds the safety limit.
     */
    error MintERC2309QuantityExceedsLimit();

    /**
     * The `extraData` cannot be set on an unintialized ownership slot.
     */
    error OwnershipNotInitializedForExtraData();

    // =============================================================
    //                            STRUCTS
    // =============================================================

    struct TokenOwnership {
        // The address of the owner.
        address addr;
        // Stores the start time of ownership with minimal overhead for tokenomics.
        uint64 startTimestamp;
        // Whether the token has been burned.
        bool burned;
        // Arbitrary data similar to `startTimestamp` that can be set via {_extraData}.
        uint24 extraData;
    }

    // =============================================================
    //                         TOKEN COUNTERS
    // =============================================================

    /**
     * @dev Returns the total number of tokens in existence.
     * Burned tokens will reduce the count.
     * To get the total number of tokens minted, please see {_totalMinted}.
     */
    function totalSupply() external view returns (uint256);

    // =============================================================
    //                            IERC165
    // =============================================================

    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified)
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);

    // =============================================================
    //                            IERC721
    // =============================================================

    /**
     * @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,
        bytes calldata data
    ) external payable;

    /**
     * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external payable;

    /**
     * @dev Transfers `tokenId` 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 payable;

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

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

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

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

    // =============================================================
    //                        IERC721Metadata
    // =============================================================

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

    // =============================================================
    //                           IERC2309
    // =============================================================

    /**
     * @dev Emitted when tokens in `fromTokenId` to `toTokenId`
     * (inclusive) is transferred from `from` to `to`, as defined in the
     * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309) standard.
     *
     * See {_mintERC2309} for more details.
     */
    event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to);
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_baseTokenURI","type":"string"},{"internalType":"bytes32","name":"_root","type":"bytes32"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","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":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"stateMutability":"payable","type":"fallback"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"AriseChikun","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_to","type":"address[]"}],"name":"airdropNfts","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"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":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_to","type":"address[]"},{"internalType":"uint256[]","name":"_amount","type":"uint256[]"}],"name":"mintMany","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presaleEnd","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"presaleMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"presalePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presaleStart","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"publicPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"root","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"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":"payable","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":"payable","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":"_baseTokenURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxSupply","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_pasused","type":"bool"}],"name":"setPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setPresalePrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setPublicPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setRevealed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_root","type":"bytes32"}],"name":"setRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_presaleStart","type":"uint256"},{"internalType":"uint256","name":"_presaleEnd","type":"uint256"}],"name":"setSaleTimings","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uriSuffix","type":"string"}],"name":"setUriSuffix","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"uriSuffix","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60806040526364c99c806009556364c9b8a0600a55612328600b556627147114878000600c55664e28e2290f0000600d556040518060400160405280600581526020017f2e6a736f6e000000000000000000000000000000000000000000000000000000815250601090805190602001906200007d9291906200026d565b503480156200008b57600080fd5b5060405162003e8c38038062003e8c8339818101604052810190620000b19190620004f5565b336040518060400160405280600c81526020017f4172697365204368696b756e00000000000000000000000000000000000000008152506040518060400160405280600781526020017f4348494b554e53000000000000000000000000000000000000000000000000008152508160029080519060200190620001369291906200026d565b5080600390805190602001906200014f9291906200026d565b5062000160620001a260201b60201c565b60008190555050506200017981620001a760201b60201c565b5081600f9080519060200190620001929291906200026d565b5080600e819055505050620005bf565b600090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200027b906200058a565b90600052602060002090601f0160209004810192826200029f5760008555620002eb565b82601f10620002ba57805160ff1916838001178555620002eb565b82800160010185558215620002eb579182015b82811115620002ea578251825591602001919060010190620002cd565b5b509050620002fa9190620002fe565b5090565b5b8082111562000319576000816000905550600101620002ff565b5090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b62000386826200033b565b810181811067ffffffffffffffff82111715620003a857620003a76200034c565b5b80604052505050565b6000620003bd6200031d565b9050620003cb82826200037b565b919050565b600067ffffffffffffffff821115620003ee57620003ed6200034c565b5b620003f9826200033b565b9050602081019050919050565b60005b838110156200042657808201518184015260208101905062000409565b8381111562000436576000848401525b50505050565b6000620004536200044d84620003d0565b620003b1565b90508281526020810184848401111562000472576200047162000336565b5b6200047f84828562000406565b509392505050565b600082601f8301126200049f576200049e62000331565b5b8151620004b18482602086016200043c565b91505092915050565b6000819050919050565b620004cf81620004ba565b8114620004db57600080fd5b50565b600081519050620004ef81620004c4565b92915050565b600080604083850312156200050f576200050e62000327565b5b600083015167ffffffffffffffff81111562000530576200052f6200032c565b5b6200053e8582860162000487565b92505060206200055185828601620004de565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620005a357607f821691505b602082108103620005b957620005b86200055b565b5b50919050565b6138bd80620005cf6000396000f3fe6080604052600436106102495760003560e01c80636f8b44b011610139578063c6275255116100b6578063de8801e51161007a578063de8801e514610804578063e0a808531461082f578063e3e1e8ef14610858578063e985e9c514610874578063ebf0c717146108b1578063f356749d146108dc57610250565b8063c62752551461071f578063c87b56dd14610748578063d547cfb714610785578063d5abeb01146107b0578063dab5f340146107db57610250565b806395d89b41116100fd57806395d89b411461065b578063a22cb46514610686578063a945bf80146106af578063acc23b90146106da578063b88d4fde1461070357610250565b80636f8b44b01461058a57806370a08231146105b3578063715018a6146105f0578063820dfa89146106075780638da5cb5b1461063057610250565b80632db11544116101c7578063518302271161018b57806351830227146104a35780635503a0e8146104ce57806355f804b3146104f95780635c975abb146105225780636352211e1461054d57610250565b80632db11544146104025780633549345e1461041e5780633ccfd60b146104475780634029a3ce1461045e57806342842e0e1461048757610250565b806316ba10e01161020e57806316ba10e01461033e57806316c38b3c1461036757806318160ddd14610390578063229f3e29146103bb57806323b872dd146103e657610250565b80620e7fa81461025257806301ffc9a71461027d57806306fdde03146102ba578063081812fc146102e5578063095ea7b31461032257610250565b3661025057005b005b34801561025e57600080fd5b50610267610905565b60405161027491906125db565b60405180910390f35b34801561028957600080fd5b506102a4600480360381019061029f9190612662565b61090b565b6040516102b191906126aa565b60405180910390f35b3480156102c657600080fd5b506102cf61099d565b6040516102dc919061275e565b60405180910390f35b3480156102f157600080fd5b5061030c600480360381019061030791906127ac565b610a2f565b604051610319919061281a565b60405180910390f35b61033c60048036038101906103379190612861565b610aae565b005b34801561034a57600080fd5b50610365600480360381019061036091906129d6565b610bf2565b005b34801561037357600080fd5b5061038e60048036038101906103899190612a4b565b610c14565b005b34801561039c57600080fd5b506103a5610c39565b6040516103b291906125db565b60405180910390f35b3480156103c757600080fd5b506103d0610c50565b6040516103dd91906125db565b60405180910390f35b61040060048036038101906103fb9190612a78565b610c56565b005b61041c600480360381019061041791906127ac565b610f78565b005b34801561042a57600080fd5b50610445600480360381019061044091906127ac565b61112e565b005b34801561045357600080fd5b5061045c611140565b005b34801561046a57600080fd5b5061048560048036038101906104809190612b81565b6111f7565b005b6104a1600480360381019061049c9190612a78565b6112db565b005b3480156104af57600080fd5b506104b86112fb565b6040516104c591906126aa565b60405180910390f35b3480156104da57600080fd5b506104e361130e565b6040516104f0919061275e565b60405180910390f35b34801561050557600080fd5b50610520600480360381019061051b91906129d6565b61139c565b005b34801561052e57600080fd5b506105376113be565b60405161054491906126aa565b60405180910390f35b34801561055957600080fd5b50610574600480360381019061056f91906127ac565b6113d1565b604051610581919061281a565b60405180910390f35b34801561059657600080fd5b506105b160048036038101906105ac91906127ac565b6113e3565b005b3480156105bf57600080fd5b506105da60048036038101906105d59190612c02565b61143e565b6040516105e791906125db565b60405180910390f35b3480156105fc57600080fd5b506106056114f6565b005b34801561061357600080fd5b5061062e60048036038101906106299190612c02565b61150a565b005b34801561063c57600080fd5b50610645611590565b604051610652919061281a565b60405180910390f35b34801561066757600080fd5b506106706115ba565b60405161067d919061275e565b60405180910390f35b34801561069257600080fd5b506106ad60048036038101906106a89190612c2f565b61164c565b005b3480156106bb57600080fd5b506106c4611757565b6040516106d191906125db565b60405180910390f35b3480156106e657600080fd5b5061070160048036038101906106fc9190612c6f565b61175d565b005b61071d60048036038101906107189190612d50565b611777565b005b34801561072b57600080fd5b50610746600480360381019061074191906127ac565b6117ea565b005b34801561075457600080fd5b5061076f600480360381019061076a91906127ac565b6117fc565b60405161077c919061275e565b60405180910390f35b34801561079157600080fd5b5061079a6118a5565b6040516107a7919061275e565b60405180910390f35b3480156107bc57600080fd5b506107c5611933565b6040516107d291906125db565b60405180910390f35b3480156107e757600080fd5b5061080260048036038101906107fd9190612e09565b611939565b005b34801561081057600080fd5b5061081961194b565b60405161082691906125db565b60405180910390f35b34801561083b57600080fd5b5061085660048036038101906108519190612a4b565b611951565b005b610872600480360381019061086d9190612ef9565b611976565b005b34801561088057600080fd5b5061089b60048036038101906108969190612f55565b611ba9565b6040516108a891906126aa565b60405180910390f35b3480156108bd57600080fd5b506108c6611c3d565b6040516108d39190612fa4565b60405180910390f35b3480156108e857600080fd5b5061090360048036038101906108fe9190612fbf565b611c43565b005b600c5481565b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061096657506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806109965750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b6060600280546109ac9061303b565b80601f01602080910402602001604051908101604052809291908181526020018280546109d89061303b565b8015610a255780601f106109fa57610100808354040283529160200191610a25565b820191906000526020600020905b815481529060010190602001808311610a0857829003601f168201915b5050505050905090565b6000610a3a82611ce9565b610a70576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610ab9826113d1565b90508073ffffffffffffffffffffffffffffffffffffffff16610ada611d48565b73ffffffffffffffffffffffffffffffffffffffff1614610b3d57610b0681610b01611d48565b611ba9565b610b3c576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b610bfa611d50565b8060109080519060200190610c1092919061251f565b5050565b610c1c611d50565b80601160016101000a81548160ff02191690831515021790555050565b6000610c43611dd7565b6001546000540303905090565b600a5481565b6000610c6182611ddc565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610cc8576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080610cd484611ea8565b91509150610cea8187610ce5611d48565b611ecf565b610d3657610cff86610cfa611d48565b611ba9565b610d35576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603610d9c576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610da98686866001611f13565b8015610db457600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815460010191905081905550610e8285610e5e888887611f19565b7c020000000000000000000000000000000000000000000000000000000017611f41565b600460008681526020019081526020016000208190555060007c0200000000000000000000000000000000000000000000000000000000841603610f085760006001850190506000600460008381526020019081526020016000205403610f06576000548114610f05578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610f708686866001611f6c565b505050505050565b601160019054906101000a900460ff1615610fc8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fbf906130b8565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611036576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161102d90613124565b60405180910390fd5b600a54421161107a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161107190613190565b60405180910390fd5b600b5481611086611f72565b61109091906131df565b11156110d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110c890613281565b60405180910390fd5b80600d546110df91906132a1565b341015611121576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161111890613347565b60405180910390fd5b61112b3382611f85565b50565b611136611d50565b80600c8190555050565b611148611d50565b60003373ffffffffffffffffffffffffffffffffffffffff164760405161116e90613398565b60006040518083038185875af1925050503d80600081146111ab576040519150601f19603f3d011682016040523d82523d6000602084013e6111b0565b606091505b50509050806111f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111eb906133f9565b60405180910390fd5b50565b6111ff611d50565b60005b848490508110156112d457600b5483838381811061122357611222613419565b5b90506020020135611232611f72565b61123c91906131df565b111561127d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161127490613281565b60405180910390fd5b6112c785858381811061129357611292613419565b5b90506020020160208101906112a89190612c02565b8484848181106112bb576112ba613419565b5b90506020020135611f85565b8080600101915050611202565b5050505050565b6112f683838360405180602001604052806000815250611777565b505050565b601160009054906101000a900460ff1681565b6010805461131b9061303b565b80601f01602080910402602001604051908101604052809291908181526020018280546113479061303b565b80156113945780601f1061136957610100808354040283529160200191611394565b820191906000526020600020905b81548152906001019060200180831161137757829003601f168201915b505050505081565b6113a4611d50565b80600f90805190602001906113ba92919061251f565b5050565b601160019054906101000a900460ff1681565b60006113dc82611ddc565b9050919050565b6113eb611d50565b806113f4611f72565b11611434576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161142b90613494565b60405180910390fd5b80600b8190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036114a5576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b6114fe611d50565b6115086000612140565b565b611512611d50565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036115845760006040517f1e4fbdf700000000000000000000000000000000000000000000000000000000815260040161157b919061281a565b60405180910390fd5b61158d81612140565b50565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600380546115c99061303b565b80601f01602080910402602001604051908101604052809291908181526020018280546115f59061303b565b80156116425780601f1061161757610100808354040283529160200191611642565b820191906000526020600020905b81548152906001019060200180831161162557829003601f168201915b5050505050905090565b8060076000611659611d48565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611706611d48565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161174b91906126aa565b60405180910390a35050565b600d5481565b611765611d50565b8160098190555080600a819055505050565b611782848484610c56565b60008373ffffffffffffffffffffffffffffffffffffffff163b146117e4576117ad84848484612206565b6117e3576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b6117f2611d50565b80600d8190555050565b606061180782611ce9565b611846576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161183d90613500565b60405180910390fd5b6000611850612356565b9050601160009054906101000a900460ff1661186f57809150506118a0565b80611879846123e8565b601060405160200161188d939291906135f0565b6040516020818303038152906040529150505b919050565b600f80546118b29061303b565b80601f01602080910402602001604051908101604052809291908181526020018280546118de9061303b565b801561192b5780601f106119005761010080835404028352916020019161192b565b820191906000526020600020905b81548152906001019060200180831161190e57829003601f168201915b505050505081565b600b5481565b611941611d50565b80600e8190555050565b60095481565b611959611d50565b80601160006101000a81548160ff02191690831515021790555050565b601160019054906101000a900460ff16156119c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119bd906130b8565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611a34576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a2b90613124565b60405180910390fd5b60095442118015611a465750600a5442105b611a85576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a7c9061366d565b60405180910390fd5b611ab58133604051602001611a9a91906136d5565b60405160208183030381529060405280519060200120612438565b611af4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aeb9061373c565b60405180910390fd5b600b5482611b00611f72565b611b0a91906131df565b1115611b4b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b4290613281565b60405180910390fd5b81600c54611b5991906132a1565b341015611b9b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b9290613347565b60405180910390fd5b611ba53383611f85565b5050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600e5481565b611c4b611d50565b60005b82829050811015611ce457600b54611c64611f72565b1115611ca5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c9c90613281565b60405180910390fd5b611cd7838383818110611cbb57611cba613419565b5b9050602002016020810190611cd09190612c02565b6001611f85565b8080600101915050611c4e565b505050565b600081611cf4611dd7565b11158015611d03575060005482105b8015611d41575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b611d5861244f565b73ffffffffffffffffffffffffffffffffffffffff16611d76611590565b73ffffffffffffffffffffffffffffffffffffffff1614611dd557611d9961244f565b6040517f118cdaa7000000000000000000000000000000000000000000000000000000008152600401611dcc919061281a565b60405180910390fd5b565b600090565b60008082905080611deb611dd7565b11611e7157600054811015611e705760006004600083815260200190815260200160002054905060007c0100000000000000000000000000000000000000000000000000000000821603611e6e575b60008103611e64576004600083600190039350838152602001908152602001600020549050611e3a565b8092505050611ea3565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8611f30868684612457565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b6000611f7c611dd7565b60005403905090565b60008054905060008203611fc5576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611fd26000848385611f13565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055506120498361203a6000866000611f19565b61204385612460565b17611f41565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b8181146120ea57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a46001810190506120af565b5060008203612125576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600081905550505061213b6000848385611f6c565b505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261222c611d48565b8786866040518563ffffffff1660e01b815260040161224e94939291906137b1565b6020604051808303816000875af192505050801561228a57506040513d601f19601f820116820180604052508101906122879190613812565b60015b612303573d80600081146122ba576040519150601f19603f3d011682016040523d82523d6000602084013e6122bf565b606091505b5060008151036122fb576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060600f80546123659061303b565b80601f01602080910402602001604051908101604052809291908181526020018280546123919061303b565b80156123de5780601f106123b3576101008083540402835291602001916123de565b820191906000526020600020905b8154815290600101906020018083116123c157829003601f168201915b5050505050905090565b606060a060405101806040526020810391506000825281835b60011561242357600184039350600a81066030018453600a8104905080612401575b50828103602084039350808452505050919050565b600061244783600e5484612470565b905092915050565b600033905090565b60009392505050565b60006001821460e11b9050919050565b60008261247d8584612487565b1490509392505050565b60008082905060005b84518110156124d2576124bd828683815181106124b0576124af613419565b5b60200260200101516124dd565b915080806124ca9061383f565b915050612490565b508091505092915050565b60008183106124f5576124f08284612508565b612500565b6124ff8383612508565b5b905092915050565b600082600052816020526040600020905092915050565b82805461252b9061303b565b90600052602060002090601f01602090048101928261254d5760008555612594565b82601f1061256657805160ff1916838001178555612594565b82800160010185558215612594579182015b82811115612593578251825591602001919060010190612578565b5b5090506125a191906125a5565b5090565b5b808211156125be5760008160009055506001016125a6565b5090565b6000819050919050565b6125d5816125c2565b82525050565b60006020820190506125f060008301846125cc565b92915050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61263f8161260a565b811461264a57600080fd5b50565b60008135905061265c81612636565b92915050565b60006020828403121561267857612677612600565b5b60006126868482850161264d565b91505092915050565b60008115159050919050565b6126a48161268f565b82525050565b60006020820190506126bf600083018461269b565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156126ff5780820151818401526020810190506126e4565b8381111561270e576000848401525b50505050565b6000601f19601f8301169050919050565b6000612730826126c5565b61273a81856126d0565b935061274a8185602086016126e1565b61275381612714565b840191505092915050565b600060208201905081810360008301526127788184612725565b905092915050565b612789816125c2565b811461279457600080fd5b50565b6000813590506127a681612780565b92915050565b6000602082840312156127c2576127c1612600565b5b60006127d084828501612797565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612804826127d9565b9050919050565b612814816127f9565b82525050565b600060208201905061282f600083018461280b565b92915050565b61283e816127f9565b811461284957600080fd5b50565b60008135905061285b81612835565b92915050565b6000806040838503121561287857612877612600565b5b60006128868582860161284c565b925050602061289785828601612797565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6128e382612714565b810181811067ffffffffffffffff82111715612902576129016128ab565b5b80604052505050565b60006129156125f6565b905061292182826128da565b919050565b600067ffffffffffffffff821115612941576129406128ab565b5b61294a82612714565b9050602081019050919050565b82818337600083830152505050565b600061297961297484612926565b61290b565b905082815260208101848484011115612995576129946128a6565b5b6129a0848285612957565b509392505050565b600082601f8301126129bd576129bc6128a1565b5b81356129cd848260208601612966565b91505092915050565b6000602082840312156129ec576129eb612600565b5b600082013567ffffffffffffffff811115612a0a57612a09612605565b5b612a16848285016129a8565b91505092915050565b612a288161268f565b8114612a3357600080fd5b50565b600081359050612a4581612a1f565b92915050565b600060208284031215612a6157612a60612600565b5b6000612a6f84828501612a36565b91505092915050565b600080600060608486031215612a9157612a90612600565b5b6000612a9f8682870161284c565b9350506020612ab08682870161284c565b9250506040612ac186828701612797565b9150509250925092565b600080fd5b600080fd5b60008083601f840112612aeb57612aea6128a1565b5b8235905067ffffffffffffffff811115612b0857612b07612acb565b5b602083019150836020820283011115612b2457612b23612ad0565b5b9250929050565b60008083601f840112612b4157612b406128a1565b5b8235905067ffffffffffffffff811115612b5e57612b5d612acb565b5b602083019150836020820283011115612b7a57612b79612ad0565b5b9250929050565b60008060008060408587031215612b9b57612b9a612600565b5b600085013567ffffffffffffffff811115612bb957612bb8612605565b5b612bc587828801612ad5565b9450945050602085013567ffffffffffffffff811115612be857612be7612605565b5b612bf487828801612b2b565b925092505092959194509250565b600060208284031215612c1857612c17612600565b5b6000612c268482850161284c565b91505092915050565b60008060408385031215612c4657612c45612600565b5b6000612c548582860161284c565b9250506020612c6585828601612a36565b9150509250929050565b60008060408385031215612c8657612c85612600565b5b6000612c9485828601612797565b9250506020612ca585828601612797565b9150509250929050565b600067ffffffffffffffff821115612cca57612cc96128ab565b5b612cd382612714565b9050602081019050919050565b6000612cf3612cee84612caf565b61290b565b905082815260208101848484011115612d0f57612d0e6128a6565b5b612d1a848285612957565b509392505050565b600082601f830112612d3757612d366128a1565b5b8135612d47848260208601612ce0565b91505092915050565b60008060008060808587031215612d6a57612d69612600565b5b6000612d788782880161284c565b9450506020612d898782880161284c565b9350506040612d9a87828801612797565b925050606085013567ffffffffffffffff811115612dbb57612dba612605565b5b612dc787828801612d22565b91505092959194509250565b6000819050919050565b612de681612dd3565b8114612df157600080fd5b50565b600081359050612e0381612ddd565b92915050565b600060208284031215612e1f57612e1e612600565b5b6000612e2d84828501612df4565b91505092915050565b600067ffffffffffffffff821115612e5157612e506128ab565b5b602082029050602081019050919050565b6000612e75612e7084612e36565b61290b565b90508083825260208201905060208402830185811115612e9857612e97612ad0565b5b835b81811015612ec15780612ead8882612df4565b845260208401935050602081019050612e9a565b5050509392505050565b600082601f830112612ee057612edf6128a1565b5b8135612ef0848260208601612e62565b91505092915050565b60008060408385031215612f1057612f0f612600565b5b6000612f1e85828601612797565b925050602083013567ffffffffffffffff811115612f3f57612f3e612605565b5b612f4b85828601612ecb565b9150509250929050565b60008060408385031215612f6c57612f6b612600565b5b6000612f7a8582860161284c565b9250506020612f8b8582860161284c565b9150509250929050565b612f9e81612dd3565b82525050565b6000602082019050612fb96000830184612f95565b92915050565b60008060208385031215612fd657612fd5612600565b5b600083013567ffffffffffffffff811115612ff457612ff3612605565b5b61300085828601612ad5565b92509250509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061305357607f821691505b6020821081036130665761306561300c565b5b50919050565b7f5061757365640000000000000000000000000000000000000000000000000000600082015250565b60006130a26006836126d0565b91506130ad8261306c565b602082019050919050565b600060208201905081810360008301526130d181613095565b9050919050565b7f4e6f6e454f410000000000000000000000000000000000000000000000000000600082015250565b600061310e6006836126d0565b9150613119826130d8565b602082019050919050565b6000602082019050818103600083015261313d81613101565b9050919050565b7f4e6f6e5075626c6963506572696f640000000000000000000000000000000000600082015250565b600061317a600f836126d0565b915061318582613144565b602082019050919050565b600060208201905081810360008301526131a98161316d565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006131ea826125c2565b91506131f5836125c2565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561322a576132296131b0565b5b828201905092915050565b7f537570706c794578636565646564000000000000000000000000000000000000600082015250565b600061326b600e836126d0565b915061327682613235565b602082019050919050565b6000602082019050818103600083015261329a8161325e565b9050919050565b60006132ac826125c2565b91506132b7836125c2565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156132f0576132ef6131b0565b5b828202905092915050565b7f496e76616c69644574686572416d6f756e740000000000000000000000000000600082015250565b60006133316012836126d0565b915061333c826132fb565b602082019050919050565b6000602082019050818103600083015261336081613324565b9050919050565b600081905092915050565b50565b6000613382600083613367565b915061338d82613372565b600082019050919050565b60006133a382613375565b9150819050919050565b7f57697468647261774661696c6564000000000000000000000000000000000000600082015250565b60006133e3600e836126d0565b91506133ee826133ad565b602082019050919050565b60006020820190508181036000830152613412816133d6565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f496e76616c69644d6178537570706c7900000000000000000000000000000000600082015250565b600061347e6010836126d0565b915061348982613448565b602082019050919050565b600060208201905081810360008301526134ad81613471565b9050919050565b7f496e76616c6964546f6b656e4964000000000000000000000000000000000000600082015250565b60006134ea600e836126d0565b91506134f5826134b4565b602082019050919050565b60006020820190508181036000830152613519816134dd565b9050919050565b600081905092915050565b6000613536826126c5565b6135408185613520565b93506135508185602086016126e1565b80840191505092915050565b60008190508160005260206000209050919050565b6000815461357e8161303b565b6135888186613520565b945060018216600081146135a357600181146135b4576135e7565b60ff198316865281860193506135e7565b6135bd8561355c565b60005b838110156135df578154818901526001820191506020810190506135c0565b838801955050505b50505092915050565b60006135fc828661352b565b9150613608828561352b565b91506136148284613571565b9150819050949350505050565b7f4e6f6e50726573616c65506572696f6400000000000000000000000000000000600082015250565b60006136576010836126d0565b915061366282613621565b602082019050919050565b600060208201905081810360008301526136868161364a565b9050919050565b60008160601b9050919050565b60006136a58261368d565b9050919050565b60006136b78261369a565b9050919050565b6136cf6136ca826127f9565b6136ac565b82525050565b60006136e182846136be565b60148201915081905092915050565b7f4e6f6e57686974656c6973746564000000000000000000000000000000000000600082015250565b6000613726600e836126d0565b9150613731826136f0565b602082019050919050565b6000602082019050818103600083015261375581613719565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006137838261375c565b61378d8185613767565b935061379d8185602086016126e1565b6137a681612714565b840191505092915050565b60006080820190506137c6600083018761280b565b6137d3602083018661280b565b6137e060408301856125cc565b81810360608301526137f28184613778565b905095945050505050565b60008151905061380c81612636565b92915050565b60006020828403121561382857613827612600565b5b6000613836848285016137fd565b91505092915050565b600061384a826125c2565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361387c5761387b6131b0565b5b60018201905091905056fea2646970667358221220657fef0a5a985d7f3a182b3181aa4b19a187b9a095ae18bbb9f5e46df61c584864736f6c634300080d003300000000000000000000000000000000000000000000000000000000000000400828dbce567b191ed21ea8ac2f60652a9dbd43d201f424badce66cceef5b58c8000000000000000000000000000000000000000000000000000000000000003f68747470733a2f2f617277656176652e6e65742f465a2d56574953617a415f326c69346647727361456e423037706f554f366a4c5f5f796d31394d5938323400

Deployed Bytecode

0x6080604052600436106102495760003560e01c80636f8b44b011610139578063c6275255116100b6578063de8801e51161007a578063de8801e514610804578063e0a808531461082f578063e3e1e8ef14610858578063e985e9c514610874578063ebf0c717146108b1578063f356749d146108dc57610250565b8063c62752551461071f578063c87b56dd14610748578063d547cfb714610785578063d5abeb01146107b0578063dab5f340146107db57610250565b806395d89b41116100fd57806395d89b411461065b578063a22cb46514610686578063a945bf80146106af578063acc23b90146106da578063b88d4fde1461070357610250565b80636f8b44b01461058a57806370a08231146105b3578063715018a6146105f0578063820dfa89146106075780638da5cb5b1461063057610250565b80632db11544116101c7578063518302271161018b57806351830227146104a35780635503a0e8146104ce57806355f804b3146104f95780635c975abb146105225780636352211e1461054d57610250565b80632db11544146104025780633549345e1461041e5780633ccfd60b146104475780634029a3ce1461045e57806342842e0e1461048757610250565b806316ba10e01161020e57806316ba10e01461033e57806316c38b3c1461036757806318160ddd14610390578063229f3e29146103bb57806323b872dd146103e657610250565b80620e7fa81461025257806301ffc9a71461027d57806306fdde03146102ba578063081812fc146102e5578063095ea7b31461032257610250565b3661025057005b005b34801561025e57600080fd5b50610267610905565b60405161027491906125db565b60405180910390f35b34801561028957600080fd5b506102a4600480360381019061029f9190612662565b61090b565b6040516102b191906126aa565b60405180910390f35b3480156102c657600080fd5b506102cf61099d565b6040516102dc919061275e565b60405180910390f35b3480156102f157600080fd5b5061030c600480360381019061030791906127ac565b610a2f565b604051610319919061281a565b60405180910390f35b61033c60048036038101906103379190612861565b610aae565b005b34801561034a57600080fd5b50610365600480360381019061036091906129d6565b610bf2565b005b34801561037357600080fd5b5061038e60048036038101906103899190612a4b565b610c14565b005b34801561039c57600080fd5b506103a5610c39565b6040516103b291906125db565b60405180910390f35b3480156103c757600080fd5b506103d0610c50565b6040516103dd91906125db565b60405180910390f35b61040060048036038101906103fb9190612a78565b610c56565b005b61041c600480360381019061041791906127ac565b610f78565b005b34801561042a57600080fd5b50610445600480360381019061044091906127ac565b61112e565b005b34801561045357600080fd5b5061045c611140565b005b34801561046a57600080fd5b5061048560048036038101906104809190612b81565b6111f7565b005b6104a1600480360381019061049c9190612a78565b6112db565b005b3480156104af57600080fd5b506104b86112fb565b6040516104c591906126aa565b60405180910390f35b3480156104da57600080fd5b506104e361130e565b6040516104f0919061275e565b60405180910390f35b34801561050557600080fd5b50610520600480360381019061051b91906129d6565b61139c565b005b34801561052e57600080fd5b506105376113be565b60405161054491906126aa565b60405180910390f35b34801561055957600080fd5b50610574600480360381019061056f91906127ac565b6113d1565b604051610581919061281a565b60405180910390f35b34801561059657600080fd5b506105b160048036038101906105ac91906127ac565b6113e3565b005b3480156105bf57600080fd5b506105da60048036038101906105d59190612c02565b61143e565b6040516105e791906125db565b60405180910390f35b3480156105fc57600080fd5b506106056114f6565b005b34801561061357600080fd5b5061062e60048036038101906106299190612c02565b61150a565b005b34801561063c57600080fd5b50610645611590565b604051610652919061281a565b60405180910390f35b34801561066757600080fd5b506106706115ba565b60405161067d919061275e565b60405180910390f35b34801561069257600080fd5b506106ad60048036038101906106a89190612c2f565b61164c565b005b3480156106bb57600080fd5b506106c4611757565b6040516106d191906125db565b60405180910390f35b3480156106e657600080fd5b5061070160048036038101906106fc9190612c6f565b61175d565b005b61071d60048036038101906107189190612d50565b611777565b005b34801561072b57600080fd5b50610746600480360381019061074191906127ac565b6117ea565b005b34801561075457600080fd5b5061076f600480360381019061076a91906127ac565b6117fc565b60405161077c919061275e565b60405180910390f35b34801561079157600080fd5b5061079a6118a5565b6040516107a7919061275e565b60405180910390f35b3480156107bc57600080fd5b506107c5611933565b6040516107d291906125db565b60405180910390f35b3480156107e757600080fd5b5061080260048036038101906107fd9190612e09565b611939565b005b34801561081057600080fd5b5061081961194b565b60405161082691906125db565b60405180910390f35b34801561083b57600080fd5b5061085660048036038101906108519190612a4b565b611951565b005b610872600480360381019061086d9190612ef9565b611976565b005b34801561088057600080fd5b5061089b60048036038101906108969190612f55565b611ba9565b6040516108a891906126aa565b60405180910390f35b3480156108bd57600080fd5b506108c6611c3d565b6040516108d39190612fa4565b60405180910390f35b3480156108e857600080fd5b5061090360048036038101906108fe9190612fbf565b611c43565b005b600c5481565b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061096657506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806109965750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b6060600280546109ac9061303b565b80601f01602080910402602001604051908101604052809291908181526020018280546109d89061303b565b8015610a255780601f106109fa57610100808354040283529160200191610a25565b820191906000526020600020905b815481529060010190602001808311610a0857829003601f168201915b5050505050905090565b6000610a3a82611ce9565b610a70576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610ab9826113d1565b90508073ffffffffffffffffffffffffffffffffffffffff16610ada611d48565b73ffffffffffffffffffffffffffffffffffffffff1614610b3d57610b0681610b01611d48565b611ba9565b610b3c576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b610bfa611d50565b8060109080519060200190610c1092919061251f565b5050565b610c1c611d50565b80601160016101000a81548160ff02191690831515021790555050565b6000610c43611dd7565b6001546000540303905090565b600a5481565b6000610c6182611ddc565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610cc8576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080610cd484611ea8565b91509150610cea8187610ce5611d48565b611ecf565b610d3657610cff86610cfa611d48565b611ba9565b610d35576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603610d9c576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610da98686866001611f13565b8015610db457600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815460010191905081905550610e8285610e5e888887611f19565b7c020000000000000000000000000000000000000000000000000000000017611f41565b600460008681526020019081526020016000208190555060007c0200000000000000000000000000000000000000000000000000000000841603610f085760006001850190506000600460008381526020019081526020016000205403610f06576000548114610f05578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610f708686866001611f6c565b505050505050565b601160019054906101000a900460ff1615610fc8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fbf906130b8565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611036576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161102d90613124565b60405180910390fd5b600a54421161107a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161107190613190565b60405180910390fd5b600b5481611086611f72565b61109091906131df565b11156110d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110c890613281565b60405180910390fd5b80600d546110df91906132a1565b341015611121576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161111890613347565b60405180910390fd5b61112b3382611f85565b50565b611136611d50565b80600c8190555050565b611148611d50565b60003373ffffffffffffffffffffffffffffffffffffffff164760405161116e90613398565b60006040518083038185875af1925050503d80600081146111ab576040519150601f19603f3d011682016040523d82523d6000602084013e6111b0565b606091505b50509050806111f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111eb906133f9565b60405180910390fd5b50565b6111ff611d50565b60005b848490508110156112d457600b5483838381811061122357611222613419565b5b90506020020135611232611f72565b61123c91906131df565b111561127d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161127490613281565b60405180910390fd5b6112c785858381811061129357611292613419565b5b90506020020160208101906112a89190612c02565b8484848181106112bb576112ba613419565b5b90506020020135611f85565b8080600101915050611202565b5050505050565b6112f683838360405180602001604052806000815250611777565b505050565b601160009054906101000a900460ff1681565b6010805461131b9061303b565b80601f01602080910402602001604051908101604052809291908181526020018280546113479061303b565b80156113945780601f1061136957610100808354040283529160200191611394565b820191906000526020600020905b81548152906001019060200180831161137757829003601f168201915b505050505081565b6113a4611d50565b80600f90805190602001906113ba92919061251f565b5050565b601160019054906101000a900460ff1681565b60006113dc82611ddc565b9050919050565b6113eb611d50565b806113f4611f72565b11611434576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161142b90613494565b60405180910390fd5b80600b8190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036114a5576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b6114fe611d50565b6115086000612140565b565b611512611d50565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036115845760006040517f1e4fbdf700000000000000000000000000000000000000000000000000000000815260040161157b919061281a565b60405180910390fd5b61158d81612140565b50565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600380546115c99061303b565b80601f01602080910402602001604051908101604052809291908181526020018280546115f59061303b565b80156116425780601f1061161757610100808354040283529160200191611642565b820191906000526020600020905b81548152906001019060200180831161162557829003601f168201915b5050505050905090565b8060076000611659611d48565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611706611d48565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161174b91906126aa565b60405180910390a35050565b600d5481565b611765611d50565b8160098190555080600a819055505050565b611782848484610c56565b60008373ffffffffffffffffffffffffffffffffffffffff163b146117e4576117ad84848484612206565b6117e3576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b6117f2611d50565b80600d8190555050565b606061180782611ce9565b611846576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161183d90613500565b60405180910390fd5b6000611850612356565b9050601160009054906101000a900460ff1661186f57809150506118a0565b80611879846123e8565b601060405160200161188d939291906135f0565b6040516020818303038152906040529150505b919050565b600f80546118b29061303b565b80601f01602080910402602001604051908101604052809291908181526020018280546118de9061303b565b801561192b5780601f106119005761010080835404028352916020019161192b565b820191906000526020600020905b81548152906001019060200180831161190e57829003601f168201915b505050505081565b600b5481565b611941611d50565b80600e8190555050565b60095481565b611959611d50565b80601160006101000a81548160ff02191690831515021790555050565b601160019054906101000a900460ff16156119c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119bd906130b8565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611a34576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a2b90613124565b60405180910390fd5b60095442118015611a465750600a5442105b611a85576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a7c9061366d565b60405180910390fd5b611ab58133604051602001611a9a91906136d5565b60405160208183030381529060405280519060200120612438565b611af4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aeb9061373c565b60405180910390fd5b600b5482611b00611f72565b611b0a91906131df565b1115611b4b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b4290613281565b60405180910390fd5b81600c54611b5991906132a1565b341015611b9b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b9290613347565b60405180910390fd5b611ba53383611f85565b5050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600e5481565b611c4b611d50565b60005b82829050811015611ce457600b54611c64611f72565b1115611ca5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c9c90613281565b60405180910390fd5b611cd7838383818110611cbb57611cba613419565b5b9050602002016020810190611cd09190612c02565b6001611f85565b8080600101915050611c4e565b505050565b600081611cf4611dd7565b11158015611d03575060005482105b8015611d41575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b611d5861244f565b73ffffffffffffffffffffffffffffffffffffffff16611d76611590565b73ffffffffffffffffffffffffffffffffffffffff1614611dd557611d9961244f565b6040517f118cdaa7000000000000000000000000000000000000000000000000000000008152600401611dcc919061281a565b60405180910390fd5b565b600090565b60008082905080611deb611dd7565b11611e7157600054811015611e705760006004600083815260200190815260200160002054905060007c0100000000000000000000000000000000000000000000000000000000821603611e6e575b60008103611e64576004600083600190039350838152602001908152602001600020549050611e3a565b8092505050611ea3565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8611f30868684612457565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b6000611f7c611dd7565b60005403905090565b60008054905060008203611fc5576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611fd26000848385611f13565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055506120498361203a6000866000611f19565b61204385612460565b17611f41565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b8181146120ea57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a46001810190506120af565b5060008203612125576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600081905550505061213b6000848385611f6c565b505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261222c611d48565b8786866040518563ffffffff1660e01b815260040161224e94939291906137b1565b6020604051808303816000875af192505050801561228a57506040513d601f19601f820116820180604052508101906122879190613812565b60015b612303573d80600081146122ba576040519150601f19603f3d011682016040523d82523d6000602084013e6122bf565b606091505b5060008151036122fb576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060600f80546123659061303b565b80601f01602080910402602001604051908101604052809291908181526020018280546123919061303b565b80156123de5780601f106123b3576101008083540402835291602001916123de565b820191906000526020600020905b8154815290600101906020018083116123c157829003601f168201915b5050505050905090565b606060a060405101806040526020810391506000825281835b60011561242357600184039350600a81066030018453600a8104905080612401575b50828103602084039350808452505050919050565b600061244783600e5484612470565b905092915050565b600033905090565b60009392505050565b60006001821460e11b9050919050565b60008261247d8584612487565b1490509392505050565b60008082905060005b84518110156124d2576124bd828683815181106124b0576124af613419565b5b60200260200101516124dd565b915080806124ca9061383f565b915050612490565b508091505092915050565b60008183106124f5576124f08284612508565b612500565b6124ff8383612508565b5b905092915050565b600082600052816020526040600020905092915050565b82805461252b9061303b565b90600052602060002090601f01602090048101928261254d5760008555612594565b82601f1061256657805160ff1916838001178555612594565b82800160010185558215612594579182015b82811115612593578251825591602001919060010190612578565b5b5090506125a191906125a5565b5090565b5b808211156125be5760008160009055506001016125a6565b5090565b6000819050919050565b6125d5816125c2565b82525050565b60006020820190506125f060008301846125cc565b92915050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61263f8161260a565b811461264a57600080fd5b50565b60008135905061265c81612636565b92915050565b60006020828403121561267857612677612600565b5b60006126868482850161264d565b91505092915050565b60008115159050919050565b6126a48161268f565b82525050565b60006020820190506126bf600083018461269b565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156126ff5780820151818401526020810190506126e4565b8381111561270e576000848401525b50505050565b6000601f19601f8301169050919050565b6000612730826126c5565b61273a81856126d0565b935061274a8185602086016126e1565b61275381612714565b840191505092915050565b600060208201905081810360008301526127788184612725565b905092915050565b612789816125c2565b811461279457600080fd5b50565b6000813590506127a681612780565b92915050565b6000602082840312156127c2576127c1612600565b5b60006127d084828501612797565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612804826127d9565b9050919050565b612814816127f9565b82525050565b600060208201905061282f600083018461280b565b92915050565b61283e816127f9565b811461284957600080fd5b50565b60008135905061285b81612835565b92915050565b6000806040838503121561287857612877612600565b5b60006128868582860161284c565b925050602061289785828601612797565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6128e382612714565b810181811067ffffffffffffffff82111715612902576129016128ab565b5b80604052505050565b60006129156125f6565b905061292182826128da565b919050565b600067ffffffffffffffff821115612941576129406128ab565b5b61294a82612714565b9050602081019050919050565b82818337600083830152505050565b600061297961297484612926565b61290b565b905082815260208101848484011115612995576129946128a6565b5b6129a0848285612957565b509392505050565b600082601f8301126129bd576129bc6128a1565b5b81356129cd848260208601612966565b91505092915050565b6000602082840312156129ec576129eb612600565b5b600082013567ffffffffffffffff811115612a0a57612a09612605565b5b612a16848285016129a8565b91505092915050565b612a288161268f565b8114612a3357600080fd5b50565b600081359050612a4581612a1f565b92915050565b600060208284031215612a6157612a60612600565b5b6000612a6f84828501612a36565b91505092915050565b600080600060608486031215612a9157612a90612600565b5b6000612a9f8682870161284c565b9350506020612ab08682870161284c565b9250506040612ac186828701612797565b9150509250925092565b600080fd5b600080fd5b60008083601f840112612aeb57612aea6128a1565b5b8235905067ffffffffffffffff811115612b0857612b07612acb565b5b602083019150836020820283011115612b2457612b23612ad0565b5b9250929050565b60008083601f840112612b4157612b406128a1565b5b8235905067ffffffffffffffff811115612b5e57612b5d612acb565b5b602083019150836020820283011115612b7a57612b79612ad0565b5b9250929050565b60008060008060408587031215612b9b57612b9a612600565b5b600085013567ffffffffffffffff811115612bb957612bb8612605565b5b612bc587828801612ad5565b9450945050602085013567ffffffffffffffff811115612be857612be7612605565b5b612bf487828801612b2b565b925092505092959194509250565b600060208284031215612c1857612c17612600565b5b6000612c268482850161284c565b91505092915050565b60008060408385031215612c4657612c45612600565b5b6000612c548582860161284c565b9250506020612c6585828601612a36565b9150509250929050565b60008060408385031215612c8657612c85612600565b5b6000612c9485828601612797565b9250506020612ca585828601612797565b9150509250929050565b600067ffffffffffffffff821115612cca57612cc96128ab565b5b612cd382612714565b9050602081019050919050565b6000612cf3612cee84612caf565b61290b565b905082815260208101848484011115612d0f57612d0e6128a6565b5b612d1a848285612957565b509392505050565b600082601f830112612d3757612d366128a1565b5b8135612d47848260208601612ce0565b91505092915050565b60008060008060808587031215612d6a57612d69612600565b5b6000612d788782880161284c565b9450506020612d898782880161284c565b9350506040612d9a87828801612797565b925050606085013567ffffffffffffffff811115612dbb57612dba612605565b5b612dc787828801612d22565b91505092959194509250565b6000819050919050565b612de681612dd3565b8114612df157600080fd5b50565b600081359050612e0381612ddd565b92915050565b600060208284031215612e1f57612e1e612600565b5b6000612e2d84828501612df4565b91505092915050565b600067ffffffffffffffff821115612e5157612e506128ab565b5b602082029050602081019050919050565b6000612e75612e7084612e36565b61290b565b90508083825260208201905060208402830185811115612e9857612e97612ad0565b5b835b81811015612ec15780612ead8882612df4565b845260208401935050602081019050612e9a565b5050509392505050565b600082601f830112612ee057612edf6128a1565b5b8135612ef0848260208601612e62565b91505092915050565b60008060408385031215612f1057612f0f612600565b5b6000612f1e85828601612797565b925050602083013567ffffffffffffffff811115612f3f57612f3e612605565b5b612f4b85828601612ecb565b9150509250929050565b60008060408385031215612f6c57612f6b612600565b5b6000612f7a8582860161284c565b9250506020612f8b8582860161284c565b9150509250929050565b612f9e81612dd3565b82525050565b6000602082019050612fb96000830184612f95565b92915050565b60008060208385031215612fd657612fd5612600565b5b600083013567ffffffffffffffff811115612ff457612ff3612605565b5b61300085828601612ad5565b92509250509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061305357607f821691505b6020821081036130665761306561300c565b5b50919050565b7f5061757365640000000000000000000000000000000000000000000000000000600082015250565b60006130a26006836126d0565b91506130ad8261306c565b602082019050919050565b600060208201905081810360008301526130d181613095565b9050919050565b7f4e6f6e454f410000000000000000000000000000000000000000000000000000600082015250565b600061310e6006836126d0565b9150613119826130d8565b602082019050919050565b6000602082019050818103600083015261313d81613101565b9050919050565b7f4e6f6e5075626c6963506572696f640000000000000000000000000000000000600082015250565b600061317a600f836126d0565b915061318582613144565b602082019050919050565b600060208201905081810360008301526131a98161316d565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006131ea826125c2565b91506131f5836125c2565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561322a576132296131b0565b5b828201905092915050565b7f537570706c794578636565646564000000000000000000000000000000000000600082015250565b600061326b600e836126d0565b915061327682613235565b602082019050919050565b6000602082019050818103600083015261329a8161325e565b9050919050565b60006132ac826125c2565b91506132b7836125c2565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156132f0576132ef6131b0565b5b828202905092915050565b7f496e76616c69644574686572416d6f756e740000000000000000000000000000600082015250565b60006133316012836126d0565b915061333c826132fb565b602082019050919050565b6000602082019050818103600083015261336081613324565b9050919050565b600081905092915050565b50565b6000613382600083613367565b915061338d82613372565b600082019050919050565b60006133a382613375565b9150819050919050565b7f57697468647261774661696c6564000000000000000000000000000000000000600082015250565b60006133e3600e836126d0565b91506133ee826133ad565b602082019050919050565b60006020820190508181036000830152613412816133d6565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f496e76616c69644d6178537570706c7900000000000000000000000000000000600082015250565b600061347e6010836126d0565b915061348982613448565b602082019050919050565b600060208201905081810360008301526134ad81613471565b9050919050565b7f496e76616c6964546f6b656e4964000000000000000000000000000000000000600082015250565b60006134ea600e836126d0565b91506134f5826134b4565b602082019050919050565b60006020820190508181036000830152613519816134dd565b9050919050565b600081905092915050565b6000613536826126c5565b6135408185613520565b93506135508185602086016126e1565b80840191505092915050565b60008190508160005260206000209050919050565b6000815461357e8161303b565b6135888186613520565b945060018216600081146135a357600181146135b4576135e7565b60ff198316865281860193506135e7565b6135bd8561355c565b60005b838110156135df578154818901526001820191506020810190506135c0565b838801955050505b50505092915050565b60006135fc828661352b565b9150613608828561352b565b91506136148284613571565b9150819050949350505050565b7f4e6f6e50726573616c65506572696f6400000000000000000000000000000000600082015250565b60006136576010836126d0565b915061366282613621565b602082019050919050565b600060208201905081810360008301526136868161364a565b9050919050565b60008160601b9050919050565b60006136a58261368d565b9050919050565b60006136b78261369a565b9050919050565b6136cf6136ca826127f9565b6136ac565b82525050565b60006136e182846136be565b60148201915081905092915050565b7f4e6f6e57686974656c6973746564000000000000000000000000000000000000600082015250565b6000613726600e836126d0565b9150613731826136f0565b602082019050919050565b6000602082019050818103600083015261375581613719565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006137838261375c565b61378d8185613767565b935061379d8185602086016126e1565b6137a681612714565b840191505092915050565b60006080820190506137c6600083018761280b565b6137d3602083018661280b565b6137e060408301856125cc565b81810360608301526137f28184613778565b905095945050505050565b60008151905061380c81612636565b92915050565b60006020828403121561382857613827612600565b5b6000613836848285016137fd565b91505092915050565b600061384a826125c2565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361387c5761387b6131b0565b5b60018201905091905056fea2646970667358221220657fef0a5a985d7f3a182b3181aa4b19a187b9a095ae18bbb9f5e46df61c584864736f6c634300080d0033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

00000000000000000000000000000000000000000000000000000000000000400828dbce567b191ed21ea8ac2f60652a9dbd43d201f424badce66cceef5b58c8000000000000000000000000000000000000000000000000000000000000003f68747470733a2f2f617277656176652e6e65742f465a2d56574953617a415f326c69346647727361456e423037706f554f366a4c5f5f796d31394d5938323400

-----Decoded View---------------
Arg [0] : _baseTokenURI (string): https://arweave.net/FZ-VWISazA_2li4fGrsaEnB07poUO6jL__ym19MY824
Arg [1] : _root (bytes32): 0x0828dbce567b191ed21ea8ac2f60652a9dbd43d201f424badce66cceef5b58c8

-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 0828dbce567b191ed21ea8ac2f60652a9dbd43d201f424badce66cceef5b58c8
Arg [2] : 000000000000000000000000000000000000000000000000000000000000003f
Arg [3] : 68747470733a2f2f617277656176652e6e65742f465a2d56574953617a415f32
Arg [4] : 6c69346647727361456e423037706f554f366a4c5f5f796d31394d5938323400


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.