ETH Price: $3,200.45 (-7.08%)
Gas: 9 Gwei

Token

Redlion Subscriptions (RLSUBS)
 

Overview

Max Total Supply

121 RLSUBS

Holders

100

Total Transfers

-

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
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:
RedlionSubscriptions

Compiler Version
v0.8.0+commit.c7dfd78e

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 14 : RedlionSubscriptions.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/Counters.sol";

contract RedlionSubscriptions is Context, Ownable, ERC721Enumerable {

    enum SubType {Silver, Gold, Red }
    struct WeeklyAllowance {
        uint64 red;
        uint64 gold;
        uint64 silver;
    }
    event BoughtSilver(uint indexed tokenId);
    event BoughtGold(uint indexed tokenId);
    event BoughtRed(uint indexed tokenId);

    using Counters for Counters.Counter;

    Counters.Counter private _tokenIdTracker;
    string private _baseTokenURI;

    WeeklyAllowance public weeklyAllowance;
    uint public RED_PRICE = 2.35 ether;
    uint public GOLD_PRICE = 1.2 ether;
    uint public SILVER_PRICE = 0.6 ether;
    uint public currentIssue;

    mapping (uint => uint) public expirations;
    mapping (uint => SubType) private _typeOfTokenId;

    constructor(
        string memory name,
        string memory symbol, 
        string memory baseTokenURI
    ) ERC721(name, symbol) {
        _baseTokenURI = baseTokenURI;
    }


    /*
        ADMIN FUNCTIONS
    */

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

    function withdraw() onlyOwner public {
        uint amount = address(this).balance;
        payable(owner()).transfer(amount);
    }
    
    function setRedPrice(uint newPrice) onlyOwner public {
        RED_PRICE = newPrice;
    }

    function setGoldPrice(uint newPrice) onlyOwner public {
        GOLD_PRICE = newPrice;
    }

    function setSilverPrice(uint newPrice) onlyOwner public {
        SILVER_PRICE = newPrice;
    }

    function setCurrentIssue(uint issue) onlyOwner public {
        currentIssue = issue;
    }

    function setWeeklyAllowance(uint64 red, uint64 gold, uint64 silver) onlyOwner public {
        weeklyAllowance = WeeklyAllowance({red:red, gold:gold, silver:silver});
    }

    function ownerMint(address to, SubType subType) onlyOwner public {
        uint duration = 13 weeks;
        if (subType == SubType.Red) {
            duration = 52 weeks;
        } else if (subType == SubType.Gold) {
            duration = 26 weeks;
        }
        mint(to, duration, subType);
    }

    /*
        PUBLIC FUNCTIONS
    */

    function isExpired(uint tokenId) public view returns (bool) {
        return expirations[tokenId] < block.timestamp;
    }

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

    function mint(address to, uint duration, SubType subType) internal returns (uint) {
        uint tokenId = _tokenIdTracker.current();
        _safeMint(to, tokenId);
        expirations[tokenId] = block.timestamp + duration;
        _typeOfTokenId[tokenId] = subType;
        _tokenIdTracker.increment();
        return tokenId;
    }

    function buyRed() public payable {
        require(msg.value == RED_PRICE, "BUY_RED:PRICE INCORRECT");
        require(weeklyAllowance.red > 0, "BUY_RED:SOLD OUT");
        weeklyAllowance.red--;
        uint tokenId = mint(msg.sender, 52 weeks, SubType.Red);
        emit BoughtRed(tokenId);
    }

    function buyGold() public payable {
        require(msg.value == GOLD_PRICE, "BUY_GOLD:PRICE INCORRECT");
        require(weeklyAllowance.gold > 0, "BUY_GOLD:SOLD OUT");
        weeklyAllowance.gold--;
        uint tokenId = mint(msg.sender, 26 weeks, SubType.Gold);
        emit BoughtGold(tokenId);
    }

    function buySilver() public payable {
        require(msg.value == SILVER_PRICE, "BUY_SILVER:PRICE INCORRECT");
        require(weeklyAllowance.silver > 0, "BUY_SILVER:SOLD OUT");
        weeklyAllowance.silver--;
        uint tokenId = mint(msg.sender, 13 weeks, SubType.Silver);
        emit BoughtSilver(tokenId);
    }

    function whichType(uint tokenId) public view returns (uint) {
        return uint(_typeOfTokenId[tokenId]);
    }

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

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

File 2 of 14 : 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 3 of 14 : 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 4 of 14 : 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 5 of 14 : 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 14 : Counters.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @title Counters
 * @author Matt Condon (@shrugs)
 * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number
 * of elements in a mapping, issuing ERC721 ids, or counting request ids.
 *
 * Include with `using Counters for Counters.Counter;`
 */
library Counters {
    struct Counter {
        // This variable should never be directly accessed by users of the library: interactions must be restricted to
        // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
        // this feature: see https://github.com/ethereum/solidity/issues/4637
        uint256 _value; // default: 0
    }

    function current(Counter storage counter) internal view returns (uint256) {
        return counter._value;
    }

    function increment(Counter storage counter) internal {
        unchecked {
            counter._value += 1;
        }
    }

    function decrement(Counter storage counter) internal {
        uint256 value = counter._value;
        require(value > 0, "Counter: decrement overflow");
        unchecked {
            counter._value = value - 1;
        }
    }

    function reset(Counter storage counter) internal {
        counter._value = 0;
    }
}

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

File 8 of 14 : 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 9 of 14 : 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 10 of 14 : 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 11 of 14 : 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 12 of 14 : 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 13 of 14 : 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 14 of 14 : 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);
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"string","name":"baseTokenURI","type":"string"}],"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":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"BoughtGold","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"BoughtRed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"BoughtSilver","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"GOLD_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RED_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SILVER_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyGold","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"buyRed","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"buySilver","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"string","name":"baseTokenURI","type":"string"}],"name":"changeBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"currentIssue","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"expirations","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"isExpired","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"enum RedlionSubscriptions.SubType","name":"subType","type":"uint8"}],"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":"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":"issue","type":"uint256"}],"name":"setCurrentIssue","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setGoldPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setRedPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setSilverPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint64","name":"red","type":"uint64"},{"internalType":"uint64","name":"gold","type":"uint64"},{"internalType":"uint64","name":"silver","type":"uint64"}],"name":"setWeeklyAllowance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","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":"weeklyAllowance","outputs":[{"internalType":"uint64","name":"red","type":"uint64"},{"internalType":"uint64","name":"gold","type":"uint64"},{"internalType":"uint64","name":"silver","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"whichType","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405267209ce08c962b0000600e556710a741a462780000600f55670853a0d2313c00006010553480156200003557600080fd5b5060405162004cec38038062004cec83398181016040528101906200005b9190620002c1565b82826200007d62000071620000d360201b60201c565b620000db60201b60201c565b8160019080519060200190620000959291906200019f565b508060029080519060200190620000ae9291906200019f565b50505080600c9080519060200190620000c99291906200019f565b5050505062000493565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620001ad90620003ff565b90600052602060002090601f016020900481019282620001d157600085556200021d565b82601f10620001ec57805160ff19168380011785556200021d565b828001600101855582156200021d579182015b828111156200021c578251825591602001919060010190620001ff565b5b5090506200022c919062000230565b5090565b5b808211156200024b57600081600090555060010162000231565b5090565b600062000266620002608462000396565b62000362565b9050828152602081018484840111156200027f57600080fd5b6200028c848285620003c9565b509392505050565b600082601f830112620002a657600080fd5b8151620002b88482602086016200024f565b91505092915050565b600080600060608486031215620002d757600080fd5b600084015167ffffffffffffffff811115620002f257600080fd5b620003008682870162000294565b935050602084015167ffffffffffffffff8111156200031e57600080fd5b6200032c8682870162000294565b925050604084015167ffffffffffffffff8111156200034a57600080fd5b620003588682870162000294565b9150509250925092565b6000604051905081810181811067ffffffffffffffff821117156200038c576200038b62000464565b5b8060405250919050565b600067ffffffffffffffff821115620003b457620003b362000464565b5b601f19601f8301169050602081019050919050565b60005b83811015620003e9578082015181840152602081019050620003cc565b83811115620003f9576000848401525b50505050565b600060028204905060018216806200041857607f821691505b602082108114156200042f576200042e62000435565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61484980620004a36000396000f3fe6080604052600436106102255760003560e01c80635dbc6d6c11610123578063acbe3600116100ab578063d7de57251161006f578063d7de5725146107a6578063d9548e53146107e3578063e157774814610820578063e985e9c514610849578063f2fde38b1461088657610225565b8063acbe3600146106af578063af8a110a146106d8578063b88d4fde14610703578063c251ddf81461072c578063c87b56dd1461076957610225565b80638281b3ac116100f25780638281b3ac146105fb5780638da5cb5b1461062657806395d89b41146106515780639d2ccd6b1461067c578063a22cb4651461068657610225565b80635dbc6d6c1461053f5780636352211e1461056a57806370a08231146105a7578063715018a6146105e457610225565b80632d02a5b2116101b15780633ccfd60b116101755780633ccfd60b1461048f57806342842e0e146104a65780634f6ccce7146104cf57806350a8be5c1461050c5780635aba2cea1461053557610225565b80632d02a5b2146103cd5780632f745c59146103f65780632f7b8af4146104335780633855c60d1461043d57806339a0c6f91461046657610225565b80631393f8bc116101f85780631393f8bc146102f857806313cabc7e1461032357806318160ddd1461034c57806323b872dd146103775780632ca1ec5d146103a057610225565b806301ffc9a71461022a57806306fdde0314610267578063081812fc14610292578063095ea7b3146102cf575b600080fd5b34801561023657600080fd5b50610251600480360381019061024c919061357c565b6108af565b60405161025e9190614005565b60405180910390f35b34801561027357600080fd5b5061027c6108c1565b6040516102899190614020565b60405180910390f35b34801561029e57600080fd5b506102b960048036038101906102b4919061360f565b610953565b6040516102c69190613f9e565b60405180910390f35b3480156102db57600080fd5b506102f660048036038101906102f19190613540565b6109d8565b005b34801561030457600080fd5b5061030d610af0565b60405161031a9190614342565b60405180910390f35b34801561032f57600080fd5b5061034a6004803603810190610345919061360f565b610af6565b005b34801561035857600080fd5b50610361610b7c565b60405161036e9190614342565b60405180910390f35b34801561038357600080fd5b5061039e600480360381019061039991906133fe565b610b89565b005b3480156103ac57600080fd5b506103b5610be9565b6040516103c49392919061435d565b60405180910390f35b3480156103d957600080fd5b506103f460048036038101906103ef919061360f565b610c3d565b005b34801561040257600080fd5b5061041d60048036038101906104189190613540565b610cc3565b60405161042a9190614342565b60405180910390f35b61043b610d68565b005b34801561044957600080fd5b50610464600480360381019061045f9190613504565b610ea5565b005b34801561047257600080fd5b5061048d600480360381019061048891906135ce565b61103f565b005b34801561049b57600080fd5b506104a46110d5565b005b3480156104b257600080fd5b506104cd60048036038101906104c891906133fe565b6111a7565b005b3480156104db57600080fd5b506104f660048036038101906104f1919061360f565b6111c7565b6040516105039190614342565b60405180910390f35b34801561051857600080fd5b50610533600480360381019061052e9190613638565b61125e565b005b61053d6113aa565b005b34801561054b57600080fd5b506105546114e7565b6040516105619190614342565b60405180910390f35b34801561057657600080fd5b50610591600480360381019061058c919061360f565b6114ed565b60405161059e9190613f9e565b60405180910390f35b3480156105b357600080fd5b506105ce60048036038101906105c99190613399565b61159f565b6040516105db9190614342565b60405180910390f35b3480156105f057600080fd5b506105f9611657565b005b34801561060757600080fd5b506106106116df565b60405161061d9190614342565b60405180910390f35b34801561063257600080fd5b5061063b6116e5565b6040516106489190613f9e565b60405180910390f35b34801561065d57600080fd5b5061066661170e565b6040516106739190614020565b60405180910390f35b6106846117a0565b005b34801561069257600080fd5b506106ad60048036038101906106a891906134c8565b6118de565b005b3480156106bb57600080fd5b506106d660048036038101906106d1919061360f565b611a5f565b005b3480156106e457600080fd5b506106ed611ae5565b6040516106fa9190614342565b60405180910390f35b34801561070f57600080fd5b5061072a6004803603810190610725919061344d565b611aeb565b005b34801561073857600080fd5b50610753600480360381019061074e919061360f565b611b4d565b6040516107609190614342565b60405180910390f35b34801561077557600080fd5b50610790600480360381019061078b919061360f565b611b65565b60405161079d9190614020565b60405180910390f35b3480156107b257600080fd5b506107cd60048036038101906107c8919061360f565b611c0c565b6040516107da9190614342565b60405180910390f35b3480156107ef57600080fd5b5061080a6004803603810190610805919061360f565b611c6e565b6040516108179190614005565b60405180910390f35b34801561082c57600080fd5b506108476004803603810190610842919061360f565b611c8d565b005b34801561085557600080fd5b50610870600480360381019061086b91906133c2565b611d13565b60405161087d9190614005565b60405180910390f35b34801561089257600080fd5b506108ad60048036038101906108a89190613399565b611da7565b005b60006108ba82611e9f565b9050919050565b6060600180546108d090614617565b80601f01602080910402602001604051908101604052809291908181526020018280546108fc90614617565b80156109495780601f1061091e57610100808354040283529160200191610949565b820191906000526020600020905b81548152906001019060200180831161092c57829003601f168201915b5050505050905090565b600061095e82611f19565b61099d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161099490614222565b60405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006109e3826114ed565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610a54576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a4b906142c2565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610a73611f85565b73ffffffffffffffffffffffffffffffffffffffff161480610aa25750610aa181610a9c611f85565b611d13565b5b610ae1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ad8906141a2565b60405180910390fd5b610aeb8383611f8d565b505050565b60115481565b610afe611f85565b73ffffffffffffffffffffffffffffffffffffffff16610b1c6116e5565b73ffffffffffffffffffffffffffffffffffffffff1614610b72576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b6990614242565b60405180910390fd5b8060108190555050565b6000600980549050905090565b610b9a610b94611f85565b82612046565b610bd9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bd0906142e2565b60405180910390fd5b610be4838383612124565b505050565b600d8060000160009054906101000a900467ffffffffffffffff16908060000160089054906101000a900467ffffffffffffffff16908060000160109054906101000a900467ffffffffffffffff16905083565b610c45611f85565b73ffffffffffffffffffffffffffffffffffffffff16610c636116e5565b73ffffffffffffffffffffffffffffffffffffffff1614610cb9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cb090614242565b60405180910390fd5b80600f8190555050565b6000610cce8361159f565b8210610d0f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d0690614062565b60405180910390fd5b600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b600f543414610dac576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610da390614182565b60405180910390fd5b6000600d60000160089054906101000a900467ffffffffffffffff1667ffffffffffffffff1611610e12576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e0990614322565b60405180910390fd5b600d600001600881819054906101000a900467ffffffffffffffff1680929190610e3b906145ed565b91906101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550506000610e733362eff1006001612380565b9050807febb1d390ebb689523e6db8e7cd4ff6c29dbd2d0c46ca62cce9dec6cb42b074fc60405160405180910390a250565b610ead611f85565b73ffffffffffffffffffffffffffffffffffffffff16610ecb6116e5565b73ffffffffffffffffffffffffffffffffffffffff1614610f21576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f1890614242565b60405180910390fd5b60006277f8809050600280811115610f62577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b826002811115610f9b577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415610fad576301dfe200905061102e565b60016002811115610fe7577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b826002811115611020577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b141561102d5762eff10090505b5b611039838284612380565b50505050565b611047611f85565b73ffffffffffffffffffffffffffffffffffffffff166110656116e5565b73ffffffffffffffffffffffffffffffffffffffff16146110bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110b290614242565b60405180910390fd5b80600c90805190602001906110d1929190613193565b5050565b6110dd611f85565b73ffffffffffffffffffffffffffffffffffffffff166110fb6116e5565b73ffffffffffffffffffffffffffffffffffffffff1614611151576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114890614242565b60405180910390fd5b600047905061115e6116e5565b73ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050501580156111a3573d6000803e3d6000fd5b5050565b6111c283838360405180602001604052806000815250611aeb565b505050565b60006111d1610b7c565b8210611212576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161120990614302565b60405180910390fd5b6009828154811061124c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b611266611f85565b73ffffffffffffffffffffffffffffffffffffffff166112846116e5565b73ffffffffffffffffffffffffffffffffffffffff16146112da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112d190614242565b60405180910390fd5b60405180606001604052808467ffffffffffffffff1681526020018367ffffffffffffffff1681526020018267ffffffffffffffff16815250600d60008201518160000160006101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060208201518160000160086101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060408201518160000160106101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550905050505050565b60105434146113ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113e590614042565b60405180910390fd5b6000600d60000160109054906101000a900467ffffffffffffffff1667ffffffffffffffff1611611454576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161144b90614102565b60405180910390fd5b600d600001601081819054906101000a900467ffffffffffffffff168092919061147d906145ed565b91906101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505060006114b5336277f8806000612380565b9050807f2d404057cd20e66771c206f5932e1ffeac805725825f7eb0946071ae76cf6da260405160405180910390a250565b60105481565b6000806003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611596576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161158d906141e2565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611610576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611607906141c2565b60405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61165f611f85565b73ffffffffffffffffffffffffffffffffffffffff1661167d6116e5565b73ffffffffffffffffffffffffffffffffffffffff16146116d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116ca90614242565b60405180910390fd5b6116dd6000612432565b565b600f5481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606002805461171d90614617565b80601f016020809104026020016040519081016040528092919081815260200182805461174990614617565b80156117965780601f1061176b57610100808354040283529160200191611796565b820191906000526020600020905b81548152906001019060200180831161177957829003601f168201915b5050505050905090565b600e5434146117e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117db906142a2565b60405180910390fd5b6000600d60000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff161161184a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611841906140c2565b60405180910390fd5b600d600001600081819054906101000a900467ffffffffffffffff1680929190611873906145ed565b91906101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505060006118ac336301dfe2006002612380565b9050807f50ac98855100f24f3aabe2910bc3bd55992d6425a7daef5be762324f7e6f158e60405160405180910390a250565b6118e6611f85565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611954576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161194b90614142565b60405180910390fd5b8060066000611961611f85565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611a0e611f85565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611a539190614005565b60405180910390a35050565b611a67611f85565b73ffffffffffffffffffffffffffffffffffffffff16611a856116e5565b73ffffffffffffffffffffffffffffffffffffffff1614611adb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ad290614242565b60405180910390fd5b8060118190555050565b600e5481565b611afc611af6611f85565b83612046565b611b3b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b32906142e2565b60405180910390fd5b611b47848484846124f6565b50505050565b60126020528060005260406000206000915090505481565b6060611b7082611f19565b611baf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ba690614282565b60405180910390fd5b6000611bb9612552565b90506000815111611bd95760405180602001604052806000815250611c04565b80611be3846125e4565b604051602001611bf4929190613f7a565b6040516020818303038152906040525b915050919050565b60006013600083815260200190815260200160002060009054906101000a900460ff166002811115611c67577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b9050919050565b6000426012600084815260200190815260200160002054109050919050565b611c95611f85565b73ffffffffffffffffffffffffffffffffffffffff16611cb36116e5565b73ffffffffffffffffffffffffffffffffffffffff1614611d09576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d0090614242565b60405180910390fd5b80600e8190555050565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611daf611f85565b73ffffffffffffffffffffffffffffffffffffffff16611dcd6116e5565b73ffffffffffffffffffffffffffffffffffffffff1614611e23576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e1a90614242565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611e93576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e8a906140a2565b60405180910390fd5b611e9c81612432565b50565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611f125750611f1182612791565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816005600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612000836114ed565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061205182611f19565b612090576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161208790614162565b60405180910390fd5b600061209b836114ed565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061210a57508373ffffffffffffffffffffffffffffffffffffffff166120f284610953565b73ffffffffffffffffffffffffffffffffffffffff16145b8061211b575061211a8185611d13565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612144826114ed565b73ffffffffffffffffffffffffffffffffffffffff161461219a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161219190614262565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561220a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161220190614122565b60405180910390fd5b612215838383612873565b612220600082611f8d565b6001600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461227091906144ef565b925050819055506001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546122c79190614468565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b60008061238d600b612883565b90506123998582612891565b83426123a59190614468565b6012600083815260200190815260200160002081905550826013600083815260200190815260200160002060006101000a81548160ff02191690836002811115612418577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b0217905550612427600b6128af565b809150509392505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612501848484612124565b61250d848484846128c5565b61254c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161254390614082565b60405180910390fd5b50505050565b6060600c805461256190614617565b80601f016020809104026020016040519081016040528092919081815260200182805461258d90614617565b80156125da5780601f106125af576101008083540402835291602001916125da565b820191906000526020600020905b8154815290600101906020018083116125bd57829003601f168201915b5050505050905090565b6060600082141561262c576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061278c565b600082905060005b6000821461265e57808061264790614649565b915050600a8261265791906144be565b9150612634565b60008167ffffffffffffffff8111156126a0577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156126d25781602001600182028036833780820191505090505b5090505b60008514612785576001826126eb91906144ef565b9150600a856126fa9190614692565b60306127069190614468565b60f81b818381518110612742577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561277e91906144be565b94506126d6565b8093505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061285c57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061286c575061286b82612a5c565b5b9050919050565b61287e838383612ac6565b505050565b600081600001549050919050565b6128ab828260405180602001604052806000815250612bda565b5050565b6001816000016000828254019250508190555050565b60006128e68473ffffffffffffffffffffffffffffffffffffffff16612c35565b15612a4f578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261290f611f85565b8786866040518563ffffffff1660e01b81526004016129319493929190613fb9565b602060405180830381600087803b15801561294b57600080fd5b505af192505050801561297c57506040513d601f19601f8201168201806040525081019061297991906135a5565b60015b6129ff573d80600081146129ac576040519150601f19603f3d011682016040523d82523d6000602084013e6129b1565b606091505b506000815114156129f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129ee90614082565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612a54565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612ad1838383612c48565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612b1457612b0f81612c4d565b612b53565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612b5257612b518382612c96565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612b9657612b9181612e03565b612bd5565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612bd457612bd38282612f46565b5b5b505050565b612be48383612fc5565b612bf160008484846128c5565b612c30576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c2790614082565b60405180910390fd5b505050565b600080823b905060008111915050919050565b505050565b600980549050600a600083815260200190815260200160002081905550600981908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612ca38461159f565b612cad91906144ef565b9050600060086000848152602001908152602001600020549050818114612d92576000600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816008600083815260200190815260200160002081905550505b6008600084815260200190815260200160002060009055600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600980549050612e1791906144ef565b90506000600a6000848152602001908152602001600020549050600060098381548110612e6d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060098381548110612eb5577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600a600083815260200190815260200160002081905550600a6000858152602001908152602001600020600090556009805480612f2a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000612f518361159f565b905081600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806008600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613035576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161302c90614202565b60405180910390fd5b61303e81611f19565b1561307e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613075906140e2565b60405180910390fd5b61308a60008383612873565b6001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546130da9190614468565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b82805461319f90614617565b90600052602060002090601f0160209004810192826131c15760008555613208565b82601f106131da57805160ff1916838001178555613208565b82800160010185558215613208579182015b828111156132075782518255916020019190600101906131ec565b5b5090506132159190613219565b5090565b5b8082111561323257600081600090555060010161321a565b5090565b6000613249613244846143c5565b614394565b90508281526020810184848401111561326157600080fd5b61326c8482856145ab565b509392505050565b6000613287613282846143f5565b614394565b90508281526020810184848401111561329f57600080fd5b6132aa8482856145ab565b509392505050565b6000813590506132c181614790565b92915050565b6000813590506132d6816147a7565b92915050565b6000813590506132eb816147be565b92915050565b600081519050613300816147be565b92915050565b600082601f83011261331757600080fd5b8135613327848260208601613236565b91505092915050565b60008135905061333f816147d5565b92915050565b600082601f83011261335657600080fd5b8135613366848260208601613274565b91505092915050565b60008135905061337e816147e5565b92915050565b600081359050613393816147fc565b92915050565b6000602082840312156133ab57600080fd5b60006133b9848285016132b2565b91505092915050565b600080604083850312156133d557600080fd5b60006133e3858286016132b2565b92505060206133f4858286016132b2565b9150509250929050565b60008060006060848603121561341357600080fd5b6000613421868287016132b2565b9350506020613432868287016132b2565b92505060406134438682870161336f565b9150509250925092565b6000806000806080858703121561346357600080fd5b6000613471878288016132b2565b9450506020613482878288016132b2565b93505060406134938782880161336f565b925050606085013567ffffffffffffffff8111156134b057600080fd5b6134bc87828801613306565b91505092959194509250565b600080604083850312156134db57600080fd5b60006134e9858286016132b2565b92505060206134fa858286016132c7565b9150509250929050565b6000806040838503121561351757600080fd5b6000613525858286016132b2565b925050602061353685828601613330565b9150509250929050565b6000806040838503121561355357600080fd5b6000613561858286016132b2565b92505060206135728582860161336f565b9150509250929050565b60006020828403121561358e57600080fd5b600061359c848285016132dc565b91505092915050565b6000602082840312156135b757600080fd5b60006135c5848285016132f1565b91505092915050565b6000602082840312156135e057600080fd5b600082013567ffffffffffffffff8111156135fa57600080fd5b61360684828501613345565b91505092915050565b60006020828403121561362157600080fd5b600061362f8482850161336f565b91505092915050565b60008060006060848603121561364d57600080fd5b600061365b86828701613384565b935050602061366c86828701613384565b925050604061367d86828701613384565b9150509250925092565b61369081614523565b82525050565b61369f81614535565b82525050565b60006136b082614425565b6136ba818561443b565b93506136ca8185602086016145ba565b6136d38161477f565b840191505092915050565b60006136e982614430565b6136f3818561444c565b93506137038185602086016145ba565b61370c8161477f565b840191505092915050565b600061372282614430565b61372c818561445d565b935061373c8185602086016145ba565b80840191505092915050565b6000613755601a8361444c565b91507f4255595f53494c5645523a505249434520494e434f52524543540000000000006000830152602082019050919050565b6000613795602b8361444c565b91507f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008301527f74206f6620626f756e64730000000000000000000000000000000000000000006020830152604082019050919050565b60006137fb60328361444c565b91507f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008301527f63656976657220696d706c656d656e74657200000000000000000000000000006020830152604082019050919050565b600061386160268361444c565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006138c760108361444c565b91507f4255595f5245443a534f4c44204f5554000000000000000000000000000000006000830152602082019050919050565b6000613907601c8361444c565b91507f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006000830152602082019050919050565b600061394760138361444c565b91507f4255595f53494c5645523a534f4c44204f5554000000000000000000000000006000830152602082019050919050565b600061398760248361444c565b91507f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006139ed60198361444c565b91507f4552433732313a20617070726f766520746f2063616c6c6572000000000000006000830152602082019050919050565b6000613a2d602c8361444c565b91507f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000613a9360188361444c565b91507f4255595f474f4c443a505249434520494e434f525245435400000000000000006000830152602082019050919050565b6000613ad360388361444c565b91507f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008301527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006020830152604082019050919050565b6000613b39602a8361444c565b91507f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008301527f726f2061646472657373000000000000000000000000000000000000000000006020830152604082019050919050565b6000613b9f60298361444c565b91507f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008301527f656e7420746f6b656e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000613c0560208361444c565b91507f4552433732313a206d696e7420746f20746865207a65726f20616464726573736000830152602082019050919050565b6000613c45602c8361444c565b91507f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000613cab60208361444c565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b6000613ceb60298361444c565b91507f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008301527f73206e6f74206f776e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000613d51602f8361444c565b91507f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008301527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006020830152604082019050919050565b6000613db760178361444c565b91507f4255595f5245443a505249434520494e434f52524543540000000000000000006000830152602082019050919050565b6000613df760218361444c565b91507f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008301527f72000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613e5d60318361444c565b91507f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008301527f776e6572206e6f7220617070726f7665640000000000000000000000000000006020830152604082019050919050565b6000613ec3602c8361444c565b91507f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008301527f7574206f6620626f756e647300000000000000000000000000000000000000006020830152604082019050919050565b6000613f2960118361444c565b91507f4255595f474f4c443a534f4c44204f55540000000000000000000000000000006000830152602082019050919050565b613f658161458d565b82525050565b613f7481614597565b82525050565b6000613f868285613717565b9150613f928284613717565b91508190509392505050565b6000602082019050613fb36000830184613687565b92915050565b6000608082019050613fce6000830187613687565b613fdb6020830186613687565b613fe86040830185613f5c565b8181036060830152613ffa81846136a5565b905095945050505050565b600060208201905061401a6000830184613696565b92915050565b6000602082019050818103600083015261403a81846136de565b905092915050565b6000602082019050818103600083015261405b81613748565b9050919050565b6000602082019050818103600083015261407b81613788565b9050919050565b6000602082019050818103600083015261409b816137ee565b9050919050565b600060208201905081810360008301526140bb81613854565b9050919050565b600060208201905081810360008301526140db816138ba565b9050919050565b600060208201905081810360008301526140fb816138fa565b9050919050565b6000602082019050818103600083015261411b8161393a565b9050919050565b6000602082019050818103600083015261413b8161397a565b9050919050565b6000602082019050818103600083015261415b816139e0565b9050919050565b6000602082019050818103600083015261417b81613a20565b9050919050565b6000602082019050818103600083015261419b81613a86565b9050919050565b600060208201905081810360008301526141bb81613ac6565b9050919050565b600060208201905081810360008301526141db81613b2c565b9050919050565b600060208201905081810360008301526141fb81613b92565b9050919050565b6000602082019050818103600083015261421b81613bf8565b9050919050565b6000602082019050818103600083015261423b81613c38565b9050919050565b6000602082019050818103600083015261425b81613c9e565b9050919050565b6000602082019050818103600083015261427b81613cde565b9050919050565b6000602082019050818103600083015261429b81613d44565b9050919050565b600060208201905081810360008301526142bb81613daa565b9050919050565b600060208201905081810360008301526142db81613dea565b9050919050565b600060208201905081810360008301526142fb81613e50565b9050919050565b6000602082019050818103600083015261431b81613eb6565b9050919050565b6000602082019050818103600083015261433b81613f1c565b9050919050565b60006020820190506143576000830184613f5c565b92915050565b60006060820190506143726000830186613f6b565b61437f6020830185613f6b565b61438c6040830184613f6b565b949350505050565b6000604051905081810181811067ffffffffffffffff821117156143bb576143ba614750565b5b8060405250919050565b600067ffffffffffffffff8211156143e0576143df614750565b5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff8211156144105761440f614750565b5b601f19601f8301169050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006144738261458d565b915061447e8361458d565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156144b3576144b26146c3565b5b828201905092915050565b60006144c98261458d565b91506144d48361458d565b9250826144e4576144e36146f2565b5b828204905092915050565b60006144fa8261458d565b91506145058361458d565b925082821015614518576145176146c3565b5b828203905092915050565b600061452e8261456d565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600067ffffffffffffffff82169050919050565b82818337600083830152505050565b60005b838110156145d85780820151818401526020810190506145bd565b838111156145e7576000848401525b50505050565b60006145f882614597565b9150600082141561460c5761460b6146c3565b5b600182039050919050565b6000600282049050600182168061462f57607f821691505b6020821081141561464357614642614721565b5b50919050565b60006146548261458d565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614687576146866146c3565b5b600182019050919050565b600061469d8261458d565b91506146a88361458d565b9250826146b8576146b76146f2565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b61479981614523565b81146147a457600080fd5b50565b6147b081614535565b81146147bb57600080fd5b50565b6147c781614541565b81146147d257600080fd5b50565b600381106147e257600080fd5b50565b6147ee8161458d565b81146147f957600080fd5b50565b61480581614597565b811461481057600080fd5b5056fea26469706673582212209ce2e1234fafcf1f51f1de87c9ef2df80c6134d8223c09cfbfa014f4a4119a5164736f6c63430008000033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000000155265646c696f6e20537562736372697074696f6e7300000000000000000000000000000000000000000000000000000000000000000000000000000000000006524c535542530000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002568747470733a2f2f7265646c696f6e2d6e66742e76657263656c2e6170702f746f6b656e2f000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106102255760003560e01c80635dbc6d6c11610123578063acbe3600116100ab578063d7de57251161006f578063d7de5725146107a6578063d9548e53146107e3578063e157774814610820578063e985e9c514610849578063f2fde38b1461088657610225565b8063acbe3600146106af578063af8a110a146106d8578063b88d4fde14610703578063c251ddf81461072c578063c87b56dd1461076957610225565b80638281b3ac116100f25780638281b3ac146105fb5780638da5cb5b1461062657806395d89b41146106515780639d2ccd6b1461067c578063a22cb4651461068657610225565b80635dbc6d6c1461053f5780636352211e1461056a57806370a08231146105a7578063715018a6146105e457610225565b80632d02a5b2116101b15780633ccfd60b116101755780633ccfd60b1461048f57806342842e0e146104a65780634f6ccce7146104cf57806350a8be5c1461050c5780635aba2cea1461053557610225565b80632d02a5b2146103cd5780632f745c59146103f65780632f7b8af4146104335780633855c60d1461043d57806339a0c6f91461046657610225565b80631393f8bc116101f85780631393f8bc146102f857806313cabc7e1461032357806318160ddd1461034c57806323b872dd146103775780632ca1ec5d146103a057610225565b806301ffc9a71461022a57806306fdde0314610267578063081812fc14610292578063095ea7b3146102cf575b600080fd5b34801561023657600080fd5b50610251600480360381019061024c919061357c565b6108af565b60405161025e9190614005565b60405180910390f35b34801561027357600080fd5b5061027c6108c1565b6040516102899190614020565b60405180910390f35b34801561029e57600080fd5b506102b960048036038101906102b4919061360f565b610953565b6040516102c69190613f9e565b60405180910390f35b3480156102db57600080fd5b506102f660048036038101906102f19190613540565b6109d8565b005b34801561030457600080fd5b5061030d610af0565b60405161031a9190614342565b60405180910390f35b34801561032f57600080fd5b5061034a6004803603810190610345919061360f565b610af6565b005b34801561035857600080fd5b50610361610b7c565b60405161036e9190614342565b60405180910390f35b34801561038357600080fd5b5061039e600480360381019061039991906133fe565b610b89565b005b3480156103ac57600080fd5b506103b5610be9565b6040516103c49392919061435d565b60405180910390f35b3480156103d957600080fd5b506103f460048036038101906103ef919061360f565b610c3d565b005b34801561040257600080fd5b5061041d60048036038101906104189190613540565b610cc3565b60405161042a9190614342565b60405180910390f35b61043b610d68565b005b34801561044957600080fd5b50610464600480360381019061045f9190613504565b610ea5565b005b34801561047257600080fd5b5061048d600480360381019061048891906135ce565b61103f565b005b34801561049b57600080fd5b506104a46110d5565b005b3480156104b257600080fd5b506104cd60048036038101906104c891906133fe565b6111a7565b005b3480156104db57600080fd5b506104f660048036038101906104f1919061360f565b6111c7565b6040516105039190614342565b60405180910390f35b34801561051857600080fd5b50610533600480360381019061052e9190613638565b61125e565b005b61053d6113aa565b005b34801561054b57600080fd5b506105546114e7565b6040516105619190614342565b60405180910390f35b34801561057657600080fd5b50610591600480360381019061058c919061360f565b6114ed565b60405161059e9190613f9e565b60405180910390f35b3480156105b357600080fd5b506105ce60048036038101906105c99190613399565b61159f565b6040516105db9190614342565b60405180910390f35b3480156105f057600080fd5b506105f9611657565b005b34801561060757600080fd5b506106106116df565b60405161061d9190614342565b60405180910390f35b34801561063257600080fd5b5061063b6116e5565b6040516106489190613f9e565b60405180910390f35b34801561065d57600080fd5b5061066661170e565b6040516106739190614020565b60405180910390f35b6106846117a0565b005b34801561069257600080fd5b506106ad60048036038101906106a891906134c8565b6118de565b005b3480156106bb57600080fd5b506106d660048036038101906106d1919061360f565b611a5f565b005b3480156106e457600080fd5b506106ed611ae5565b6040516106fa9190614342565b60405180910390f35b34801561070f57600080fd5b5061072a6004803603810190610725919061344d565b611aeb565b005b34801561073857600080fd5b50610753600480360381019061074e919061360f565b611b4d565b6040516107609190614342565b60405180910390f35b34801561077557600080fd5b50610790600480360381019061078b919061360f565b611b65565b60405161079d9190614020565b60405180910390f35b3480156107b257600080fd5b506107cd60048036038101906107c8919061360f565b611c0c565b6040516107da9190614342565b60405180910390f35b3480156107ef57600080fd5b5061080a6004803603810190610805919061360f565b611c6e565b6040516108179190614005565b60405180910390f35b34801561082c57600080fd5b506108476004803603810190610842919061360f565b611c8d565b005b34801561085557600080fd5b50610870600480360381019061086b91906133c2565b611d13565b60405161087d9190614005565b60405180910390f35b34801561089257600080fd5b506108ad60048036038101906108a89190613399565b611da7565b005b60006108ba82611e9f565b9050919050565b6060600180546108d090614617565b80601f01602080910402602001604051908101604052809291908181526020018280546108fc90614617565b80156109495780601f1061091e57610100808354040283529160200191610949565b820191906000526020600020905b81548152906001019060200180831161092c57829003601f168201915b5050505050905090565b600061095e82611f19565b61099d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161099490614222565b60405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006109e3826114ed565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610a54576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a4b906142c2565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610a73611f85565b73ffffffffffffffffffffffffffffffffffffffff161480610aa25750610aa181610a9c611f85565b611d13565b5b610ae1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ad8906141a2565b60405180910390fd5b610aeb8383611f8d565b505050565b60115481565b610afe611f85565b73ffffffffffffffffffffffffffffffffffffffff16610b1c6116e5565b73ffffffffffffffffffffffffffffffffffffffff1614610b72576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b6990614242565b60405180910390fd5b8060108190555050565b6000600980549050905090565b610b9a610b94611f85565b82612046565b610bd9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bd0906142e2565b60405180910390fd5b610be4838383612124565b505050565b600d8060000160009054906101000a900467ffffffffffffffff16908060000160089054906101000a900467ffffffffffffffff16908060000160109054906101000a900467ffffffffffffffff16905083565b610c45611f85565b73ffffffffffffffffffffffffffffffffffffffff16610c636116e5565b73ffffffffffffffffffffffffffffffffffffffff1614610cb9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cb090614242565b60405180910390fd5b80600f8190555050565b6000610cce8361159f565b8210610d0f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d0690614062565b60405180910390fd5b600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b600f543414610dac576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610da390614182565b60405180910390fd5b6000600d60000160089054906101000a900467ffffffffffffffff1667ffffffffffffffff1611610e12576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e0990614322565b60405180910390fd5b600d600001600881819054906101000a900467ffffffffffffffff1680929190610e3b906145ed565b91906101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550506000610e733362eff1006001612380565b9050807febb1d390ebb689523e6db8e7cd4ff6c29dbd2d0c46ca62cce9dec6cb42b074fc60405160405180910390a250565b610ead611f85565b73ffffffffffffffffffffffffffffffffffffffff16610ecb6116e5565b73ffffffffffffffffffffffffffffffffffffffff1614610f21576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f1890614242565b60405180910390fd5b60006277f8809050600280811115610f62577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b826002811115610f9b577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415610fad576301dfe200905061102e565b60016002811115610fe7577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b826002811115611020577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b141561102d5762eff10090505b5b611039838284612380565b50505050565b611047611f85565b73ffffffffffffffffffffffffffffffffffffffff166110656116e5565b73ffffffffffffffffffffffffffffffffffffffff16146110bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110b290614242565b60405180910390fd5b80600c90805190602001906110d1929190613193565b5050565b6110dd611f85565b73ffffffffffffffffffffffffffffffffffffffff166110fb6116e5565b73ffffffffffffffffffffffffffffffffffffffff1614611151576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114890614242565b60405180910390fd5b600047905061115e6116e5565b73ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050501580156111a3573d6000803e3d6000fd5b5050565b6111c283838360405180602001604052806000815250611aeb565b505050565b60006111d1610b7c565b8210611212576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161120990614302565b60405180910390fd5b6009828154811061124c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b611266611f85565b73ffffffffffffffffffffffffffffffffffffffff166112846116e5565b73ffffffffffffffffffffffffffffffffffffffff16146112da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112d190614242565b60405180910390fd5b60405180606001604052808467ffffffffffffffff1681526020018367ffffffffffffffff1681526020018267ffffffffffffffff16815250600d60008201518160000160006101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060208201518160000160086101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060408201518160000160106101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550905050505050565b60105434146113ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113e590614042565b60405180910390fd5b6000600d60000160109054906101000a900467ffffffffffffffff1667ffffffffffffffff1611611454576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161144b90614102565b60405180910390fd5b600d600001601081819054906101000a900467ffffffffffffffff168092919061147d906145ed565b91906101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505060006114b5336277f8806000612380565b9050807f2d404057cd20e66771c206f5932e1ffeac805725825f7eb0946071ae76cf6da260405160405180910390a250565b60105481565b6000806003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611596576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161158d906141e2565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611610576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611607906141c2565b60405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61165f611f85565b73ffffffffffffffffffffffffffffffffffffffff1661167d6116e5565b73ffffffffffffffffffffffffffffffffffffffff16146116d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116ca90614242565b60405180910390fd5b6116dd6000612432565b565b600f5481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606002805461171d90614617565b80601f016020809104026020016040519081016040528092919081815260200182805461174990614617565b80156117965780601f1061176b57610100808354040283529160200191611796565b820191906000526020600020905b81548152906001019060200180831161177957829003601f168201915b5050505050905090565b600e5434146117e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117db906142a2565b60405180910390fd5b6000600d60000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff161161184a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611841906140c2565b60405180910390fd5b600d600001600081819054906101000a900467ffffffffffffffff1680929190611873906145ed565b91906101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505060006118ac336301dfe2006002612380565b9050807f50ac98855100f24f3aabe2910bc3bd55992d6425a7daef5be762324f7e6f158e60405160405180910390a250565b6118e6611f85565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611954576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161194b90614142565b60405180910390fd5b8060066000611961611f85565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611a0e611f85565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611a539190614005565b60405180910390a35050565b611a67611f85565b73ffffffffffffffffffffffffffffffffffffffff16611a856116e5565b73ffffffffffffffffffffffffffffffffffffffff1614611adb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ad290614242565b60405180910390fd5b8060118190555050565b600e5481565b611afc611af6611f85565b83612046565b611b3b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b32906142e2565b60405180910390fd5b611b47848484846124f6565b50505050565b60126020528060005260406000206000915090505481565b6060611b7082611f19565b611baf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ba690614282565b60405180910390fd5b6000611bb9612552565b90506000815111611bd95760405180602001604052806000815250611c04565b80611be3846125e4565b604051602001611bf4929190613f7a565b6040516020818303038152906040525b915050919050565b60006013600083815260200190815260200160002060009054906101000a900460ff166002811115611c67577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b9050919050565b6000426012600084815260200190815260200160002054109050919050565b611c95611f85565b73ffffffffffffffffffffffffffffffffffffffff16611cb36116e5565b73ffffffffffffffffffffffffffffffffffffffff1614611d09576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d0090614242565b60405180910390fd5b80600e8190555050565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611daf611f85565b73ffffffffffffffffffffffffffffffffffffffff16611dcd6116e5565b73ffffffffffffffffffffffffffffffffffffffff1614611e23576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e1a90614242565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611e93576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e8a906140a2565b60405180910390fd5b611e9c81612432565b50565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611f125750611f1182612791565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816005600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612000836114ed565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061205182611f19565b612090576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161208790614162565b60405180910390fd5b600061209b836114ed565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061210a57508373ffffffffffffffffffffffffffffffffffffffff166120f284610953565b73ffffffffffffffffffffffffffffffffffffffff16145b8061211b575061211a8185611d13565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612144826114ed565b73ffffffffffffffffffffffffffffffffffffffff161461219a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161219190614262565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561220a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161220190614122565b60405180910390fd5b612215838383612873565b612220600082611f8d565b6001600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461227091906144ef565b925050819055506001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546122c79190614468565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b60008061238d600b612883565b90506123998582612891565b83426123a59190614468565b6012600083815260200190815260200160002081905550826013600083815260200190815260200160002060006101000a81548160ff02191690836002811115612418577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b0217905550612427600b6128af565b809150509392505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612501848484612124565b61250d848484846128c5565b61254c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161254390614082565b60405180910390fd5b50505050565b6060600c805461256190614617565b80601f016020809104026020016040519081016040528092919081815260200182805461258d90614617565b80156125da5780601f106125af576101008083540402835291602001916125da565b820191906000526020600020905b8154815290600101906020018083116125bd57829003601f168201915b5050505050905090565b6060600082141561262c576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061278c565b600082905060005b6000821461265e57808061264790614649565b915050600a8261265791906144be565b9150612634565b60008167ffffffffffffffff8111156126a0577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156126d25781602001600182028036833780820191505090505b5090505b60008514612785576001826126eb91906144ef565b9150600a856126fa9190614692565b60306127069190614468565b60f81b818381518110612742577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561277e91906144be565b94506126d6565b8093505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061285c57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061286c575061286b82612a5c565b5b9050919050565b61287e838383612ac6565b505050565b600081600001549050919050565b6128ab828260405180602001604052806000815250612bda565b5050565b6001816000016000828254019250508190555050565b60006128e68473ffffffffffffffffffffffffffffffffffffffff16612c35565b15612a4f578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261290f611f85565b8786866040518563ffffffff1660e01b81526004016129319493929190613fb9565b602060405180830381600087803b15801561294b57600080fd5b505af192505050801561297c57506040513d601f19601f8201168201806040525081019061297991906135a5565b60015b6129ff573d80600081146129ac576040519150601f19603f3d011682016040523d82523d6000602084013e6129b1565b606091505b506000815114156129f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129ee90614082565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612a54565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612ad1838383612c48565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612b1457612b0f81612c4d565b612b53565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612b5257612b518382612c96565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612b9657612b9181612e03565b612bd5565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612bd457612bd38282612f46565b5b5b505050565b612be48383612fc5565b612bf160008484846128c5565b612c30576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c2790614082565b60405180910390fd5b505050565b600080823b905060008111915050919050565b505050565b600980549050600a600083815260200190815260200160002081905550600981908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612ca38461159f565b612cad91906144ef565b9050600060086000848152602001908152602001600020549050818114612d92576000600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816008600083815260200190815260200160002081905550505b6008600084815260200190815260200160002060009055600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600980549050612e1791906144ef565b90506000600a6000848152602001908152602001600020549050600060098381548110612e6d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060098381548110612eb5577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600a600083815260200190815260200160002081905550600a6000858152602001908152602001600020600090556009805480612f2a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000612f518361159f565b905081600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806008600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613035576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161302c90614202565b60405180910390fd5b61303e81611f19565b1561307e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613075906140e2565b60405180910390fd5b61308a60008383612873565b6001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546130da9190614468565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b82805461319f90614617565b90600052602060002090601f0160209004810192826131c15760008555613208565b82601f106131da57805160ff1916838001178555613208565b82800160010185558215613208579182015b828111156132075782518255916020019190600101906131ec565b5b5090506132159190613219565b5090565b5b8082111561323257600081600090555060010161321a565b5090565b6000613249613244846143c5565b614394565b90508281526020810184848401111561326157600080fd5b61326c8482856145ab565b509392505050565b6000613287613282846143f5565b614394565b90508281526020810184848401111561329f57600080fd5b6132aa8482856145ab565b509392505050565b6000813590506132c181614790565b92915050565b6000813590506132d6816147a7565b92915050565b6000813590506132eb816147be565b92915050565b600081519050613300816147be565b92915050565b600082601f83011261331757600080fd5b8135613327848260208601613236565b91505092915050565b60008135905061333f816147d5565b92915050565b600082601f83011261335657600080fd5b8135613366848260208601613274565b91505092915050565b60008135905061337e816147e5565b92915050565b600081359050613393816147fc565b92915050565b6000602082840312156133ab57600080fd5b60006133b9848285016132b2565b91505092915050565b600080604083850312156133d557600080fd5b60006133e3858286016132b2565b92505060206133f4858286016132b2565b9150509250929050565b60008060006060848603121561341357600080fd5b6000613421868287016132b2565b9350506020613432868287016132b2565b92505060406134438682870161336f565b9150509250925092565b6000806000806080858703121561346357600080fd5b6000613471878288016132b2565b9450506020613482878288016132b2565b93505060406134938782880161336f565b925050606085013567ffffffffffffffff8111156134b057600080fd5b6134bc87828801613306565b91505092959194509250565b600080604083850312156134db57600080fd5b60006134e9858286016132b2565b92505060206134fa858286016132c7565b9150509250929050565b6000806040838503121561351757600080fd5b6000613525858286016132b2565b925050602061353685828601613330565b9150509250929050565b6000806040838503121561355357600080fd5b6000613561858286016132b2565b92505060206135728582860161336f565b9150509250929050565b60006020828403121561358e57600080fd5b600061359c848285016132dc565b91505092915050565b6000602082840312156135b757600080fd5b60006135c5848285016132f1565b91505092915050565b6000602082840312156135e057600080fd5b600082013567ffffffffffffffff8111156135fa57600080fd5b61360684828501613345565b91505092915050565b60006020828403121561362157600080fd5b600061362f8482850161336f565b91505092915050565b60008060006060848603121561364d57600080fd5b600061365b86828701613384565b935050602061366c86828701613384565b925050604061367d86828701613384565b9150509250925092565b61369081614523565b82525050565b61369f81614535565b82525050565b60006136b082614425565b6136ba818561443b565b93506136ca8185602086016145ba565b6136d38161477f565b840191505092915050565b60006136e982614430565b6136f3818561444c565b93506137038185602086016145ba565b61370c8161477f565b840191505092915050565b600061372282614430565b61372c818561445d565b935061373c8185602086016145ba565b80840191505092915050565b6000613755601a8361444c565b91507f4255595f53494c5645523a505249434520494e434f52524543540000000000006000830152602082019050919050565b6000613795602b8361444c565b91507f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008301527f74206f6620626f756e64730000000000000000000000000000000000000000006020830152604082019050919050565b60006137fb60328361444c565b91507f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008301527f63656976657220696d706c656d656e74657200000000000000000000000000006020830152604082019050919050565b600061386160268361444c565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006138c760108361444c565b91507f4255595f5245443a534f4c44204f5554000000000000000000000000000000006000830152602082019050919050565b6000613907601c8361444c565b91507f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006000830152602082019050919050565b600061394760138361444c565b91507f4255595f53494c5645523a534f4c44204f5554000000000000000000000000006000830152602082019050919050565b600061398760248361444c565b91507f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006139ed60198361444c565b91507f4552433732313a20617070726f766520746f2063616c6c6572000000000000006000830152602082019050919050565b6000613a2d602c8361444c565b91507f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000613a9360188361444c565b91507f4255595f474f4c443a505249434520494e434f525245435400000000000000006000830152602082019050919050565b6000613ad360388361444c565b91507f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008301527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006020830152604082019050919050565b6000613b39602a8361444c565b91507f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008301527f726f2061646472657373000000000000000000000000000000000000000000006020830152604082019050919050565b6000613b9f60298361444c565b91507f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008301527f656e7420746f6b656e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000613c0560208361444c565b91507f4552433732313a206d696e7420746f20746865207a65726f20616464726573736000830152602082019050919050565b6000613c45602c8361444c565b91507f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000613cab60208361444c565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b6000613ceb60298361444c565b91507f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008301527f73206e6f74206f776e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000613d51602f8361444c565b91507f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008301527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006020830152604082019050919050565b6000613db760178361444c565b91507f4255595f5245443a505249434520494e434f52524543540000000000000000006000830152602082019050919050565b6000613df760218361444c565b91507f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008301527f72000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613e5d60318361444c565b91507f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008301527f776e6572206e6f7220617070726f7665640000000000000000000000000000006020830152604082019050919050565b6000613ec3602c8361444c565b91507f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008301527f7574206f6620626f756e647300000000000000000000000000000000000000006020830152604082019050919050565b6000613f2960118361444c565b91507f4255595f474f4c443a534f4c44204f55540000000000000000000000000000006000830152602082019050919050565b613f658161458d565b82525050565b613f7481614597565b82525050565b6000613f868285613717565b9150613f928284613717565b91508190509392505050565b6000602082019050613fb36000830184613687565b92915050565b6000608082019050613fce6000830187613687565b613fdb6020830186613687565b613fe86040830185613f5c565b8181036060830152613ffa81846136a5565b905095945050505050565b600060208201905061401a6000830184613696565b92915050565b6000602082019050818103600083015261403a81846136de565b905092915050565b6000602082019050818103600083015261405b81613748565b9050919050565b6000602082019050818103600083015261407b81613788565b9050919050565b6000602082019050818103600083015261409b816137ee565b9050919050565b600060208201905081810360008301526140bb81613854565b9050919050565b600060208201905081810360008301526140db816138ba565b9050919050565b600060208201905081810360008301526140fb816138fa565b9050919050565b6000602082019050818103600083015261411b8161393a565b9050919050565b6000602082019050818103600083015261413b8161397a565b9050919050565b6000602082019050818103600083015261415b816139e0565b9050919050565b6000602082019050818103600083015261417b81613a20565b9050919050565b6000602082019050818103600083015261419b81613a86565b9050919050565b600060208201905081810360008301526141bb81613ac6565b9050919050565b600060208201905081810360008301526141db81613b2c565b9050919050565b600060208201905081810360008301526141fb81613b92565b9050919050565b6000602082019050818103600083015261421b81613bf8565b9050919050565b6000602082019050818103600083015261423b81613c38565b9050919050565b6000602082019050818103600083015261425b81613c9e565b9050919050565b6000602082019050818103600083015261427b81613cde565b9050919050565b6000602082019050818103600083015261429b81613d44565b9050919050565b600060208201905081810360008301526142bb81613daa565b9050919050565b600060208201905081810360008301526142db81613dea565b9050919050565b600060208201905081810360008301526142fb81613e50565b9050919050565b6000602082019050818103600083015261431b81613eb6565b9050919050565b6000602082019050818103600083015261433b81613f1c565b9050919050565b60006020820190506143576000830184613f5c565b92915050565b60006060820190506143726000830186613f6b565b61437f6020830185613f6b565b61438c6040830184613f6b565b949350505050565b6000604051905081810181811067ffffffffffffffff821117156143bb576143ba614750565b5b8060405250919050565b600067ffffffffffffffff8211156143e0576143df614750565b5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff8211156144105761440f614750565b5b601f19601f8301169050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006144738261458d565b915061447e8361458d565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156144b3576144b26146c3565b5b828201905092915050565b60006144c98261458d565b91506144d48361458d565b9250826144e4576144e36146f2565b5b828204905092915050565b60006144fa8261458d565b91506145058361458d565b925082821015614518576145176146c3565b5b828203905092915050565b600061452e8261456d565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600067ffffffffffffffff82169050919050565b82818337600083830152505050565b60005b838110156145d85780820151818401526020810190506145bd565b838111156145e7576000848401525b50505050565b60006145f882614597565b9150600082141561460c5761460b6146c3565b5b600182039050919050565b6000600282049050600182168061462f57607f821691505b6020821081141561464357614642614721565b5b50919050565b60006146548261458d565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614687576146866146c3565b5b600182019050919050565b600061469d8261458d565b91506146a88361458d565b9250826146b8576146b76146f2565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b61479981614523565b81146147a457600080fd5b50565b6147b081614535565b81146147bb57600080fd5b50565b6147c781614541565b81146147d257600080fd5b50565b600381106147e257600080fd5b50565b6147ee8161458d565b81146147f957600080fd5b50565b61480581614597565b811461481057600080fd5b5056fea26469706673582212209ce2e1234fafcf1f51f1de87c9ef2df80c6134d8223c09cfbfa014f4a4119a5164736f6c63430008000033

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

000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000000155265646c696f6e20537562736372697074696f6e7300000000000000000000000000000000000000000000000000000000000000000000000000000000000006524c535542530000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002568747470733a2f2f7265646c696f6e2d6e66742e76657263656c2e6170702f746f6b656e2f000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : name (string): Redlion Subscriptions
Arg [1] : symbol (string): RLSUBS
Arg [2] : baseTokenURI (string): https://redlion-nft.vercel.app/token/

-----Encoded View---------------
10 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000015
Arg [4] : 5265646c696f6e20537562736372697074696f6e730000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [6] : 524c535542530000000000000000000000000000000000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000025
Arg [8] : 68747470733a2f2f7265646c696f6e2d6e66742e76657263656c2e6170702f74
Arg [9] : 6f6b656e2f000000000000000000000000000000000000000000000000000000


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.