ETH Price: $3,107.99 (-0.11%)
Gas: 3 Gwei

Token

Redlion Gazette (RLGAZETTE)
 

Overview

Max Total Supply

152 RLGAZETTE

Holders

105

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
guylafleur.eth
Balance
2 RLGAZETTE
0xd5f365e2da72bc45210e0b771a914b98b64ca7d9
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

#Your Weekly Guilty Pleasure | [Visit redlion.news](https://www.redlion.news) **1st NFT publication ever ** | #NFT, #Cryptoart & #DEFI History recorded weekly [Subscribe](https://www.redlion.news/subscribe) | [Subs Collection]() [ArtDrops](https://www.redlion.news/artdrops) | [ArtDrops Collection](https://opensea.io/collection/redlion-artdrops)

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
RedlionGazette

Compiler Version
v0.8.0+commit.c7dfd78e

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 16 : RedlionGazette.sol
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Context.sol";
import "@openzeppelin/contracts/utils/structs/BitMaps.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "./ERC2981.sol";

interface IRedlionSubscriptions {
    function isExpired(uint) external view returns (bool);
    function balanceOf(address) external view returns (uint);
    function tokenOfOwnerByIndex(address, uint) external view returns (uint);
    function expirations(uint) external view returns (uint);
    function whichType(uint) external view returns (uint);
}

contract RedlionGazette is Context, Ownable, ERC2981, ERC721, ERC721Enumerable {

    using BitMaps for BitMaps.BitMap;

    event MintedIssue(address user, uint issue, uint tokenId);

    IRedlionSubscriptions public subs;

    struct Issue {
        uint circulating;
        uint onSale; // quantity of issues to sell
    }

    mapping (uint => string) public issueToIPFS;
    mapping (uint => Issue) public issues;
    mapping (uint => uint) public tokenIdToIssue;
    mapping (address => BitMaps.BitMap) private claimedIssues;
    mapping (uint => uint) public issuingTimes;
    uint public mintingPrice = 0.05 ether;
    uint public limitPerBuy = 5;

    mapping (uint => bytes32) public issueToMerkleRoot;

    string private _baseTokenURI;
    uint private royaltyFee = 1000; // 10000 * percentage (ex : 0.5% -> 0.005)
    mapping (address => BitMaps.BitMap) private _claimedAirdrop;

    constructor(
        string memory name,
        string memory symbol, 
        string memory baseTokenURI,
        address deployedSubs
    ) ERC721(name, symbol) {
        _baseTokenURI = baseTokenURI;
        subs = IRedlionSubscriptions(deployedSubs);
    }

    function getCreationTimeOfSub(uint subId) public view returns (uint) {
        uint subType = subs.whichType(subId);
        uint expirationTime = subs.expirations(subId);
        if (subType == 0) {
            return expirationTime - 13 weeks;
        } else if (subType == 1) {
            return expirationTime - 26 weeks;
        } else {
            return expirationTime - 52 weeks;
        }
    }

    function getValidSubs(address user, uint issue) public view returns (uint) {
        uint balance = subs.balanceOf(user);
        uint validSubs = 0;
        for(uint i = 0; i < balance; i++) {
            uint subId = subs.tokenOfOwnerByIndex(user, i);
            if (withinAllowedWindow(subId, issue)) validSubs++;
        }
        return validSubs;
    }

    function withinAllowedWindow(uint subId, uint issue) public view returns (bool) {
        uint subExpirationTime = subs.expirations(subId);
        uint creationTime = getCreationTimeOfSub(subId);
        return (creationTime <= issuingTimes[issue]) && (block.timestamp <= issuingTimes[issue] + 8 weeks) && (issuingTimes[issue] <= subExpirationTime);                                                                                                                             
    }

    function changeBaseURI(string memory baseTokenURI) onlyOwner public {
        _baseTokenURI = baseTokenURI;
    }

    function setMintingPrice(uint price) onlyOwner public {
        mintingPrice = price;
    }

    function setLimitPerBuy(uint limit) onlyOwner public {
        limitPerBuy = limit;
    }

    function setRoyaltyFee(uint fee) onlyOwner public {
        royaltyFee = fee;
    }

    function changeDeployedSubs(address deployedSubs) onlyOwner public {
        subs = IRedlionSubscriptions(deployedSubs);
    }

    function changeIPFS(uint issue, string memory ipfs) onlyOwner public {
        issueToIPFS[issue] = ipfs;
    }

    function launchNewIssue(uint issue, uint saleSize, string memory ipfs) onlyOwner public {
        issuingTimes[issue] = block.timestamp;
        issues[issue].onSale = saleSize;
        issueToIPFS[issue] = ipfs;
    }

    function addMerkleAirdrop(uint issue, bytes32 root) onlyOwner public {
        issueToMerkleRoot[issue] = root;
    }

    function ownerMint(uint issue, address[] calldata recipients) onlyOwner public {
        for(uint i = 0; i < recipients.length; i++) {
            uint256 tokenId = (issue * (10**6)) + (issues[issue].circulating++);
            tokenIdToIssue[tokenId] = issue;
            _safeMint(recipients[i], tokenId);
            emit MintedIssue(msg.sender, issue, tokenId);
        }
    }

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

    function royaltyInfo(uint256 _tokenId, uint256 _salePrice) public override view returns (
        address receiver,
        uint256 royaltyAmount
    ) {
        return (owner(), (_salePrice*royaltyFee)/10000);
    }

    function claim(uint issue, bytes32[] calldata proof, uint amount) public {
        require(!_claimedAirdrop[msg.sender].get(issue), "ALREADY CLAIMED FOR ISSUE");
        _claimedAirdrop[msg.sender].set(issue);
        require(MerkleProof.verify(proof, issueToMerkleRoot[issue], keccak256(abi.encodePacked(msg.sender, amount))), "INVALID PROOF");
        for(uint i = 0; i < amount; i++) {
            uint256 tokenId = (issue * (10**6)) + (issues[issue].circulating++);
            tokenIdToIssue[tokenId] = issue;
            _safeMint(msg.sender, tokenId);
            emit MintedIssue(msg.sender, issue, tokenId);
        }
    }
    
    function mint(uint issue, uint amount) public payable {
        uint toMint = msg.value == 0 ? getValidSubs(msg.sender, issue) : amount;
        //sub claiming
        if (msg.value == 0) {
            require(!claimedIssues[msg.sender].get(issue), "ALREADY CLAIMED");
            require(toMint > 0, "NO VALID SUBSCRIPTION");
            claimedIssues[msg.sender].set(issue);
        } else { //regular buy
            require(msg.value == mintingPrice * amount, "INCORRECT PRICE");
            require(amount <= limitPerBuy, "OVER LIMIT");
            require(issuingTimes[issue] + 6 days >= block.timestamp, "SALE EXPIRED");
            issues[issue].onSale--;
        }
        for(uint i = 0; i < toMint; i++) {
            uint256 tokenId = (issue * (10**6)) + (issues[issue].circulating++);
            tokenIdToIssue[tokenId] = issue;
            _safeMint(msg.sender, tokenId);
            emit MintedIssue(msg.sender, issue, tokenId);
        }
    }

    function isClaimed(address user, uint issue) public view returns (bool) {
        return claimedIssues[user].get(issue);
    }

    function tokenURI(uint256 tokenId) public override(ERC721) view returns (string memory) {
        return string(abi.encodePacked(_baseURI(), issueToIPFS[tokenIdToIssue[tokenId]]));
    }

    function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal virtual override(ERC721, ERC721Enumerable) {
        super._beforeTokenTransfer(from, to, tokenId);
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override(ERC2981, ERC721, ERC721Enumerable) returns (bool) {
        return super.supportsInterface(interfaceId);
    }
}

File 2 of 16 : ERC2981.sol
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/utils/introspection/IERC165.sol";
///
/// @dev Interface for the NFT Royalty Standard
///
abstract contract ERC2981 is IERC165 {
    bytes4 private constant _INTERFACE_ID_ERC2981 = 0x2a55205a;

    /// ERC165 bytes to add to interface array - set in parent contract
    /// implementing this standard
    ///
    /// bytes4(keccak256("royaltyInfo(uint256,uint256)")) == 0x2a55205a
    /// bytes4 private constant _INTERFACE_ID_ERC2981 = 0x2a55205a;
    /// _registerInterface(_INTERFACE_ID_ERC2981);
    /// @notice Called with the sale price to determine how much royalty
    //          is owed and to whom.
    /// @param _tokenId - the NFT asset queried for royalty information
    /// @param _salePrice - the sale price of the NFT asset specified by _tokenId
    /// @return receiver - address of who should be sent the royalty payment
    /// @return royaltyAmount - the royalty payment amount for _salePrice
    function royaltyInfo(
        uint256 _tokenId,
        uint256 _salePrice
    ) public virtual view returns (
        address receiver,
        uint256 royaltyAmount
    );

    /// @notice Informs callers that this contract supports ERC2981
    /// @dev If `_registerInterface(_INTERFACE_ID_ERC2981)` is called
    ///      in the initializer, this should be automatic
    /// @param interfaceID The interface identifier, as specified in ERC-165
    /// @return `true` if the contract implements
    ///         `_INTERFACE_ID_ERC2981` and `false` otherwise
    function supportsInterface(bytes4 interfaceID) public virtual override view returns (bool) {
        return (interfaceID == _INTERFACE_ID_ERC2981);
    }
}

File 3 of 16 : MerkleProof.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Trees proofs.
 *
 * The proofs can be generated using the JavaScript library
 * https://github.com/miguelmota/merkletreejs[merkletreejs].
 * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
 *
 * See `test/utils/cryptography/MerkleProof.test.js` for some examples.
 */
library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(
        bytes32[] memory proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        bytes32 computedHash = leaf;

        for (uint256 i = 0; i < proof.length; i++) {
            bytes32 proofElement = proof[i];

            if (computedHash <= proofElement) {
                // Hash(current computed hash + current element of the proof)
                computedHash = keccak256(abi.encodePacked(computedHash, proofElement));
            } else {
                // Hash(current element of the proof + current computed hash)
                computedHash = keccak256(abi.encodePacked(proofElement, computedHash));
            }
        }

        // Check if the computed hash (root) is equal to the provided root
        return computedHash == root;
    }
}

File 4 of 16 : BitMaps.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

/**
 * @dev Library for managing uint256 to bool mapping in a compact and efficient way, providing the keys are sequential.
 * Largelly inspired by Uniswap's https://github.com/Uniswap/merkle-distributor/blob/master/contracts/MerkleDistributor.sol[merkle-distributor].
 */
library BitMaps {
    struct BitMap {
        mapping(uint256 => uint256) _data;
    }

    /**
     * @dev Returns whether the bit at `index` is set.
     */
    function get(BitMap storage bitmap, uint256 index) internal view returns (bool) {
        uint256 bucket = index >> 8;
        uint256 mask = 1 << (index & 0xff);
        return bitmap._data[bucket] & mask != 0;
    }

    /**
     * @dev Sets the bit at `index` to the boolean `value`.
     */
    function setTo(
        BitMap storage bitmap,
        uint256 index,
        bool value
    ) internal {
        if (value) {
            set(bitmap, index);
        } else {
            unset(bitmap, index);
        }
    }

    /**
     * @dev Sets the bit at `index`.
     */
    function set(BitMap storage bitmap, uint256 index) internal {
        uint256 bucket = index >> 8;
        uint256 mask = 1 << (index & 0xff);
        bitmap._data[bucket] |= mask;
    }

    /**
     * @dev Unsets the bit at `index`.
     */
    function unset(BitMap storage bitmap, uint256 index) internal {
        uint256 bucket = index >> 8;
        uint256 mask = 1 << (index & 0xff);
        bitmap._data[bucket] &= ~mask;
    }
}

File 5 of 16 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

File 6 of 16 : Ownable.sol
// SPDX-License-Identifier: MIT

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() {
        _setOwner(_msgSender());
    }

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

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _setOwner(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");
        _setOwner(newOwner);
    }

    function _setOwner(address newOwner) private {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 7 of 16 : ERC721Enumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../ERC721.sol";
import "./IERC721Enumerable.sol";

/**
 * @dev This implements an optional extension of {ERC721} defined in the EIP that adds
 * enumerability of all the token ids in the contract as well as all token ids owned by each
 * account.
 */
abstract contract ERC721Enumerable is ERC721, IERC721Enumerable {
    // Mapping from owner to list of owned token IDs
    mapping(address => mapping(uint256 => uint256)) private _ownedTokens;

    // Mapping from token ID to index of the owner tokens list
    mapping(uint256 => uint256) private _ownedTokensIndex;

    // Array with all token ids, used for enumeration
    uint256[] private _allTokens;

    // Mapping from token id to position in the allTokens array
    mapping(uint256 => uint256) private _allTokensIndex;

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) {
        return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId);
    }

    /**
     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds");
        return _ownedTokens[owner][index];
    }

    /**
     * @dev See {IERC721Enumerable-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        return _allTokens.length;
    }

    /**
     * @dev See {IERC721Enumerable-tokenByIndex}.
     */
    function tokenByIndex(uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds");
        return _allTokens[index];
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning.
     *
     * 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, ``from``'s `tokenId` will be burned.
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual override {
        super._beforeTokenTransfer(from, to, tokenId);

        if (from == address(0)) {
            _addTokenToAllTokensEnumeration(tokenId);
        } else if (from != to) {
            _removeTokenFromOwnerEnumeration(from, tokenId);
        }
        if (to == address(0)) {
            _removeTokenFromAllTokensEnumeration(tokenId);
        } else if (to != from) {
            _addTokenToOwnerEnumeration(to, tokenId);
        }
    }

    /**
     * @dev Private function to add a token to this extension's ownership-tracking data structures.
     * @param to address representing the new owner of the given token ID
     * @param tokenId uint256 ID of the token to be added to the tokens list of the given address
     */
    function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private {
        uint256 length = ERC721.balanceOf(to);
        _ownedTokens[to][length] = tokenId;
        _ownedTokensIndex[tokenId] = length;
    }

    /**
     * @dev Private function to add a token to this extension's token tracking data structures.
     * @param tokenId uint256 ID of the token to be added to the tokens list
     */
    function _addTokenToAllTokensEnumeration(uint256 tokenId) private {
        _allTokensIndex[tokenId] = _allTokens.length;
        _allTokens.push(tokenId);
    }

    /**
     * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that
     * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for
     * gas optimizations e.g. when performing a transfer operation (avoiding double writes).
     * This has O(1) time complexity, but alters the order of the _ownedTokens array.
     * @param from address representing the previous owner of the given token ID
     * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address
     */
    function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private {
        // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = ERC721.balanceOf(from) - 1;
        uint256 tokenIndex = _ownedTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary
        if (tokenIndex != lastTokenIndex) {
            uint256 lastTokenId = _ownedTokens[from][lastTokenIndex];

            _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
            _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index
        }

        // This also deletes the contents at the last position of the array
        delete _ownedTokensIndex[tokenId];
        delete _ownedTokens[from][lastTokenIndex];
    }

    /**
     * @dev Private function to remove a token from this extension's token tracking data structures.
     * This has O(1) time complexity, but alters the order of the _allTokens array.
     * @param tokenId uint256 ID of the token to be removed from the tokens list
     */
    function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private {
        // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = _allTokens.length - 1;
        uint256 tokenIndex = _allTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so
        // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding
        // an 'if' statement (like in _removeTokenFromOwnerEnumeration)
        uint256 lastTokenId = _allTokens[lastTokenIndex];

        _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
        _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index

        // This also deletes the contents at the last position of the array
        delete _allTokensIndex[tokenId];
        _allTokens.pop();
    }
}

File 8 of 16 : ERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC721.sol";
import "./IERC721Receiver.sol";
import "./extensions/IERC721Metadata.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/Strings.sol";
import "../../utils/introspection/ERC165.sol";

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension, but not including the Enumerable extension, which is available separately as
 * {ERC721Enumerable}.
 */
contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to owner address
    mapping(uint256 => address) private _owners;

    // Mapping owner address to token count
    mapping(address => uint256) private _balances;

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

    /**
     * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) {
        return
            interfaceId == type(IERC721).interfaceId ||
            interfaceId == type(IERC721Metadata).interfaceId ||
            super.supportsInterface(interfaceId);
    }

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view virtual override returns (uint256) {
        require(owner != address(0), "ERC721: balance query for the zero address");
        return _balances[owner];
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        address owner = _owners[tokenId];
        require(owner != address(0), "ERC721: owner query for nonexistent token");
        return owner;
    }

    /**
     * @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) {
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");

        string memory baseURI = _baseURI();
        return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : "";
    }

    /**
     * @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, can be overriden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return "";
    }

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public virtual override {
        address owner = ERC721.ownerOf(tokenId);
        require(to != owner, "ERC721: approval to current owner");

        require(
            _msgSender() == owner || isApprovedForAll(owner, _msgSender()),
            "ERC721: approve caller is not owner nor approved for all"
        );

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        require(_exists(tokenId), "ERC721: approved query for nonexistent token");

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        require(operator != _msgSender(), "ERC721: approve to caller");

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

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

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");

        _transfer(from, to, tokenId);
    }

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

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public virtual override {
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");
        _safeTransfer(from, to, tokenId, _data);
    }

    /**
     * @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.
     *
     * `_data` is additional data, it has no specified format and it is sent in call to `to`.
     *
     * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.
     * implement alternative mechanisms to perform token transfer, such as signature-based.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeTransfer(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal virtual {
        _transfer(from, to, tokenId);
        require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer");
    }

    /**
     * @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`),
     * and stop existing when they are burned (`_burn`).
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return _owners[tokenId] != address(0);
    }

    /**
     * @dev Returns whether `spender` is allowed to manage `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {
        require(_exists(tokenId), "ERC721: operator query for nonexistent token");
        address owner = ERC721.ownerOf(tokenId);
        return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender));
    }

    /**
     * @dev Safely mints `tokenId` and transfers it to `to`.
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(address to, uint256 tokenId) internal virtual {
        _safeMint(to, tokenId, "");
    }

    /**
     * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is
     * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.
     */
    function _safeMint(
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal virtual {
        _mint(to, tokenId);
        require(
            _checkOnERC721Received(address(0), to, tokenId, _data),
            "ERC721: transfer to non ERC721Receiver implementer"
        );
    }

    /**
     * @dev Mints `tokenId` and transfers it to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - `to` cannot be the zero address.
     *
     * Emits a {Transfer} event.
     */
    function _mint(address to, uint256 tokenId) internal virtual {
        require(to != address(0), "ERC721: mint to the zero address");
        require(!_exists(tokenId), "ERC721: token already minted");

        _beforeTokenTransfer(address(0), to, tokenId);

        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(address(0), to, tokenId);
    }

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

        _beforeTokenTransfer(owner, address(0), tokenId);

        // Clear approvals
        _approve(address(0), tokenId);

        _balances[owner] -= 1;
        delete _owners[tokenId];

        emit Transfer(owner, address(0), tokenId);
    }

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *  As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * Emits a {Transfer} event.
     */
    function _transfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {
        require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own");
        require(to != address(0), "ERC721: transfer to the zero address");

        _beforeTokenTransfer(from, to, tokenId);

        // Clear approvals from the previous owner
        _approve(address(0), tokenId);

        _balances[from] -= 1;
        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(from, to, tokenId);
    }

    /**
     * @dev Approve `to` to operate on `tokenId`
     *
     * Emits a {Approval} event.
     */
    function _approve(address to, uint256 tokenId) internal virtual {
        _tokenApprovals[tokenId] = to;
        emit Approval(ERC721.ownerOf(tokenId), to, tokenId);
    }

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.
     * The call is not executed if the target address is not a 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 _checkOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        if (to.isContract()) {
            try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) {
                return retval == IERC721Receiver.onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert("ERC721: transfer to non ERC721Receiver implementer");
                } else {
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning.
     *
     * 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, ``from``'s `tokenId` will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}
}

File 9 of 16 : IERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[EIP].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface 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);
}

File 10 of 16 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Enumerable is IERC721 {
    /**
     * @dev Returns the total amount of tokens stored by the contract.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns a token ID owned by `owner` at a given `index` of its token list.
     * Use along with {balanceOf} to enumerate all of ``owner``'s tokens.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId);

    /**
     * @dev Returns a token ID at a given `index` of all the tokens stored by the contract.
     * Use along with {totalSupply} to enumerate all tokens.
     */
    function tokenByIndex(uint256 index) external view returns (uint256);
}

File 11 of 16 : ERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC165.sol";

/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
 * for the additional interface id that will be supported. For example:
 *
 * ```solidity
 * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
 *     return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
 * }
 * ```
 *
 * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
 */
abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}

File 12 of 16 : Strings.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

File 13 of 16 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        (bool success, ) = recipient.call{value: amount}("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain `call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        require(isContract(target), "Address: call to non-contract");

        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 14 of 16 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Metadata is IERC721 {
    /**
     * @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);
}

File 15 of 16 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @title ERC721 token receiver interface
 * @dev Interface for any contract that wants to support safeTransfers
 * from ERC721 asset contracts.
 */
interface IERC721Receiver {
    /**
     * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
     * by `operator` from `from`, this function is called.
     *
     * It must return its Solidity selector to confirm the token transfer.
     * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.
     *
     * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

File 16 of 16 : IERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../../utils/introspection/IERC165.sol";

/**
 * @dev Required interface of an ERC721 compliant contract.
 */
interface IERC721 is IERC165 {
    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

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

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

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

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

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

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

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"string","name":"baseTokenURI","type":"string"},{"internalType":"address","name":"deployedSubs","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"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":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"issue","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"MintedIssue","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"uint256","name":"issue","type":"uint256"},{"internalType":"bytes32","name":"root","type":"bytes32"}],"name":"addMerkleAirdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"baseTokenURI","type":"string"}],"name":"changeBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"deployedSubs","type":"address"}],"name":"changeDeployedSubs","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"issue","type":"uint256"},{"internalType":"string","name":"ipfs","type":"string"}],"name":"changeIPFS","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"issue","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"claim","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":"subId","type":"uint256"}],"name":"getCreationTimeOfSub","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"},{"internalType":"uint256","name":"issue","type":"uint256"}],"name":"getValidSubs","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"address","name":"user","type":"address"},{"internalType":"uint256","name":"issue","type":"uint256"}],"name":"isClaimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"issueToIPFS","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"issueToMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"issues","outputs":[{"internalType":"uint256","name":"circulating","type":"uint256"},{"internalType":"uint256","name":"onSale","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"issuingTimes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"issue","type":"uint256"},{"internalType":"uint256","name":"saleSize","type":"uint256"},{"internalType":"string","name":"ipfs","type":"string"}],"name":"launchNewIssue","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"limitPerBuy","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"issue","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintingPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"issue","type":"uint256"},{"internalType":"address[]","name":"recipients","type":"address[]"}],"name":"ownerMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"royaltyAmount","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":"uint256","name":"limit","type":"uint256"}],"name":"setLimitPerBuy","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"price","type":"uint256"}],"name":"setMintingPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"fee","type":"uint256"}],"name":"setRoyaltyFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"subs","outputs":[{"internalType":"contract IRedlionSubscriptions","name":"","type":"address"}],"stateMutability":"view","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":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokenIdToIssue","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"subId","type":"uint256"},{"internalType":"uint256","name":"issue","type":"uint256"}],"name":"withinAllowedWindow","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"}]

608060405266b1a2bc2ec5000060115560056012556103e86015553480156200002757600080fd5b50604051620059d1380380620059d183398181016040528101906200004d91906200030c565b83836200006f620000636200010760201b60201c565b6200010f60201b60201c565b816001908051906020019062000087929190620001d3565b508060029080519060200190620000a0929190620001d3565b5050508160149080519060200190620000bb929190620001d3565b5080600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050505062000542565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620001e19062000494565b90600052602060002090601f01602090048101928262000205576000855562000251565b82601f106200022057805160ff191683800117855562000251565b8280016001018555821562000251579182015b828111156200025057825182559160200191906001019062000233565b5b50905062000260919062000264565b5090565b5b808211156200027f57600081600090555060010162000265565b5090565b60006200029a6200029484620003f7565b620003c3565b905082815260208101848484011115620002b357600080fd5b620002c08482856200045e565b509392505050565b600081519050620002d98162000528565b92915050565b600082601f830112620002f157600080fd5b81516200030384826020860162000283565b91505092915050565b600080600080608085870312156200032357600080fd5b600085015167ffffffffffffffff8111156200033e57600080fd5b6200034c87828801620002df565b945050602085015167ffffffffffffffff8111156200036a57600080fd5b6200037887828801620002df565b935050604085015167ffffffffffffffff8111156200039657600080fd5b620003a487828801620002df565b9250506060620003b787828801620002c8565b91505092959194509250565b6000604051905081810181811067ffffffffffffffff82111715620003ed57620003ec620004f9565b5b8060405250919050565b600067ffffffffffffffff821115620004155762000414620004f9565b5b601f19601f8301169050602081019050919050565b600062000437826200043e565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60005b838110156200047e57808201518184015260208101905062000461565b838111156200048e576000848401525b50505050565b60006002820490506001821680620004ad57607f821691505b60208210811415620004c457620004c3620004ca565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b62000533816200042a565b81146200053f57600080fd5b50565b61547f80620005526000396000f3fe60806040526004361061025c5760003560e01c806370a0823111610144578063b88d4fde116100b6578063f004685a1161007a578063f004685a14610993578063f2fde38b146109bc578063f339f526146109e5578063f354f46d14610a0e578063fa055b5e14610a4b578063fb2f6cce14610a745761025c565b8063b88d4fde1461088a578063c5c1f0f2146108b3578063c87b56dd146108f0578063e985e9c51461092d578063ed2099071461096a5761025c565b80638417b47f116101085780638417b47f1461077a5780638da5cb5b146107a357806395d89b41146107ce5780639ee84eda146107f9578063a22cb46514610836578063b5914ec11461085f5761025c565b806370a0823114610683578063715018a6146106c0578063746cf628146106d75780637b9c0551146107005780637e4e88a21461073d5761025c565b80632a55205a116101dd57806342842e0e116101a157806342842e0e146105295780634f6ccce71461055257806355e1932b1461058f578063562beba8146105cc5780636352211e146106095780636d8485c5146106465761025c565b80632a55205a146104315780632f745c591461046f57806335db70b5146104ac57806339a0c6f9146104d75780633e4086e5146105005761025c565b8063095ea7b311610224578063095ea7b31461036f57806318160ddd146103985780631b2ef1ca146103c357806322e86631146103df57806323b872dd146104085761025c565b806301109e331461026157806301ffc9a71461028c57806304e15de5146102c957806306fdde0314610307578063081812fc14610332575b600080fd5b34801561026d57600080fd5b50610276610a9d565b6040516102839190614ef9565b60405180910390f35b34801561029857600080fd5b506102b360048036038101906102ae9190613dc7565b610aa3565b6040516102c09190614b86565b60405180910390f35b3480156102d557600080fd5b506102f060048036038101906102eb9190613e5a565b610ab5565b6040516102fe929190614f14565b60405180910390f35b34801561031357600080fd5b5061031c610ad9565b6040516103299190614bd7565b60405180910390f35b34801561033e57600080fd5b5061035960048036038101906103549190613e5a565b610b6b565b6040516103669190614abf565b60405180910390f35b34801561037b57600080fd5b5061039660048036038101906103919190613d8b565b610bf0565b005b3480156103a457600080fd5b506103ad610d08565b6040516103ba9190614ef9565b60405180910390f35b6103dd60048036038101906103d89190614000565b610d15565b005b3480156103eb57600080fd5b5061040660048036038101906104019190613c20565b611053565b005b34801561041457600080fd5b5061042f600480360381019061042a9190613c85565b611113565b005b34801561043d57600080fd5b5061045860048036038101906104539190614000565b611173565b604051610466929190614b26565b60405180910390f35b34801561047b57600080fd5b5061049660048036038101906104919190613d8b565b6111a4565b6040516104a39190614ef9565b60405180910390f35b3480156104b857600080fd5b506104c1611249565b6040516104ce9190614ef9565b60405180910390f35b3480156104e357600080fd5b506104fe60048036038101906104f99190613e19565b61124f565b005b34801561050c57600080fd5b5061052760048036038101906105229190613e5a565b6112e5565b005b34801561053557600080fd5b50610550600480360381019061054b9190613c85565b61136b565b005b34801561055e57600080fd5b5061057960048036038101906105749190613e5a565b61138b565b6040516105869190614ef9565b60405180910390f35b34801561059b57600080fd5b506105b660048036038101906105b19190613e5a565b611422565b6040516105c39190614ba1565b60405180910390f35b3480156105d857600080fd5b506105f360048036038101906105ee9190613d8b565b61143a565b6040516106009190614b86565b60405180910390f35b34801561061557600080fd5b50610630600480360381019061062b9190613e5a565b611495565b60405161063d9190614abf565b60405180910390f35b34801561065257600080fd5b5061066d60048036038101906106689190613e5a565b611547565b60405161067a9190614ef9565b60405180910390f35b34801561068f57600080fd5b506106aa60048036038101906106a59190613c20565b61155f565b6040516106b79190614ef9565b60405180910390f35b3480156106cc57600080fd5b506106d5611617565b005b3480156106e357600080fd5b506106fe60048036038101906106f99190613eac565b61169f565b005b34801561070c57600080fd5b5061072760048036038101906107229190613d8b565b611835565b6040516107349190614ef9565b60405180910390f35b34801561074957600080fd5b50610764600480360381019061075f9190613e5a565b6119e0565b6040516107719190614ef9565b60405180910390f35b34801561078657600080fd5b506107a1600480360381019061079c9190613e5a565b611b9b565b005b3480156107af57600080fd5b506107b8611c21565b6040516107c59190614abf565b60405180910390f35b3480156107da57600080fd5b506107e3611c4a565b6040516107f09190614bd7565b60405180910390f35b34801561080557600080fd5b50610820600480360381019061081b9190613e5a565b611cdc565b60405161082d9190614ef9565b60405180910390f35b34801561084257600080fd5b5061085d60048036038101906108589190613d4f565b611cf4565b005b34801561086b57600080fd5b50610874611e75565b6040516108819190614bbc565b60405180910390f35b34801561089657600080fd5b506108b160048036038101906108ac9190613cd4565b611e9b565b005b3480156108bf57600080fd5b506108da60048036038101906108d59190614000565b611efd565b6040516108e79190614b86565b60405180910390f35b3480156108fc57600080fd5b5061091760048036038101906109129190613e5a565b612027565b6040516109249190614bd7565b60405180910390f35b34801561093957600080fd5b50610954600480360381019061094f9190613c49565b61207e565b6040516109619190614b86565b60405180910390f35b34801561097657600080fd5b50610991600480360381019061098c919061403c565b612112565b005b34801561099f57600080fd5b506109ba60048036038101906109b59190613e5a565b6121ee565b005b3480156109c857600080fd5b506109e360048036038101906109de9190613c20565b612274565b005b3480156109f157600080fd5b50610a0c6004803603810190610a079190613f04565b61236c565b005b348015610a1a57600080fd5b50610a356004803603810190610a309190613e5a565b6125df565b604051610a429190614bd7565b60405180910390f35b348015610a5757600080fd5b50610a726004803603810190610a6d9190613fac565b61267f565b005b348015610a8057600080fd5b50610a9b6004803603810190610a969190613f70565b612727565b005b60125481565b6000610aae826127bf565b9050919050565b600d6020528060005260406000206000915090508060000154908060010154905082565b606060018054610ae890615249565b80601f0160208091040260200160405190810160405280929190818152602001828054610b1490615249565b8015610b615780601f10610b3657610100808354040283529160200191610b61565b820191906000526020600020905b815481529060010190602001808311610b4457829003601f168201915b5050505050905090565b6000610b7682612839565b610bb5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bac90614db9565b60405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610bfb82611495565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c6390614e59565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c8b6128a5565b73ffffffffffffffffffffffffffffffffffffffff161480610cba5750610cb981610cb46128a5565b61207e565b5b610cf9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cf090614cf9565b60405180910390fd5b610d0383836128ad565b505050565b6000600980549050905090565b6000803414610d245781610d2f565b610d2e3384611835565b5b90506000341415610e6457610d8b83600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002061296690919063ffffffff16565b15610dcb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dc290614c79565b60405180910390fd5b60008111610e0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e0590614eb9565b60405180910390fd5b610e5f83600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206129a290919063ffffffff16565b610f89565b81601154610e7291906150ad565b3414610eb3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eaa90614ed9565b60405180910390fd5b601254821115610ef8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eef90614d79565b60405180910390fd5b426207e9006010600086815260200190815260200160002054610f1b9190615026565b1015610f5c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f5390614d19565b60405180910390fd5b600d60008481526020019081526020016000206001016000815480929190610f839061521f565b91905055505b60005b8181101561104d576000600d60008681526020019081526020016000206000016000815480929190610fbd9061527b565b91905055620f424086610fd091906150ad565b610fda9190615026565b905084600e600083815260200190815260200160002081905550610ffe33826129e0565b7f966d62c0a408368c656346fe829fad3f53d4436857794a7356a71fa3fe8e53df33868360405161103193929190614b4f565b60405180910390a15080806110459061527b565b915050610f8c565b50505050565b61105b6128a5565b73ffffffffffffffffffffffffffffffffffffffff16611079611c21565b73ffffffffffffffffffffffffffffffffffffffff16146110cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110c690614dd9565b60405180910390fd5b80600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b61112461111e6128a5565b826129fe565b611163576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161115a90614e79565b60405180910390fd5b61116e838383612adc565b505050565b60008061117e611c21565b6127106015548561118f91906150ad565b611199919061507c565b915091509250929050565b60006111af8361155f565b82106111f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111e790614bf9565b60405180910390fd5b600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b60115481565b6112576128a5565b73ffffffffffffffffffffffffffffffffffffffff16611275611c21565b73ffffffffffffffffffffffffffffffffffffffff16146112cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112c290614dd9565b60405180910390fd5b80601490805190602001906112e1929190613986565b5050565b6112ed6128a5565b73ffffffffffffffffffffffffffffffffffffffff1661130b611c21565b73ffffffffffffffffffffffffffffffffffffffff1614611361576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161135890614dd9565b60405180910390fd5b8060158190555050565b61138683838360405180602001604052806000815250611e9b565b505050565b6000611395610d08565b82106113d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113cd90614e99565b60405180910390fd5b60098281548110611410577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b60136020528060005260406000206000915090505481565b600061148d82600f60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002061296690919063ffffffff16565b905092915050565b6000806003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561153e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161153590614d59565b60405180910390fd5b80915050919050565b60106020528060005260406000206000915090505481565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156115d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115c790614d39565b60405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61161f6128a5565b73ffffffffffffffffffffffffffffffffffffffff1661163d611c21565b73ffffffffffffffffffffffffffffffffffffffff1614611693576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168a90614dd9565b60405180910390fd5b61169d6000612d38565b565b6116a76128a5565b73ffffffffffffffffffffffffffffffffffffffff166116c5611c21565b73ffffffffffffffffffffffffffffffffffffffff161461171b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161171290614dd9565b60405180910390fd5b60005b8282905081101561182f576000600d600086815260200190815260200160002060000160008154809291906117529061527b565b91905055620f42408661176591906150ad565b61176f9190615026565b905084600e6000838152602001908152602001600020819055506117e08484848181106117c5577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020160208101906117da9190613c20565b826129e0565b7f966d62c0a408368c656346fe829fad3f53d4436857794a7356a71fa3fe8e53df33868360405161181393929190614b4f565b60405180910390a15080806118279061527b565b91505061171e565b50505050565b600080600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231856040518263ffffffff1660e01b81526004016118939190614abf565b60206040518083038186803b1580156118ab57600080fd5b505afa1580156118bf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118e39190613e83565b90506000805b828110156119d4576000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16632f745c5988846040518363ffffffff1660e01b8152600401611950929190614b26565b60206040518083038186803b15801561196857600080fd5b505afa15801561197c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119a09190613e83565b90506119ac8187611efd565b156119c05782806119bc9061527b565b9350505b5080806119cc9061527b565b9150506118e9565b50809250505092915050565b600080600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d7de5725846040518263ffffffff1660e01b8152600401611a3e9190614ef9565b60206040518083038186803b158015611a5657600080fd5b505afa158015611a6a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a8e9190613e83565b90506000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c251ddf8856040518263ffffffff1660e01b8152600401611aed9190614ef9565b60206040518083038186803b158015611b0557600080fd5b505afa158015611b19573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b3d9190613e83565b90506000821415611b60576277f88081611b579190615107565b92505050611b96565b6001821415611b815762eff10081611b789190615107565b92505050611b96565b6301dfe20081611b919190615107565b925050505b919050565b611ba36128a5565b73ffffffffffffffffffffffffffffffffffffffff16611bc1611c21565b73ffffffffffffffffffffffffffffffffffffffff1614611c17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c0e90614dd9565b60405180910390fd5b8060118190555050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060028054611c5990615249565b80601f0160208091040260200160405190810160405280929190818152602001828054611c8590615249565b8015611cd25780601f10611ca757610100808354040283529160200191611cd2565b820191906000526020600020905b815481529060010190602001808311611cb557829003601f168201915b5050505050905090565b600e6020528060005260406000206000915090505481565b611cfc6128a5565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611d6a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d6190614cb9565b60405180910390fd5b8060066000611d776128a5565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611e246128a5565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611e699190614b86565b60405180910390a35050565b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b611eac611ea66128a5565b836129fe565b611eeb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ee290614e79565b60405180910390fd5b611ef784848484612dfc565b50505050565b600080600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c251ddf8856040518263ffffffff1660e01b8152600401611f5b9190614ef9565b60206040518083038186803b158015611f7357600080fd5b505afa158015611f87573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611fab9190613e83565b90506000611fb8856119e0565b905060106000858152602001908152602001600020548111158015611ffe57506249d4006010600086815260200190815260200160002054611ffa9190615026565b4211155b801561201d575081601060008681526020019081526020016000205411155b9250505092915050565b6060612031612e58565b600c6000600e6000868152602001908152602001600020548152602001908152602001600020604051602001612068929190614a9b565b6040516020818303038152906040529050919050565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61211a6128a5565b73ffffffffffffffffffffffffffffffffffffffff16612138611c21565b73ffffffffffffffffffffffffffffffffffffffff161461218e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161218590614dd9565b60405180910390fd5b42601060008581526020019081526020016000208190555081600d60008581526020019081526020016000206001018190555080600c600085815260200190815260200160002090805190602001906121e8929190613986565b50505050565b6121f66128a5565b73ffffffffffffffffffffffffffffffffffffffff16612214611c21565b73ffffffffffffffffffffffffffffffffffffffff161461226a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161226190614dd9565b60405180910390fd5b8060128190555050565b61227c6128a5565b73ffffffffffffffffffffffffffffffffffffffff1661229a611c21565b73ffffffffffffffffffffffffffffffffffffffff16146122f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122e790614dd9565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612360576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161235790614c39565b60405180910390fd5b61236981612d38565b50565b6123bd84601660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002061296690919063ffffffff16565b156123fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123f490614df9565b60405180910390fd5b61244e84601660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206129a290919063ffffffff16565b6124d5838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050601360008781526020019081526020016000205433846040516020016124ba929190614a43565b60405160208183030381529060405280519060200120612eea565b612514576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161250b90614e39565b60405180910390fd5b60005b818110156125d8576000600d600087815260200190815260200160002060000160008154809291906125489061527b565b91905055620f42408761255b91906150ad565b6125659190615026565b905085600e60008381526020019081526020016000208190555061258933826129e0565b7f966d62c0a408368c656346fe829fad3f53d4436857794a7356a71fa3fe8e53df3387836040516125bc93929190614b4f565b60405180910390a15080806125d09061527b565b915050612517565b5050505050565b600c60205280600052604060002060009150905080546125fe90615249565b80601f016020809104026020016040519081016040528092919081815260200182805461262a90615249565b80156126775780601f1061264c57610100808354040283529160200191612677565b820191906000526020600020905b81548152906001019060200180831161265a57829003601f168201915b505050505081565b6126876128a5565b73ffffffffffffffffffffffffffffffffffffffff166126a5611c21565b73ffffffffffffffffffffffffffffffffffffffff16146126fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126f290614dd9565b60405180910390fd5b80600c60008481526020019081526020016000209080519060200190612722929190613986565b505050565b61272f6128a5565b73ffffffffffffffffffffffffffffffffffffffff1661274d611c21565b73ffffffffffffffffffffffffffffffffffffffff16146127a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161279a90614dd9565b60405180910390fd5b8060136000848152602001908152602001600020819055505050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612832575061283182612fc6565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816005600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661292083611495565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080600883901c9050600060ff84166001901b9050600081866000016000858152602001908152602001600020541614159250505092915050565b6000600882901c9050600060ff83166001901b9050808460000160008481526020019081526020016000206000828254179250508190555050505050565b6129fa8282604051806020016040528060008152506130a8565b5050565b6000612a0982612839565b612a48576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a3f90614cd9565b60405180910390fd5b6000612a5383611495565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612ac257508373ffffffffffffffffffffffffffffffffffffffff16612aaa84610b6b565b73ffffffffffffffffffffffffffffffffffffffff16145b80612ad35750612ad2818561207e565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612afc82611495565b73ffffffffffffffffffffffffffffffffffffffff1614612b52576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b4990614e19565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612bc2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bb990614c99565b60405180910390fd5b612bcd838383613103565b612bd86000826128ad565b6001600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612c289190615107565b925050819055506001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612c7f9190615026565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612e07848484612adc565b612e1384848484613113565b612e52576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e4990614c19565b60405180910390fd5b50505050565b606060148054612e6790615249565b80601f0160208091040260200160405190810160405280929190818152602001828054612e9390615249565b8015612ee05780601f10612eb557610100808354040283529160200191612ee0565b820191906000526020600020905b815481529060010190602001808311612ec357829003601f168201915b5050505050905090565b60008082905060005b8551811015612fb8576000868281518110612f37577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101519050808311612f78578281604051602001612f5b929190614a6f565b604051602081830303815290604052805190602001209250612fa4565b8083604051602001612f8b929190614a6f565b6040516020818303038152906040528051906020012092505b508080612fb09061527b565b915050612ef3565b508381149150509392505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061309157507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806130a157506130a0826132aa565b5b9050919050565b6130b28383613314565b6130bf6000848484613113565b6130fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130f590614c19565b60405180910390fd5b505050565b61310e8383836134e2565b505050565b60006131348473ffffffffffffffffffffffffffffffffffffffff166135f6565b1561329d578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261315d6128a5565b8786866040518563ffffffff1660e01b815260040161317f9493929190614ada565b602060405180830381600087803b15801561319957600080fd5b505af19250505080156131ca57506040513d601f19601f820116820180604052508101906131c79190613df0565b60015b61324d573d80600081146131fa576040519150601f19603f3d011682016040523d82523d6000602084013e6131ff565b606091505b50600081511415613245576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161323c90614c19565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506132a2565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613384576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161337b90614d99565b60405180910390fd5b61338d81612839565b156133cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133c490614c59565b60405180910390fd5b6133d960008383613103565b6001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546134299190615026565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6134ed838383613609565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156135305761352b8161360e565b61356f565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461356e5761356d8382613657565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156135b2576135ad816137c4565b6135f1565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146135f0576135ef8282613907565b5b5b505050565b600080823b905060008111915050919050565b505050565b600980549050600a600083815260200190815260200160002081905550600981908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016136648461155f565b61366e9190615107565b9050600060086000848152602001908152602001600020549050818114613753576000600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816008600083815260200190815260200160002081905550505b6008600084815260200190815260200160002060009055600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016009805490506137d89190615107565b90506000600a600084815260200190815260200160002054905060006009838154811061382e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060098381548110613876577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600a600083815260200190815260200160002081905550600a60008581526020019081526020016000206000905560098054806138eb577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b60006139128361155f565b905081600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806008600084815260200190815260200160002081905550505050565b82805461399290615249565b90600052602060002090601f0160209004810192826139b457600085556139fb565b82601f106139cd57805160ff19168380011785556139fb565b828001600101855582156139fb579182015b828111156139fa5782518255916020019190600101906139df565b5b509050613a089190613a0c565b5090565b5b80821115613a25576000816000905550600101613a0d565b5090565b6000613a3c613a3784614f6e565b614f3d565b905082815260208101848484011115613a5457600080fd5b613a5f8482856151dd565b509392505050565b6000613a7a613a7584614f9e565b614f3d565b905082815260208101848484011115613a9257600080fd5b613a9d8482856151dd565b509392505050565b600081359050613ab4816153d6565b92915050565b60008083601f840112613acc57600080fd5b8235905067ffffffffffffffff811115613ae557600080fd5b602083019150836020820283011115613afd57600080fd5b9250929050565b60008083601f840112613b1657600080fd5b8235905067ffffffffffffffff811115613b2f57600080fd5b602083019150836020820283011115613b4757600080fd5b9250929050565b600081359050613b5d816153ed565b92915050565b600081359050613b7281615404565b92915050565b600081359050613b878161541b565b92915050565b600081519050613b9c8161541b565b92915050565b600082601f830112613bb357600080fd5b8135613bc3848260208601613a29565b91505092915050565b600082601f830112613bdd57600080fd5b8135613bed848260208601613a67565b91505092915050565b600081359050613c0581615432565b92915050565b600081519050613c1a81615432565b92915050565b600060208284031215613c3257600080fd5b6000613c4084828501613aa5565b91505092915050565b60008060408385031215613c5c57600080fd5b6000613c6a85828601613aa5565b9250506020613c7b85828601613aa5565b9150509250929050565b600080600060608486031215613c9a57600080fd5b6000613ca886828701613aa5565b9350506020613cb986828701613aa5565b9250506040613cca86828701613bf6565b9150509250925092565b60008060008060808587031215613cea57600080fd5b6000613cf887828801613aa5565b9450506020613d0987828801613aa5565b9350506040613d1a87828801613bf6565b925050606085013567ffffffffffffffff811115613d3757600080fd5b613d4387828801613ba2565b91505092959194509250565b60008060408385031215613d6257600080fd5b6000613d7085828601613aa5565b9250506020613d8185828601613b4e565b9150509250929050565b60008060408385031215613d9e57600080fd5b6000613dac85828601613aa5565b9250506020613dbd85828601613bf6565b9150509250929050565b600060208284031215613dd957600080fd5b6000613de784828501613b78565b91505092915050565b600060208284031215613e0257600080fd5b6000613e1084828501613b8d565b91505092915050565b600060208284031215613e2b57600080fd5b600082013567ffffffffffffffff811115613e4557600080fd5b613e5184828501613bcc565b91505092915050565b600060208284031215613e6c57600080fd5b6000613e7a84828501613bf6565b91505092915050565b600060208284031215613e9557600080fd5b6000613ea384828501613c0b565b91505092915050565b600080600060408486031215613ec157600080fd5b6000613ecf86828701613bf6565b935050602084013567ffffffffffffffff811115613eec57600080fd5b613ef886828701613aba565b92509250509250925092565b60008060008060608587031215613f1a57600080fd5b6000613f2887828801613bf6565b945050602085013567ffffffffffffffff811115613f4557600080fd5b613f5187828801613b04565b93509350506040613f6487828801613bf6565b91505092959194509250565b60008060408385031215613f8357600080fd5b6000613f9185828601613bf6565b9250506020613fa285828601613b63565b9150509250929050565b60008060408385031215613fbf57600080fd5b6000613fcd85828601613bf6565b925050602083013567ffffffffffffffff811115613fea57600080fd5b613ff685828601613bcc565b9150509250929050565b6000806040838503121561401357600080fd5b600061402185828601613bf6565b925050602061403285828601613bf6565b9150509250929050565b60008060006060848603121561405157600080fd5b600061405f86828701613bf6565b935050602061407086828701613bf6565b925050604084013567ffffffffffffffff81111561408d57600080fd5b61409986828701613bcc565b9150509250925092565b6140ac8161513b565b82525050565b6140c36140be8261513b565b6152c4565b82525050565b6140d28161514d565b82525050565b6140e181615159565b82525050565b6140f86140f382615159565b6152d6565b82525050565b600061410982614fe3565b6141138185614ff9565b93506141238185602086016151ec565b61412c816153b8565b840191505092915050565b614140816151b9565b82525050565b600061415182614fee565b61415b818561500a565b935061416b8185602086016151ec565b614174816153b8565b840191505092915050565b600061418a82614fee565b614194818561501b565b93506141a48185602086016151ec565b80840191505092915050565b600081546141bd81615249565b6141c7818661501b565b945060018216600081146141e257600181146141f357614226565b60ff19831686528186019350614226565b6141fc85614fce565b60005b8381101561421e578154818901526001820191506020810190506141ff565b838801955050505b50505092915050565b600061423c602b8361500a565b91507f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008301527f74206f6620626f756e64730000000000000000000000000000000000000000006020830152604082019050919050565b60006142a260328361500a565b91507f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008301527f63656976657220696d706c656d656e74657200000000000000000000000000006020830152604082019050919050565b600061430860268361500a565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061436e601c8361500a565b91507f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006000830152602082019050919050565b60006143ae600f8361500a565b91507f414c524541445920434c41494d454400000000000000000000000000000000006000830152602082019050919050565b60006143ee60248361500a565b91507f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061445460198361500a565b91507f4552433732313a20617070726f766520746f2063616c6c6572000000000000006000830152602082019050919050565b6000614494602c8361500a565b91507f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b60006144fa60388361500a565b91507f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008301527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006020830152604082019050919050565b6000614560600c8361500a565b91507f53414c45204558504952454400000000000000000000000000000000000000006000830152602082019050919050565b60006145a0602a8361500a565b91507f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008301527f726f2061646472657373000000000000000000000000000000000000000000006020830152604082019050919050565b600061460660298361500a565b91507f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008301527f656e7420746f6b656e00000000000000000000000000000000000000000000006020830152604082019050919050565b600061466c600a8361500a565b91507f4f564552204c494d4954000000000000000000000000000000000000000000006000830152602082019050919050565b60006146ac60208361500a565b91507f4552433732313a206d696e7420746f20746865207a65726f20616464726573736000830152602082019050919050565b60006146ec602c8361500a565b91507f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b600061475260208361500a565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b600061479260198361500a565b91507f414c524541445920434c41494d454420464f52204953535545000000000000006000830152602082019050919050565b60006147d260298361500a565b91507f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008301527f73206e6f74206f776e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000614838600d8361500a565b91507f494e56414c49442050524f4f46000000000000000000000000000000000000006000830152602082019050919050565b600061487860218361500a565b91507f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008301527f72000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006148de60318361500a565b91507f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008301527f776e6572206e6f7220617070726f7665640000000000000000000000000000006020830152604082019050919050565b6000614944602c8361500a565b91507f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008301527f7574206f6620626f756e647300000000000000000000000000000000000000006020830152604082019050919050565b60006149aa60158361500a565b91507f4e4f2056414c494420535542534352495054494f4e00000000000000000000006000830152602082019050919050565b60006149ea600f8361500a565b91507f494e434f525245435420505249434500000000000000000000000000000000006000830152602082019050919050565b614a26816151af565b82525050565b614a3d614a38826151af565b6152f2565b82525050565b6000614a4f82856140b2565b601482019150614a5f8284614a2c565b6020820191508190509392505050565b6000614a7b82856140e7565b602082019150614a8b82846140e7565b6020820191508190509392505050565b6000614aa7828561417f565b9150614ab382846141b0565b91508190509392505050565b6000602082019050614ad460008301846140a3565b92915050565b6000608082019050614aef60008301876140a3565b614afc60208301866140a3565b614b096040830185614a1d565b8181036060830152614b1b81846140fe565b905095945050505050565b6000604082019050614b3b60008301856140a3565b614b486020830184614a1d565b9392505050565b6000606082019050614b6460008301866140a3565b614b716020830185614a1d565b614b7e6040830184614a1d565b949350505050565b6000602082019050614b9b60008301846140c9565b92915050565b6000602082019050614bb660008301846140d8565b92915050565b6000602082019050614bd16000830184614137565b92915050565b60006020820190508181036000830152614bf18184614146565b905092915050565b60006020820190508181036000830152614c128161422f565b9050919050565b60006020820190508181036000830152614c3281614295565b9050919050565b60006020820190508181036000830152614c52816142fb565b9050919050565b60006020820190508181036000830152614c7281614361565b9050919050565b60006020820190508181036000830152614c92816143a1565b9050919050565b60006020820190508181036000830152614cb2816143e1565b9050919050565b60006020820190508181036000830152614cd281614447565b9050919050565b60006020820190508181036000830152614cf281614487565b9050919050565b60006020820190508181036000830152614d12816144ed565b9050919050565b60006020820190508181036000830152614d3281614553565b9050919050565b60006020820190508181036000830152614d5281614593565b9050919050565b60006020820190508181036000830152614d72816145f9565b9050919050565b60006020820190508181036000830152614d928161465f565b9050919050565b60006020820190508181036000830152614db28161469f565b9050919050565b60006020820190508181036000830152614dd2816146df565b9050919050565b60006020820190508181036000830152614df281614745565b9050919050565b60006020820190508181036000830152614e1281614785565b9050919050565b60006020820190508181036000830152614e32816147c5565b9050919050565b60006020820190508181036000830152614e528161482b565b9050919050565b60006020820190508181036000830152614e728161486b565b9050919050565b60006020820190508181036000830152614e92816148d1565b9050919050565b60006020820190508181036000830152614eb281614937565b9050919050565b60006020820190508181036000830152614ed28161499d565b9050919050565b60006020820190508181036000830152614ef2816149dd565b9050919050565b6000602082019050614f0e6000830184614a1d565b92915050565b6000604082019050614f296000830185614a1d565b614f366020830184614a1d565b9392505050565b6000604051905081810181811067ffffffffffffffff82111715614f6457614f63615389565b5b8060405250919050565b600067ffffffffffffffff821115614f8957614f88615389565b5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff821115614fb957614fb8615389565b5b601f19601f8301169050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000615031826151af565b915061503c836151af565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115615071576150706152fc565b5b828201905092915050565b6000615087826151af565b9150615092836151af565b9250826150a2576150a161532b565b5b828204905092915050565b60006150b8826151af565b91506150c3836151af565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156150fc576150fb6152fc565b5b828202905092915050565b6000615112826151af565b915061511d836151af565b9250828210156151305761512f6152fc565b5b828203905092915050565b60006151468261518f565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60006151c4826151cb565b9050919050565b60006151d68261518f565b9050919050565b82818337600083830152505050565b60005b8381101561520a5780820151818401526020810190506151ef565b83811115615219576000848401525b50505050565b600061522a826151af565b9150600082141561523e5761523d6152fc565b5b600182039050919050565b6000600282049050600182168061526157607f821691505b602082108114156152755761527461535a565b5b50919050565b6000615286826151af565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156152b9576152b86152fc565b5b600182019050919050565b60006152cf826152e0565b9050919050565b6000819050919050565b60006152eb826153c9565b9050919050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b6153df8161513b565b81146153ea57600080fd5b50565b6153f68161514d565b811461540157600080fd5b50565b61540d81615159565b811461541857600080fd5b50565b61542481615163565b811461542f57600080fd5b50565b61543b816151af565b811461544657600080fd5b5056fea2646970667358221220ca38f6df25521015b3ede3ff6f091e630229d88c482f9f2fb3a91598df9b519d64736f6c63430008000033000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001000000000000000000000000004123d3da0f4d1e82196e4ff27b39461cb2a86a14000000000000000000000000000000000000000000000000000000000000000f5265646c696f6e2047617a6574746500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000009524c47415a455454450000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002868747470733a2f2f6e66742e7265646c696f6e2e6e6577732f67617a65747465732f69737375652f000000000000000000000000000000000000000000000000

Deployed Bytecode

0x60806040526004361061025c5760003560e01c806370a0823111610144578063b88d4fde116100b6578063f004685a1161007a578063f004685a14610993578063f2fde38b146109bc578063f339f526146109e5578063f354f46d14610a0e578063fa055b5e14610a4b578063fb2f6cce14610a745761025c565b8063b88d4fde1461088a578063c5c1f0f2146108b3578063c87b56dd146108f0578063e985e9c51461092d578063ed2099071461096a5761025c565b80638417b47f116101085780638417b47f1461077a5780638da5cb5b146107a357806395d89b41146107ce5780639ee84eda146107f9578063a22cb46514610836578063b5914ec11461085f5761025c565b806370a0823114610683578063715018a6146106c0578063746cf628146106d75780637b9c0551146107005780637e4e88a21461073d5761025c565b80632a55205a116101dd57806342842e0e116101a157806342842e0e146105295780634f6ccce71461055257806355e1932b1461058f578063562beba8146105cc5780636352211e146106095780636d8485c5146106465761025c565b80632a55205a146104315780632f745c591461046f57806335db70b5146104ac57806339a0c6f9146104d75780633e4086e5146105005761025c565b8063095ea7b311610224578063095ea7b31461036f57806318160ddd146103985780631b2ef1ca146103c357806322e86631146103df57806323b872dd146104085761025c565b806301109e331461026157806301ffc9a71461028c57806304e15de5146102c957806306fdde0314610307578063081812fc14610332575b600080fd5b34801561026d57600080fd5b50610276610a9d565b6040516102839190614ef9565b60405180910390f35b34801561029857600080fd5b506102b360048036038101906102ae9190613dc7565b610aa3565b6040516102c09190614b86565b60405180910390f35b3480156102d557600080fd5b506102f060048036038101906102eb9190613e5a565b610ab5565b6040516102fe929190614f14565b60405180910390f35b34801561031357600080fd5b5061031c610ad9565b6040516103299190614bd7565b60405180910390f35b34801561033e57600080fd5b5061035960048036038101906103549190613e5a565b610b6b565b6040516103669190614abf565b60405180910390f35b34801561037b57600080fd5b5061039660048036038101906103919190613d8b565b610bf0565b005b3480156103a457600080fd5b506103ad610d08565b6040516103ba9190614ef9565b60405180910390f35b6103dd60048036038101906103d89190614000565b610d15565b005b3480156103eb57600080fd5b5061040660048036038101906104019190613c20565b611053565b005b34801561041457600080fd5b5061042f600480360381019061042a9190613c85565b611113565b005b34801561043d57600080fd5b5061045860048036038101906104539190614000565b611173565b604051610466929190614b26565b60405180910390f35b34801561047b57600080fd5b5061049660048036038101906104919190613d8b565b6111a4565b6040516104a39190614ef9565b60405180910390f35b3480156104b857600080fd5b506104c1611249565b6040516104ce9190614ef9565b60405180910390f35b3480156104e357600080fd5b506104fe60048036038101906104f99190613e19565b61124f565b005b34801561050c57600080fd5b5061052760048036038101906105229190613e5a565b6112e5565b005b34801561053557600080fd5b50610550600480360381019061054b9190613c85565b61136b565b005b34801561055e57600080fd5b5061057960048036038101906105749190613e5a565b61138b565b6040516105869190614ef9565b60405180910390f35b34801561059b57600080fd5b506105b660048036038101906105b19190613e5a565b611422565b6040516105c39190614ba1565b60405180910390f35b3480156105d857600080fd5b506105f360048036038101906105ee9190613d8b565b61143a565b6040516106009190614b86565b60405180910390f35b34801561061557600080fd5b50610630600480360381019061062b9190613e5a565b611495565b60405161063d9190614abf565b60405180910390f35b34801561065257600080fd5b5061066d60048036038101906106689190613e5a565b611547565b60405161067a9190614ef9565b60405180910390f35b34801561068f57600080fd5b506106aa60048036038101906106a59190613c20565b61155f565b6040516106b79190614ef9565b60405180910390f35b3480156106cc57600080fd5b506106d5611617565b005b3480156106e357600080fd5b506106fe60048036038101906106f99190613eac565b61169f565b005b34801561070c57600080fd5b5061072760048036038101906107229190613d8b565b611835565b6040516107349190614ef9565b60405180910390f35b34801561074957600080fd5b50610764600480360381019061075f9190613e5a565b6119e0565b6040516107719190614ef9565b60405180910390f35b34801561078657600080fd5b506107a1600480360381019061079c9190613e5a565b611b9b565b005b3480156107af57600080fd5b506107b8611c21565b6040516107c59190614abf565b60405180910390f35b3480156107da57600080fd5b506107e3611c4a565b6040516107f09190614bd7565b60405180910390f35b34801561080557600080fd5b50610820600480360381019061081b9190613e5a565b611cdc565b60405161082d9190614ef9565b60405180910390f35b34801561084257600080fd5b5061085d60048036038101906108589190613d4f565b611cf4565b005b34801561086b57600080fd5b50610874611e75565b6040516108819190614bbc565b60405180910390f35b34801561089657600080fd5b506108b160048036038101906108ac9190613cd4565b611e9b565b005b3480156108bf57600080fd5b506108da60048036038101906108d59190614000565b611efd565b6040516108e79190614b86565b60405180910390f35b3480156108fc57600080fd5b5061091760048036038101906109129190613e5a565b612027565b6040516109249190614bd7565b60405180910390f35b34801561093957600080fd5b50610954600480360381019061094f9190613c49565b61207e565b6040516109619190614b86565b60405180910390f35b34801561097657600080fd5b50610991600480360381019061098c919061403c565b612112565b005b34801561099f57600080fd5b506109ba60048036038101906109b59190613e5a565b6121ee565b005b3480156109c857600080fd5b506109e360048036038101906109de9190613c20565b612274565b005b3480156109f157600080fd5b50610a0c6004803603810190610a079190613f04565b61236c565b005b348015610a1a57600080fd5b50610a356004803603810190610a309190613e5a565b6125df565b604051610a429190614bd7565b60405180910390f35b348015610a5757600080fd5b50610a726004803603810190610a6d9190613fac565b61267f565b005b348015610a8057600080fd5b50610a9b6004803603810190610a969190613f70565b612727565b005b60125481565b6000610aae826127bf565b9050919050565b600d6020528060005260406000206000915090508060000154908060010154905082565b606060018054610ae890615249565b80601f0160208091040260200160405190810160405280929190818152602001828054610b1490615249565b8015610b615780601f10610b3657610100808354040283529160200191610b61565b820191906000526020600020905b815481529060010190602001808311610b4457829003601f168201915b5050505050905090565b6000610b7682612839565b610bb5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bac90614db9565b60405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610bfb82611495565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c6390614e59565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c8b6128a5565b73ffffffffffffffffffffffffffffffffffffffff161480610cba5750610cb981610cb46128a5565b61207e565b5b610cf9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cf090614cf9565b60405180910390fd5b610d0383836128ad565b505050565b6000600980549050905090565b6000803414610d245781610d2f565b610d2e3384611835565b5b90506000341415610e6457610d8b83600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002061296690919063ffffffff16565b15610dcb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dc290614c79565b60405180910390fd5b60008111610e0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e0590614eb9565b60405180910390fd5b610e5f83600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206129a290919063ffffffff16565b610f89565b81601154610e7291906150ad565b3414610eb3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eaa90614ed9565b60405180910390fd5b601254821115610ef8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eef90614d79565b60405180910390fd5b426207e9006010600086815260200190815260200160002054610f1b9190615026565b1015610f5c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f5390614d19565b60405180910390fd5b600d60008481526020019081526020016000206001016000815480929190610f839061521f565b91905055505b60005b8181101561104d576000600d60008681526020019081526020016000206000016000815480929190610fbd9061527b565b91905055620f424086610fd091906150ad565b610fda9190615026565b905084600e600083815260200190815260200160002081905550610ffe33826129e0565b7f966d62c0a408368c656346fe829fad3f53d4436857794a7356a71fa3fe8e53df33868360405161103193929190614b4f565b60405180910390a15080806110459061527b565b915050610f8c565b50505050565b61105b6128a5565b73ffffffffffffffffffffffffffffffffffffffff16611079611c21565b73ffffffffffffffffffffffffffffffffffffffff16146110cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110c690614dd9565b60405180910390fd5b80600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b61112461111e6128a5565b826129fe565b611163576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161115a90614e79565b60405180910390fd5b61116e838383612adc565b505050565b60008061117e611c21565b6127106015548561118f91906150ad565b611199919061507c565b915091509250929050565b60006111af8361155f565b82106111f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111e790614bf9565b60405180910390fd5b600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b60115481565b6112576128a5565b73ffffffffffffffffffffffffffffffffffffffff16611275611c21565b73ffffffffffffffffffffffffffffffffffffffff16146112cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112c290614dd9565b60405180910390fd5b80601490805190602001906112e1929190613986565b5050565b6112ed6128a5565b73ffffffffffffffffffffffffffffffffffffffff1661130b611c21565b73ffffffffffffffffffffffffffffffffffffffff1614611361576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161135890614dd9565b60405180910390fd5b8060158190555050565b61138683838360405180602001604052806000815250611e9b565b505050565b6000611395610d08565b82106113d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113cd90614e99565b60405180910390fd5b60098281548110611410577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b60136020528060005260406000206000915090505481565b600061148d82600f60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002061296690919063ffffffff16565b905092915050565b6000806003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561153e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161153590614d59565b60405180910390fd5b80915050919050565b60106020528060005260406000206000915090505481565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156115d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115c790614d39565b60405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61161f6128a5565b73ffffffffffffffffffffffffffffffffffffffff1661163d611c21565b73ffffffffffffffffffffffffffffffffffffffff1614611693576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168a90614dd9565b60405180910390fd5b61169d6000612d38565b565b6116a76128a5565b73ffffffffffffffffffffffffffffffffffffffff166116c5611c21565b73ffffffffffffffffffffffffffffffffffffffff161461171b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161171290614dd9565b60405180910390fd5b60005b8282905081101561182f576000600d600086815260200190815260200160002060000160008154809291906117529061527b565b91905055620f42408661176591906150ad565b61176f9190615026565b905084600e6000838152602001908152602001600020819055506117e08484848181106117c5577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020160208101906117da9190613c20565b826129e0565b7f966d62c0a408368c656346fe829fad3f53d4436857794a7356a71fa3fe8e53df33868360405161181393929190614b4f565b60405180910390a15080806118279061527b565b91505061171e565b50505050565b600080600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231856040518263ffffffff1660e01b81526004016118939190614abf565b60206040518083038186803b1580156118ab57600080fd5b505afa1580156118bf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118e39190613e83565b90506000805b828110156119d4576000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16632f745c5988846040518363ffffffff1660e01b8152600401611950929190614b26565b60206040518083038186803b15801561196857600080fd5b505afa15801561197c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119a09190613e83565b90506119ac8187611efd565b156119c05782806119bc9061527b565b9350505b5080806119cc9061527b565b9150506118e9565b50809250505092915050565b600080600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d7de5725846040518263ffffffff1660e01b8152600401611a3e9190614ef9565b60206040518083038186803b158015611a5657600080fd5b505afa158015611a6a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a8e9190613e83565b90506000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c251ddf8856040518263ffffffff1660e01b8152600401611aed9190614ef9565b60206040518083038186803b158015611b0557600080fd5b505afa158015611b19573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b3d9190613e83565b90506000821415611b60576277f88081611b579190615107565b92505050611b96565b6001821415611b815762eff10081611b789190615107565b92505050611b96565b6301dfe20081611b919190615107565b925050505b919050565b611ba36128a5565b73ffffffffffffffffffffffffffffffffffffffff16611bc1611c21565b73ffffffffffffffffffffffffffffffffffffffff1614611c17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c0e90614dd9565b60405180910390fd5b8060118190555050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060028054611c5990615249565b80601f0160208091040260200160405190810160405280929190818152602001828054611c8590615249565b8015611cd25780601f10611ca757610100808354040283529160200191611cd2565b820191906000526020600020905b815481529060010190602001808311611cb557829003601f168201915b5050505050905090565b600e6020528060005260406000206000915090505481565b611cfc6128a5565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611d6a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d6190614cb9565b60405180910390fd5b8060066000611d776128a5565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611e246128a5565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611e699190614b86565b60405180910390a35050565b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b611eac611ea66128a5565b836129fe565b611eeb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ee290614e79565b60405180910390fd5b611ef784848484612dfc565b50505050565b600080600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c251ddf8856040518263ffffffff1660e01b8152600401611f5b9190614ef9565b60206040518083038186803b158015611f7357600080fd5b505afa158015611f87573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611fab9190613e83565b90506000611fb8856119e0565b905060106000858152602001908152602001600020548111158015611ffe57506249d4006010600086815260200190815260200160002054611ffa9190615026565b4211155b801561201d575081601060008681526020019081526020016000205411155b9250505092915050565b6060612031612e58565b600c6000600e6000868152602001908152602001600020548152602001908152602001600020604051602001612068929190614a9b565b6040516020818303038152906040529050919050565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61211a6128a5565b73ffffffffffffffffffffffffffffffffffffffff16612138611c21565b73ffffffffffffffffffffffffffffffffffffffff161461218e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161218590614dd9565b60405180910390fd5b42601060008581526020019081526020016000208190555081600d60008581526020019081526020016000206001018190555080600c600085815260200190815260200160002090805190602001906121e8929190613986565b50505050565b6121f66128a5565b73ffffffffffffffffffffffffffffffffffffffff16612214611c21565b73ffffffffffffffffffffffffffffffffffffffff161461226a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161226190614dd9565b60405180910390fd5b8060128190555050565b61227c6128a5565b73ffffffffffffffffffffffffffffffffffffffff1661229a611c21565b73ffffffffffffffffffffffffffffffffffffffff16146122f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122e790614dd9565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612360576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161235790614c39565b60405180910390fd5b61236981612d38565b50565b6123bd84601660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002061296690919063ffffffff16565b156123fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123f490614df9565b60405180910390fd5b61244e84601660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206129a290919063ffffffff16565b6124d5838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050601360008781526020019081526020016000205433846040516020016124ba929190614a43565b60405160208183030381529060405280519060200120612eea565b612514576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161250b90614e39565b60405180910390fd5b60005b818110156125d8576000600d600087815260200190815260200160002060000160008154809291906125489061527b565b91905055620f42408761255b91906150ad565b6125659190615026565b905085600e60008381526020019081526020016000208190555061258933826129e0565b7f966d62c0a408368c656346fe829fad3f53d4436857794a7356a71fa3fe8e53df3387836040516125bc93929190614b4f565b60405180910390a15080806125d09061527b565b915050612517565b5050505050565b600c60205280600052604060002060009150905080546125fe90615249565b80601f016020809104026020016040519081016040528092919081815260200182805461262a90615249565b80156126775780601f1061264c57610100808354040283529160200191612677565b820191906000526020600020905b81548152906001019060200180831161265a57829003601f168201915b505050505081565b6126876128a5565b73ffffffffffffffffffffffffffffffffffffffff166126a5611c21565b73ffffffffffffffffffffffffffffffffffffffff16146126fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126f290614dd9565b60405180910390fd5b80600c60008481526020019081526020016000209080519060200190612722929190613986565b505050565b61272f6128a5565b73ffffffffffffffffffffffffffffffffffffffff1661274d611c21565b73ffffffffffffffffffffffffffffffffffffffff16146127a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161279a90614dd9565b60405180910390fd5b8060136000848152602001908152602001600020819055505050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612832575061283182612fc6565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816005600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661292083611495565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080600883901c9050600060ff84166001901b9050600081866000016000858152602001908152602001600020541614159250505092915050565b6000600882901c9050600060ff83166001901b9050808460000160008481526020019081526020016000206000828254179250508190555050505050565b6129fa8282604051806020016040528060008152506130a8565b5050565b6000612a0982612839565b612a48576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a3f90614cd9565b60405180910390fd5b6000612a5383611495565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612ac257508373ffffffffffffffffffffffffffffffffffffffff16612aaa84610b6b565b73ffffffffffffffffffffffffffffffffffffffff16145b80612ad35750612ad2818561207e565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612afc82611495565b73ffffffffffffffffffffffffffffffffffffffff1614612b52576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b4990614e19565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612bc2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bb990614c99565b60405180910390fd5b612bcd838383613103565b612bd86000826128ad565b6001600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612c289190615107565b925050819055506001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612c7f9190615026565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612e07848484612adc565b612e1384848484613113565b612e52576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e4990614c19565b60405180910390fd5b50505050565b606060148054612e6790615249565b80601f0160208091040260200160405190810160405280929190818152602001828054612e9390615249565b8015612ee05780601f10612eb557610100808354040283529160200191612ee0565b820191906000526020600020905b815481529060010190602001808311612ec357829003601f168201915b5050505050905090565b60008082905060005b8551811015612fb8576000868281518110612f37577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101519050808311612f78578281604051602001612f5b929190614a6f565b604051602081830303815290604052805190602001209250612fa4565b8083604051602001612f8b929190614a6f565b6040516020818303038152906040528051906020012092505b508080612fb09061527b565b915050612ef3565b508381149150509392505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061309157507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806130a157506130a0826132aa565b5b9050919050565b6130b28383613314565b6130bf6000848484613113565b6130fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130f590614c19565b60405180910390fd5b505050565b61310e8383836134e2565b505050565b60006131348473ffffffffffffffffffffffffffffffffffffffff166135f6565b1561329d578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261315d6128a5565b8786866040518563ffffffff1660e01b815260040161317f9493929190614ada565b602060405180830381600087803b15801561319957600080fd5b505af19250505080156131ca57506040513d601f19601f820116820180604052508101906131c79190613df0565b60015b61324d573d80600081146131fa576040519150601f19603f3d011682016040523d82523d6000602084013e6131ff565b606091505b50600081511415613245576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161323c90614c19565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506132a2565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613384576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161337b90614d99565b60405180910390fd5b61338d81612839565b156133cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133c490614c59565b60405180910390fd5b6133d960008383613103565b6001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546134299190615026565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6134ed838383613609565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156135305761352b8161360e565b61356f565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461356e5761356d8382613657565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156135b2576135ad816137c4565b6135f1565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146135f0576135ef8282613907565b5b5b505050565b600080823b905060008111915050919050565b505050565b600980549050600a600083815260200190815260200160002081905550600981908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016136648461155f565b61366e9190615107565b9050600060086000848152602001908152602001600020549050818114613753576000600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816008600083815260200190815260200160002081905550505b6008600084815260200190815260200160002060009055600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016009805490506137d89190615107565b90506000600a600084815260200190815260200160002054905060006009838154811061382e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060098381548110613876577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600a600083815260200190815260200160002081905550600a60008581526020019081526020016000206000905560098054806138eb577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b60006139128361155f565b905081600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806008600084815260200190815260200160002081905550505050565b82805461399290615249565b90600052602060002090601f0160209004810192826139b457600085556139fb565b82601f106139cd57805160ff19168380011785556139fb565b828001600101855582156139fb579182015b828111156139fa5782518255916020019190600101906139df565b5b509050613a089190613a0c565b5090565b5b80821115613a25576000816000905550600101613a0d565b5090565b6000613a3c613a3784614f6e565b614f3d565b905082815260208101848484011115613a5457600080fd5b613a5f8482856151dd565b509392505050565b6000613a7a613a7584614f9e565b614f3d565b905082815260208101848484011115613a9257600080fd5b613a9d8482856151dd565b509392505050565b600081359050613ab4816153d6565b92915050565b60008083601f840112613acc57600080fd5b8235905067ffffffffffffffff811115613ae557600080fd5b602083019150836020820283011115613afd57600080fd5b9250929050565b60008083601f840112613b1657600080fd5b8235905067ffffffffffffffff811115613b2f57600080fd5b602083019150836020820283011115613b4757600080fd5b9250929050565b600081359050613b5d816153ed565b92915050565b600081359050613b7281615404565b92915050565b600081359050613b878161541b565b92915050565b600081519050613b9c8161541b565b92915050565b600082601f830112613bb357600080fd5b8135613bc3848260208601613a29565b91505092915050565b600082601f830112613bdd57600080fd5b8135613bed848260208601613a67565b91505092915050565b600081359050613c0581615432565b92915050565b600081519050613c1a81615432565b92915050565b600060208284031215613c3257600080fd5b6000613c4084828501613aa5565b91505092915050565b60008060408385031215613c5c57600080fd5b6000613c6a85828601613aa5565b9250506020613c7b85828601613aa5565b9150509250929050565b600080600060608486031215613c9a57600080fd5b6000613ca886828701613aa5565b9350506020613cb986828701613aa5565b9250506040613cca86828701613bf6565b9150509250925092565b60008060008060808587031215613cea57600080fd5b6000613cf887828801613aa5565b9450506020613d0987828801613aa5565b9350506040613d1a87828801613bf6565b925050606085013567ffffffffffffffff811115613d3757600080fd5b613d4387828801613ba2565b91505092959194509250565b60008060408385031215613d6257600080fd5b6000613d7085828601613aa5565b9250506020613d8185828601613b4e565b9150509250929050565b60008060408385031215613d9e57600080fd5b6000613dac85828601613aa5565b9250506020613dbd85828601613bf6565b9150509250929050565b600060208284031215613dd957600080fd5b6000613de784828501613b78565b91505092915050565b600060208284031215613e0257600080fd5b6000613e1084828501613b8d565b91505092915050565b600060208284031215613e2b57600080fd5b600082013567ffffffffffffffff811115613e4557600080fd5b613e5184828501613bcc565b91505092915050565b600060208284031215613e6c57600080fd5b6000613e7a84828501613bf6565b91505092915050565b600060208284031215613e9557600080fd5b6000613ea384828501613c0b565b91505092915050565b600080600060408486031215613ec157600080fd5b6000613ecf86828701613bf6565b935050602084013567ffffffffffffffff811115613eec57600080fd5b613ef886828701613aba565b92509250509250925092565b60008060008060608587031215613f1a57600080fd5b6000613f2887828801613bf6565b945050602085013567ffffffffffffffff811115613f4557600080fd5b613f5187828801613b04565b93509350506040613f6487828801613bf6565b91505092959194509250565b60008060408385031215613f8357600080fd5b6000613f9185828601613bf6565b9250506020613fa285828601613b63565b9150509250929050565b60008060408385031215613fbf57600080fd5b6000613fcd85828601613bf6565b925050602083013567ffffffffffffffff811115613fea57600080fd5b613ff685828601613bcc565b9150509250929050565b6000806040838503121561401357600080fd5b600061402185828601613bf6565b925050602061403285828601613bf6565b9150509250929050565b60008060006060848603121561405157600080fd5b600061405f86828701613bf6565b935050602061407086828701613bf6565b925050604084013567ffffffffffffffff81111561408d57600080fd5b61409986828701613bcc565b9150509250925092565b6140ac8161513b565b82525050565b6140c36140be8261513b565b6152c4565b82525050565b6140d28161514d565b82525050565b6140e181615159565b82525050565b6140f86140f382615159565b6152d6565b82525050565b600061410982614fe3565b6141138185614ff9565b93506141238185602086016151ec565b61412c816153b8565b840191505092915050565b614140816151b9565b82525050565b600061415182614fee565b61415b818561500a565b935061416b8185602086016151ec565b614174816153b8565b840191505092915050565b600061418a82614fee565b614194818561501b565b93506141a48185602086016151ec565b80840191505092915050565b600081546141bd81615249565b6141c7818661501b565b945060018216600081146141e257600181146141f357614226565b60ff19831686528186019350614226565b6141fc85614fce565b60005b8381101561421e578154818901526001820191506020810190506141ff565b838801955050505b50505092915050565b600061423c602b8361500a565b91507f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008301527f74206f6620626f756e64730000000000000000000000000000000000000000006020830152604082019050919050565b60006142a260328361500a565b91507f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008301527f63656976657220696d706c656d656e74657200000000000000000000000000006020830152604082019050919050565b600061430860268361500a565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061436e601c8361500a565b91507f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006000830152602082019050919050565b60006143ae600f8361500a565b91507f414c524541445920434c41494d454400000000000000000000000000000000006000830152602082019050919050565b60006143ee60248361500a565b91507f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061445460198361500a565b91507f4552433732313a20617070726f766520746f2063616c6c6572000000000000006000830152602082019050919050565b6000614494602c8361500a565b91507f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b60006144fa60388361500a565b91507f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008301527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006020830152604082019050919050565b6000614560600c8361500a565b91507f53414c45204558504952454400000000000000000000000000000000000000006000830152602082019050919050565b60006145a0602a8361500a565b91507f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008301527f726f2061646472657373000000000000000000000000000000000000000000006020830152604082019050919050565b600061460660298361500a565b91507f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008301527f656e7420746f6b656e00000000000000000000000000000000000000000000006020830152604082019050919050565b600061466c600a8361500a565b91507f4f564552204c494d4954000000000000000000000000000000000000000000006000830152602082019050919050565b60006146ac60208361500a565b91507f4552433732313a206d696e7420746f20746865207a65726f20616464726573736000830152602082019050919050565b60006146ec602c8361500a565b91507f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b600061475260208361500a565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b600061479260198361500a565b91507f414c524541445920434c41494d454420464f52204953535545000000000000006000830152602082019050919050565b60006147d260298361500a565b91507f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008301527f73206e6f74206f776e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000614838600d8361500a565b91507f494e56414c49442050524f4f46000000000000000000000000000000000000006000830152602082019050919050565b600061487860218361500a565b91507f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008301527f72000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006148de60318361500a565b91507f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008301527f776e6572206e6f7220617070726f7665640000000000000000000000000000006020830152604082019050919050565b6000614944602c8361500a565b91507f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008301527f7574206f6620626f756e647300000000000000000000000000000000000000006020830152604082019050919050565b60006149aa60158361500a565b91507f4e4f2056414c494420535542534352495054494f4e00000000000000000000006000830152602082019050919050565b60006149ea600f8361500a565b91507f494e434f525245435420505249434500000000000000000000000000000000006000830152602082019050919050565b614a26816151af565b82525050565b614a3d614a38826151af565b6152f2565b82525050565b6000614a4f82856140b2565b601482019150614a5f8284614a2c565b6020820191508190509392505050565b6000614a7b82856140e7565b602082019150614a8b82846140e7565b6020820191508190509392505050565b6000614aa7828561417f565b9150614ab382846141b0565b91508190509392505050565b6000602082019050614ad460008301846140a3565b92915050565b6000608082019050614aef60008301876140a3565b614afc60208301866140a3565b614b096040830185614a1d565b8181036060830152614b1b81846140fe565b905095945050505050565b6000604082019050614b3b60008301856140a3565b614b486020830184614a1d565b9392505050565b6000606082019050614b6460008301866140a3565b614b716020830185614a1d565b614b7e6040830184614a1d565b949350505050565b6000602082019050614b9b60008301846140c9565b92915050565b6000602082019050614bb660008301846140d8565b92915050565b6000602082019050614bd16000830184614137565b92915050565b60006020820190508181036000830152614bf18184614146565b905092915050565b60006020820190508181036000830152614c128161422f565b9050919050565b60006020820190508181036000830152614c3281614295565b9050919050565b60006020820190508181036000830152614c52816142fb565b9050919050565b60006020820190508181036000830152614c7281614361565b9050919050565b60006020820190508181036000830152614c92816143a1565b9050919050565b60006020820190508181036000830152614cb2816143e1565b9050919050565b60006020820190508181036000830152614cd281614447565b9050919050565b60006020820190508181036000830152614cf281614487565b9050919050565b60006020820190508181036000830152614d12816144ed565b9050919050565b60006020820190508181036000830152614d3281614553565b9050919050565b60006020820190508181036000830152614d5281614593565b9050919050565b60006020820190508181036000830152614d72816145f9565b9050919050565b60006020820190508181036000830152614d928161465f565b9050919050565b60006020820190508181036000830152614db28161469f565b9050919050565b60006020820190508181036000830152614dd2816146df565b9050919050565b60006020820190508181036000830152614df281614745565b9050919050565b60006020820190508181036000830152614e1281614785565b9050919050565b60006020820190508181036000830152614e32816147c5565b9050919050565b60006020820190508181036000830152614e528161482b565b9050919050565b60006020820190508181036000830152614e728161486b565b9050919050565b60006020820190508181036000830152614e92816148d1565b9050919050565b60006020820190508181036000830152614eb281614937565b9050919050565b60006020820190508181036000830152614ed28161499d565b9050919050565b60006020820190508181036000830152614ef2816149dd565b9050919050565b6000602082019050614f0e6000830184614a1d565b92915050565b6000604082019050614f296000830185614a1d565b614f366020830184614a1d565b9392505050565b6000604051905081810181811067ffffffffffffffff82111715614f6457614f63615389565b5b8060405250919050565b600067ffffffffffffffff821115614f8957614f88615389565b5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff821115614fb957614fb8615389565b5b601f19601f8301169050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000615031826151af565b915061503c836151af565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115615071576150706152fc565b5b828201905092915050565b6000615087826151af565b9150615092836151af565b9250826150a2576150a161532b565b5b828204905092915050565b60006150b8826151af565b91506150c3836151af565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156150fc576150fb6152fc565b5b828202905092915050565b6000615112826151af565b915061511d836151af565b9250828210156151305761512f6152fc565b5b828203905092915050565b60006151468261518f565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60006151c4826151cb565b9050919050565b60006151d68261518f565b9050919050565b82818337600083830152505050565b60005b8381101561520a5780820151818401526020810190506151ef565b83811115615219576000848401525b50505050565b600061522a826151af565b9150600082141561523e5761523d6152fc565b5b600182039050919050565b6000600282049050600182168061526157607f821691505b602082108114156152755761527461535a565b5b50919050565b6000615286826151af565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156152b9576152b86152fc565b5b600182019050919050565b60006152cf826152e0565b9050919050565b6000819050919050565b60006152eb826153c9565b9050919050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b6153df8161513b565b81146153ea57600080fd5b50565b6153f68161514d565b811461540157600080fd5b50565b61540d81615159565b811461541857600080fd5b50565b61542481615163565b811461542f57600080fd5b50565b61543b816151af565b811461544657600080fd5b5056fea2646970667358221220ca38f6df25521015b3ede3ff6f091e630229d88c482f9f2fb3a91598df9b519d64736f6c63430008000033

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

000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001000000000000000000000000004123d3da0f4d1e82196e4ff27b39461cb2a86a14000000000000000000000000000000000000000000000000000000000000000f5265646c696f6e2047617a6574746500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000009524c47415a455454450000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002868747470733a2f2f6e66742e7265646c696f6e2e6e6577732f67617a65747465732f69737375652f000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : name (string): Redlion Gazette
Arg [1] : symbol (string): RLGAZETTE
Arg [2] : baseTokenURI (string): https://nft.redlion.news/gazettes/issue/
Arg [3] : deployedSubs (address): 0x4123d3Da0f4d1E82196E4fF27B39461Cb2A86A14

-----Encoded View---------------
11 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [3] : 0000000000000000000000004123d3da0f4d1e82196e4ff27b39461cb2a86a14
Arg [4] : 000000000000000000000000000000000000000000000000000000000000000f
Arg [5] : 5265646c696f6e2047617a657474650000000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000009
Arg [7] : 524c47415a455454450000000000000000000000000000000000000000000000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000028
Arg [9] : 68747470733a2f2f6e66742e7265646c696f6e2e6e6577732f67617a65747465
Arg [10] : 732f69737375652f000000000000000000000000000000000000000000000000


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.