ETH Price: $3,807.76 (+6.56%)

Token

ERC-20: Northern Lights (NL)
 

Overview

Max Total Supply

659 NL

Holders

578

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Balance
1 NL
0x242a688a531281808deC15ACa07EaAa1F7Ac562B
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:
Northern_Lights

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

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

//    _   _  ___  ____ _____ _   _ _____ ____  _   _   _     ___ ____ _   _ _____ ____  
//   | \ | |/ _ \|  _ \_   _| | | | ____|  _ \| \ | | | |   |_ _/ ___| | | |_   _/ ___| 
//   |  \| | | | | |_) || | | |_| |  _| | |_) |  \| | | |    | | |  _| |_| | | | \___ \ 
//   | |\  | |_| |  _ < | | |  _  | |___|  _ <| |\  | | |___ | | |_| |  _  | | |  ___) |
//   |_| \_|\___/|_| \_\|_| |_| |_|_____|_| \_\_| \_| |_____|___\____|_| |_| |_| |____/ 
//                                                                                      


// File: @openzeppelin/contracts/utils/Strings.sol


// OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";
    uint8 private constant _ADDRESS_LENGTH = 20;

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        // Inspired by OraclizeAPI's implementation - MIT licence
        // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol

        if (value == 0) {
            return "0";
        }
        uint256 temp = value;
        uint256 digits;
        while (temp != 0) {
            digits++;
            temp /= 10;
        }
        bytes memory buffer = new bytes(digits);
        while (value != 0) {
            digits -= 1;
            buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
            value /= 10;
        }
        return string(buffer);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        if (value == 0) {
            return "0x00";
        }
        uint256 temp = value;
        uint256 length = 0;
        while (temp != 0) {
            length++;
            temp >>= 8;
        }
        return toHexString(value, length);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        bytes memory buffer = new bytes(2 * length + 2);
        buffer[0] = "0";
        buffer[1] = "x";
        for (uint256 i = 2 * length + 1; i > 1; --i) {
            buffer[i] = _HEX_SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }

    /**
     * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation.
     */
    function toHexString(address addr) internal pure returns (string memory) {
        return toHexString(uint256(uint160(addr)), _ADDRESS_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: erc721a/contracts/IERC721A.sol


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

pragma solidity ^0.8.4;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev Returns the total amount of tokens stored by the contract.
     *
     * Burned tokens are calculated here, use `_totalMinted()` if you want to count just minted tokens.
     */
    function totalSupply() external view returns (uint256);

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

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

    // ==============================
    //            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`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes calldata data
    ) external;

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

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

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

    /**
     * @dev 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 standard. See `_mintERC2309` for more details.
     */
    event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to);
}

// File: erc721a/contracts/ERC721A.sol


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

pragma solidity ^0.8.4;


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

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard,
 * including the Metadata extension. Built to optimize for lower gas during batch mints.
 *
 * Assumes serials are sequentially minted starting at `_startTokenId()`
 * (defaults to 0, e.g. 0, 1, 2, 3..).
 *
 * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply.
 *
 * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256).
 */
contract ERC721A is IERC721A {
    // 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 tokenId of the next token 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 => address) private _tokenApprovals;

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

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

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

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

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

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

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

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        // The interface IDs are constants representing the first 4 bytes of the XOR of
        // all function selectors in the interface. See: https://eips.ethereum.org/EIPS/eip-165
        // e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`
        return
            interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165.
            interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721.
            interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata.
    }

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view override returns (uint256) {
        if (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 {
        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;
    }

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

        unchecked {
            if (_startTokenId() <= curr)
                if (curr < _currentIndex) {
                    uint256 packed = _packedOwnerships[curr];
                    // If not burned.
                    if (packed & BITMASK_BURNED == 0) {
                        // Invariant:
                        // There will always be an ownership that has an address and is not burned
                        // before an ownership that does not have an address and is not burned.
                        // Hence, curr will not underflow.
                        //
                        // We can directly compare the packed value.
                        // If the address is zero, packed is zero.
                        while (packed == 0) {
                            packed = _packedOwnerships[--curr];
                        }
                        return packed;
                    }
                }
        }
        revert OwnerQueryForNonexistentToken();
    }

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

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

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

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

    /**
     * @dev 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 See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view override returns (address) {
        return address(uint160(_packedOwnershipOf(tokenId)));
    }

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

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

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        if (!_exists(tokenId)) revert URIQueryForNonexistentToken();

        string memory baseURI = _baseURI();
        return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _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 '';
    }

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

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

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

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

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public virtual override {
        transferFrom(from, to, tokenId);
        if (to.code.length != 0)
            if (!_checkContractOnERC721Received(from, to, tokenId, _data)) {
                revert TransferToNonERC721ReceiverImplementer();
            }
    }

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

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

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

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

        // Overflows are incredibly unrealistic.
        // `balance` 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 tokenId = startTokenId;
            uint256 end = startTokenId + quantity;
            do {
                emit Transfer(address(0), to, tokenId++);
            } while (tokenId < end);

            _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 {
        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 Returns the storage slot and value for the approved address of `tokenId`.
     */
    function _getApprovedAddress(uint256 tokenId)
        private
        view
        returns (uint256 approvedAddressSlot, address approvedAddress)
    {
        mapping(uint256 => address) storage tokenApprovalsPtr = _tokenApprovals;
        // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId]`.
        assembly {
            // Compute the slot.
            mstore(0x00, tokenId)
            mstore(0x20, tokenApprovalsPtr.slot)
            approvedAddressSlot := keccak256(0x00, 0x40)
            // Load the slot's value from storage.
            approvedAddress := sload(approvedAddressSlot)
        }
    }

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

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId);

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

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

        // The nested ifs save around 20+ gas over a compound boolean condition.
        if (!_isOwnerOrApproved(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 `_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) = _getApprovedAddress(tokenId);

        if (approvalCheck) {
            // The nested ifs save around 20+ gas over a compound boolean condition.
            if (!_isOwnerOrApproved(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++;
        }
    }

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target contract.
     *
     * @param from address representing the previous owner of the given token ID
     * @param to target address that will receive the tokens
     * @param tokenId uint256 ID of the token to be transferred
     * @param _data bytes optional data to send along with the call
     * @return bool whether the call correctly returned the expected magic value
     */
    function _checkContractOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        try 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))
                }
            }
        }
    }

    /**
     * @dev Directly sets the extra data for the ownership data `index`.
     */
    function _setExtraDataAt(uint256 index, uint24 extraData) internal {
        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 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;
    }

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

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function _toString(uint256 value) internal pure returns (string memory ptr) {
        assembly {
            // The maximum value of a uint256 contains 78 digits (1 byte per digit),
            // but we allocate 128 bytes to keep the free memory pointer 32-byte word aliged.
            // We will need 1 32-byte word to store the length,
            // and 3 32-byte words to store a maximum of 78 digits. Total: 32 + 3 * 32 = 128.
            ptr := add(mload(0x40), 128)
            // Update the free memory pointer to allocate.
            mstore(0x40, ptr)

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

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

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

// File: contracts/NorthernLights.sol


//    _   _  ___  ____ _____ _   _ _____ ____  _   _   _     ___ ____ _   _ _____ ____  
//   | \ | |/ _ \|  _ \_   _| | | | ____|  _ \| \ | | | |   |_ _/ ___| | | |_   _/ ___| 
//   |  \| | | | | |_) || | | |_| |  _| | |_) |  \| | | |    | | |  _| |_| | | | \___ \ 
//   | |\  | |_| |  _ < | | |  _  | |___|  _ <| |\  | | |___ | | |_| |  _  | | |  ___) |
//   |_| \_|\___/|_| \_\|_| |_| |_|_____|_| \_\_| \_| |_____|___\____|_| |_| |_| |____/ 
//                                                                                      


//SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;






contract Northern_Lights is Ownable, ERC721A {
    uint256 constant public MAX_SUPPLY = 1000;
    

    uint256 public publicPrice = 0.005 ether;

    uint256 constant public PUBLIC_MINT_LIMIT_TXN = 2;
    uint256 constant public PUBLIC_MINT_LIMIT = 4;

    string private revealedURI = "ipfs://QmdD629PiUPUUco4YYvik276JkTUvKDpTxub4mGZPSRfvX/";

    

    bool public paused = false;
    bool public revealed = true;

    bool public freeSale = false;
    bool public publicSale = false;

    
    address constant internal DEV_ADDRESS = 0x9ABB35294EbbDDE863a7119E639900Def8F18B36;
    
    

    mapping(address => bool) public userMintedFree;
    mapping(address => uint256) public numUserMints;

    constructor(string memory _name, string memory _symbol, string memory _baseUri) ERC721A("Northern Lights", "NL") { }

    
    function _startTokenId() internal view virtual override returns (uint256) {
        return 1;
    }

    function refundOverpay(uint256 price) private {
        if (msg.value > price) {
            (bool succ, ) = payable(msg.sender).call{
                value: (msg.value - price)
            }("");
            require(succ, "Transfer failed");
        }
        else if (msg.value < price) {
            revert("Not enough ETH sent");
        }
    }

    
    
    function freeMint(uint256 quantity) external payable mintCompliance(quantity) {
        require(freeSale, "Free sale inactive");
        require(msg.value == 0, "This phase is free");
        require(quantity == 1, "Only #1 free");

        uint256 newSupply = totalSupply() + quantity;
        
        require(newSupply <= 600, "Not enough free supply");

        require(!userMintedFree[msg.sender], "User max free limit");
        
        userMintedFree[msg.sender] = true;

        if(newSupply == 600) {
            freeSale = false;
            publicSale = true;
        }

        _safeMint(msg.sender, quantity);
    }

    function publicMint(uint256 quantity) external payable mintCompliance(quantity) {
        require(publicSale, "Public sale inactive");
        require(quantity <= PUBLIC_MINT_LIMIT_TXN, "Quantity too high");

        uint256 price = publicPrice;
        uint256 currMints = numUserMints[msg.sender];
                
        require(currMints + quantity <= PUBLIC_MINT_LIMIT, "User max mint limit");
        
        refundOverpay(price * quantity);

        numUserMints[msg.sender] = (currMints + quantity);

        _safeMint(msg.sender, quantity);
    }

    
    function walletOfOwner(address _owner) public view returns (uint256[] memory)
    {
        uint256 ownerTokenCount = balanceOf(_owner);
        uint256[] memory ownedTokenIds = new uint256[](ownerTokenCount);
        uint256 currentTokenId = 1;
        uint256 ownedTokenIndex = 0;

        while (ownedTokenIndex < ownerTokenCount && currentTokenId <= MAX_SUPPLY) {
            address currentTokenOwner = ownerOf(currentTokenId);

            if (currentTokenOwner == _owner) {
                ownedTokenIds[ownedTokenIndex] = currentTokenId;

                ownedTokenIndex++;
            }

        currentTokenId++;
        }

        return ownedTokenIds;
    }

    function tokenURI(uint256 _tokenId) public view override returns (string memory) {
        
        require(_exists(_tokenId), "ERC721Metadata: URI query for nonexistent token");
        
        if (revealed) {
            return string(abi.encodePacked(revealedURI, Strings.toString(_tokenId), ".json"));
        }
        else {
            return revealedURI;
        }
    }

    function setPublicPrice(uint256 _publicPrice) public onlyOwner {
        publicPrice = _publicPrice;
    }

    function setBaseURI(string memory _baseUri) public onlyOwner {
        revealedURI = _baseUri;
    }


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

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

    function setPublicEnabled(bool _state) public onlyOwner {
        publicSale = _state;
        freeSale = !_state;
    }
    function setFreeEnabled(bool _state) public onlyOwner {
        freeSale = _state;
        publicSale = !_state;
    }


    function withdraw() external payable onlyOwner {
        
        uint256 currBalance = address(this).balance;

        (bool succ, ) = payable(DEV_ADDRESS).call{
            value: (currBalance * 10000) / 10000
        }("0x9ABB35294EbbDDE863a7119E639900Def8F18B36");
        require(succ, "Dev transfer failed");

    }

    
    function mintToUser(uint256 quantity, address receiver) public onlyOwner mintCompliance(quantity) {
        _safeMint(receiver, quantity);
    }

   

    modifier mintCompliance(uint256 quantity) {
        require(!paused, "Contract is paused");
        require(totalSupply() + quantity <= MAX_SUPPLY, "Not enough mints left");
        require(tx.origin == msg.sender, "No contract minting");
        _;
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"string","name":"_baseUri","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"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_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PUBLIC_MINT_LIMIT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PUBLIC_MINT_LIMIT_TXN","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"freeMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"freeSale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"address","name":"receiver","type":"address"}],"name":"mintToUser","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"numUserMints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"publicPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseUri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setFreeEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setPublicEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_publicPrice","type":"uint256"}],"name":"setPublicPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setRevealed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userMintedFree","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"}]

6611c37937e0800060095560e060405260366080818152906200252f60a03980516200003491600a9160209091019062000163565b50600b805463ffffffff19166101001790553480156200005357600080fd5b5060405162002565380380620025658339810160408190526200007691620002c0565b6040518060400160405280600f81526020016e4e6f72746865726e204c696768747360881b81525060405180604001604052806002815260200161139360f21b815250620000d3620000cd6200010f60201b60201c565b62000113565b8151620000e890600390602085019062000163565b508051620000fe90600490602084019062000163565b506001805550620003a49350505050565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b828054620001719062000351565b90600052602060002090601f016020900481019282620001955760008555620001e0565b82601f10620001b057805160ff1916838001178555620001e0565b82800160010185558215620001e0579182015b82811115620001e0578251825591602001919060010190620001c3565b50620001ee929150620001f2565b5090565b5b80821115620001ee5760008155600101620001f3565b600082601f8301126200021b57600080fd5b81516001600160401b03808211156200023857620002386200038e565b604051601f8301601f19908116603f011681019082821181831017156200026357620002636200038e565b816040528381526020925086838588010111156200028057600080fd5b600091505b83821015620002a4578582018301518183018401529082019062000285565b83821115620002b65760008385830101525b9695505050505050565b600080600060608486031215620002d657600080fd5b83516001600160401b0380821115620002ee57600080fd5b620002fc8783880162000209565b945060208601519150808211156200031357600080fd5b620003218783880162000209565b935060408601519150808211156200033857600080fd5b50620003478682870162000209565b9150509250925092565b600181811c908216806200036657607f821691505b602082108114156200038857634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b61217b80620003b46000396000f3fe6080604052600436106102255760003560e01c806370a0823111610123578063a22cb465116100ab578063c62752551161006f578063c62752551461062e578063c87b56dd1461064e578063e0a808531461066e578063e985e9c51461068e578063f2fde38b146106d757600080fd5b8063a22cb465146105a3578063a4b41a15146105c3578063a945bf80146105e3578063b88d4fde146105f9578063bceae77b1461061957600080fd5b80637c928fe9116100f25780637c928fe91461051d57806388dedc14146105305780638da5cb5b146105505780639007bd721461056e57806395d89b411461058e57600080fd5b806370a082311461049b578063715018a6146104bb5780637aeb7242146104d05780637af3a1af146104fd57600080fd5b806332cb6b0c116101b1578063518302271161017557806351830227146103f257806355f804b3146104115780635c975abb146104315780636352211e1461044b57806364f640761461046b57600080fd5b806332cb6b0c1461036657806333bc1c5c1461037c5780633ccfd60b1461039d57806342842e0e146103a5578063438b6300146103c557600080fd5b806316c38b3c116101f857806316c38b3c146102db57806318160ddd146102fb57806323b872dd1461031e5780632db115441461033e5780632fecf20b1461035157600080fd5b806301ffc9a71461022a57806306fdde031461025f578063081812fc14610281578063095ea7b3146102b9575b600080fd5b34801561023657600080fd5b5061024a610245366004611d01565b6106f7565b60405190151581526020015b60405180910390f35b34801561026b57600080fd5b50610274610749565b6040516102569190611f44565b34801561028d57600080fd5b506102a161029c366004611d84565b6107db565b6040516001600160a01b039091168152602001610256565b3480156102c557600080fd5b506102d96102d4366004611cbc565b61081f565b005b3480156102e757600080fd5b506102d96102f6366004611ce6565b6108bf565b34801561030757600080fd5b506103106108da565b604051908152602001610256565b34801561032a57600080fd5b506102d9610339366004611bda565b6108e8565b6102d961034c366004611d84565b610a79565b34801561035d57600080fd5b50610310600281565b34801561037257600080fd5b506103106103e881565b34801561038857600080fd5b50600b5461024a906301000000900460ff1681565b6102d9610c31565b3480156103b157600080fd5b506102d96103c0366004611bda565b610d31565b3480156103d157600080fd5b506103e56103e0366004611b8c565b610d51565b6040516102569190611f00565b3480156103fe57600080fd5b50600b5461024a90610100900460ff1681565b34801561041d57600080fd5b506102d961042c366004611d3b565b610e32565b34801561043d57600080fd5b50600b5461024a9060ff1681565b34801561045757600080fd5b506102a1610466366004611d84565b610e4d565b34801561047757600080fd5b5061024a610486366004611b8c565b600c6020526000908152604090205460ff1681565b3480156104a757600080fd5b506103106104b6366004611b8c565b610e58565b3480156104c757600080fd5b506102d9610ea7565b3480156104dc57600080fd5b506103106104eb366004611b8c565b600d6020526000908152604090205481565b34801561050957600080fd5b506102d9610518366004611ce6565b610ebb565b6102d961052b366004611d84565b610ef2565b34801561053c57600080fd5b506102d961054b366004611ce6565b611133565b34801561055c57600080fd5b506000546001600160a01b03166102a1565b34801561057a57600080fd5b506102d9610589366004611d9d565b61116b565b34801561059a57600080fd5b506102746111f5565b3480156105af57600080fd5b506102d96105be366004611c92565b611204565b3480156105cf57600080fd5b50600b5461024a9062010000900460ff1681565b3480156105ef57600080fd5b5061031060095481565b34801561060557600080fd5b506102d9610614366004611c16565b61129a565b34801561062557600080fd5b50610310600481565b34801561063a57600080fd5b506102d9610649366004611d84565b6112de565b34801561065a57600080fd5b50610274610669366004611d84565b6112eb565b34801561067a57600080fd5b506102d9610689366004611ce6565b611433565b34801561069a57600080fd5b5061024a6106a9366004611ba7565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b3480156106e357600080fd5b506102d96106f2366004611b8c565b611455565b60006301ffc9a760e01b6001600160e01b03198316148061072857506380ac58cd60e01b6001600160e01b03198316145b806107435750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600380546107589061206d565b80601f01602080910402602001604051908101604052809291908181526020018280546107849061206d565b80156107d15780601f106107a6576101008083540402835291602001916107d1565b820191906000526020600020905b8154815290600101906020018083116107b457829003601f168201915b5050505050905090565b60006107e6826114ce565b610803576040516333d1c03960e21b815260040160405180910390fd5b506000908152600760205260409020546001600160a01b031690565b600061082a82610e4d565b9050336001600160a01b038216146108635761084681336106a9565b610863576040516367d9dca160e11b815260040160405180910390fd5b60008281526007602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6108c7611503565b600b805460ff1916911515919091179055565b600254600154036000190190565b60006108f38261155d565b9050836001600160a01b0316816001600160a01b0316146109265760405162a1148160e81b815260040160405180910390fd5b60008281526007602052604090208054338082146001600160a01b038816909114176109735761095686336106a9565b61097357604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661099a57604051633a954ecd60e21b815260040160405180910390fd5b80156109a557600082555b6001600160a01b038681166000908152600660205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260056020526040902055600160e11b8316610a305760018401600081815260056020526040902054610a2e576001548114610a2e5760008181526005602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b600b54819060ff1615610aa75760405162461bcd60e51b8152600401610a9e90611f84565b60405180910390fd5b6103e881610ab36108da565b610abd9190611fdf565b1115610adb5760405162461bcd60e51b8152600401610a9e90611fb0565b323314610afa5760405162461bcd60e51b8152600401610a9e90611f57565b600b546301000000900460ff16610b4a5760405162461bcd60e51b81526020600482015260146024820152735075626c69632073616c6520696e61637469766560601b6044820152606401610a9e565b6002821115610b8f5760405162461bcd60e51b81526020600482015260116024820152700a2eac2dce8d2e8f240e8dede40d0d2ced607b1b6044820152606401610a9e565b600954336000908152600d60205260409020546004610bae8583611fdf565b1115610bf25760405162461bcd60e51b8152602060048201526013602482015272155cd95c881b585e081b5a5b9d081b1a5b5a5d606a1b6044820152606401610a9e565b610c04610bff858461200b565b6115cd565b610c0e8482611fdf565b336000818152600d6020526040902091909155610c2b90856116ac565b50505050565b610c39611503565b476000739abb35294ebbdde863a7119e639900def8f18b36612710610c5e848261200b565b610c689190611ff7565b6040517f30783941424233353239344562624444453836336137313139453633393930308152692232b31c23189c21199b60b11b6020820152602a0160006040518083038185875af1925050503d8060008114610ce1576040519150601f19603f3d011682016040523d82523d6000602084013e610ce6565b606091505b5050905080610d2d5760405162461bcd60e51b815260206004820152601360248201527211195d881d1c985b9cd9995c8819985a5b1959606a1b6044820152606401610a9e565b5050565b610d4c8383836040518060200160405280600081525061129a565b505050565b60606000610d5e83610e58565b905060008167ffffffffffffffff811115610d7b57610d7b612119565b604051908082528060200260200182016040528015610da4578160200160208202803683370190505b509050600160005b8381108015610dbd57506103e88211155b15610e28576000610dcd83610e4d565b9050866001600160a01b0316816001600160a01b03161415610e155782848381518110610dfc57610dfc612103565b602090810291909101015281610e11816120a8565b9250505b82610e1f816120a8565b93505050610dac565b5090949350505050565b610e3a611503565b8051610d2d90600a906020840190611a56565b60006107438261155d565b60006001600160a01b038216610e81576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526006602052604090205467ffffffffffffffff1690565b610eaf611503565b610eb960006116c6565b565b610ec3611503565b600b805463ffff000019166301000000921580159390930262ff00001916176201000092909202919091179055565b600b54819060ff1615610f175760405162461bcd60e51b8152600401610a9e90611f84565b6103e881610f236108da565b610f2d9190611fdf565b1115610f4b5760405162461bcd60e51b8152600401610a9e90611fb0565b323314610f6a5760405162461bcd60e51b8152600401610a9e90611f57565b600b5462010000900460ff16610fb75760405162461bcd60e51b8152602060048201526012602482015271467265652073616c6520696e61637469766560701b6044820152606401610a9e565b3415610ffa5760405162461bcd60e51b815260206004820152601260248201527154686973207068617365206973206672656560701b6044820152606401610a9e565b816001146110395760405162461bcd60e51b815260206004820152600c60248201526b4f6e6c79202331206672656560a01b6044820152606401610a9e565b6000826110446108da565b61104e9190611fdf565b905061025881111561109b5760405162461bcd60e51b81526020600482015260166024820152754e6f7420656e6f756768206672656520737570706c7960501b6044820152606401610a9e565b336000908152600c602052604090205460ff16156110f15760405162461bcd60e51b8152602060048201526013602482015272155cd95c881b585e08199c9959481b1a5b5a5d606a1b6044820152606401610a9e565b336000908152600c60205260409020805460ff1916600117905561025881141561112957600b805463ffff0000191663010000001790555b610d4c33846116ac565b61113b611503565b600b805463ffff0000191662010000921580159390930263ff000000191617630100000092909202919091179055565b611173611503565b600b54829060ff16156111985760405162461bcd60e51b8152600401610a9e90611f84565b6103e8816111a46108da565b6111ae9190611fdf565b11156111cc5760405162461bcd60e51b8152600401610a9e90611fb0565b3233146111eb5760405162461bcd60e51b8152600401610a9e90611f57565b610d4c82846116ac565b6060600480546107589061206d565b6001600160a01b03821633141561122e5760405163b06307db60e01b815260040160405180910390fd5b3360008181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6112a58484846108e8565b6001600160a01b0383163b15610c2b576112c184848484611716565b610c2b576040516368d2bf6b60e11b815260040160405180910390fd5b6112e6611503565b600955565b60606112f6826114ce565b61135a5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610a9e565b600b54610100900460ff161561139c57600a6113758361180e565b604051602001611386929190611e08565b6040516020818303038152906040529050919050565b600a80546113a99061206d565b80601f01602080910402602001604051908101604052809291908181526020018280546113d59061206d565b80156114225780601f106113f757610100808354040283529160200191611422565b820191906000526020600020905b81548152906001019060200180831161140557829003601f168201915b50505050509050919050565b919050565b61143b611503565b600b80549115156101000261ff0019909216919091179055565b61145d611503565b6001600160a01b0381166114c25760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a9e565b6114cb816116c6565b50565b6000816001111580156114e2575060015482105b8015610743575050600090815260056020526040902054600160e01b161590565b6000546001600160a01b03163314610eb95760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a9e565b600081806001116115b4576001548110156115b457600081815260056020526040902054600160e01b81166115b2575b806115ab57506000190160008181526005602052604090205461158d565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b80341115611666576000336115e2833461202a565b604051600081818185875af1925050503d806000811461161e576040519150601f19603f3d011682016040523d82523d6000602084013e611623565b606091505b5050905080610d2d5760405162461bcd60e51b815260206004820152600f60248201526e151c985b9cd9995c8819985a5b1959608a1b6044820152606401610a9e565b803410156114cb5760405162461bcd60e51b8152602060048201526013602482015272139bdd08195b9bdd59da08115512081cd95b9d606a1b6044820152606401610a9e565b610d2d82826040518060200160405280600081525061190c565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a029061174b903390899088908890600401611ec3565b602060405180830381600087803b15801561176557600080fd5b505af1925050508015611795575060408051601f3d908101601f1916820190925261179291810190611d1e565b60015b6117f0573d8080156117c3576040519150601f19603f3d011682016040523d82523d6000602084013e6117c8565b606091505b5080516117e8576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060816118325750506040805180820190915260018152600360fc1b602082015290565b8160005b811561185c5780611846816120a8565b91506118559050600a83611ff7565b9150611836565b60008167ffffffffffffffff81111561187757611877612119565b6040519080825280601f01601f1916602001820160405280156118a1576020820181803683370190505b5090505b8415611806576118b660018361202a565b91506118c3600a866120c3565b6118ce906030611fdf565b60f81b8183815181106118e3576118e3612103565b60200101906001600160f81b031916908160001a905350611905600a86611ff7565b94506118a5565b6119168383611979565b6001600160a01b0383163b15610d4c576001548281035b6119406000868380600101945086611716565b61195d576040516368d2bf6b60e11b815260040160405180910390fd5b81811061192d57816001541461197257600080fd5b5050505050565b6001546001600160a01b0383166119a257604051622e076360e81b815260040160405180910390fd5b816119c05760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038316600081815260066020526040902080546801000000000000000185020190554260a01b6001841460e11b1717600082815260056020526040902055808281015b6040516001830192906001600160a01b038716906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808210611a0a5760015550505050565b828054611a629061206d565b90600052602060002090601f016020900481019282611a845760008555611aca565b82601f10611a9d57805160ff1916838001178555611aca565b82800160010185558215611aca579182015b82811115611aca578251825591602001919060010190611aaf565b50611ad6929150611ada565b5090565b5b80821115611ad65760008155600101611adb565b600067ffffffffffffffff80841115611b0a57611b0a612119565b604051601f8501601f19908116603f01168101908282118183101715611b3257611b32612119565b81604052809350858152868686011115611b4b57600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b038116811461142e57600080fd5b8035801515811461142e57600080fd5b600060208284031215611b9e57600080fd5b6115ab82611b65565b60008060408385031215611bba57600080fd5b611bc383611b65565b9150611bd160208401611b65565b90509250929050565b600080600060608486031215611bef57600080fd5b611bf884611b65565b9250611c0660208501611b65565b9150604084013590509250925092565b60008060008060808587031215611c2c57600080fd5b611c3585611b65565b9350611c4360208601611b65565b925060408501359150606085013567ffffffffffffffff811115611c6657600080fd5b8501601f81018713611c7757600080fd5b611c8687823560208401611aef565b91505092959194509250565b60008060408385031215611ca557600080fd5b611cae83611b65565b9150611bd160208401611b7c565b60008060408385031215611ccf57600080fd5b611cd883611b65565b946020939093013593505050565b600060208284031215611cf857600080fd5b6115ab82611b7c565b600060208284031215611d1357600080fd5b81356115ab8161212f565b600060208284031215611d3057600080fd5b81516115ab8161212f565b600060208284031215611d4d57600080fd5b813567ffffffffffffffff811115611d6457600080fd5b8201601f81018413611d7557600080fd5b61180684823560208401611aef565b600060208284031215611d9657600080fd5b5035919050565b60008060408385031215611db057600080fd5b82359150611bd160208401611b65565b60008151808452611dd8816020860160208601612041565b601f01601f19169290920160200192915050565b60008151611dfe818560208601612041565b9290920192915050565b600080845481600182811c915080831680611e2457607f831692505b6020808410821415611e4457634e487b7160e01b86526022600452602486fd5b818015611e585760018114611e6957611e96565b60ff19861689528489019650611e96565b60008b81526020902060005b86811015611e8e5781548b820152908501908301611e75565b505084890196505b505050505050611eba611ea98286611dec565b64173539b7b760d91b815260050190565b95945050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611ef690830184611dc0565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b81811015611f3857835183529284019291840191600101611f1c565b50909695505050505050565b6020815260006115ab6020830184611dc0565b6020808252601390820152724e6f20636f6e7472616374206d696e74696e6760681b604082015260600190565b60208082526012908201527110dbdb9d1c9858dd081a5cc81c185d5cd95960721b604082015260600190565b602080825260159082015274139bdd08195b9bdd59da081b5a5b9d1cc81b19599d605a1b604082015260600190565b60008219821115611ff257611ff26120d7565b500190565b600082612006576120066120ed565b500490565b6000816000190483118215151615612025576120256120d7565b500290565b60008282101561203c5761203c6120d7565b500390565b60005b8381101561205c578181015183820152602001612044565b83811115610c2b5750506000910152565b600181811c9082168061208157607f821691505b602082108114156120a257634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156120bc576120bc6120d7565b5060010190565b6000826120d2576120d26120ed565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b0319811681146114cb57600080fdfea264697066735822122074cd5e7f6d96190595929ccc0481063a8ea6c2a8fff1c5aa7808b3550d81da4664736f6c63430008070033697066733a2f2f516d6444363239506955505555636f34595976696b3237364a6b5455764b447054787562346d475a5053526676582f000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000000f4e6f72746865726e204c6967687473000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000024e4c0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d6444363239506955505555636f34595976696b3237364a6b5455764b447054787562346d475a5053526676582f00000000000000000000

Deployed Bytecode

0x6080604052600436106102255760003560e01c806370a0823111610123578063a22cb465116100ab578063c62752551161006f578063c62752551461062e578063c87b56dd1461064e578063e0a808531461066e578063e985e9c51461068e578063f2fde38b146106d757600080fd5b8063a22cb465146105a3578063a4b41a15146105c3578063a945bf80146105e3578063b88d4fde146105f9578063bceae77b1461061957600080fd5b80637c928fe9116100f25780637c928fe91461051d57806388dedc14146105305780638da5cb5b146105505780639007bd721461056e57806395d89b411461058e57600080fd5b806370a082311461049b578063715018a6146104bb5780637aeb7242146104d05780637af3a1af146104fd57600080fd5b806332cb6b0c116101b1578063518302271161017557806351830227146103f257806355f804b3146104115780635c975abb146104315780636352211e1461044b57806364f640761461046b57600080fd5b806332cb6b0c1461036657806333bc1c5c1461037c5780633ccfd60b1461039d57806342842e0e146103a5578063438b6300146103c557600080fd5b806316c38b3c116101f857806316c38b3c146102db57806318160ddd146102fb57806323b872dd1461031e5780632db115441461033e5780632fecf20b1461035157600080fd5b806301ffc9a71461022a57806306fdde031461025f578063081812fc14610281578063095ea7b3146102b9575b600080fd5b34801561023657600080fd5b5061024a610245366004611d01565b6106f7565b60405190151581526020015b60405180910390f35b34801561026b57600080fd5b50610274610749565b6040516102569190611f44565b34801561028d57600080fd5b506102a161029c366004611d84565b6107db565b6040516001600160a01b039091168152602001610256565b3480156102c557600080fd5b506102d96102d4366004611cbc565b61081f565b005b3480156102e757600080fd5b506102d96102f6366004611ce6565b6108bf565b34801561030757600080fd5b506103106108da565b604051908152602001610256565b34801561032a57600080fd5b506102d9610339366004611bda565b6108e8565b6102d961034c366004611d84565b610a79565b34801561035d57600080fd5b50610310600281565b34801561037257600080fd5b506103106103e881565b34801561038857600080fd5b50600b5461024a906301000000900460ff1681565b6102d9610c31565b3480156103b157600080fd5b506102d96103c0366004611bda565b610d31565b3480156103d157600080fd5b506103e56103e0366004611b8c565b610d51565b6040516102569190611f00565b3480156103fe57600080fd5b50600b5461024a90610100900460ff1681565b34801561041d57600080fd5b506102d961042c366004611d3b565b610e32565b34801561043d57600080fd5b50600b5461024a9060ff1681565b34801561045757600080fd5b506102a1610466366004611d84565b610e4d565b34801561047757600080fd5b5061024a610486366004611b8c565b600c6020526000908152604090205460ff1681565b3480156104a757600080fd5b506103106104b6366004611b8c565b610e58565b3480156104c757600080fd5b506102d9610ea7565b3480156104dc57600080fd5b506103106104eb366004611b8c565b600d6020526000908152604090205481565b34801561050957600080fd5b506102d9610518366004611ce6565b610ebb565b6102d961052b366004611d84565b610ef2565b34801561053c57600080fd5b506102d961054b366004611ce6565b611133565b34801561055c57600080fd5b506000546001600160a01b03166102a1565b34801561057a57600080fd5b506102d9610589366004611d9d565b61116b565b34801561059a57600080fd5b506102746111f5565b3480156105af57600080fd5b506102d96105be366004611c92565b611204565b3480156105cf57600080fd5b50600b5461024a9062010000900460ff1681565b3480156105ef57600080fd5b5061031060095481565b34801561060557600080fd5b506102d9610614366004611c16565b61129a565b34801561062557600080fd5b50610310600481565b34801561063a57600080fd5b506102d9610649366004611d84565b6112de565b34801561065a57600080fd5b50610274610669366004611d84565b6112eb565b34801561067a57600080fd5b506102d9610689366004611ce6565b611433565b34801561069a57600080fd5b5061024a6106a9366004611ba7565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b3480156106e357600080fd5b506102d96106f2366004611b8c565b611455565b60006301ffc9a760e01b6001600160e01b03198316148061072857506380ac58cd60e01b6001600160e01b03198316145b806107435750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600380546107589061206d565b80601f01602080910402602001604051908101604052809291908181526020018280546107849061206d565b80156107d15780601f106107a6576101008083540402835291602001916107d1565b820191906000526020600020905b8154815290600101906020018083116107b457829003601f168201915b5050505050905090565b60006107e6826114ce565b610803576040516333d1c03960e21b815260040160405180910390fd5b506000908152600760205260409020546001600160a01b031690565b600061082a82610e4d565b9050336001600160a01b038216146108635761084681336106a9565b610863576040516367d9dca160e11b815260040160405180910390fd5b60008281526007602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6108c7611503565b600b805460ff1916911515919091179055565b600254600154036000190190565b60006108f38261155d565b9050836001600160a01b0316816001600160a01b0316146109265760405162a1148160e81b815260040160405180910390fd5b60008281526007602052604090208054338082146001600160a01b038816909114176109735761095686336106a9565b61097357604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661099a57604051633a954ecd60e21b815260040160405180910390fd5b80156109a557600082555b6001600160a01b038681166000908152600660205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260056020526040902055600160e11b8316610a305760018401600081815260056020526040902054610a2e576001548114610a2e5760008181526005602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b600b54819060ff1615610aa75760405162461bcd60e51b8152600401610a9e90611f84565b60405180910390fd5b6103e881610ab36108da565b610abd9190611fdf565b1115610adb5760405162461bcd60e51b8152600401610a9e90611fb0565b323314610afa5760405162461bcd60e51b8152600401610a9e90611f57565b600b546301000000900460ff16610b4a5760405162461bcd60e51b81526020600482015260146024820152735075626c69632073616c6520696e61637469766560601b6044820152606401610a9e565b6002821115610b8f5760405162461bcd60e51b81526020600482015260116024820152700a2eac2dce8d2e8f240e8dede40d0d2ced607b1b6044820152606401610a9e565b600954336000908152600d60205260409020546004610bae8583611fdf565b1115610bf25760405162461bcd60e51b8152602060048201526013602482015272155cd95c881b585e081b5a5b9d081b1a5b5a5d606a1b6044820152606401610a9e565b610c04610bff858461200b565b6115cd565b610c0e8482611fdf565b336000818152600d6020526040902091909155610c2b90856116ac565b50505050565b610c39611503565b476000739abb35294ebbdde863a7119e639900def8f18b36612710610c5e848261200b565b610c689190611ff7565b6040517f30783941424233353239344562624444453836336137313139453633393930308152692232b31c23189c21199b60b11b6020820152602a0160006040518083038185875af1925050503d8060008114610ce1576040519150601f19603f3d011682016040523d82523d6000602084013e610ce6565b606091505b5050905080610d2d5760405162461bcd60e51b815260206004820152601360248201527211195d881d1c985b9cd9995c8819985a5b1959606a1b6044820152606401610a9e565b5050565b610d4c8383836040518060200160405280600081525061129a565b505050565b60606000610d5e83610e58565b905060008167ffffffffffffffff811115610d7b57610d7b612119565b604051908082528060200260200182016040528015610da4578160200160208202803683370190505b509050600160005b8381108015610dbd57506103e88211155b15610e28576000610dcd83610e4d565b9050866001600160a01b0316816001600160a01b03161415610e155782848381518110610dfc57610dfc612103565b602090810291909101015281610e11816120a8565b9250505b82610e1f816120a8565b93505050610dac565b5090949350505050565b610e3a611503565b8051610d2d90600a906020840190611a56565b60006107438261155d565b60006001600160a01b038216610e81576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526006602052604090205467ffffffffffffffff1690565b610eaf611503565b610eb960006116c6565b565b610ec3611503565b600b805463ffff000019166301000000921580159390930262ff00001916176201000092909202919091179055565b600b54819060ff1615610f175760405162461bcd60e51b8152600401610a9e90611f84565b6103e881610f236108da565b610f2d9190611fdf565b1115610f4b5760405162461bcd60e51b8152600401610a9e90611fb0565b323314610f6a5760405162461bcd60e51b8152600401610a9e90611f57565b600b5462010000900460ff16610fb75760405162461bcd60e51b8152602060048201526012602482015271467265652073616c6520696e61637469766560701b6044820152606401610a9e565b3415610ffa5760405162461bcd60e51b815260206004820152601260248201527154686973207068617365206973206672656560701b6044820152606401610a9e565b816001146110395760405162461bcd60e51b815260206004820152600c60248201526b4f6e6c79202331206672656560a01b6044820152606401610a9e565b6000826110446108da565b61104e9190611fdf565b905061025881111561109b5760405162461bcd60e51b81526020600482015260166024820152754e6f7420656e6f756768206672656520737570706c7960501b6044820152606401610a9e565b336000908152600c602052604090205460ff16156110f15760405162461bcd60e51b8152602060048201526013602482015272155cd95c881b585e08199c9959481b1a5b5a5d606a1b6044820152606401610a9e565b336000908152600c60205260409020805460ff1916600117905561025881141561112957600b805463ffff0000191663010000001790555b610d4c33846116ac565b61113b611503565b600b805463ffff0000191662010000921580159390930263ff000000191617630100000092909202919091179055565b611173611503565b600b54829060ff16156111985760405162461bcd60e51b8152600401610a9e90611f84565b6103e8816111a46108da565b6111ae9190611fdf565b11156111cc5760405162461bcd60e51b8152600401610a9e90611fb0565b3233146111eb5760405162461bcd60e51b8152600401610a9e90611f57565b610d4c82846116ac565b6060600480546107589061206d565b6001600160a01b03821633141561122e5760405163b06307db60e01b815260040160405180910390fd5b3360008181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6112a58484846108e8565b6001600160a01b0383163b15610c2b576112c184848484611716565b610c2b576040516368d2bf6b60e11b815260040160405180910390fd5b6112e6611503565b600955565b60606112f6826114ce565b61135a5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610a9e565b600b54610100900460ff161561139c57600a6113758361180e565b604051602001611386929190611e08565b6040516020818303038152906040529050919050565b600a80546113a99061206d565b80601f01602080910402602001604051908101604052809291908181526020018280546113d59061206d565b80156114225780601f106113f757610100808354040283529160200191611422565b820191906000526020600020905b81548152906001019060200180831161140557829003601f168201915b50505050509050919050565b919050565b61143b611503565b600b80549115156101000261ff0019909216919091179055565b61145d611503565b6001600160a01b0381166114c25760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a9e565b6114cb816116c6565b50565b6000816001111580156114e2575060015482105b8015610743575050600090815260056020526040902054600160e01b161590565b6000546001600160a01b03163314610eb95760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a9e565b600081806001116115b4576001548110156115b457600081815260056020526040902054600160e01b81166115b2575b806115ab57506000190160008181526005602052604090205461158d565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b80341115611666576000336115e2833461202a565b604051600081818185875af1925050503d806000811461161e576040519150601f19603f3d011682016040523d82523d6000602084013e611623565b606091505b5050905080610d2d5760405162461bcd60e51b815260206004820152600f60248201526e151c985b9cd9995c8819985a5b1959608a1b6044820152606401610a9e565b803410156114cb5760405162461bcd60e51b8152602060048201526013602482015272139bdd08195b9bdd59da08115512081cd95b9d606a1b6044820152606401610a9e565b610d2d82826040518060200160405280600081525061190c565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a029061174b903390899088908890600401611ec3565b602060405180830381600087803b15801561176557600080fd5b505af1925050508015611795575060408051601f3d908101601f1916820190925261179291810190611d1e565b60015b6117f0573d8080156117c3576040519150601f19603f3d011682016040523d82523d6000602084013e6117c8565b606091505b5080516117e8576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060816118325750506040805180820190915260018152600360fc1b602082015290565b8160005b811561185c5780611846816120a8565b91506118559050600a83611ff7565b9150611836565b60008167ffffffffffffffff81111561187757611877612119565b6040519080825280601f01601f1916602001820160405280156118a1576020820181803683370190505b5090505b8415611806576118b660018361202a565b91506118c3600a866120c3565b6118ce906030611fdf565b60f81b8183815181106118e3576118e3612103565b60200101906001600160f81b031916908160001a905350611905600a86611ff7565b94506118a5565b6119168383611979565b6001600160a01b0383163b15610d4c576001548281035b6119406000868380600101945086611716565b61195d576040516368d2bf6b60e11b815260040160405180910390fd5b81811061192d57816001541461197257600080fd5b5050505050565b6001546001600160a01b0383166119a257604051622e076360e81b815260040160405180910390fd5b816119c05760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038316600081815260066020526040902080546801000000000000000185020190554260a01b6001841460e11b1717600082815260056020526040902055808281015b6040516001830192906001600160a01b038716906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808210611a0a5760015550505050565b828054611a629061206d565b90600052602060002090601f016020900481019282611a845760008555611aca565b82601f10611a9d57805160ff1916838001178555611aca565b82800160010185558215611aca579182015b82811115611aca578251825591602001919060010190611aaf565b50611ad6929150611ada565b5090565b5b80821115611ad65760008155600101611adb565b600067ffffffffffffffff80841115611b0a57611b0a612119565b604051601f8501601f19908116603f01168101908282118183101715611b3257611b32612119565b81604052809350858152868686011115611b4b57600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b038116811461142e57600080fd5b8035801515811461142e57600080fd5b600060208284031215611b9e57600080fd5b6115ab82611b65565b60008060408385031215611bba57600080fd5b611bc383611b65565b9150611bd160208401611b65565b90509250929050565b600080600060608486031215611bef57600080fd5b611bf884611b65565b9250611c0660208501611b65565b9150604084013590509250925092565b60008060008060808587031215611c2c57600080fd5b611c3585611b65565b9350611c4360208601611b65565b925060408501359150606085013567ffffffffffffffff811115611c6657600080fd5b8501601f81018713611c7757600080fd5b611c8687823560208401611aef565b91505092959194509250565b60008060408385031215611ca557600080fd5b611cae83611b65565b9150611bd160208401611b7c565b60008060408385031215611ccf57600080fd5b611cd883611b65565b946020939093013593505050565b600060208284031215611cf857600080fd5b6115ab82611b7c565b600060208284031215611d1357600080fd5b81356115ab8161212f565b600060208284031215611d3057600080fd5b81516115ab8161212f565b600060208284031215611d4d57600080fd5b813567ffffffffffffffff811115611d6457600080fd5b8201601f81018413611d7557600080fd5b61180684823560208401611aef565b600060208284031215611d9657600080fd5b5035919050565b60008060408385031215611db057600080fd5b82359150611bd160208401611b65565b60008151808452611dd8816020860160208601612041565b601f01601f19169290920160200192915050565b60008151611dfe818560208601612041565b9290920192915050565b600080845481600182811c915080831680611e2457607f831692505b6020808410821415611e4457634e487b7160e01b86526022600452602486fd5b818015611e585760018114611e6957611e96565b60ff19861689528489019650611e96565b60008b81526020902060005b86811015611e8e5781548b820152908501908301611e75565b505084890196505b505050505050611eba611ea98286611dec565b64173539b7b760d91b815260050190565b95945050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611ef690830184611dc0565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b81811015611f3857835183529284019291840191600101611f1c565b50909695505050505050565b6020815260006115ab6020830184611dc0565b6020808252601390820152724e6f20636f6e7472616374206d696e74696e6760681b604082015260600190565b60208082526012908201527110dbdb9d1c9858dd081a5cc81c185d5cd95960721b604082015260600190565b602080825260159082015274139bdd08195b9bdd59da081b5a5b9d1cc81b19599d605a1b604082015260600190565b60008219821115611ff257611ff26120d7565b500190565b600082612006576120066120ed565b500490565b6000816000190483118215151615612025576120256120d7565b500290565b60008282101561203c5761203c6120d7565b500390565b60005b8381101561205c578181015183820152602001612044565b83811115610c2b5750506000910152565b600181811c9082168061208157607f821691505b602082108114156120a257634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156120bc576120bc6120d7565b5060010190565b6000826120d2576120d26120ed565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b0319811681146114cb57600080fdfea264697066735822122074cd5e7f6d96190595929ccc0481063a8ea6c2a8fff1c5aa7808b3550d81da4664736f6c63430008070033

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

000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000000f4e6f72746865726e204c6967687473000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000024e4c0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d6444363239506955505555636f34595976696b3237364a6b5455764b447054787562346d475a5053526676582f00000000000000000000

-----Decoded View---------------
Arg [0] : _name (string): Northern Lights
Arg [1] : _symbol (string): NL
Arg [2] : _baseUri (string): ipfs://QmdD629PiUPUUco4YYvik276JkTUvKDpTxub4mGZPSRfvX/

-----Encoded View---------------
10 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [3] : 000000000000000000000000000000000000000000000000000000000000000f
Arg [4] : 4e6f72746865726e204c69676874730000000000000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [6] : 4e4c000000000000000000000000000000000000000000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [8] : 697066733a2f2f516d6444363239506955505555636f34595976696b3237364a
Arg [9] : 6b5455764b447054787562346d475a5053526676582f00000000000000000000


Deployed Bytecode Sourcemap

52014:5125:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21226:615;;;;;;;;;;-1:-1:-1;21226:615:0;;;;;:::i;:::-;;:::i;:::-;;;8478:14:1;;8471:22;8453:41;;8441:2;8426:18;21226:615:0;;;;;;;;26873:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;28819:204::-;;;;;;;;;;-1:-1:-1;28819:204:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;7139:32:1;;;7121:51;;7109:2;7094:18;28819:204:0;6975:203:1;28367:386:0;;;;;;;;;;-1:-1:-1;28367:386:0;;;;;:::i;:::-;;:::i;:::-;;55925:83;;;;;;;;;;-1:-1:-1;55925:83:0;;;;;:::i;:::-;;:::i;20280:315::-;;;;;;;;;;;;;:::i;:::-;;;14921:25:1;;;14909:2;14894:18;20280:315:0;14775:177:1;38084:2800:0;;;;;;;;;;-1:-1:-1;38084:2800:0;;;;;:::i;:::-;;:::i;54018:571::-;;;;;;:::i;:::-;;:::i;52171:49::-;;;;;;;;;;;;52219:1;52171:49;;52066:41;;;;;;;;;;;;52103:4;52066:41;;52487:30;;;;;;;;;;-1:-1:-1;52487:30:0;;;;;;;;;;;56371:330;;;:::i;29709:185::-;;;;;;;;;;-1:-1:-1;29709:185:0;;;;;:::i;:::-;;:::i;54603:689::-;;;;;;;;;;-1:-1:-1;54603:689:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;52416:27::-;;;;;;;;;;-1:-1:-1;52416:27:0;;;;;;;;;;;55813:102;;;;;;;;;;-1:-1:-1;55813:102:0;;;;;:::i;:::-;;:::i;52383:26::-;;;;;;;;;;-1:-1:-1;52383:26:0;;;;;;;;26662:144;;;;;;;;;;-1:-1:-1;26662:144:0;;;;;:::i;:::-;;:::i;52635:46::-;;;;;;;;;;-1:-1:-1;52635:46:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;21905:224;;;;;;;;;;-1:-1:-1;21905:224:0;;;;;:::i;:::-;;:::i;5817:103::-;;;;;;;;;;;;;:::i;52688:47::-;;;;;;;;;;-1:-1:-1;52688:47:0;;;;;:::i;:::-;;;;;;;;;;;;;;56111:123;;;;;;;;;;-1:-1:-1;56111:123:0;;;;;:::i;:::-;;:::i;53362:648::-;;;;;;:::i;:::-;;:::i;56240:121::-;;;;;;;;;;-1:-1:-1;56240:121:0;;;;;:::i;:::-;;:::i;5169:87::-;;;;;;;;;;-1:-1:-1;5215:7:0;5242:6;-1:-1:-1;;;;;5242:6:0;5169:87;;56715:146;;;;;;;;;;-1:-1:-1;56715:146:0;;;;;:::i;:::-;;:::i;27042:104::-;;;;;;;;;;;;;:::i;29095:308::-;;;;;;;;;;-1:-1:-1;29095:308:0;;;;;:::i;:::-;;:::i;52452:28::-;;;;;;;;;;-1:-1:-1;52452:28:0;;;;;;;;;;;52122:40;;;;;;;;;;;;;;;;29965:399;;;;;;;;;;-1:-1:-1;29965:399:0;;;;;:::i;:::-;;:::i;52227:45::-;;;;;;;;;;;;52271:1;52227:45;;55697:108;;;;;;;;;;-1:-1:-1;55697:108:0;;;;;:::i;:::-;;:::i;55300:389::-;;;;;;;;;;-1:-1:-1;55300:389:0;;;;;:::i;:::-;;:::i;56016:87::-;;;;;;;;;;-1:-1:-1;56016:87:0;;;;;:::i;:::-;;:::i;29474:164::-;;;;;;;;;;-1:-1:-1;29474:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;29595:25:0;;;29571:4;29595:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;29474:164;6075:201;;;;;;;;;;-1:-1:-1;6075:201:0;;;;;:::i;:::-;;:::i;21226:615::-;21311:4;-1:-1:-1;;;;;;;;;21611:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;21688:25:0;;;21611:102;:179;;;-1:-1:-1;;;;;;;;;;21765:25:0;;;21611:179;21591:199;21226:615;-1:-1:-1;;21226:615:0:o;26873:100::-;26927:13;26960:5;26953:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26873:100;:::o;28819:204::-;28887:7;28912:16;28920:7;28912;:16::i;:::-;28907:64;;28937:34;;-1:-1:-1;;;28937:34:0;;;;;;;;;;;28907:64;-1:-1:-1;28991:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;28991:24:0;;28819:204::o;28367:386::-;28440:13;28456:16;28464:7;28456;:16::i;:::-;28440:32;-1:-1:-1;49267:10:0;-1:-1:-1;;;;;28489:28:0;;;28485:175;;28537:44;28554:5;49267:10;29474:164;:::i;28537:44::-;28532:128;;28609:35;;-1:-1:-1;;;28609:35:0;;;;;;;;;;;28532:128;28672:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;28672:29:0;-1:-1:-1;;;;;28672:29:0;;;;;;;;;28717:28;;28672:24;;28717:28;;;;;;;28429:324;28367:386;;:::o;55925:83::-;5055:13;:11;:13::i;:::-;55985:6:::1;:15:::0;;-1:-1:-1;;55985:15:0::1;::::0;::::1;;::::0;;;::::1;::::0;;55925:83::o;20280:315::-;20546:12;;52966:1;20530:13;:28;-1:-1:-1;;20530:46:0;;20280:315::o;38084:2800::-;38218:27;38248;38267:7;38248:18;:27::i;:::-;38218:57;;38333:4;-1:-1:-1;;;;;38292:45:0;38308:19;-1:-1:-1;;;;;38292:45:0;;38288:86;;38346:28;;-1:-1:-1;;;38346:28:0;;;;;;;;;;;38288:86;38388:27;36814:21;;;36641:15;36856:4;36849:36;36938:4;36922:21;;37028:26;;49267:10;37781:30;;;-1:-1:-1;;;;;37479:26:0;;37760:19;;;37757:55;38567:174;;38654:43;38671:4;49267:10;29474:164;:::i;38654:43::-;38649:92;;38706:35;;-1:-1:-1;;;38706:35:0;;;;;;;;;;;38649:92;-1:-1:-1;;;;;38758:16:0;;38754:52;;38783:23;;-1:-1:-1;;;38783:23:0;;;;;;;;;;;38754:52;38955:15;38952:160;;;39095:1;39074:19;39067:30;38952:160;-1:-1:-1;;;;;39490:24:0;;;;;;;:18;:24;;;;;;39488:26;;-1:-1:-1;;39488:26:0;;;39559:22;;;;;;;;;39557:24;;-1:-1:-1;39557:24:0;;;26561:11;26537:22;26533:40;26520:62;-1:-1:-1;;;26520:62:0;39852:26;;;;:17;:26;;;;;:174;-1:-1:-1;;;40146:46:0;;40142:626;;40250:1;40240:11;;40218:19;40373:30;;;:17;:30;;;;;;40369:384;;40511:13;;40496:11;:28;40492:242;;40658:30;;;;:17;:30;;;;;:52;;;40492:242;40199:569;40142:626;40815:7;40811:2;-1:-1:-1;;;;;40796:27:0;40805:4;-1:-1:-1;;;;;40796:27:0;;;;;;;;;;;38207:2677;;;38084:2800;;;:::o;54018:571::-;56938:6;;54088:8;;56938:6;;56937:7;56929:38;;;;-1:-1:-1;;;56929:38:0;;;;;;;:::i;:::-;;;;;;;;;52103:4;57002:8;56986:13;:11;:13::i;:::-;:24;;;;:::i;:::-;:38;;56978:72;;;;-1:-1:-1;;;56978:72:0;;;;;;;:::i;:::-;57069:9;57082:10;57069:23;57061:55;;;;-1:-1:-1;;;57061:55:0;;;;;;;:::i;:::-;54117:10:::1;::::0;;;::::1;;;54109:43;;;::::0;-1:-1:-1;;;54109:43:0;;12886:2:1;54109:43:0::1;::::0;::::1;12868:21:1::0;12925:2;12905:18;;;12898:30;-1:-1:-1;;;12944:18:1;;;12937:50;13004:18;;54109:43:0::1;12684:344:1::0;54109:43:0::1;52219:1;54171:8;:33;;54163:63;;;::::0;-1:-1:-1;;;54163:63:0;;13235:2:1;54163:63:0::1;::::0;::::1;13217:21:1::0;13274:2;13254:18;;;13247:30;-1:-1:-1;;;13293:18:1;;;13286:47;13350:18;;54163:63:0::1;13033:341:1::0;54163:63:0::1;54255:11;::::0;54310:10:::1;54239:13;54297:24:::0;;;:12:::1;:24;::::0;;;;;52271:1:::1;54358:20;54370:8:::0;54297:24;54358:20:::1;:::i;:::-;:41;;54350:73;;;::::0;-1:-1:-1;;;54350:73:0;;10030:2:1;54350:73:0::1;::::0;::::1;10012:21:1::0;10069:2;10049:18;;;10042:30;-1:-1:-1;;;10088:18:1;;;10081:49;10147:18;;54350:73:0::1;9828:343:1::0;54350:73:0::1;54444:31;54458:16;54466:8:::0;54458:5;:16:::1;:::i;:::-;54444:13;:31::i;:::-;54516:20;54528:8:::0;54516:9;:20:::1;:::i;:::-;54501:10;54488:24;::::0;;;:12:::1;:24;::::0;;;;:49;;;;54550:31:::1;::::0;54572:8;54550:9:::1;:31::i;:::-;54098:491;;54018:571:::0;;:::o;56371:330::-;5055:13;:11;:13::i;:::-;56461:21:::1;56439:19;52572:42;56582:5;56559:19;56461:21:::0;56582:5;56559:19:::1;:::i;:::-;56558:29;;;;:::i;:::-;56511:133;::::0;6858:34:1;6846:47;;-1:-1:-1;;;6918:2:1;6909:12;;6902:34;6961:2;6952:12;56511:133:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56495:149;;;56663:4;56655:36;;;::::0;-1:-1:-1;;;56655:36:0;;13581:2:1;56655:36:0::1;::::0;::::1;13563:21:1::0;13620:2;13600:18;;;13593:30;-1:-1:-1;;;13639:18:1;;;13632:49;13698:18;;56655:36:0::1;13379:343:1::0;56655:36:0::1;56418:283;;56371:330::o:0;29709:185::-;29847:39;29864:4;29870:2;29874:7;29847:39;;;;;;;;;;;;:16;:39::i;:::-;29709:185;;;:::o;54603:689::-;54663:16;54697:23;54723:17;54733:6;54723:9;:17::i;:::-;54697:43;;54751:30;54798:15;54784:30;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;54784:30:0;-1:-1:-1;54751:63:0;-1:-1:-1;54850:1:0;54825:22;54902:350;54927:15;54909;:33;:65;;;;;52103:4;54946:14;:28;;54909:65;54902:350;;;54991:25;55019:23;55027:14;55019:7;:23::i;:::-;54991:51;;55084:6;-1:-1:-1;;;;;55063:27:0;:17;-1:-1:-1;;;;;55063:27:0;;55059:153;;;55144:14;55111:13;55125:15;55111:30;;;;;;;;:::i;:::-;;;;;;;;;;:47;55179:17;;;;:::i;:::-;;;;55059:153;55224:16;;;;:::i;:::-;;;;54976:276;54902:350;;;-1:-1:-1;55271:13:0;;54603:689;-1:-1:-1;;;;54603:689:0:o;55813:102::-;5055:13;:11;:13::i;:::-;55885:22;;::::1;::::0;:11:::1;::::0;:22:::1;::::0;::::1;::::0;::::1;:::i;26662:144::-:0;26726:7;26769:27;26788:7;26769:18;:27::i;21905:224::-;21969:7;-1:-1:-1;;;;;21993:19:0;;21989:60;;22021:28;;-1:-1:-1;;;22021:28:0;;;;;;;;;;;21989:60;-1:-1:-1;;;;;;22067:25:0;;;;;:18;:25;;;;;;16460:13;22067:54;;21905:224::o;5817:103::-;5055:13;:11;:13::i;:::-;5882:30:::1;5909:1;5882:18;:30::i;:::-;5817:103::o:0;56111:123::-;5055:13;:11;:13::i;:::-;56178:10:::1;:19:::0;;-1:-1:-1;;56208:18:0;56178:19;;::::1;::::0;::::1;::::0;;;::::1;-1:-1:-1::0;;56208:18:0;;;;;;::::1;::::0;;;::::1;::::0;;56111:123::o;53362:648::-;56938:6;;53430:8;;56938:6;;56937:7;56929:38;;;;-1:-1:-1;;;56929:38:0;;;;;;;:::i;:::-;52103:4;57002:8;56986:13;:11;:13::i;:::-;:24;;;;:::i;:::-;:38;;56978:72;;;;-1:-1:-1;;;56978:72:0;;;;;;;:::i;:::-;57069:9;57082:10;57069:23;57061:55;;;;-1:-1:-1;;;57061:55:0;;;;;;;:::i;:::-;53459:8:::1;::::0;;;::::1;;;53451:39;;;::::0;-1:-1:-1;;;53451:39:0;;10719:2:1;53451:39:0::1;::::0;::::1;10701:21:1::0;10758:2;10738:18;;;10731:30;-1:-1:-1;;;10777:18:1;;;10770:48;10835:18;;53451:39:0::1;10517:342:1::0;53451:39:0::1;53509:9;:14:::0;53501:45:::1;;;::::0;-1:-1:-1;;;53501:45:0;;12191:2:1;53501:45:0::1;::::0;::::1;12173:21:1::0;12230:2;12210:18;;;12203:30;-1:-1:-1;;;12249:18:1;;;12242:48;12307:18;;53501:45:0::1;11989:342:1::0;53501:45:0::1;53565:8;53577:1;53565:13;53557:38;;;::::0;-1:-1:-1;;;53557:38:0;;10378:2:1;53557:38:0::1;::::0;::::1;10360:21:1::0;10417:2;10397:18;;;10390:30;-1:-1:-1;;;10436:18:1;;;10429:42;10488:18;;53557:38:0::1;10176:336:1::0;53557:38:0::1;53608:17;53644:8;53628:13;:11;:13::i;:::-;:24;;;;:::i;:::-;53608:44;;53694:3;53681:9;:16;;53673:51;;;::::0;-1:-1:-1;;;53673:51:0;;14276:2:1;53673:51:0::1;::::0;::::1;14258:21:1::0;14315:2;14295:18;;;14288:30;-1:-1:-1;;;14334:18:1;;;14327:52;14396:18;;53673:51:0::1;14074:346:1::0;53673:51:0::1;53761:10;53746:26;::::0;;;:14:::1;:26;::::0;;;;;::::1;;53745:27;53737:59;;;::::0;-1:-1:-1;;;53737:59:0;;11427:2:1;53737:59:0::1;::::0;::::1;11409:21:1::0;11466:2;11446:18;;;11439:30;-1:-1:-1;;;11485:18:1;;;11478:49;11544:18;;53737:59:0::1;11225:343:1::0;53737:59:0::1;53832:10;53817:26;::::0;;;:14:::1;:26;::::0;;;;:33;;-1:-1:-1;;53817:33:0::1;53846:4;53817:33;::::0;;53879:3:::1;53866:16:::0;::::1;53863:96;;;53899:8;:16:::0;;-1:-1:-1;;53930:17:0;;::::1;::::0;;53863:96:::1;53971:31;53981:10;53993:8;53971:9;:31::i;56240:121::-:0;5055:13;:11;:13::i;:::-;56305:8:::1;:17:::0;;-1:-1:-1;;56333:20:0;56305:17;;::::1;::::0;::::1;::::0;;;::::1;-1:-1:-1::0;;56333:20:0;;;;;;::::1;::::0;;;::::1;::::0;;56240:121::o;56715:146::-;5055:13;:11;:13::i;:::-;56938:6:::1;::::0;56803:8;;56938:6:::1;;56937:7;56929:38;;;;-1:-1:-1::0;;;56929:38:0::1;;;;;;;:::i;:::-;52103:4;57002:8;56986:13;:11;:13::i;:::-;:24;;;;:::i;:::-;:38;;56978:72;;;;-1:-1:-1::0;;;56978:72:0::1;;;;;;;:::i;:::-;57069:9;57082:10;57069:23;57061:55;;;;-1:-1:-1::0;;;57061:55:0::1;;;;;;;:::i;:::-;56824:29:::2;56834:8;56844;56824:9;:29::i;27042:104::-:0;27098:13;27131:7;27124:14;;;;;:::i;29095:308::-;-1:-1:-1;;;;;29194:31:0;;49267:10;29194:31;29190:61;;;29234:17;;-1:-1:-1;;;29234:17:0;;;;;;;;;;;29190:61;49267:10;29264:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;29264:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;29264:60:0;;;;;;;;;;29340:55;;8453:41:1;;;29264:49:0;;49267:10;29340:55;;8426:18:1;29340:55:0;;;;;;;29095:308;;:::o;29965:399::-;30132:31;30145:4;30151:2;30155:7;30132:12;:31::i;:::-;-1:-1:-1;;;;;30178:14:0;;;:19;30174:183;;30217:56;30248:4;30254:2;30258:7;30267:5;30217:30;:56::i;:::-;30212:145;;30301:40;;-1:-1:-1;;;30301:40:0;;;;;;;;;;;55697:108;5055:13;:11;:13::i;:::-;55771:11:::1;:26:::0;55697:108::o;55300:389::-;55366:13;55410:17;55418:8;55410:7;:17::i;:::-;55402:77;;;;-1:-1:-1;;;55402:77:0;;11775:2:1;55402:77:0;;;11757:21:1;11814:2;11794:18;;;11787:30;11853:34;11833:18;;;11826:62;-1:-1:-1;;;11904:18:1;;;11897:45;11959:19;;55402:77:0;11573:411:1;55402:77:0;55504:8;;;;;;;55500:182;;;55560:11;55573:26;55590:8;55573:16;:26::i;:::-;55543:66;;;;;;;;;:::i;:::-;;;;;;;;;;;;;55529:81;;55300:389;;;:::o;55500:182::-;55659:11;55652:18;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55300:389;;;:::o;55500:182::-;55300:389;;;:::o;56016:87::-;5055:13;:11;:13::i;:::-;56078:8:::1;:17:::0;;;::::1;;;;-1:-1:-1::0;;56078:17:0;;::::1;::::0;;;::::1;::::0;;56016:87::o;6075:201::-;5055:13;:11;:13::i;:::-;-1:-1:-1;;;;;6164:22:0;::::1;6156:73;;;::::0;-1:-1:-1;;;6156:73:0;;8931:2:1;6156:73:0::1;::::0;::::1;8913:21:1::0;8970:2;8950:18;;;8943:30;9009:34;8989:18;;;8982:62;-1:-1:-1;;;9060:18:1;;;9053:36;9106:19;;6156:73:0::1;8729:402:1::0;6156:73:0::1;6240:28;6259:8;6240:18;:28::i;:::-;6075:201:::0;:::o;30619:273::-;30676:4;30732:7;52966:1;30713:26;;:66;;;;;30766:13;;30756:7;:23;30713:66;:152;;;;-1:-1:-1;;30817:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;30817:43:0;:48;;30619:273::o;5334:132::-;5215:7;5242:6;-1:-1:-1;;;;;5242:6:0;49267:10;5398:23;5390:68;;;;-1:-1:-1;;;5390:68:0;;11066:2:1;5390:68:0;;;11048:21:1;;;11085:18;;;11078:30;11144:34;11124:18;;;11117:62;11196:18;;5390:68:0;10864:356:1;23579:1129:0;23646:7;23681;;52966:1;23730:23;23726:915;;23783:13;;23776:4;:20;23772:869;;;23821:14;23838:23;;;:17;:23;;;;;;-1:-1:-1;;;23927:23:0;;23923:699;;24446:113;24453:11;24446:113;;-1:-1:-1;;;24524:6:0;24506:25;;;;:17;:25;;;;;;24446:113;;;24592:6;23579:1129;-1:-1:-1;;;23579:1129:0:o;23923:699::-;23798:843;23772:869;24669:31;;-1:-1:-1;;;24669:31:0;;;;;;;;;;;52983:359;53056:5;53044:9;:17;53040:295;;;53079:9;53102:10;53145:17;53157:5;53145:9;:17;:::i;:::-;53094:88;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53078:104;;;53205:4;53197:32;;;;-1:-1:-1;;;53197:32:0;;9338:2:1;53197:32:0;;;9320:21:1;9377:2;9357:18;;;9350:30;-1:-1:-1;;;9396:18:1;;;9389:45;9451:18;;53197:32:0;9136:339:1;53040:295:0;53272:5;53260:9;:17;53256:79;;;53294:29;;-1:-1:-1;;;53294:29:0;;12538:2:1;53294:29:0;;;12520:21:1;12577:2;12557:18;;;12550:30;-1:-1:-1;;;12596:18:1;;;12589:49;12655:18;;53294:29:0;12336:343:1;30976:104:0;31045:27;31055:2;31059:8;31045:27;;;;;;;;;;;;:9;:27::i;6436:191::-;6510:16;6529:6;;-1:-1:-1;;;;;6546:17:0;;;-1:-1:-1;;;;;;6546:17:0;;;;;;6579:40;;6529:6;;;;;;;6579:40;;6510:16;6579:40;6499:128;6436:191;:::o;44835:716::-;45019:88;;-1:-1:-1;;;45019:88:0;;44998:4;;-1:-1:-1;;;;;45019:45:0;;;;;:88;;49267:10;;45086:4;;45092:7;;45101:5;;45019:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;45019:88:0;;;;;;;;-1:-1:-1;;45019:88:0;;;;;;;;;;;;:::i;:::-;;;45015:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;45302:13:0;;45298:235;;45348:40;;-1:-1:-1;;;45348:40:0;;;;;;;;;;;45298:235;45491:6;45485:13;45476:6;45472:2;45468:15;45461:38;45015:529;-1:-1:-1;;;;;;45178:64:0;-1:-1:-1;;;45178:64:0;;-1:-1:-1;45015:529:0;44835:716;;;;;;:::o;974:723::-;1030:13;1251:10;1247:53;;-1:-1:-1;;1278:10:0;;;;;;;;;;;;-1:-1:-1;;;1278:10:0;;;;;974:723::o;1247:53::-;1325:5;1310:12;1366:78;1373:9;;1366:78;;1399:8;;;;:::i;:::-;;-1:-1:-1;1422:10:0;;-1:-1:-1;1430:2:0;1422:10;;:::i;:::-;;;1366:78;;;1454:19;1486:6;1476:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1476:17:0;;1454:39;;1504:154;1511:10;;1504:154;;1538:11;1548:1;1538:11;;:::i;:::-;;-1:-1:-1;1607:10:0;1615:2;1607:5;:10;:::i;:::-;1594:24;;:2;:24;:::i;:::-;1581:39;;1564:6;1571;1564:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;1564:56:0;;;;;;;;-1:-1:-1;1635:11:0;1644:2;1635:11;;:::i;:::-;;;1504:154;;31496:681;31619:19;31625:2;31629:8;31619:5;:19::i;:::-;-1:-1:-1;;;;;31680:14:0;;;:19;31676:483;;31734:13;;31782:14;;;31815:233;31846:62;31885:1;31889:2;31893:7;;;;;;31902:5;31846:30;:62::i;:::-;31841:167;;31944:40;;-1:-1:-1;;;31944:40:0;;;;;;;;;;;31841:167;32043:3;32035:5;:11;31815:233;;32130:3;32113:13;;:20;32109:34;;32135:8;;;32109:34;31701:458;;31496:681;;;:::o;32450:1529::-;32538:13;;-1:-1:-1;;;;;32566:16:0;;32562:48;;32591:19;;-1:-1:-1;;;32591:19:0;;;;;;;;;;;32562:48;32625:13;32621:44;;32647:18;;-1:-1:-1;;;32647:18:0;;;;;;;;;;;32621:44;-1:-1:-1;;;;;33153:22:0;;;;;;:18;:22;;16597:2;33153:22;;:70;;33191:31;33179:44;;33153:70;;;26561:11;26537:22;26533:40;-1:-1:-1;28271:15:0;;28246:23;28242:45;26530:51;26520:62;33466:31;;;;:17;:31;;;;;:173;33484:12;33715:23;;;33753:101;33780:35;;33805:9;;;;;-1:-1:-1;;;;;33780:35:0;;;33797:1;;33780:35;;33797:1;;33780:35;33849:3;33839:7;:13;33753:101;;33870:13;:19;-1:-1:-1;29709:185:0;;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:631:1;78:5;108:18;149:2;141:6;138:14;135:40;;;155:18;;:::i;:::-;230:2;224:9;198:2;284:15;;-1:-1:-1;;280:24:1;;;306:2;276:33;272:42;260:55;;;330:18;;;350:22;;;327:46;324:72;;;376:18;;:::i;:::-;416:10;412:2;405:22;445:6;436:15;;475:6;467;460:22;515:3;506:6;501:3;497:16;494:25;491:45;;;532:1;529;522:12;491:45;582:6;577:3;570:4;562:6;558:17;545:44;637:1;630:4;621:6;613;609:19;605:30;598:41;;;;14:631;;;;;:::o;650:173::-;718:20;;-1:-1:-1;;;;;767:31:1;;757:42;;747:70;;813:1;810;803:12;828:160;893:20;;949:13;;942:21;932:32;;922:60;;978:1;975;968:12;993:186;1052:6;1105:2;1093:9;1084:7;1080:23;1076:32;1073:52;;;1121:1;1118;1111:12;1073:52;1144:29;1163:9;1144:29;:::i;1184:260::-;1252:6;1260;1313:2;1301:9;1292:7;1288:23;1284:32;1281:52;;;1329:1;1326;1319:12;1281:52;1352:29;1371:9;1352:29;:::i;:::-;1342:39;;1400:38;1434:2;1423:9;1419:18;1400:38;:::i;:::-;1390:48;;1184:260;;;;;:::o;1449:328::-;1526:6;1534;1542;1595:2;1583:9;1574:7;1570:23;1566:32;1563:52;;;1611:1;1608;1601:12;1563:52;1634:29;1653:9;1634:29;:::i;:::-;1624:39;;1682:38;1716:2;1705:9;1701:18;1682:38;:::i;:::-;1672:48;;1767:2;1756:9;1752:18;1739:32;1729:42;;1449:328;;;;;:::o;1782:666::-;1877:6;1885;1893;1901;1954:3;1942:9;1933:7;1929:23;1925:33;1922:53;;;1971:1;1968;1961:12;1922:53;1994:29;2013:9;1994:29;:::i;:::-;1984:39;;2042:38;2076:2;2065:9;2061:18;2042:38;:::i;:::-;2032:48;;2127:2;2116:9;2112:18;2099:32;2089:42;;2182:2;2171:9;2167:18;2154:32;2209:18;2201:6;2198:30;2195:50;;;2241:1;2238;2231:12;2195:50;2264:22;;2317:4;2309:13;;2305:27;-1:-1:-1;2295:55:1;;2346:1;2343;2336:12;2295:55;2369:73;2434:7;2429:2;2416:16;2411:2;2407;2403:11;2369:73;:::i;:::-;2359:83;;;1782:666;;;;;;;:::o;2453:254::-;2518:6;2526;2579:2;2567:9;2558:7;2554:23;2550:32;2547:52;;;2595:1;2592;2585:12;2547:52;2618:29;2637:9;2618:29;:::i;:::-;2608:39;;2666:35;2697:2;2686:9;2682:18;2666:35;:::i;2712:254::-;2780:6;2788;2841:2;2829:9;2820:7;2816:23;2812:32;2809:52;;;2857:1;2854;2847:12;2809:52;2880:29;2899:9;2880:29;:::i;:::-;2870:39;2956:2;2941:18;;;;2928:32;;-1:-1:-1;;;2712:254:1:o;2971:180::-;3027:6;3080:2;3068:9;3059:7;3055:23;3051:32;3048:52;;;3096:1;3093;3086:12;3048:52;3119:26;3135:9;3119:26;:::i;3156:245::-;3214:6;3267:2;3255:9;3246:7;3242:23;3238:32;3235:52;;;3283:1;3280;3273:12;3235:52;3322:9;3309:23;3341:30;3365:5;3341:30;:::i;3406:249::-;3475:6;3528:2;3516:9;3507:7;3503:23;3499:32;3496:52;;;3544:1;3541;3534:12;3496:52;3576:9;3570:16;3595:30;3619:5;3595:30;:::i;3660:450::-;3729:6;3782:2;3770:9;3761:7;3757:23;3753:32;3750:52;;;3798:1;3795;3788:12;3750:52;3838:9;3825:23;3871:18;3863:6;3860:30;3857:50;;;3903:1;3900;3893:12;3857:50;3926:22;;3979:4;3971:13;;3967:27;-1:-1:-1;3957:55:1;;4008:1;4005;3998:12;3957:55;4031:73;4096:7;4091:2;4078:16;4073:2;4069;4065:11;4031:73;:::i;4115:180::-;4174:6;4227:2;4215:9;4206:7;4202:23;4198:32;4195:52;;;4243:1;4240;4233:12;4195:52;-1:-1:-1;4266:23:1;;4115:180;-1:-1:-1;4115:180:1:o;4300:254::-;4368:6;4376;4429:2;4417:9;4408:7;4404:23;4400:32;4397:52;;;4445:1;4442;4435:12;4397:52;4481:9;4468:23;4458:33;;4510:38;4544:2;4533:9;4529:18;4510:38;:::i;4559:257::-;4600:3;4638:5;4632:12;4665:6;4660:3;4653:19;4681:63;4737:6;4730:4;4725:3;4721:14;4714:4;4707:5;4703:16;4681:63;:::i;:::-;4798:2;4777:15;-1:-1:-1;;4773:29:1;4764:39;;;;4805:4;4760:50;;4559:257;-1:-1:-1;;4559:257:1:o;4821:185::-;4863:3;4901:5;4895:12;4916:52;4961:6;4956:3;4949:4;4942:5;4938:16;4916:52;:::i;:::-;4984:16;;;;;4821:185;-1:-1:-1;;4821:185:1:o;5129:1301::-;5406:3;5435:1;5468:6;5462:13;5498:3;5520:1;5548:9;5544:2;5540:18;5530:28;;5608:2;5597:9;5593:18;5630;5620:61;;5674:4;5666:6;5662:17;5652:27;;5620:61;5700:2;5748;5740:6;5737:14;5717:18;5714:38;5711:165;;;-1:-1:-1;;;5775:33:1;;5831:4;5828:1;5821:15;5861:4;5782:3;5849:17;5711:165;5892:18;5919:104;;;;6037:1;6032:320;;;;5885:467;;5919:104;-1:-1:-1;;5952:24:1;;5940:37;;5997:16;;;;-1:-1:-1;5919:104:1;;6032:320;15030:1;15023:14;;;15067:4;15054:18;;6127:1;6141:165;6155:6;6152:1;6149:13;6141:165;;;6233:14;;6220:11;;;6213:35;6276:16;;;;6170:10;;6141:165;;;6145:3;;6335:6;6330:3;6326:16;6319:23;;5885:467;;;;;;;6368:56;6393:30;6419:3;6411:6;6393:30;:::i;:::-;-1:-1:-1;;;5071:20:1;;5116:1;5107:11;;5011:113;6368:56;6361:63;5129:1301;-1:-1:-1;;;;;5129:1301:1:o;7183:488::-;-1:-1:-1;;;;;7452:15:1;;;7434:34;;7504:15;;7499:2;7484:18;;7477:43;7551:2;7536:18;;7529:34;;;7599:3;7594:2;7579:18;;7572:31;;;7377:4;;7620:45;;7645:19;;7637:6;7620:45;:::i;:::-;7612:53;7183:488;-1:-1:-1;;;;;;7183:488:1:o;7676:632::-;7847:2;7899:21;;;7969:13;;7872:18;;;7991:22;;;7818:4;;7847:2;8070:15;;;;8044:2;8029:18;;;7818:4;8113:169;8127:6;8124:1;8121:13;8113:169;;;8188:13;;8176:26;;8257:15;;;;8222:12;;;;8149:1;8142:9;8113:169;;;-1:-1:-1;8299:3:1;;7676:632;-1:-1:-1;;;;;;7676:632:1:o;8505:219::-;8654:2;8643:9;8636:21;8617:4;8674:44;8714:2;8703:9;8699:18;8691:6;8674:44;:::i;9480:343::-;9682:2;9664:21;;;9721:2;9701:18;;;9694:30;-1:-1:-1;;;9755:2:1;9740:18;;9733:49;9814:2;9799:18;;9480:343::o;13727:342::-;13929:2;13911:21;;;13968:2;13948:18;;;13941:30;-1:-1:-1;;;14002:2:1;13987:18;;13980:48;14060:2;14045:18;;13727:342::o;14425:345::-;14627:2;14609:21;;;14666:2;14646:18;;;14639:30;-1:-1:-1;;;14700:2:1;14685:18;;14678:51;14761:2;14746:18;;14425:345::o;15083:128::-;15123:3;15154:1;15150:6;15147:1;15144:13;15141:39;;;15160:18;;:::i;:::-;-1:-1:-1;15196:9:1;;15083:128::o;15216:120::-;15256:1;15282;15272:35;;15287:18;;:::i;:::-;-1:-1:-1;15321:9:1;;15216:120::o;15341:168::-;15381:7;15447:1;15443;15439:6;15435:14;15432:1;15429:21;15424:1;15417:9;15410:17;15406:45;15403:71;;;15454:18;;:::i;:::-;-1:-1:-1;15494:9:1;;15341:168::o;15514:125::-;15554:4;15582:1;15579;15576:8;15573:34;;;15587:18;;:::i;:::-;-1:-1:-1;15624:9:1;;15514:125::o;15644:258::-;15716:1;15726:113;15740:6;15737:1;15734:13;15726:113;;;15816:11;;;15810:18;15797:11;;;15790:39;15762:2;15755:10;15726:113;;;15857:6;15854:1;15851:13;15848:48;;;-1:-1:-1;;15892:1:1;15874:16;;15867:27;15644:258::o;15907:380::-;15986:1;15982:12;;;;16029;;;16050:61;;16104:4;16096:6;16092:17;16082:27;;16050:61;16157:2;16149:6;16146:14;16126:18;16123:38;16120:161;;;16203:10;16198:3;16194:20;16191:1;16184:31;16238:4;16235:1;16228:15;16266:4;16263:1;16256:15;16120:161;;15907:380;;;:::o;16292:135::-;16331:3;-1:-1:-1;;16352:17:1;;16349:43;;;16372:18;;:::i;:::-;-1:-1:-1;16419:1:1;16408:13;;16292:135::o;16432:112::-;16464:1;16490;16480:35;;16495:18;;:::i;:::-;-1:-1:-1;16529:9:1;;16432:112::o;16549:127::-;16610:10;16605:3;16601:20;16598:1;16591:31;16641:4;16638:1;16631:15;16665:4;16662:1;16655:15;16681:127;16742:10;16737:3;16733:20;16730:1;16723:31;16773:4;16770:1;16763:15;16797:4;16794:1;16787:15;16813:127;16874:10;16869:3;16865:20;16862:1;16855:31;16905:4;16902:1;16895:15;16929:4;16926:1;16919:15;16945:127;17006:10;17001:3;16997:20;16994:1;16987:31;17037:4;17034:1;17027:15;17061:4;17058:1;17051:15;17077:131;-1:-1:-1;;;;;;17151:32:1;;17141:43;;17131:71;;17198:1;17195;17188:12

Swarm Source

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