ETH Price: $3,322.81 (-4.90%)

Token

CC0 Papers (CC0PAPER)
 

Overview

Max Total Supply

944 CC0PAPER

Holders

937

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 CC0PAPER
0xaa25494d72c8b137c7be09961644c8bab2b3d5d4
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:
CC0PAPERS

Compiler Version
v0.8.15+commit.e14f2714

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2022-08-08
*/

// SPDX-License-Identifier: MIT
pragma solidity 0.8.15;

/*

 ██████╗ ██████╗ ██████╗     ██████╗  █████╗ ██████╗ ███████╗██████╗ ███████╗
██╔════╝██╔════╝██╔═████╗    ██╔══██╗██╔══██╗██╔══██╗██╔════╝██╔══██╗██╔════╝
██║     ██║     ██║██╔██║    ██████╔╝███████║██████╔╝█████╗  ██████╔╝███████╗
██║     ██║     ████╔╝██║    ██╔═══╝ ██╔══██║██╔═══╝ ██╔══╝  ██╔══██╗╚════██║
╚██████╗╚██████╗╚██████╔╝    ██║     ██║  ██║██║     ███████╗██║  ██║███████║
 ╚═════╝ ╚═════╝ ╚═════╝     ╚═╝     ╚═╝  ╚═╝╚═╝     ╚══════╝╚═╝  ╚═╝╚══════╝
                                                                       
*/


//import "https://github.com/chiru-labs/ERC721A/blob/main/contracts/IERC721A.sol";


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

contract CC0PAPERS is IERC721A { 

    address private _owner;
    modifier onlyOwner() { 
        require(_owner==msg.sender, "No!"); 
        _; 
    }

    bool public saleIsActive = true;
    uint256 public constant MAX_SUPPLY = 999;
    uint256 public constant MAX_PER_WALLET = 2;
    uint256 public constant MAX_FREE_PER_WALLET = 1;
    uint256 public constant COST = 0.005 ether;

    string private constant _name = "CC0 Papers";
    string private constant _symbol = "CC0PAPER";
    string private _contractURI = "QmVWjCWR8v8wgQ4ejXPihih39LvcPQkvkQfJ2jya3m8QD9";
    string private _baseURI = "QmZBe3hPDQhTAfVyYQGqdGyiiFN5zhcogEkaSVFuVWhrzK";

    constructor() {
        _owner = msg.sender;
    }

    function mint(uint256 _amount) external payable{
        address _caller = _msgSenderERC721A();

        require(saleIsActive, "NotActive");
        require(totalSupply() + _amount <= MAX_SUPPLY, "SoldOut");
        require(_amount + _numberMinted(msg.sender) <= MAX_PER_WALLET, "AccLimit");
        require(msg.value >= _amount*COST, "More");
        
        _safeMint(_caller, _amount);
    }

    function freeMint() external{
        uint256 amount = MAX_FREE_PER_WALLET;
        address _caller = _msgSenderERC721A();

        require(saleIsActive, "NotActive");
        require(totalSupply() + amount <= (MAX_SUPPLY-55), "SoldOut");
        require(amount + _numberMinted(msg.sender) <= MAX_FREE_PER_WALLET, "AccLimit");

        _safeMint(_caller, amount);
    }


    // 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 tokenId of the next token to be minted.
    uint256 private _currentIndex = 0;

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


    // 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`
    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 => address) private _tokenApprovals;

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


    function setSale(bool _saleIsActive) external onlyOwner{
        saleIsActive = _saleIsActive;
    }

    function setBaseURI(string memory _new) external onlyOwner{
        _baseURI = _new;
    }

    function setContractURI(string memory _new) external onlyOwner{
        _contractURI = _new;
    }
   




    /**
     * @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 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 override returns (uint256) {
        // Counter underflow is impossible as _burnCounter cannot be incremented
        // more than `_currentIndex - _startTokenId()` times.
        unchecked {
            return _currentIndex - _startTokenId();
        }
    }

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


    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        // The interface IDs are constants representing the first 4 bytes of the XOR of
        // all function selectors in the interface. See: 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.
    }

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view override returns (uint256) {
        if (_addressToUint256(owner) == 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 auxillary 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 auxillary data for `owner`. (e.g. number of whitelist mint slots used).
     * If there are multiple variables, please pack them into a uint64.
     */
    function _setAux(address owner, uint64 aux) internal {
        uint256 packed = _packedAddressData[owner];
        uint256 auxCasted;
        assembly { // Cast aux without masking.
auxCasted := aux
        }
        packed = (packed & BITMASK_AUX_COMPLEMENT) | (auxCasted << BITPOS_AUX);
        _packedAddressData[owner] = packed;
    }

    /**
     * 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 ownership that has an address and is not burned
                        // before an ownership that does not have an address and is not burned.
                        // Hence, curr will not underflow.
                        //
                        // We can directly compare the packed value.
                        // If the address is zero, packed is zero.
                        while (packed == 0) {
                            packed = _packedOwnerships[--curr];
                        }
                        return packed;
                    }
                }
        }
        revert OwnerQueryForNonexistentToken();
    }

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

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

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

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

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

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

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

    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("ipfs://", baseURI, "/", _toString(tokenId), ".json")) : "";
    }

    function contractURI() public view returns (string memory) {
        return string(abi.encodePacked("ipfs://", _contractURI));
    }

    /**
     * @dev Casts the address to uint256 without masking.
     */
    function _addressToUint256(address value) private pure returns (uint256 result) {
        assembly {
result := value
        }
    }

    /**
     * @dev Casts the boolean to uint256 without branching.
     */
    function _boolToUint256(bool value) private pure returns (uint256 result) {
        assembly {
result := value
        }
    }

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public override {
        address owner = address(uint160(_packedOwnershipOf(tokenId)));
        if (to == owner) revert();

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

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

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

        return _tokenApprovals[tokenId];
    }

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

        _operatorApprovals[_msgSenderERC721A()][operator] = approved;
        emit ApprovalForAll(_msgSenderERC721A(), operator, approved);
    }

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

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

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

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

    /**
     * @dev Returns whether `tokenId` exists.
     *
     * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
     *
     * Tokens start existing when they are minted (`_mint`),
     */
    function _exists(uint256 tokenId) internal view returns (bool) {
        return
            _startTokenId() <= tokenId &&
            tokenId < _currentIndex;
    }

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

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


        // Overflows are incredibly unrealistic.
        // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1
        // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1
        unchecked {
            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the balance and number minted.
            _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] =
                _addressToUint256(to) |
                (block.timestamp << BITPOS_START_TIMESTAMP) |
                (_boolToUint256(quantity == 1) << BITPOS_NEXT_INITIALIZED);

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

            if (to.code.length != 0) {
                do {
                    emit Transfer(address(0), to, updatedIndex);
                } while (updatedIndex < end);
                // Reentrancy protection
                if (_currentIndex != startTokenId) revert();
            } else {
                do {
                    emit Transfer(address(0), to, updatedIndex++);
                } while (updatedIndex < end);
            }
            _currentIndex = updatedIndex;
        }
        _afterTokenTransfers(address(0), to, startTokenId, quantity);
    }

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


        // Overflows are incredibly unrealistic.
        // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1
        // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1
        unchecked {
            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the balance and number minted.
            _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] =
                _addressToUint256(to) |
                (block.timestamp << BITPOS_START_TIMESTAMP) |
                (_boolToUint256(quantity == 1) << BITPOS_NEXT_INITIALIZED);

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

            do {
                emit Transfer(address(0), to, updatedIndex++);
            } while (updatedIndex < end);

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

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * Emits a {Transfer} event.
     */
    function _transfer(
            address from,
            address to,
            uint256 tokenId
            ) private {

        uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId);

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

        address approvedAddress = _tokenApprovals[tokenId];

        bool isApprovedOrOwner = (_msgSenderERC721A() == from ||
                isApprovedForAll(from, _msgSenderERC721A()) ||
                approvedAddress == _msgSenderERC721A());

        if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();

        //X if (_addressToUint256(to) == 0) revert TransferToZeroAddress();


        // Clear approvals from the previous owner.
        if (_addressToUint256(approvedAddress) != 0) {
            delete _tokenApprovals[tokenId];
        }

        // 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] =
                _addressToUint256(to) |
                (block.timestamp << BITPOS_START_TIMESTAMP) |
                BITMASK_NEXT_INITIALIZED;

            // 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 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 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 returns (string memory ptr) {
        assembly {
            // The maximum value of a uint256 contains 78 digits (1 byte per digit), 
            // but we allocate 128 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: 32 + 3 * 32 = 128.
ptr := add(mload(0x40), 128)

         // Update the free memory pointer to allocate.
         mstore(0x40, ptr)

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

         // We write the string from the rightmost digit to the leftmost digit.
         // The following is essentially a do-while loop that also handles the zero case.
         // Costs a bit more than early returning for the zero case,
         // but cheaper in terms of deployment and overall runtime costs.
         for { 
             // Initialize and perform the first pass without check.
             let temp := value
                 // Move the pointer 1 byte leftwards to point to an empty character slot.
                 ptr := sub(ptr, 1)
                 // Write the character to the pointer. 48 is the ASCII index of '0'.
                 mstore8(ptr, add(48, mod(temp, 10)))
                 temp := div(temp, 10)
         } temp { 
             // Keep dividing `temp` until zero.
        temp := div(temp, 10)
         } { 
             // Body of the for loop.
        ptr := sub(ptr, 1)
         mstore8(ptr, add(48, mod(temp, 10)))
         }

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

    

    function withdraw() external onlyOwner {
        uint256 balance = address(this).balance;
        payable(msg.sender).transfer(balance);
    }
}

Contract Security Audit

Contract ABI

[{"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":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"COST","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_FREE_PER_WALLET","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_PER_WALLET","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"freeMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_new","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_new","type":"string"}],"name":"setContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_saleIsActive","type":"bool"}],"name":"setSale","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":"nonpayable","type":"function"}]

6000805460ff60a01b1916600160a01b17905560e0604052602e608081815290620017dc60a03960019062000035908262000130565b506040518060600160405280602e8152602001620017ae602e91396002906200005f908262000130565b5060006003553480156200007257600080fd5b50600080546001600160a01b03191633179055620001fc565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620000b657607f821691505b602082108103620000d757634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200012b57600081815260208120601f850160051c81016020861015620001065750805b601f850160051c820191505b81811015620001275782815560010162000112565b5050505b505050565b81516001600160401b038111156200014c576200014c6200008b565b62000164816200015d8454620000a1565b84620000dd565b602080601f8311600181146200019c5760008415620001835750858301515b600019600386901b1c1916600185901b17855562000127565b600085815260208120601f198616915b82811015620001cd57888601518255948401946001909101908401620001ac565b5085821015620001ec5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6115a2806200020c6000396000f3fe6080604052600436106101815760003560e01c80636352211e116100d1578063a22cb4651161008a578063c87b56dd11610064578063c87b56dd1461045d578063e8a3d4851461047d578063e985e9c514610492578063eb8d2444146104db57600080fd5b8063a22cb46514610402578063b88d4fde14610422578063bf8fbbd21461044257600080fd5b80636352211e1461034957806370a0823114610369578063938e3d7b1461038957806395d89b41146103a957806398710d1e146103da578063a0712d68146103ef57600080fd5b80631d2e5a3a1161013e5780633ccfd60b116101185780633ccfd60b146102df57806342842e0e146102f457806355f804b3146103145780635b70ea9f1461033457600080fd5b80631d2e5a3a1461028957806323b872dd146102a957806332cb6b0c146102c957600080fd5b806301ffc9a71461018657806306fdde03146101bb578063081812fc146101f7578063095ea7b31461022f5780630f2cdd6c1461025157806318160ddd14610274575b600080fd5b34801561019257600080fd5b506101a66101a1366004610f9b565b6104fc565b60405190151581526020015b60405180910390f35b3480156101c757600080fd5b5060408051808201909152600a8152694343302050617065727360b01b60208201525b6040516101b29190610ff1565b34801561020357600080fd5b50610217610212366004611024565b61054e565b6040516001600160a01b0390911681526020016101b2565b34801561023b57600080fd5b5061024f61024a366004611059565b610594565b005b34801561025d57600080fd5b50610266600281565b6040519081526020016101b2565b34801561028057600080fd5b50600354610266565b34801561029557600080fd5b5061024f6102a4366004611093565b610652565b3480156102b557600080fd5b5061024f6102c43660046110ae565b6106a3565b3480156102d557600080fd5b506102666103e781565b3480156102eb57600080fd5b5061024f6106b3565b34801561030057600080fd5b5061024f61030f3660046110ae565b610710565b34801561032057600080fd5b5061024f61032f366004611176565b61072b565b34801561034057600080fd5b5061024f610761565b34801561035557600080fd5b50610217610364366004611024565b610871565b34801561037557600080fd5b506102666103843660046111c7565b61087c565b34801561039557600080fd5b5061024f6103a4366004611176565b6108c5565b3480156103b557600080fd5b5060408051808201909152600881526721a1982820a822a960c11b60208201526101ea565b3480156103e657600080fd5b50610266600181565b61024f6103fd366004611024565b6108fb565b34801561040e57600080fd5b5061024f61041d3660046111e2565b610a3d565b34801561042e57600080fd5b5061024f61043d366004611215565b610ad2565b34801561044e57600080fd5b506102666611c37937e0800081565b34801561046957600080fd5b506101ea610478366004611024565b610ae3565b34801561048957600080fd5b506101ea610bec565b34801561049e57600080fd5b506101a66104ad366004611291565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156104e757600080fd5b506000546101a690600160a01b900460ff1681565b60006301ffc9a760e01b6001600160e01b03198316148061052d57506380ac58cd60e01b6001600160e01b03198316145b806105485750635b5e139f60e01b6001600160e01b03198316145b92915050565b600061055b826003541190565b610578576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061059f82610c14565b9050806001600160a01b0316836001600160a01b0316036105bf57600080fd5b336001600160a01b038216146105f6576105d981336104ad565b6105f6576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000546001600160a01b031633146106855760405162461bcd60e51b815260040161067c906112bb565b60405180910390fd5b60008054911515600160a01b0260ff60a01b19909216919091179055565b6106ae838383610c7b565b505050565b6000546001600160a01b031633146106dd5760405162461bcd60e51b815260040161067c906112bb565b6040514790339082156108fc029083906000818181858888f1935050505015801561070c573d6000803e3d6000fd5b5050565b6106ae83838360405180602001604052806000815250610ad2565b6000546001600160a01b031633146107555760405162461bcd60e51b815260040161067c906112bb565b600261070c8282611358565b6000546001903390600160a01b900460ff166107ab5760405162461bcd60e51b81526020600482015260096024820152684e6f7441637469766560b81b604482015260640161067c565b6107b860376103e761142e565b826107c260035490565b6107cc9190611445565b11156108045760405162461bcd60e51b815260206004820152600760248201526614dbdb1913dd5d60ca1b604482015260640161067c565b3360009081526005602052604090819020546001911c67ffffffffffffffff1661082e9084611445565b11156108675760405162461bcd60e51b81526020600482015260086024820152671058d8d31a5b5a5d60c21b604482015260640161067c565b61070c8183610e14565b600061054882610c14565b60008160000361089f576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6000546001600160a01b031633146108ef5760405162461bcd60e51b815260040161067c906112bb565b600161070c8282611358565b6000543390600160a01b900460ff166109425760405162461bcd60e51b81526020600482015260096024820152684e6f7441637469766560b81b604482015260640161067c565b6103e78261094f60035490565b6109599190611445565b11156109915760405162461bcd60e51b815260206004820152600760248201526614dbdb1913dd5d60ca1b604482015260640161067c565b3360009081526005602052604090819020546002911c67ffffffffffffffff166109bb9084611445565b11156109f45760405162461bcd60e51b81526020600482015260086024820152671058d8d31a5b5a5d60c21b604482015260640161067c565b610a056611c37937e080008361145d565b3410156108675760405162461bcd60e51b815260040161067c906020808252600490820152634d6f726560e01b604082015260600190565b336001600160a01b03831603610a665760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610add848484610c7b565b50505050565b6060610af0826003541190565b610b0d57604051630a14c4b560e41b815260040160405180910390fd5b600060028054610b1c906112d8565b80601f0160208091040260200160405190810160405280929190818152602001828054610b48906112d8565b8015610b955780601f10610b6a57610100808354040283529160200191610b95565b820191906000526020600020905b815481529060010190602001808311610b7857829003601f168201915b505050505090508051600003610bba5760405180602001604052806000815250610be5565b80610bc484610e2e565b604051602001610bd592919061147c565b6040516020818303038152906040525b9392505050565b60606001604051602001610c0091906114dd565b604051602081830303815290604052905090565b600081600354811015610c625760008181526004602052604081205490600160e01b82169003610c60575b80600003610be5575060001901600081815260046020526040902054610c3f565b505b604051636f96cda160e11b815260040160405180910390fd5b6000610c8682610c14565b9050836001600160a01b0316816001600160a01b031614610cb95760405162a1148160e81b815260040160405180910390fd5b6000828152600660205260408120546001600160a01b0390811691908616331480610ce95750610ce986336104ad565b80610cfc57506001600160a01b03821633145b905080610d1c57604051632ce44b5f60e11b815260040160405180910390fd5b8115610d3f57600084815260066020526040902080546001600160a01b03191690555b6001600160a01b038681166000908152600560209081526040808320805460001901905592881682528282208054600101905586825260049052908120600160e11b4260a01b8817811790915584169003610dca57600184016000818152600460205260408120549003610dc8576003548114610dc85760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b61070c828260405180602001604052806000815250610e7d565b604080516080810191829052607f0190826030600a8206018353600a90045b8015610e6b57600183039250600a81066030018353600a9004610e4d565b50819003601f19909101908152919050565b6003546000839003610ea25760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03841660008181526005602090815260408083208054680100000000000000018902019055848352600490915290204260a01b86176001861460e11b1790558190818501903b15610f47575b60405182906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808210610ef5578260035414610f4257600080fd5b610f8c565b5b6040516001830192906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808210610f48575b50600355610add600085838684565b600060208284031215610fad57600080fd5b81356001600160e01b031981168114610be557600080fd5b60005b83811015610fe0578181015183820152602001610fc8565b83811115610add5750506000910152565b6020815260008251806020840152611010816040850160208701610fc5565b601f01601f19169190910160400192915050565b60006020828403121561103657600080fd5b5035919050565b80356001600160a01b038116811461105457600080fd5b919050565b6000806040838503121561106c57600080fd5b6110758361103d565b946020939093013593505050565b8035801515811461105457600080fd5b6000602082840312156110a557600080fd5b610be582611083565b6000806000606084860312156110c357600080fd5b6110cc8461103d565b92506110da6020850161103d565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561111b5761111b6110ea565b604051601f8501601f19908116603f01168101908282118183101715611143576111436110ea565b8160405280935085815286868601111561115c57600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561118857600080fd5b813567ffffffffffffffff81111561119f57600080fd5b8201601f810184136111b057600080fd5b6111bf84823560208401611100565b949350505050565b6000602082840312156111d957600080fd5b610be58261103d565b600080604083850312156111f557600080fd5b6111fe8361103d565b915061120c60208401611083565b90509250929050565b6000806000806080858703121561122b57600080fd5b6112348561103d565b93506112426020860161103d565b925060408501359150606085013567ffffffffffffffff81111561126557600080fd5b8501601f8101871361127657600080fd5b61128587823560208401611100565b91505092959194509250565b600080604083850312156112a457600080fd5b6112ad8361103d565b915061120c6020840161103d565b6020808252600390820152624e6f2160e81b604082015260600190565b600181811c908216806112ec57607f821691505b60208210810361130c57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156106ae57600081815260208120601f850160051c810160208610156113395750805b601f850160051c820191505b81811015610e0c57828155600101611345565b815167ffffffffffffffff811115611372576113726110ea565b6113868161138084546112d8565b84611312565b602080601f8311600181146113bb57600084156113a35750858301515b600019600386901b1c1916600185901b178555610e0c565b600085815260208120601f198616915b828110156113ea578886015182559484019460019091019084016113cb565b50858210156114085787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b60008282101561144057611440611418565b500390565b6000821982111561145857611458611418565b500190565b600081600019048311821515161561147757611477611418565b500290565b66697066733a2f2f60c81b81526000835161149e816007850160208801610fc5565b602f60f81b60079184019182015283516114bf816008840160208801610fc5565b64173539b7b760d91b60089290910191820152600d01949350505050565b66697066733a2f2f60c81b815260006007600084546114fb816112d8565b60018281168015611513576001811461152c5761155f565b60ff19841688870152821515830288018601945061155f565b8860005260208060002060005b858110156115545781548b82018a0152908401908201611539565b505050858389010194505b509297965050505050505056fea264697066735822122033a8d6dd8bb053f1fe61c7c67730ce7efe8da3532c6e8ec0e1659190beabc8a864736f6c634300080f0033516d5a42653368504451685441665679595147716447796969464e357a68636f67456b6153564675565768727a4b516d56576a43575238763877675134656a58506968696833394c766350516b766b51664a326a7961336d38514439

Deployed Bytecode

0x6080604052600436106101815760003560e01c80636352211e116100d1578063a22cb4651161008a578063c87b56dd11610064578063c87b56dd1461045d578063e8a3d4851461047d578063e985e9c514610492578063eb8d2444146104db57600080fd5b8063a22cb46514610402578063b88d4fde14610422578063bf8fbbd21461044257600080fd5b80636352211e1461034957806370a0823114610369578063938e3d7b1461038957806395d89b41146103a957806398710d1e146103da578063a0712d68146103ef57600080fd5b80631d2e5a3a1161013e5780633ccfd60b116101185780633ccfd60b146102df57806342842e0e146102f457806355f804b3146103145780635b70ea9f1461033457600080fd5b80631d2e5a3a1461028957806323b872dd146102a957806332cb6b0c146102c957600080fd5b806301ffc9a71461018657806306fdde03146101bb578063081812fc146101f7578063095ea7b31461022f5780630f2cdd6c1461025157806318160ddd14610274575b600080fd5b34801561019257600080fd5b506101a66101a1366004610f9b565b6104fc565b60405190151581526020015b60405180910390f35b3480156101c757600080fd5b5060408051808201909152600a8152694343302050617065727360b01b60208201525b6040516101b29190610ff1565b34801561020357600080fd5b50610217610212366004611024565b61054e565b6040516001600160a01b0390911681526020016101b2565b34801561023b57600080fd5b5061024f61024a366004611059565b610594565b005b34801561025d57600080fd5b50610266600281565b6040519081526020016101b2565b34801561028057600080fd5b50600354610266565b34801561029557600080fd5b5061024f6102a4366004611093565b610652565b3480156102b557600080fd5b5061024f6102c43660046110ae565b6106a3565b3480156102d557600080fd5b506102666103e781565b3480156102eb57600080fd5b5061024f6106b3565b34801561030057600080fd5b5061024f61030f3660046110ae565b610710565b34801561032057600080fd5b5061024f61032f366004611176565b61072b565b34801561034057600080fd5b5061024f610761565b34801561035557600080fd5b50610217610364366004611024565b610871565b34801561037557600080fd5b506102666103843660046111c7565b61087c565b34801561039557600080fd5b5061024f6103a4366004611176565b6108c5565b3480156103b557600080fd5b5060408051808201909152600881526721a1982820a822a960c11b60208201526101ea565b3480156103e657600080fd5b50610266600181565b61024f6103fd366004611024565b6108fb565b34801561040e57600080fd5b5061024f61041d3660046111e2565b610a3d565b34801561042e57600080fd5b5061024f61043d366004611215565b610ad2565b34801561044e57600080fd5b506102666611c37937e0800081565b34801561046957600080fd5b506101ea610478366004611024565b610ae3565b34801561048957600080fd5b506101ea610bec565b34801561049e57600080fd5b506101a66104ad366004611291565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156104e757600080fd5b506000546101a690600160a01b900460ff1681565b60006301ffc9a760e01b6001600160e01b03198316148061052d57506380ac58cd60e01b6001600160e01b03198316145b806105485750635b5e139f60e01b6001600160e01b03198316145b92915050565b600061055b826003541190565b610578576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061059f82610c14565b9050806001600160a01b0316836001600160a01b0316036105bf57600080fd5b336001600160a01b038216146105f6576105d981336104ad565b6105f6576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000546001600160a01b031633146106855760405162461bcd60e51b815260040161067c906112bb565b60405180910390fd5b60008054911515600160a01b0260ff60a01b19909216919091179055565b6106ae838383610c7b565b505050565b6000546001600160a01b031633146106dd5760405162461bcd60e51b815260040161067c906112bb565b6040514790339082156108fc029083906000818181858888f1935050505015801561070c573d6000803e3d6000fd5b5050565b6106ae83838360405180602001604052806000815250610ad2565b6000546001600160a01b031633146107555760405162461bcd60e51b815260040161067c906112bb565b600261070c8282611358565b6000546001903390600160a01b900460ff166107ab5760405162461bcd60e51b81526020600482015260096024820152684e6f7441637469766560b81b604482015260640161067c565b6107b860376103e761142e565b826107c260035490565b6107cc9190611445565b11156108045760405162461bcd60e51b815260206004820152600760248201526614dbdb1913dd5d60ca1b604482015260640161067c565b3360009081526005602052604090819020546001911c67ffffffffffffffff1661082e9084611445565b11156108675760405162461bcd60e51b81526020600482015260086024820152671058d8d31a5b5a5d60c21b604482015260640161067c565b61070c8183610e14565b600061054882610c14565b60008160000361089f576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6000546001600160a01b031633146108ef5760405162461bcd60e51b815260040161067c906112bb565b600161070c8282611358565b6000543390600160a01b900460ff166109425760405162461bcd60e51b81526020600482015260096024820152684e6f7441637469766560b81b604482015260640161067c565b6103e78261094f60035490565b6109599190611445565b11156109915760405162461bcd60e51b815260206004820152600760248201526614dbdb1913dd5d60ca1b604482015260640161067c565b3360009081526005602052604090819020546002911c67ffffffffffffffff166109bb9084611445565b11156109f45760405162461bcd60e51b81526020600482015260086024820152671058d8d31a5b5a5d60c21b604482015260640161067c565b610a056611c37937e080008361145d565b3410156108675760405162461bcd60e51b815260040161067c906020808252600490820152634d6f726560e01b604082015260600190565b336001600160a01b03831603610a665760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610add848484610c7b565b50505050565b6060610af0826003541190565b610b0d57604051630a14c4b560e41b815260040160405180910390fd5b600060028054610b1c906112d8565b80601f0160208091040260200160405190810160405280929190818152602001828054610b48906112d8565b8015610b955780601f10610b6a57610100808354040283529160200191610b95565b820191906000526020600020905b815481529060010190602001808311610b7857829003601f168201915b505050505090508051600003610bba5760405180602001604052806000815250610be5565b80610bc484610e2e565b604051602001610bd592919061147c565b6040516020818303038152906040525b9392505050565b60606001604051602001610c0091906114dd565b604051602081830303815290604052905090565b600081600354811015610c625760008181526004602052604081205490600160e01b82169003610c60575b80600003610be5575060001901600081815260046020526040902054610c3f565b505b604051636f96cda160e11b815260040160405180910390fd5b6000610c8682610c14565b9050836001600160a01b0316816001600160a01b031614610cb95760405162a1148160e81b815260040160405180910390fd5b6000828152600660205260408120546001600160a01b0390811691908616331480610ce95750610ce986336104ad565b80610cfc57506001600160a01b03821633145b905080610d1c57604051632ce44b5f60e11b815260040160405180910390fd5b8115610d3f57600084815260066020526040902080546001600160a01b03191690555b6001600160a01b038681166000908152600560209081526040808320805460001901905592881682528282208054600101905586825260049052908120600160e11b4260a01b8817811790915584169003610dca57600184016000818152600460205260408120549003610dc8576003548114610dc85760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b61070c828260405180602001604052806000815250610e7d565b604080516080810191829052607f0190826030600a8206018353600a90045b8015610e6b57600183039250600a81066030018353600a9004610e4d565b50819003601f19909101908152919050565b6003546000839003610ea25760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03841660008181526005602090815260408083208054680100000000000000018902019055848352600490915290204260a01b86176001861460e11b1790558190818501903b15610f47575b60405182906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808210610ef5578260035414610f4257600080fd5b610f8c565b5b6040516001830192906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808210610f48575b50600355610add600085838684565b600060208284031215610fad57600080fd5b81356001600160e01b031981168114610be557600080fd5b60005b83811015610fe0578181015183820152602001610fc8565b83811115610add5750506000910152565b6020815260008251806020840152611010816040850160208701610fc5565b601f01601f19169190910160400192915050565b60006020828403121561103657600080fd5b5035919050565b80356001600160a01b038116811461105457600080fd5b919050565b6000806040838503121561106c57600080fd5b6110758361103d565b946020939093013593505050565b8035801515811461105457600080fd5b6000602082840312156110a557600080fd5b610be582611083565b6000806000606084860312156110c357600080fd5b6110cc8461103d565b92506110da6020850161103d565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561111b5761111b6110ea565b604051601f8501601f19908116603f01168101908282118183101715611143576111436110ea565b8160405280935085815286868601111561115c57600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561118857600080fd5b813567ffffffffffffffff81111561119f57600080fd5b8201601f810184136111b057600080fd5b6111bf84823560208401611100565b949350505050565b6000602082840312156111d957600080fd5b610be58261103d565b600080604083850312156111f557600080fd5b6111fe8361103d565b915061120c60208401611083565b90509250929050565b6000806000806080858703121561122b57600080fd5b6112348561103d565b93506112426020860161103d565b925060408501359150606085013567ffffffffffffffff81111561126557600080fd5b8501601f8101871361127657600080fd5b61128587823560208401611100565b91505092959194509250565b600080604083850312156112a457600080fd5b6112ad8361103d565b915061120c6020840161103d565b6020808252600390820152624e6f2160e81b604082015260600190565b600181811c908216806112ec57607f821691505b60208210810361130c57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156106ae57600081815260208120601f850160051c810160208610156113395750805b601f850160051c820191505b81811015610e0c57828155600101611345565b815167ffffffffffffffff811115611372576113726110ea565b6113868161138084546112d8565b84611312565b602080601f8311600181146113bb57600084156113a35750858301515b600019600386901b1c1916600185901b178555610e0c565b600085815260208120601f198616915b828110156113ea578886015182559484019460019091019084016113cb565b50858210156114085787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b60008282101561144057611440611418565b500390565b6000821982111561145857611458611418565b500190565b600081600019048311821515161561147757611477611418565b500290565b66697066733a2f2f60c81b81526000835161149e816007850160208801610fc5565b602f60f81b60079184019182015283516114bf816008840160208801610fc5565b64173539b7b760d91b60089290910191820152600d01949350505050565b66697066733a2f2f60c81b815260006007600084546114fb816112d8565b60018281168015611513576001811461152c5761155f565b60ff19841688870152821515830288018601945061155f565b8860005260208060002060005b858110156115545781548b82018a0152908401908201611539565b505050858389010194505b509297965050505050505056fea264697066735822122033a8d6dd8bb053f1fe61c7c67730ce7efe8da3532c6e8ec0e1659190beabc8a864736f6c634300080f0033

Deployed Bytecode Sourcemap

10407:24664:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15893:615;;;;;;;;;;-1:-1:-1;15893:615:0;;;;;:::i;:::-;;:::i;:::-;;;470:14:1;;463:22;445:41;;433:2;418:18;15893:615:0;;;;;;;;20634:100;;;;;;;;;;-1:-1:-1;20721:5:0;;;;;;;;;;;;-1:-1:-1;;;20721:5:0;;;;20634:100;;;;;;;:::i;22413:204::-;;;;;;;;;;-1:-1:-1;22413:204:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1497:32:1;;;1479:51;;1467:2;1452:18;22413:204:0;1333:203:1;21896:451:0;;;;;;;;;;-1:-1:-1;21896:451:0;;;;;:::i;:::-;;:::i;:::-;;10659:42;;;;;;;;;;;;10700:1;10659:42;;;;;2124:25:1;;;2112:2;2097:18;10659:42:0;1978:177:1;15136:300:0;;;;;;;;;;-1:-1:-1;15386:13:0;;15136:300;;14195:102;;;;;;;;;;-1:-1:-1;14195:102:0;;;;;:::i;:::-;;:::i;23299:190::-;;;;;;;;;;-1:-1:-1;23299:190:0;;;;;:::i;:::-;;:::i;10612:40::-;;;;;;;;;;;;10649:3;10612:40;;34923:145;;;;;;;;;;;;;:::i;23560:205::-;;;;;;;;;;-1:-1:-1;23560:205:0;;;;;:::i;:::-;;:::i;14305:92::-;;;;;;;;;;-1:-1:-1;14305:92:0;;;;;:::i;:::-;;:::i;11555:378::-;;;;;;;;;;;;;:::i;20423:144::-;;;;;;;;;;-1:-1:-1;20423:144:0;;;;;:::i;:::-;;:::i;16572:234::-;;;;;;;;;;-1:-1:-1;16572:234:0;;;;;:::i;:::-;;:::i;14405:100::-;;;;;;;;;;-1:-1:-1;14405:100:0;;;;;:::i;:::-;;:::i;20803:104::-;;;;;;;;;;-1:-1:-1;20892:7:0;;;;;;;;;;;;-1:-1:-1;;;20892:7:0;;;;20803:104;;10708:47;;;;;;;;;;;;10754:1;10708:47;;11143:404;;;;;;:::i;:::-;;:::i;22689:308::-;;;;;;;;;;-1:-1:-1;22689:308:0;;;;;:::i;:::-;;:::i;23836:227::-;;;;;;;;;;-1:-1:-1;23836:227:0;;;;;:::i;:::-;;:::i;10762:42::-;;;;;;;;;;;;10793:11;10762:42;;20915:339;;;;;;;;;;-1:-1:-1;20915:339:0;;;;;:::i;:::-;;:::i;21262:134::-;;;;;;;;;;;;;:::i;23068:164::-;;;;;;;;;;-1:-1:-1;23068:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;23189:25:0;;;23165:4;23189:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;23068:164;10574:31;;;;;;;;;;-1:-1:-1;10574:31:0;;;;-1:-1:-1;;;10574:31:0;;;;;;15893:615;15978:4;-1:-1:-1;;;;;;;;;16278:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;16355:25:0;;;16278:102;:179;;;-1:-1:-1;;;;;;;;;;16432:25:0;;;16278:179;16258:199;15893:615;-1:-1:-1;;15893:615:0:o;22413:204::-;22481:7;22506:16;22514:7;24465:13;;-1:-1:-1;24455:23:0;24318:168;22506:16;22501:64;;22531:34;;-1:-1:-1;;;22531:34:0;;;;;;;;;;;22501:64;-1:-1:-1;22585:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;22585:24:0;;22413:204::o;21896:451::-;21969:13;22001:27;22020:7;22001:18;:27::i;:::-;21969:61;;22051:5;-1:-1:-1;;;;;22045:11:0;:2;-1:-1:-1;;;;;22045:11:0;;22041:25;;22058:8;;;22041:25;32913:10;-1:-1:-1;;;;;22083:28:0;;;22079:175;;22131:44;22148:5;32913:10;23068:164;:::i;22131:44::-;22126:128;;22203:35;;-1:-1:-1;;;22203:35:0;;;;;;;;;;;22126:128;22266:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;22266:29:0;-1:-1:-1;;;;;22266:29:0;;;;;;;;;22311:28;;22266:24;;22311:28;;;;;;;21958:389;21896:451;;:::o;14195:102::-;10518:6;;-1:-1:-1;;;;;10518:6:0;10526:10;10518:18;10510:34;;;;-1:-1:-1;;;10510:34:0;;;;;;;:::i;:::-;;;;;;;;;14261:12:::1;:28:::0;;;::::1;;-1:-1:-1::0;;;14261:28:0::1;-1:-1:-1::0;;;;14261:28:0;;::::1;::::0;;;::::1;::::0;;14195:102::o;23299:190::-;23453:28;23463:4;23469:2;23473:7;23453:9;:28::i;:::-;23299:190;;;:::o;34923:145::-;10518:6;;-1:-1:-1;;;;;10518:6:0;10526:10;10518:18;10510:34;;;;-1:-1:-1;;;10510:34:0;;;;;;;:::i;:::-;35023:37:::1;::::0;34991:21:::1;::::0;35031:10:::1;::::0;35023:37;::::1;;;::::0;34991:21;;34973:15:::1;35023:37:::0;34973:15;35023:37;34991:21;35031:10;35023:37;::::1;;;;;;;;;;;;;::::0;::::1;;;;;;34962:106;34923:145::o:0;23560:205::-;23718:39;23735:4;23741:2;23745:7;23718:39;;;;;;;;;;;;:16;:39::i;14305:92::-;10518:6;;-1:-1:-1;;;;;10518:6:0;10526:10;10518:18;10510:34;;;;-1:-1:-1;;;10510:34:0;;;;;;;:::i;:::-;14374:8:::1;:15;14385:4:::0;14374:8;:15:::1;:::i;11555:378::-:0;11594:14;11699:12;10754:1;;32913:10;;-1:-1:-1;;;11699:12:0;;;;11691:34;;;;-1:-1:-1;;;11691:34:0;;8577:2:1;11691:34:0;;;8559:21:1;8616:1;8596:18;;;8589:29;-1:-1:-1;;;8634:18:1;;;8627:39;8683:18;;11691:34:0;8375:332:1;11691:34:0;11771:13;11782:2;10649:3;11771:13;:::i;:::-;11760:6;11744:13;15386;;;15136:300;11744:13;:22;;;;:::i;:::-;:41;;11736:61;;;;-1:-1:-1;;;11736:61:0;;9309:2:1;11736:61:0;;;9291:21:1;9348:1;9328:18;;;9321:29;-1:-1:-1;;;9366:18:1;;;9359:37;9413:18;;11736:61:0;9107:330:1;11736:61:0;11839:10;16949:7;16977:25;;;:18;:25;;12183:2;16977:25;;;;;10754:1;;16977:49;12046:13;16976:80;11816:34;;:6;:34;:::i;:::-;:57;;11808:78;;;;-1:-1:-1;;;11808:78:0;;9644:2:1;11808:78:0;;;9626:21:1;9683:1;9663:18;;;9656:29;-1:-1:-1;;;9701:18:1;;;9694:38;9749:18;;11808:78:0;9442:331:1;11808:78:0;11899:26;11909:7;11918:6;11899:9;:26::i;20423:144::-;20487:7;20530:27;20549:7;20530:18;:27::i;16572:234::-;16636:7;16678:5;16688:1;16660:29;16656:70;;16698:28;;-1:-1:-1;;;16698:28:0;;;;;;;;;;;16656:70;-1:-1:-1;;;;;;16744:25:0;;;;;:18;:25;;;;;;12046:13;16744:54;;16572:234::o;14405:100::-;10518:6;;-1:-1:-1;;;;;10518:6:0;10526:10;10518:18;10510:34;;;;-1:-1:-1;;;10510:34:0;;;;;;;:::i;:::-;14478:12:::1;:19;14493:4:::0;14478:12;:19:::1;:::i;11143:404::-:0;11201:15;11259:12;32913:10;;-1:-1:-1;;;11259:12:0;;;;11251:34;;;;-1:-1:-1;;;11251:34:0;;8577:2:1;11251:34:0;;;8559:21:1;8616:1;8596:18;;;8589:29;-1:-1:-1;;;8634:18:1;;;8627:39;8683:18;;11251:34:0;8375:332:1;11251:34:0;10649:3;11320:7;11304:13;15386;;;15136:300;11304:13;:23;;;;:::i;:::-;:37;;11296:57;;;;-1:-1:-1;;;11296:57:0;;9309:2:1;11296:57:0;;;9291:21:1;9348:1;9328:18;;;9321:29;-1:-1:-1;;;9366:18:1;;;9359:37;9413:18;;11296:57:0;9107:330:1;11296:57:0;11396:10;16949:7;16977:25;;;:18;:25;;12183:2;16977:25;;;;;10700:1;;16977:49;12046:13;16976:80;11372:35;;:7;:35;:::i;:::-;:53;;11364:74;;;;-1:-1:-1;;;11364:74:0;;9644:2:1;11364:74:0;;;9626:21:1;9683:1;9663:18;;;9656:29;-1:-1:-1;;;9701:18:1;;;9694:38;9749:18;;11364:74:0;9442:331:1;11364:74:0;11470:12;10793:11;11470:7;:12;:::i;:::-;11457:9;:25;;11449:42;;;;-1:-1:-1;;;11449:42:0;;;;;;10153:2:1;10135:21;;;10192:1;10172:18;;;10165:29;-1:-1:-1;;;10225:2:1;10210:18;;10203:34;10269:2;10254:18;;9951:327;22689:308:0;32913:10;-1:-1:-1;;;;;22788:31:0;;;22784:61;;22828:17;;-1:-1:-1;;;22828:17:0;;;;;;;;;;;22784:61;32913:10;22858:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;22858:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;22858:60:0;;;;;;;;;;22934:55;;445:41:1;;;22858:49:0;;32913:10;22934:55;;418:18:1;22934:55:0;;;;;;;22689:308;;:::o;23836:227::-;24027:28;24037:4;24043:2;24047:7;24027:9;:28::i;:::-;23836:227;;;;:::o;20915:339::-;20988:13;21019:16;21027:7;24465:13;;-1:-1:-1;24455:23:0;24318:168;21019:16;21014:59;;21044:29;;-1:-1:-1;;;21044:29:0;;;;;;;;;;;21014:59;21084:21;21108:8;21084:32;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21140:7;21134:21;21159:1;21134:26;:112;;;;;;;;;;;;;;;;;21198:7;21212:18;21222:7;21212:9;:18::i;:::-;21170:70;;;;;;;;;:::i;:::-;;;;;;;;;;;;;21134:112;21127:119;20915:339;-1:-1:-1;;;20915:339:0:o;21262:134::-;21306:13;21374:12;21346:41;;;;;;;;:::i;:::-;;;;;;;;;;;;;21332:56;;21262:134;:::o;17938:1129::-;18005:7;18040;18142:13;;18135:4;:20;18131:869;;;18180:14;18197:23;;;:17;:23;;;;;;;-1:-1:-1;;;18286:23:0;;:28;;18282:699;;18805:113;18812:6;18822:1;18812:11;18805:113;;-1:-1:-1;;;18883:6:0;18865:25;;;;:17;:25;;;;;;18805:113;;18282:699;18157:843;18131:869;19028:31;;-1:-1:-1;;;19028:31:0;;;;;;;;;;;29152:2636;29289:27;29319;29338:7;29319:18;:27::i;:::-;29289:57;;29404:4;-1:-1:-1;;;;;29363:45:0;29379:19;-1:-1:-1;;;;;29363:45:0;;29359:86;;29417:28;;-1:-1:-1;;;29417:28:0;;;;;;;;;;;29359:86;29458:23;29484:24;;;:15;:24;;;;;;-1:-1:-1;;;;;29484:24:0;;;;29458:23;29547:27;;32913:10;29547:27;;:91;;-1:-1:-1;29595:43:0;29612:4;32913:10;23068:164;:::i;29595:43::-;29547:150;;;-1:-1:-1;;;;;;29659:38:0;;32913:10;29659:38;29547:150;29521:177;;29716:17;29711:66;;29742:35;;-1:-1:-1;;;29742:35:0;;;;;;;;;;;29711:66;29946:15;29928:39;29924:103;;29991:24;;;;:15;:24;;;;;29984:31;;-1:-1:-1;;;;;;29984:31:0;;;29924:103;-1:-1:-1;;;;;30394:24:0;;;;;;;:18;:24;;;;;;;;30392:26;;-1:-1:-1;;30392:26:0;;;30463:22;;;;;;;;30461:24;;-1:-1:-1;30461:24:0;;;30756:26;;;:17;:26;;;;;-1:-1:-1;;;30844:15:0;12700:3;30844:41;30802:84;;:128;;30756:174;;;31050:46;;:51;;31046:626;;31154:1;31144:11;;31122:19;31277:30;;;:17;:30;;;;;;:35;;31273:384;;31415:13;;31400:11;:28;31396:242;;31562:30;;;;:17;:30;;;;;:52;;;31396:242;31103:569;31046:626;31719:7;31715:2;-1:-1:-1;;;;;31700:27:0;31709:4;-1:-1:-1;;;;;31700:27:0;;;;;;;;;;;31738:42;29276:2512;;;29152:2636;;;:::o;24570:104::-;24639:27;24649:2;24653:8;24639:27;;;;;;;;;;;;:9;:27::i;33037:1870::-;33496:4;33490:11;;33503:3;33486:21;;33577:17;;;;34249:11;;;34126:5;34383:2;34397;34387:13;;34379:22;34249:11;34366:36;34439:2;34429:13;;34023:661;34455:4;34023:661;;;34623:1;34618:3;34614:11;34607:18;;34667:2;34661:4;34657:13;34653:2;34649:22;34644:3;34636:36;34540:2;34530:13;;34023:661;;;-1:-1:-1;34707:13:0;;;-1:-1:-1;;34816:12:0;;;34870:19;;;34816:12;33037:1870;-1:-1:-1;33037:1870:0:o;25045:2000::-;25211:13;;25188:20;25310:13;;;25306:44;;25332:18;;-1:-1:-1;;;25332:18:0;;;;;;;;;;;25306:44;-1:-1:-1;;;;;25827:22:0;;;;;;:18;:22;;;;12183:2;25827:22;;;:70;;25865:31;25853:44;;25827:70;;;26140:31;;;:17;:31;;;;;26233:15;12700:3;26233:41;26191:84;;-1:-1:-1;26311:13:0;;12959:3;26296:56;26191:162;26140:213;;:31;;26434:23;;;;26478:14;:19;26474:439;;26518:117;26549:38;;26574:12;;-1:-1:-1;;;;;26549:38:0;;;26566:1;;26549:38;;26566:1;;26549:38;26630:3;26615:12;:18;26518:117;;26716:12;26699:13;;:29;26695:43;;26730:8;;;26695:43;26474:439;;;26779:119;26810:40;;26835:14;;;;;-1:-1:-1;;;;;26810:40:0;;;26827:1;;26810:40;;26827:1;;26810:40;26893:3;26878:12;:18;26779:119;;26474:439;-1:-1:-1;26927:13:0;:28;26977:60;27006:1;27010:2;27014:12;27028:8;26977:60;:::i;14:286:1:-;72:6;125:2;113:9;104:7;100:23;96:32;93:52;;;141:1;138;131:12;93:52;167:23;;-1:-1:-1;;;;;;219:32:1;;209:43;;199:71;;266:1;263;256:12;497:258;569:1;579:113;593:6;590:1;587:13;579:113;;;669:11;;;663:18;650:11;;;643:39;615:2;608:10;579:113;;;710:6;707:1;704:13;701:48;;;-1:-1:-1;;745:1:1;727:16;;720:27;497:258::o;760:383::-;909:2;898:9;891:21;872:4;941:6;935:13;984:6;979:2;968:9;964:18;957:34;1000:66;1059:6;1054:2;1043:9;1039:18;1034:2;1026:6;1022:15;1000:66;:::i;:::-;1127:2;1106:15;-1:-1:-1;;1102:29:1;1087:45;;;;1134:2;1083:54;;760:383;-1:-1:-1;;760:383:1:o;1148:180::-;1207:6;1260:2;1248:9;1239:7;1235:23;1231:32;1228:52;;;1276:1;1273;1266:12;1228:52;-1:-1:-1;1299:23:1;;1148:180;-1:-1:-1;1148:180:1:o;1541:173::-;1609:20;;-1:-1:-1;;;;;1658:31:1;;1648:42;;1638:70;;1704:1;1701;1694:12;1638:70;1541:173;;;:::o;1719:254::-;1787:6;1795;1848:2;1836:9;1827:7;1823:23;1819:32;1816:52;;;1864:1;1861;1854:12;1816:52;1887:29;1906:9;1887:29;:::i;:::-;1877:39;1963:2;1948:18;;;;1935:32;;-1:-1:-1;;;1719:254:1:o;2160:160::-;2225:20;;2281:13;;2274:21;2264:32;;2254:60;;2310:1;2307;2300:12;2325:180;2381:6;2434:2;2422:9;2413:7;2409:23;2405:32;2402:52;;;2450:1;2447;2440:12;2402:52;2473:26;2489:9;2473:26;:::i;2510:328::-;2587:6;2595;2603;2656:2;2644:9;2635:7;2631:23;2627:32;2624:52;;;2672:1;2669;2662:12;2624:52;2695:29;2714:9;2695:29;:::i;:::-;2685:39;;2743:38;2777:2;2766:9;2762:18;2743:38;:::i;:::-;2733:48;;2828:2;2817:9;2813:18;2800:32;2790:42;;2510:328;;;;;:::o;2843:127::-;2904:10;2899:3;2895:20;2892:1;2885:31;2935:4;2932:1;2925:15;2959:4;2956:1;2949:15;2975:632;3040:5;3070:18;3111:2;3103:6;3100:14;3097:40;;;3117:18;;:::i;:::-;3192:2;3186:9;3160:2;3246:15;;-1:-1:-1;;3242:24:1;;;3268:2;3238:33;3234:42;3222:55;;;3292:18;;;3312:22;;;3289:46;3286:72;;;3338:18;;:::i;:::-;3378:10;3374:2;3367:22;3407:6;3398:15;;3437:6;3429;3422:22;3477:3;3468:6;3463:3;3459:16;3456:25;3453:45;;;3494:1;3491;3484:12;3453:45;3544:6;3539:3;3532:4;3524:6;3520:17;3507:44;3599:1;3592:4;3583:6;3575;3571:19;3567:30;3560:41;;;;2975:632;;;;;:::o;3612:451::-;3681:6;3734:2;3722:9;3713:7;3709:23;3705:32;3702:52;;;3750:1;3747;3740:12;3702:52;3790:9;3777:23;3823:18;3815:6;3812:30;3809:50;;;3855:1;3852;3845:12;3809:50;3878:22;;3931:4;3923:13;;3919:27;-1:-1:-1;3909:55:1;;3960:1;3957;3950:12;3909:55;3983:74;4049:7;4044:2;4031:16;4026:2;4022;4018:11;3983:74;:::i;:::-;3973:84;3612:451;-1:-1:-1;;;;3612:451:1:o;4068:186::-;4127:6;4180:2;4168:9;4159:7;4155:23;4151:32;4148:52;;;4196:1;4193;4186:12;4148:52;4219:29;4238:9;4219:29;:::i;4259:254::-;4324:6;4332;4385:2;4373:9;4364:7;4360:23;4356:32;4353:52;;;4401:1;4398;4391:12;4353:52;4424:29;4443:9;4424:29;:::i;:::-;4414:39;;4472:35;4503:2;4492:9;4488:18;4472:35;:::i;:::-;4462:45;;4259:254;;;;;:::o;4518:667::-;4613:6;4621;4629;4637;4690:3;4678:9;4669:7;4665:23;4661:33;4658:53;;;4707:1;4704;4697:12;4658:53;4730:29;4749:9;4730:29;:::i;:::-;4720:39;;4778:38;4812:2;4801:9;4797:18;4778:38;:::i;:::-;4768:48;;4863:2;4852:9;4848:18;4835:32;4825:42;;4918:2;4907:9;4903:18;4890:32;4945:18;4937:6;4934:30;4931:50;;;4977:1;4974;4967:12;4931:50;5000:22;;5053:4;5045:13;;5041:27;-1:-1:-1;5031:55:1;;5082:1;5079;5072:12;5031:55;5105:74;5171:7;5166:2;5153:16;5148:2;5144;5140:11;5105:74;:::i;:::-;5095:84;;;4518:667;;;;;;;:::o;5190:260::-;5258:6;5266;5319:2;5307:9;5298:7;5294:23;5290:32;5287:52;;;5335:1;5332;5325:12;5287:52;5358:29;5377:9;5358:29;:::i;:::-;5348:39;;5406:38;5440:2;5429:9;5425:18;5406:38;:::i;5455:326::-;5657:2;5639:21;;;5696:1;5676:18;;;5669:29;-1:-1:-1;;;5729:2:1;5714:18;;5707:33;5772:2;5757:18;;5455:326::o;5786:380::-;5865:1;5861:12;;;;5908;;;5929:61;;5983:4;5975:6;5971:17;5961:27;;5929:61;6036:2;6028:6;6025:14;6005:18;6002:38;5999:161;;6082:10;6077:3;6073:20;6070:1;6063:31;6117:4;6114:1;6107:15;6145:4;6142:1;6135:15;5999:161;;5786:380;;;:::o;6297:545::-;6399:2;6394:3;6391:11;6388:448;;;6435:1;6460:5;6456:2;6449:17;6505:4;6501:2;6491:19;6575:2;6563:10;6559:19;6556:1;6552:27;6546:4;6542:38;6611:4;6599:10;6596:20;6593:47;;;-1:-1:-1;6634:4:1;6593:47;6689:2;6684:3;6680:12;6677:1;6673:20;6667:4;6663:31;6653:41;;6744:82;6762:2;6755:5;6752:13;6744:82;;;6807:17;;;6788:1;6777:13;6744:82;;7018:1352;7144:3;7138:10;7171:18;7163:6;7160:30;7157:56;;;7193:18;;:::i;:::-;7222:97;7312:6;7272:38;7304:4;7298:11;7272:38;:::i;:::-;7266:4;7222:97;:::i;:::-;7374:4;;7438:2;7427:14;;7455:1;7450:663;;;;8157:1;8174:6;8171:89;;;-1:-1:-1;8226:19:1;;;8220:26;8171:89;-1:-1:-1;;6975:1:1;6971:11;;;6967:24;6963:29;6953:40;6999:1;6995:11;;;6950:57;8273:81;;7420:944;;7450:663;6244:1;6237:14;;;6281:4;6268:18;;-1:-1:-1;;7486:20:1;;;7604:236;7618:7;7615:1;7612:14;7604:236;;;7707:19;;;7701:26;7686:42;;7799:27;;;;7767:1;7755:14;;;;7634:19;;7604:236;;;7608:3;7868:6;7859:7;7856:19;7853:201;;;7929:19;;;7923:26;-1:-1:-1;;8012:1:1;8008:14;;;8024:3;8004:24;8000:37;7996:42;7981:58;7966:74;;7853:201;-1:-1:-1;;;;;8100:1:1;8084:14;;;8080:22;8067:36;;-1:-1:-1;7018:1352:1:o;8712:127::-;8773:10;8768:3;8764:20;8761:1;8754:31;8804:4;8801:1;8794:15;8828:4;8825:1;8818:15;8844:125;8884:4;8912:1;8909;8906:8;8903:34;;;8917:18;;:::i;:::-;-1:-1:-1;8954:9:1;;8844:125::o;8974:128::-;9014:3;9045:1;9041:6;9038:1;9035:13;9032:39;;;9051:18;;:::i;:::-;-1:-1:-1;9087:9:1;;8974:128::o;9778:168::-;9818:7;9884:1;9880;9876:6;9872:14;9869:1;9866:21;9861:1;9854:9;9847:17;9843:45;9840:71;;;9891:18;;:::i;:::-;-1:-1:-1;9931:9:1;;9778:168::o;10283:909::-;-1:-1:-1;;;10790:3:1;10783:22;10765:3;10834:6;10828:13;10850:61;10904:6;10900:1;10895:3;10891:11;10884:4;10876:6;10872:17;10850:61;:::i;:::-;-1:-1:-1;;;10970:1:1;10930:16;;;10962:10;;;10955:23;11003:13;;11025:62;11003:13;11074:1;11066:10;;11059:4;11047:17;;11025:62;:::i;:::-;-1:-1:-1;;;11147:1:1;11106:17;;;;11139:10;;;11132:27;11183:2;11175:11;;10283:909;-1:-1:-1;;;;10283:909:1:o;11197:1030::-;-1:-1:-1;;;11451:3:1;11444:22;11426:3;11485:1;11506;11539:6;11533:13;11569:36;11595:9;11569:36;:::i;:::-;11624:1;11641:18;;;11668:151;;;;11833:1;11828:374;;;;11634:568;;11668:151;-1:-1:-1;;11710:24:1;;11696:12;;;11689:46;11787:14;;11780:22;11768:35;;11759:45;;11755:54;;;-1:-1:-1;11668:151:1;;11828:374;11859:6;11856:1;11849:17;11889:4;11934:2;11931:1;11921:16;11959:1;11973:174;11987:6;11984:1;11981:13;11973:174;;;12074:14;;12056:11;;;12052:20;;12045:44;12117:16;;;;12002:10;;11973:174;;;11977:3;;;12189:2;12180:6;12175:3;12171:16;12167:25;12160:32;;11634:568;-1:-1:-1;12218:3:1;;11197:1030;-1:-1:-1;;;;;;;11197:1030:1:o

Swarm Source

ipfs://33a8d6dd8bb053f1fe61c7c67730ce7efe8da3532c6e8ec0e1659190beabc8a8
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.