ETH Price: $3,327.20 (-0.97%)

Token

Redlion Gazette (RLGAZETTE)
 

Overview

Max Total Supply

191 RLGAZETTE

Holders

120

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
0xdanielwu.eth
Balance
1 RLGAZETTE
0xb4a9f7e4a062afdb887340661b58ee542159780c
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 withdraw() onlyOwner public {
        uint amount = address(this).balance;
        payable(owner()).transfer(amount);
    }
    
    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":[],"name":"withdraw","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"}]

608060405266b1a2bc2ec5000060115560056012556103e86015553480156200002757600080fd5b5060405162005ac538038062005ac583398181016040528101906200004d91906200030c565b83836200006f620000636200010760201b60201c565b6200010f60201b60201c565b816001908051906020019062000087929190620001d3565b508060029080519060200190620000a0929190620001d3565b5050508160149080519060200190620000bb929190620001d3565b5080600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050505062000542565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620001e19062000494565b90600052602060002090601f01602090048101928262000205576000855562000251565b82601f106200022057805160ff191683800117855562000251565b8280016001018555821562000251579182015b828111156200025057825182559160200191906001019062000233565b5b50905062000260919062000264565b5090565b5b808211156200027f57600081600090555060010162000265565b5090565b60006200029a6200029484620003f7565b620003c3565b905082815260208101848484011115620002b357600080fd5b620002c08482856200045e565b509392505050565b600081519050620002d98162000528565b92915050565b600082601f830112620002f157600080fd5b81516200030384826020860162000283565b91505092915050565b600080600080608085870312156200032357600080fd5b600085015167ffffffffffffffff8111156200033e57600080fd5b6200034c87828801620002df565b945050602085015167ffffffffffffffff8111156200036a57600080fd5b6200037887828801620002df565b935050604085015167ffffffffffffffff8111156200039657600080fd5b620003a487828801620002df565b9250506060620003b787828801620002c8565b91505092959194509250565b6000604051905081810181811067ffffffffffffffff82111715620003ed57620003ec620004f9565b5b8060405250919050565b600067ffffffffffffffff821115620004155762000414620004f9565b5b601f19601f8301169050602081019050919050565b600062000437826200043e565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60005b838110156200047e57808201518184015260208101905062000461565b838111156200048e576000848401525b50505050565b60006002820490506001821680620004ad57607f821691505b60208210811415620004c457620004c3620004ca565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b62000533816200042a565b81146200053f57600080fd5b50565b61557380620005526000396000f3fe6080604052600436106102675760003560e01c806370a0823111610144578063b88d4fde116100b6578063f004685a1161007a578063f004685a146109b5578063f2fde38b146109de578063f339f52614610a07578063f354f46d14610a30578063fa055b5e14610a6d578063fb2f6cce14610a9657610267565b8063b88d4fde146108ac578063c5c1f0f2146108d5578063c87b56dd14610912578063e985e9c51461094f578063ed2099071461098c57610267565b80638417b47f116101085780638417b47f1461079c5780638da5cb5b146107c557806395d89b41146107f05780639ee84eda1461081b578063a22cb46514610858578063b5914ec11461088157610267565b806370a08231146106a5578063715018a6146106e2578063746cf628146106f95780637b9c0551146107225780637e4e88a21461075f57610267565b80632f745c59116101dd57806342842e0e116101a157806342842e0e1461054b5780634f6ccce71461057457806355e1932b146105b1578063562beba8146105ee5780636352211e1461062b5780636d8485c51461066857610267565b80632f745c591461047a57806335db70b5146104b757806339a0c6f9146104e25780633ccfd60b1461050b5780633e4086e51461052257610267565b8063095ea7b31161022f578063095ea7b31461037a57806318160ddd146103a35780631b2ef1ca146103ce57806322e86631146103ea57806323b872dd146104135780632a55205a1461043c57610267565b806301109e331461026c57806301ffc9a71461029757806304e15de5146102d457806306fdde0314610312578063081812fc1461033d575b600080fd5b34801561027857600080fd5b50610281610abf565b60405161028e9190614fed565b60405180910390f35b3480156102a357600080fd5b506102be60048036038101906102b99190613ebb565b610ac5565b6040516102cb9190614c7a565b60405180910390f35b3480156102e057600080fd5b506102fb60048036038101906102f69190613f4e565b610ad7565b604051610309929190615008565b60405180910390f35b34801561031e57600080fd5b50610327610afb565b6040516103349190614ccb565b60405180910390f35b34801561034957600080fd5b50610364600480360381019061035f9190613f4e565b610b8d565b6040516103719190614bb3565b60405180910390f35b34801561038657600080fd5b506103a1600480360381019061039c9190613e7f565b610c12565b005b3480156103af57600080fd5b506103b8610d2a565b6040516103c59190614fed565b60405180910390f35b6103e860048036038101906103e391906140f4565b610d37565b005b3480156103f657600080fd5b50610411600480360381019061040c9190613d14565b611075565b005b34801561041f57600080fd5b5061043a60048036038101906104359190613d79565b611135565b005b34801561044857600080fd5b50610463600480360381019061045e91906140f4565b611195565b604051610471929190614c1a565b60405180910390f35b34801561048657600080fd5b506104a1600480360381019061049c9190613e7f565b6111c6565b6040516104ae9190614fed565b60405180910390f35b3480156104c357600080fd5b506104cc61126b565b6040516104d99190614fed565b60405180910390f35b3480156104ee57600080fd5b5061050960048036038101906105049190613f0d565b611271565b005b34801561051757600080fd5b50610520611307565b005b34801561052e57600080fd5b5061054960048036038101906105449190613f4e565b6113d9565b005b34801561055757600080fd5b50610572600480360381019061056d9190613d79565b61145f565b005b34801561058057600080fd5b5061059b60048036038101906105969190613f4e565b61147f565b6040516105a89190614fed565b60405180910390f35b3480156105bd57600080fd5b506105d860048036038101906105d39190613f4e565b611516565b6040516105e59190614c95565b60405180910390f35b3480156105fa57600080fd5b5061061560048036038101906106109190613e7f565b61152e565b6040516106229190614c7a565b60405180910390f35b34801561063757600080fd5b50610652600480360381019061064d9190613f4e565b611589565b60405161065f9190614bb3565b60405180910390f35b34801561067457600080fd5b5061068f600480360381019061068a9190613f4e565b61163b565b60405161069c9190614fed565b60405180910390f35b3480156106b157600080fd5b506106cc60048036038101906106c79190613d14565b611653565b6040516106d99190614fed565b60405180910390f35b3480156106ee57600080fd5b506106f761170b565b005b34801561070557600080fd5b50610720600480360381019061071b9190613fa0565b611793565b005b34801561072e57600080fd5b5061074960048036038101906107449190613e7f565b611929565b6040516107569190614fed565b60405180910390f35b34801561076b57600080fd5b5061078660048036038101906107819190613f4e565b611ad4565b6040516107939190614fed565b60405180910390f35b3480156107a857600080fd5b506107c360048036038101906107be9190613f4e565b611c8f565b005b3480156107d157600080fd5b506107da611d15565b6040516107e79190614bb3565b60405180910390f35b3480156107fc57600080fd5b50610805611d3e565b6040516108129190614ccb565b60405180910390f35b34801561082757600080fd5b50610842600480360381019061083d9190613f4e565b611dd0565b60405161084f9190614fed565b60405180910390f35b34801561086457600080fd5b5061087f600480360381019061087a9190613e43565b611de8565b005b34801561088d57600080fd5b50610896611f69565b6040516108a39190614cb0565b60405180910390f35b3480156108b857600080fd5b506108d360048036038101906108ce9190613dc8565b611f8f565b005b3480156108e157600080fd5b506108fc60048036038101906108f791906140f4565b611ff1565b6040516109099190614c7a565b60405180910390f35b34801561091e57600080fd5b5061093960048036038101906109349190613f4e565b61211b565b6040516109469190614ccb565b60405180910390f35b34801561095b57600080fd5b5061097660048036038101906109719190613d3d565b612172565b6040516109839190614c7a565b60405180910390f35b34801561099857600080fd5b506109b360048036038101906109ae9190614130565b612206565b005b3480156109c157600080fd5b506109dc60048036038101906109d79190613f4e565b6122e2565b005b3480156109ea57600080fd5b50610a056004803603810190610a009190613d14565b612368565b005b348015610a1357600080fd5b50610a2e6004803603810190610a299190613ff8565b612460565b005b348015610a3c57600080fd5b50610a576004803603810190610a529190613f4e565b6126d3565b604051610a649190614ccb565b60405180910390f35b348015610a7957600080fd5b50610a946004803603810190610a8f91906140a0565b612773565b005b348015610aa257600080fd5b50610abd6004803603810190610ab89190614064565b61281b565b005b60125481565b6000610ad0826128b3565b9050919050565b600d6020528060005260406000206000915090508060000154908060010154905082565b606060018054610b0a9061533d565b80601f0160208091040260200160405190810160405280929190818152602001828054610b369061533d565b8015610b835780601f10610b5857610100808354040283529160200191610b83565b820191906000526020600020905b815481529060010190602001808311610b6657829003601f168201915b5050505050905090565b6000610b988261292d565b610bd7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bce90614ead565b60405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610c1d82611589565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c8e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c8590614f4d565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610cad612999565b73ffffffffffffffffffffffffffffffffffffffff161480610cdc5750610cdb81610cd6612999565b612172565b5b610d1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d1290614ded565b60405180910390fd5b610d2583836129a1565b505050565b6000600980549050905090565b6000803414610d465781610d51565b610d503384611929565b5b90506000341415610e8657610dad83600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020612a5a90919063ffffffff16565b15610ded576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610de490614d6d565b60405180910390fd5b60008111610e30576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e2790614fad565b60405180910390fd5b610e8183600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020612a9690919063ffffffff16565b610fab565b81601154610e9491906151a1565b3414610ed5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ecc90614fcd565b60405180910390fd5b601254821115610f1a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f1190614e6d565b60405180910390fd5b426207e9006010600086815260200190815260200160002054610f3d919061511a565b1015610f7e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f7590614e0d565b60405180910390fd5b600d60008481526020019081526020016000206001016000815480929190610fa590615313565b91905055505b60005b8181101561106f576000600d60008681526020019081526020016000206000016000815480929190610fdf9061536f565b91905055620f424086610ff291906151a1565b610ffc919061511a565b905084600e6000838152602001908152602001600020819055506110203382612ad4565b7f966d62c0a408368c656346fe829fad3f53d4436857794a7356a71fa3fe8e53df33868360405161105393929190614c43565b60405180910390a15080806110679061536f565b915050610fae565b50505050565b61107d612999565b73ffffffffffffffffffffffffffffffffffffffff1661109b611d15565b73ffffffffffffffffffffffffffffffffffffffff16146110f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110e890614ecd565b60405180910390fd5b80600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b611146611140612999565b82612af2565b611185576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161117c90614f6d565b60405180910390fd5b611190838383612bd0565b505050565b6000806111a0611d15565b612710601554856111b191906151a1565b6111bb9190615170565b915091509250929050565b60006111d183611653565b8210611212576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161120990614ced565b60405180910390fd5b600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b60115481565b611279612999565b73ffffffffffffffffffffffffffffffffffffffff16611297611d15565b73ffffffffffffffffffffffffffffffffffffffff16146112ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112e490614ecd565b60405180910390fd5b8060149080519060200190611303929190613a7a565b5050565b61130f612999565b73ffffffffffffffffffffffffffffffffffffffff1661132d611d15565b73ffffffffffffffffffffffffffffffffffffffff1614611383576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161137a90614ecd565b60405180910390fd5b6000479050611390611d15565b73ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050501580156113d5573d6000803e3d6000fd5b5050565b6113e1612999565b73ffffffffffffffffffffffffffffffffffffffff166113ff611d15565b73ffffffffffffffffffffffffffffffffffffffff1614611455576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161144c90614ecd565b60405180910390fd5b8060158190555050565b61147a83838360405180602001604052806000815250611f8f565b505050565b6000611489610d2a565b82106114ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114c190614f8d565b60405180910390fd5b60098281548110611504577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b60136020528060005260406000206000915090505481565b600061158182600f60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020612a5a90919063ffffffff16565b905092915050565b6000806003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611632576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161162990614e4d565b60405180910390fd5b80915050919050565b60106020528060005260406000206000915090505481565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156116c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116bb90614e2d565b60405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611713612999565b73ffffffffffffffffffffffffffffffffffffffff16611731611d15565b73ffffffffffffffffffffffffffffffffffffffff1614611787576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161177e90614ecd565b60405180910390fd5b6117916000612e2c565b565b61179b612999565b73ffffffffffffffffffffffffffffffffffffffff166117b9611d15565b73ffffffffffffffffffffffffffffffffffffffff161461180f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161180690614ecd565b60405180910390fd5b60005b82829050811015611923576000600d600086815260200190815260200160002060000160008154809291906118469061536f565b91905055620f42408661185991906151a1565b611863919061511a565b905084600e6000838152602001908152602001600020819055506118d48484848181106118b9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020160208101906118ce9190613d14565b82612ad4565b7f966d62c0a408368c656346fe829fad3f53d4436857794a7356a71fa3fe8e53df33868360405161190793929190614c43565b60405180910390a150808061191b9061536f565b915050611812565b50505050565b600080600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231856040518263ffffffff1660e01b81526004016119879190614bb3565b60206040518083038186803b15801561199f57600080fd5b505afa1580156119b3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119d79190613f77565b90506000805b82811015611ac8576000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16632f745c5988846040518363ffffffff1660e01b8152600401611a44929190614c1a565b60206040518083038186803b158015611a5c57600080fd5b505afa158015611a70573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a949190613f77565b9050611aa08187611ff1565b15611ab4578280611ab09061536f565b9350505b508080611ac09061536f565b9150506119dd565b50809250505092915050565b600080600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d7de5725846040518263ffffffff1660e01b8152600401611b329190614fed565b60206040518083038186803b158015611b4a57600080fd5b505afa158015611b5e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b829190613f77565b90506000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c251ddf8856040518263ffffffff1660e01b8152600401611be19190614fed565b60206040518083038186803b158015611bf957600080fd5b505afa158015611c0d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c319190613f77565b90506000821415611c54576277f88081611c4b91906151fb565b92505050611c8a565b6001821415611c755762eff10081611c6c91906151fb565b92505050611c8a565b6301dfe20081611c8591906151fb565b925050505b919050565b611c97612999565b73ffffffffffffffffffffffffffffffffffffffff16611cb5611d15565b73ffffffffffffffffffffffffffffffffffffffff1614611d0b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d0290614ecd565b60405180910390fd5b8060118190555050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060028054611d4d9061533d565b80601f0160208091040260200160405190810160405280929190818152602001828054611d799061533d565b8015611dc65780601f10611d9b57610100808354040283529160200191611dc6565b820191906000526020600020905b815481529060010190602001808311611da957829003601f168201915b5050505050905090565b600e6020528060005260406000206000915090505481565b611df0612999565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611e5e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e5590614dad565b60405180910390fd5b8060066000611e6b612999565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611f18612999565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611f5d9190614c7a565b60405180910390a35050565b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b611fa0611f9a612999565b83612af2565b611fdf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fd690614f6d565b60405180910390fd5b611feb84848484612ef0565b50505050565b600080600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c251ddf8856040518263ffffffff1660e01b815260040161204f9190614fed565b60206040518083038186803b15801561206757600080fd5b505afa15801561207b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061209f9190613f77565b905060006120ac85611ad4565b9050601060008581526020019081526020016000205481111580156120f257506249d40060106000868152602001908152602001600020546120ee919061511a565b4211155b8015612111575081601060008681526020019081526020016000205411155b9250505092915050565b6060612125612f4c565b600c6000600e600086815260200190815260200160002054815260200190815260200160002060405160200161215c929190614b8f565b6040516020818303038152906040529050919050565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61220e612999565b73ffffffffffffffffffffffffffffffffffffffff1661222c611d15565b73ffffffffffffffffffffffffffffffffffffffff1614612282576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161227990614ecd565b60405180910390fd5b42601060008581526020019081526020016000208190555081600d60008581526020019081526020016000206001018190555080600c600085815260200190815260200160002090805190602001906122dc929190613a7a565b50505050565b6122ea612999565b73ffffffffffffffffffffffffffffffffffffffff16612308611d15565b73ffffffffffffffffffffffffffffffffffffffff161461235e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161235590614ecd565b60405180910390fd5b8060128190555050565b612370612999565b73ffffffffffffffffffffffffffffffffffffffff1661238e611d15565b73ffffffffffffffffffffffffffffffffffffffff16146123e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123db90614ecd565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612454576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161244b90614d2d565b60405180910390fd5b61245d81612e2c565b50565b6124b184601660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020612a5a90919063ffffffff16565b156124f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124e890614eed565b60405180910390fd5b61254284601660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020612a9690919063ffffffff16565b6125c9838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050601360008781526020019081526020016000205433846040516020016125ae929190614b37565b60405160208183030381529060405280519060200120612fde565b612608576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125ff90614f2d565b60405180910390fd5b60005b818110156126cc576000600d6000878152602001908152602001600020600001600081548092919061263c9061536f565b91905055620f42408761264f91906151a1565b612659919061511a565b905085600e60008381526020019081526020016000208190555061267d3382612ad4565b7f966d62c0a408368c656346fe829fad3f53d4436857794a7356a71fa3fe8e53df3387836040516126b093929190614c43565b60405180910390a15080806126c49061536f565b91505061260b565b5050505050565b600c60205280600052604060002060009150905080546126f29061533d565b80601f016020809104026020016040519081016040528092919081815260200182805461271e9061533d565b801561276b5780601f106127405761010080835404028352916020019161276b565b820191906000526020600020905b81548152906001019060200180831161274e57829003601f168201915b505050505081565b61277b612999565b73ffffffffffffffffffffffffffffffffffffffff16612799611d15565b73ffffffffffffffffffffffffffffffffffffffff16146127ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127e690614ecd565b60405180910390fd5b80600c60008481526020019081526020016000209080519060200190612816929190613a7a565b505050565b612823612999565b73ffffffffffffffffffffffffffffffffffffffff16612841611d15565b73ffffffffffffffffffffffffffffffffffffffff1614612897576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161288e90614ecd565b60405180910390fd5b8060136000848152602001908152602001600020819055505050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806129265750612925826130ba565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816005600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612a1483611589565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080600883901c9050600060ff84166001901b9050600081866000016000858152602001908152602001600020541614159250505092915050565b6000600882901c9050600060ff83166001901b9050808460000160008481526020019081526020016000206000828254179250508190555050505050565b612aee82826040518060200160405280600081525061319c565b5050565b6000612afd8261292d565b612b3c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b3390614dcd565b60405180910390fd5b6000612b4783611589565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612bb657508373ffffffffffffffffffffffffffffffffffffffff16612b9e84610b8d565b73ffffffffffffffffffffffffffffffffffffffff16145b80612bc75750612bc68185612172565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612bf082611589565b73ffffffffffffffffffffffffffffffffffffffff1614612c46576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c3d90614f0d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612cb6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cad90614d8d565b60405180910390fd5b612cc18383836131f7565b612ccc6000826129a1565b6001600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612d1c91906151fb565b925050819055506001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612d73919061511a565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612efb848484612bd0565b612f0784848484613207565b612f46576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f3d90614d0d565b60405180910390fd5b50505050565b606060148054612f5b9061533d565b80601f0160208091040260200160405190810160405280929190818152602001828054612f879061533d565b8015612fd45780601f10612fa957610100808354040283529160200191612fd4565b820191906000526020600020905b815481529060010190602001808311612fb757829003601f168201915b5050505050905090565b60008082905060005b85518110156130ac57600086828151811061302b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151905080831161306c57828160405160200161304f929190614b63565b604051602081830303815290604052805190602001209250613098565b808360405160200161307f929190614b63565b6040516020818303038152906040528051906020012092505b5080806130a49061536f565b915050612fe7565b508381149150509392505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061318557507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061319557506131948261339e565b5b9050919050565b6131a68383613408565b6131b36000848484613207565b6131f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131e990614d0d565b60405180910390fd5b505050565b6132028383836135d6565b505050565b60006132288473ffffffffffffffffffffffffffffffffffffffff166136ea565b15613391578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613251612999565b8786866040518563ffffffff1660e01b81526004016132739493929190614bce565b602060405180830381600087803b15801561328d57600080fd5b505af19250505080156132be57506040513d601f19601f820116820180604052508101906132bb9190613ee4565b60015b613341573d80600081146132ee576040519150601f19603f3d011682016040523d82523d6000602084013e6132f3565b606091505b50600081511415613339576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161333090614d0d565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613396565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613478576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161346f90614e8d565b60405180910390fd5b6134818161292d565b156134c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134b890614d4d565b60405180910390fd5b6134cd600083836131f7565b6001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461351d919061511a565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6135e18383836136fd565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156136245761361f81613702565b613663565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461366257613661838261374b565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156136a6576136a1816138b8565b6136e5565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146136e4576136e382826139fb565b5b5b505050565b600080823b905060008111915050919050565b505050565b600980549050600a600083815260200190815260200160002081905550600981908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161375884611653565b61376291906151fb565b9050600060086000848152602001908152602001600020549050818114613847576000600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816008600083815260200190815260200160002081905550505b6008600084815260200190815260200160002060009055600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016009805490506138cc91906151fb565b90506000600a6000848152602001908152602001600020549050600060098381548110613922577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050806009838154811061396a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600a600083815260200190815260200160002081905550600a60008581526020019081526020016000206000905560098054806139df577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000613a0683611653565b905081600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806008600084815260200190815260200160002081905550505050565b828054613a869061533d565b90600052602060002090601f016020900481019282613aa85760008555613aef565b82601f10613ac157805160ff1916838001178555613aef565b82800160010185558215613aef579182015b82811115613aee578251825591602001919060010190613ad3565b5b509050613afc9190613b00565b5090565b5b80821115613b19576000816000905550600101613b01565b5090565b6000613b30613b2b84615062565b615031565b905082815260208101848484011115613b4857600080fd5b613b538482856152d1565b509392505050565b6000613b6e613b6984615092565b615031565b905082815260208101848484011115613b8657600080fd5b613b918482856152d1565b509392505050565b600081359050613ba8816154ca565b92915050565b60008083601f840112613bc057600080fd5b8235905067ffffffffffffffff811115613bd957600080fd5b602083019150836020820283011115613bf157600080fd5b9250929050565b60008083601f840112613c0a57600080fd5b8235905067ffffffffffffffff811115613c2357600080fd5b602083019150836020820283011115613c3b57600080fd5b9250929050565b600081359050613c51816154e1565b92915050565b600081359050613c66816154f8565b92915050565b600081359050613c7b8161550f565b92915050565b600081519050613c908161550f565b92915050565b600082601f830112613ca757600080fd5b8135613cb7848260208601613b1d565b91505092915050565b600082601f830112613cd157600080fd5b8135613ce1848260208601613b5b565b91505092915050565b600081359050613cf981615526565b92915050565b600081519050613d0e81615526565b92915050565b600060208284031215613d2657600080fd5b6000613d3484828501613b99565b91505092915050565b60008060408385031215613d5057600080fd5b6000613d5e85828601613b99565b9250506020613d6f85828601613b99565b9150509250929050565b600080600060608486031215613d8e57600080fd5b6000613d9c86828701613b99565b9350506020613dad86828701613b99565b9250506040613dbe86828701613cea565b9150509250925092565b60008060008060808587031215613dde57600080fd5b6000613dec87828801613b99565b9450506020613dfd87828801613b99565b9350506040613e0e87828801613cea565b925050606085013567ffffffffffffffff811115613e2b57600080fd5b613e3787828801613c96565b91505092959194509250565b60008060408385031215613e5657600080fd5b6000613e6485828601613b99565b9250506020613e7585828601613c42565b9150509250929050565b60008060408385031215613e9257600080fd5b6000613ea085828601613b99565b9250506020613eb185828601613cea565b9150509250929050565b600060208284031215613ecd57600080fd5b6000613edb84828501613c6c565b91505092915050565b600060208284031215613ef657600080fd5b6000613f0484828501613c81565b91505092915050565b600060208284031215613f1f57600080fd5b600082013567ffffffffffffffff811115613f3957600080fd5b613f4584828501613cc0565b91505092915050565b600060208284031215613f6057600080fd5b6000613f6e84828501613cea565b91505092915050565b600060208284031215613f8957600080fd5b6000613f9784828501613cff565b91505092915050565b600080600060408486031215613fb557600080fd5b6000613fc386828701613cea565b935050602084013567ffffffffffffffff811115613fe057600080fd5b613fec86828701613bae565b92509250509250925092565b6000806000806060858703121561400e57600080fd5b600061401c87828801613cea565b945050602085013567ffffffffffffffff81111561403957600080fd5b61404587828801613bf8565b9350935050604061405887828801613cea565b91505092959194509250565b6000806040838503121561407757600080fd5b600061408585828601613cea565b925050602061409685828601613c57565b9150509250929050565b600080604083850312156140b357600080fd5b60006140c185828601613cea565b925050602083013567ffffffffffffffff8111156140de57600080fd5b6140ea85828601613cc0565b9150509250929050565b6000806040838503121561410757600080fd5b600061411585828601613cea565b925050602061412685828601613cea565b9150509250929050565b60008060006060848603121561414557600080fd5b600061415386828701613cea565b935050602061416486828701613cea565b925050604084013567ffffffffffffffff81111561418157600080fd5b61418d86828701613cc0565b9150509250925092565b6141a08161522f565b82525050565b6141b76141b28261522f565b6153b8565b82525050565b6141c681615241565b82525050565b6141d58161524d565b82525050565b6141ec6141e78261524d565b6153ca565b82525050565b60006141fd826150d7565b61420781856150ed565b93506142178185602086016152e0565b614220816154ac565b840191505092915050565b614234816152ad565b82525050565b6000614245826150e2565b61424f81856150fe565b935061425f8185602086016152e0565b614268816154ac565b840191505092915050565b600061427e826150e2565b614288818561510f565b93506142988185602086016152e0565b80840191505092915050565b600081546142b18161533d565b6142bb818661510f565b945060018216600081146142d657600181146142e75761431a565b60ff1983168652818601935061431a565b6142f0856150c2565b60005b83811015614312578154818901526001820191506020810190506142f3565b838801955050505b50505092915050565b6000614330602b836150fe565b91507f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008301527f74206f6620626f756e64730000000000000000000000000000000000000000006020830152604082019050919050565b60006143966032836150fe565b91507f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008301527f63656976657220696d706c656d656e74657200000000000000000000000000006020830152604082019050919050565b60006143fc6026836150fe565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614462601c836150fe565b91507f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006000830152602082019050919050565b60006144a2600f836150fe565b91507f414c524541445920434c41494d454400000000000000000000000000000000006000830152602082019050919050565b60006144e26024836150fe565b91507f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006145486019836150fe565b91507f4552433732313a20617070726f766520746f2063616c6c6572000000000000006000830152602082019050919050565b6000614588602c836150fe565b91507f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b60006145ee6038836150fe565b91507f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008301527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006020830152604082019050919050565b6000614654600c836150fe565b91507f53414c45204558504952454400000000000000000000000000000000000000006000830152602082019050919050565b6000614694602a836150fe565b91507f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008301527f726f2061646472657373000000000000000000000000000000000000000000006020830152604082019050919050565b60006146fa6029836150fe565b91507f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008301527f656e7420746f6b656e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000614760600a836150fe565b91507f4f564552204c494d4954000000000000000000000000000000000000000000006000830152602082019050919050565b60006147a06020836150fe565b91507f4552433732313a206d696e7420746f20746865207a65726f20616464726573736000830152602082019050919050565b60006147e0602c836150fe565b91507f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b60006148466020836150fe565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b60006148866019836150fe565b91507f414c524541445920434c41494d454420464f52204953535545000000000000006000830152602082019050919050565b60006148c66029836150fe565b91507f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008301527f73206e6f74206f776e00000000000000000000000000000000000000000000006020830152604082019050919050565b600061492c600d836150fe565b91507f494e56414c49442050524f4f46000000000000000000000000000000000000006000830152602082019050919050565b600061496c6021836150fe565b91507f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008301527f72000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006149d26031836150fe565b91507f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008301527f776e6572206e6f7220617070726f7665640000000000000000000000000000006020830152604082019050919050565b6000614a38602c836150fe565b91507f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008301527f7574206f6620626f756e647300000000000000000000000000000000000000006020830152604082019050919050565b6000614a9e6015836150fe565b91507f4e4f2056414c494420535542534352495054494f4e00000000000000000000006000830152602082019050919050565b6000614ade600f836150fe565b91507f494e434f525245435420505249434500000000000000000000000000000000006000830152602082019050919050565b614b1a816152a3565b82525050565b614b31614b2c826152a3565b6153e6565b82525050565b6000614b4382856141a6565b601482019150614b538284614b20565b6020820191508190509392505050565b6000614b6f82856141db565b602082019150614b7f82846141db565b6020820191508190509392505050565b6000614b9b8285614273565b9150614ba782846142a4565b91508190509392505050565b6000602082019050614bc86000830184614197565b92915050565b6000608082019050614be36000830187614197565b614bf06020830186614197565b614bfd6040830185614b11565b8181036060830152614c0f81846141f2565b905095945050505050565b6000604082019050614c2f6000830185614197565b614c3c6020830184614b11565b9392505050565b6000606082019050614c586000830186614197565b614c656020830185614b11565b614c726040830184614b11565b949350505050565b6000602082019050614c8f60008301846141bd565b92915050565b6000602082019050614caa60008301846141cc565b92915050565b6000602082019050614cc5600083018461422b565b92915050565b60006020820190508181036000830152614ce5818461423a565b905092915050565b60006020820190508181036000830152614d0681614323565b9050919050565b60006020820190508181036000830152614d2681614389565b9050919050565b60006020820190508181036000830152614d46816143ef565b9050919050565b60006020820190508181036000830152614d6681614455565b9050919050565b60006020820190508181036000830152614d8681614495565b9050919050565b60006020820190508181036000830152614da6816144d5565b9050919050565b60006020820190508181036000830152614dc68161453b565b9050919050565b60006020820190508181036000830152614de68161457b565b9050919050565b60006020820190508181036000830152614e06816145e1565b9050919050565b60006020820190508181036000830152614e2681614647565b9050919050565b60006020820190508181036000830152614e4681614687565b9050919050565b60006020820190508181036000830152614e66816146ed565b9050919050565b60006020820190508181036000830152614e8681614753565b9050919050565b60006020820190508181036000830152614ea681614793565b9050919050565b60006020820190508181036000830152614ec6816147d3565b9050919050565b60006020820190508181036000830152614ee681614839565b9050919050565b60006020820190508181036000830152614f0681614879565b9050919050565b60006020820190508181036000830152614f26816148b9565b9050919050565b60006020820190508181036000830152614f468161491f565b9050919050565b60006020820190508181036000830152614f668161495f565b9050919050565b60006020820190508181036000830152614f86816149c5565b9050919050565b60006020820190508181036000830152614fa681614a2b565b9050919050565b60006020820190508181036000830152614fc681614a91565b9050919050565b60006020820190508181036000830152614fe681614ad1565b9050919050565b60006020820190506150026000830184614b11565b92915050565b600060408201905061501d6000830185614b11565b61502a6020830184614b11565b9392505050565b6000604051905081810181811067ffffffffffffffff821117156150585761505761547d565b5b8060405250919050565b600067ffffffffffffffff82111561507d5761507c61547d565b5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff8211156150ad576150ac61547d565b5b601f19601f8301169050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000615125826152a3565b9150615130836152a3565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115615165576151646153f0565b5b828201905092915050565b600061517b826152a3565b9150615186836152a3565b9250826151965761519561541f565b5b828204905092915050565b60006151ac826152a3565b91506151b7836152a3565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156151f0576151ef6153f0565b5b828202905092915050565b6000615206826152a3565b9150615211836152a3565b925082821015615224576152236153f0565b5b828203905092915050565b600061523a82615283565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60006152b8826152bf565b9050919050565b60006152ca82615283565b9050919050565b82818337600083830152505050565b60005b838110156152fe5780820151818401526020810190506152e3565b8381111561530d576000848401525b50505050565b600061531e826152a3565b91506000821415615332576153316153f0565b5b600182039050919050565b6000600282049050600182168061535557607f821691505b602082108114156153695761536861544e565b5b50919050565b600061537a826152a3565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156153ad576153ac6153f0565b5b600182019050919050565b60006153c3826153d4565b9050919050565b6000819050919050565b60006153df826154bd565b9050919050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b6154d38161522f565b81146154de57600080fd5b50565b6154ea81615241565b81146154f557600080fd5b50565b6155018161524d565b811461550c57600080fd5b50565b61551881615257565b811461552357600080fd5b50565b61552f816152a3565b811461553a57600080fd5b5056fea26469706673582212204572694c2b6b0be1f892f51703163db1c13b206955c83985ecf24402ec25106b64736f6c63430008000033000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001000000000000000000000000004123d3da0f4d1e82196e4ff27b39461cb2a86a14000000000000000000000000000000000000000000000000000000000000000f5265646c696f6e2047617a6574746500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000009524c47415a455454450000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002868747470733a2f2f6e66742e7265646c696f6e2e6e6577732f67617a65747465732f69737375652f000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106102675760003560e01c806370a0823111610144578063b88d4fde116100b6578063f004685a1161007a578063f004685a146109b5578063f2fde38b146109de578063f339f52614610a07578063f354f46d14610a30578063fa055b5e14610a6d578063fb2f6cce14610a9657610267565b8063b88d4fde146108ac578063c5c1f0f2146108d5578063c87b56dd14610912578063e985e9c51461094f578063ed2099071461098c57610267565b80638417b47f116101085780638417b47f1461079c5780638da5cb5b146107c557806395d89b41146107f05780639ee84eda1461081b578063a22cb46514610858578063b5914ec11461088157610267565b806370a08231146106a5578063715018a6146106e2578063746cf628146106f95780637b9c0551146107225780637e4e88a21461075f57610267565b80632f745c59116101dd57806342842e0e116101a157806342842e0e1461054b5780634f6ccce71461057457806355e1932b146105b1578063562beba8146105ee5780636352211e1461062b5780636d8485c51461066857610267565b80632f745c591461047a57806335db70b5146104b757806339a0c6f9146104e25780633ccfd60b1461050b5780633e4086e51461052257610267565b8063095ea7b31161022f578063095ea7b31461037a57806318160ddd146103a35780631b2ef1ca146103ce57806322e86631146103ea57806323b872dd146104135780632a55205a1461043c57610267565b806301109e331461026c57806301ffc9a71461029757806304e15de5146102d457806306fdde0314610312578063081812fc1461033d575b600080fd5b34801561027857600080fd5b50610281610abf565b60405161028e9190614fed565b60405180910390f35b3480156102a357600080fd5b506102be60048036038101906102b99190613ebb565b610ac5565b6040516102cb9190614c7a565b60405180910390f35b3480156102e057600080fd5b506102fb60048036038101906102f69190613f4e565b610ad7565b604051610309929190615008565b60405180910390f35b34801561031e57600080fd5b50610327610afb565b6040516103349190614ccb565b60405180910390f35b34801561034957600080fd5b50610364600480360381019061035f9190613f4e565b610b8d565b6040516103719190614bb3565b60405180910390f35b34801561038657600080fd5b506103a1600480360381019061039c9190613e7f565b610c12565b005b3480156103af57600080fd5b506103b8610d2a565b6040516103c59190614fed565b60405180910390f35b6103e860048036038101906103e391906140f4565b610d37565b005b3480156103f657600080fd5b50610411600480360381019061040c9190613d14565b611075565b005b34801561041f57600080fd5b5061043a60048036038101906104359190613d79565b611135565b005b34801561044857600080fd5b50610463600480360381019061045e91906140f4565b611195565b604051610471929190614c1a565b60405180910390f35b34801561048657600080fd5b506104a1600480360381019061049c9190613e7f565b6111c6565b6040516104ae9190614fed565b60405180910390f35b3480156104c357600080fd5b506104cc61126b565b6040516104d99190614fed565b60405180910390f35b3480156104ee57600080fd5b5061050960048036038101906105049190613f0d565b611271565b005b34801561051757600080fd5b50610520611307565b005b34801561052e57600080fd5b5061054960048036038101906105449190613f4e565b6113d9565b005b34801561055757600080fd5b50610572600480360381019061056d9190613d79565b61145f565b005b34801561058057600080fd5b5061059b60048036038101906105969190613f4e565b61147f565b6040516105a89190614fed565b60405180910390f35b3480156105bd57600080fd5b506105d860048036038101906105d39190613f4e565b611516565b6040516105e59190614c95565b60405180910390f35b3480156105fa57600080fd5b5061061560048036038101906106109190613e7f565b61152e565b6040516106229190614c7a565b60405180910390f35b34801561063757600080fd5b50610652600480360381019061064d9190613f4e565b611589565b60405161065f9190614bb3565b60405180910390f35b34801561067457600080fd5b5061068f600480360381019061068a9190613f4e565b61163b565b60405161069c9190614fed565b60405180910390f35b3480156106b157600080fd5b506106cc60048036038101906106c79190613d14565b611653565b6040516106d99190614fed565b60405180910390f35b3480156106ee57600080fd5b506106f761170b565b005b34801561070557600080fd5b50610720600480360381019061071b9190613fa0565b611793565b005b34801561072e57600080fd5b5061074960048036038101906107449190613e7f565b611929565b6040516107569190614fed565b60405180910390f35b34801561076b57600080fd5b5061078660048036038101906107819190613f4e565b611ad4565b6040516107939190614fed565b60405180910390f35b3480156107a857600080fd5b506107c360048036038101906107be9190613f4e565b611c8f565b005b3480156107d157600080fd5b506107da611d15565b6040516107e79190614bb3565b60405180910390f35b3480156107fc57600080fd5b50610805611d3e565b6040516108129190614ccb565b60405180910390f35b34801561082757600080fd5b50610842600480360381019061083d9190613f4e565b611dd0565b60405161084f9190614fed565b60405180910390f35b34801561086457600080fd5b5061087f600480360381019061087a9190613e43565b611de8565b005b34801561088d57600080fd5b50610896611f69565b6040516108a39190614cb0565b60405180910390f35b3480156108b857600080fd5b506108d360048036038101906108ce9190613dc8565b611f8f565b005b3480156108e157600080fd5b506108fc60048036038101906108f791906140f4565b611ff1565b6040516109099190614c7a565b60405180910390f35b34801561091e57600080fd5b5061093960048036038101906109349190613f4e565b61211b565b6040516109469190614ccb565b60405180910390f35b34801561095b57600080fd5b5061097660048036038101906109719190613d3d565b612172565b6040516109839190614c7a565b60405180910390f35b34801561099857600080fd5b506109b360048036038101906109ae9190614130565b612206565b005b3480156109c157600080fd5b506109dc60048036038101906109d79190613f4e565b6122e2565b005b3480156109ea57600080fd5b50610a056004803603810190610a009190613d14565b612368565b005b348015610a1357600080fd5b50610a2e6004803603810190610a299190613ff8565b612460565b005b348015610a3c57600080fd5b50610a576004803603810190610a529190613f4e565b6126d3565b604051610a649190614ccb565b60405180910390f35b348015610a7957600080fd5b50610a946004803603810190610a8f91906140a0565b612773565b005b348015610aa257600080fd5b50610abd6004803603810190610ab89190614064565b61281b565b005b60125481565b6000610ad0826128b3565b9050919050565b600d6020528060005260406000206000915090508060000154908060010154905082565b606060018054610b0a9061533d565b80601f0160208091040260200160405190810160405280929190818152602001828054610b369061533d565b8015610b835780601f10610b5857610100808354040283529160200191610b83565b820191906000526020600020905b815481529060010190602001808311610b6657829003601f168201915b5050505050905090565b6000610b988261292d565b610bd7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bce90614ead565b60405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610c1d82611589565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c8e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c8590614f4d565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610cad612999565b73ffffffffffffffffffffffffffffffffffffffff161480610cdc5750610cdb81610cd6612999565b612172565b5b610d1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d1290614ded565b60405180910390fd5b610d2583836129a1565b505050565b6000600980549050905090565b6000803414610d465781610d51565b610d503384611929565b5b90506000341415610e8657610dad83600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020612a5a90919063ffffffff16565b15610ded576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610de490614d6d565b60405180910390fd5b60008111610e30576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e2790614fad565b60405180910390fd5b610e8183600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020612a9690919063ffffffff16565b610fab565b81601154610e9491906151a1565b3414610ed5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ecc90614fcd565b60405180910390fd5b601254821115610f1a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f1190614e6d565b60405180910390fd5b426207e9006010600086815260200190815260200160002054610f3d919061511a565b1015610f7e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f7590614e0d565b60405180910390fd5b600d60008481526020019081526020016000206001016000815480929190610fa590615313565b91905055505b60005b8181101561106f576000600d60008681526020019081526020016000206000016000815480929190610fdf9061536f565b91905055620f424086610ff291906151a1565b610ffc919061511a565b905084600e6000838152602001908152602001600020819055506110203382612ad4565b7f966d62c0a408368c656346fe829fad3f53d4436857794a7356a71fa3fe8e53df33868360405161105393929190614c43565b60405180910390a15080806110679061536f565b915050610fae565b50505050565b61107d612999565b73ffffffffffffffffffffffffffffffffffffffff1661109b611d15565b73ffffffffffffffffffffffffffffffffffffffff16146110f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110e890614ecd565b60405180910390fd5b80600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b611146611140612999565b82612af2565b611185576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161117c90614f6d565b60405180910390fd5b611190838383612bd0565b505050565b6000806111a0611d15565b612710601554856111b191906151a1565b6111bb9190615170565b915091509250929050565b60006111d183611653565b8210611212576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161120990614ced565b60405180910390fd5b600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b60115481565b611279612999565b73ffffffffffffffffffffffffffffffffffffffff16611297611d15565b73ffffffffffffffffffffffffffffffffffffffff16146112ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112e490614ecd565b60405180910390fd5b8060149080519060200190611303929190613a7a565b5050565b61130f612999565b73ffffffffffffffffffffffffffffffffffffffff1661132d611d15565b73ffffffffffffffffffffffffffffffffffffffff1614611383576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161137a90614ecd565b60405180910390fd5b6000479050611390611d15565b73ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050501580156113d5573d6000803e3d6000fd5b5050565b6113e1612999565b73ffffffffffffffffffffffffffffffffffffffff166113ff611d15565b73ffffffffffffffffffffffffffffffffffffffff1614611455576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161144c90614ecd565b60405180910390fd5b8060158190555050565b61147a83838360405180602001604052806000815250611f8f565b505050565b6000611489610d2a565b82106114ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114c190614f8d565b60405180910390fd5b60098281548110611504577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b60136020528060005260406000206000915090505481565b600061158182600f60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020612a5a90919063ffffffff16565b905092915050565b6000806003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611632576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161162990614e4d565b60405180910390fd5b80915050919050565b60106020528060005260406000206000915090505481565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156116c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116bb90614e2d565b60405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611713612999565b73ffffffffffffffffffffffffffffffffffffffff16611731611d15565b73ffffffffffffffffffffffffffffffffffffffff1614611787576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161177e90614ecd565b60405180910390fd5b6117916000612e2c565b565b61179b612999565b73ffffffffffffffffffffffffffffffffffffffff166117b9611d15565b73ffffffffffffffffffffffffffffffffffffffff161461180f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161180690614ecd565b60405180910390fd5b60005b82829050811015611923576000600d600086815260200190815260200160002060000160008154809291906118469061536f565b91905055620f42408661185991906151a1565b611863919061511a565b905084600e6000838152602001908152602001600020819055506118d48484848181106118b9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020160208101906118ce9190613d14565b82612ad4565b7f966d62c0a408368c656346fe829fad3f53d4436857794a7356a71fa3fe8e53df33868360405161190793929190614c43565b60405180910390a150808061191b9061536f565b915050611812565b50505050565b600080600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231856040518263ffffffff1660e01b81526004016119879190614bb3565b60206040518083038186803b15801561199f57600080fd5b505afa1580156119b3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119d79190613f77565b90506000805b82811015611ac8576000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16632f745c5988846040518363ffffffff1660e01b8152600401611a44929190614c1a565b60206040518083038186803b158015611a5c57600080fd5b505afa158015611a70573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a949190613f77565b9050611aa08187611ff1565b15611ab4578280611ab09061536f565b9350505b508080611ac09061536f565b9150506119dd565b50809250505092915050565b600080600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d7de5725846040518263ffffffff1660e01b8152600401611b329190614fed565b60206040518083038186803b158015611b4a57600080fd5b505afa158015611b5e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b829190613f77565b90506000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c251ddf8856040518263ffffffff1660e01b8152600401611be19190614fed565b60206040518083038186803b158015611bf957600080fd5b505afa158015611c0d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c319190613f77565b90506000821415611c54576277f88081611c4b91906151fb565b92505050611c8a565b6001821415611c755762eff10081611c6c91906151fb565b92505050611c8a565b6301dfe20081611c8591906151fb565b925050505b919050565b611c97612999565b73ffffffffffffffffffffffffffffffffffffffff16611cb5611d15565b73ffffffffffffffffffffffffffffffffffffffff1614611d0b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d0290614ecd565b60405180910390fd5b8060118190555050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060028054611d4d9061533d565b80601f0160208091040260200160405190810160405280929190818152602001828054611d799061533d565b8015611dc65780601f10611d9b57610100808354040283529160200191611dc6565b820191906000526020600020905b815481529060010190602001808311611da957829003601f168201915b5050505050905090565b600e6020528060005260406000206000915090505481565b611df0612999565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611e5e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e5590614dad565b60405180910390fd5b8060066000611e6b612999565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611f18612999565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611f5d9190614c7a565b60405180910390a35050565b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b611fa0611f9a612999565b83612af2565b611fdf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fd690614f6d565b60405180910390fd5b611feb84848484612ef0565b50505050565b600080600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c251ddf8856040518263ffffffff1660e01b815260040161204f9190614fed565b60206040518083038186803b15801561206757600080fd5b505afa15801561207b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061209f9190613f77565b905060006120ac85611ad4565b9050601060008581526020019081526020016000205481111580156120f257506249d40060106000868152602001908152602001600020546120ee919061511a565b4211155b8015612111575081601060008681526020019081526020016000205411155b9250505092915050565b6060612125612f4c565b600c6000600e600086815260200190815260200160002054815260200190815260200160002060405160200161215c929190614b8f565b6040516020818303038152906040529050919050565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61220e612999565b73ffffffffffffffffffffffffffffffffffffffff1661222c611d15565b73ffffffffffffffffffffffffffffffffffffffff1614612282576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161227990614ecd565b60405180910390fd5b42601060008581526020019081526020016000208190555081600d60008581526020019081526020016000206001018190555080600c600085815260200190815260200160002090805190602001906122dc929190613a7a565b50505050565b6122ea612999565b73ffffffffffffffffffffffffffffffffffffffff16612308611d15565b73ffffffffffffffffffffffffffffffffffffffff161461235e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161235590614ecd565b60405180910390fd5b8060128190555050565b612370612999565b73ffffffffffffffffffffffffffffffffffffffff1661238e611d15565b73ffffffffffffffffffffffffffffffffffffffff16146123e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123db90614ecd565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612454576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161244b90614d2d565b60405180910390fd5b61245d81612e2c565b50565b6124b184601660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020612a5a90919063ffffffff16565b156124f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124e890614eed565b60405180910390fd5b61254284601660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020612a9690919063ffffffff16565b6125c9838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050601360008781526020019081526020016000205433846040516020016125ae929190614b37565b60405160208183030381529060405280519060200120612fde565b612608576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125ff90614f2d565b60405180910390fd5b60005b818110156126cc576000600d6000878152602001908152602001600020600001600081548092919061263c9061536f565b91905055620f42408761264f91906151a1565b612659919061511a565b905085600e60008381526020019081526020016000208190555061267d3382612ad4565b7f966d62c0a408368c656346fe829fad3f53d4436857794a7356a71fa3fe8e53df3387836040516126b093929190614c43565b60405180910390a15080806126c49061536f565b91505061260b565b5050505050565b600c60205280600052604060002060009150905080546126f29061533d565b80601f016020809104026020016040519081016040528092919081815260200182805461271e9061533d565b801561276b5780601f106127405761010080835404028352916020019161276b565b820191906000526020600020905b81548152906001019060200180831161274e57829003601f168201915b505050505081565b61277b612999565b73ffffffffffffffffffffffffffffffffffffffff16612799611d15565b73ffffffffffffffffffffffffffffffffffffffff16146127ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127e690614ecd565b60405180910390fd5b80600c60008481526020019081526020016000209080519060200190612816929190613a7a565b505050565b612823612999565b73ffffffffffffffffffffffffffffffffffffffff16612841611d15565b73ffffffffffffffffffffffffffffffffffffffff1614612897576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161288e90614ecd565b60405180910390fd5b8060136000848152602001908152602001600020819055505050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806129265750612925826130ba565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816005600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612a1483611589565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080600883901c9050600060ff84166001901b9050600081866000016000858152602001908152602001600020541614159250505092915050565b6000600882901c9050600060ff83166001901b9050808460000160008481526020019081526020016000206000828254179250508190555050505050565b612aee82826040518060200160405280600081525061319c565b5050565b6000612afd8261292d565b612b3c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b3390614dcd565b60405180910390fd5b6000612b4783611589565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612bb657508373ffffffffffffffffffffffffffffffffffffffff16612b9e84610b8d565b73ffffffffffffffffffffffffffffffffffffffff16145b80612bc75750612bc68185612172565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612bf082611589565b73ffffffffffffffffffffffffffffffffffffffff1614612c46576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c3d90614f0d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612cb6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cad90614d8d565b60405180910390fd5b612cc18383836131f7565b612ccc6000826129a1565b6001600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612d1c91906151fb565b925050819055506001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612d73919061511a565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612efb848484612bd0565b612f0784848484613207565b612f46576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f3d90614d0d565b60405180910390fd5b50505050565b606060148054612f5b9061533d565b80601f0160208091040260200160405190810160405280929190818152602001828054612f879061533d565b8015612fd45780601f10612fa957610100808354040283529160200191612fd4565b820191906000526020600020905b815481529060010190602001808311612fb757829003601f168201915b5050505050905090565b60008082905060005b85518110156130ac57600086828151811061302b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151905080831161306c57828160405160200161304f929190614b63565b604051602081830303815290604052805190602001209250613098565b808360405160200161307f929190614b63565b6040516020818303038152906040528051906020012092505b5080806130a49061536f565b915050612fe7565b508381149150509392505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061318557507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061319557506131948261339e565b5b9050919050565b6131a68383613408565b6131b36000848484613207565b6131f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131e990614d0d565b60405180910390fd5b505050565b6132028383836135d6565b505050565b60006132288473ffffffffffffffffffffffffffffffffffffffff166136ea565b15613391578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613251612999565b8786866040518563ffffffff1660e01b81526004016132739493929190614bce565b602060405180830381600087803b15801561328d57600080fd5b505af19250505080156132be57506040513d601f19601f820116820180604052508101906132bb9190613ee4565b60015b613341573d80600081146132ee576040519150601f19603f3d011682016040523d82523d6000602084013e6132f3565b606091505b50600081511415613339576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161333090614d0d565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613396565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613478576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161346f90614e8d565b60405180910390fd5b6134818161292d565b156134c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134b890614d4d565b60405180910390fd5b6134cd600083836131f7565b6001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461351d919061511a565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6135e18383836136fd565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156136245761361f81613702565b613663565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461366257613661838261374b565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156136a6576136a1816138b8565b6136e5565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146136e4576136e382826139fb565b5b5b505050565b600080823b905060008111915050919050565b505050565b600980549050600a600083815260200190815260200160002081905550600981908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161375884611653565b61376291906151fb565b9050600060086000848152602001908152602001600020549050818114613847576000600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816008600083815260200190815260200160002081905550505b6008600084815260200190815260200160002060009055600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016009805490506138cc91906151fb565b90506000600a6000848152602001908152602001600020549050600060098381548110613922577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050806009838154811061396a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600a600083815260200190815260200160002081905550600a60008581526020019081526020016000206000905560098054806139df577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000613a0683611653565b905081600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806008600084815260200190815260200160002081905550505050565b828054613a869061533d565b90600052602060002090601f016020900481019282613aa85760008555613aef565b82601f10613ac157805160ff1916838001178555613aef565b82800160010185558215613aef579182015b82811115613aee578251825591602001919060010190613ad3565b5b509050613afc9190613b00565b5090565b5b80821115613b19576000816000905550600101613b01565b5090565b6000613b30613b2b84615062565b615031565b905082815260208101848484011115613b4857600080fd5b613b538482856152d1565b509392505050565b6000613b6e613b6984615092565b615031565b905082815260208101848484011115613b8657600080fd5b613b918482856152d1565b509392505050565b600081359050613ba8816154ca565b92915050565b60008083601f840112613bc057600080fd5b8235905067ffffffffffffffff811115613bd957600080fd5b602083019150836020820283011115613bf157600080fd5b9250929050565b60008083601f840112613c0a57600080fd5b8235905067ffffffffffffffff811115613c2357600080fd5b602083019150836020820283011115613c3b57600080fd5b9250929050565b600081359050613c51816154e1565b92915050565b600081359050613c66816154f8565b92915050565b600081359050613c7b8161550f565b92915050565b600081519050613c908161550f565b92915050565b600082601f830112613ca757600080fd5b8135613cb7848260208601613b1d565b91505092915050565b600082601f830112613cd157600080fd5b8135613ce1848260208601613b5b565b91505092915050565b600081359050613cf981615526565b92915050565b600081519050613d0e81615526565b92915050565b600060208284031215613d2657600080fd5b6000613d3484828501613b99565b91505092915050565b60008060408385031215613d5057600080fd5b6000613d5e85828601613b99565b9250506020613d6f85828601613b99565b9150509250929050565b600080600060608486031215613d8e57600080fd5b6000613d9c86828701613b99565b9350506020613dad86828701613b99565b9250506040613dbe86828701613cea565b9150509250925092565b60008060008060808587031215613dde57600080fd5b6000613dec87828801613b99565b9450506020613dfd87828801613b99565b9350506040613e0e87828801613cea565b925050606085013567ffffffffffffffff811115613e2b57600080fd5b613e3787828801613c96565b91505092959194509250565b60008060408385031215613e5657600080fd5b6000613e6485828601613b99565b9250506020613e7585828601613c42565b9150509250929050565b60008060408385031215613e9257600080fd5b6000613ea085828601613b99565b9250506020613eb185828601613cea565b9150509250929050565b600060208284031215613ecd57600080fd5b6000613edb84828501613c6c565b91505092915050565b600060208284031215613ef657600080fd5b6000613f0484828501613c81565b91505092915050565b600060208284031215613f1f57600080fd5b600082013567ffffffffffffffff811115613f3957600080fd5b613f4584828501613cc0565b91505092915050565b600060208284031215613f6057600080fd5b6000613f6e84828501613cea565b91505092915050565b600060208284031215613f8957600080fd5b6000613f9784828501613cff565b91505092915050565b600080600060408486031215613fb557600080fd5b6000613fc386828701613cea565b935050602084013567ffffffffffffffff811115613fe057600080fd5b613fec86828701613bae565b92509250509250925092565b6000806000806060858703121561400e57600080fd5b600061401c87828801613cea565b945050602085013567ffffffffffffffff81111561403957600080fd5b61404587828801613bf8565b9350935050604061405887828801613cea565b91505092959194509250565b6000806040838503121561407757600080fd5b600061408585828601613cea565b925050602061409685828601613c57565b9150509250929050565b600080604083850312156140b357600080fd5b60006140c185828601613cea565b925050602083013567ffffffffffffffff8111156140de57600080fd5b6140ea85828601613cc0565b9150509250929050565b6000806040838503121561410757600080fd5b600061411585828601613cea565b925050602061412685828601613cea565b9150509250929050565b60008060006060848603121561414557600080fd5b600061415386828701613cea565b935050602061416486828701613cea565b925050604084013567ffffffffffffffff81111561418157600080fd5b61418d86828701613cc0565b9150509250925092565b6141a08161522f565b82525050565b6141b76141b28261522f565b6153b8565b82525050565b6141c681615241565b82525050565b6141d58161524d565b82525050565b6141ec6141e78261524d565b6153ca565b82525050565b60006141fd826150d7565b61420781856150ed565b93506142178185602086016152e0565b614220816154ac565b840191505092915050565b614234816152ad565b82525050565b6000614245826150e2565b61424f81856150fe565b935061425f8185602086016152e0565b614268816154ac565b840191505092915050565b600061427e826150e2565b614288818561510f565b93506142988185602086016152e0565b80840191505092915050565b600081546142b18161533d565b6142bb818661510f565b945060018216600081146142d657600181146142e75761431a565b60ff1983168652818601935061431a565b6142f0856150c2565b60005b83811015614312578154818901526001820191506020810190506142f3565b838801955050505b50505092915050565b6000614330602b836150fe565b91507f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008301527f74206f6620626f756e64730000000000000000000000000000000000000000006020830152604082019050919050565b60006143966032836150fe565b91507f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008301527f63656976657220696d706c656d656e74657200000000000000000000000000006020830152604082019050919050565b60006143fc6026836150fe565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614462601c836150fe565b91507f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006000830152602082019050919050565b60006144a2600f836150fe565b91507f414c524541445920434c41494d454400000000000000000000000000000000006000830152602082019050919050565b60006144e26024836150fe565b91507f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006145486019836150fe565b91507f4552433732313a20617070726f766520746f2063616c6c6572000000000000006000830152602082019050919050565b6000614588602c836150fe565b91507f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b60006145ee6038836150fe565b91507f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008301527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006020830152604082019050919050565b6000614654600c836150fe565b91507f53414c45204558504952454400000000000000000000000000000000000000006000830152602082019050919050565b6000614694602a836150fe565b91507f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008301527f726f2061646472657373000000000000000000000000000000000000000000006020830152604082019050919050565b60006146fa6029836150fe565b91507f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008301527f656e7420746f6b656e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000614760600a836150fe565b91507f4f564552204c494d4954000000000000000000000000000000000000000000006000830152602082019050919050565b60006147a06020836150fe565b91507f4552433732313a206d696e7420746f20746865207a65726f20616464726573736000830152602082019050919050565b60006147e0602c836150fe565b91507f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b60006148466020836150fe565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b60006148866019836150fe565b91507f414c524541445920434c41494d454420464f52204953535545000000000000006000830152602082019050919050565b60006148c66029836150fe565b91507f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008301527f73206e6f74206f776e00000000000000000000000000000000000000000000006020830152604082019050919050565b600061492c600d836150fe565b91507f494e56414c49442050524f4f46000000000000000000000000000000000000006000830152602082019050919050565b600061496c6021836150fe565b91507f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008301527f72000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006149d26031836150fe565b91507f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008301527f776e6572206e6f7220617070726f7665640000000000000000000000000000006020830152604082019050919050565b6000614a38602c836150fe565b91507f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008301527f7574206f6620626f756e647300000000000000000000000000000000000000006020830152604082019050919050565b6000614a9e6015836150fe565b91507f4e4f2056414c494420535542534352495054494f4e00000000000000000000006000830152602082019050919050565b6000614ade600f836150fe565b91507f494e434f525245435420505249434500000000000000000000000000000000006000830152602082019050919050565b614b1a816152a3565b82525050565b614b31614b2c826152a3565b6153e6565b82525050565b6000614b4382856141a6565b601482019150614b538284614b20565b6020820191508190509392505050565b6000614b6f82856141db565b602082019150614b7f82846141db565b6020820191508190509392505050565b6000614b9b8285614273565b9150614ba782846142a4565b91508190509392505050565b6000602082019050614bc86000830184614197565b92915050565b6000608082019050614be36000830187614197565b614bf06020830186614197565b614bfd6040830185614b11565b8181036060830152614c0f81846141f2565b905095945050505050565b6000604082019050614c2f6000830185614197565b614c3c6020830184614b11565b9392505050565b6000606082019050614c586000830186614197565b614c656020830185614b11565b614c726040830184614b11565b949350505050565b6000602082019050614c8f60008301846141bd565b92915050565b6000602082019050614caa60008301846141cc565b92915050565b6000602082019050614cc5600083018461422b565b92915050565b60006020820190508181036000830152614ce5818461423a565b905092915050565b60006020820190508181036000830152614d0681614323565b9050919050565b60006020820190508181036000830152614d2681614389565b9050919050565b60006020820190508181036000830152614d46816143ef565b9050919050565b60006020820190508181036000830152614d6681614455565b9050919050565b60006020820190508181036000830152614d8681614495565b9050919050565b60006020820190508181036000830152614da6816144d5565b9050919050565b60006020820190508181036000830152614dc68161453b565b9050919050565b60006020820190508181036000830152614de68161457b565b9050919050565b60006020820190508181036000830152614e06816145e1565b9050919050565b60006020820190508181036000830152614e2681614647565b9050919050565b60006020820190508181036000830152614e4681614687565b9050919050565b60006020820190508181036000830152614e66816146ed565b9050919050565b60006020820190508181036000830152614e8681614753565b9050919050565b60006020820190508181036000830152614ea681614793565b9050919050565b60006020820190508181036000830152614ec6816147d3565b9050919050565b60006020820190508181036000830152614ee681614839565b9050919050565b60006020820190508181036000830152614f0681614879565b9050919050565b60006020820190508181036000830152614f26816148b9565b9050919050565b60006020820190508181036000830152614f468161491f565b9050919050565b60006020820190508181036000830152614f668161495f565b9050919050565b60006020820190508181036000830152614f86816149c5565b9050919050565b60006020820190508181036000830152614fa681614a2b565b9050919050565b60006020820190508181036000830152614fc681614a91565b9050919050565b60006020820190508181036000830152614fe681614ad1565b9050919050565b60006020820190506150026000830184614b11565b92915050565b600060408201905061501d6000830185614b11565b61502a6020830184614b11565b9392505050565b6000604051905081810181811067ffffffffffffffff821117156150585761505761547d565b5b8060405250919050565b600067ffffffffffffffff82111561507d5761507c61547d565b5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff8211156150ad576150ac61547d565b5b601f19601f8301169050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000615125826152a3565b9150615130836152a3565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115615165576151646153f0565b5b828201905092915050565b600061517b826152a3565b9150615186836152a3565b9250826151965761519561541f565b5b828204905092915050565b60006151ac826152a3565b91506151b7836152a3565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156151f0576151ef6153f0565b5b828202905092915050565b6000615206826152a3565b9150615211836152a3565b925082821015615224576152236153f0565b5b828203905092915050565b600061523a82615283565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60006152b8826152bf565b9050919050565b60006152ca82615283565b9050919050565b82818337600083830152505050565b60005b838110156152fe5780820151818401526020810190506152e3565b8381111561530d576000848401525b50505050565b600061531e826152a3565b91506000821415615332576153316153f0565b5b600182039050919050565b6000600282049050600182168061535557607f821691505b602082108114156153695761536861544e565b5b50919050565b600061537a826152a3565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156153ad576153ac6153f0565b5b600182019050919050565b60006153c3826153d4565b9050919050565b6000819050919050565b60006153df826154bd565b9050919050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b6154d38161522f565b81146154de57600080fd5b50565b6154ea81615241565b81146154f557600080fd5b50565b6155018161524d565b811461550c57600080fd5b50565b61551881615257565b811461552357600080fd5b50565b61552f816152a3565b811461553a57600080fd5b5056fea26469706673582212204572694c2b6b0be1f892f51703163db1c13b206955c83985ecf24402ec25106b64736f6c63430008000033

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.