ETH Price: $3,469.20 (+2.99%)

Token

GensisGift (GenG)
 

Overview

Max Total Supply

573 GenG

Holders

115

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
17 GenG
0xb0705c9a4f11386399444d77c617cb8bd25c8d4f
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:
WanderingPlanetGift

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license
File 1 of 7 : wanderingplanets-evocard.sol
// SPDX-License-Identifier: MIT
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "erc721a/contracts/ERC721A.sol"; 

pragma solidity ^0.8.7;

struct Stake_Info{
    bool staked;
    address previous_owner;
    uint256 stake_time;
}

interface WPSInterFace {
    function getStakeInfo(uint256 tokenID) external view returns (Stake_Info memory);
}

contract WanderingPlanetGift is ERC721A, Ownable, Pausable, ReentrancyGuard {
    event BaseURIChanged(string newBaseURI);
    event Minted(address indexed minter, uint256 amount);
    event Withdraw(address indexed account, uint256 amount);
    event GiftConsumed(uint256 tokenID);
    event GenesisArrived();

    // Rewarded gifts to mint
    mapping(address => uint256) public rewardNum;
    // Reward history
    mapping(uint256 => uint256 []) public rewardList;

    uint256 public rewardTimes = 0;
    uint256 public constant MAX_TOKEN = 999;
    string public baseURI;

    WPSInterFace Stake_Contract;

    constructor(string memory baseURI_, address Stake_contract_address_) ERC721A("GensisGift", "GenG") {
        require(Stake_contract_address_ != address(0), "invalid contract address");
        Stake_Contract = WPSInterFace(Stake_contract_address_);
        baseURI = baseURI_;
    }

    /***********************************|
    |               Core                |
    |__________________________________*/

    function mintRewards(uint64 numberOfTokens_) external payable callerIsUser nonReentrant {
        require(numberOfTokens_ > 0, "invalid number of tokens");
        require(rewardNum[msg.sender] >= numberOfTokens_, "invalid gift number");
        mint(numberOfTokens_);
        rewardNum[msg.sender] -= numberOfTokens_;
    }

    function mint(uint64 numberOfTokens_) internal {
        require(totalMinted() + numberOfTokens_ <= MAX_TOKEN, "max supply exceeded");
        _safeMint(_msgSender(), numberOfTokens_);
        mint_refund();
        emit Minted(msg.sender, numberOfTokens_);
    }


    function mint_refund() private {
        if (msg.value > 0) {
            payable(_msgSender()).transfer(msg.value);
        }
    }

    function burn(uint256 tokenID) external nonReentrant{
        _burn(tokenID, true);
        emit GiftConsumed(tokenID);
    }
 
    /***********************************|
    |               State               |
    |__________________________________*/

    function totalMinted() public view returns (uint256) {
        return _totalMinted();
    }

    function numberMinted(address owner) public view returns (uint256) {
        return _numberMinted(owner);
    }

    function _baseURI() internal view virtual override returns (string memory) {
        return baseURI;
    }

    function getRewardList(uint256 times) public view returns (uint256 [] memory){
        return rewardList[times];
    }

    function getRewardNum(address address_) public view returns (uint256) {
        return rewardNum[address_];
    }

    function getStakeInfo(uint256 tokenID) public view returns (Stake_Info memory){
        return Stake_Contract.getStakeInfo(tokenID);
    }

    /***********************************|
    |               Owner               |
    |__________________________________*/
    function setBaseURI(string calldata baseURI_) external onlyOwner {
        baseURI = baseURI_;
        emit BaseURIChanged(baseURI_);
    }

    function genesisGlance(uint256[] memory tokenIDs) external onlyOwner {
        require(tokenIDs.length + totalMinted() <= MAX_TOKEN, "no more mercy");
        rewardList[rewardTimes] = tokenIDs;
          for(uint256 i = 0; i < tokenIDs.length; i++){
              require(tokenIDs[i] >= 0 && tokenIDs[i] < 2999, "invalid token ID");
              Stake_Info memory status = Stake_Contract.getStakeInfo(tokenIDs[i]); 
              if(status.staked){
                rewardNum[status.previous_owner]++;
              }
        }
        rewardTimes++;
        emit GenesisArrived();
    }
    
    function withdraw() external onlyOwner {
        uint256 balance = address(this).balance;
        payable(_msgSender()).transfer(balance);
        emit Withdraw(_msgSender(), balance);
    }
    
    function _beforeTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual override {
        super._beforeTokenTransfers(from, to, startTokenId, quantity);
        require(!paused(), "token transfer paused");
    }


    function emergencyPause() external onlyOwner {
        _pause();
    }

    function unpause() external onlyOwner {
        _unpause();
    }


    
    /***********************************|
    |              Modifier             |
    |__________________________________*/

    modifier callerIsUser() {
        require(tx.origin == _msgSender(), "caller is another contract");
        _;
    }
}

File 2 of 7 : 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 3 of 7 : Pausable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (security/Pausable.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev Contract module which allows children to implement an emergency stop
 * mechanism that can be triggered by an authorized account.
 *
 * This module is used through inheritance. It will make available the
 * modifiers `whenNotPaused` and `whenPaused`, which can be applied to
 * the functions of your contract. Note that they will not be pausable by
 * simply including this module, only once the modifiers are put in place.
 */
abstract contract Pausable is Context {
    /**
     * @dev Emitted when the pause is triggered by `account`.
     */
    event Paused(address account);

    /**
     * @dev Emitted when the pause is lifted by `account`.
     */
    event Unpaused(address account);

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state.
     */
    constructor() {
        _paused = false;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    modifier whenNotPaused() {
        _requireNotPaused();
        _;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    modifier whenPaused() {
        _requirePaused();
        _;
    }

    /**
     * @dev Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view virtual returns (bool) {
        return _paused;
    }

    /**
     * @dev Throws if the contract is paused.
     */
    function _requireNotPaused() internal view virtual {
        require(!paused(), "Pausable: paused");
    }

    /**
     * @dev Throws if the contract is not paused.
     */
    function _requirePaused() internal view virtual {
        require(paused(), "Pausable: not paused");
    }

    /**
     * @dev Triggers stopped state.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    function _pause() internal virtual whenNotPaused {
        _paused = true;
        emit Paused(_msgSender());
    }

    /**
     * @dev Returns to normal state.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    function _unpause() internal virtual whenPaused {
        _paused = false;
        emit Unpaused(_msgSender());
    }
}

File 4 of 7 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;

        _;

        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }
}

File 5 of 7 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (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 Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

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

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

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

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

File 6 of 7 : 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);
}

File 7 of 7 : 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;
    }
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"baseURI_","type":"string"},{"internalType":"address","name":"Stake_contract_address_","type":"address"}],"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":false,"internalType":"string","name":"newBaseURI","type":"string"}],"name":"BaseURIChanged","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":[],"name":"GenesisArrived","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokenID","type":"uint256"}],"name":"GiftConsumed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"minter","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Minted","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":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdraw","type":"event"},{"inputs":[],"name":"MAX_TOKEN","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":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenID","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"emergencyPause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIDs","type":"uint256[]"}],"name":"genesisGlance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"times","type":"uint256"}],"name":"getRewardList","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"address_","type":"address"}],"name":"getRewardNum","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenID","type":"uint256"}],"name":"getStakeInfo","outputs":[{"components":[{"internalType":"bool","name":"staked","type":"bool"},{"internalType":"address","name":"previous_owner","type":"address"},{"internalType":"uint256","name":"stake_time","type":"uint256"}],"internalType":"struct Stake_Info","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint64","name":"numberOfTokens_","type":"uint64"}],"name":"mintRewards","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"numberMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"rewardList","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"rewardNum","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardTimes","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":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI_","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"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":"totalMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526000600c553480156200001657600080fd5b50604051620026b6380380620026b683398101604081905262000039916200026a565b604080518082018252600a81526911d95b9cda5cd1da599d60b21b60208083019182528351808501909452600484526347656e4760e01b9084015281519192916200008791600291620001a7565b5080516200009d906003906020840190620001a7565b50506000805550620000af3362000155565b6008805460ff60a01b1916905560016009556001600160a01b0381166200011c5760405162461bcd60e51b815260206004820152601860248201527f696e76616c696420636f6e747261637420616464726573730000000000000000604482015260640160405180910390fd5b600e80546001600160a01b0319166001600160a01b03831617905581516200014c90600d906020850190620001a7565b505050620003ae565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b828054620001b5906200035b565b90600052602060002090601f016020900481019282620001d9576000855562000224565b82601f10620001f457805160ff191683800117855562000224565b8280016001018555821562000224579182015b828111156200022457825182559160200191906001019062000207565b506200023292915062000236565b5090565b5b8082111562000232576000815560010162000237565b80516001600160a01b03811681146200026557600080fd5b919050565b600080604083850312156200027e57600080fd5b82516001600160401b03808211156200029657600080fd5b818501915085601f830112620002ab57600080fd5b815181811115620002c057620002c062000398565b604051601f8201601f19908116603f01168101908382118183101715620002eb57620002eb62000398565b816040528281526020935088848487010111156200030857600080fd5b600091505b828210156200032c57848201840151818301850152908301906200030d565b828211156200033e5760008484830101525b9550620003509150508582016200024d565b925050509250929050565b600181811c908216806200037057607f821691505b602082108114156200039257634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b6122f880620003be6000396000f3fe6080604052600436106102045760003560e01c80636c0360eb11610118578063a2309ff8116100a0578063c87b56dd1161006f578063c87b56dd146105e9578063dc33e68114610609578063dea1e6d314610629578063e985e9c514610649578063f2fde38b1461069257600080fd5b8063a2309ff814610568578063b1ceff301461057d578063b5f3b150146105b3578063b88d4fde146105c957600080fd5b80638da5cb5b116100e75780638da5cb5b146104c85780639352ce54146104e657806395d89b41146105065780639f80c9f61461051b578063a22cb4651461054857600080fd5b80636c0360eb146104685780636e1bd3231461047d57806370a0823114610493578063715018a6146104b357600080fd5b80633ccfd60b1161019b57806351858e271161016a57806351858e27146103e157806355f804b3146103f65780635c975abb1461041657806362128170146104355780636352211e1461044857600080fd5b80633ccfd60b146103775780633f4ba83a1461038c57806342842e0e146103a157806342966c68146103c157600080fd5b806309813482116101d757806309813482146102ba57806318160ddd1461030757806323b872dd1461032a5780633633f1e21461034a57600080fd5b806301ffc9a71461020957806306fdde031461023e578063081812fc14610260578063095ea7b314610298575b600080fd5b34801561021557600080fd5b50610229610224366004611ecf565b6106b2565b60405190151581526020015b60405180910390f35b34801561024a57600080fd5b50610253610704565b6040516102359190612153565b34801561026c57600080fd5b5061028061027b366004611fe4565b610796565b6040516001600160a01b039091168152602001610235565b3480156102a457600080fd5b506102b86102b3366004611df7565b6107da565b005b3480156102c657600080fd5b506102da6102d5366004611fe4565b61087a565b604080518251151581526020808401516001600160a01b0316908201529181015190820152606001610235565b34801561031357600080fd5b50600154600054035b604051908152602001610235565b34801561033657600080fd5b506102b8610345366004611cc5565b61090f565b34801561035657600080fd5b5061031c610365366004611c6f565b600a6020526000908152604090205481565b34801561038357600080fd5b506102b8610ab7565b34801561039857600080fd5b506102b8610b28565b3480156103ad57600080fd5b506102b86103bc366004611cc5565b610b3a565b3480156103cd57600080fd5b506102b86103dc366004611fe4565b610b5a565b3480156103ed57600080fd5b506102b8610bfd565b34801561040257600080fd5b506102b8610411366004611f09565b610c0d565b34801561042257600080fd5b50600854600160a01b900460ff16610229565b6102b861044336600461201f565b610c5f565b34801561045457600080fd5b50610280610463366004611fe4565b610df8565b34801561047457600080fd5b50610253610e03565b34801561048957600080fd5b5061031c6103e781565b34801561049f57600080fd5b5061031c6104ae366004611c6f565b610e91565b3480156104bf57600080fd5b506102b8610edf565b3480156104d457600080fd5b506008546001600160a01b0316610280565b3480156104f257600080fd5b5061031c610501366004611ffd565b610ef1565b34801561051257600080fd5b50610253610f22565b34801561052757600080fd5b5061053b610536366004611fe4565b610f31565b60405161023591906120e0565b34801561055457600080fd5b506102b8610563366004611dc9565b610f93565b34801561057457600080fd5b5060005461031c565b34801561058957600080fd5b5061031c610598366004611c6f565b6001600160a01b03166000908152600a602052604090205490565b3480156105bf57600080fd5b5061031c600c5481565b3480156105d557600080fd5b506102b86105e4366004611d06565b611029565b3480156105f557600080fd5b50610253610604366004611fe4565b611073565b34801561061557600080fd5b5061031c610624366004611c6f565b6110f8565b34801561063557600080fd5b506102b8610644366004611e23565b611122565b34801561065557600080fd5b50610229610664366004611c8c565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561069e57600080fd5b506102b86106ad366004611c6f565b611360565b60006301ffc9a760e01b6001600160e01b0319831614806106e357506380ac58cd60e01b6001600160e01b03198316145b806106fe5750635b5e139f60e01b6001600160e01b03198316145b92915050565b606060028054610713906121f1565b80601f016020809104026020016040519081016040528092919081815260200182805461073f906121f1565b801561078c5780601f106107615761010080835404028352916020019161078c565b820191906000526020600020905b81548152906001019060200180831161076f57829003601f168201915b5050505050905090565b60006107a1826113d9565b6107be576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60006107e582610df8565b9050336001600160a01b0382161461081e576108018133610664565b61081e576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6040805160608101825260008082526020820181905281830152600e5491516304c09a4160e11b81526004810184905290916001600160a01b03169063098134829060240160606040518083038186803b1580156108d757600080fd5b505afa1580156108eb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106fe9190611f7a565b600061091a82611400565b9050836001600160a01b0316816001600160a01b03161461094d5760405162a1148160e81b815260040160405180910390fd5b600082815260066020526040902080546109798187335b6001600160a01b039081169116811491141790565b6109a4576109878633610664565b6109a457604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0385166109cb57604051633a954ecd60e21b815260040160405180910390fd5b6109d88686866001611461565b80156109e357600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040902055600160e11b8316610a6e5760018401600081815260046020526040902054610a6c576000548114610a6c5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b610abf6114b3565b6040514790339082156108fc029083906000818181858888f19350505050158015610aee573d6000803e3d6000fd5b5060405181815233907f884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a9424364906020015b60405180910390a250565b610b306114b3565b610b3861150d565b565b610b5583838360405180602001604052806000815250611029565b505050565b60026009541415610bb25760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064015b60405180910390fd5b6002600955610bc2816001611562565b6040518181527f35c8dd9ca45bacdfb1db8eb8fabd55cf6899c0cb6682f325a287279e09de292b9060200160405180910390a1506001600955565b610c056114b3565b610b386116b3565b610c156114b3565b610c21600d8383611b9b565b507f5411e8ebf1636d9e83d5fc4900bf80cbac82e8790da2a4c94db4895e889eedf68282604051610c53929190612124565b60405180910390a15050565b323314610cae5760405162461bcd60e51b815260206004820152601a60248201527f63616c6c657220697320616e6f7468657220636f6e74726163740000000000006044820152606401610ba9565b60026009541415610d015760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610ba9565b60026009556001600160401b038116610d5c5760405162461bcd60e51b815260206004820152601860248201527f696e76616c6964206e756d626572206f6620746f6b656e7300000000000000006044820152606401610ba9565b336000908152600a60205260409020546001600160401b0382161115610dba5760405162461bcd60e51b815260206004820152601360248201527234b73b30b634b21033b4b33a10373ab6b132b960691b6044820152606401610ba9565b610dc3816116f6565b336000908152600a6020526040812080546001600160401b0384169290610deb9084906121ae565b9091555050600160095550565b60006106fe82611400565b600d8054610e10906121f1565b80601f0160208091040260200160405190810160405280929190818152602001828054610e3c906121f1565b8015610e895780601f10610e5e57610100808354040283529160200191610e89565b820191906000526020600020905b815481529060010190602001808311610e6c57829003601f168201915b505050505081565b60006001600160a01b038216610eba576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600560205260409020546001600160401b031690565b610ee76114b3565b610b3860006117b0565b600b6020528160005260406000208181548110610f0d57600080fd5b90600052602060002001600091509150505481565b606060038054610713906121f1565b6000818152600b6020908152604091829020805483518184028101840190945280845260609392830182828015610f8757602002820191906000526020600020905b815481526020019060010190808311610f73575b50505050509050919050565b6001600160a01b038216331415610fbd5760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b61103484848461090f565b6001600160a01b0383163b1561106d5761105084848484611802565b61106d576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b606061107e826113d9565b61109b57604051630a14c4b560e41b815260040160405180910390fd5b60006110a56118f9565b90508051600014156110c657604051806020016040528060008152506110f1565b806110d084611908565b6040516020016110e1929190612074565b6040516020818303038152906040525b9392505050565b6001600160a01b038116600090815260056020526040808220546001600160401b03911c166106fe565b61112a6114b3565b6103e761113660005490565b82516111429190612196565b11156111805760405162461bcd60e51b815260206004820152600d60248201526c6e6f206d6f7265206d6572637960981b6044820152606401610ba9565b600c546000908152600b6020908152604090912082516111a292840190611c1f565b5060005b815181101561131e5760008282815181106111c3576111c361225d565b6020026020010151101580156111f35750610bb78282815181106111e9576111e961225d565b6020026020010151105b6112325760405162461bcd60e51b815260206004820152601060248201526f1a5b9d985b1a59081d1bdad95b88125160821b6044820152606401610ba9565b600e5482516000916001600160a01b03169063098134829085908590811061125c5761125c61225d565b60200260200101516040518263ffffffff1660e01b815260040161128291815260200190565b60606040518083038186803b15801561129a57600080fd5b505afa1580156112ae573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112d29190611f7a565b80519091501561130b576020808201516001600160a01b03166000908152600a909152604081208054916113058361222c565b91905055505b50806113168161222c565b9150506111a6565b50600c805490600061132f8361222c565b90915550506040517f64ddbc59a852416b98b28e23f74c8bc930b02b327ac72abaa47b08552a0cb2f390600090a150565b6113686114b3565b6001600160a01b0381166113cd5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610ba9565b6113d6816117b0565b50565b60008054821080156106fe575050600090815260046020526040902054600160e01b161590565b60008160005481101561144857600081815260046020526040902054600160e01b8116611446575b806110f1575060001901600081815260046020526040902054611428565b505b604051636f96cda160e11b815260040160405180910390fd5b600854600160a01b900460ff161561106d5760405162461bcd60e51b81526020600482015260156024820152741d1bdad95b881d1c985b9cd9995c881c185d5cd959605a1b6044820152606401610ba9565b6008546001600160a01b03163314610b385760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610ba9565b611515611957565b6008805460ff60a01b191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b600061156d83611400565b90508060008061158b86600090815260066020526040902080549091565b9150915084156115cb576115a0818433610964565b6115cb576115ae8333610664565b6115cb57604051632ce44b5f60e11b815260040160405180910390fd5b6115d9836000886001611461565b80156115e457600082555b6001600160a01b038316600081815260056020526040902080546fffffffffffffffffffffffffffffffff0190554260a01b17600360e01b17600087815260046020526040902055600160e11b841661166b57600186016000818152600460205260409020546116695760005481146116695760008181526004602052604090208590555b505b60405186906000906001600160a01b038616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050600180548101905550505050565b6116bb6119a7565b6008805460ff60a01b1916600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586115453390565b6103e7816001600160401b031661170c60005490565b6117169190612196565b111561175a5760405162461bcd60e51b81526020600482015260136024820152721b585e081cdd5c1c1b1e48195e18d959591959606a1b6044820152606401610ba9565b61176d33826001600160401b03166119f4565b611775611a12565b6040516001600160401b038216815233907f30385c845b448a36257a6a1716e6ad2e1bc2cbe333cde1e69fe849ad6511adfe90602001610b1d565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906118379033908990889088906004016120a3565b602060405180830381600087803b15801561185157600080fd5b505af1925050508015611881575060408051601f3d908101601f1916820190925261187e91810190611eec565b60015b6118dc573d8080156118af576040519150601f19603f3d011682016040523d82523d6000602084013e6118b4565b606091505b5080516118d4576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b6060600d8054610713906121f1565b604080516080810191829052607f0190826030600a8206018353600a90045b801561194557600183039250600a81066030018353600a9004611927565b50819003601f19909101908152919050565b600854600160a01b900460ff16610b385760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610ba9565b600854600160a01b900460ff1615610b385760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610ba9565b611a0e828260405180602001604052806000815250611a44565b5050565b3415610b385760405133903480156108fc02916000818181858888f193505050501580156113d6573d6000803e3d6000fd5b611a4e8383611ab1565b6001600160a01b0383163b15610b55576000548281035b611a786000868380600101945086611802565b611a95576040516368d2bf6b60e11b815260040160405180910390fd5b818110611a65578160005414611aaa57600080fd5b5050505050565b6000546001600160a01b038316611ada57604051622e076360e81b815260040160405180910390fd5b81611af85760405163b562e8dd60e01b815260040160405180910390fd5b611b056000848385611461565b6001600160a01b038316600081815260056020526040902080546801000000000000000185020190554260a01b6001841460e11b1717600082815260046020526040902055808281015b6040516001830192906001600160a01b038716906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808210611b4f5760005550505050565b828054611ba7906121f1565b90600052602060002090601f016020900481019282611bc95760008555611c0f565b82601f10611be25782800160ff19823516178555611c0f565b82800160010185558215611c0f579182015b82811115611c0f578235825591602001919060010190611bf4565b50611c1b929150611c5a565b5090565b828054828255906000526020600020908101928215611c0f579160200282015b82811115611c0f578251825591602001919060010190611c3f565b5b80821115611c1b5760008155600101611c5b565b600060208284031215611c8157600080fd5b81356110f181612289565b60008060408385031215611c9f57600080fd5b8235611caa81612289565b91506020830135611cba81612289565b809150509250929050565b600080600060608486031215611cda57600080fd5b8335611ce581612289565b92506020840135611cf581612289565b929592945050506040919091013590565b60008060008060808587031215611d1c57600080fd5b8435611d2781612289565b9350602085810135611d3881612289565b93506040860135925060608601356001600160401b0380821115611d5b57600080fd5b818801915088601f830112611d6f57600080fd5b813581811115611d8157611d81612273565b611d93601f8201601f19168501612166565b91508082528984828501011115611da957600080fd5b808484018584013760008482840101525080935050505092959194509250565b60008060408385031215611ddc57600080fd5b8235611de781612289565b91506020830135611cba8161229e565b60008060408385031215611e0a57600080fd5b8235611e1581612289565b946020939093013593505050565b60006020808385031215611e3657600080fd5b82356001600160401b0380821115611e4d57600080fd5b818501915085601f830112611e6157600080fd5b813581811115611e7357611e73612273565b8060051b9150611e84848301612166565b8181528481019084860184860187018a1015611e9f57600080fd5b600095505b83861015611ec2578035835260019590950194918601918601611ea4565b5098975050505050505050565b600060208284031215611ee157600080fd5b81356110f1816122ac565b600060208284031215611efe57600080fd5b81516110f1816122ac565b60008060208385031215611f1c57600080fd5b82356001600160401b0380821115611f3357600080fd5b818501915085601f830112611f4757600080fd5b813581811115611f5657600080fd5b866020828501011115611f6857600080fd5b60209290920196919550909350505050565b600060608284031215611f8c57600080fd5b604051606081018181106001600160401b0382111715611fae57611fae612273565b6040528251611fbc8161229e565b81526020830151611fcc81612289565b60208201526040928301519281019290925250919050565b600060208284031215611ff657600080fd5b5035919050565b6000806040838503121561201057600080fd5b50508035926020909101359150565b60006020828403121561203157600080fd5b81356001600160401b03811681146110f157600080fd5b600081518084526120608160208601602086016121c5565b601f01601f19169290920160200192915050565b600083516120868184602088016121c5565b83519083019061209a8183602088016121c5565b01949350505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906120d690830184612048565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b81811015612118578351835292840192918401916001016120fc565b50909695505050505050565b60208152816020820152818360408301376000818301604090810191909152601f909201601f19160101919050565b6020815260006110f16020830184612048565b604051601f8201601f191681016001600160401b038111828210171561218e5761218e612273565b604052919050565b600082198211156121a9576121a9612247565b500190565b6000828210156121c0576121c0612247565b500390565b60005b838110156121e05781810151838201526020016121c8565b8381111561106d5750506000910152565b600181811c9082168061220557607f821691505b6020821081141561222657634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561224057612240612247565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b03811681146113d657600080fd5b80151581146113d657600080fd5b6001600160e01b0319811681146113d657600080fdfea26469706673582212201e4c4c8b2eb03859aac45c4f6a3d741c43c253d413434e5df7dfc95ab75b219f64736f6c6343000807003300000000000000000000000000000000000000000000000000000000000000400000000000000000000000005ee1f4019f4cd9009c5a0934005b5d8304eaf3310000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d64354c6f446f3769727847384e3553583363446657617a6f68486f3351466e473574453675615054675a58522f00000000000000000000

Deployed Bytecode

0x6080604052600436106102045760003560e01c80636c0360eb11610118578063a2309ff8116100a0578063c87b56dd1161006f578063c87b56dd146105e9578063dc33e68114610609578063dea1e6d314610629578063e985e9c514610649578063f2fde38b1461069257600080fd5b8063a2309ff814610568578063b1ceff301461057d578063b5f3b150146105b3578063b88d4fde146105c957600080fd5b80638da5cb5b116100e75780638da5cb5b146104c85780639352ce54146104e657806395d89b41146105065780639f80c9f61461051b578063a22cb4651461054857600080fd5b80636c0360eb146104685780636e1bd3231461047d57806370a0823114610493578063715018a6146104b357600080fd5b80633ccfd60b1161019b57806351858e271161016a57806351858e27146103e157806355f804b3146103f65780635c975abb1461041657806362128170146104355780636352211e1461044857600080fd5b80633ccfd60b146103775780633f4ba83a1461038c57806342842e0e146103a157806342966c68146103c157600080fd5b806309813482116101d757806309813482146102ba57806318160ddd1461030757806323b872dd1461032a5780633633f1e21461034a57600080fd5b806301ffc9a71461020957806306fdde031461023e578063081812fc14610260578063095ea7b314610298575b600080fd5b34801561021557600080fd5b50610229610224366004611ecf565b6106b2565b60405190151581526020015b60405180910390f35b34801561024a57600080fd5b50610253610704565b6040516102359190612153565b34801561026c57600080fd5b5061028061027b366004611fe4565b610796565b6040516001600160a01b039091168152602001610235565b3480156102a457600080fd5b506102b86102b3366004611df7565b6107da565b005b3480156102c657600080fd5b506102da6102d5366004611fe4565b61087a565b604080518251151581526020808401516001600160a01b0316908201529181015190820152606001610235565b34801561031357600080fd5b50600154600054035b604051908152602001610235565b34801561033657600080fd5b506102b8610345366004611cc5565b61090f565b34801561035657600080fd5b5061031c610365366004611c6f565b600a6020526000908152604090205481565b34801561038357600080fd5b506102b8610ab7565b34801561039857600080fd5b506102b8610b28565b3480156103ad57600080fd5b506102b86103bc366004611cc5565b610b3a565b3480156103cd57600080fd5b506102b86103dc366004611fe4565b610b5a565b3480156103ed57600080fd5b506102b8610bfd565b34801561040257600080fd5b506102b8610411366004611f09565b610c0d565b34801561042257600080fd5b50600854600160a01b900460ff16610229565b6102b861044336600461201f565b610c5f565b34801561045457600080fd5b50610280610463366004611fe4565b610df8565b34801561047457600080fd5b50610253610e03565b34801561048957600080fd5b5061031c6103e781565b34801561049f57600080fd5b5061031c6104ae366004611c6f565b610e91565b3480156104bf57600080fd5b506102b8610edf565b3480156104d457600080fd5b506008546001600160a01b0316610280565b3480156104f257600080fd5b5061031c610501366004611ffd565b610ef1565b34801561051257600080fd5b50610253610f22565b34801561052757600080fd5b5061053b610536366004611fe4565b610f31565b60405161023591906120e0565b34801561055457600080fd5b506102b8610563366004611dc9565b610f93565b34801561057457600080fd5b5060005461031c565b34801561058957600080fd5b5061031c610598366004611c6f565b6001600160a01b03166000908152600a602052604090205490565b3480156105bf57600080fd5b5061031c600c5481565b3480156105d557600080fd5b506102b86105e4366004611d06565b611029565b3480156105f557600080fd5b50610253610604366004611fe4565b611073565b34801561061557600080fd5b5061031c610624366004611c6f565b6110f8565b34801561063557600080fd5b506102b8610644366004611e23565b611122565b34801561065557600080fd5b50610229610664366004611c8c565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561069e57600080fd5b506102b86106ad366004611c6f565b611360565b60006301ffc9a760e01b6001600160e01b0319831614806106e357506380ac58cd60e01b6001600160e01b03198316145b806106fe5750635b5e139f60e01b6001600160e01b03198316145b92915050565b606060028054610713906121f1565b80601f016020809104026020016040519081016040528092919081815260200182805461073f906121f1565b801561078c5780601f106107615761010080835404028352916020019161078c565b820191906000526020600020905b81548152906001019060200180831161076f57829003601f168201915b5050505050905090565b60006107a1826113d9565b6107be576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60006107e582610df8565b9050336001600160a01b0382161461081e576108018133610664565b61081e576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6040805160608101825260008082526020820181905281830152600e5491516304c09a4160e11b81526004810184905290916001600160a01b03169063098134829060240160606040518083038186803b1580156108d757600080fd5b505afa1580156108eb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106fe9190611f7a565b600061091a82611400565b9050836001600160a01b0316816001600160a01b03161461094d5760405162a1148160e81b815260040160405180910390fd5b600082815260066020526040902080546109798187335b6001600160a01b039081169116811491141790565b6109a4576109878633610664565b6109a457604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0385166109cb57604051633a954ecd60e21b815260040160405180910390fd5b6109d88686866001611461565b80156109e357600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040902055600160e11b8316610a6e5760018401600081815260046020526040902054610a6c576000548114610a6c5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b610abf6114b3565b6040514790339082156108fc029083906000818181858888f19350505050158015610aee573d6000803e3d6000fd5b5060405181815233907f884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a9424364906020015b60405180910390a250565b610b306114b3565b610b3861150d565b565b610b5583838360405180602001604052806000815250611029565b505050565b60026009541415610bb25760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064015b60405180910390fd5b6002600955610bc2816001611562565b6040518181527f35c8dd9ca45bacdfb1db8eb8fabd55cf6899c0cb6682f325a287279e09de292b9060200160405180910390a1506001600955565b610c056114b3565b610b386116b3565b610c156114b3565b610c21600d8383611b9b565b507f5411e8ebf1636d9e83d5fc4900bf80cbac82e8790da2a4c94db4895e889eedf68282604051610c53929190612124565b60405180910390a15050565b323314610cae5760405162461bcd60e51b815260206004820152601a60248201527f63616c6c657220697320616e6f7468657220636f6e74726163740000000000006044820152606401610ba9565b60026009541415610d015760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610ba9565b60026009556001600160401b038116610d5c5760405162461bcd60e51b815260206004820152601860248201527f696e76616c6964206e756d626572206f6620746f6b656e7300000000000000006044820152606401610ba9565b336000908152600a60205260409020546001600160401b0382161115610dba5760405162461bcd60e51b815260206004820152601360248201527234b73b30b634b21033b4b33a10373ab6b132b960691b6044820152606401610ba9565b610dc3816116f6565b336000908152600a6020526040812080546001600160401b0384169290610deb9084906121ae565b9091555050600160095550565b60006106fe82611400565b600d8054610e10906121f1565b80601f0160208091040260200160405190810160405280929190818152602001828054610e3c906121f1565b8015610e895780601f10610e5e57610100808354040283529160200191610e89565b820191906000526020600020905b815481529060010190602001808311610e6c57829003601f168201915b505050505081565b60006001600160a01b038216610eba576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600560205260409020546001600160401b031690565b610ee76114b3565b610b3860006117b0565b600b6020528160005260406000208181548110610f0d57600080fd5b90600052602060002001600091509150505481565b606060038054610713906121f1565b6000818152600b6020908152604091829020805483518184028101840190945280845260609392830182828015610f8757602002820191906000526020600020905b815481526020019060010190808311610f73575b50505050509050919050565b6001600160a01b038216331415610fbd5760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b61103484848461090f565b6001600160a01b0383163b1561106d5761105084848484611802565b61106d576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b606061107e826113d9565b61109b57604051630a14c4b560e41b815260040160405180910390fd5b60006110a56118f9565b90508051600014156110c657604051806020016040528060008152506110f1565b806110d084611908565b6040516020016110e1929190612074565b6040516020818303038152906040525b9392505050565b6001600160a01b038116600090815260056020526040808220546001600160401b03911c166106fe565b61112a6114b3565b6103e761113660005490565b82516111429190612196565b11156111805760405162461bcd60e51b815260206004820152600d60248201526c6e6f206d6f7265206d6572637960981b6044820152606401610ba9565b600c546000908152600b6020908152604090912082516111a292840190611c1f565b5060005b815181101561131e5760008282815181106111c3576111c361225d565b6020026020010151101580156111f35750610bb78282815181106111e9576111e961225d565b6020026020010151105b6112325760405162461bcd60e51b815260206004820152601060248201526f1a5b9d985b1a59081d1bdad95b88125160821b6044820152606401610ba9565b600e5482516000916001600160a01b03169063098134829085908590811061125c5761125c61225d565b60200260200101516040518263ffffffff1660e01b815260040161128291815260200190565b60606040518083038186803b15801561129a57600080fd5b505afa1580156112ae573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112d29190611f7a565b80519091501561130b576020808201516001600160a01b03166000908152600a909152604081208054916113058361222c565b91905055505b50806113168161222c565b9150506111a6565b50600c805490600061132f8361222c565b90915550506040517f64ddbc59a852416b98b28e23f74c8bc930b02b327ac72abaa47b08552a0cb2f390600090a150565b6113686114b3565b6001600160a01b0381166113cd5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610ba9565b6113d6816117b0565b50565b60008054821080156106fe575050600090815260046020526040902054600160e01b161590565b60008160005481101561144857600081815260046020526040902054600160e01b8116611446575b806110f1575060001901600081815260046020526040902054611428565b505b604051636f96cda160e11b815260040160405180910390fd5b600854600160a01b900460ff161561106d5760405162461bcd60e51b81526020600482015260156024820152741d1bdad95b881d1c985b9cd9995c881c185d5cd959605a1b6044820152606401610ba9565b6008546001600160a01b03163314610b385760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610ba9565b611515611957565b6008805460ff60a01b191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b600061156d83611400565b90508060008061158b86600090815260066020526040902080549091565b9150915084156115cb576115a0818433610964565b6115cb576115ae8333610664565b6115cb57604051632ce44b5f60e11b815260040160405180910390fd5b6115d9836000886001611461565b80156115e457600082555b6001600160a01b038316600081815260056020526040902080546fffffffffffffffffffffffffffffffff0190554260a01b17600360e01b17600087815260046020526040902055600160e11b841661166b57600186016000818152600460205260409020546116695760005481146116695760008181526004602052604090208590555b505b60405186906000906001600160a01b038616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050600180548101905550505050565b6116bb6119a7565b6008805460ff60a01b1916600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586115453390565b6103e7816001600160401b031661170c60005490565b6117169190612196565b111561175a5760405162461bcd60e51b81526020600482015260136024820152721b585e081cdd5c1c1b1e48195e18d959591959606a1b6044820152606401610ba9565b61176d33826001600160401b03166119f4565b611775611a12565b6040516001600160401b038216815233907f30385c845b448a36257a6a1716e6ad2e1bc2cbe333cde1e69fe849ad6511adfe90602001610b1d565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906118379033908990889088906004016120a3565b602060405180830381600087803b15801561185157600080fd5b505af1925050508015611881575060408051601f3d908101601f1916820190925261187e91810190611eec565b60015b6118dc573d8080156118af576040519150601f19603f3d011682016040523d82523d6000602084013e6118b4565b606091505b5080516118d4576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b6060600d8054610713906121f1565b604080516080810191829052607f0190826030600a8206018353600a90045b801561194557600183039250600a81066030018353600a9004611927565b50819003601f19909101908152919050565b600854600160a01b900460ff16610b385760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610ba9565b600854600160a01b900460ff1615610b385760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610ba9565b611a0e828260405180602001604052806000815250611a44565b5050565b3415610b385760405133903480156108fc02916000818181858888f193505050501580156113d6573d6000803e3d6000fd5b611a4e8383611ab1565b6001600160a01b0383163b15610b55576000548281035b611a786000868380600101945086611802565b611a95576040516368d2bf6b60e11b815260040160405180910390fd5b818110611a65578160005414611aaa57600080fd5b5050505050565b6000546001600160a01b038316611ada57604051622e076360e81b815260040160405180910390fd5b81611af85760405163b562e8dd60e01b815260040160405180910390fd5b611b056000848385611461565b6001600160a01b038316600081815260056020526040902080546801000000000000000185020190554260a01b6001841460e11b1717600082815260046020526040902055808281015b6040516001830192906001600160a01b038716906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808210611b4f5760005550505050565b828054611ba7906121f1565b90600052602060002090601f016020900481019282611bc95760008555611c0f565b82601f10611be25782800160ff19823516178555611c0f565b82800160010185558215611c0f579182015b82811115611c0f578235825591602001919060010190611bf4565b50611c1b929150611c5a565b5090565b828054828255906000526020600020908101928215611c0f579160200282015b82811115611c0f578251825591602001919060010190611c3f565b5b80821115611c1b5760008155600101611c5b565b600060208284031215611c8157600080fd5b81356110f181612289565b60008060408385031215611c9f57600080fd5b8235611caa81612289565b91506020830135611cba81612289565b809150509250929050565b600080600060608486031215611cda57600080fd5b8335611ce581612289565b92506020840135611cf581612289565b929592945050506040919091013590565b60008060008060808587031215611d1c57600080fd5b8435611d2781612289565b9350602085810135611d3881612289565b93506040860135925060608601356001600160401b0380821115611d5b57600080fd5b818801915088601f830112611d6f57600080fd5b813581811115611d8157611d81612273565b611d93601f8201601f19168501612166565b91508082528984828501011115611da957600080fd5b808484018584013760008482840101525080935050505092959194509250565b60008060408385031215611ddc57600080fd5b8235611de781612289565b91506020830135611cba8161229e565b60008060408385031215611e0a57600080fd5b8235611e1581612289565b946020939093013593505050565b60006020808385031215611e3657600080fd5b82356001600160401b0380821115611e4d57600080fd5b818501915085601f830112611e6157600080fd5b813581811115611e7357611e73612273565b8060051b9150611e84848301612166565b8181528481019084860184860187018a1015611e9f57600080fd5b600095505b83861015611ec2578035835260019590950194918601918601611ea4565b5098975050505050505050565b600060208284031215611ee157600080fd5b81356110f1816122ac565b600060208284031215611efe57600080fd5b81516110f1816122ac565b60008060208385031215611f1c57600080fd5b82356001600160401b0380821115611f3357600080fd5b818501915085601f830112611f4757600080fd5b813581811115611f5657600080fd5b866020828501011115611f6857600080fd5b60209290920196919550909350505050565b600060608284031215611f8c57600080fd5b604051606081018181106001600160401b0382111715611fae57611fae612273565b6040528251611fbc8161229e565b81526020830151611fcc81612289565b60208201526040928301519281019290925250919050565b600060208284031215611ff657600080fd5b5035919050565b6000806040838503121561201057600080fd5b50508035926020909101359150565b60006020828403121561203157600080fd5b81356001600160401b03811681146110f157600080fd5b600081518084526120608160208601602086016121c5565b601f01601f19169290920160200192915050565b600083516120868184602088016121c5565b83519083019061209a8183602088016121c5565b01949350505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906120d690830184612048565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b81811015612118578351835292840192918401916001016120fc565b50909695505050505050565b60208152816020820152818360408301376000818301604090810191909152601f909201601f19160101919050565b6020815260006110f16020830184612048565b604051601f8201601f191681016001600160401b038111828210171561218e5761218e612273565b604052919050565b600082198211156121a9576121a9612247565b500190565b6000828210156121c0576121c0612247565b500390565b60005b838110156121e05781810151838201526020016121c8565b8381111561106d5750506000910152565b600181811c9082168061220557607f821691505b6020821081141561222657634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561224057612240612247565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b03811681146113d657600080fd5b80151581146113d657600080fd5b6001600160e01b0319811681146113d657600080fdfea26469706673582212201e4c4c8b2eb03859aac45c4f6a3d741c43c253d413434e5df7dfc95ab75b219f64736f6c63430008070033

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

00000000000000000000000000000000000000000000000000000000000000400000000000000000000000005ee1f4019f4cd9009c5a0934005b5d8304eaf3310000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d64354c6f446f3769727847384e3553583363446657617a6f68486f3351466e473574453675615054675a58522f00000000000000000000

-----Decoded View---------------
Arg [0] : baseURI_ (string): ipfs://Qmd5LoDo7irxG8N5SX3cDfWazohHo3QFnG5tE6uaPTgZXR/
Arg [1] : Stake_contract_address_ (address): 0x5EE1f4019F4CD9009c5a0934005B5d8304eaf331

-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 0000000000000000000000005ee1f4019f4cd9009c5a0934005b5d8304eaf331
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [3] : 697066733a2f2f516d64354c6f446f3769727847384e3553583363446657617a
Arg [4] : 6f68486f3351466e473574453675615054675a58522f00000000000000000000


Deployed Bytecode Sourcemap

476:4507:6:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5653:607:4;;;;;;;;;;-1:-1:-1;5653:607:4;;;;;:::i;:::-;;:::i;:::-;;;8675:14:7;;8668:22;8650:41;;8638:2;8623:18;5653:607:4;;;;;;;;11161:98;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;13048:200::-;;;;;;;;;;-1:-1:-1;13048:200:4;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;7336:32:7;;;7318:51;;7306:2;7291:18;13048:200:4;7172:203:7;12611:376:4;;;;;;;;;;-1:-1:-1;12611:376:4;;;;;:::i;:::-;;:::i;:::-;;3073:138:6;;;;;;;;;;-1:-1:-1;3073:138:6;;;;;:::i;:::-;;:::i;:::-;;;;13818:13:7;;13811:21;13804:29;13786:48;;13894:4;13882:17;;;13876:24;-1:-1:-1;;;;;13872:50:7;13850:20;;;13843:80;13967:17;;;13961:24;13939:20;;;13932:54;13774:2;13759:18;3073:138:6;13584:408:7;4736:309:4;;;;;;;;;;-1:-1:-1;4998:12:4;;4789:7;4982:13;:28;4736:309;;;14143:25:7;;;14131:2;14116:18;4736:309:4;13997:177:7;22055:2739:4;;;;;;;;;;-1:-1:-1;22055:2739:4;;;;;:::i;:::-;;:::i;822:44:6:-;;;;;;;;;;-1:-1:-1;822:44:6;;;;;:::i;:::-;;;;;;;;;;;;;;4086:190;;;;;;;;;;;;;:::i;4661:65::-;;;;;;;;;;;;;:::i;13912:179:4:-;;;;;;;;;;-1:-1:-1;13912:179:4;;;;;:::i;:::-;;:::i;2245:125:6:-;;;;;;;;;;-1:-1:-1;2245:125:6;;;;;:::i;:::-;;:::i;4585:70::-;;;;;;;;;;;;;:::i;3343:139::-;;;;;;;;;;-1:-1:-1;3343:139:6;;;;;:::i;:::-;;:::i;1615:84:1:-;;;;;;;;;;-1:-1:-1;1685:7:1;;-1:-1:-1;;;1685:7:1;;;;1615:84;;1507:324:6;;;;;;:::i;:::-;;:::i;10957:142:4:-;;;;;;;;;;-1:-1:-1;10957:142:4;;;;;:::i;:::-;;:::i;1030:21:6:-;;;;;;;;;;;;;:::i;985:39::-;;;;;;;;;;;;1021:3;985:39;;6319:221:4;;;;;;;;;;-1:-1:-1;6319:221:4;;;;;:::i;:::-;;:::i;1831:101:0:-;;;;;;;;;;;;;:::i;1201:85::-;;;;;;;;;;-1:-1:-1;1273:6:0;;-1:-1:-1;;;;;1273:6:0;1201:85;;894:48:6;;;;;;;;;;-1:-1:-1;894:48:6;;;;;:::i;:::-;;:::i;11323:102:4:-;;;;;;;;;;;;;:::i;2830:118:6:-;;;;;;;;;;-1:-1:-1;2830:118:6;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;13315:303:4:-;;;;;;;;;;-1:-1:-1;13315:303:4;;;;;:::i;:::-;;:::i;2504:91:6:-;;;;;;;;;;-1:-1:-1;2548:7:6;5369:13:4;2504:91:6;;2954:113;;;;;;;;;;-1:-1:-1;2954:113:6;;;;;:::i;:::-;-1:-1:-1;;;;;3041:19:6;3015:7;3041:19;;;:9;:19;;;;;;;2954:113;949:30;;;;;;;;;;;;;;;;14157:388:4;;;;;;;;;;-1:-1:-1;14157:388:4;;;;;:::i;:::-;;:::i;11491:313::-;;;;;;;;;;-1:-1:-1;11491:313:4;;;;;:::i;:::-;;:::i;2601:111:6:-;;;;;;;;;;-1:-1:-1;2601:111:6;;;;;:::i;:::-;;:::i;3488:588::-;;;;;;;;;;-1:-1:-1;3488:588:6;;;;;:::i;:::-;;:::i;13684:162:4:-;;;;;;;;;;-1:-1:-1;13684:162:4;;;;;:::i;:::-;-1:-1:-1;;;;;13804:25:4;;;13781:4;13804:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;13684:162;2081:198:0;;;;;;;;;;-1:-1:-1;2081:198:0;;;;;:::i;:::-;;:::i;5653:607:4:-;5738:4;-1:-1:-1;;;;;;;;;6033:25:4;;;;:101;;-1:-1:-1;;;;;;;;;;6109:25:4;;;6033:101;:177;;;-1:-1:-1;;;;;;;;;;6185:25:4;;;6033:177;6014:196;5653:607;-1:-1:-1;;5653:607:4:o;11161:98::-;11215:13;11247:5;11240:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11161:98;:::o;13048:200::-;13116:7;13140:16;13148:7;13140;:16::i;:::-;13135:64;;13165:34;;-1:-1:-1;;;13165:34:4;;;;;;;;;;;13135:64;-1:-1:-1;13217:24:4;;;;:15;:24;;;;;;-1:-1:-1;;;;;13217:24:4;;13048:200::o;12611:376::-;12683:13;12699:16;12707:7;12699;:16::i;:::-;12683:32;-1:-1:-1;32960:10:4;-1:-1:-1;;;;;12730:28:4;;;12726:172;;12777:44;12794:5;32960:10;13684:162;:::i;12777:44::-;12772:126;;12848:35;;-1:-1:-1;;;12848:35:4;;;;;;;;;;;12772:126;12908:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;12908:29:4;-1:-1:-1;;;;;12908:29:4;;;;;;;;;12952:28;;12908:24;;12952:28;;;;;;;12673:314;12611:376;;:::o;3073:138:6:-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;3168:14:6;;:36;;-1:-1:-1;;;3168:36:6;;;;;14143:25:7;;;-1:-1:-1;;;;;;;3168:14:6;;:27;;14116:18:7;;3168:36:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;22055:2739:4:-;22184:27;22214;22233:7;22214:18;:27::i;:::-;22184:57;;22297:4;-1:-1:-1;;;;;22256:45:4;22272:19;-1:-1:-1;;;;;22256:45:4;;22252:86;;22310:28;;-1:-1:-1;;;22310:28:4;;;;;;;;;;;22252:86;22350:27;20821:21;;;20652:15;20862:4;20855:36;20943:4;20927:21;;21031:26;;22531:62;21031:26;22567:4;32960:10;22573:19;-1:-1:-1;;;;;21620:31:4;;;21468:26;;21745:19;;21766:30;;21742:55;;21181:632;22531:62;22526:173;;22612:43;22629:4;32960:10;13684:162;:::i;22612:43::-;22607:92;;22664:35;;-1:-1:-1;;;22664:35:4;;;;;;;;;;;22607:92;-1:-1:-1;;;;;22714:16:4;;22710:52;;22739:23;;-1:-1:-1;;;22739:23:4;;;;;;;;;;;22710:52;22773:43;22795:4;22801:2;22805:7;22814:1;22773:21;:43::i;:::-;22905:15;22902:157;;;23043:1;23022:19;23015:30;22902:157;-1:-1:-1;;;;;23429:24:4;;;;;;;:18;:24;;;;;;23427:26;;-1:-1:-1;;23427:26:4;;;23497:22;;;;;;;;;23495:24;;-1:-1:-1;23495:24:4;;;10863:11;10839:22;10835:40;10822:62;-1:-1:-1;;;10822:62:4;23783:26;;;;:17;:26;;;;;:171;-1:-1:-1;;;24071:46:4;;24067:616;;24174:1;24164:11;;24142:19;24295:30;;;:17;:30;;;;;;24291:378;;24431:13;;24416:11;:28;24412:239;;24576:30;;;;:17;:30;;;;;:52;;;24412:239;24124:559;24067:616;24727:7;24723:2;-1:-1:-1;;;;;24708:27:4;24717:4;-1:-1:-1;;;;;24708:27:4;;;;;;;;;;;22174:2620;;;22055:2739;;;:::o;4086:190:6:-;1094:13:0;:11;:13::i;:::-;4184:39:6::1;::::0;4153:21:::1;::::0;32960:10:4;;4184:39:6;::::1;;;::::0;4153:21;;4184:39:::1;::::0;;;4153:21;32960:10:4;4184:39:6;::::1;;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;4238:31:6::1;::::0;14143:25:7;;;32960:10:4;;4238:31:6::1;::::0;14131:2:7;14116:18;4238:31:6::1;;;;;;;;4125:151;4086:190::o:0;4661:65::-;1094:13:0;:11;:13::i;:::-;4709:10:6::1;:8;:10::i;:::-;4661:65::o:0;13912:179:4:-;14045:39;14062:4;14068:2;14072:7;14045:39;;;;;;;;;;;;:16;:39::i;:::-;13912:179;;;:::o;2245:125:6:-;1744:1:2;2325:7;;:19;;2317:63;;;;-1:-1:-1;;;2317:63:2;;13084:2:7;2317:63:2;;;13066:21:7;13123:2;13103:18;;;13096:30;13162:33;13142:18;;;13135:61;13213:18;;2317:63:2;;;;;;;;;1744:1;2455:7;:18;2307:20:6::1;2313:7:::0;2322:4:::1;2307:5;:20::i;:::-;2342:21;::::0;14143:25:7;;;2342:21:6::1;::::0;14131:2:7;14116:18;2342:21:6::1;;;;;;;-1:-1:-1::0;1701:1:2;2628:7;:22;2245:125:6:o;4585:70::-;1094:13:0;:11;:13::i;:::-;4640:8:6::1;:6;:8::i;3343:139::-:0;1094:13:0;:11;:13::i;:::-;3418:18:6::1;:7;3428:8:::0;;3418:18:::1;:::i;:::-;;3451:24;3466:8;;3451:24;;;;;;;:::i;:::-;;;;;;;;3343:139:::0;;:::o;1507:324::-;4907:9;32960:10:4;4907:25:6;4899:64;;;;-1:-1:-1;;;4899:64:6;;11675:2:7;4899:64:6;;;11657:21:7;11714:2;11694:18;;;11687:30;11753:28;11733:18;;;11726:56;11799:18;;4899:64:6;11473:350:7;4899:64:6;1744:1:2::1;2325:7;;:19;;2317:63;;;::::0;-1:-1:-1;;;2317:63:2;;13084:2:7;2317:63:2::1;::::0;::::1;13066:21:7::0;13123:2;13103:18;;;13096:30;13162:33;13142:18;;;13135:61;13213:18;;2317:63:2::1;12882:355:7::0;2317:63:2::1;1744:1;2455:7;:18:::0;-1:-1:-1;;;;;1613:19:6;::::2;1605:56;;;::::0;-1:-1:-1;;;1605:56:6;;10977:2:7;1605:56:6::2;::::0;::::2;10959:21:7::0;11016:2;10996:18;;;10989:30;11055:26;11035:18;;;11028:54;11099:18;;1605:56:6::2;10775:348:7::0;1605:56:6::2;1689:10;1679:21;::::0;;;:9:::2;:21;::::0;;;;;-1:-1:-1;;;;;1679:40:6;::::2;-1:-1:-1::0;1679:40:6::2;1671:72;;;::::0;-1:-1:-1;;;1671:72:6;;12736:2:7;1671:72:6::2;::::0;::::2;12718:21:7::0;12775:2;12755:18;;;12748:30;-1:-1:-1;;;12794:18:7;;;12787:49;12853:18;;1671:72:6::2;12534:343:7::0;1671:72:6::2;1753:21;1758:15;1753:4;:21::i;:::-;1794:10;1784:21;::::0;;;:9:::2;:21;::::0;;;;:40;;-1:-1:-1;;;;;1784:40:6;::::2;::::0;:21;:40:::2;::::0;;;::::2;:::i;:::-;::::0;;;-1:-1:-1;;1701:1:2::1;2628:7;:22:::0;-1:-1:-1;1507:324:6:o;10957:142:4:-;11021:7;11063:27;11082:7;11063:18;:27::i;1030:21:6:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;6319:221:4:-;6383:7;-1:-1:-1;;;;;6406:19:4;;6402:60;;6434:28;;-1:-1:-1;;;6434:28:4;;;;;;;;;;;6402:60;-1:-1:-1;;;;;;6479:25:4;;;;;:18;:25;;;;;;-1:-1:-1;;;;;6479:54:4;;6319:221::o;1831:101:0:-;1094:13;:11;:13::i;:::-;1895:30:::1;1922:1;1895:18;:30::i;894:48:6:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;11323:102:4:-;11379:13;11411:7;11404:14;;;;;:::i;2830:118:6:-;2924:17;;;;:10;:17;;;;;;;;;2917:24;;;;;;;;;;;;;;;;;2889:17;;2917:24;;;2924:17;2917:24;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2830:118;;;:::o;13315:303:4:-;-1:-1:-1;;;;;13413:31:4;;32960:10;13413:31;13409:61;;;13453:17;;-1:-1:-1;;;13453:17:4;;;;;;;;;;;13409:61;32960:10;13481:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;13481:49:4;;;;;;;;;;;;:60;;-1:-1:-1;;13481:60:4;;;;;;;;;;13556:55;;8650:41:7;;;13481:49:4;;32960:10;13556:55;;8623:18:7;13556:55:4;;;;;;;13315:303;;:::o;14157:388::-;14318:31;14331:4;14337:2;14341:7;14318:12;:31::i;:::-;-1:-1:-1;;;;;14363:14:4;;;:19;14359:180;;14401:56;14432:4;14438:2;14442:7;14451:5;14401:30;:56::i;:::-;14396:143;;14484:40;;-1:-1:-1;;;14484:40:4;;;;;;;;;;;14396:143;14157:388;;;;:::o;11491:313::-;11564:13;11594:16;11602:7;11594;:16::i;:::-;11589:59;;11619:29;;-1:-1:-1;;;11619:29:4;;;;;;;;;;;11589:59;11659:21;11683:10;:8;:10::i;:::-;11659:34;;11716:7;11710:21;11735:1;11710:26;;:87;;;;;;;;;;;;;;;;;11763:7;11772:18;11782:7;11772:9;:18::i;:::-;11746:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;11710:87;11703:94;11491:313;-1:-1:-1;;;11491:313:4:o;2601:111:6:-;-1:-1:-1;;;;;6705:25:4;;2659:7:6;6705:25:4;;;:18;:25;;1156:2;6705:25;;;;-1:-1:-1;;;;;6705:49:4;;6704:80;2685:20:6;6617:174:4;3488:588:6;1094:13:0;:11;:13::i;:::-;1021:3:6::1;3593:13;2548:7:::0;5369:13:4;;2504:91:6;3593:13:::1;3575:8;:15;:31;;;;:::i;:::-;:44;;3567:70;;;::::0;-1:-1:-1;;;3567:70:6;;13444:2:7;3567:70:6::1;::::0;::::1;13426:21:7::0;13483:2;13463:18;;;13456:30;-1:-1:-1;;;13502:18:7;;;13495:43;13555:18;;3567:70:6::1;13242:337:7::0;3567:70:6::1;3658:11;::::0;3647:23:::1;::::0;;;:10:::1;:23;::::0;;;;;;;:34;;::::1;::::0;;::::1;::::0;::::1;:::i;:::-;;3697:9;3693:323;3716:8;:15;3712:1;:19;3693:323;;;3776:1;3761:8;3770:1;3761:11;;;;;;;;:::i;:::-;;;;;;;:16;;:38;;;;;3795:4;3781:8;3790:1;3781:11;;;;;;;;:::i;:::-;;;;;;;:18;3761:38;3753:67;;;::::0;-1:-1:-1;;;3753:67:6;;12391:2:7;3753:67:6::1;::::0;::::1;12373:21:7::0;12430:2;12410:18;;;12403:30;-1:-1:-1;;;12449:18:7;;;12442:46;12505:18;;3753:67:6::1;12189:340:7::0;3753:67:6::1;3863:14;::::0;3891:11;;3836:24:::1;::::0;-1:-1:-1;;;;;3863:14:6::1;::::0;:27:::1;::::0;3891:8;;3900:1;;3891:11;::::1;;;;;:::i;:::-;;;;;;;3863:40;;;;;;;;;;;;;14143:25:7::0;;14131:2;14116:18;;13997:177;3863:40:6::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;3923:13:::0;;3836:67;;-1:-1:-1;3920:86:6::1;;;3965:21;::::0;;::::1;::::0;-1:-1:-1;;;;;3955:32:6::1;;::::0;;;:9:::1;:32:::0;;;;;;:34;;;::::1;::::0;::::1;:::i;:::-;;;;;;3920:86;-1:-1:-1::0;3733:3:6;::::1;::::0;::::1;:::i;:::-;;;;3693:323;;;-1:-1:-1::0;4025:11:6::1;:13:::0;;;:11:::1;:13;::::0;::::1;:::i;:::-;::::0;;;-1:-1:-1;;4053:16:6::1;::::0;::::1;::::0;;;::::1;3488:588:::0;:::o;2081:198:0:-;1094:13;:11;:13::i;:::-;-1:-1:-1;;;;;2169:22:0;::::1;2161:73;;;::::0;-1:-1:-1;;;2161:73:0;;10222:2:7;2161:73:0::1;::::0;::::1;10204:21:7::0;10261:2;10241:18;;;10234:30;10300:34;10280:18;;;10273:62;-1:-1:-1;;;10351:18:7;;;10344:36;10397:19;;2161:73:0::1;10020:402:7::0;2161:73:0::1;2244:28;2263:8;2244:18;:28::i;:::-;2081:198:::0;:::o;14791:268:4:-;14848:4;14935:13;;14925:7;:23;14883:150;;;;-1:-1:-1;;14985:26:4;;;;:17;:26;;;;;;-1:-1:-1;;;14985:43:4;:48;;14791:268::o;7949:1105::-;8016:7;8050;8148:13;;8141:4;:20;8137:853;;;8185:14;8202:23;;;:17;:23;;;;;;-1:-1:-1;;;8289:23:4;;8285:687;;8800:111;8807:11;8800:111;;-1:-1:-1;;;8877:6:4;8859:25;;;;:17;:25;;;;;;8800:111;;8285:687;8163:827;8137:853;9016:31;;-1:-1:-1;;;9016:31:4;;;;;;;;;;;4286:292:6;1685:7:1;;-1:-1:-1;;;1685:7:1;;;;4536:9:6;4528:43;;;;-1:-1:-1;;;4528:43:6;;9872:2:7;4528:43:6;;;9854:21:7;9911:2;9891:18;;;9884:30;-1:-1:-1;;;9930:18:7;;;9923:51;9991:18;;4528:43:6;9670:345:7;1359:130:0;1273:6;;-1:-1:-1;;;;;1273:6:0;32960:10:4;1422:23:0;1414:68;;;;-1:-1:-1;;;1414:68:0;;12030:2:7;1414:68:0;;;12012:21:7;;;12049:18;;;12042:30;12108:34;12088:18;;;12081:62;12160:18;;1414:68:0;11828:356:7;2433:117:1;1486:16;:14;:16::i;:::-;2491:7:::1;:15:::0;;-1:-1:-1;;;;2491:15:1::1;::::0;;2521:22:::1;32960:10:4::0;2530:12:1::1;2521:22;::::0;-1:-1:-1;;;;;7336:32:7;;;7318:51;;7306:2;7291:18;2521:22:1::1;;;;;;;2433:117::o:0;25171:2997:4:-;25250:27;25280;25299:7;25280:18;:27::i;:::-;25250:57;-1:-1:-1;25250:57:4;25318:12;;25438:28;25458:7;20528:27;20821:21;;;20652:15;20862:4;20855:36;20943:4;20927:21;;21031:26;;20927:21;;20436:637;25438:28;25381:85;;;;25481:13;25477:306;;;25600:62;25619:15;25636:4;32960:10;25642:19;32874:103;25600:62;25595:177;;25685:43;25702:4;32960:10;13684:162;:::i;25685:43::-;25680:92;;25737:35;;-1:-1:-1;;;25737:35:4;;;;;;;;;;;25680:92;25793:51;25815:4;25829:1;25833:7;25842:1;25793:21;:51::i;:::-;25933:15;25930:157;;;26071:1;26050:19;26043:30;25930:157;-1:-1:-1;;;;;26675:24:4;;;;;;:18;:24;;;;;:59;;26703:31;26675:59;;;10863:11;10839:22;10835:40;10822:62;-1:-1:-1;;;10822:62:4;26965:26;;;;:17;:26;;;;;:200;-1:-1:-1;;;27282:46:4;;27278:616;;27385:1;27375:11;;27353:19;27506:30;;;:17;:30;;;;;;27502:378;;27642:13;;27627:11;:28;27623:239;;27787:30;;;;:17;:30;;;;;:52;;;27623:239;27335:559;27278:616;27919:35;;27946:7;;27942:1;;-1:-1:-1;;;;;27919:35:4;;;;;27942:1;;27919:35;-1:-1:-1;;28137:12:4;:14;;;;;;-1:-1:-1;;;;25171:2997:4:o;2186:115:1:-;1239:19;:17;:19::i;:::-;2245:7:::1;:14:::0;;-1:-1:-1;;;;2245:14:1::1;-1:-1:-1::0;;;2245:14:1::1;::::0;;2274:20:::1;2281:12;32960:10:4::0;;32874:103;1837:263:6;1021:3;1918:15;-1:-1:-1;;;;;1902:31:6;:13;2548:7;5369:13:4;;2504:91:6;1902:13;:31;;;;:::i;:::-;:44;;1894:76;;;;-1:-1:-1;;;1894:76:6;;10629:2:7;1894:76:6;;;10611:21:7;10668:2;10648:18;;;10641:30;-1:-1:-1;;;10687:18:7;;;10680:49;10746:18;;1894:76:6;10427:343:7;1894:76:6;1980:40;32960:10:4;2004:15:6;-1:-1:-1;;;;;1980:40:6;:9;:40::i;:::-;2030:13;:11;:13::i;:::-;2058:35;;-1:-1:-1;;;;;14342:31:7;;14324:50;;2065:10:6;;2058:35;;14312:2:7;14297:18;2058:35:6;14179:201:7;2433:187:0;2525:6;;;-1:-1:-1;;;;;2541:17:0;;;-1:-1:-1;;;;;;2541:17:0;;;;;;;2573:40;;2525:6;;;2541:17;2525:6;;2573:40;;2506:16;;2573:40;2496:124;2433:187;:::o;28649:697:4:-;28827:88;;-1:-1:-1;;;28827:88:4;;28807:4;;-1:-1:-1;;;;;28827:45:4;;;;;:88;;32960:10;;28894:4;;28900:7;;28909:5;;28827:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;28827:88:4;;;;;;;;-1:-1:-1;;28827:88:4;;;;;;;;;;;;:::i;:::-;;;28823:517;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;29105:13:4;;29101:229;;29150:40;;-1:-1:-1;;;29150:40:4;;;;;;;;;;;29101:229;29290:6;29284:13;29275:6;29271:2;29267:15;29260:38;28823:517;-1:-1:-1;;;;;;28983:64:4;-1:-1:-1;;;28983:64:4;;-1:-1:-1;28649:697:4;;;;;;:::o;2718:106:6:-;2778:13;2810:7;2803:14;;;;;:::i;33078:1920:4:-;33541:4;33535:11;;33548:3;33531:21;;33624:17;;;;34307:11;;;34188:5;34437:2;34451;34441:13;;34433:22;34307:11;34420:36;34491:2;34481:13;;34082:682;34509:4;34082:682;;;34695:1;34690:3;34686:11;34679:18;;34745:2;34739:4;34735:13;34731:2;34727:22;34722:3;34714:36;34602:2;34592:13;;34082:682;;;-1:-1:-1;34792:13:4;;;-1:-1:-1;;34905:12:4;;;34963:19;;;34905:12;33078:1920;-1:-1:-1;33078:1920:4:o;1945:106:1:-;1685:7;;-1:-1:-1;;;1685:7:1;;;;2003:41;;;;-1:-1:-1;;;2003:41:1;;9523:2:7;2003:41:1;;;9505:21:7;9562:2;9542:18;;;9535:30;-1:-1:-1;;;9581:18:7;;;9574:50;9641:18;;2003:41:1;9321:344:7;1767:106:1;1685:7;;-1:-1:-1;;;1685:7:1;;;;1836:9;1828:38;;;;-1:-1:-1;;;1828:38:1;;11330:2:7;1828:38:1;;;11312:21:7;11369:2;11349:18;;;11342:30;-1:-1:-1;;;11388:18:7;;;11381:46;11444:18;;1828:38:1;11128:340:7;15138:102:4;15206:27;15216:2;15220:8;15206:27;;;;;;;;;;;;:9;:27::i;:::-;15138:102;;:::o;2107:132:6:-;2152:9;:13;2148:85;;2181:41;;32960:10:4;;2212:9:6;2181:41;;;;;;;;;2212:9;32960:10:4;2181:41:6;;;;;;;;;;;;;;;;;;;15641:661:4;15759:19;15765:2;15769:8;15759:5;:19::i;:::-;-1:-1:-1;;;;;15817:14:4;;;:19;15813:473;;15856:11;15870:13;15917:14;;;15949:229;15979:62;16018:1;16022:2;16026:7;;;;;;16035:5;15979:30;:62::i;:::-;15974:165;;16076:40;;-1:-1:-1;;;16076:40:4;;;;;;;;;;;15974:165;16173:3;16165:5;:11;15949:229;;16258:3;16241:13;;:20;16237:34;;16263:8;;;16237:34;15838:448;;15641:661;;;:::o;16563:1492::-;16627:20;16650:13;-1:-1:-1;;;;;16677:16:4;;16673:48;;16702:19;;-1:-1:-1;;;16702:19:4;;;;;;;;;;;16673:48;16735:13;16731:44;;16757:18;;-1:-1:-1;;;16757:18:4;;;;;;;;;;;16731:44;16786:61;16816:1;16820:2;16824:12;16838:8;16786:21;:61::i;:::-;-1:-1:-1;;;;;17250:22:4;;;;;;:18;:22;;1156:2;17250:22;;:70;;17288:31;17276:44;;17250:70;;;10863:11;10839:22;10835:40;-1:-1:-1;12522:15:4;;12497:23;12493:45;10832:51;10822:62;17556:31;;;;:17;:31;;;;;:170;17574:12;17799:23;;;17836:99;17862:35;;17887:9;;;;;-1:-1:-1;;;;;17862:35:4;;;17879:1;;17862:35;;17879:1;;17862:35;17930:3;17920:7;:13;17836:99;;17949:13;:19;-1:-1:-1;13912:179:4;;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14:247:7;73:6;126:2;114:9;105:7;101:23;97:32;94:52;;;142:1;139;132:12;94:52;181:9;168:23;200:31;225:5;200:31;:::i;266:388::-;334:6;342;395:2;383:9;374:7;370:23;366:32;363:52;;;411:1;408;401:12;363:52;450:9;437:23;469:31;494:5;469:31;:::i;:::-;519:5;-1:-1:-1;576:2:7;561:18;;548:32;589:33;548:32;589:33;:::i;:::-;641:7;631:17;;;266:388;;;;;:::o;659:456::-;736:6;744;752;805:2;793:9;784:7;780:23;776:32;773:52;;;821:1;818;811:12;773:52;860:9;847:23;879:31;904:5;879:31;:::i;:::-;929:5;-1:-1:-1;986:2:7;971:18;;958:32;999:33;958:32;999:33;:::i;:::-;659:456;;1051:7;;-1:-1:-1;;;1105:2:7;1090:18;;;;1077:32;;659:456::o;1120:1108::-;1215:6;1223;1231;1239;1292:3;1280:9;1271:7;1267:23;1263:33;1260:53;;;1309:1;1306;1299:12;1260:53;1348:9;1335:23;1367:31;1392:5;1367:31;:::i;:::-;1417:5;-1:-1:-1;1441:2:7;1480:18;;;1467:32;1508:33;1467:32;1508:33;:::i;:::-;1560:7;-1:-1:-1;1614:2:7;1599:18;;1586:32;;-1:-1:-1;1669:2:7;1654:18;;1641:32;-1:-1:-1;;;;;1722:14:7;;;1719:34;;;1749:1;1746;1739:12;1719:34;1787:6;1776:9;1772:22;1762:32;;1832:7;1825:4;1821:2;1817:13;1813:27;1803:55;;1854:1;1851;1844:12;1803:55;1890:2;1877:16;1912:2;1908;1905:10;1902:36;;;1918:18;;:::i;:::-;1960:53;2003:2;1984:13;;-1:-1:-1;;1980:27:7;1976:36;;1960:53;:::i;:::-;1947:66;;2036:2;2029:5;2022:17;2076:7;2071:2;2066;2062;2058:11;2054:20;2051:33;2048:53;;;2097:1;2094;2087:12;2048:53;2152:2;2147;2143;2139:11;2134:2;2127:5;2123:14;2110:45;2196:1;2191:2;2186;2179:5;2175:14;2171:23;2164:34;;2217:5;2207:15;;;;;1120:1108;;;;;;;:::o;2233:382::-;2298:6;2306;2359:2;2347:9;2338:7;2334:23;2330:32;2327:52;;;2375:1;2372;2365:12;2327:52;2414:9;2401:23;2433:31;2458:5;2433:31;:::i;:::-;2483:5;-1:-1:-1;2540:2:7;2525:18;;2512:32;2553:30;2512:32;2553:30;:::i;2620:315::-;2688:6;2696;2749:2;2737:9;2728:7;2724:23;2720:32;2717:52;;;2765:1;2762;2755:12;2717:52;2804:9;2791:23;2823:31;2848:5;2823:31;:::i;:::-;2873:5;2925:2;2910:18;;;;2897:32;;-1:-1:-1;;;2620:315:7:o;2940:957::-;3024:6;3055:2;3098;3086:9;3077:7;3073:23;3069:32;3066:52;;;3114:1;3111;3104:12;3066:52;3154:9;3141:23;-1:-1:-1;;;;;3224:2:7;3216:6;3213:14;3210:34;;;3240:1;3237;3230:12;3210:34;3278:6;3267:9;3263:22;3253:32;;3323:7;3316:4;3312:2;3308:13;3304:27;3294:55;;3345:1;3342;3335:12;3294:55;3381:2;3368:16;3403:2;3399;3396:10;3393:36;;;3409:18;;:::i;:::-;3455:2;3452:1;3448:10;3438:20;;3478:28;3502:2;3498;3494:11;3478:28;:::i;:::-;3540:15;;;3571:12;;;;3603:11;;;3633;;;3629:20;;3626:33;-1:-1:-1;3623:53:7;;;3672:1;3669;3662:12;3623:53;3694:1;3685:10;;3704:163;3718:2;3715:1;3712:9;3704:163;;;3775:17;;3763:30;;3736:1;3729:9;;;;;3813:12;;;;3845;;3704:163;;;-1:-1:-1;3886:5:7;2940:957;-1:-1:-1;;;;;;;;2940:957:7:o;3902:245::-;3960:6;4013:2;4001:9;3992:7;3988:23;3984:32;3981:52;;;4029:1;4026;4019:12;3981:52;4068:9;4055:23;4087:30;4111:5;4087:30;:::i;4152:249::-;4221:6;4274:2;4262:9;4253:7;4249:23;4245:32;4242:52;;;4290:1;4287;4280:12;4242:52;4322:9;4316:16;4341:30;4365:5;4341:30;:::i;4406:592::-;4477:6;4485;4538:2;4526:9;4517:7;4513:23;4509:32;4506:52;;;4554:1;4551;4544:12;4506:52;4594:9;4581:23;-1:-1:-1;;;;;4664:2:7;4656:6;4653:14;4650:34;;;4680:1;4677;4670:12;4650:34;4718:6;4707:9;4703:22;4693:32;;4763:7;4756:4;4752:2;4748:13;4744:27;4734:55;;4785:1;4782;4775:12;4734:55;4825:2;4812:16;4851:2;4843:6;4840:14;4837:34;;;4867:1;4864;4857:12;4837:34;4912:7;4907:2;4898:6;4894:2;4890:15;4886:24;4883:37;4880:57;;;4933:1;4930;4923:12;4880:57;4964:2;4956:11;;;;;4986:6;;-1:-1:-1;4406:592:7;;-1:-1:-1;;;;4406:592:7:o;5003:700::-;5101:6;5154:2;5142:9;5133:7;5129:23;5125:32;5122:52;;;5170:1;5167;5160:12;5122:52;5203:2;5197:9;5245:2;5237:6;5233:15;5314:6;5302:10;5299:22;-1:-1:-1;;;;;5266:10:7;5263:34;5260:62;5257:88;;;5325:18;;:::i;:::-;5361:2;5354:22;5398:16;;5423:28;5398:16;5423:28;:::i;:::-;5460:21;;5526:2;5511:18;;5505:25;5539:33;5505:25;5539:33;:::i;:::-;5600:2;5588:15;;5581:32;5667:2;5652:18;;;5646:25;5629:15;;;5622:50;;;;-1:-1:-1;5592:6:7;5003:700;-1:-1:-1;5003:700:7:o;5708:180::-;5767:6;5820:2;5808:9;5799:7;5795:23;5791:32;5788:52;;;5836:1;5833;5826:12;5788:52;-1:-1:-1;5859:23:7;;5708:180;-1:-1:-1;5708:180:7:o;5893:248::-;5961:6;5969;6022:2;6010:9;6001:7;5997:23;5993:32;5990:52;;;6038:1;6035;6028:12;5990:52;-1:-1:-1;;6061:23:7;;;6131:2;6116:18;;;6103:32;;-1:-1:-1;5893:248:7:o;6146:284::-;6204:6;6257:2;6245:9;6236:7;6232:23;6228:32;6225:52;;;6273:1;6270;6263:12;6225:52;6312:9;6299:23;-1:-1:-1;;;;;6355:5:7;6351:30;6344:5;6341:41;6331:69;;6396:1;6393;6386:12;6435:257;6476:3;6514:5;6508:12;6541:6;6536:3;6529:19;6557:63;6613:6;6606:4;6601:3;6597:14;6590:4;6583:5;6579:16;6557:63;:::i;:::-;6674:2;6653:15;-1:-1:-1;;6649:29:7;6640:39;;;;6681:4;6636:50;;6435:257;-1:-1:-1;;6435:257:7:o;6697:470::-;6876:3;6914:6;6908:13;6930:53;6976:6;6971:3;6964:4;6956:6;6952:17;6930:53;:::i;:::-;7046:13;;7005:16;;;;7068:57;7046:13;7005:16;7102:4;7090:17;;7068:57;:::i;:::-;7141:20;;6697:470;-1:-1:-1;;;;6697:470:7:o;7380:488::-;-1:-1:-1;;;;;7649:15:7;;;7631:34;;7701:15;;7696:2;7681:18;;7674:43;7748:2;7733:18;;7726:34;;;7796:3;7791:2;7776:18;;7769:31;;;7574:4;;7817:45;;7842:19;;7834:6;7817:45;:::i;:::-;7809:53;7380:488;-1:-1:-1;;;;;;7380:488:7:o;7873:632::-;8044:2;8096:21;;;8166:13;;8069:18;;;8188:22;;;8015:4;;8044:2;8267:15;;;;8241:2;8226:18;;;8015:4;8310:169;8324:6;8321:1;8318:13;8310:169;;;8385:13;;8373:26;;8454:15;;;;8419:12;;;;8346:1;8339:9;8310:169;;;-1:-1:-1;8496:3:7;;7873:632;-1:-1:-1;;;;;;7873:632:7:o;8702:390::-;8861:2;8850:9;8843:21;8900:6;8895:2;8884:9;8880:18;8873:34;8957:6;8949;8944:2;8933:9;8929:18;8916:48;9013:1;8984:22;;;9008:2;8980:31;;;8973:42;;;;9076:2;9055:15;;;-1:-1:-1;;9051:29:7;9036:45;9032:54;;8702:390;-1:-1:-1;8702:390:7:o;9097:219::-;9246:2;9235:9;9228:21;9209:4;9266:44;9306:2;9295:9;9291:18;9283:6;9266:44;:::i;14385:275::-;14456:2;14450:9;14521:2;14502:13;;-1:-1:-1;;14498:27:7;14486:40;;-1:-1:-1;;;;;14541:34:7;;14577:22;;;14538:62;14535:88;;;14603:18;;:::i;:::-;14639:2;14632:22;14385:275;;-1:-1:-1;14385:275:7:o;14665:128::-;14705:3;14736:1;14732:6;14729:1;14726:13;14723:39;;;14742:18;;:::i;:::-;-1:-1:-1;14778:9:7;;14665:128::o;14798:125::-;14838:4;14866:1;14863;14860:8;14857:34;;;14871:18;;:::i;:::-;-1:-1:-1;14908:9:7;;14798:125::o;14928:258::-;15000:1;15010:113;15024:6;15021:1;15018:13;15010:113;;;15100:11;;;15094:18;15081:11;;;15074:39;15046:2;15039:10;15010:113;;;15141:6;15138:1;15135:13;15132:48;;;-1:-1:-1;;15176:1:7;15158:16;;15151:27;14928:258::o;15191:380::-;15270:1;15266:12;;;;15313;;;15334:61;;15388:4;15380:6;15376:17;15366:27;;15334:61;15441:2;15433:6;15430:14;15410:18;15407:38;15404:161;;;15487:10;15482:3;15478:20;15475:1;15468:31;15522:4;15519:1;15512:15;15550:4;15547:1;15540:15;15404:161;;15191:380;;;:::o;15576:135::-;15615:3;-1:-1:-1;;15636:17:7;;15633:43;;;15656:18;;:::i;:::-;-1:-1:-1;15703:1:7;15692:13;;15576:135::o;15716:127::-;15777:10;15772:3;15768:20;15765:1;15758:31;15808:4;15805:1;15798:15;15832:4;15829:1;15822:15;15848:127;15909:10;15904:3;15900:20;15897:1;15890:31;15940:4;15937:1;15930:15;15964:4;15961:1;15954:15;15980:127;16041:10;16036:3;16032:20;16029:1;16022:31;16072:4;16069:1;16062:15;16096:4;16093:1;16086:15;16112:131;-1:-1:-1;;;;;16187:31:7;;16177:42;;16167:70;;16233:1;16230;16223:12;16248:118;16334:5;16327:13;16320:21;16313:5;16310:32;16300:60;;16356:1;16353;16346:12;16371:131;-1:-1:-1;;;;;;16445:32:7;;16435:43;;16425:71;;16492:1;16489;16482:12

Swarm Source

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