ETH Price: $3,284.20 (-3.70%)
Gas: 16 Gwei

Token

Chibi Head NFT (CH)
 

Overview

Max Total Supply

1 CH

Holders

1

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
openheadnft.eth
Balance
1 CH
0xdb6c92a9ccaa27b394f4f496557c319dc22ebc67
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:
ChibiHeadToken

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

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

// File: IERC721A.sol


// ERC721A Contracts v4.2.3
// Creator: Chiru Labs

pragma solidity ^0.8.4;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev Returns the token collection name.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the token collection symbol.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    function tokenURI(uint256 tokenId) external view returns (string memory);

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

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


// ERC721A Contracts v4.2.3
// Creator: Chiru Labs

pragma solidity ^0.8.4;


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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to ownership details
    // An empty struct value does not necessarily mean the token is unowned.
    // See {_packedOwnershipOf} implementation for details.
    //
    // Bits Layout:
    // - [0..159]   `addr`
    // - [160..223] `startTimestamp`
    // - [224]      `burned`
    // - [225]      `nextInitialized`
    // - [232..255] `extraData`
    mapping(uint256 => uint256) private _packedOwnerships;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * Sets the auxiliary data for `owner`. (e.g. number of whitelist mint slots used).
     * If there are multiple variables, please pack them into a uint64.
     */
    function _setAux(address owner, uint64 aux) internal virtual {
        uint256 packed = _packedAddressData[owner];
        uint256 auxCasted;
        // Cast `aux` with assembly to avoid redundant masking.
        assembly {
            auxCasted := aux
        }
        packed = (packed & _BITMASK_AUX_COMPLEMENT) | (auxCasted << _BITPOS_AUX);
        _packedAddressData[owner] = packed;
    }

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

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

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

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

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

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        if (!_exists(tokenId)) revert URIQueryForNonexistentToken();

        string memory baseURI = _baseURI();
        return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : '';
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        return _tokenApprovals[tokenId].value;
    }

    /**
     * @dev Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom}
     * for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        _operatorApprovals[_msgSenderERC721A()][operator] = approved;
        emit ApprovalForAll(_msgSenderERC721A(), operator, approved);
    }

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

    /**
     * @dev Returns whether `tokenId` exists.
     *
     * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
     *
     * Tokens start existing when they are minted. See {_mint}.
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return
            _startTokenId() <= tokenId &&
            tokenId < _currentIndex && // If within bounds,
            _packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not burned.
    }

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

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

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

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token
     * by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public payable virtual override {
        uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId);

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

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

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

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

        _beforeTokenTransfers(from, to, tokenId, 1);

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

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

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

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

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

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

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token
     * by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement
     * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public payable virtual override {
        transferFrom(from, to, tokenId);
        if (to.code.length != 0)
            if (!_checkContractOnERC721Received(from, to, tokenId, _data)) {
                revert TransferToNonERC721ReceiverImplementer();
            }
    }

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

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

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

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

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

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

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

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

            uint256 toMasked;
            uint256 end = startTokenId + quantity;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        address from = address(uint160(prevOwnershipPacked));

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

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

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

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

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256.
        unchecked {
            // Updates:
            // - `balance -= 1`.
            // - `numberBurned += 1`.
            //
            // We can directly decrement the balance, and increment the number burned.
            // This is equivalent to `packed -= 1; packed += 1 << _BITPOS_NUMBER_BURNED;`.
            _packedAddressData[from] += (1 << _BITPOS_NUMBER_BURNED) - 1;

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

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

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

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

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

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

    /**
     * @dev Called during each token transfer to set the 24bit `extraData` field.
     * Intended to be overridden by the cosumer contract.
     *
     * `previousExtraData` - the value of `extraData` before transfer.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, `tokenId` will be burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _extraData(
        address from,
        address to,
        uint24 previousExtraData
    ) internal view virtual returns (uint24) {}

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

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

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

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

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

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

            let length := sub(end, str)
            // Move the pointer 32 bytes leftwards to make room for the length.
            str := sub(str, 0x20)
            // Store the length.
            mstore(str, length)
        }
    }
}
// File: @openzeppelin/contracts/utils/Context.sol


// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

// File: @openzeppelin/contracts/access/Ownable.sol


// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;


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

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

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

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

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

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

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _transferOwnership(newOwner);
    }

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

// File: ChibiHeadToken.sol


pragma solidity ^0.8.0;



contract ChibiHeadToken is ERC721A, Ownable {

  uint256 public constant MAX_TOKENS = 3333;
  uint256 public constant MAX_PER_MINT = 50;

  address payable public immutable teamAddr;
  address payable public immutable initialRaffle;
  string public tokenBaseURI;

  uint256 public price = 0.05 ether;
  uint256 public toRaffle = 0.015 ether;

  bool public saleLive;

  constructor(address _teamAddr, address _initialRaffle, string memory _tokenBaseURI) ERC721A("Chibi Head NFT", "CH") {
    teamAddr = payable(_teamAddr);
    initialRaffle = payable(_initialRaffle);
    tokenBaseURI = _tokenBaseURI;
  }

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

  function setToRaffle(uint256 _toRaffle) external onlyOwner {
    toRaffle = _toRaffle;
  }

  function toggleSaleStatus() external onlyOwner {
    saleLive = !saleLive;
  }

  function setTokenBaseURI(string calldata URI) external onlyOwner {
    tokenBaseURI = URI;
  }

  function tokenURI(uint256 tokenId) public view override(ERC721A) returns (string memory) {
    require(_exists(tokenId), "Unexistent token");
    return string(abi.encodePacked(tokenBaseURI, _toString(tokenId)));
  }

  function mintHeads(uint amount) external payable {
    require(saleLive, "Sale is not active");
    require(totalSupply() < MAX_TOKENS, "Sold out");
    require(amount > 0 && amount <= MAX_PER_MINT, "Invalid amount");
    require(price * amount <= msg.value, "Insufficient ETH");

    uint toTransfer = toRaffle * amount;
    initialRaffle.transfer(toTransfer);
    teamAddr.transfer(msg.value - toTransfer);
    _safeMint(msg.sender, amount);
  }

  function giftBatch(address[] calldata receivers, uint[] calldata amounts) external onlyOwner {
    require(receivers.length == amounts.length, "Lengths dont match");
    for (uint256 i = 0; i < receivers.length; i++) {
      _safeMint(receivers[i], amounts[i]);
    }
  }

  function gift(address receiver, uint amount) external onlyOwner {
      _safeMint(receiver, amount);
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_teamAddr","type":"address"},{"internalType":"address","name":"_initialRaffle","type":"address"},{"internalType":"string","name":"_tokenBaseURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_PER_MINT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_TOKENS","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":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"gift","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"receivers","type":"address[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"name":"giftBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"initialRaffle","outputs":[{"internalType":"address payable","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":"mintHeads","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"saleLive","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":"uint256","name":"_price","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_toRaffle","type":"uint256"}],"name":"setToRaffle","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"URI","type":"string"}],"name":"setTokenBaseURI","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":[],"name":"teamAddr","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"toRaffle","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"toggleSaleStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"tokenBaseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60c060405266b1a2bc2ec50000600a5566354a6ba7a18000600b553480156200002757600080fd5b50604051620037b5380380620037b583398181016040528101906200004d919062000463565b6040518060400160405280600e81526020017f43686962692048656164204e46540000000000000000000000000000000000008152506040518060400160405280600281526020017f43480000000000000000000000000000000000000000000000000000000000008152508160029081620000ca919062000729565b508060039081620000dc919062000729565b50620000ed6200019860201b60201c565b600081905550505062000115620001096200019d60201b60201c565b620001a560201b60201c565b8273ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff16815250508173ffffffffffffffffffffffffffffffffffffffff1660a08173ffffffffffffffffffffffffffffffffffffffff168152505080600990816200018e919062000729565b5050505062000810565b600090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620002ac826200027f565b9050919050565b620002be816200029f565b8114620002ca57600080fd5b50565b600081519050620002de81620002b3565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6200033982620002ee565b810181811067ffffffffffffffff821117156200035b576200035a620002ff565b5b80604052505050565b6000620003706200026b565b90506200037e82826200032e565b919050565b600067ffffffffffffffff821115620003a157620003a0620002ff565b5b620003ac82620002ee565b9050602081019050919050565b60005b83811015620003d9578082015181840152602081019050620003bc565b60008484015250505050565b6000620003fc620003f68462000383565b62000364565b9050828152602081018484840111156200041b576200041a620002e9565b5b62000428848285620003b9565b509392505050565b600082601f830112620004485762000447620002e4565b5b81516200045a848260208601620003e5565b91505092915050565b6000806000606084860312156200047f576200047e62000275565b5b60006200048f86828701620002cd565b9350506020620004a286828701620002cd565b925050604084015167ffffffffffffffff811115620004c657620004c56200027a565b5b620004d48682870162000430565b9150509250925092565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200053157607f821691505b602082108103620005475762000546620004e9565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620005b17fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8262000572565b620005bd868362000572565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b60006200060a62000604620005fe84620005d5565b620005df565b620005d5565b9050919050565b6000819050919050565b6200062683620005e9565b6200063e620006358262000611565b8484546200057f565b825550505050565b600090565b6200065562000646565b620006628184846200061b565b505050565b5b818110156200068a576200067e6000826200064b565b60018101905062000668565b5050565b601f821115620006d957620006a3816200054d565b620006ae8462000562565b81016020851015620006be578190505b620006d6620006cd8562000562565b83018262000667565b50505b505050565b600082821c905092915050565b6000620006fe60001984600802620006de565b1980831691505092915050565b6000620007198383620006eb565b9150826002028217905092915050565b6200073482620004de565b67ffffffffffffffff81111562000750576200074f620002ff565b5b6200075c825462000518565b620007698282856200068e565b600060209050601f831160018114620007a157600084156200078c578287015190505b6200079885826200070b565b86555062000808565b601f198416620007b1866200054d565b60005b82811015620007db57848901518255600182019150602085019450602081019050620007b4565b86831015620007fb5784890151620007f7601f891682620006eb565b8355505b6001600288020188555050505b505050505050565b60805160a051612f71620008446000396000818161088101526110170152600081816108e80152610ff30152612f716000f3fe6080604052600436106101e35760003560e01c8063715018a611610102578063c87b56dd11610095578063e7588b0e11610064578063e7588b0e14610677578063e985e9c5146106a2578063f2fde38b146106df578063f47c84c514610708576101e3565b8063c87b56dd146105bd578063cbce4c97146105fa578063da1461bc14610623578063e081b7811461064c576101e3565b806395d89b41116100d157806395d89b4114610522578063a035b1fe1461054d578063a22cb46514610578578063b88d4fde146105a1576101e3565b8063715018a61461048e5780638da5cb5b146104a55780638ef79e91146104d057806391b7f5ed146104f9576101e3565b806323b872dd1161017a5780634ce6a054116101495780634ce6a054146103be5780634e99b800146103e95780636352211e1461041457806370a0823114610451576101e3565b806323b872dd14610332578063261a7ca21461034e57806342842e0e146103775780634a5ff74914610393576101e3565b8063081812fc116101b6578063081812fc14610283578063095ea7b3146102c057806309d42b30146102dc57806318160ddd14610307576101e3565b80630152f3f7146101e857806301ffc9a714610204578063049c5c491461024157806306fdde0314610258575b600080fd5b61020260048036038101906101fd9190611e66565b610733565b005b34801561021057600080fd5b5061022b60048036038101906102269190611eeb565b610966565b6040516102389190611f33565b60405180910390f35b34801561024d57600080fd5b506102566109f8565b005b34801561026457600080fd5b5061026d610a2c565b60405161027a9190611fde565b60405180910390f35b34801561028f57600080fd5b506102aa60048036038101906102a59190611e66565b610abe565b6040516102b79190612041565b60405180910390f35b6102da60048036038101906102d59190612088565b610b3d565b005b3480156102e857600080fd5b506102f1610c81565b6040516102fe91906120d7565b60405180910390f35b34801561031357600080fd5b5061031c610c86565b60405161032991906120d7565b60405180910390f35b61034c600480360381019061034791906120f2565b610c9d565b005b34801561035a57600080fd5b5061037560048036038101906103709190611e66565b610fbf565b005b610391600480360381019061038c91906120f2565b610fd1565b005b34801561039f57600080fd5b506103a8610ff1565b6040516103b59190612166565b60405180910390f35b3480156103ca57600080fd5b506103d3611015565b6040516103e09190612166565b60405180910390f35b3480156103f557600080fd5b506103fe611039565b60405161040b9190611fde565b60405180910390f35b34801561042057600080fd5b5061043b60048036038101906104369190611e66565b6110c7565b6040516104489190612041565b60405180910390f35b34801561045d57600080fd5b5061047860048036038101906104739190612181565b6110d9565b60405161048591906120d7565b60405180910390f35b34801561049a57600080fd5b506104a3611191565b005b3480156104b157600080fd5b506104ba6111a5565b6040516104c79190612041565b60405180910390f35b3480156104dc57600080fd5b506104f760048036038101906104f29190612213565b6111cf565b005b34801561050557600080fd5b50610520600480360381019061051b9190611e66565b6111ed565b005b34801561052e57600080fd5b506105376111ff565b6040516105449190611fde565b60405180910390f35b34801561055957600080fd5b50610562611291565b60405161056f91906120d7565b60405180910390f35b34801561058457600080fd5b5061059f600480360381019061059a919061228c565b611297565b005b6105bb60048036038101906105b691906123fc565b6113a2565b005b3480156105c957600080fd5b506105e460048036038101906105df9190611e66565b611415565b6040516105f19190611fde565b60405180910390f35b34801561060657600080fd5b50610621600480360381019061061c9190612088565b611491565b005b34801561062f57600080fd5b5061064a6004803603810190610645919061252b565b6114a7565b005b34801561065857600080fd5b50610661611569565b60405161066e9190611f33565b60405180910390f35b34801561068357600080fd5b5061068c61157c565b60405161069991906120d7565b60405180910390f35b3480156106ae57600080fd5b506106c960048036038101906106c491906125ac565b611582565b6040516106d69190611f33565b60405180910390f35b3480156106eb57600080fd5b5061070660048036038101906107019190612181565b611616565b005b34801561071457600080fd5b5061071d611699565b60405161072a91906120d7565b60405180910390f35b600c60009054906101000a900460ff16610782576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161077990612638565b60405180910390fd5b610d0561078d610c86565b106107cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107c4906126a4565b60405180910390fd5b6000811180156107de575060328111155b61081d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161081490612710565b60405180910390fd5b3481600a5461082c919061275f565b111561086d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610864906127ed565b60405180910390fd5b600081600b5461087d919061275f565b90507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050501580156108e5573d6000803e3d6000fd5b507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166108fc823461092c919061280d565b9081150290604051600060405180830381858888f19350505050158015610957573d6000803e3d6000fd5b50610962338361169f565b5050565b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806109c157506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806109f15750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b610a006116bd565b600c60009054906101000a900460ff1615600c60006101000a81548160ff021916908315150217905550565b606060028054610a3b90612870565b80601f0160208091040260200160405190810160405280929190818152602001828054610a6790612870565b8015610ab45780601f10610a8957610100808354040283529160200191610ab4565b820191906000526020600020905b815481529060010190602001808311610a9757829003601f168201915b5050505050905090565b6000610ac98261173b565b610aff576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b48826110c7565b90508073ffffffffffffffffffffffffffffffffffffffff16610b6961179a565b73ffffffffffffffffffffffffffffffffffffffff1614610bcc57610b9581610b9061179a565b611582565b610bcb576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b603281565b6000610c906117a2565b6001546000540303905090565b6000610ca8826117a7565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610d0f576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080610d1b84611873565b91509150610d318187610d2c61179a565b61189a565b610d7d57610d4686610d4161179a565b611582565b610d7c576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603610de3576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610df086868660016118de565b8015610dfb57600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815460010191905081905550610ec985610ea58888876118e4565b7c02000000000000000000000000000000000000000000000000000000001761190c565b600460008681526020019081526020016000208190555060007c0200000000000000000000000000000000000000000000000000000000841603610f4f5760006001850190506000600460008381526020019081526020016000205403610f4d576000548114610f4c578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610fb78686866001611937565b505050505050565b610fc76116bd565b80600b8190555050565b610fec838383604051806020016040528060008152506113a2565b505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b7f000000000000000000000000000000000000000000000000000000000000000081565b6009805461104690612870565b80601f016020809104026020016040519081016040528092919081815260200182805461107290612870565b80156110bf5780601f10611094576101008083540402835291602001916110bf565b820191906000526020600020905b8154815290600101906020018083116110a257829003601f168201915b505050505081565b60006110d2826117a7565b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611140576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b6111996116bd565b6111a3600061193d565b565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6111d76116bd565b8181600991826111e8929190612a58565b505050565b6111f56116bd565b80600a8190555050565b60606003805461120e90612870565b80601f016020809104026020016040519081016040528092919081815260200182805461123a90612870565b80156112875780601f1061125c57610100808354040283529160200191611287565b820191906000526020600020905b81548152906001019060200180831161126a57829003601f168201915b5050505050905090565b600a5481565b80600760006112a461179a565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661135161179a565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516113969190611f33565b60405180910390a35050565b6113ad848484610c9d565b60008373ffffffffffffffffffffffffffffffffffffffff163b1461140f576113d884848484611a03565b61140e576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b60606114208261173b565b61145f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161145690612b74565b60405180910390fd5b600961146a83611b53565b60405160200161147b929190612c53565b6040516020818303038152906040529050919050565b6114996116bd565b6114a3828261169f565b5050565b6114af6116bd565b8181905084849050146114f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114ee90612cc3565b60405180910390fd5b60005b848490508110156115625761154f85858381811061151b5761151a612ce3565b5b90506020020160208101906115309190612181565b84848481811061154357611542612ce3565b5b9050602002013561169f565b808061155a90612d12565b9150506114fa565b5050505050565b600c60009054906101000a900460ff1681565b600b5481565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61161e6116bd565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361168d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168490612dcc565b60405180910390fd5b6116968161193d565b50565b610d0581565b6116b9828260405180602001604052806000815250611ba3565b5050565b6116c5611c40565b73ffffffffffffffffffffffffffffffffffffffff166116e36111a5565b73ffffffffffffffffffffffffffffffffffffffff1614611739576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161173090612e38565b60405180910390fd5b565b6000816117466117a2565b11158015611755575060005482105b8015611793575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b600090565b600080829050806117b66117a2565b1161183c5760005481101561183b5760006004600083815260200190815260200160002054905060007c0100000000000000000000000000000000000000000000000000000000821603611839575b6000810361182f576004600083600190039350838152602001908152602001600020549050611805565b809250505061186e565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e86118fb868684611c48565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02611a2961179a565b8786866040518563ffffffff1660e01b8152600401611a4b9493929190612ead565b6020604051808303816000875af1925050508015611a8757506040513d601f19601f82011682018060405250810190611a849190612f0e565b60015b611b00573d8060008114611ab7576040519150601f19603f3d011682016040523d82523d6000602084013e611abc565b606091505b506000815103611af8576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b606060a060405101806040526020810391506000825281835b600115611b8e57600184039350600a81066030018453600a8104905080611b6c575b50828103602084039350808452505050919050565b611bad8383611c51565b60008373ffffffffffffffffffffffffffffffffffffffff163b14611c3b57600080549050600083820390505b611bed6000868380600101945086611a03565b611c23576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b818110611bda578160005414611c3857600080fd5b50505b505050565b600033905090565b60009392505050565b60008054905060008203611c91576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611c9e60008483856118de565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550611d1583611d0660008660006118e4565b611d0f85611e0c565b1761190c565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b818114611db657808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600181019050611d7b565b5060008203611df1576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806000819055505050611e076000848385611937565b505050565b60006001821460e11b9050919050565b6000604051905090565b600080fd5b600080fd5b6000819050919050565b611e4381611e30565b8114611e4e57600080fd5b50565b600081359050611e6081611e3a565b92915050565b600060208284031215611e7c57611e7b611e26565b5b6000611e8a84828501611e51565b91505092915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b611ec881611e93565b8114611ed357600080fd5b50565b600081359050611ee581611ebf565b92915050565b600060208284031215611f0157611f00611e26565b5b6000611f0f84828501611ed6565b91505092915050565b60008115159050919050565b611f2d81611f18565b82525050565b6000602082019050611f486000830184611f24565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015611f88578082015181840152602081019050611f6d565b60008484015250505050565b6000601f19601f8301169050919050565b6000611fb082611f4e565b611fba8185611f59565b9350611fca818560208601611f6a565b611fd381611f94565b840191505092915050565b60006020820190508181036000830152611ff88184611fa5565b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061202b82612000565b9050919050565b61203b81612020565b82525050565b60006020820190506120566000830184612032565b92915050565b61206581612020565b811461207057600080fd5b50565b6000813590506120828161205c565b92915050565b6000806040838503121561209f5761209e611e26565b5b60006120ad85828601612073565b92505060206120be85828601611e51565b9150509250929050565b6120d181611e30565b82525050565b60006020820190506120ec60008301846120c8565b92915050565b60008060006060848603121561210b5761210a611e26565b5b600061211986828701612073565b935050602061212a86828701612073565b925050604061213b86828701611e51565b9150509250925092565b600061215082612000565b9050919050565b61216081612145565b82525050565b600060208201905061217b6000830184612157565b92915050565b60006020828403121561219757612196611e26565b5b60006121a584828501612073565b91505092915050565b600080fd5b600080fd5b600080fd5b60008083601f8401126121d3576121d26121ae565b5b8235905067ffffffffffffffff8111156121f0576121ef6121b3565b5b60208301915083600182028301111561220c5761220b6121b8565b5b9250929050565b6000806020838503121561222a57612229611e26565b5b600083013567ffffffffffffffff81111561224857612247611e2b565b5b612254858286016121bd565b92509250509250929050565b61226981611f18565b811461227457600080fd5b50565b60008135905061228681612260565b92915050565b600080604083850312156122a3576122a2611e26565b5b60006122b185828601612073565b92505060206122c285828601612277565b9150509250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61230982611f94565b810181811067ffffffffffffffff82111715612328576123276122d1565b5b80604052505050565b600061233b611e1c565b90506123478282612300565b919050565b600067ffffffffffffffff821115612367576123666122d1565b5b61237082611f94565b9050602081019050919050565b82818337600083830152505050565b600061239f61239a8461234c565b612331565b9050828152602081018484840111156123bb576123ba6122cc565b5b6123c684828561237d565b509392505050565b600082601f8301126123e3576123e26121ae565b5b81356123f384826020860161238c565b91505092915050565b6000806000806080858703121561241657612415611e26565b5b600061242487828801612073565b945050602061243587828801612073565b935050604061244687828801611e51565b925050606085013567ffffffffffffffff81111561246757612466611e2b565b5b612473878288016123ce565b91505092959194509250565b60008083601f840112612495576124946121ae565b5b8235905067ffffffffffffffff8111156124b2576124b16121b3565b5b6020830191508360208202830111156124ce576124cd6121b8565b5b9250929050565b60008083601f8401126124eb576124ea6121ae565b5b8235905067ffffffffffffffff811115612508576125076121b3565b5b602083019150836020820283011115612524576125236121b8565b5b9250929050565b6000806000806040858703121561254557612544611e26565b5b600085013567ffffffffffffffff81111561256357612562611e2b565b5b61256f8782880161247f565b9450945050602085013567ffffffffffffffff81111561259257612591611e2b565b5b61259e878288016124d5565b925092505092959194509250565b600080604083850312156125c3576125c2611e26565b5b60006125d185828601612073565b92505060206125e285828601612073565b9150509250929050565b7f53616c65206973206e6f74206163746976650000000000000000000000000000600082015250565b6000612622601283611f59565b915061262d826125ec565b602082019050919050565b6000602082019050818103600083015261265181612615565b9050919050565b7f536f6c64206f7574000000000000000000000000000000000000000000000000600082015250565b600061268e600883611f59565b915061269982612658565b602082019050919050565b600060208201905081810360008301526126bd81612681565b9050919050565b7f496e76616c696420616d6f756e74000000000000000000000000000000000000600082015250565b60006126fa600e83611f59565b9150612705826126c4565b602082019050919050565b60006020820190508181036000830152612729816126ed565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061276a82611e30565b915061277583611e30565b925082820261278381611e30565b9150828204841483151761279a57612799612730565b5b5092915050565b7f496e73756666696369656e742045544800000000000000000000000000000000600082015250565b60006127d7601083611f59565b91506127e2826127a1565b602082019050919050565b60006020820190508181036000830152612806816127ca565b9050919050565b600061281882611e30565b915061282383611e30565b925082820390508181111561283b5761283a612730565b5b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061288857607f821691505b60208210810361289b5761289a612841565b5b50919050565b600082905092915050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b60006008830261290e7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826128d1565b61291886836128d1565b95508019841693508086168417925050509392505050565b6000819050919050565b600061295561295061294b84611e30565b612930565b611e30565b9050919050565b6000819050919050565b61296f8361293a565b61298361297b8261295c565b8484546128de565b825550505050565b600090565b61299861298b565b6129a3818484612966565b505050565b5b818110156129c7576129bc600082612990565b6001810190506129a9565b5050565b601f821115612a0c576129dd816128ac565b6129e6846128c1565b810160208510156129f5578190505b612a09612a01856128c1565b8301826129a8565b50505b505050565b600082821c905092915050565b6000612a2f60001984600802612a11565b1980831691505092915050565b6000612a488383612a1e565b9150826002028217905092915050565b612a6283836128a1565b67ffffffffffffffff811115612a7b57612a7a6122d1565b5b612a858254612870565b612a908282856129cb565b6000601f831160018114612abf5760008415612aad578287013590505b612ab78582612a3c565b865550612b1f565b601f198416612acd866128ac565b60005b82811015612af557848901358255600182019150602085019450602081019050612ad0565b86831015612b125784890135612b0e601f891682612a1e565b8355505b6001600288020188555050505b50505050505050565b7f556e6578697374656e7420746f6b656e00000000000000000000000000000000600082015250565b6000612b5e601083611f59565b9150612b6982612b28565b602082019050919050565b60006020820190508181036000830152612b8d81612b51565b9050919050565b600081905092915050565b60008154612bac81612870565b612bb68186612b94565b94506001821660008114612bd15760018114612be657612c19565b60ff1983168652811515820286019350612c19565b612bef856128ac565b60005b83811015612c1157815481890152600182019150602081019050612bf2565b838801955050505b50505092915050565b6000612c2d82611f4e565b612c378185612b94565b9350612c47818560208601611f6a565b80840191505092915050565b6000612c5f8285612b9f565b9150612c6b8284612c22565b91508190509392505050565b7f4c656e6774687320646f6e74206d617463680000000000000000000000000000600082015250565b6000612cad601283611f59565b9150612cb882612c77565b602082019050919050565b60006020820190508181036000830152612cdc81612ca0565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000612d1d82611e30565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203612d4f57612d4e612730565b5b600182019050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000612db6602683611f59565b9150612dc182612d5a565b604082019050919050565b60006020820190508181036000830152612de581612da9565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000612e22602083611f59565b9150612e2d82612dec565b602082019050919050565b60006020820190508181036000830152612e5181612e15565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000612e7f82612e58565b612e898185612e63565b9350612e99818560208601611f6a565b612ea281611f94565b840191505092915050565b6000608082019050612ec26000830187612032565b612ecf6020830186612032565b612edc60408301856120c8565b8181036060830152612eee8184612e74565b905095945050505050565b600081519050612f0881611ebf565b92915050565b600060208284031215612f2457612f23611e26565b5b6000612f3284828501612ef9565b9150509291505056fea2646970667358221220ccf69ec178984c9045537db7305698e80a770bc9a5f01416c85fa39ed9d0eea064736f6c63430008110033000000000000000000000000db6c92a9ccaa27b394f4f496557c319dc22ebc670000000000000000000000001c63d23df785a5b9ce536a4612a6637e22078abf0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002f68747470733a2f2f6170692e6f70656e686561646e66742e636f6d2f6368696269686561642f6d657461646174612f0000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106101e35760003560e01c8063715018a611610102578063c87b56dd11610095578063e7588b0e11610064578063e7588b0e14610677578063e985e9c5146106a2578063f2fde38b146106df578063f47c84c514610708576101e3565b8063c87b56dd146105bd578063cbce4c97146105fa578063da1461bc14610623578063e081b7811461064c576101e3565b806395d89b41116100d157806395d89b4114610522578063a035b1fe1461054d578063a22cb46514610578578063b88d4fde146105a1576101e3565b8063715018a61461048e5780638da5cb5b146104a55780638ef79e91146104d057806391b7f5ed146104f9576101e3565b806323b872dd1161017a5780634ce6a054116101495780634ce6a054146103be5780634e99b800146103e95780636352211e1461041457806370a0823114610451576101e3565b806323b872dd14610332578063261a7ca21461034e57806342842e0e146103775780634a5ff74914610393576101e3565b8063081812fc116101b6578063081812fc14610283578063095ea7b3146102c057806309d42b30146102dc57806318160ddd14610307576101e3565b80630152f3f7146101e857806301ffc9a714610204578063049c5c491461024157806306fdde0314610258575b600080fd5b61020260048036038101906101fd9190611e66565b610733565b005b34801561021057600080fd5b5061022b60048036038101906102269190611eeb565b610966565b6040516102389190611f33565b60405180910390f35b34801561024d57600080fd5b506102566109f8565b005b34801561026457600080fd5b5061026d610a2c565b60405161027a9190611fde565b60405180910390f35b34801561028f57600080fd5b506102aa60048036038101906102a59190611e66565b610abe565b6040516102b79190612041565b60405180910390f35b6102da60048036038101906102d59190612088565b610b3d565b005b3480156102e857600080fd5b506102f1610c81565b6040516102fe91906120d7565b60405180910390f35b34801561031357600080fd5b5061031c610c86565b60405161032991906120d7565b60405180910390f35b61034c600480360381019061034791906120f2565b610c9d565b005b34801561035a57600080fd5b5061037560048036038101906103709190611e66565b610fbf565b005b610391600480360381019061038c91906120f2565b610fd1565b005b34801561039f57600080fd5b506103a8610ff1565b6040516103b59190612166565b60405180910390f35b3480156103ca57600080fd5b506103d3611015565b6040516103e09190612166565b60405180910390f35b3480156103f557600080fd5b506103fe611039565b60405161040b9190611fde565b60405180910390f35b34801561042057600080fd5b5061043b60048036038101906104369190611e66565b6110c7565b6040516104489190612041565b60405180910390f35b34801561045d57600080fd5b5061047860048036038101906104739190612181565b6110d9565b60405161048591906120d7565b60405180910390f35b34801561049a57600080fd5b506104a3611191565b005b3480156104b157600080fd5b506104ba6111a5565b6040516104c79190612041565b60405180910390f35b3480156104dc57600080fd5b506104f760048036038101906104f29190612213565b6111cf565b005b34801561050557600080fd5b50610520600480360381019061051b9190611e66565b6111ed565b005b34801561052e57600080fd5b506105376111ff565b6040516105449190611fde565b60405180910390f35b34801561055957600080fd5b50610562611291565b60405161056f91906120d7565b60405180910390f35b34801561058457600080fd5b5061059f600480360381019061059a919061228c565b611297565b005b6105bb60048036038101906105b691906123fc565b6113a2565b005b3480156105c957600080fd5b506105e460048036038101906105df9190611e66565b611415565b6040516105f19190611fde565b60405180910390f35b34801561060657600080fd5b50610621600480360381019061061c9190612088565b611491565b005b34801561062f57600080fd5b5061064a6004803603810190610645919061252b565b6114a7565b005b34801561065857600080fd5b50610661611569565b60405161066e9190611f33565b60405180910390f35b34801561068357600080fd5b5061068c61157c565b60405161069991906120d7565b60405180910390f35b3480156106ae57600080fd5b506106c960048036038101906106c491906125ac565b611582565b6040516106d69190611f33565b60405180910390f35b3480156106eb57600080fd5b5061070660048036038101906107019190612181565b611616565b005b34801561071457600080fd5b5061071d611699565b60405161072a91906120d7565b60405180910390f35b600c60009054906101000a900460ff16610782576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161077990612638565b60405180910390fd5b610d0561078d610c86565b106107cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107c4906126a4565b60405180910390fd5b6000811180156107de575060328111155b61081d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161081490612710565b60405180910390fd5b3481600a5461082c919061275f565b111561086d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610864906127ed565b60405180910390fd5b600081600b5461087d919061275f565b90507f0000000000000000000000001c63d23df785a5b9ce536a4612a6637e22078abf73ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050501580156108e5573d6000803e3d6000fd5b507f000000000000000000000000db6c92a9ccaa27b394f4f496557c319dc22ebc6773ffffffffffffffffffffffffffffffffffffffff166108fc823461092c919061280d565b9081150290604051600060405180830381858888f19350505050158015610957573d6000803e3d6000fd5b50610962338361169f565b5050565b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806109c157506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806109f15750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b610a006116bd565b600c60009054906101000a900460ff1615600c60006101000a81548160ff021916908315150217905550565b606060028054610a3b90612870565b80601f0160208091040260200160405190810160405280929190818152602001828054610a6790612870565b8015610ab45780601f10610a8957610100808354040283529160200191610ab4565b820191906000526020600020905b815481529060010190602001808311610a9757829003601f168201915b5050505050905090565b6000610ac98261173b565b610aff576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b48826110c7565b90508073ffffffffffffffffffffffffffffffffffffffff16610b6961179a565b73ffffffffffffffffffffffffffffffffffffffff1614610bcc57610b9581610b9061179a565b611582565b610bcb576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b603281565b6000610c906117a2565b6001546000540303905090565b6000610ca8826117a7565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610d0f576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080610d1b84611873565b91509150610d318187610d2c61179a565b61189a565b610d7d57610d4686610d4161179a565b611582565b610d7c576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603610de3576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610df086868660016118de565b8015610dfb57600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815460010191905081905550610ec985610ea58888876118e4565b7c02000000000000000000000000000000000000000000000000000000001761190c565b600460008681526020019081526020016000208190555060007c0200000000000000000000000000000000000000000000000000000000841603610f4f5760006001850190506000600460008381526020019081526020016000205403610f4d576000548114610f4c578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610fb78686866001611937565b505050505050565b610fc76116bd565b80600b8190555050565b610fec838383604051806020016040528060008152506113a2565b505050565b7f000000000000000000000000db6c92a9ccaa27b394f4f496557c319dc22ebc6781565b7f0000000000000000000000001c63d23df785a5b9ce536a4612a6637e22078abf81565b6009805461104690612870565b80601f016020809104026020016040519081016040528092919081815260200182805461107290612870565b80156110bf5780601f10611094576101008083540402835291602001916110bf565b820191906000526020600020905b8154815290600101906020018083116110a257829003601f168201915b505050505081565b60006110d2826117a7565b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611140576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b6111996116bd565b6111a3600061193d565b565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6111d76116bd565b8181600991826111e8929190612a58565b505050565b6111f56116bd565b80600a8190555050565b60606003805461120e90612870565b80601f016020809104026020016040519081016040528092919081815260200182805461123a90612870565b80156112875780601f1061125c57610100808354040283529160200191611287565b820191906000526020600020905b81548152906001019060200180831161126a57829003601f168201915b5050505050905090565b600a5481565b80600760006112a461179a565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661135161179a565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516113969190611f33565b60405180910390a35050565b6113ad848484610c9d565b60008373ffffffffffffffffffffffffffffffffffffffff163b1461140f576113d884848484611a03565b61140e576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b60606114208261173b565b61145f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161145690612b74565b60405180910390fd5b600961146a83611b53565b60405160200161147b929190612c53565b6040516020818303038152906040529050919050565b6114996116bd565b6114a3828261169f565b5050565b6114af6116bd565b8181905084849050146114f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114ee90612cc3565b60405180910390fd5b60005b848490508110156115625761154f85858381811061151b5761151a612ce3565b5b90506020020160208101906115309190612181565b84848481811061154357611542612ce3565b5b9050602002013561169f565b808061155a90612d12565b9150506114fa565b5050505050565b600c60009054906101000a900460ff1681565b600b5481565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61161e6116bd565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361168d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168490612dcc565b60405180910390fd5b6116968161193d565b50565b610d0581565b6116b9828260405180602001604052806000815250611ba3565b5050565b6116c5611c40565b73ffffffffffffffffffffffffffffffffffffffff166116e36111a5565b73ffffffffffffffffffffffffffffffffffffffff1614611739576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161173090612e38565b60405180910390fd5b565b6000816117466117a2565b11158015611755575060005482105b8015611793575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b600090565b600080829050806117b66117a2565b1161183c5760005481101561183b5760006004600083815260200190815260200160002054905060007c0100000000000000000000000000000000000000000000000000000000821603611839575b6000810361182f576004600083600190039350838152602001908152602001600020549050611805565b809250505061186e565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e86118fb868684611c48565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02611a2961179a565b8786866040518563ffffffff1660e01b8152600401611a4b9493929190612ead565b6020604051808303816000875af1925050508015611a8757506040513d601f19601f82011682018060405250810190611a849190612f0e565b60015b611b00573d8060008114611ab7576040519150601f19603f3d011682016040523d82523d6000602084013e611abc565b606091505b506000815103611af8576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b606060a060405101806040526020810391506000825281835b600115611b8e57600184039350600a81066030018453600a8104905080611b6c575b50828103602084039350808452505050919050565b611bad8383611c51565b60008373ffffffffffffffffffffffffffffffffffffffff163b14611c3b57600080549050600083820390505b611bed6000868380600101945086611a03565b611c23576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b818110611bda578160005414611c3857600080fd5b50505b505050565b600033905090565b60009392505050565b60008054905060008203611c91576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611c9e60008483856118de565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550611d1583611d0660008660006118e4565b611d0f85611e0c565b1761190c565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b818114611db657808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600181019050611d7b565b5060008203611df1576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806000819055505050611e076000848385611937565b505050565b60006001821460e11b9050919050565b6000604051905090565b600080fd5b600080fd5b6000819050919050565b611e4381611e30565b8114611e4e57600080fd5b50565b600081359050611e6081611e3a565b92915050565b600060208284031215611e7c57611e7b611e26565b5b6000611e8a84828501611e51565b91505092915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b611ec881611e93565b8114611ed357600080fd5b50565b600081359050611ee581611ebf565b92915050565b600060208284031215611f0157611f00611e26565b5b6000611f0f84828501611ed6565b91505092915050565b60008115159050919050565b611f2d81611f18565b82525050565b6000602082019050611f486000830184611f24565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015611f88578082015181840152602081019050611f6d565b60008484015250505050565b6000601f19601f8301169050919050565b6000611fb082611f4e565b611fba8185611f59565b9350611fca818560208601611f6a565b611fd381611f94565b840191505092915050565b60006020820190508181036000830152611ff88184611fa5565b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061202b82612000565b9050919050565b61203b81612020565b82525050565b60006020820190506120566000830184612032565b92915050565b61206581612020565b811461207057600080fd5b50565b6000813590506120828161205c565b92915050565b6000806040838503121561209f5761209e611e26565b5b60006120ad85828601612073565b92505060206120be85828601611e51565b9150509250929050565b6120d181611e30565b82525050565b60006020820190506120ec60008301846120c8565b92915050565b60008060006060848603121561210b5761210a611e26565b5b600061211986828701612073565b935050602061212a86828701612073565b925050604061213b86828701611e51565b9150509250925092565b600061215082612000565b9050919050565b61216081612145565b82525050565b600060208201905061217b6000830184612157565b92915050565b60006020828403121561219757612196611e26565b5b60006121a584828501612073565b91505092915050565b600080fd5b600080fd5b600080fd5b60008083601f8401126121d3576121d26121ae565b5b8235905067ffffffffffffffff8111156121f0576121ef6121b3565b5b60208301915083600182028301111561220c5761220b6121b8565b5b9250929050565b6000806020838503121561222a57612229611e26565b5b600083013567ffffffffffffffff81111561224857612247611e2b565b5b612254858286016121bd565b92509250509250929050565b61226981611f18565b811461227457600080fd5b50565b60008135905061228681612260565b92915050565b600080604083850312156122a3576122a2611e26565b5b60006122b185828601612073565b92505060206122c285828601612277565b9150509250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61230982611f94565b810181811067ffffffffffffffff82111715612328576123276122d1565b5b80604052505050565b600061233b611e1c565b90506123478282612300565b919050565b600067ffffffffffffffff821115612367576123666122d1565b5b61237082611f94565b9050602081019050919050565b82818337600083830152505050565b600061239f61239a8461234c565b612331565b9050828152602081018484840111156123bb576123ba6122cc565b5b6123c684828561237d565b509392505050565b600082601f8301126123e3576123e26121ae565b5b81356123f384826020860161238c565b91505092915050565b6000806000806080858703121561241657612415611e26565b5b600061242487828801612073565b945050602061243587828801612073565b935050604061244687828801611e51565b925050606085013567ffffffffffffffff81111561246757612466611e2b565b5b612473878288016123ce565b91505092959194509250565b60008083601f840112612495576124946121ae565b5b8235905067ffffffffffffffff8111156124b2576124b16121b3565b5b6020830191508360208202830111156124ce576124cd6121b8565b5b9250929050565b60008083601f8401126124eb576124ea6121ae565b5b8235905067ffffffffffffffff811115612508576125076121b3565b5b602083019150836020820283011115612524576125236121b8565b5b9250929050565b6000806000806040858703121561254557612544611e26565b5b600085013567ffffffffffffffff81111561256357612562611e2b565b5b61256f8782880161247f565b9450945050602085013567ffffffffffffffff81111561259257612591611e2b565b5b61259e878288016124d5565b925092505092959194509250565b600080604083850312156125c3576125c2611e26565b5b60006125d185828601612073565b92505060206125e285828601612073565b9150509250929050565b7f53616c65206973206e6f74206163746976650000000000000000000000000000600082015250565b6000612622601283611f59565b915061262d826125ec565b602082019050919050565b6000602082019050818103600083015261265181612615565b9050919050565b7f536f6c64206f7574000000000000000000000000000000000000000000000000600082015250565b600061268e600883611f59565b915061269982612658565b602082019050919050565b600060208201905081810360008301526126bd81612681565b9050919050565b7f496e76616c696420616d6f756e74000000000000000000000000000000000000600082015250565b60006126fa600e83611f59565b9150612705826126c4565b602082019050919050565b60006020820190508181036000830152612729816126ed565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061276a82611e30565b915061277583611e30565b925082820261278381611e30565b9150828204841483151761279a57612799612730565b5b5092915050565b7f496e73756666696369656e742045544800000000000000000000000000000000600082015250565b60006127d7601083611f59565b91506127e2826127a1565b602082019050919050565b60006020820190508181036000830152612806816127ca565b9050919050565b600061281882611e30565b915061282383611e30565b925082820390508181111561283b5761283a612730565b5b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061288857607f821691505b60208210810361289b5761289a612841565b5b50919050565b600082905092915050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b60006008830261290e7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826128d1565b61291886836128d1565b95508019841693508086168417925050509392505050565b6000819050919050565b600061295561295061294b84611e30565b612930565b611e30565b9050919050565b6000819050919050565b61296f8361293a565b61298361297b8261295c565b8484546128de565b825550505050565b600090565b61299861298b565b6129a3818484612966565b505050565b5b818110156129c7576129bc600082612990565b6001810190506129a9565b5050565b601f821115612a0c576129dd816128ac565b6129e6846128c1565b810160208510156129f5578190505b612a09612a01856128c1565b8301826129a8565b50505b505050565b600082821c905092915050565b6000612a2f60001984600802612a11565b1980831691505092915050565b6000612a488383612a1e565b9150826002028217905092915050565b612a6283836128a1565b67ffffffffffffffff811115612a7b57612a7a6122d1565b5b612a858254612870565b612a908282856129cb565b6000601f831160018114612abf5760008415612aad578287013590505b612ab78582612a3c565b865550612b1f565b601f198416612acd866128ac565b60005b82811015612af557848901358255600182019150602085019450602081019050612ad0565b86831015612b125784890135612b0e601f891682612a1e565b8355505b6001600288020188555050505b50505050505050565b7f556e6578697374656e7420746f6b656e00000000000000000000000000000000600082015250565b6000612b5e601083611f59565b9150612b6982612b28565b602082019050919050565b60006020820190508181036000830152612b8d81612b51565b9050919050565b600081905092915050565b60008154612bac81612870565b612bb68186612b94565b94506001821660008114612bd15760018114612be657612c19565b60ff1983168652811515820286019350612c19565b612bef856128ac565b60005b83811015612c1157815481890152600182019150602081019050612bf2565b838801955050505b50505092915050565b6000612c2d82611f4e565b612c378185612b94565b9350612c47818560208601611f6a565b80840191505092915050565b6000612c5f8285612b9f565b9150612c6b8284612c22565b91508190509392505050565b7f4c656e6774687320646f6e74206d617463680000000000000000000000000000600082015250565b6000612cad601283611f59565b9150612cb882612c77565b602082019050919050565b60006020820190508181036000830152612cdc81612ca0565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000612d1d82611e30565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203612d4f57612d4e612730565b5b600182019050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000612db6602683611f59565b9150612dc182612d5a565b604082019050919050565b60006020820190508181036000830152612de581612da9565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000612e22602083611f59565b9150612e2d82612dec565b602082019050919050565b60006020820190508181036000830152612e5181612e15565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000612e7f82612e58565b612e898185612e63565b9350612e99818560208601611f6a565b612ea281611f94565b840191505092915050565b6000608082019050612ec26000830187612032565b612ecf6020830186612032565b612edc60408301856120c8565b8181036060830152612eee8184612e74565b905095945050505050565b600081519050612f0881611ebf565b92915050565b600060208284031215612f2457612f23611e26565b5b6000612f3284828501612ef9565b9150509291505056fea2646970667358221220ccf69ec178984c9045537db7305698e80a770bc9a5f01416c85fa39ed9d0eea064736f6c63430008110033

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

000000000000000000000000db6c92a9ccaa27b394f4f496557c319dc22ebc670000000000000000000000001c63d23df785a5b9ce536a4612a6637e22078abf0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002f68747470733a2f2f6170692e6f70656e686561646e66742e636f6d2f6368696269686561642f6d657461646174612f0000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _teamAddr (address): 0xdb6C92a9CCAa27B394F4f496557C319dC22eBc67
Arg [1] : _initialRaffle (address): 0x1C63d23dF785A5B9CE536a4612a6637E22078abf
Arg [2] : _tokenBaseURI (string): https://api.openheadnft.com/chibihead/metadata/

-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 000000000000000000000000db6c92a9ccaa27b394f4f496557c319dc22ebc67
Arg [1] : 0000000000000000000000001c63d23df785a5b9ce536a4612a6637e22078abf
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [3] : 000000000000000000000000000000000000000000000000000000000000002f
Arg [4] : 68747470733a2f2f6170692e6f70656e686561646e66742e636f6d2f63686962
Arg [5] : 69686561642f6d657461646174612f0000000000000000000000000000000000


Deployed Bytecode Sourcemap

55052:2080:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56278:457;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;18366:639;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;55865:80;;;;;;;;;;;;;:::i;:::-;;19268:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;25759:218;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;25192:408;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;55149:41;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;15019:323;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;29398:2825;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;55767:92;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;32319:193;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;55197:41;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;55243:46;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;55294:26;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;20661:152;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;16203:233;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;54171:103;;;;;;;;;;;;;:::i;:::-;;53523:87;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;55951:96;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;55681:80;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;19444:104;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;55327:33;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;26317:234;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;33110:407;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;56053:219;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;57023:106;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;56741:276;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;55409:20;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;55365:37;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;26708:164;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;54429:201;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;55103:41;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;56278:457;56342:8;;;;;;;;;;;56334:39;;;;;;;;;;;;:::i;:::-;;;;;;;;;55140:4;56388:13;:11;:13::i;:::-;:26;56380:47;;;;;;;;;;;;:::i;:::-;;;;;;;;;56451:1;56442:6;:10;:36;;;;;55188:2;56456:6;:22;;56442:36;56434:63;;;;;;;;;;;;:::i;:::-;;;;;;;;;56530:9;56520:6;56512:5;;:14;;;;:::i;:::-;:27;;56504:56;;;;;;;;;;;;:::i;:::-;;;;;;;;;56569:15;56598:6;56587:8;;:17;;;;:::i;:::-;56569:35;;56611:13;:22;;:34;56634:10;56611:34;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56652:8;:17;;:41;56682:10;56670:9;:22;;;;:::i;:::-;56652:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56700:29;56710:10;56722:6;56700:9;:29::i;:::-;56327:408;56278:457;:::o;18366:639::-;18451:4;18790:10;18775:25;;:11;:25;;;;:102;;;;18867:10;18852:25;;:11;:25;;;;18775:102;:179;;;;18944:10;18929:25;;:11;:25;;;;18775:179;18755:199;;18366:639;;;:::o;55865:80::-;53409:13;:11;:13::i;:::-;55931:8:::1;;;;;;;;;;;55930:9;55919:8;;:20;;;;;;;;;;;;;;;;;;55865:80::o:0;19268:100::-;19322:13;19355:5;19348:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19268:100;:::o;25759:218::-;25835:7;25860:16;25868:7;25860;:16::i;:::-;25855:64;;25885:34;;;;;;;;;;;;;;25855:64;25939:15;:24;25955:7;25939:24;;;;;;;;;;;:30;;;;;;;;;;;;25932:37;;25759:218;;;:::o;25192:408::-;25281:13;25297:16;25305:7;25297;:16::i;:::-;25281:32;;25353:5;25330:28;;:19;:17;:19::i;:::-;:28;;;25326:175;;25378:44;25395:5;25402:19;:17;:19::i;:::-;25378:16;:44::i;:::-;25373:128;;25450:35;;;;;;;;;;;;;;25373:128;25326:175;25546:2;25513:15;:24;25529:7;25513:24;;;;;;;;;;;:30;;;:35;;;;;;;;;;;;;;;;;;25584:7;25580:2;25564:28;;25573:5;25564:28;;;;;;;;;;;;25270:330;25192:408;;:::o;55149:41::-;55188:2;55149:41;:::o;15019:323::-;15080:7;15308:15;:13;:15::i;:::-;15293:12;;15277:13;;:28;:46;15270:53;;15019:323;:::o;29398:2825::-;29540:27;29570;29589:7;29570:18;:27::i;:::-;29540:57;;29655:4;29614:45;;29630:19;29614:45;;;29610:86;;29668:28;;;;;;;;;;;;;;29610:86;29710:27;29739:23;29766:35;29793:7;29766:26;:35::i;:::-;29709:92;;;;29901:68;29926:15;29943:4;29949:19;:17;:19::i;:::-;29901:24;:68::i;:::-;29896:180;;29989:43;30006:4;30012:19;:17;:19::i;:::-;29989:16;:43::i;:::-;29984:92;;30041:35;;;;;;;;;;;;;;29984:92;29896:180;30107:1;30093:16;;:2;:16;;;30089:52;;30118:23;;;;;;;;;;;;;;30089:52;30154:43;30176:4;30182:2;30186:7;30195:1;30154:21;:43::i;:::-;30290:15;30287:160;;;30430:1;30409:19;30402:30;30287:160;30827:18;:24;30846:4;30827:24;;;;;;;;;;;;;;;;30825:26;;;;;;;;;;;;30896:18;:22;30915:2;30896:22;;;;;;;;;;;;;;;;30894:24;;;;;;;;;;;31218:146;31255:2;31304:45;31319:4;31325:2;31329:19;31304:14;:45::i;:::-;11418:8;31276:73;31218:18;:146::i;:::-;31189:17;:26;31207:7;31189:26;;;;;;;;;;;:175;;;;31535:1;11418:8;31484:19;:47;:52;31480:627;;31557:19;31589:1;31579:7;:11;31557:33;;31746:1;31712:17;:30;31730:11;31712:30;;;;;;;;;;;;:35;31708:384;;31850:13;;31835:11;:28;31831:242;;32030:19;31997:17;:30;32015:11;31997:30;;;;;;;;;;;:52;;;;31831:242;31708:384;31538:569;31480:627;32154:7;32150:2;32135:27;;32144:4;32135:27;;;;;;;;;;;;32173:42;32194:4;32200:2;32204:7;32213:1;32173:20;:42::i;:::-;29529:2694;;;29398:2825;;;:::o;55767:92::-;53409:13;:11;:13::i;:::-;55844:9:::1;55833:8;:20;;;;55767:92:::0;:::o;32319:193::-;32465:39;32482:4;32488:2;32492:7;32465:39;;;;;;;;;;;;:16;:39::i;:::-;32319:193;;;:::o;55197:41::-;;;:::o;55243:46::-;;;:::o;55294:26::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;20661:152::-;20733:7;20776:27;20795:7;20776:18;:27::i;:::-;20753:52;;20661:152;;;:::o;16203:233::-;16275:7;16316:1;16299:19;;:5;:19;;;16295:60;;16327:28;;;;;;;;;;;;;;16295:60;10362:13;16373:18;:25;16392:5;16373:25;;;;;;;;;;;;;;;;:55;16366:62;;16203:233;;;:::o;54171:103::-;53409:13;:11;:13::i;:::-;54236:30:::1;54263:1;54236:18;:30::i;:::-;54171:103::o:0;53523:87::-;53569:7;53596:6;;;;;;;;;;;53589:13;;53523:87;:::o;55951:96::-;53409:13;:11;:13::i;:::-;56038:3:::1;;56023:12;:18;;;;;;;:::i;:::-;;55951:96:::0;;:::o;55681:80::-;53409:13;:11;:13::i;:::-;55749:6:::1;55741:5;:14;;;;55681:80:::0;:::o;19444:104::-;19500:13;19533:7;19526:14;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19444:104;:::o;55327:33::-;;;;:::o;26317:234::-;26464:8;26412:18;:39;26431:19;:17;:19::i;:::-;26412:39;;;;;;;;;;;;;;;:49;26452:8;26412:49;;;;;;;;;;;;;;;;:60;;;;;;;;;;;;;;;;;;26524:8;26488:55;;26503:19;:17;:19::i;:::-;26488:55;;;26534:8;26488:55;;;;;;:::i;:::-;;;;;;;;26317:234;;:::o;33110:407::-;33285:31;33298:4;33304:2;33308:7;33285:12;:31::i;:::-;33349:1;33331:2;:14;;;:19;33327:183;;33370:56;33401:4;33407:2;33411:7;33420:5;33370:30;:56::i;:::-;33365:145;;33454:40;;;;;;;;;;;;;;33365:145;33327:183;33110:407;;;;:::o;56053:219::-;56127:13;56157:16;56165:7;56157;:16::i;:::-;56149:45;;;;;;;;;;;;:::i;:::-;;;;;;;;;56232:12;56246:18;56256:7;56246:9;:18::i;:::-;56215:50;;;;;;;;;:::i;:::-;;;;;;;;;;;;;56201:65;;56053:219;;;:::o;57023:106::-;53409:13;:11;:13::i;:::-;57096:27:::1;57106:8;57116:6;57096:9;:27::i;:::-;57023:106:::0;;:::o;56741:276::-;53409:13;:11;:13::i;:::-;56869:7:::1;;:14;;56849:9;;:16;;:34;56841:65;;;;;;;;;;;;:::i;:::-;;;;;;;;;56918:9;56913:99;56937:9;;:16;;56933:1;:20;56913:99;;;56969:35;56979:9;;56989:1;56979:12;;;;;;;:::i;:::-;;;;;;;;;;;;;;;:::i;:::-;56993:7;;57001:1;56993:10;;;;;;;:::i;:::-;;;;;;;;56969:9;:35::i;:::-;56955:3;;;;;:::i;:::-;;;;56913:99;;;;56741:276:::0;;;;:::o;55409:20::-;;;;;;;;;;;;;:::o;55365:37::-;;;;:::o;26708:164::-;26805:4;26829:18;:25;26848:5;26829:25;;;;;;;;;;;;;;;:35;26855:8;26829:35;;;;;;;;;;;;;;;;;;;;;;;;;26822:42;;26708:164;;;;:::o;54429:201::-;53409:13;:11;:13::i;:::-;54538:1:::1;54518:22;;:8;:22;;::::0;54510:73:::1;;;;;;;;;;;;:::i;:::-;;;;;;;;;54594:28;54613:8;54594:18;:28::i;:::-;54429:201:::0;:::o;55103:41::-;55140:4;55103:41;:::o;43270:112::-;43347:27;43357:2;43361:8;43347:27;;;;;;;;;;;;:9;:27::i;:::-;43270:112;;:::o;53688:132::-;53763:12;:10;:12::i;:::-;53752:23;;:7;:5;:7::i;:::-;:23;;;53744:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;53688:132::o;27130:282::-;27195:4;27251:7;27232:15;:13;:15::i;:::-;:26;;:66;;;;;27285:13;;27275:7;:23;27232:66;:153;;;;;27384:1;11138:8;27336:17;:26;27354:7;27336:26;;;;;;;;;;;;:44;:49;27232:153;27212:173;;27130:282;;;:::o;49438:105::-;49498:7;49525:10;49518:17;;49438:105;:::o;14535:92::-;14591:7;14535:92;:::o;21816:1275::-;21883:7;21903:12;21918:7;21903:22;;21986:4;21967:15;:13;:15::i;:::-;:23;21963:1061;;22020:13;;22013:4;:20;22009:1015;;;22058:14;22075:17;:23;22093:4;22075:23;;;;;;;;;;;;22058:40;;22192:1;11138:8;22164:6;:24;:29;22160:845;;22829:113;22846:1;22836:6;:11;22829:113;;22889:17;:25;22907:6;;;;;;;22889:25;;;;;;;;;;;;22880:34;;22829:113;;;22975:6;22968:13;;;;;;22160:845;22035:989;22009:1015;21963:1061;23052:31;;;;;;;;;;;;;;21816:1275;;;;:::o;28293:485::-;28395:27;28424:23;28465:38;28506:15;:24;28522:7;28506:24;;;;;;;;;;;28465:65;;28683:18;28660:41;;28740:19;28734:26;28715:45;;28645:126;28293:485;;;:::o;27521:659::-;27670:11;27835:16;27828:5;27824:28;27815:37;;27995:16;27984:9;27980:32;27967:45;;28145:15;28134:9;28131:30;28123:5;28112:9;28109:20;28106:56;28096:66;;27521:659;;;;;:::o;34179:159::-;;;;;:::o;48747:311::-;48882:7;48902:16;11542:3;48928:19;:41;;48902:68;;11542:3;48996:31;49007:4;49013:2;49017:9;48996:10;:31::i;:::-;48988:40;;:62;;48981:69;;;48747:311;;;;;:::o;23639:450::-;23719:14;23887:16;23880:5;23876:28;23867:37;;24064:5;24050:11;24025:23;24021:41;24018:52;24011:5;24008:63;23998:73;;23639:450;;;;:::o;35003:158::-;;;;;:::o;54790:191::-;54864:16;54883:6;;;;;;;;;;;54864:25;;54909:8;54900:6;;:17;;;;;;;;;;;;;;;;;;54964:8;54933:40;;54954:8;54933:40;;;;;;;;;;;;54853:128;54790:191;:::o;35601:716::-;35764:4;35810:2;35785:45;;;35831:19;:17;:19::i;:::-;35852:4;35858:7;35867:5;35785:88;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;35781:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36085:1;36068:6;:13;:18;36064:235;;36114:40;;;;;;;;;;;;;;36064:235;36257:6;36251:13;36242:6;36238:2;36234:15;36227:38;35781:529;35954:54;;;35944:64;;;:6;:64;;;;35937:71;;;35601:716;;;;;;:::o;49645:1745::-;49710:17;50144:4;50137;50131:11;50127:22;50236:1;50230:4;50223:15;50311:4;50308:1;50304:12;50297:19;;50393:1;50388:3;50381:14;50497:3;50736:5;50718:428;50744:1;50718:428;;;50784:1;50779:3;50775:11;50768:18;;50955:2;50949:4;50945:13;50941:2;50937:22;50932:3;50924:36;51049:2;51043:4;51039:13;51031:21;;51116:4;50718:428;51106:25;50718:428;50722:21;51185:3;51180;51176:13;51300:4;51295:3;51291:14;51284:21;;51365:6;51360:3;51353:19;49749:1634;;;49645:1745;;;:::o;42497:689::-;42628:19;42634:2;42638:8;42628:5;:19::i;:::-;42707:1;42689:2;:14;;;:19;42685:483;;42729:11;42743:13;;42729:27;;42775:13;42797:8;42791:3;:14;42775:30;;42824:233;42855:62;42894:1;42898:2;42902:7;;;;;;42911:5;42855:30;:62::i;:::-;42850:167;;42953:40;;;;;;;;;;;;;;42850:167;43052:3;43044:5;:11;42824:233;;43139:3;43122:13;;:20;43118:34;;43144:8;;;43118:34;42710:458;;42685:483;42497:689;;;:::o;52074:98::-;52127:7;52154:10;52147:17;;52074:98;:::o;48448:147::-;48585:6;48448:147;;;;;:::o;36779:2966::-;36852:20;36875:13;;36852:36;;36915:1;36903:8;:13;36899:44;;36925:18;;;;;;;;;;;;;;36899:44;36956:61;36986:1;36990:2;36994:12;37008:8;36956:21;:61::i;:::-;37500:1;10500:2;37470:1;:26;;37469:32;37457:8;:45;37431:18;:22;37450:2;37431:22;;;;;;;;;;;;;;;;:71;;;;;;;;;;;37779:139;37816:2;37870:33;37893:1;37897:2;37901:1;37870:14;:33::i;:::-;37837:30;37858:8;37837:20;:30::i;:::-;:66;37779:18;:139::i;:::-;37745:17;:31;37763:12;37745:31;;;;;;;;;;;:173;;;;37935:16;37966:11;37995:8;37980:12;:23;37966:37;;38516:16;38512:2;38508:25;38496:37;;38888:12;38848:8;38807:1;38745:25;38686:1;38625;38598:335;39259:1;39245:12;39241:20;39199:346;39300:3;39291:7;39288:16;39199:346;;39518:7;39508:8;39505:1;39478:25;39475:1;39472;39467:59;39353:1;39344:7;39340:15;39329:26;;39199:346;;;39203:77;39590:1;39578:8;:13;39574:45;;39600:19;;;;;;;;;;;;;;39574:45;39652:3;39636:13;:19;;;;37205:2462;;39677:60;39706:1;39710:2;39714:12;39728:8;39677:20;:60::i;:::-;36841:2904;36779:2966;;:::o;24191:324::-;24261:14;24494:1;24484:8;24481:15;24455:24;24451:46;24441:56;;24191:324;;;:::o;7:75:1:-;40:6;73:2;67:9;57:19;;7:75;:::o;88:117::-;197:1;194;187:12;211:117;320:1;317;310:12;334:77;371:7;400:5;389:16;;334:77;;;:::o;417:122::-;490:24;508:5;490:24;:::i;:::-;483:5;480:35;470:63;;529:1;526;519:12;470:63;417:122;:::o;545:139::-;591:5;629:6;616:20;607:29;;645:33;672:5;645:33;:::i;:::-;545:139;;;;:::o;690:329::-;749:6;798:2;786:9;777:7;773:23;769:32;766:119;;;804:79;;:::i;:::-;766:119;924:1;949:53;994:7;985:6;974:9;970:22;949:53;:::i;:::-;939:63;;895:117;690:329;;;;:::o;1025:149::-;1061:7;1101:66;1094:5;1090:78;1079:89;;1025:149;;;:::o;1180:120::-;1252:23;1269:5;1252:23;:::i;:::-;1245:5;1242:34;1232:62;;1290:1;1287;1280:12;1232:62;1180:120;:::o;1306:137::-;1351:5;1389:6;1376:20;1367:29;;1405:32;1431:5;1405:32;:::i;:::-;1306:137;;;;:::o;1449:327::-;1507:6;1556:2;1544:9;1535:7;1531:23;1527:32;1524:119;;;1562:79;;:::i;:::-;1524:119;1682:1;1707:52;1751:7;1742:6;1731:9;1727:22;1707:52;:::i;:::-;1697:62;;1653:116;1449:327;;;;:::o;1782:90::-;1816:7;1859:5;1852:13;1845:21;1834:32;;1782:90;;;:::o;1878:109::-;1959:21;1974:5;1959:21;:::i;:::-;1954:3;1947:34;1878:109;;:::o;1993:210::-;2080:4;2118:2;2107:9;2103:18;2095:26;;2131:65;2193:1;2182:9;2178:17;2169:6;2131:65;:::i;:::-;1993:210;;;;:::o;2209:99::-;2261:6;2295:5;2289:12;2279:22;;2209:99;;;:::o;2314:169::-;2398:11;2432:6;2427:3;2420:19;2472:4;2467:3;2463:14;2448:29;;2314:169;;;;:::o;2489:246::-;2570:1;2580:113;2594:6;2591:1;2588:13;2580:113;;;2679:1;2674:3;2670:11;2664:18;2660:1;2655:3;2651:11;2644:39;2616:2;2613:1;2609:10;2604:15;;2580:113;;;2727:1;2718:6;2713:3;2709:16;2702:27;2551:184;2489:246;;;:::o;2741:102::-;2782:6;2833:2;2829:7;2824:2;2817:5;2813:14;2809:28;2799:38;;2741:102;;;:::o;2849:377::-;2937:3;2965:39;2998:5;2965:39;:::i;:::-;3020:71;3084:6;3079:3;3020:71;:::i;:::-;3013:78;;3100:65;3158:6;3153:3;3146:4;3139:5;3135:16;3100:65;:::i;:::-;3190:29;3212:6;3190:29;:::i;:::-;3185:3;3181:39;3174:46;;2941:285;2849:377;;;;:::o;3232:313::-;3345:4;3383:2;3372:9;3368:18;3360:26;;3432:9;3426:4;3422:20;3418:1;3407:9;3403:17;3396:47;3460:78;3533:4;3524:6;3460:78;:::i;:::-;3452:86;;3232:313;;;;:::o;3551:126::-;3588:7;3628:42;3621:5;3617:54;3606:65;;3551:126;;;:::o;3683:96::-;3720:7;3749:24;3767:5;3749:24;:::i;:::-;3738:35;;3683:96;;;:::o;3785:118::-;3872:24;3890:5;3872:24;:::i;:::-;3867:3;3860:37;3785:118;;:::o;3909:222::-;4002:4;4040:2;4029:9;4025:18;4017:26;;4053:71;4121:1;4110:9;4106:17;4097:6;4053:71;:::i;:::-;3909:222;;;;:::o;4137:122::-;4210:24;4228:5;4210:24;:::i;:::-;4203:5;4200:35;4190:63;;4249:1;4246;4239:12;4190:63;4137:122;:::o;4265:139::-;4311:5;4349:6;4336:20;4327:29;;4365:33;4392:5;4365:33;:::i;:::-;4265:139;;;;:::o;4410:474::-;4478:6;4486;4535:2;4523:9;4514:7;4510:23;4506:32;4503:119;;;4541:79;;:::i;:::-;4503:119;4661:1;4686:53;4731:7;4722:6;4711:9;4707:22;4686:53;:::i;:::-;4676:63;;4632:117;4788:2;4814:53;4859:7;4850:6;4839:9;4835:22;4814:53;:::i;:::-;4804:63;;4759:118;4410:474;;;;;:::o;4890:118::-;4977:24;4995:5;4977:24;:::i;:::-;4972:3;4965:37;4890:118;;:::o;5014:222::-;5107:4;5145:2;5134:9;5130:18;5122:26;;5158:71;5226:1;5215:9;5211:17;5202:6;5158:71;:::i;:::-;5014:222;;;;:::o;5242:619::-;5319:6;5327;5335;5384:2;5372:9;5363:7;5359:23;5355:32;5352:119;;;5390:79;;:::i;:::-;5352:119;5510:1;5535:53;5580:7;5571:6;5560:9;5556:22;5535:53;:::i;:::-;5525:63;;5481:117;5637:2;5663:53;5708:7;5699:6;5688:9;5684:22;5663:53;:::i;:::-;5653:63;;5608:118;5765:2;5791:53;5836:7;5827:6;5816:9;5812:22;5791:53;:::i;:::-;5781:63;;5736:118;5242:619;;;;;:::o;5867:104::-;5912:7;5941:24;5959:5;5941:24;:::i;:::-;5930:35;;5867:104;;;:::o;5977:142::-;6080:32;6106:5;6080:32;:::i;:::-;6075:3;6068:45;5977:142;;:::o;6125:254::-;6234:4;6272:2;6261:9;6257:18;6249:26;;6285:87;6369:1;6358:9;6354:17;6345:6;6285:87;:::i;:::-;6125:254;;;;:::o;6385:329::-;6444:6;6493:2;6481:9;6472:7;6468:23;6464:32;6461:119;;;6499:79;;:::i;:::-;6461:119;6619:1;6644:53;6689:7;6680:6;6669:9;6665:22;6644:53;:::i;:::-;6634:63;;6590:117;6385:329;;;;:::o;6720:117::-;6829:1;6826;6819:12;6843:117;6952:1;6949;6942:12;6966:117;7075:1;7072;7065:12;7103:553;7161:8;7171:6;7221:3;7214:4;7206:6;7202:17;7198:27;7188:122;;7229:79;;:::i;:::-;7188:122;7342:6;7329:20;7319:30;;7372:18;7364:6;7361:30;7358:117;;;7394:79;;:::i;:::-;7358:117;7508:4;7500:6;7496:17;7484:29;;7562:3;7554:4;7546:6;7542:17;7532:8;7528:32;7525:41;7522:128;;;7569:79;;:::i;:::-;7522:128;7103:553;;;;;:::o;7662:529::-;7733:6;7741;7790:2;7778:9;7769:7;7765:23;7761:32;7758:119;;;7796:79;;:::i;:::-;7758:119;7944:1;7933:9;7929:17;7916:31;7974:18;7966:6;7963:30;7960:117;;;7996:79;;:::i;:::-;7960:117;8109:65;8166:7;8157:6;8146:9;8142:22;8109:65;:::i;:::-;8091:83;;;;7887:297;7662:529;;;;;:::o;8197:116::-;8267:21;8282:5;8267:21;:::i;:::-;8260:5;8257:32;8247:60;;8303:1;8300;8293:12;8247:60;8197:116;:::o;8319:133::-;8362:5;8400:6;8387:20;8378:29;;8416:30;8440:5;8416:30;:::i;:::-;8319:133;;;;:::o;8458:468::-;8523:6;8531;8580:2;8568:9;8559:7;8555:23;8551:32;8548:119;;;8586:79;;:::i;:::-;8548:119;8706:1;8731:53;8776:7;8767:6;8756:9;8752:22;8731:53;:::i;:::-;8721:63;;8677:117;8833:2;8859:50;8901:7;8892:6;8881:9;8877:22;8859:50;:::i;:::-;8849:60;;8804:115;8458:468;;;;;:::o;8932:117::-;9041:1;9038;9031:12;9055:180;9103:77;9100:1;9093:88;9200:4;9197:1;9190:15;9224:4;9221:1;9214:15;9241:281;9324:27;9346:4;9324:27;:::i;:::-;9316:6;9312:40;9454:6;9442:10;9439:22;9418:18;9406:10;9403:34;9400:62;9397:88;;;9465:18;;:::i;:::-;9397:88;9505:10;9501:2;9494:22;9284:238;9241:281;;:::o;9528:129::-;9562:6;9589:20;;:::i;:::-;9579:30;;9618:33;9646:4;9638:6;9618:33;:::i;:::-;9528:129;;;:::o;9663:307::-;9724:4;9814:18;9806:6;9803:30;9800:56;;;9836:18;;:::i;:::-;9800:56;9874:29;9896:6;9874:29;:::i;:::-;9866:37;;9958:4;9952;9948:15;9940:23;;9663:307;;;:::o;9976:146::-;10073:6;10068:3;10063;10050:30;10114:1;10105:6;10100:3;10096:16;10089:27;9976:146;;;:::o;10128:423::-;10205:5;10230:65;10246:48;10287:6;10246:48;:::i;:::-;10230:65;:::i;:::-;10221:74;;10318:6;10311:5;10304:21;10356:4;10349:5;10345:16;10394:3;10385:6;10380:3;10376:16;10373:25;10370:112;;;10401:79;;:::i;:::-;10370:112;10491:54;10538:6;10533:3;10528;10491:54;:::i;:::-;10211:340;10128:423;;;;;:::o;10570:338::-;10625:5;10674:3;10667:4;10659:6;10655:17;10651:27;10641:122;;10682:79;;:::i;:::-;10641:122;10799:6;10786:20;10824:78;10898:3;10890:6;10883:4;10875:6;10871:17;10824:78;:::i;:::-;10815:87;;10631:277;10570:338;;;;:::o;10914:943::-;11009:6;11017;11025;11033;11082:3;11070:9;11061:7;11057:23;11053:33;11050:120;;;11089:79;;:::i;:::-;11050:120;11209:1;11234:53;11279:7;11270:6;11259:9;11255:22;11234:53;:::i;:::-;11224:63;;11180:117;11336:2;11362:53;11407:7;11398:6;11387:9;11383:22;11362:53;:::i;:::-;11352:63;;11307:118;11464:2;11490:53;11535:7;11526:6;11515:9;11511:22;11490:53;:::i;:::-;11480:63;;11435:118;11620:2;11609:9;11605:18;11592:32;11651:18;11643:6;11640:30;11637:117;;;11673:79;;:::i;:::-;11637:117;11778:62;11832:7;11823:6;11812:9;11808:22;11778:62;:::i;:::-;11768:72;;11563:287;10914:943;;;;;;;:::o;11880:568::-;11953:8;11963:6;12013:3;12006:4;11998:6;11994:17;11990:27;11980:122;;12021:79;;:::i;:::-;11980:122;12134:6;12121:20;12111:30;;12164:18;12156:6;12153:30;12150:117;;;12186:79;;:::i;:::-;12150:117;12300:4;12292:6;12288:17;12276:29;;12354:3;12346:4;12338:6;12334:17;12324:8;12320:32;12317:41;12314:128;;;12361:79;;:::i;:::-;12314:128;11880:568;;;;;:::o;12471:::-;12544:8;12554:6;12604:3;12597:4;12589:6;12585:17;12581:27;12571:122;;12612:79;;:::i;:::-;12571:122;12725:6;12712:20;12702:30;;12755:18;12747:6;12744:30;12741:117;;;12777:79;;:::i;:::-;12741:117;12891:4;12883:6;12879:17;12867:29;;12945:3;12937:4;12929:6;12925:17;12915:8;12911:32;12908:41;12905:128;;;12952:79;;:::i;:::-;12905:128;12471:568;;;;;:::o;13045:934::-;13167:6;13175;13183;13191;13240:2;13228:9;13219:7;13215:23;13211:32;13208:119;;;13246:79;;:::i;:::-;13208:119;13394:1;13383:9;13379:17;13366:31;13424:18;13416:6;13413:30;13410:117;;;13446:79;;:::i;:::-;13410:117;13559:80;13631:7;13622:6;13611:9;13607:22;13559:80;:::i;:::-;13541:98;;;;13337:312;13716:2;13705:9;13701:18;13688:32;13747:18;13739:6;13736:30;13733:117;;;13769:79;;:::i;:::-;13733:117;13882:80;13954:7;13945:6;13934:9;13930:22;13882:80;:::i;:::-;13864:98;;;;13659:313;13045:934;;;;;;;:::o;13985:474::-;14053:6;14061;14110:2;14098:9;14089:7;14085:23;14081:32;14078:119;;;14116:79;;:::i;:::-;14078:119;14236:1;14261:53;14306:7;14297:6;14286:9;14282:22;14261:53;:::i;:::-;14251:63;;14207:117;14363:2;14389:53;14434:7;14425:6;14414:9;14410:22;14389:53;:::i;:::-;14379:63;;14334:118;13985:474;;;;;:::o;14465:168::-;14605:20;14601:1;14593:6;14589:14;14582:44;14465:168;:::o;14639:366::-;14781:3;14802:67;14866:2;14861:3;14802:67;:::i;:::-;14795:74;;14878:93;14967:3;14878:93;:::i;:::-;14996:2;14991:3;14987:12;14980:19;;14639:366;;;:::o;15011:419::-;15177:4;15215:2;15204:9;15200:18;15192:26;;15264:9;15258:4;15254:20;15250:1;15239:9;15235:17;15228:47;15292:131;15418:4;15292:131;:::i;:::-;15284:139;;15011:419;;;:::o;15436:158::-;15576:10;15572:1;15564:6;15560:14;15553:34;15436:158;:::o;15600:365::-;15742:3;15763:66;15827:1;15822:3;15763:66;:::i;:::-;15756:73;;15838:93;15927:3;15838:93;:::i;:::-;15956:2;15951:3;15947:12;15940:19;;15600:365;;;:::o;15971:419::-;16137:4;16175:2;16164:9;16160:18;16152:26;;16224:9;16218:4;16214:20;16210:1;16199:9;16195:17;16188:47;16252:131;16378:4;16252:131;:::i;:::-;16244:139;;15971:419;;;:::o;16396:164::-;16536:16;16532:1;16524:6;16520:14;16513:40;16396:164;:::o;16566:366::-;16708:3;16729:67;16793:2;16788:3;16729:67;:::i;:::-;16722:74;;16805:93;16894:3;16805:93;:::i;:::-;16923:2;16918:3;16914:12;16907:19;;16566:366;;;:::o;16938:419::-;17104:4;17142:2;17131:9;17127:18;17119:26;;17191:9;17185:4;17181:20;17177:1;17166:9;17162:17;17155:47;17219:131;17345:4;17219:131;:::i;:::-;17211:139;;16938:419;;;:::o;17363:180::-;17411:77;17408:1;17401:88;17508:4;17505:1;17498:15;17532:4;17529:1;17522:15;17549:410;17589:7;17612:20;17630:1;17612:20;:::i;:::-;17607:25;;17646:20;17664:1;17646:20;:::i;:::-;17641:25;;17701:1;17698;17694:9;17723:30;17741:11;17723:30;:::i;:::-;17712:41;;17902:1;17893:7;17889:15;17886:1;17883:22;17863:1;17856:9;17836:83;17813:139;;17932:18;;:::i;:::-;17813:139;17597:362;17549:410;;;;:::o;17965:166::-;18105:18;18101:1;18093:6;18089:14;18082:42;17965:166;:::o;18137:366::-;18279:3;18300:67;18364:2;18359:3;18300:67;:::i;:::-;18293:74;;18376:93;18465:3;18376:93;:::i;:::-;18494:2;18489:3;18485:12;18478:19;;18137:366;;;:::o;18509:419::-;18675:4;18713:2;18702:9;18698:18;18690:26;;18762:9;18756:4;18752:20;18748:1;18737:9;18733:17;18726:47;18790:131;18916:4;18790:131;:::i;:::-;18782:139;;18509:419;;;:::o;18934:194::-;18974:4;18994:20;19012:1;18994:20;:::i;:::-;18989:25;;19028:20;19046:1;19028:20;:::i;:::-;19023:25;;19072:1;19069;19065:9;19057:17;;19096:1;19090:4;19087:11;19084:37;;;19101:18;;:::i;:::-;19084:37;18934:194;;;;:::o;19134:180::-;19182:77;19179:1;19172:88;19279:4;19276:1;19269:15;19303:4;19300:1;19293:15;19320:320;19364:6;19401:1;19395:4;19391:12;19381:22;;19448:1;19442:4;19438:12;19469:18;19459:81;;19525:4;19517:6;19513:17;19503:27;;19459:81;19587:2;19579:6;19576:14;19556:18;19553:38;19550:84;;19606:18;;:::i;:::-;19550:84;19371:269;19320:320;;;:::o;19646:97::-;19705:6;19733:3;19723:13;;19646:97;;;;:::o;19749:141::-;19798:4;19821:3;19813:11;;19844:3;19841:1;19834:14;19878:4;19875:1;19865:18;19857:26;;19749:141;;;:::o;19896:93::-;19933:6;19980:2;19975;19968:5;19964:14;19960:23;19950:33;;19896:93;;;:::o;19995:107::-;20039:8;20089:5;20083:4;20079:16;20058:37;;19995:107;;;;:::o;20108:393::-;20177:6;20227:1;20215:10;20211:18;20250:97;20280:66;20269:9;20250:97;:::i;:::-;20368:39;20398:8;20387:9;20368:39;:::i;:::-;20356:51;;20440:4;20436:9;20429:5;20425:21;20416:30;;20489:4;20479:8;20475:19;20468:5;20465:30;20455:40;;20184:317;;20108:393;;;;;:::o;20507:60::-;20535:3;20556:5;20549:12;;20507:60;;;:::o;20573:142::-;20623:9;20656:53;20674:34;20683:24;20701:5;20683:24;:::i;:::-;20674:34;:::i;:::-;20656:53;:::i;:::-;20643:66;;20573:142;;;:::o;20721:75::-;20764:3;20785:5;20778:12;;20721:75;;;:::o;20802:269::-;20912:39;20943:7;20912:39;:::i;:::-;20973:91;21022:41;21046:16;21022:41;:::i;:::-;21014:6;21007:4;21001:11;20973:91;:::i;:::-;20967:4;20960:105;20878:193;20802:269;;;:::o;21077:73::-;21122:3;21077:73;:::o;21156:189::-;21233:32;;:::i;:::-;21274:65;21332:6;21324;21318:4;21274:65;:::i;:::-;21209:136;21156:189;;:::o;21351:186::-;21411:120;21428:3;21421:5;21418:14;21411:120;;;21482:39;21519:1;21512:5;21482:39;:::i;:::-;21455:1;21448:5;21444:13;21435:22;;21411:120;;;21351:186;;:::o;21543:543::-;21644:2;21639:3;21636:11;21633:446;;;21678:38;21710:5;21678:38;:::i;:::-;21762:29;21780:10;21762:29;:::i;:::-;21752:8;21748:44;21945:2;21933:10;21930:18;21927:49;;;21966:8;21951:23;;21927:49;21989:80;22045:22;22063:3;22045:22;:::i;:::-;22035:8;22031:37;22018:11;21989:80;:::i;:::-;21648:431;;21633:446;21543:543;;;:::o;22092:117::-;22146:8;22196:5;22190:4;22186:16;22165:37;;22092:117;;;;:::o;22215:169::-;22259:6;22292:51;22340:1;22336:6;22328:5;22325:1;22321:13;22292:51;:::i;:::-;22288:56;22373:4;22367;22363:15;22353:25;;22266:118;22215:169;;;;:::o;22389:295::-;22465:4;22611:29;22636:3;22630:4;22611:29;:::i;:::-;22603:37;;22673:3;22670:1;22666:11;22660:4;22657:21;22649:29;;22389:295;;;;:::o;22689:1403::-;22813:44;22853:3;22848;22813:44;:::i;:::-;22922:18;22914:6;22911:30;22908:56;;;22944:18;;:::i;:::-;22908:56;22988:38;23020:4;23014:11;22988:38;:::i;:::-;23073:67;23133:6;23125;23119:4;23073:67;:::i;:::-;23167:1;23196:2;23188:6;23185:14;23213:1;23208:632;;;;23884:1;23901:6;23898:84;;;23957:9;23952:3;23948:19;23935:33;23926:42;;23898:84;24008:67;24068:6;24061:5;24008:67;:::i;:::-;24002:4;23995:81;23857:229;23178:908;;23208:632;23260:4;23256:9;23248:6;23244:22;23294:37;23326:4;23294:37;:::i;:::-;23353:1;23367:215;23381:7;23378:1;23375:14;23367:215;;;23467:9;23462:3;23458:19;23445:33;23437:6;23430:49;23518:1;23510:6;23506:14;23496:24;;23565:2;23554:9;23550:18;23537:31;;23404:4;23401:1;23397:12;23392:17;;23367:215;;;23610:6;23601:7;23598:19;23595:186;;;23675:9;23670:3;23666:19;23653:33;23718:48;23760:4;23752:6;23748:17;23737:9;23718:48;:::i;:::-;23710:6;23703:64;23618:163;23595:186;23827:1;23823;23815:6;23811:14;23807:22;23801:4;23794:36;23215:625;;;23178:908;;22788:1304;;;22689:1403;;;:::o;24098:166::-;24238:18;24234:1;24226:6;24222:14;24215:42;24098:166;:::o;24270:366::-;24412:3;24433:67;24497:2;24492:3;24433:67;:::i;:::-;24426:74;;24509:93;24598:3;24509:93;:::i;:::-;24627:2;24622:3;24618:12;24611:19;;24270:366;;;:::o;24642:419::-;24808:4;24846:2;24835:9;24831:18;24823:26;;24895:9;24889:4;24885:20;24881:1;24870:9;24866:17;24859:47;24923:131;25049:4;24923:131;:::i;:::-;24915:139;;24642:419;;;:::o;25067:148::-;25169:11;25206:3;25191:18;;25067:148;;;;:::o;25245:874::-;25348:3;25385:5;25379:12;25414:36;25440:9;25414:36;:::i;:::-;25466:89;25548:6;25543:3;25466:89;:::i;:::-;25459:96;;25586:1;25575:9;25571:17;25602:1;25597:166;;;;25777:1;25772:341;;;;25564:549;;25597:166;25681:4;25677:9;25666;25662:25;25657:3;25650:38;25743:6;25736:14;25729:22;25721:6;25717:35;25712:3;25708:45;25701:52;;25597:166;;25772:341;25839:38;25871:5;25839:38;:::i;:::-;25899:1;25913:154;25927:6;25924:1;25921:13;25913:154;;;26001:7;25995:14;25991:1;25986:3;25982:11;25975:35;26051:1;26042:7;26038:15;26027:26;;25949:4;25946:1;25942:12;25937:17;;25913:154;;;26096:6;26091:3;26087:16;26080:23;;25779:334;;25564:549;;25352:767;;25245:874;;;;:::o;26125:390::-;26231:3;26259:39;26292:5;26259:39;:::i;:::-;26314:89;26396:6;26391:3;26314:89;:::i;:::-;26307:96;;26412:65;26470:6;26465:3;26458:4;26451:5;26447:16;26412:65;:::i;:::-;26502:6;26497:3;26493:16;26486:23;;26235:280;26125:390;;;;:::o;26521:429::-;26698:3;26720:92;26808:3;26799:6;26720:92;:::i;:::-;26713:99;;26829:95;26920:3;26911:6;26829:95;:::i;:::-;26822:102;;26941:3;26934:10;;26521:429;;;;;:::o;26956:168::-;27096:20;27092:1;27084:6;27080:14;27073:44;26956:168;:::o;27130:366::-;27272:3;27293:67;27357:2;27352:3;27293:67;:::i;:::-;27286:74;;27369:93;27458:3;27369:93;:::i;:::-;27487:2;27482:3;27478:12;27471:19;;27130:366;;;:::o;27502:419::-;27668:4;27706:2;27695:9;27691:18;27683:26;;27755:9;27749:4;27745:20;27741:1;27730:9;27726:17;27719:47;27783:131;27909:4;27783:131;:::i;:::-;27775:139;;27502:419;;;:::o;27927:180::-;27975:77;27972:1;27965:88;28072:4;28069:1;28062:15;28096:4;28093:1;28086:15;28113:233;28152:3;28175:24;28193:5;28175:24;:::i;:::-;28166:33;;28221:66;28214:5;28211:77;28208:103;;28291:18;;:::i;:::-;28208:103;28338:1;28331:5;28327:13;28320:20;;28113:233;;;:::o;28352:225::-;28492:34;28488:1;28480:6;28476:14;28469:58;28561:8;28556:2;28548:6;28544:15;28537:33;28352:225;:::o;28583:366::-;28725:3;28746:67;28810:2;28805:3;28746:67;:::i;:::-;28739:74;;28822:93;28911:3;28822:93;:::i;:::-;28940:2;28935:3;28931:12;28924:19;;28583:366;;;:::o;28955:419::-;29121:4;29159:2;29148:9;29144:18;29136:26;;29208:9;29202:4;29198:20;29194:1;29183:9;29179:17;29172:47;29236:131;29362:4;29236:131;:::i;:::-;29228:139;;28955:419;;;:::o;29380:182::-;29520:34;29516:1;29508:6;29504:14;29497:58;29380:182;:::o;29568:366::-;29710:3;29731:67;29795:2;29790:3;29731:67;:::i;:::-;29724:74;;29807:93;29896:3;29807:93;:::i;:::-;29925:2;29920:3;29916:12;29909:19;;29568:366;;;:::o;29940:419::-;30106:4;30144:2;30133:9;30129:18;30121:26;;30193:9;30187:4;30183:20;30179:1;30168:9;30164:17;30157:47;30221:131;30347:4;30221:131;:::i;:::-;30213:139;;29940:419;;;:::o;30365:98::-;30416:6;30450:5;30444:12;30434:22;;30365:98;;;:::o;30469:168::-;30552:11;30586:6;30581:3;30574:19;30626:4;30621:3;30617:14;30602:29;;30469:168;;;;:::o;30643:373::-;30729:3;30757:38;30789:5;30757:38;:::i;:::-;30811:70;30874:6;30869:3;30811:70;:::i;:::-;30804:77;;30890:65;30948:6;30943:3;30936:4;30929:5;30925:16;30890:65;:::i;:::-;30980:29;31002:6;30980:29;:::i;:::-;30975:3;30971:39;30964:46;;30733:283;30643:373;;;;:::o;31022:640::-;31217:4;31255:3;31244:9;31240:19;31232:27;;31269:71;31337:1;31326:9;31322:17;31313:6;31269:71;:::i;:::-;31350:72;31418:2;31407:9;31403:18;31394:6;31350:72;:::i;:::-;31432;31500:2;31489:9;31485:18;31476:6;31432:72;:::i;:::-;31551:9;31545:4;31541:20;31536:2;31525:9;31521:18;31514:48;31579:76;31650:4;31641:6;31579:76;:::i;:::-;31571:84;;31022:640;;;;;;;:::o;31668:141::-;31724:5;31755:6;31749:13;31740:22;;31771:32;31797:5;31771:32;:::i;:::-;31668:141;;;;:::o;31815:349::-;31884:6;31933:2;31921:9;31912:7;31908:23;31904:32;31901:119;;;31939:79;;:::i;:::-;31901:119;32059:1;32084:63;32139:7;32130:6;32119:9;32115:22;32084:63;:::i;:::-;32074:73;;32030:127;31815:349;;;;:::o

Swarm Source

ipfs://ccf69ec178984c9045537db7305698e80a770bc9a5f01416c85fa39ed9d0eea0
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.