ETH Price: $2,324.34 (+1.17%)

Token

BlooomCollectionTemplate (BCT)
 

Overview

Max Total Supply

0 BCT

Holders

0

Transfers

-
0

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

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:
BlooomCollectionTemplate

Compiler Version
v0.8.14+commit.80d49f37

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
// SPDX-License-Identifier: CC0
pragma solidity ^0.8.14;

import "erc721a/contracts/ERC721A.sol";
import "@openzeppelin/contracts/proxy/utils/Initializable.sol";
import "./IBlooomCollectionInitializer.sol";

contract BlooomCollectionTemplate is Initializable, IBlooomCollectionInitializer, ERC721A {
	address payable public owner;
	string private _name;
	string private _symbol;

	uint32 public maxSupply = 0;
	uint32 public maxPerWallet = 0;
	uint64 public price = 0.000 ether;
	string public baseURI = "";

	constructor() ERC721A("", "") initializer {
		owner = payable(msg.sender);
		_name = "BlooomCollectionTemplate";
		_symbol = "BCT";
	}

	/**
	 * @notice Called by the factory on creation.
	 * @dev This may only be called once.
	 */
	function initialize(
		address payable creator_,
		string memory name_,
		string memory symbol_,
		uint32 maxSupply_,
		uint32 maxPerWallet_,
		uint64 price_,
		string memory baseURI_
	) external initializer {
		// require(msg.sender == address(collectionFactory), "BlooomCollectionTemplate: Collection must be created via the factory");
		owner = creator_;
		_name = name_;
		_symbol = symbol_;
		maxSupply = maxSupply_;
		maxPerWallet = maxPerWallet_;
		price = price_;
		baseURI = baseURI_;
	}

	modifier onlyOwner() {
		require(msg.sender == owner, "BlooomCollectionTemplate: Caller is not owner");
		_;
	}

	function withdraw() external payable onlyOwner {
		payable(owner).transfer(address(this).balance);
	}

	////////// ERC721 //////////

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

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

	function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
		if (!_exists(tokenId)) revert URIQueryForNonexistentToken();
		return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId), ".json")) : "";
	}

	function mint(uint256 quantity) external payable {
		require(totalSupply() + quantity <= maxSupply, "Max supply exceeded");
		require(_numberMinted(msg.sender) + quantity <= maxPerWallet, "Exceeded per wallet limit");
		require(msg.value >= quantity * price, "Incorrect ETH amount");
		// require(tx.origin == _msgSender(), "No contracts");
		_safeMint(msg.sender, quantity);
	}
}

File 2 of 6 : ERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.2.2
// 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 {
    // Reference type for token approval.
    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 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 {
        if (operator == _msgSenderERC721A()) revert ApproveToCaller();

        _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]`.
        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 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 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 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.
            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`.
                )

                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 0x80 bytes to keep the free memory pointer 32-byte word aliged.
            // We will need 1 32-byte word to store the length,
            // and 3 32-byte words to store a maximum of 78 digits. Total: 0x20 + 3 * 0x20 = 0x80.
            str := add(mload(0x40), 0x80)
            // Update the free memory pointer to allocate.
            mstore(0x40, str)

            // 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 3 of 6 : Initializable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (proxy/utils/Initializable.sol)

pragma solidity ^0.8.2;

import "../../utils/Address.sol";

/**
 * @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed
 * behind a proxy. Since proxied contracts do not make use of a constructor, it's common to move constructor logic to an
 * external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer
 * function so it can only be called once. The {initializer} modifier provided by this contract will have this effect.
 *
 * The initialization functions use a version number. Once a version number is used, it is consumed and cannot be
 * reused. This mechanism prevents re-execution of each "step" but allows the creation of new initialization steps in
 * case an upgrade adds a module that needs to be initialized.
 *
 * For example:
 *
 * [.hljs-theme-light.nopadding]
 * ```
 * contract MyToken is ERC20Upgradeable {
 *     function initialize() initializer public {
 *         __ERC20_init("MyToken", "MTK");
 *     }
 * }
 * contract MyTokenV2 is MyToken, ERC20PermitUpgradeable {
 *     function initializeV2() reinitializer(2) public {
 *         __ERC20Permit_init("MyToken");
 *     }
 * }
 * ```
 *
 * TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as
 * possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}.
 *
 * CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure
 * that all initializers are idempotent. This is not verified automatically as constructors are by Solidity.
 *
 * [CAUTION]
 * ====
 * Avoid leaving a contract uninitialized.
 *
 * An uninitialized contract can be taken over by an attacker. This applies to both a proxy and its implementation
 * contract, which may impact the proxy. To prevent the implementation contract from being used, you should invoke
 * the {_disableInitializers} function in the constructor to automatically lock it when it is deployed:
 *
 * [.hljs-theme-light.nopadding]
 * ```
 * /// @custom:oz-upgrades-unsafe-allow constructor
 * constructor() {
 *     _disableInitializers();
 * }
 * ```
 * ====
 */
abstract contract Initializable {
    /**
     * @dev Indicates that the contract has been initialized.
     * @custom:oz-retyped-from bool
     */
    uint8 private _initialized;

    /**
     * @dev Indicates that the contract is in the process of being initialized.
     */
    bool private _initializing;

    /**
     * @dev Triggered when the contract has been initialized or reinitialized.
     */
    event Initialized(uint8 version);

    /**
     * @dev A modifier that defines a protected initializer function that can be invoked at most once. In its scope,
     * `onlyInitializing` functions can be used to initialize parent contracts. Equivalent to `reinitializer(1)`.
     */
    modifier initializer() {
        bool isTopLevelCall = !_initializing;
        require(
            (isTopLevelCall && _initialized < 1) || (!Address.isContract(address(this)) && _initialized == 1),
            "Initializable: contract is already initialized"
        );
        _initialized = 1;
        if (isTopLevelCall) {
            _initializing = true;
        }
        _;
        if (isTopLevelCall) {
            _initializing = false;
            emit Initialized(1);
        }
    }

    /**
     * @dev A modifier that defines a protected reinitializer function that can be invoked at most once, and only if the
     * contract hasn't been initialized to a greater version before. In its scope, `onlyInitializing` functions can be
     * used to initialize parent contracts.
     *
     * `initializer` is equivalent to `reinitializer(1)`, so a reinitializer may be used after the original
     * initialization step. This is essential to configure modules that are added through upgrades and that require
     * initialization.
     *
     * Note that versions can jump in increments greater than 1; this implies that if multiple reinitializers coexist in
     * a contract, executing them in the right order is up to the developer or operator.
     */
    modifier reinitializer(uint8 version) {
        require(!_initializing && _initialized < version, "Initializable: contract is already initialized");
        _initialized = version;
        _initializing = true;
        _;
        _initializing = false;
        emit Initialized(version);
    }

    /**
     * @dev Modifier to protect an initialization function so that it can only be invoked by functions with the
     * {initializer} and {reinitializer} modifiers, directly or indirectly.
     */
    modifier onlyInitializing() {
        require(_initializing, "Initializable: contract is not initializing");
        _;
    }

    /**
     * @dev Locks the contract, preventing any future reinitialization. This cannot be part of an initializer call.
     * Calling this in the constructor of a contract will prevent that contract from being initialized or reinitialized
     * to any version. It is recommended to use this to lock implementation contracts that are designed to be called
     * through proxies.
     */
    function _disableInitializers() internal virtual {
        require(!_initializing, "Initializable: contract is initializing");
        if (_initialized < type(uint8).max) {
            _initialized = type(uint8).max;
            emit Initialized(type(uint8).max);
        }
    }
}

File 4 of 6 : IBlooomCollectionInitializer.sol
// SPDX-License-Identifier: CC0
pragma solidity ^0.8.14;

interface IBlooomCollectionInitializer {
	function initialize(
		address payable creator_,
		string memory name_,
		string memory symbol_,
		uint32 maxSupply_,
		uint32 maxPerWallet_,
		uint64 price_,
		string memory baseURI_
	) external;
}

// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.2.2
// 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();

    /**
     * The caller cannot approve to their own address.
     */
    error ApproveToCaller();

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

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

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

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

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

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

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

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

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol)

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Contract Security Audit

Contract ABI

API
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","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":false,"internalType":"uint8","name":"version","type":"uint8"}],"name":"Initialized","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","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 payable","name":"creator_","type":"address"},{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"},{"internalType":"uint32","name":"maxSupply_","type":"uint32"},{"internalType":"uint32","name":"maxPerWallet_","type":"uint32"},{"internalType":"uint64","name":"price_","type":"uint64"},{"internalType":"string","name":"baseURI_","type":"string"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPerWallet","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"}]

60806040526000600c60006101000a81548163ffffffff021916908363ffffffff1602179055506000600c60046101000a81548163ffffffff021916908363ffffffff1602179055506000600c60086101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060405180602001604052806000815250600d90805190602001906200009992919062000368565b50348015620000a757600080fd5b5060405180602001604052806000815250604051806020016040528060008152508160039080519060200190620000e092919062000368565b508060049080519060200190620000f992919062000368565b506200010a6200034060201b60201c565b600181905550505060008060019054906101000a900460ff16159050808015620001445750600160008054906101000a900460ff1660ff16105b8062000180575062000161306200034560201b6200154e1760201c565b1580156200017f5750600160008054906101000a900460ff1660ff16145b5b620001c2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620001b9906200049f565b60405180910390fd5b60016000806101000a81548160ff021916908360ff160217905550801562000200576001600060016101000a81548160ff0219169083151502179055505b33600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506040518060400160405280601881526020017f426c6f6f6f6d436f6c6c656374696f6e54656d706c6174650000000000000000815250600a90805190602001906200028e92919062000368565b506040518060400160405280600381526020017f4243540000000000000000000000000000000000000000000000000000000000815250600b9080519060200190620002dc92919062000368565b508015620003395760008060016101000a81548160ff0219169083151502179055507f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb384740249860016040516200033091906200051b565b60405180910390a15b506200059c565b600090565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b828054620003769062000567565b90600052602060002090601f0160209004810192826200039a5760008555620003e6565b82601f10620003b557805160ff1916838001178555620003e6565b82800160010185558215620003e6579182015b82811115620003e5578251825591602001919060010190620003c8565b5b509050620003f59190620003f9565b5090565b5b8082111562000414576000816000905550600101620003fa565b5090565b600082825260208201905092915050565b7f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160008201527f647920696e697469616c697a6564000000000000000000000000000000000000602082015250565b600062000487602e8362000418565b9150620004948262000429565b604082019050919050565b60006020820190508181036000830152620004ba8162000478565b9050919050565b6000819050919050565b600060ff82169050919050565b6000819050919050565b600062000503620004fd620004f784620004c1565b620004d8565b620004cb565b9050919050565b6200051581620004e2565b82525050565b60006020820190506200053260008301846200050a565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200058057607f821691505b60208210810362000596576200059562000538565b5b50919050565b612b9f80620005ac6000396000f3fe6080604052600436106101355760003560e01c806370a08231116100ab578063a0712d681161006f578063a0712d6814610409578063a22cb46514610425578063b88d4fde1461044e578063c87b56dd14610477578063d5abeb01146104b4578063e985e9c5146104df57610135565b806370a0823114610322578063723e1e7d1461035f5780638da5cb5b1461038857806395d89b41146103b3578063a035b1fe146103de57610135565b806323b872dd116100fd57806323b872dd146102335780633ccfd60b1461025c57806342842e0e14610266578063453c23101461028f5780636352211e146102ba5780636c0360eb146102f757610135565b806301ffc9a71461013a57806306fdde0314610177578063081812fc146101a2578063095ea7b3146101df57806318160ddd14610208575b600080fd5b34801561014657600080fd5b50610161600480360381019061015c9190611d01565b61051c565b60405161016e9190611d49565b60405180910390f35b34801561018357600080fd5b5061018c6105ae565b6040516101999190611dfd565b60405180910390f35b3480156101ae57600080fd5b506101c960048036038101906101c49190611e55565b610640565b6040516101d69190611ec3565b60405180910390f35b3480156101eb57600080fd5b5061020660048036038101906102019190611f0a565b6106bf565b005b34801561021457600080fd5b5061021d610803565b60405161022a9190611f59565b60405180910390f35b34801561023f57600080fd5b5061025a60048036038101906102559190611f74565b61081a565b005b610264610b3c565b005b34801561027257600080fd5b5061028d60048036038101906102889190611f74565b610c37565b005b34801561029b57600080fd5b506102a4610c57565b6040516102b19190611fe6565b60405180910390f35b3480156102c657600080fd5b506102e160048036038101906102dc9190611e55565b610c6d565b6040516102ee9190611ec3565b60405180910390f35b34801561030357600080fd5b5061030c610c7f565b6040516103199190611dfd565b60405180910390f35b34801561032e57600080fd5b5061034960048036038101906103449190612001565b610d0d565b6040516103569190611f59565b60405180910390f35b34801561036b57600080fd5b506103866004803603810190610381919061220d565b610dc5565b005b34801561039457600080fd5b5061039d610ff3565b6040516103aa9190612312565b60405180910390f35b3480156103bf57600080fd5b506103c8611019565b6040516103d59190611dfd565b60405180910390f35b3480156103ea57600080fd5b506103f36110ab565b604051610400919061233c565b60405180910390f35b610423600480360381019061041e9190611e55565b6110c5565b005b34801561043157600080fd5b5061044c60048036038101906104479190612383565b61121b565b005b34801561045a57600080fd5b5061047560048036038101906104709190612464565b611392565b005b34801561048357600080fd5b5061049e60048036038101906104999190611e55565b611405565b6040516104ab9190611dfd565b60405180910390f35b3480156104c057600080fd5b506104c96114a4565b6040516104d69190611fe6565b60405180910390f35b3480156104eb57600080fd5b50610506600480360381019061050191906124e7565b6114ba565b6040516105139190611d49565b60405180910390f35b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061057757506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806105a75750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b6060600a80546105bd90612556565b80601f01602080910402602001604051908101604052809291908181526020018280546105e990612556565b80156106365780601f1061060b57610100808354040283529160200191610636565b820191906000526020600020905b81548152906001019060200180831161061957829003601f168201915b5050505050905090565b600061064b82611571565b610681576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6007600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006106ca82610c6d565b90508073ffffffffffffffffffffffffffffffffffffffff166106eb6115d0565b73ffffffffffffffffffffffffffffffffffffffff161461074e57610717816107126115d0565b6114ba565b61074d576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826007600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600061080d6115d8565b6002546001540303905090565b6000610825826115dd565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461088c576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080610898846116a9565b915091506108ae81876108a96115d0565b6116d0565b6108fa576108c3866108be6115d0565b6114ba565b6108f9576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603610960576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61096d8686866001611714565b801561097857600082555b600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815460010191905081905550610a4685610a2288888761171a565b7c020000000000000000000000000000000000000000000000000000000017611742565b600560008681526020019081526020016000208190555060007c0200000000000000000000000000000000000000000000000000000000841603610acc5760006001850190506000600560008381526020019081526020016000205403610aca576001548114610ac9578360056000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610b34868686600161176d565b505050505050565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610bcc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bc3906125f9565b60405180910390fd5b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015610c34573d6000803e3d6000fd5b50565b610c5283838360405180602001604052806000815250611392565b505050565b600c60049054906101000a900463ffffffff1681565b6000610c78826115dd565b9050919050565b600d8054610c8c90612556565b80601f0160208091040260200160405190810160405280929190818152602001828054610cb890612556565b8015610d055780601f10610cda57610100808354040283529160200191610d05565b820191906000526020600020905b815481529060010190602001808311610ce857829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610d74576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b60008060019054906101000a900460ff16159050808015610df65750600160008054906101000a900460ff1660ff16105b80610e235750610e053061154e565b158015610e225750600160008054906101000a900460ff1660ff16145b5b610e62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e599061268b565b60405180910390fd5b60016000806101000a81548160ff021916908360ff1602179055508015610e9f576001600060016101000a81548160ff0219169083151502179055505b87600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555086600a9080519060200190610ef6929190611bf2565b5085600b9080519060200190610f0d929190611bf2565b5084600c60006101000a81548163ffffffff021916908363ffffffff16021790555083600c60046101000a81548163ffffffff021916908363ffffffff16021790555082600c60086101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555081600d9080519060200190610f8f929190611bf2565b508015610fe95760008060016101000a81548160ff0219169083151502179055507f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024986001604051610fe091906126fd565b60405180910390a15b5050505050505050565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6060600b805461102890612556565b80601f016020809104026020016040519081016040528092919081815260200182805461105490612556565b80156110a15780601f10611076576101008083540402835291602001916110a1565b820191906000526020600020905b81548152906001019060200180831161108457829003601f168201915b5050505050905090565b600c60089054906101000a900467ffffffffffffffff1681565b600c60009054906101000a900463ffffffff1663ffffffff16816110e7610803565b6110f19190612747565b1115611132576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611129906127e9565b60405180910390fd5b600c60049054906101000a900463ffffffff1663ffffffff168161115533611773565b61115f9190612747565b11156111a0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161119790612855565b60405180910390fd5b600c60089054906101000a900467ffffffffffffffff1667ffffffffffffffff16816111cc9190612875565b34101561120e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112059061291b565b60405180910390fd5b61121833826117ca565b50565b6112236115d0565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611287576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600860006112946115d0565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166113416115d0565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516113869190611d49565b60405180910390a35050565b61139d84848461081a565b60008373ffffffffffffffffffffffffffffffffffffffff163b146113ff576113c8848484846117e8565b6113fe576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b606061141082611571565b611446576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000600d805461145590612556565b905003611471576040518060200160405280600081525061149d565b600d61147c83611938565b60405160200161148d929190612a57565b6040516020818303038152906040525b9050919050565b600c60009054906101000a900463ffffffff1681565b6000600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008161157c6115d8565b1115801561158b575060015482105b80156115c9575060007c0100000000000000000000000000000000000000000000000000000000600560008581526020019081526020016000205416145b9050919050565b600033905090565b600090565b600080829050806115ec6115d8565b11611672576001548110156116715760006005600083815260200190815260200160002054905060007c010000000000000000000000000000000000000000000000000000000082160361166f575b6000810361166557600560008360019003935083815260200190815260200160002054905061163b565b80925050506116a4565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60008060006007600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e861173186868461197f565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b600067ffffffffffffffff6040600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054901c169050919050565b6117e4828260405180602001604052806000815250611988565b5050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261180e6115d0565b8786866040518563ffffffff1660e01b81526004016118309493929190612adb565b6020604051808303816000875af192505050801561186c57506040513d601f19601f820116820180604052508101906118699190612b3c565b60015b6118e5573d806000811461189c576040519150601f19603f3d011682016040523d82523d6000602084013e6118a1565b606091505b5060008151036118dd576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b606060806040510190508060405280825b60011561196b57600183039250600a81066030018353600a8104905080611949575b508181036020830392508083525050919050565b60009392505050565b6119928383611a26565b60008373ffffffffffffffffffffffffffffffffffffffff163b14611a215760006001549050600083820390505b6119d360008683806001019450866117e8565b611a09576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8181106119c0578160015414611a1e57600080fd5b50505b505050565b6000600154905060008203611a67576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611a746000848385611714565b600160406001901b178202600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550611aeb83611adc600086600061171a565b611ae585611be2565b17611742565b6005600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b818114611b8c57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600181019050611b51565b5060008203611bc7576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806001819055505050611bdd600084838561176d565b505050565b60006001821460e11b9050919050565b828054611bfe90612556565b90600052602060002090601f016020900481019282611c205760008555611c67565b82601f10611c3957805160ff1916838001178555611c67565b82800160010185558215611c67579182015b82811115611c66578251825591602001919060010190611c4b565b5b509050611c749190611c78565b5090565b5b80821115611c91576000816000905550600101611c79565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b611cde81611ca9565b8114611ce957600080fd5b50565b600081359050611cfb81611cd5565b92915050565b600060208284031215611d1757611d16611c9f565b5b6000611d2584828501611cec565b91505092915050565b60008115159050919050565b611d4381611d2e565b82525050565b6000602082019050611d5e6000830184611d3a565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015611d9e578082015181840152602081019050611d83565b83811115611dad576000848401525b50505050565b6000601f19601f8301169050919050565b6000611dcf82611d64565b611dd98185611d6f565b9350611de9818560208601611d80565b611df281611db3565b840191505092915050565b60006020820190508181036000830152611e178184611dc4565b905092915050565b6000819050919050565b611e3281611e1f565b8114611e3d57600080fd5b50565b600081359050611e4f81611e29565b92915050565b600060208284031215611e6b57611e6a611c9f565b5b6000611e7984828501611e40565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000611ead82611e82565b9050919050565b611ebd81611ea2565b82525050565b6000602082019050611ed86000830184611eb4565b92915050565b611ee781611ea2565b8114611ef257600080fd5b50565b600081359050611f0481611ede565b92915050565b60008060408385031215611f2157611f20611c9f565b5b6000611f2f85828601611ef5565b9250506020611f4085828601611e40565b9150509250929050565b611f5381611e1f565b82525050565b6000602082019050611f6e6000830184611f4a565b92915050565b600080600060608486031215611f8d57611f8c611c9f565b5b6000611f9b86828701611ef5565b9350506020611fac86828701611ef5565b9250506040611fbd86828701611e40565b9150509250925092565b600063ffffffff82169050919050565b611fe081611fc7565b82525050565b6000602082019050611ffb6000830184611fd7565b92915050565b60006020828403121561201757612016611c9f565b5b600061202584828501611ef5565b91505092915050565b600061203982611e82565b9050919050565b6120498161202e565b811461205457600080fd5b50565b60008135905061206681612040565b92915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6120ae82611db3565b810181811067ffffffffffffffff821117156120cd576120cc612076565b5b80604052505050565b60006120e0611c95565b90506120ec82826120a5565b919050565b600067ffffffffffffffff82111561210c5761210b612076565b5b61211582611db3565b9050602081019050919050565b82818337600083830152505050565b600061214461213f846120f1565b6120d6565b9050828152602081018484840111156121605761215f612071565b5b61216b848285612122565b509392505050565b600082601f8301126121885761218761206c565b5b8135612198848260208601612131565b91505092915050565b6121aa81611fc7565b81146121b557600080fd5b50565b6000813590506121c7816121a1565b92915050565b600067ffffffffffffffff82169050919050565b6121ea816121cd565b81146121f557600080fd5b50565b600081359050612207816121e1565b92915050565b600080600080600080600060e0888a03121561222c5761222b611c9f565b5b600061223a8a828b01612057565b975050602088013567ffffffffffffffff81111561225b5761225a611ca4565b5b6122678a828b01612173565b965050604088013567ffffffffffffffff81111561228857612287611ca4565b5b6122948a828b01612173565b95505060606122a58a828b016121b8565b94505060806122b68a828b016121b8565b93505060a06122c78a828b016121f8565b92505060c088013567ffffffffffffffff8111156122e8576122e7611ca4565b5b6122f48a828b01612173565b91505092959891949750929550565b61230c8161202e565b82525050565b60006020820190506123276000830184612303565b92915050565b612336816121cd565b82525050565b6000602082019050612351600083018461232d565b92915050565b61236081611d2e565b811461236b57600080fd5b50565b60008135905061237d81612357565b92915050565b6000806040838503121561239a57612399611c9f565b5b60006123a885828601611ef5565b92505060206123b98582860161236e565b9150509250929050565b600067ffffffffffffffff8211156123de576123dd612076565b5b6123e782611db3565b9050602081019050919050565b6000612407612402846123c3565b6120d6565b90508281526020810184848401111561242357612422612071565b5b61242e848285612122565b509392505050565b600082601f83011261244b5761244a61206c565b5b813561245b8482602086016123f4565b91505092915050565b6000806000806080858703121561247e5761247d611c9f565b5b600061248c87828801611ef5565b945050602061249d87828801611ef5565b93505060406124ae87828801611e40565b925050606085013567ffffffffffffffff8111156124cf576124ce611ca4565b5b6124db87828801612436565b91505092959194509250565b600080604083850312156124fe576124fd611c9f565b5b600061250c85828601611ef5565b925050602061251d85828601611ef5565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061256e57607f821691505b60208210810361258157612580612527565b5b50919050565b7f426c6f6f6f6d436f6c6c656374696f6e54656d706c6174653a2043616c6c657260008201527f206973206e6f74206f776e657200000000000000000000000000000000000000602082015250565b60006125e3602d83611d6f565b91506125ee82612587565b604082019050919050565b60006020820190508181036000830152612612816125d6565b9050919050565b7f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160008201527f647920696e697469616c697a6564000000000000000000000000000000000000602082015250565b6000612675602e83611d6f565b915061268082612619565b604082019050919050565b600060208201905081810360008301526126a481612668565b9050919050565b6000819050919050565b600060ff82169050919050565b6000819050919050565b60006126e76126e26126dd846126ab565b6126c2565b6126b5565b9050919050565b6126f7816126cc565b82525050565b600060208201905061271260008301846126ee565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061275282611e1f565b915061275d83611e1f565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561279257612791612718565b5b828201905092915050565b7f4d617820737570706c7920657863656564656400000000000000000000000000600082015250565b60006127d3601383611d6f565b91506127de8261279d565b602082019050919050565b60006020820190508181036000830152612802816127c6565b9050919050565b7f4578636565646564207065722077616c6c6574206c696d697400000000000000600082015250565b600061283f601983611d6f565b915061284a82612809565b602082019050919050565b6000602082019050818103600083015261286e81612832565b9050919050565b600061288082611e1f565b915061288b83611e1f565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156128c4576128c3612718565b5b828202905092915050565b7f496e636f72726563742045544820616d6f756e74000000000000000000000000600082015250565b6000612905601483611d6f565b9150612910826128cf565b602082019050919050565b60006020820190508181036000830152612934816128f8565b9050919050565b600081905092915050565b60008190508160005260206000209050919050565b6000815461296881612556565b612972818661293b565b9450600182166000811461298d576001811461299e576129d1565b60ff198316865281860193506129d1565b6129a785612946565b60005b838110156129c9578154818901526001820191506020810190506129aa565b838801955050505b50505092915050565b60006129e582611d64565b6129ef818561293b565b93506129ff818560208601611d80565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b6000612a4160058361293b565b9150612a4c82612a0b565b600582019050919050565b6000612a63828561295b565b9150612a6f82846129da565b9150612a7a82612a34565b91508190509392505050565b600081519050919050565b600082825260208201905092915050565b6000612aad82612a86565b612ab78185612a91565b9350612ac7818560208601611d80565b612ad081611db3565b840191505092915050565b6000608082019050612af06000830187611eb4565b612afd6020830186611eb4565b612b0a6040830185611f4a565b8181036060830152612b1c8184612aa2565b905095945050505050565b600081519050612b3681611cd5565b92915050565b600060208284031215612b5257612b51611c9f565b5b6000612b6084828501612b27565b9150509291505056fea26469706673582212202d7173c16f20b04e14118a2a64aa96ea6e12620e3f3dd99133ac208652f0d86a64736f6c634300080e0033

Deployed Bytecode

0x6080604052600436106101355760003560e01c806370a08231116100ab578063a0712d681161006f578063a0712d6814610409578063a22cb46514610425578063b88d4fde1461044e578063c87b56dd14610477578063d5abeb01146104b4578063e985e9c5146104df57610135565b806370a0823114610322578063723e1e7d1461035f5780638da5cb5b1461038857806395d89b41146103b3578063a035b1fe146103de57610135565b806323b872dd116100fd57806323b872dd146102335780633ccfd60b1461025c57806342842e0e14610266578063453c23101461028f5780636352211e146102ba5780636c0360eb146102f757610135565b806301ffc9a71461013a57806306fdde0314610177578063081812fc146101a2578063095ea7b3146101df57806318160ddd14610208575b600080fd5b34801561014657600080fd5b50610161600480360381019061015c9190611d01565b61051c565b60405161016e9190611d49565b60405180910390f35b34801561018357600080fd5b5061018c6105ae565b6040516101999190611dfd565b60405180910390f35b3480156101ae57600080fd5b506101c960048036038101906101c49190611e55565b610640565b6040516101d69190611ec3565b60405180910390f35b3480156101eb57600080fd5b5061020660048036038101906102019190611f0a565b6106bf565b005b34801561021457600080fd5b5061021d610803565b60405161022a9190611f59565b60405180910390f35b34801561023f57600080fd5b5061025a60048036038101906102559190611f74565b61081a565b005b610264610b3c565b005b34801561027257600080fd5b5061028d60048036038101906102889190611f74565b610c37565b005b34801561029b57600080fd5b506102a4610c57565b6040516102b19190611fe6565b60405180910390f35b3480156102c657600080fd5b506102e160048036038101906102dc9190611e55565b610c6d565b6040516102ee9190611ec3565b60405180910390f35b34801561030357600080fd5b5061030c610c7f565b6040516103199190611dfd565b60405180910390f35b34801561032e57600080fd5b5061034960048036038101906103449190612001565b610d0d565b6040516103569190611f59565b60405180910390f35b34801561036b57600080fd5b506103866004803603810190610381919061220d565b610dc5565b005b34801561039457600080fd5b5061039d610ff3565b6040516103aa9190612312565b60405180910390f35b3480156103bf57600080fd5b506103c8611019565b6040516103d59190611dfd565b60405180910390f35b3480156103ea57600080fd5b506103f36110ab565b604051610400919061233c565b60405180910390f35b610423600480360381019061041e9190611e55565b6110c5565b005b34801561043157600080fd5b5061044c60048036038101906104479190612383565b61121b565b005b34801561045a57600080fd5b5061047560048036038101906104709190612464565b611392565b005b34801561048357600080fd5b5061049e60048036038101906104999190611e55565b611405565b6040516104ab9190611dfd565b60405180910390f35b3480156104c057600080fd5b506104c96114a4565b6040516104d69190611fe6565b60405180910390f35b3480156104eb57600080fd5b50610506600480360381019061050191906124e7565b6114ba565b6040516105139190611d49565b60405180910390f35b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061057757506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806105a75750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b6060600a80546105bd90612556565b80601f01602080910402602001604051908101604052809291908181526020018280546105e990612556565b80156106365780601f1061060b57610100808354040283529160200191610636565b820191906000526020600020905b81548152906001019060200180831161061957829003601f168201915b5050505050905090565b600061064b82611571565b610681576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6007600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006106ca82610c6d565b90508073ffffffffffffffffffffffffffffffffffffffff166106eb6115d0565b73ffffffffffffffffffffffffffffffffffffffff161461074e57610717816107126115d0565b6114ba565b61074d576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826007600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600061080d6115d8565b6002546001540303905090565b6000610825826115dd565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461088c576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080610898846116a9565b915091506108ae81876108a96115d0565b6116d0565b6108fa576108c3866108be6115d0565b6114ba565b6108f9576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603610960576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61096d8686866001611714565b801561097857600082555b600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815460010191905081905550610a4685610a2288888761171a565b7c020000000000000000000000000000000000000000000000000000000017611742565b600560008681526020019081526020016000208190555060007c0200000000000000000000000000000000000000000000000000000000841603610acc5760006001850190506000600560008381526020019081526020016000205403610aca576001548114610ac9578360056000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610b34868686600161176d565b505050505050565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610bcc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bc3906125f9565b60405180910390fd5b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015610c34573d6000803e3d6000fd5b50565b610c5283838360405180602001604052806000815250611392565b505050565b600c60049054906101000a900463ffffffff1681565b6000610c78826115dd565b9050919050565b600d8054610c8c90612556565b80601f0160208091040260200160405190810160405280929190818152602001828054610cb890612556565b8015610d055780601f10610cda57610100808354040283529160200191610d05565b820191906000526020600020905b815481529060010190602001808311610ce857829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610d74576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b60008060019054906101000a900460ff16159050808015610df65750600160008054906101000a900460ff1660ff16105b80610e235750610e053061154e565b158015610e225750600160008054906101000a900460ff1660ff16145b5b610e62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e599061268b565b60405180910390fd5b60016000806101000a81548160ff021916908360ff1602179055508015610e9f576001600060016101000a81548160ff0219169083151502179055505b87600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555086600a9080519060200190610ef6929190611bf2565b5085600b9080519060200190610f0d929190611bf2565b5084600c60006101000a81548163ffffffff021916908363ffffffff16021790555083600c60046101000a81548163ffffffff021916908363ffffffff16021790555082600c60086101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555081600d9080519060200190610f8f929190611bf2565b508015610fe95760008060016101000a81548160ff0219169083151502179055507f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024986001604051610fe091906126fd565b60405180910390a15b5050505050505050565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6060600b805461102890612556565b80601f016020809104026020016040519081016040528092919081815260200182805461105490612556565b80156110a15780601f10611076576101008083540402835291602001916110a1565b820191906000526020600020905b81548152906001019060200180831161108457829003601f168201915b5050505050905090565b600c60089054906101000a900467ffffffffffffffff1681565b600c60009054906101000a900463ffffffff1663ffffffff16816110e7610803565b6110f19190612747565b1115611132576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611129906127e9565b60405180910390fd5b600c60049054906101000a900463ffffffff1663ffffffff168161115533611773565b61115f9190612747565b11156111a0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161119790612855565b60405180910390fd5b600c60089054906101000a900467ffffffffffffffff1667ffffffffffffffff16816111cc9190612875565b34101561120e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112059061291b565b60405180910390fd5b61121833826117ca565b50565b6112236115d0565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611287576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600860006112946115d0565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166113416115d0565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516113869190611d49565b60405180910390a35050565b61139d84848461081a565b60008373ffffffffffffffffffffffffffffffffffffffff163b146113ff576113c8848484846117e8565b6113fe576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b606061141082611571565b611446576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000600d805461145590612556565b905003611471576040518060200160405280600081525061149d565b600d61147c83611938565b60405160200161148d929190612a57565b6040516020818303038152906040525b9050919050565b600c60009054906101000a900463ffffffff1681565b6000600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008161157c6115d8565b1115801561158b575060015482105b80156115c9575060007c0100000000000000000000000000000000000000000000000000000000600560008581526020019081526020016000205416145b9050919050565b600033905090565b600090565b600080829050806115ec6115d8565b11611672576001548110156116715760006005600083815260200190815260200160002054905060007c010000000000000000000000000000000000000000000000000000000082160361166f575b6000810361166557600560008360019003935083815260200190815260200160002054905061163b565b80925050506116a4565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60008060006007600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e861173186868461197f565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b600067ffffffffffffffff6040600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054901c169050919050565b6117e4828260405180602001604052806000815250611988565b5050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261180e6115d0565b8786866040518563ffffffff1660e01b81526004016118309493929190612adb565b6020604051808303816000875af192505050801561186c57506040513d601f19601f820116820180604052508101906118699190612b3c565b60015b6118e5573d806000811461189c576040519150601f19603f3d011682016040523d82523d6000602084013e6118a1565b606091505b5060008151036118dd576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b606060806040510190508060405280825b60011561196b57600183039250600a81066030018353600a8104905080611949575b508181036020830392508083525050919050565b60009392505050565b6119928383611a26565b60008373ffffffffffffffffffffffffffffffffffffffff163b14611a215760006001549050600083820390505b6119d360008683806001019450866117e8565b611a09576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8181106119c0578160015414611a1e57600080fd5b50505b505050565b6000600154905060008203611a67576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611a746000848385611714565b600160406001901b178202600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550611aeb83611adc600086600061171a565b611ae585611be2565b17611742565b6005600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b818114611b8c57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600181019050611b51565b5060008203611bc7576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806001819055505050611bdd600084838561176d565b505050565b60006001821460e11b9050919050565b828054611bfe90612556565b90600052602060002090601f016020900481019282611c205760008555611c67565b82601f10611c3957805160ff1916838001178555611c67565b82800160010185558215611c67579182015b82811115611c66578251825591602001919060010190611c4b565b5b509050611c749190611c78565b5090565b5b80821115611c91576000816000905550600101611c79565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b611cde81611ca9565b8114611ce957600080fd5b50565b600081359050611cfb81611cd5565b92915050565b600060208284031215611d1757611d16611c9f565b5b6000611d2584828501611cec565b91505092915050565b60008115159050919050565b611d4381611d2e565b82525050565b6000602082019050611d5e6000830184611d3a565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015611d9e578082015181840152602081019050611d83565b83811115611dad576000848401525b50505050565b6000601f19601f8301169050919050565b6000611dcf82611d64565b611dd98185611d6f565b9350611de9818560208601611d80565b611df281611db3565b840191505092915050565b60006020820190508181036000830152611e178184611dc4565b905092915050565b6000819050919050565b611e3281611e1f565b8114611e3d57600080fd5b50565b600081359050611e4f81611e29565b92915050565b600060208284031215611e6b57611e6a611c9f565b5b6000611e7984828501611e40565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000611ead82611e82565b9050919050565b611ebd81611ea2565b82525050565b6000602082019050611ed86000830184611eb4565b92915050565b611ee781611ea2565b8114611ef257600080fd5b50565b600081359050611f0481611ede565b92915050565b60008060408385031215611f2157611f20611c9f565b5b6000611f2f85828601611ef5565b9250506020611f4085828601611e40565b9150509250929050565b611f5381611e1f565b82525050565b6000602082019050611f6e6000830184611f4a565b92915050565b600080600060608486031215611f8d57611f8c611c9f565b5b6000611f9b86828701611ef5565b9350506020611fac86828701611ef5565b9250506040611fbd86828701611e40565b9150509250925092565b600063ffffffff82169050919050565b611fe081611fc7565b82525050565b6000602082019050611ffb6000830184611fd7565b92915050565b60006020828403121561201757612016611c9f565b5b600061202584828501611ef5565b91505092915050565b600061203982611e82565b9050919050565b6120498161202e565b811461205457600080fd5b50565b60008135905061206681612040565b92915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6120ae82611db3565b810181811067ffffffffffffffff821117156120cd576120cc612076565b5b80604052505050565b60006120e0611c95565b90506120ec82826120a5565b919050565b600067ffffffffffffffff82111561210c5761210b612076565b5b61211582611db3565b9050602081019050919050565b82818337600083830152505050565b600061214461213f846120f1565b6120d6565b9050828152602081018484840111156121605761215f612071565b5b61216b848285612122565b509392505050565b600082601f8301126121885761218761206c565b5b8135612198848260208601612131565b91505092915050565b6121aa81611fc7565b81146121b557600080fd5b50565b6000813590506121c7816121a1565b92915050565b600067ffffffffffffffff82169050919050565b6121ea816121cd565b81146121f557600080fd5b50565b600081359050612207816121e1565b92915050565b600080600080600080600060e0888a03121561222c5761222b611c9f565b5b600061223a8a828b01612057565b975050602088013567ffffffffffffffff81111561225b5761225a611ca4565b5b6122678a828b01612173565b965050604088013567ffffffffffffffff81111561228857612287611ca4565b5b6122948a828b01612173565b95505060606122a58a828b016121b8565b94505060806122b68a828b016121b8565b93505060a06122c78a828b016121f8565b92505060c088013567ffffffffffffffff8111156122e8576122e7611ca4565b5b6122f48a828b01612173565b91505092959891949750929550565b61230c8161202e565b82525050565b60006020820190506123276000830184612303565b92915050565b612336816121cd565b82525050565b6000602082019050612351600083018461232d565b92915050565b61236081611d2e565b811461236b57600080fd5b50565b60008135905061237d81612357565b92915050565b6000806040838503121561239a57612399611c9f565b5b60006123a885828601611ef5565b92505060206123b98582860161236e565b9150509250929050565b600067ffffffffffffffff8211156123de576123dd612076565b5b6123e782611db3565b9050602081019050919050565b6000612407612402846123c3565b6120d6565b90508281526020810184848401111561242357612422612071565b5b61242e848285612122565b509392505050565b600082601f83011261244b5761244a61206c565b5b813561245b8482602086016123f4565b91505092915050565b6000806000806080858703121561247e5761247d611c9f565b5b600061248c87828801611ef5565b945050602061249d87828801611ef5565b93505060406124ae87828801611e40565b925050606085013567ffffffffffffffff8111156124cf576124ce611ca4565b5b6124db87828801612436565b91505092959194509250565b600080604083850312156124fe576124fd611c9f565b5b600061250c85828601611ef5565b925050602061251d85828601611ef5565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061256e57607f821691505b60208210810361258157612580612527565b5b50919050565b7f426c6f6f6f6d436f6c6c656374696f6e54656d706c6174653a2043616c6c657260008201527f206973206e6f74206f776e657200000000000000000000000000000000000000602082015250565b60006125e3602d83611d6f565b91506125ee82612587565b604082019050919050565b60006020820190508181036000830152612612816125d6565b9050919050565b7f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160008201527f647920696e697469616c697a6564000000000000000000000000000000000000602082015250565b6000612675602e83611d6f565b915061268082612619565b604082019050919050565b600060208201905081810360008301526126a481612668565b9050919050565b6000819050919050565b600060ff82169050919050565b6000819050919050565b60006126e76126e26126dd846126ab565b6126c2565b6126b5565b9050919050565b6126f7816126cc565b82525050565b600060208201905061271260008301846126ee565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061275282611e1f565b915061275d83611e1f565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561279257612791612718565b5b828201905092915050565b7f4d617820737570706c7920657863656564656400000000000000000000000000600082015250565b60006127d3601383611d6f565b91506127de8261279d565b602082019050919050565b60006020820190508181036000830152612802816127c6565b9050919050565b7f4578636565646564207065722077616c6c6574206c696d697400000000000000600082015250565b600061283f601983611d6f565b915061284a82612809565b602082019050919050565b6000602082019050818103600083015261286e81612832565b9050919050565b600061288082611e1f565b915061288b83611e1f565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156128c4576128c3612718565b5b828202905092915050565b7f496e636f72726563742045544820616d6f756e74000000000000000000000000600082015250565b6000612905601483611d6f565b9150612910826128cf565b602082019050919050565b60006020820190508181036000830152612934816128f8565b9050919050565b600081905092915050565b60008190508160005260206000209050919050565b6000815461296881612556565b612972818661293b565b9450600182166000811461298d576001811461299e576129d1565b60ff198316865281860193506129d1565b6129a785612946565b60005b838110156129c9578154818901526001820191506020810190506129aa565b838801955050505b50505092915050565b60006129e582611d64565b6129ef818561293b565b93506129ff818560208601611d80565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b6000612a4160058361293b565b9150612a4c82612a0b565b600582019050919050565b6000612a63828561295b565b9150612a6f82846129da565b9150612a7a82612a34565b91508190509392505050565b600081519050919050565b600082825260208201905092915050565b6000612aad82612a86565b612ab78185612a91565b9350612ac7818560208601611d80565b612ad081611db3565b840191505092915050565b6000608082019050612af06000830187611eb4565b612afd6020830186611eb4565b612b0a6040830185611f4a565b8181036060830152612b1c8184612aa2565b905095945050505050565b600081519050612b3681611cd5565b92915050565b600060208284031215612b5257612b51611c9f565b5b6000612b6084828501612b27565b9150509291505056fea26469706673582212202d7173c16f20b04e14118a2a64aa96ea6e12620e3f3dd99133ac208652f0d86a64736f6c634300080e0033

Loading...
Loading
Loading...
Loading
[ 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.