ETH Price: $2,358.54 (-0.29%)

Token

Ed3Educators (Ed3NFT)
 

Overview

Max Total Supply

568 Ed3NFT

Holders

259

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Filtered by Token Holder
pford.eth
Balance
1 Ed3NFT
0x089300e3Cd93dbC23c93cC9B8C237F829CE51b04
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:
Ed3Educators

Compiler Version
v0.8.11+commit.d7f03943

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 8 : Ed3Educators.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.11;

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "erc721a/contracts/ERC721A.sol";

import "./interfaces/IEd3Educators.sol";
import "./interfaces/IEd3EducatorsMetadata.sol";

contract Ed3Educators is
    ERC721A,
    Ownable,
    IEd3Educators,
    IEd3EducatorsMetadata
{
    using Strings for uint256;

    uint256 public constant SUPPLY_RESERVED = 280;
    uint256 public constant PUBLIC_SUPPLY = 5720;
    uint256 public constant MAX_SUPPLY = PUBLIC_SUPPLY + SUPPLY_RESERVED;
    uint256 public constant PURCHASE_LIMIT = 5;
    uint256 public constant PRICE = 0.1 ether;
    uint256 public constant PRESALE_PRICE = 0.08 ether;

    bool public isActive = false;
    bool public isPreSaleActive = false;

    mapping(address => uint256) public allowlist;

    string private _contractURI = "";
    string private _tokenBaseURI = "";
    string private _tokenRevealedBaseURI = "";

    constructor(string memory name, string memory symbol)
        ERC721A(name, symbol)
    {}

    function seedAllowlist(address[] memory addresses) external onlyOwner {
        for (uint256 i = 0; i < addresses.length; i++) {
            allowlist[addresses[i]] = PURCHASE_LIMIT;
        }
    }

    function addToAllowList(address userAddress) external onlyOwner {
        allowlist[userAddress] = PURCHASE_LIMIT;
    }

    function purchase(uint256 numberOfTokens) external payable override {
        require(isActive, "Contract is not active");
        require(!isPreSaleActive, "Only presale is active at this time");
        require(
            totalSupply() + numberOfTokens < PUBLIC_SUPPLY,
            "numberOfTokens requested exceeds remaining supply"
        );
        require(
            numberOfTokens <= PURCHASE_LIMIT,
            "numberOfTokens exceeds amount allowed per transaction"
        );
        require(
            PRICE * numberOfTokens <= msg.value,
            "ETH amount is not sufficient"
        );
        require(tx.origin == msg.sender, "The caller is another contract");

        _safeMint(msg.sender, numberOfTokens);
    }

    function purchasePreSale(uint256 numberOfTokens)
        external
        payable
        override
    {
        require(isActive, "Contract is not active");
        require(isPreSaleActive, "Pre Sale is not active");
        require(
            totalSupply() + numberOfTokens < PUBLIC_SUPPLY,
            "numberOfTokens requested exceeds remaining supply"
        );
        require(
            PRESALE_PRICE * numberOfTokens <= msg.value,
            "ETH amount is not sufficient"
        );
        require(tx.origin == msg.sender, "The caller is another contract");
        require(
            allowlist[msg.sender] >= numberOfTokens,
            "not enough allowlist mints remaining for number of tokens requested"
        );

        allowlist[msg.sender] -= numberOfTokens;
        _safeMint(msg.sender, numberOfTokens);
    }

    // Reserve for marketing etc
    function reserve(uint256 numberOfTokens) external override onlyOwner {
        require(
            totalSupply() + numberOfTokens <= SUPPLY_RESERVED,
            "numberOfTokens would exceed max reserved tokens"
        );
        require(
            numberOfTokens % PURCHASE_LIMIT == 0,
            "can only mint a multiple of the PURCHASE_LIMIT"
        );
        uint256 numChunks = numberOfTokens / PURCHASE_LIMIT;

        for (uint256 i = 0; i < numChunks; i++) {
            _safeMint(msg.sender, PURCHASE_LIMIT);
        }
    }

    function setIsActive(bool _isActive) external override onlyOwner {
        isActive = _isActive;
    }

    function setIsPreSaleActive(bool _isPreSaleActive)
        external
        override
        onlyOwner
    {
        isPreSaleActive = _isPreSaleActive;
    }

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

        payable(msg.sender).transfer(balance);
    }

    function setContractURI(string calldata URI) external override onlyOwner {
        _contractURI = URI;
    }

    function setBaseURI(string calldata URI) external override onlyOwner {
        _tokenBaseURI = URI;
    }

    function setRevealedBaseURI(string calldata revealedBaseURI)
        external
        override
        onlyOwner
    {
        _tokenRevealedBaseURI = revealedBaseURI;
    }

    function contractURI() public view override returns (string memory) {
        return _contractURI;
    }

    function tokenURI(uint256 tokenId)
        public
        view
        override(ERC721A)
        returns (string memory)
    {
        require(_exists(tokenId), "TokenId does not exist");

        string memory revealedBaseURI = _tokenRevealedBaseURI;
        string memory fileName = string(
            abi.encodePacked(tokenId.toString(), ".json")
        );
        return
            bytes(revealedBaseURI).length > 0
                ? string(abi.encodePacked(revealedBaseURI, fileName))
                : string(abi.encodePacked(_tokenBaseURI, fileName));
    }
}

File 2 of 8 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

pragma solidity ^0.8.0;

import "../utils/Context.sol";

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * 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 Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        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 3 of 8 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)

pragma solidity ^0.8.0;

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

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

File 4 of 8 : ERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.1.0
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import './IERC721A.sol';

/**
 * @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 5 of 8 : IEd3Educators.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.11;

interface IEd3Educators {
    function purchase(uint256 numberOfTokens) external payable;

    function purchasePreSale(uint256 numberOfTokens) external payable;

    function reserve(uint256 numberOfTokens) external;

    function setIsActive(bool isActive) external;

    function setIsPreSaleActive(bool isAllowListActive) external;

    function withdraw() external;
}

File 6 of 8 : IEd3EducatorsMetadata.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.11;

interface IEd3EducatorsMetadata {
    function setContractURI(string calldata URI) external;

    function setBaseURI(string calldata URI) external;

    function setRevealedBaseURI(string calldata revealedBaseURI) external;

    function contractURI() external view returns (string memory);
}

File 7 of 8 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

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

File 8 of 8 : IERC721A.sol
// SPDX-License-Identifier: MIT
// 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);
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","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":"PRESALE_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PUBLIC_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PURCHASE_LIMIT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SUPPLY_RESERVED","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"userAddress","type":"address"}],"name":"addToAllowList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"allowlist","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPreSaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"purchase","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"purchasePreSale","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"reserve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"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":"addresses","type":"address[]"}],"name":"seedAllowlist","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":"URI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"URI","type":"string"}],"name":"setContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_isActive","type":"bool"}],"name":"setIsActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_isPreSaleActive","type":"bool"}],"name":"setIsPreSaleActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"revealedBaseURI","type":"string"}],"name":"setRevealedBaseURI","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":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526000600860146101000a81548160ff0219169083151502179055506000600860156101000a81548160ff02191690831515021790555060405180602001604052806000815250600a9080519060200190620000619291906200022c565b5060405180602001604052806000815250600b9080519060200190620000899291906200022c565b5060405180602001604052806000815250600c9080519060200190620000b19291906200022c565b50348015620000bf57600080fd5b5060405162004404380380620044048339818101604052810190620000e5919062000479565b81818160029080519060200190620000ff9291906200022c565b508060039080519060200190620001189291906200022c565b50620001296200015960201b60201c565b600081905550505062000151620001456200015e60201b60201c565b6200016660201b60201c565b505062000563565b600090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200023a906200052d565b90600052602060002090601f0160209004810192826200025e5760008555620002aa565b82601f106200027957805160ff1916838001178555620002aa565b82800160010185558215620002aa579182015b82811115620002a95782518255916020019190600101906200028c565b5b509050620002b99190620002bd565b5090565b5b80821115620002d8576000816000905550600101620002be565b5090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6200034582620002fa565b810181811067ffffffffffffffff821117156200036757620003666200030b565b5b80604052505050565b60006200037c620002dc565b90506200038a82826200033a565b919050565b600067ffffffffffffffff821115620003ad57620003ac6200030b565b5b620003b882620002fa565b9050602081019050919050565b60005b83811015620003e5578082015181840152602081019050620003c8565b83811115620003f5576000848401525b50505050565b6000620004126200040c846200038f565b62000370565b905082815260208101848484011115620004315762000430620002f5565b5b6200043e848285620003c5565b509392505050565b600082601f8301126200045e576200045d620002f0565b5b815162000470848260208601620003fb565b91505092915050565b60008060408385031215620004935762000492620002e6565b5b600083015167ffffffffffffffff811115620004b457620004b3620002eb565b5b620004c28582860162000446565b925050602083015167ffffffffffffffff811115620004e657620004e5620002eb565b5b620004f48582860162000446565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200054657607f821691505b602082108114156200055d576200055c620004fe565b5b50919050565b613e9180620005736000396000f3fe6080604052600436106102255760003560e01c806377dc171d11610123578063a22cb465116100ab578063d75e61101161006f578063d75e6110146107d0578063e8a3d485146107fb578063e985e9c514610826578063efef39a114610863578063f2fde38b1461087f57610225565b8063a22cb465146106e8578063a7cd52cb14610711578063b88d4fde1461074e578063c5f9d93114610777578063c87b56dd1461079357610225565b80638d859f3e116100f25780638d859f3e146106135780638da5cb5b1461063e578063938e3d7b1461066957806395d89b41146106925780639d044ed3146106bd57610225565b806377dc171d1461056b578063819b25ba146105965780638342083a146105bf57806388c206f7146105ea57610225565b806332cb6b0c116101b157806362dc6e211161017557806362dc6e21146104865780636352211e146104b15780636e83843a146104ee57806370a0823114610517578063715018a61461055457610225565b806332cb6b0c146103c95780633ccfd60b146103f457806342842e0e1461040b578063445f57561461043457806355f804b31461045d57610225565b806318160ddd116101f857806318160ddd146102f857806322f3e2d41461032357806323b872dd1461034e5780632750fc781461037757806331f59102146103a057610225565b806301ffc9a71461022a57806306fdde0314610267578063081812fc14610292578063095ea7b3146102cf575b600080fd5b34801561023657600080fd5b50610251600480360381019061024c9190612b8c565b6108a8565b60405161025e9190612bd4565b60405180910390f35b34801561027357600080fd5b5061027c61093a565b6040516102899190612c88565b60405180910390f35b34801561029e57600080fd5b506102b960048036038101906102b49190612ce0565b6109cc565b6040516102c69190612d4e565b60405180910390f35b3480156102db57600080fd5b506102f660048036038101906102f19190612d95565b610a48565b005b34801561030457600080fd5b5061030d610b89565b60405161031a9190612de4565b60405180910390f35b34801561032f57600080fd5b50610338610ba0565b6040516103459190612bd4565b60405180910390f35b34801561035a57600080fd5b5061037560048036038101906103709190612dff565b610bb3565b005b34801561038357600080fd5b5061039e60048036038101906103999190612e7e565b610ed8565b005b3480156103ac57600080fd5b506103c760048036038101906103c29190612eab565b610f71565b005b3480156103d557600080fd5b506103de611035565b6040516103eb9190612de4565b60405180910390f35b34801561040057600080fd5b50610409611048565b005b34801561041757600080fd5b50610432600480360381019061042d9190612dff565b611113565b005b34801561044057600080fd5b5061045b60048036038101906104569190612e7e565b611133565b005b34801561046957600080fd5b50610484600480360381019061047f9190612f3d565b6111cc565b005b34801561049257600080fd5b5061049b61125e565b6040516104a89190612de4565b60405180910390f35b3480156104bd57600080fd5b506104d860048036038101906104d39190612ce0565b61126a565b6040516104e59190612d4e565b60405180910390f35b3480156104fa57600080fd5b5061051560048036038101906105109190612f3d565b61127c565b005b34801561052357600080fd5b5061053e60048036038101906105399190612eab565b61130e565b60405161054b9190612de4565b60405180910390f35b34801561056057600080fd5b506105696113c7565b005b34801561057757600080fd5b5061058061144f565b60405161058d9190612de4565b60405180910390f35b3480156105a257600080fd5b506105bd60048036038101906105b89190612ce0565b611455565b005b3480156105cb57600080fd5b506105d46115b6565b6040516105e19190612de4565b60405180910390f35b3480156105f657600080fd5b50610611600480360381019061060c91906130c8565b6115bc565b005b34801561061f57600080fd5b506106286116ba565b6040516106359190612de4565b60405180910390f35b34801561064a57600080fd5b506106536116c6565b6040516106609190612d4e565b60405180910390f35b34801561067557600080fd5b50610690600480360381019061068b9190612f3d565b6116f0565b005b34801561069e57600080fd5b506106a7611782565b6040516106b49190612c88565b60405180910390f35b3480156106c957600080fd5b506106d2611814565b6040516106df9190612bd4565b60405180910390f35b3480156106f457600080fd5b5061070f600480360381019061070a9190613111565b611827565b005b34801561071d57600080fd5b5061073860048036038101906107339190612eab565b61199f565b6040516107459190612de4565b60405180910390f35b34801561075a57600080fd5b5061077560048036038101906107709190613206565b6119b7565b005b610791600480360381019061078c9190612ce0565b611a2a565b005b34801561079f57600080fd5b506107ba60048036038101906107b59190612ce0565b611cc7565b6040516107c79190612c88565b60405180910390f35b3480156107dc57600080fd5b506107e5611e29565b6040516107f29190612de4565b60405180910390f35b34801561080757600080fd5b50610810611e2e565b60405161081d9190612c88565b60405180910390f35b34801561083257600080fd5b5061084d60048036038101906108489190613289565b611ec0565b60405161085a9190612bd4565b60405180910390f35b61087d60048036038101906108789190612ce0565b611f54565b005b34801561088b57600080fd5b506108a660048036038101906108a19190612eab565b61215e565b005b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061090357506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806109335750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b606060028054610949906132f8565b80601f0160208091040260200160405190810160405280929190818152602001828054610975906132f8565b80156109c25780601f10610997576101008083540402835291602001916109c2565b820191906000526020600020905b8154815290600101906020018083116109a557829003601f168201915b5050505050905090565b60006109d782612256565b610a0d576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a538261126a565b90508073ffffffffffffffffffffffffffffffffffffffff16610a746122b5565b73ffffffffffffffffffffffffffffffffffffffff1614610ad757610aa081610a9b6122b5565b611ec0565b610ad6576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6000610b936122bd565b6001546000540303905090565b600860149054906101000a900460ff1681565b6000610bbe826122c2565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610c25576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080610c3184612390565b91509150610c478187610c426122b5565b6123b2565b610c9357610c5c86610c576122b5565b611ec0565b610c92576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415610cfa576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610d0786868660016123f6565b8015610d1257600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815460010191905081905550610de085610dbc8888876123fc565b7c020000000000000000000000000000000000000000000000000000000017612424565b600460008681526020019081526020016000208190555060007c020000000000000000000000000000000000000000000000000000000084161415610e68576000600185019050600060046000838152602001908152602001600020541415610e66576000548114610e65578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610ed0868686600161244f565b505050505050565b610ee0612455565b73ffffffffffffffffffffffffffffffffffffffff16610efe6116c6565b73ffffffffffffffffffffffffffffffffffffffff1614610f54576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f4b90613376565b60405180910390fd5b80600860146101000a81548160ff02191690831515021790555050565b610f79612455565b73ffffffffffffffffffffffffffffffffffffffff16610f976116c6565b73ffffffffffffffffffffffffffffffffffffffff1614610fed576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fe490613376565b60405180910390fd5b6005600960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555050565b61011861165861104591906133c5565b81565b611050612455565b73ffffffffffffffffffffffffffffffffffffffff1661106e6116c6565b73ffffffffffffffffffffffffffffffffffffffff16146110c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110bb90613376565b60405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f1935050505015801561110f573d6000803e3d6000fd5b5050565b61112e838383604051806020016040528060008152506119b7565b505050565b61113b612455565b73ffffffffffffffffffffffffffffffffffffffff166111596116c6565b73ffffffffffffffffffffffffffffffffffffffff16146111af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111a690613376565b60405180910390fd5b80600860156101000a81548160ff02191690831515021790555050565b6111d4612455565b73ffffffffffffffffffffffffffffffffffffffff166111f26116c6565b73ffffffffffffffffffffffffffffffffffffffff1614611248576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161123f90613376565b60405180910390fd5b8181600b9190611259929190612a7d565b505050565b67011c37937e08000081565b6000611275826122c2565b9050919050565b611284612455565b73ffffffffffffffffffffffffffffffffffffffff166112a26116c6565b73ffffffffffffffffffffffffffffffffffffffff16146112f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112ef90613376565b60405180910390fd5b8181600c9190611309929190612a7d565b505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611376576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b6113cf612455565b73ffffffffffffffffffffffffffffffffffffffff166113ed6116c6565b73ffffffffffffffffffffffffffffffffffffffff1614611443576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161143a90613376565b60405180910390fd5b61144d600061245d565b565b61011881565b61145d612455565b73ffffffffffffffffffffffffffffffffffffffff1661147b6116c6565b73ffffffffffffffffffffffffffffffffffffffff16146114d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114c890613376565b60405180910390fd5b610118816114dd610b89565b6114e791906133c5565b1115611528576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161151f9061348d565b60405180910390fd5b600060058261153791906134dc565b14611577576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161156e9061357f565b60405180910390fd5b6000600582611586919061359f565b905060005b818110156115b15761159e336005612523565b80806115a9906135d0565b91505061158b565b505050565b61165881565b6115c4612455565b73ffffffffffffffffffffffffffffffffffffffff166115e26116c6565b73ffffffffffffffffffffffffffffffffffffffff1614611638576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161162f90613376565b60405180910390fd5b60005b81518110156116b65760056009600084848151811061165d5761165c613619565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555080806116ae906135d0565b91505061163b565b5050565b67016345785d8a000081565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6116f8612455565b73ffffffffffffffffffffffffffffffffffffffff166117166116c6565b73ffffffffffffffffffffffffffffffffffffffff161461176c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161176390613376565b60405180910390fd5b8181600a919061177d929190612a7d565b505050565b606060038054611791906132f8565b80601f01602080910402602001604051908101604052809291908181526020018280546117bd906132f8565b801561180a5780601f106117df5761010080835404028352916020019161180a565b820191906000526020600020905b8154815290600101906020018083116117ed57829003601f168201915b5050505050905090565b600860159054906101000a900460ff1681565b61182f6122b5565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611894576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600760006118a16122b5565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661194e6122b5565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516119939190612bd4565b60405180910390a35050565b60096020528060005260406000206000915090505481565b6119c2848484610bb3565b60008373ffffffffffffffffffffffffffffffffffffffff163b14611a24576119ed84848484612541565b611a23576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b600860149054906101000a900460ff16611a79576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a7090613694565b60405180910390fd5b600860159054906101000a900460ff16611ac8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611abf90613700565b60405180910390fd5b61165881611ad4610b89565b611ade91906133c5565b10611b1e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b1590613792565b60405180910390fd5b348167011c37937e080000611b3391906137b2565b1115611b74576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b6b90613858565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611be2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bd9906138c4565b60405180910390fd5b80600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541015611c64576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c5b9061397c565b60405180910390fd5b80600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611cb3919061399c565b92505081905550611cc43382612523565b50565b6060611cd282612256565b611d11576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d0890613a1c565b60405180910390fd5b6000600c8054611d20906132f8565b80601f0160208091040260200160405190810160405280929190818152602001828054611d4c906132f8565b8015611d995780601f10611d6e57610100808354040283529160200191611d99565b820191906000526020600020905b815481529060010190602001808311611d7c57829003601f168201915b505050505090506000611dab84612692565b604051602001611dbb9190613ac4565b60405160208183030381529060405290506000825111611dfd57600b81604051602001611de9929190613b7a565b604051602081830303815290604052611e20565b8181604051602001611e10929190613b9e565b6040516020818303038152906040525b92505050919050565b600581565b6060600a8054611e3d906132f8565b80601f0160208091040260200160405190810160405280929190818152602001828054611e69906132f8565b8015611eb65780601f10611e8b57610100808354040283529160200191611eb6565b820191906000526020600020905b815481529060010190602001808311611e9957829003601f168201915b5050505050905090565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600860149054906101000a900460ff16611fa3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f9a90613694565b60405180910390fd5b600860159054906101000a900460ff1615611ff3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fea90613c34565b60405180910390fd5b61165881611fff610b89565b61200991906133c5565b10612049576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161204090613792565b60405180910390fd5b600581111561208d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161208490613cc6565b60405180910390fd5b348167016345785d8a00006120a291906137b2565b11156120e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120da90613858565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614612151576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612148906138c4565b60405180910390fd5b61215b3382612523565b50565b612166612455565b73ffffffffffffffffffffffffffffffffffffffff166121846116c6565b73ffffffffffffffffffffffffffffffffffffffff16146121da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121d190613376565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561224a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161224190613d58565b60405180910390fd5b6122538161245d565b50565b6000816122616122bd565b11158015612270575060005482105b80156122ae575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b600090565b600080829050806122d16122bd565b11612359576000548110156123585760006004600083815260200190815260200160002054905060007c010000000000000000000000000000000000000000000000000000000082161415612356575b600081141561234c576004600083600190039350838152602001908152602001600020549050612321565b809250505061238b565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000806000600690508360005280602052604060002092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e86124138686846127f3565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b61253d8282604051806020016040528060008152506127fc565b5050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a026125676122b5565b8786866040518563ffffffff1660e01b81526004016125899493929190613dcd565b6020604051808303816000875af19250505080156125c557506040513d601f19601f820116820180604052508101906125c29190613e2e565b60015b61263f573d80600081146125f5576040519150601f19603f3d011682016040523d82523d6000602084013e6125fa565b606091505b50600081511415612637576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b606060008214156126da576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506127ee565b600082905060005b6000821461270c5780806126f5906135d0565b915050600a82612705919061359f565b91506126e2565b60008167ffffffffffffffff81111561272857612727612f8a565b5b6040519080825280601f01601f19166020018201604052801561275a5781602001600182028036833780820191505090505b5090505b600085146127e757600182612773919061399c565b9150600a8561278291906134dc565b603061278e91906133c5565b60f81b8183815181106127a4576127a3613619565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856127e0919061359f565b945061275e565b8093505050505b919050565b60009392505050565b6128068383612899565b60008373ffffffffffffffffffffffffffffffffffffffff163b1461289457600080549050600083820390505b6128466000868380600101945086612541565b61287c576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81811061283357816000541461289157600080fd5b50505b505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612906576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000821415612941576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61294e60008483856123f6565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055506129c5836129b660008660006123fc565b6129bf85612a6d565b17612424565b60046000838152602001908152602001600020819055506000819050600083830190505b818060010192508573ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48082106129e957806000819055505050612a68600084838561244f565b505050565b60006001821460e11b9050919050565b828054612a89906132f8565b90600052602060002090601f016020900481019282612aab5760008555612af2565b82601f10612ac457803560ff1916838001178555612af2565b82800160010185558215612af2579182015b82811115612af1578235825591602001919060010190612ad6565b5b509050612aff9190612b03565b5090565b5b80821115612b1c576000816000905550600101612b04565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612b6981612b34565b8114612b7457600080fd5b50565b600081359050612b8681612b60565b92915050565b600060208284031215612ba257612ba1612b2a565b5b6000612bb084828501612b77565b91505092915050565b60008115159050919050565b612bce81612bb9565b82525050565b6000602082019050612be96000830184612bc5565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612c29578082015181840152602081019050612c0e565b83811115612c38576000848401525b50505050565b6000601f19601f8301169050919050565b6000612c5a82612bef565b612c648185612bfa565b9350612c74818560208601612c0b565b612c7d81612c3e565b840191505092915050565b60006020820190508181036000830152612ca28184612c4f565b905092915050565b6000819050919050565b612cbd81612caa565b8114612cc857600080fd5b50565b600081359050612cda81612cb4565b92915050565b600060208284031215612cf657612cf5612b2a565b5b6000612d0484828501612ccb565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612d3882612d0d565b9050919050565b612d4881612d2d565b82525050565b6000602082019050612d636000830184612d3f565b92915050565b612d7281612d2d565b8114612d7d57600080fd5b50565b600081359050612d8f81612d69565b92915050565b60008060408385031215612dac57612dab612b2a565b5b6000612dba85828601612d80565b9250506020612dcb85828601612ccb565b9150509250929050565b612dde81612caa565b82525050565b6000602082019050612df96000830184612dd5565b92915050565b600080600060608486031215612e1857612e17612b2a565b5b6000612e2686828701612d80565b9350506020612e3786828701612d80565b9250506040612e4886828701612ccb565b9150509250925092565b612e5b81612bb9565b8114612e6657600080fd5b50565b600081359050612e7881612e52565b92915050565b600060208284031215612e9457612e93612b2a565b5b6000612ea284828501612e69565b91505092915050565b600060208284031215612ec157612ec0612b2a565b5b6000612ecf84828501612d80565b91505092915050565b600080fd5b600080fd5b600080fd5b60008083601f840112612efd57612efc612ed8565b5b8235905067ffffffffffffffff811115612f1a57612f19612edd565b5b602083019150836001820283011115612f3657612f35612ee2565b5b9250929050565b60008060208385031215612f5457612f53612b2a565b5b600083013567ffffffffffffffff811115612f7257612f71612b2f565b5b612f7e85828601612ee7565b92509250509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612fc282612c3e565b810181811067ffffffffffffffff82111715612fe157612fe0612f8a565b5b80604052505050565b6000612ff4612b20565b90506130008282612fb9565b919050565b600067ffffffffffffffff8211156130205761301f612f8a565b5b602082029050602081019050919050565b600061304461303f84613005565b612fea565b9050808382526020820190506020840283018581111561306757613066612ee2565b5b835b81811015613090578061307c8882612d80565b845260208401935050602081019050613069565b5050509392505050565b600082601f8301126130af576130ae612ed8565b5b81356130bf848260208601613031565b91505092915050565b6000602082840312156130de576130dd612b2a565b5b600082013567ffffffffffffffff8111156130fc576130fb612b2f565b5b6131088482850161309a565b91505092915050565b6000806040838503121561312857613127612b2a565b5b600061313685828601612d80565b925050602061314785828601612e69565b9150509250929050565b600080fd5b600067ffffffffffffffff82111561317157613170612f8a565b5b61317a82612c3e565b9050602081019050919050565b82818337600083830152505050565b60006131a96131a484613156565b612fea565b9050828152602081018484840111156131c5576131c4613151565b5b6131d0848285613187565b509392505050565b600082601f8301126131ed576131ec612ed8565b5b81356131fd848260208601613196565b91505092915050565b600080600080608085870312156132205761321f612b2a565b5b600061322e87828801612d80565b945050602061323f87828801612d80565b935050604061325087828801612ccb565b925050606085013567ffffffffffffffff81111561327157613270612b2f565b5b61327d878288016131d8565b91505092959194509250565b600080604083850312156132a05761329f612b2a565b5b60006132ae85828601612d80565b92505060206132bf85828601612d80565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061331057607f821691505b60208210811415613324576133236132c9565b5b50919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613360602083612bfa565b915061336b8261332a565b602082019050919050565b6000602082019050818103600083015261338f81613353565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006133d082612caa565b91506133db83612caa565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156134105761340f613396565b5b828201905092915050565b7f6e756d6265724f66546f6b656e7320776f756c6420657863656564206d61782060008201527f726573657276656420746f6b656e730000000000000000000000000000000000602082015250565b6000613477602f83612bfa565b91506134828261341b565b604082019050919050565b600060208201905081810360008301526134a68161346a565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006134e782612caa565b91506134f283612caa565b925082613502576135016134ad565b5b828206905092915050565b7f63616e206f6e6c79206d696e742061206d756c7469706c65206f66207468652060008201527f50555243484153455f4c494d4954000000000000000000000000000000000000602082015250565b6000613569602e83612bfa565b91506135748261350d565b604082019050919050565b600060208201905081810360008301526135988161355c565b9050919050565b60006135aa82612caa565b91506135b583612caa565b9250826135c5576135c46134ad565b5b828204905092915050565b60006135db82612caa565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561360e5761360d613396565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f436f6e7472616374206973206e6f742061637469766500000000000000000000600082015250565b600061367e601683612bfa565b915061368982613648565b602082019050919050565b600060208201905081810360008301526136ad81613671565b9050919050565b7f5072652053616c65206973206e6f742061637469766500000000000000000000600082015250565b60006136ea601683612bfa565b91506136f5826136b4565b602082019050919050565b60006020820190508181036000830152613719816136dd565b9050919050565b7f6e756d6265724f66546f6b656e7320726571756573746564206578636565647360008201527f2072656d61696e696e6720737570706c79000000000000000000000000000000602082015250565b600061377c603183612bfa565b915061378782613720565b604082019050919050565b600060208201905081810360008301526137ab8161376f565b9050919050565b60006137bd82612caa565b91506137c883612caa565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561380157613800613396565b5b828202905092915050565b7f45544820616d6f756e74206973206e6f742073756666696369656e7400000000600082015250565b6000613842601c83612bfa565b915061384d8261380c565b602082019050919050565b6000602082019050818103600083015261387181613835565b9050919050565b7f5468652063616c6c657220697320616e6f7468657220636f6e74726163740000600082015250565b60006138ae601e83612bfa565b91506138b982613878565b602082019050919050565b600060208201905081810360008301526138dd816138a1565b9050919050565b7f6e6f7420656e6f75676820616c6c6f776c697374206d696e74732072656d616960008201527f6e696e6720666f72206e756d626572206f6620746f6b656e732072657175657360208201527f7465640000000000000000000000000000000000000000000000000000000000604082015250565b6000613966604383612bfa565b9150613971826138e4565b606082019050919050565b6000602082019050818103600083015261399581613959565b9050919050565b60006139a782612caa565b91506139b283612caa565b9250828210156139c5576139c4613396565b5b828203905092915050565b7f546f6b656e496420646f6573206e6f7420657869737400000000000000000000600082015250565b6000613a06601683612bfa565b9150613a11826139d0565b602082019050919050565b60006020820190508181036000830152613a35816139f9565b9050919050565b600081905092915050565b6000613a5282612bef565b613a5c8185613a3c565b9350613a6c818560208601612c0b565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b6000613aae600583613a3c565b9150613ab982613a78565b600582019050919050565b6000613ad08284613a47565b9150613adb82613aa1565b915081905092915050565b60008190508160005260206000209050919050565b60008154613b08816132f8565b613b128186613a3c565b94506001821660008114613b2d5760018114613b3e57613b71565b60ff19831686528186019350613b71565b613b4785613ae6565b60005b83811015613b6957815481890152600182019150602081019050613b4a565b838801955050505b50505092915050565b6000613b868285613afb565b9150613b928284613a47565b91508190509392505050565b6000613baa8285613a47565b9150613bb68284613a47565b91508190509392505050565b7f4f6e6c792070726573616c65206973206163746976652061742074686973207460008201527f696d650000000000000000000000000000000000000000000000000000000000602082015250565b6000613c1e602383612bfa565b9150613c2982613bc2565b604082019050919050565b60006020820190508181036000830152613c4d81613c11565b9050919050565b7f6e756d6265724f66546f6b656e73206578636565647320616d6f756e7420616c60008201527f6c6f77656420706572207472616e73616374696f6e0000000000000000000000602082015250565b6000613cb0603583612bfa565b9150613cbb82613c54565b604082019050919050565b60006020820190508181036000830152613cdf81613ca3565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613d42602683612bfa565b9150613d4d82613ce6565b604082019050919050565b60006020820190508181036000830152613d7181613d35565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000613d9f82613d78565b613da98185613d83565b9350613db9818560208601612c0b565b613dc281612c3e565b840191505092915050565b6000608082019050613de26000830187612d3f565b613def6020830186612d3f565b613dfc6040830185612dd5565b8181036060830152613e0e8184613d94565b905095945050505050565b600081519050613e2881612b60565b92915050565b600060208284031215613e4457613e43612b2a565b5b6000613e5284828501613e19565b9150509291505056fea264697066735822122010cf0d86d8d7d69fe014909dccfda35f0049c76411c9e6b2d63b646d9af851bd64736f6c634300080b003300000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000c4564334564756361746f7273000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000064564334e46540000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106102255760003560e01c806377dc171d11610123578063a22cb465116100ab578063d75e61101161006f578063d75e6110146107d0578063e8a3d485146107fb578063e985e9c514610826578063efef39a114610863578063f2fde38b1461087f57610225565b8063a22cb465146106e8578063a7cd52cb14610711578063b88d4fde1461074e578063c5f9d93114610777578063c87b56dd1461079357610225565b80638d859f3e116100f25780638d859f3e146106135780638da5cb5b1461063e578063938e3d7b1461066957806395d89b41146106925780639d044ed3146106bd57610225565b806377dc171d1461056b578063819b25ba146105965780638342083a146105bf57806388c206f7146105ea57610225565b806332cb6b0c116101b157806362dc6e211161017557806362dc6e21146104865780636352211e146104b15780636e83843a146104ee57806370a0823114610517578063715018a61461055457610225565b806332cb6b0c146103c95780633ccfd60b146103f457806342842e0e1461040b578063445f57561461043457806355f804b31461045d57610225565b806318160ddd116101f857806318160ddd146102f857806322f3e2d41461032357806323b872dd1461034e5780632750fc781461037757806331f59102146103a057610225565b806301ffc9a71461022a57806306fdde0314610267578063081812fc14610292578063095ea7b3146102cf575b600080fd5b34801561023657600080fd5b50610251600480360381019061024c9190612b8c565b6108a8565b60405161025e9190612bd4565b60405180910390f35b34801561027357600080fd5b5061027c61093a565b6040516102899190612c88565b60405180910390f35b34801561029e57600080fd5b506102b960048036038101906102b49190612ce0565b6109cc565b6040516102c69190612d4e565b60405180910390f35b3480156102db57600080fd5b506102f660048036038101906102f19190612d95565b610a48565b005b34801561030457600080fd5b5061030d610b89565b60405161031a9190612de4565b60405180910390f35b34801561032f57600080fd5b50610338610ba0565b6040516103459190612bd4565b60405180910390f35b34801561035a57600080fd5b5061037560048036038101906103709190612dff565b610bb3565b005b34801561038357600080fd5b5061039e60048036038101906103999190612e7e565b610ed8565b005b3480156103ac57600080fd5b506103c760048036038101906103c29190612eab565b610f71565b005b3480156103d557600080fd5b506103de611035565b6040516103eb9190612de4565b60405180910390f35b34801561040057600080fd5b50610409611048565b005b34801561041757600080fd5b50610432600480360381019061042d9190612dff565b611113565b005b34801561044057600080fd5b5061045b60048036038101906104569190612e7e565b611133565b005b34801561046957600080fd5b50610484600480360381019061047f9190612f3d565b6111cc565b005b34801561049257600080fd5b5061049b61125e565b6040516104a89190612de4565b60405180910390f35b3480156104bd57600080fd5b506104d860048036038101906104d39190612ce0565b61126a565b6040516104e59190612d4e565b60405180910390f35b3480156104fa57600080fd5b5061051560048036038101906105109190612f3d565b61127c565b005b34801561052357600080fd5b5061053e60048036038101906105399190612eab565b61130e565b60405161054b9190612de4565b60405180910390f35b34801561056057600080fd5b506105696113c7565b005b34801561057757600080fd5b5061058061144f565b60405161058d9190612de4565b60405180910390f35b3480156105a257600080fd5b506105bd60048036038101906105b89190612ce0565b611455565b005b3480156105cb57600080fd5b506105d46115b6565b6040516105e19190612de4565b60405180910390f35b3480156105f657600080fd5b50610611600480360381019061060c91906130c8565b6115bc565b005b34801561061f57600080fd5b506106286116ba565b6040516106359190612de4565b60405180910390f35b34801561064a57600080fd5b506106536116c6565b6040516106609190612d4e565b60405180910390f35b34801561067557600080fd5b50610690600480360381019061068b9190612f3d565b6116f0565b005b34801561069e57600080fd5b506106a7611782565b6040516106b49190612c88565b60405180910390f35b3480156106c957600080fd5b506106d2611814565b6040516106df9190612bd4565b60405180910390f35b3480156106f457600080fd5b5061070f600480360381019061070a9190613111565b611827565b005b34801561071d57600080fd5b5061073860048036038101906107339190612eab565b61199f565b6040516107459190612de4565b60405180910390f35b34801561075a57600080fd5b5061077560048036038101906107709190613206565b6119b7565b005b610791600480360381019061078c9190612ce0565b611a2a565b005b34801561079f57600080fd5b506107ba60048036038101906107b59190612ce0565b611cc7565b6040516107c79190612c88565b60405180910390f35b3480156107dc57600080fd5b506107e5611e29565b6040516107f29190612de4565b60405180910390f35b34801561080757600080fd5b50610810611e2e565b60405161081d9190612c88565b60405180910390f35b34801561083257600080fd5b5061084d60048036038101906108489190613289565b611ec0565b60405161085a9190612bd4565b60405180910390f35b61087d60048036038101906108789190612ce0565b611f54565b005b34801561088b57600080fd5b506108a660048036038101906108a19190612eab565b61215e565b005b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061090357506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806109335750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b606060028054610949906132f8565b80601f0160208091040260200160405190810160405280929190818152602001828054610975906132f8565b80156109c25780601f10610997576101008083540402835291602001916109c2565b820191906000526020600020905b8154815290600101906020018083116109a557829003601f168201915b5050505050905090565b60006109d782612256565b610a0d576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a538261126a565b90508073ffffffffffffffffffffffffffffffffffffffff16610a746122b5565b73ffffffffffffffffffffffffffffffffffffffff1614610ad757610aa081610a9b6122b5565b611ec0565b610ad6576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6000610b936122bd565b6001546000540303905090565b600860149054906101000a900460ff1681565b6000610bbe826122c2565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610c25576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080610c3184612390565b91509150610c478187610c426122b5565b6123b2565b610c9357610c5c86610c576122b5565b611ec0565b610c92576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415610cfa576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610d0786868660016123f6565b8015610d1257600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815460010191905081905550610de085610dbc8888876123fc565b7c020000000000000000000000000000000000000000000000000000000017612424565b600460008681526020019081526020016000208190555060007c020000000000000000000000000000000000000000000000000000000084161415610e68576000600185019050600060046000838152602001908152602001600020541415610e66576000548114610e65578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610ed0868686600161244f565b505050505050565b610ee0612455565b73ffffffffffffffffffffffffffffffffffffffff16610efe6116c6565b73ffffffffffffffffffffffffffffffffffffffff1614610f54576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f4b90613376565b60405180910390fd5b80600860146101000a81548160ff02191690831515021790555050565b610f79612455565b73ffffffffffffffffffffffffffffffffffffffff16610f976116c6565b73ffffffffffffffffffffffffffffffffffffffff1614610fed576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fe490613376565b60405180910390fd5b6005600960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555050565b61011861165861104591906133c5565b81565b611050612455565b73ffffffffffffffffffffffffffffffffffffffff1661106e6116c6565b73ffffffffffffffffffffffffffffffffffffffff16146110c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110bb90613376565b60405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f1935050505015801561110f573d6000803e3d6000fd5b5050565b61112e838383604051806020016040528060008152506119b7565b505050565b61113b612455565b73ffffffffffffffffffffffffffffffffffffffff166111596116c6565b73ffffffffffffffffffffffffffffffffffffffff16146111af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111a690613376565b60405180910390fd5b80600860156101000a81548160ff02191690831515021790555050565b6111d4612455565b73ffffffffffffffffffffffffffffffffffffffff166111f26116c6565b73ffffffffffffffffffffffffffffffffffffffff1614611248576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161123f90613376565b60405180910390fd5b8181600b9190611259929190612a7d565b505050565b67011c37937e08000081565b6000611275826122c2565b9050919050565b611284612455565b73ffffffffffffffffffffffffffffffffffffffff166112a26116c6565b73ffffffffffffffffffffffffffffffffffffffff16146112f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112ef90613376565b60405180910390fd5b8181600c9190611309929190612a7d565b505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611376576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b6113cf612455565b73ffffffffffffffffffffffffffffffffffffffff166113ed6116c6565b73ffffffffffffffffffffffffffffffffffffffff1614611443576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161143a90613376565b60405180910390fd5b61144d600061245d565b565b61011881565b61145d612455565b73ffffffffffffffffffffffffffffffffffffffff1661147b6116c6565b73ffffffffffffffffffffffffffffffffffffffff16146114d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114c890613376565b60405180910390fd5b610118816114dd610b89565b6114e791906133c5565b1115611528576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161151f9061348d565b60405180910390fd5b600060058261153791906134dc565b14611577576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161156e9061357f565b60405180910390fd5b6000600582611586919061359f565b905060005b818110156115b15761159e336005612523565b80806115a9906135d0565b91505061158b565b505050565b61165881565b6115c4612455565b73ffffffffffffffffffffffffffffffffffffffff166115e26116c6565b73ffffffffffffffffffffffffffffffffffffffff1614611638576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161162f90613376565b60405180910390fd5b60005b81518110156116b65760056009600084848151811061165d5761165c613619565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555080806116ae906135d0565b91505061163b565b5050565b67016345785d8a000081565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6116f8612455565b73ffffffffffffffffffffffffffffffffffffffff166117166116c6565b73ffffffffffffffffffffffffffffffffffffffff161461176c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161176390613376565b60405180910390fd5b8181600a919061177d929190612a7d565b505050565b606060038054611791906132f8565b80601f01602080910402602001604051908101604052809291908181526020018280546117bd906132f8565b801561180a5780601f106117df5761010080835404028352916020019161180a565b820191906000526020600020905b8154815290600101906020018083116117ed57829003601f168201915b5050505050905090565b600860159054906101000a900460ff1681565b61182f6122b5565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611894576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600760006118a16122b5565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661194e6122b5565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516119939190612bd4565b60405180910390a35050565b60096020528060005260406000206000915090505481565b6119c2848484610bb3565b60008373ffffffffffffffffffffffffffffffffffffffff163b14611a24576119ed84848484612541565b611a23576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b600860149054906101000a900460ff16611a79576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a7090613694565b60405180910390fd5b600860159054906101000a900460ff16611ac8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611abf90613700565b60405180910390fd5b61165881611ad4610b89565b611ade91906133c5565b10611b1e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b1590613792565b60405180910390fd5b348167011c37937e080000611b3391906137b2565b1115611b74576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b6b90613858565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611be2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bd9906138c4565b60405180910390fd5b80600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541015611c64576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c5b9061397c565b60405180910390fd5b80600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611cb3919061399c565b92505081905550611cc43382612523565b50565b6060611cd282612256565b611d11576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d0890613a1c565b60405180910390fd5b6000600c8054611d20906132f8565b80601f0160208091040260200160405190810160405280929190818152602001828054611d4c906132f8565b8015611d995780601f10611d6e57610100808354040283529160200191611d99565b820191906000526020600020905b815481529060010190602001808311611d7c57829003601f168201915b505050505090506000611dab84612692565b604051602001611dbb9190613ac4565b60405160208183030381529060405290506000825111611dfd57600b81604051602001611de9929190613b7a565b604051602081830303815290604052611e20565b8181604051602001611e10929190613b9e565b6040516020818303038152906040525b92505050919050565b600581565b6060600a8054611e3d906132f8565b80601f0160208091040260200160405190810160405280929190818152602001828054611e69906132f8565b8015611eb65780601f10611e8b57610100808354040283529160200191611eb6565b820191906000526020600020905b815481529060010190602001808311611e9957829003601f168201915b5050505050905090565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600860149054906101000a900460ff16611fa3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f9a90613694565b60405180910390fd5b600860159054906101000a900460ff1615611ff3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fea90613c34565b60405180910390fd5b61165881611fff610b89565b61200991906133c5565b10612049576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161204090613792565b60405180910390fd5b600581111561208d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161208490613cc6565b60405180910390fd5b348167016345785d8a00006120a291906137b2565b11156120e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120da90613858565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614612151576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612148906138c4565b60405180910390fd5b61215b3382612523565b50565b612166612455565b73ffffffffffffffffffffffffffffffffffffffff166121846116c6565b73ffffffffffffffffffffffffffffffffffffffff16146121da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121d190613376565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561224a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161224190613d58565b60405180910390fd5b6122538161245d565b50565b6000816122616122bd565b11158015612270575060005482105b80156122ae575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b600090565b600080829050806122d16122bd565b11612359576000548110156123585760006004600083815260200190815260200160002054905060007c010000000000000000000000000000000000000000000000000000000082161415612356575b600081141561234c576004600083600190039350838152602001908152602001600020549050612321565b809250505061238b565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000806000600690508360005280602052604060002092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e86124138686846127f3565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b61253d8282604051806020016040528060008152506127fc565b5050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a026125676122b5565b8786866040518563ffffffff1660e01b81526004016125899493929190613dcd565b6020604051808303816000875af19250505080156125c557506040513d601f19601f820116820180604052508101906125c29190613e2e565b60015b61263f573d80600081146125f5576040519150601f19603f3d011682016040523d82523d6000602084013e6125fa565b606091505b50600081511415612637576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b606060008214156126da576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506127ee565b600082905060005b6000821461270c5780806126f5906135d0565b915050600a82612705919061359f565b91506126e2565b60008167ffffffffffffffff81111561272857612727612f8a565b5b6040519080825280601f01601f19166020018201604052801561275a5781602001600182028036833780820191505090505b5090505b600085146127e757600182612773919061399c565b9150600a8561278291906134dc565b603061278e91906133c5565b60f81b8183815181106127a4576127a3613619565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856127e0919061359f565b945061275e565b8093505050505b919050565b60009392505050565b6128068383612899565b60008373ffffffffffffffffffffffffffffffffffffffff163b1461289457600080549050600083820390505b6128466000868380600101945086612541565b61287c576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81811061283357816000541461289157600080fd5b50505b505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612906576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000821415612941576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61294e60008483856123f6565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055506129c5836129b660008660006123fc565b6129bf85612a6d565b17612424565b60046000838152602001908152602001600020819055506000819050600083830190505b818060010192508573ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48082106129e957806000819055505050612a68600084838561244f565b505050565b60006001821460e11b9050919050565b828054612a89906132f8565b90600052602060002090601f016020900481019282612aab5760008555612af2565b82601f10612ac457803560ff1916838001178555612af2565b82800160010185558215612af2579182015b82811115612af1578235825591602001919060010190612ad6565b5b509050612aff9190612b03565b5090565b5b80821115612b1c576000816000905550600101612b04565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612b6981612b34565b8114612b7457600080fd5b50565b600081359050612b8681612b60565b92915050565b600060208284031215612ba257612ba1612b2a565b5b6000612bb084828501612b77565b91505092915050565b60008115159050919050565b612bce81612bb9565b82525050565b6000602082019050612be96000830184612bc5565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612c29578082015181840152602081019050612c0e565b83811115612c38576000848401525b50505050565b6000601f19601f8301169050919050565b6000612c5a82612bef565b612c648185612bfa565b9350612c74818560208601612c0b565b612c7d81612c3e565b840191505092915050565b60006020820190508181036000830152612ca28184612c4f565b905092915050565b6000819050919050565b612cbd81612caa565b8114612cc857600080fd5b50565b600081359050612cda81612cb4565b92915050565b600060208284031215612cf657612cf5612b2a565b5b6000612d0484828501612ccb565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612d3882612d0d565b9050919050565b612d4881612d2d565b82525050565b6000602082019050612d636000830184612d3f565b92915050565b612d7281612d2d565b8114612d7d57600080fd5b50565b600081359050612d8f81612d69565b92915050565b60008060408385031215612dac57612dab612b2a565b5b6000612dba85828601612d80565b9250506020612dcb85828601612ccb565b9150509250929050565b612dde81612caa565b82525050565b6000602082019050612df96000830184612dd5565b92915050565b600080600060608486031215612e1857612e17612b2a565b5b6000612e2686828701612d80565b9350506020612e3786828701612d80565b9250506040612e4886828701612ccb565b9150509250925092565b612e5b81612bb9565b8114612e6657600080fd5b50565b600081359050612e7881612e52565b92915050565b600060208284031215612e9457612e93612b2a565b5b6000612ea284828501612e69565b91505092915050565b600060208284031215612ec157612ec0612b2a565b5b6000612ecf84828501612d80565b91505092915050565b600080fd5b600080fd5b600080fd5b60008083601f840112612efd57612efc612ed8565b5b8235905067ffffffffffffffff811115612f1a57612f19612edd565b5b602083019150836001820283011115612f3657612f35612ee2565b5b9250929050565b60008060208385031215612f5457612f53612b2a565b5b600083013567ffffffffffffffff811115612f7257612f71612b2f565b5b612f7e85828601612ee7565b92509250509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612fc282612c3e565b810181811067ffffffffffffffff82111715612fe157612fe0612f8a565b5b80604052505050565b6000612ff4612b20565b90506130008282612fb9565b919050565b600067ffffffffffffffff8211156130205761301f612f8a565b5b602082029050602081019050919050565b600061304461303f84613005565b612fea565b9050808382526020820190506020840283018581111561306757613066612ee2565b5b835b81811015613090578061307c8882612d80565b845260208401935050602081019050613069565b5050509392505050565b600082601f8301126130af576130ae612ed8565b5b81356130bf848260208601613031565b91505092915050565b6000602082840312156130de576130dd612b2a565b5b600082013567ffffffffffffffff8111156130fc576130fb612b2f565b5b6131088482850161309a565b91505092915050565b6000806040838503121561312857613127612b2a565b5b600061313685828601612d80565b925050602061314785828601612e69565b9150509250929050565b600080fd5b600067ffffffffffffffff82111561317157613170612f8a565b5b61317a82612c3e565b9050602081019050919050565b82818337600083830152505050565b60006131a96131a484613156565b612fea565b9050828152602081018484840111156131c5576131c4613151565b5b6131d0848285613187565b509392505050565b600082601f8301126131ed576131ec612ed8565b5b81356131fd848260208601613196565b91505092915050565b600080600080608085870312156132205761321f612b2a565b5b600061322e87828801612d80565b945050602061323f87828801612d80565b935050604061325087828801612ccb565b925050606085013567ffffffffffffffff81111561327157613270612b2f565b5b61327d878288016131d8565b91505092959194509250565b600080604083850312156132a05761329f612b2a565b5b60006132ae85828601612d80565b92505060206132bf85828601612d80565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061331057607f821691505b60208210811415613324576133236132c9565b5b50919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613360602083612bfa565b915061336b8261332a565b602082019050919050565b6000602082019050818103600083015261338f81613353565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006133d082612caa565b91506133db83612caa565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156134105761340f613396565b5b828201905092915050565b7f6e756d6265724f66546f6b656e7320776f756c6420657863656564206d61782060008201527f726573657276656420746f6b656e730000000000000000000000000000000000602082015250565b6000613477602f83612bfa565b91506134828261341b565b604082019050919050565b600060208201905081810360008301526134a68161346a565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006134e782612caa565b91506134f283612caa565b925082613502576135016134ad565b5b828206905092915050565b7f63616e206f6e6c79206d696e742061206d756c7469706c65206f66207468652060008201527f50555243484153455f4c494d4954000000000000000000000000000000000000602082015250565b6000613569602e83612bfa565b91506135748261350d565b604082019050919050565b600060208201905081810360008301526135988161355c565b9050919050565b60006135aa82612caa565b91506135b583612caa565b9250826135c5576135c46134ad565b5b828204905092915050565b60006135db82612caa565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561360e5761360d613396565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f436f6e7472616374206973206e6f742061637469766500000000000000000000600082015250565b600061367e601683612bfa565b915061368982613648565b602082019050919050565b600060208201905081810360008301526136ad81613671565b9050919050565b7f5072652053616c65206973206e6f742061637469766500000000000000000000600082015250565b60006136ea601683612bfa565b91506136f5826136b4565b602082019050919050565b60006020820190508181036000830152613719816136dd565b9050919050565b7f6e756d6265724f66546f6b656e7320726571756573746564206578636565647360008201527f2072656d61696e696e6720737570706c79000000000000000000000000000000602082015250565b600061377c603183612bfa565b915061378782613720565b604082019050919050565b600060208201905081810360008301526137ab8161376f565b9050919050565b60006137bd82612caa565b91506137c883612caa565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561380157613800613396565b5b828202905092915050565b7f45544820616d6f756e74206973206e6f742073756666696369656e7400000000600082015250565b6000613842601c83612bfa565b915061384d8261380c565b602082019050919050565b6000602082019050818103600083015261387181613835565b9050919050565b7f5468652063616c6c657220697320616e6f7468657220636f6e74726163740000600082015250565b60006138ae601e83612bfa565b91506138b982613878565b602082019050919050565b600060208201905081810360008301526138dd816138a1565b9050919050565b7f6e6f7420656e6f75676820616c6c6f776c697374206d696e74732072656d616960008201527f6e696e6720666f72206e756d626572206f6620746f6b656e732072657175657360208201527f7465640000000000000000000000000000000000000000000000000000000000604082015250565b6000613966604383612bfa565b9150613971826138e4565b606082019050919050565b6000602082019050818103600083015261399581613959565b9050919050565b60006139a782612caa565b91506139b283612caa565b9250828210156139c5576139c4613396565b5b828203905092915050565b7f546f6b656e496420646f6573206e6f7420657869737400000000000000000000600082015250565b6000613a06601683612bfa565b9150613a11826139d0565b602082019050919050565b60006020820190508181036000830152613a35816139f9565b9050919050565b600081905092915050565b6000613a5282612bef565b613a5c8185613a3c565b9350613a6c818560208601612c0b565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b6000613aae600583613a3c565b9150613ab982613a78565b600582019050919050565b6000613ad08284613a47565b9150613adb82613aa1565b915081905092915050565b60008190508160005260206000209050919050565b60008154613b08816132f8565b613b128186613a3c565b94506001821660008114613b2d5760018114613b3e57613b71565b60ff19831686528186019350613b71565b613b4785613ae6565b60005b83811015613b6957815481890152600182019150602081019050613b4a565b838801955050505b50505092915050565b6000613b868285613afb565b9150613b928284613a47565b91508190509392505050565b6000613baa8285613a47565b9150613bb68284613a47565b91508190509392505050565b7f4f6e6c792070726573616c65206973206163746976652061742074686973207460008201527f696d650000000000000000000000000000000000000000000000000000000000602082015250565b6000613c1e602383612bfa565b9150613c2982613bc2565b604082019050919050565b60006020820190508181036000830152613c4d81613c11565b9050919050565b7f6e756d6265724f66546f6b656e73206578636565647320616d6f756e7420616c60008201527f6c6f77656420706572207472616e73616374696f6e0000000000000000000000602082015250565b6000613cb0603583612bfa565b9150613cbb82613c54565b604082019050919050565b60006020820190508181036000830152613cdf81613ca3565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613d42602683612bfa565b9150613d4d82613ce6565b604082019050919050565b60006020820190508181036000830152613d7181613d35565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000613d9f82613d78565b613da98185613d83565b9350613db9818560208601612c0b565b613dc281612c3e565b840191505092915050565b6000608082019050613de26000830187612d3f565b613def6020830186612d3f565b613dfc6040830185612dd5565b8181036060830152613e0e8184613d94565b905095945050505050565b600081519050613e2881612b60565b92915050565b600060208284031215613e4457613e43612b2a565b5b6000613e5284828501613e19565b9150509291505056fea264697066735822122010cf0d86d8d7d69fe014909dccfda35f0049c76411c9e6b2d63b646d9af851bd64736f6c634300080b0033

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

00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000c4564334564756361746f7273000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000064564334e46540000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : name (string): Ed3Educators
Arg [1] : symbol (string): Ed3NFT

-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [2] : 000000000000000000000000000000000000000000000000000000000000000c
Arg [3] : 4564334564756361746f72730000000000000000000000000000000000000000
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [5] : 4564334e46540000000000000000000000000000000000000000000000000000


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.