ETH Price: $2,892.06 (+0.65%)
 

Overview

Max Total Supply

82 XENFX

Holders

81

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 XENFX
0xa5cbc0527dfad99de5035ade61fc2caa3d3e6339
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
XenFlex

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 13 : XenFlex.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

import "@openzeppelin/[email protected]/token/ERC721/ERC721.sol";
import "@openzeppelin/[email protected]/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/[email protected]/access/Ownable.sol";

interface IERC20 {
    function totalSupply() external view returns (uint256);

    function balanceOf(address account) external view returns (uint256);

    function transfer(address recipient, uint256 amount)
        external
        returns (bool);

    function allowance(address owner, address spender)
        external
        view
        returns (uint256);

    function approve(address spender, uint256 amount) external returns (bool);

    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) external returns (bool);

    event Transfer(address indexed from, address indexed to, uint256 value);
    event Approval(
        address indexed owner,
        address indexed spender,
        uint256 value
    );
}

interface IXENCrypto {
    // INTERNAL TYPE TO DESCRIBE A XEN MINT INFO
    struct MintInfo {
        address user;
        uint256 term;
        uint256 maturityTs;
        uint256 rank;
        uint256 amplifier;
        uint256 eaaRate;
    }

    //get user Mints
    function userMints(address user) external view returns (MintInfo memory);
}

contract XenFlex is ERC721, ERC721Enumerable, Ownable {
    constructor() ERC721("XENFLEX", "XENFX") {}

    //Xen Contract Address
    address public constant XenContractAddress =
        0x06450dEe7FD2Fb8E39061434BAbCFC05599a6Fb8;
    // Base URI
    string private _baseURL =
        "https://xenflex.blob.core.windows.net/nft-metadata/";

    /**
     * @dev This is the Minting NFT Functions_setBaseURI}.
     * Requires User to have an active Mint on Xen
     * Mints nft with the index of the Users current cRank
     */

    function mintNft() public {
        // Require User To have a active CRank
        require(getUserCRank() > 0, "XEN: You do not have a cRank");
        _safeMint(msg.sender, getUserCRank());
    }

    // The following functions are for setting and viewing the baseURI

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

    /**
     * @dev Returns the base URI set via {_setBaseURI}. This will be
     * automatically added as a prefix in {tokenURI} to each token's URI, or
     * to the token ID if no specific URI is set for that token ID.
     */

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

    function setBaseURI(string memory bURI) public onlyOwner {
        _setBaseURI(bURI);
    }

    /**
     * @dev Internal function to set the base URI for all token IDs. It is
     * automatically added as a prefix to the value returned in {tokenURI},
     * or to the token ID if {tokenURI} is empty.
     */

    function _setBaseURI(string memory baseURI_) internal virtual {
        _baseURL = baseURI_;
    }

    // The following functions get any users Xen minting info

    function getAddressInfo(address userAddress)
        public
        view
        returns (IXENCrypto.MintInfo memory)
    {
        IXENCrypto.MintInfo memory _userInfo = IXENCrypto(XenContractAddress)
            .userMints(userAddress);
        return _userInfo;
    }

    // The following functions get the current users Xen minting info

    function getUserInfo() public view returns (IXENCrypto.MintInfo memory) {
        IXENCrypto.MintInfo memory _userInfo = IXENCrypto(XenContractAddress)
            .userMints(msg.sender);
        return _userInfo;
    }

    // Get the users Current CRank

    function getUserCRank() public view returns (uint256) {
        IXENCrypto.MintInfo memory _userInfo = IXENCrypto(XenContractAddress)
            .userMints(msg.sender);
        uint256 userCrank = _userInfo.rank;
        return userCrank;
    }

    // The following functions are overrides required by Solidity.

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

    function supportsInterface(bytes4 interfaceId)
        public
        view
        override(ERC721, ERC721Enumerable)
        returns (bool)
    {
        return super.supportsInterface(interfaceId);
    }
}

File 2 of 13 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

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

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

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

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

File 3 of 13 : ERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Enumerable.sol)

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 13 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/ERC721.sol)

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: address zero is not a valid owner");
        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: invalid token ID");
        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) {
        _requireMinted(tokenId);

        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 overridden 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 token owner nor approved for all"
        );

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        _requireMinted(tokenId);

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        _setApprovalForAll(_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: caller is not token 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: caller is not token 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) {
        address owner = ERC721.ownerOf(tokenId);
        return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == 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);

        _afterTokenTransfer(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);

        _afterTokenTransfer(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 from incorrect owner");
        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);

        _afterTokenTransfer(from, to, tokenId);
    }

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

    /**
     * @dev Approve `operator` to operate on all of `owner` tokens
     *
     * Emits an {ApprovalForAll} event.
     */
    function _setApprovalForAll(
        address owner,
        address operator,
        bool approved
    ) internal virtual {
        require(owner != operator, "ERC721: approve to caller");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

    /**
     * @dev Reverts if the `tokenId` has not been minted yet.
     */
    function _requireMinted(uint256 tokenId) internal view virtual {
        require(_exists(tokenId), "ERC721: invalid token ID");
    }

    /**
     * @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 {
                    /// @solidity memory-safe-assembly
                    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 {}

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}
}

File 5 of 13 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol)

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

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

File 6 of 13 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

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 7 of 13 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

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

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

    /**
     * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation.
     */
    function toHexString(address addr) internal pure returns (string memory) {
        return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH);
    }
}

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

pragma solidity ^0.8.0;

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

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

File 9 of 13 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @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
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 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
                /// @solidity memory-safe-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 10 of 13 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)

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 11 of 13 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol)

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 `IERC721Receiver.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

File 12 of 13 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/IERC721.sol)

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`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes calldata data
    ) external;

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

    /**
     * @dev Transfers `tokenId` token from `from` to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Gives permission to `to` to transfer `tokenId` token to another account.
     * The approval is cleared when the token is transferred.
     *
     * Only a single account can be approved at a time, so approving the zero address clears previous approvals.
     *
     * Requirements:
     *
     * - The caller must own the token or be an approved operator.
     * - `tokenId` must exist.
     *
     * Emits an {Approval} event.
     */
    function approve(address to, uint256 tokenId) external;

    /**
     * @dev Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool _approved) external;

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

    /**
     * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
     *
     * See {setApprovalForAll}
     */
    function isApprovedForAll(address owner, address operator) external view returns (bool);
}

File 13 of 13 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

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);
}

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

Contract Security Audit

Contract ABI

[{"inputs":[],"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":"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":"XenContractAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"userAddress","type":"address"}],"name":"getAddressInfo","outputs":[{"components":[{"internalType":"address","name":"user","type":"address"},{"internalType":"uint256","name":"term","type":"uint256"},{"internalType":"uint256","name":"maturityTs","type":"uint256"},{"internalType":"uint256","name":"rank","type":"uint256"},{"internalType":"uint256","name":"amplifier","type":"uint256"},{"internalType":"uint256","name":"eaaRate","type":"uint256"}],"internalType":"struct IXENCrypto.MintInfo","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getUserCRank","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getUserInfo","outputs":[{"components":[{"internalType":"address","name":"user","type":"address"},{"internalType":"uint256","name":"term","type":"uint256"},{"internalType":"uint256","name":"maturityTs","type":"uint256"},{"internalType":"uint256","name":"rank","type":"uint256"},{"internalType":"uint256","name":"amplifier","type":"uint256"},{"internalType":"uint256","name":"eaaRate","type":"uint256"}],"internalType":"struct IXENCrypto.MintInfo","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintNft","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"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":"string","name":"bURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"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"}]

608060405260405180606001604052806033815260200162003b7460339139600b908051906020019062000035929190620001d8565b503480156200004357600080fd5b506040518060400160405280600781526020017f58454e464c4558000000000000000000000000000000000000000000000000008152506040518060400160405280600581526020017f58454e46580000000000000000000000000000000000000000000000000000008152508160009080519060200190620000c8929190620001d8565b508060019080519060200190620000e1929190620001d8565b50505062000104620000f86200010a60201b60201c565b6200011260201b60201c565b620002ed565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620001e69062000288565b90600052602060002090601f0160209004810192826200020a576000855562000256565b82601f106200022557805160ff191683800117855562000256565b8280016001018555821562000256579182015b828111156200025557825182559160200191906001019062000238565b5b50905062000265919062000269565b5090565b5b80821115620002845760008160009055506001016200026a565b5090565b60006002820490506001821680620002a157607f821691505b60208210811415620002b857620002b7620002be565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b61387780620002fd6000396000f3fe608060405234801561001057600080fd5b506004361061018e5760003560e01c80636c0360eb116100de578063b88d4fde11610097578063d93d31af11610071578063d93d31af14610471578063e985e9c51461048f578063ebb00796146104bf578063f2fde38b146104ef5761018e565b8063b88d4fde1461041b578063c2229fea14610437578063c87b56dd146104415761018e565b80636c0360eb1461036b57806370a0823114610389578063715018a6146103b95780638da5cb5b146103c357806395d89b41146103e1578063a22cb465146103ff5761018e565b80632f745c591161014b5780634f6ccce7116101255780634f6ccce7146102d157806355f804b3146103015780635d8d15851461031d5780636352211e1461033b5761018e565b80632f745c5914610267578063312d0bf61461029757806342842e0e146102b55761018e565b806301ffc9a71461019357806306fdde03146101c3578063081812fc146101e1578063095ea7b31461021157806318160ddd1461022d57806323b872dd1461024b575b600080fd5b6101ad60048036038101906101a891906127e9565b61050b565b6040516101ba9190612d0a565b60405180910390f35b6101cb61051d565b6040516101d89190612d25565b60405180910390f35b6101fb60048036038101906101f691906128b9565b6105af565b6040516102089190612ca3565b60405180910390f35b61022b600480360381019061022691906127a9565b6105f5565b005b61023561070d565b6040516102429190612f62565b60405180910390f35b61026560048036038101906102609190612693565b61071a565b005b610281600480360381019061027c91906127a9565b61077a565b60405161028e9190612f62565b60405180910390f35b61029f61081f565b6040516102ac9190612f62565b60405180910390f35b6102cf60048036038101906102ca9190612693565b6108d2565b005b6102eb60048036038101906102e691906128b9565b6108f2565b6040516102f89190612f62565b60405180910390f35b61031b60048036038101906103169190612843565b610963565b005b610325610977565b6040516103329190612f47565b60405180910390f35b610355600480360381019061035091906128b9565b610a27565b6040516103629190612ca3565b60405180910390f35b610373610ad9565b6040516103809190612d25565b60405180910390f35b6103a3600480360381019061039e9190612626565b610ae8565b6040516103b09190612f62565b60405180910390f35b6103c1610ba0565b005b6103cb610bb4565b6040516103d89190612ca3565b60405180910390f35b6103e9610bde565b6040516103f69190612d25565b60405180910390f35b61041960048036038101906104149190612769565b610c70565b005b610435600480360381019061043091906126e6565b610c86565b005b61043f610ce8565b005b61045b600480360381019061045691906128b9565b610d45565b6040516104689190612d25565b60405180910390f35b610479610dad565b6040516104869190612ca3565b60405180910390f35b6104a960048036038101906104a49190612653565b610dc5565b6040516104b69190612d0a565b60405180910390f35b6104d960048036038101906104d49190612626565b610e59565b6040516104e69190612f47565b60405180910390f35b61050960048036038101906105049190612626565b610f0b565b005b600061051682610f8f565b9050919050565b60606000805461052c906131b8565b80601f0160208091040260200160405190810160405280929190818152602001828054610558906131b8565b80156105a55780601f1061057a576101008083540402835291602001916105a5565b820191906000526020600020905b81548152906001019060200180831161058857829003601f168201915b5050505050905090565b60006105ba82611009565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061060082610a27565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610671576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161066890612ec7565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610690611054565b73ffffffffffffffffffffffffffffffffffffffff1614806106bf57506106be816106b9611054565b610dc5565b5b6106fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106f590612e47565b60405180910390fd5b610708838361105c565b505050565b6000600880549050905090565b61072b610725611054565b82611115565b61076a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161076190612f07565b60405180910390fd5b6107758383836111aa565b505050565b600061078583610ae8565b82106107c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107bd90612d47565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b6000807306450dee7fd2fb8e39061434babcfc05599a6fb873ffffffffffffffffffffffffffffffffffffffff1663df282331336040518263ffffffff1660e01b815260040161086f9190612ca3565b60c06040518083038186803b15801561088757600080fd5b505afa15801561089b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108bf919061288c565b9050600081606001519050809250505090565b6108ed83838360405180602001604052806000815250610c86565b505050565b60006108fc61070d565b821061093d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161093490612ee7565b60405180910390fd5b6008828154811061095157610950613351565b5b90600052602060002001549050919050565b61096b611411565b6109748161148f565b50565b61097f612324565b60007306450dee7fd2fb8e39061434babcfc05599a6fb873ffffffffffffffffffffffffffffffffffffffff1663df282331336040518263ffffffff1660e01b81526004016109ce9190612ca3565b60c06040518083038186803b1580156109e657600080fd5b505afa1580156109fa573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a1e919061288c565b90508091505090565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610ad0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ac790612ea7565b60405180910390fd5b80915050919050565b6060610ae36114a9565b905090565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610b59576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b5090612e27565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610ba8611411565b610bb2600061153b565b565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054610bed906131b8565b80601f0160208091040260200160405190810160405280929190818152602001828054610c19906131b8565b8015610c665780601f10610c3b57610100808354040283529160200191610c66565b820191906000526020600020905b815481529060010190602001808311610c4957829003601f168201915b5050505050905090565b610c82610c7b611054565b8383611601565b5050565b610c97610c91611054565b83611115565b610cd6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ccd90612f07565b60405180910390fd5b610ce28484848461176e565b50505050565b6000610cf261081f565b11610d32576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d2990612f27565b60405180910390fd5b610d4333610d3e61081f565b6117ca565b565b6060610d5082611009565b6000610d5a6114a9565b90506000815111610d7a5760405180602001604052806000815250610da5565b80610d84846117e8565b604051602001610d95929190612c7f565b6040516020818303038152906040525b915050919050565b7306450dee7fd2fb8e39061434babcfc05599a6fb881565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b610e61612324565b60007306450dee7fd2fb8e39061434babcfc05599a6fb873ffffffffffffffffffffffffffffffffffffffff1663df282331846040518263ffffffff1660e01b8152600401610eb09190612ca3565b60c06040518083038186803b158015610ec857600080fd5b505afa158015610edc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f00919061288c565b905080915050919050565b610f13611411565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610f83576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f7a90612d87565b60405180910390fd5b610f8c8161153b565b50565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611002575061100182611949565b5b9050919050565b61101281611a2b565b611051576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161104890612ea7565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166110cf83610a27565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008061112183610a27565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061116357506111628185610dc5565b5b806111a157508373ffffffffffffffffffffffffffffffffffffffff16611189846105af565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166111ca82610a27565b73ffffffffffffffffffffffffffffffffffffffff1614611220576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161121790612da7565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611290576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161128790612de7565b60405180910390fd5b61129b838383611a97565b6112a660008261105c565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546112f691906130ce565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461134d9190613047565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461140c838383611aa7565b505050565b611419611054565b73ffffffffffffffffffffffffffffffffffffffff16611437610bb4565b73ffffffffffffffffffffffffffffffffffffffff161461148d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161148490612e87565b60405180910390fd5b565b80600b90805190602001906114a5929190612370565b5050565b6060600b80546114b8906131b8565b80601f01602080910402602001604051908101604052809291908181526020018280546114e4906131b8565b80156115315780601f1061150657610100808354040283529160200191611531565b820191906000526020600020905b81548152906001019060200180831161151457829003601f168201915b5050505050905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611670576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161166790612e07565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516117619190612d0a565b60405180910390a3505050565b6117798484846111aa565b61178584848484611aac565b6117c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117bb90612d67565b60405180910390fd5b50505050565b6117e4828260405180602001604052806000815250611c43565b5050565b60606000821415611830576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050611944565b600082905060005b6000821461186257808061184b9061321b565b915050600a8261185b919061309d565b9150611838565b60008167ffffffffffffffff81111561187e5761187d613380565b5b6040519080825280601f01601f1916602001820160405280156118b05781602001600182028036833780820191505090505b5090505b6000851461193d576001826118c991906130ce565b9150600a856118d89190613264565b60306118e49190613047565b60f81b8183815181106118fa576118f9613351565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85611936919061309d565b94506118b4565b8093505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611a1457507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611a245750611a2382611c9e565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b611aa2838383611d08565b505050565b505050565b6000611acd8473ffffffffffffffffffffffffffffffffffffffff16611e1c565b15611c36578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02611af6611054565b8786866040518563ffffffff1660e01b8152600401611b189493929190612cbe565b602060405180830381600087803b158015611b3257600080fd5b505af1925050508015611b6357506040513d601f19601f82011682018060405250810190611b609190612816565b60015b611be6573d8060008114611b93576040519150601f19603f3d011682016040523d82523d6000602084013e611b98565b606091505b50600081511415611bde576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bd590612d67565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050611c3b565b600190505b949350505050565b611c4d8383611e3f565b611c5a6000848484611aac565b611c99576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c9090612d67565b60405180910390fd5b505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b611d13838383612019565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611d5657611d518161201e565b611d95565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614611d9457611d938382612067565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611dd857611dd3816121d4565b611e17565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614611e1657611e1582826122a5565b5b5b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611eaf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ea690612e67565b60405180910390fd5b611eb881611a2b565b15611ef8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eef90612dc7565b60405180910390fd5b611f0460008383611a97565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611f549190613047565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461201560008383611aa7565b5050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161207484610ae8565b61207e91906130ce565b9050600060076000848152602001908152602001600020549050818114612163576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506121e891906130ce565b905060006009600084815260200190815260200160002054905060006008838154811061221857612217613351565b5b90600052602060002001549050806008838154811061223a57612239613351565b5b90600052602060002001819055508160096000838152602001908152602001600020819055506009600085815260200190815260200160002060009055600880548061228957612288613322565b5b6001900381819060005260206000200160009055905550505050565b60006122b083610ae8565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b6040518060c00160405280600073ffffffffffffffffffffffffffffffffffffffff16815260200160008152602001600081526020016000815260200160008152602001600081525090565b82805461237c906131b8565b90600052602060002090601f01602090048101928261239e57600085556123e5565b82601f106123b757805160ff19168380011785556123e5565b828001600101855582156123e5579182015b828111156123e45782518255916020019190600101906123c9565b5b5090506123f291906123f6565b5090565b5b8082111561240f5760008160009055506001016123f7565b5090565b600061242661242184612fa2565b612f7d565b905082815260208101848484011115612442576124416133b9565b5b61244d848285613176565b509392505050565b600061246861246384612fd3565b612f7d565b905082815260208101848484011115612484576124836133b9565b5b61248f848285613176565b509392505050565b6000813590506124a6816137e5565b92915050565b6000815190506124bb816137e5565b92915050565b6000813590506124d0816137fc565b92915050565b6000813590506124e581613813565b92915050565b6000815190506124fa81613813565b92915050565b600082601f830112612515576125146133af565b5b8135612525848260208601612413565b91505092915050565b600082601f830112612543576125426133af565b5b8135612553848260208601612455565b91505092915050565b600060c08284031215612572576125716133b4565b5b61257c60c0612f7d565b9050600061258c848285016124ac565b60008301525060206125a084828501612611565b60208301525060406125b484828501612611565b60408301525060606125c884828501612611565b60608301525060806125dc84828501612611565b60808301525060a06125f084828501612611565b60a08301525092915050565b60008135905061260b8161382a565b92915050565b6000815190506126208161382a565b92915050565b60006020828403121561263c5761263b6133c3565b5b600061264a84828501612497565b91505092915050565b6000806040838503121561266a576126696133c3565b5b600061267885828601612497565b925050602061268985828601612497565b9150509250929050565b6000806000606084860312156126ac576126ab6133c3565b5b60006126ba86828701612497565b93505060206126cb86828701612497565b92505060406126dc868287016125fc565b9150509250925092565b60008060008060808587031215612700576126ff6133c3565b5b600061270e87828801612497565b945050602061271f87828801612497565b9350506040612730878288016125fc565b925050606085013567ffffffffffffffff811115612751576127506133be565b5b61275d87828801612500565b91505092959194509250565b600080604083850312156127805761277f6133c3565b5b600061278e85828601612497565b925050602061279f858286016124c1565b9150509250929050565b600080604083850312156127c0576127bf6133c3565b5b60006127ce85828601612497565b92505060206127df858286016125fc565b9150509250929050565b6000602082840312156127ff576127fe6133c3565b5b600061280d848285016124d6565b91505092915050565b60006020828403121561282c5761282b6133c3565b5b600061283a848285016124eb565b91505092915050565b600060208284031215612859576128586133c3565b5b600082013567ffffffffffffffff811115612877576128766133be565b5b6128838482850161252e565b91505092915050565b600060c082840312156128a2576128a16133c3565b5b60006128b08482850161255c565b91505092915050565b6000602082840312156128cf576128ce6133c3565b5b60006128dd848285016125fc565b91505092915050565b6128ef81613102565b82525050565b6128fe81613102565b82525050565b61290d81613114565b82525050565b600061291e82613004565b612928818561301a565b9350612938818560208601613185565b612941816133c8565b840191505092915050565b60006129578261300f565b612961818561302b565b9350612971818560208601613185565b61297a816133c8565b840191505092915050565b60006129908261300f565b61299a818561303c565b93506129aa818560208601613185565b80840191505092915050565b60006129c3602b8361302b565b91506129ce826133d9565b604082019050919050565b60006129e660328361302b565b91506129f182613428565b604082019050919050565b6000612a0960268361302b565b9150612a1482613477565b604082019050919050565b6000612a2c60258361302b565b9150612a37826134c6565b604082019050919050565b6000612a4f601c8361302b565b9150612a5a82613515565b602082019050919050565b6000612a7260248361302b565b9150612a7d8261353e565b604082019050919050565b6000612a9560198361302b565b9150612aa08261358d565b602082019050919050565b6000612ab860298361302b565b9150612ac3826135b6565b604082019050919050565b6000612adb603e8361302b565b9150612ae682613605565b604082019050919050565b6000612afe60208361302b565b9150612b0982613654565b602082019050919050565b6000612b2160208361302b565b9150612b2c8261367d565b602082019050919050565b6000612b4460188361302b565b9150612b4f826136a6565b602082019050919050565b6000612b6760218361302b565b9150612b72826136cf565b604082019050919050565b6000612b8a602c8361302b565b9150612b958261371e565b604082019050919050565b6000612bad602e8361302b565b9150612bb88261376d565b604082019050919050565b6000612bd0601c8361302b565b9150612bdb826137bc565b602082019050919050565b60c082016000820151612bfc60008501826128e6565b506020820151612c0f6020850182612c61565b506040820151612c226040850182612c61565b506060820151612c356060850182612c61565b506080820151612c486080850182612c61565b5060a0820151612c5b60a0850182612c61565b50505050565b612c6a8161316c565b82525050565b612c798161316c565b82525050565b6000612c8b8285612985565b9150612c978284612985565b91508190509392505050565b6000602082019050612cb860008301846128f5565b92915050565b6000608082019050612cd360008301876128f5565b612ce060208301866128f5565b612ced6040830185612c70565b8181036060830152612cff8184612913565b905095945050505050565b6000602082019050612d1f6000830184612904565b92915050565b60006020820190508181036000830152612d3f818461294c565b905092915050565b60006020820190508181036000830152612d60816129b6565b9050919050565b60006020820190508181036000830152612d80816129d9565b9050919050565b60006020820190508181036000830152612da0816129fc565b9050919050565b60006020820190508181036000830152612dc081612a1f565b9050919050565b60006020820190508181036000830152612de081612a42565b9050919050565b60006020820190508181036000830152612e0081612a65565b9050919050565b60006020820190508181036000830152612e2081612a88565b9050919050565b60006020820190508181036000830152612e4081612aab565b9050919050565b60006020820190508181036000830152612e6081612ace565b9050919050565b60006020820190508181036000830152612e8081612af1565b9050919050565b60006020820190508181036000830152612ea081612b14565b9050919050565b60006020820190508181036000830152612ec081612b37565b9050919050565b60006020820190508181036000830152612ee081612b5a565b9050919050565b60006020820190508181036000830152612f0081612b7d565b9050919050565b60006020820190508181036000830152612f2081612ba0565b9050919050565b60006020820190508181036000830152612f4081612bc3565b9050919050565b600060c082019050612f5c6000830184612be6565b92915050565b6000602082019050612f776000830184612c70565b92915050565b6000612f87612f98565b9050612f9382826131ea565b919050565b6000604051905090565b600067ffffffffffffffff821115612fbd57612fbc613380565b5b612fc6826133c8565b9050602081019050919050565b600067ffffffffffffffff821115612fee57612fed613380565b5b612ff7826133c8565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006130528261316c565b915061305d8361316c565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561309257613091613295565b5b828201905092915050565b60006130a88261316c565b91506130b38361316c565b9250826130c3576130c26132c4565b5b828204905092915050565b60006130d98261316c565b91506130e48361316c565b9250828210156130f7576130f6613295565b5b828203905092915050565b600061310d8261314c565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156131a3578082015181840152602081019050613188565b838111156131b2576000848401525b50505050565b600060028204905060018216806131d057607f821691505b602082108114156131e4576131e36132f3565b5b50919050565b6131f3826133c8565b810181811067ffffffffffffffff8211171561321257613211613380565b5b80604052505050565b60006132268261316c565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561325957613258613295565b5b600182019050919050565b600061326f8261316c565b915061327a8361316c565b92508261328a576132896132c4565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206e6f7220617070726f766564000000000000000000000000000000000000602082015250565b7f58454e3a20596f7520646f206e6f7420686176652061206352616e6b00000000600082015250565b6137ee81613102565b81146137f957600080fd5b50565b61380581613114565b811461381057600080fd5b50565b61381c81613120565b811461382757600080fd5b50565b6138338161316c565b811461383e57600080fd5b5056fea2646970667358221220cd1f8e9098de1736a964b9171bb0f6a37ee91ad78fcfaef6ff6fac83d1ff20f464736f6c6343000807003368747470733a2f2f78656e666c65782e626c6f622e636f72652e77696e646f77732e6e65742f6e66742d6d657461646174612f

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061018e5760003560e01c80636c0360eb116100de578063b88d4fde11610097578063d93d31af11610071578063d93d31af14610471578063e985e9c51461048f578063ebb00796146104bf578063f2fde38b146104ef5761018e565b8063b88d4fde1461041b578063c2229fea14610437578063c87b56dd146104415761018e565b80636c0360eb1461036b57806370a0823114610389578063715018a6146103b95780638da5cb5b146103c357806395d89b41146103e1578063a22cb465146103ff5761018e565b80632f745c591161014b5780634f6ccce7116101255780634f6ccce7146102d157806355f804b3146103015780635d8d15851461031d5780636352211e1461033b5761018e565b80632f745c5914610267578063312d0bf61461029757806342842e0e146102b55761018e565b806301ffc9a71461019357806306fdde03146101c3578063081812fc146101e1578063095ea7b31461021157806318160ddd1461022d57806323b872dd1461024b575b600080fd5b6101ad60048036038101906101a891906127e9565b61050b565b6040516101ba9190612d0a565b60405180910390f35b6101cb61051d565b6040516101d89190612d25565b60405180910390f35b6101fb60048036038101906101f691906128b9565b6105af565b6040516102089190612ca3565b60405180910390f35b61022b600480360381019061022691906127a9565b6105f5565b005b61023561070d565b6040516102429190612f62565b60405180910390f35b61026560048036038101906102609190612693565b61071a565b005b610281600480360381019061027c91906127a9565b61077a565b60405161028e9190612f62565b60405180910390f35b61029f61081f565b6040516102ac9190612f62565b60405180910390f35b6102cf60048036038101906102ca9190612693565b6108d2565b005b6102eb60048036038101906102e691906128b9565b6108f2565b6040516102f89190612f62565b60405180910390f35b61031b60048036038101906103169190612843565b610963565b005b610325610977565b6040516103329190612f47565b60405180910390f35b610355600480360381019061035091906128b9565b610a27565b6040516103629190612ca3565b60405180910390f35b610373610ad9565b6040516103809190612d25565b60405180910390f35b6103a3600480360381019061039e9190612626565b610ae8565b6040516103b09190612f62565b60405180910390f35b6103c1610ba0565b005b6103cb610bb4565b6040516103d89190612ca3565b60405180910390f35b6103e9610bde565b6040516103f69190612d25565b60405180910390f35b61041960048036038101906104149190612769565b610c70565b005b610435600480360381019061043091906126e6565b610c86565b005b61043f610ce8565b005b61045b600480360381019061045691906128b9565b610d45565b6040516104689190612d25565b60405180910390f35b610479610dad565b6040516104869190612ca3565b60405180910390f35b6104a960048036038101906104a49190612653565b610dc5565b6040516104b69190612d0a565b60405180910390f35b6104d960048036038101906104d49190612626565b610e59565b6040516104e69190612f47565b60405180910390f35b61050960048036038101906105049190612626565b610f0b565b005b600061051682610f8f565b9050919050565b60606000805461052c906131b8565b80601f0160208091040260200160405190810160405280929190818152602001828054610558906131b8565b80156105a55780601f1061057a576101008083540402835291602001916105a5565b820191906000526020600020905b81548152906001019060200180831161058857829003601f168201915b5050505050905090565b60006105ba82611009565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061060082610a27565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610671576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161066890612ec7565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610690611054565b73ffffffffffffffffffffffffffffffffffffffff1614806106bf57506106be816106b9611054565b610dc5565b5b6106fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106f590612e47565b60405180910390fd5b610708838361105c565b505050565b6000600880549050905090565b61072b610725611054565b82611115565b61076a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161076190612f07565b60405180910390fd5b6107758383836111aa565b505050565b600061078583610ae8565b82106107c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107bd90612d47565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b6000807306450dee7fd2fb8e39061434babcfc05599a6fb873ffffffffffffffffffffffffffffffffffffffff1663df282331336040518263ffffffff1660e01b815260040161086f9190612ca3565b60c06040518083038186803b15801561088757600080fd5b505afa15801561089b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108bf919061288c565b9050600081606001519050809250505090565b6108ed83838360405180602001604052806000815250610c86565b505050565b60006108fc61070d565b821061093d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161093490612ee7565b60405180910390fd5b6008828154811061095157610950613351565b5b90600052602060002001549050919050565b61096b611411565b6109748161148f565b50565b61097f612324565b60007306450dee7fd2fb8e39061434babcfc05599a6fb873ffffffffffffffffffffffffffffffffffffffff1663df282331336040518263ffffffff1660e01b81526004016109ce9190612ca3565b60c06040518083038186803b1580156109e657600080fd5b505afa1580156109fa573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a1e919061288c565b90508091505090565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610ad0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ac790612ea7565b60405180910390fd5b80915050919050565b6060610ae36114a9565b905090565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610b59576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b5090612e27565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610ba8611411565b610bb2600061153b565b565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054610bed906131b8565b80601f0160208091040260200160405190810160405280929190818152602001828054610c19906131b8565b8015610c665780601f10610c3b57610100808354040283529160200191610c66565b820191906000526020600020905b815481529060010190602001808311610c4957829003601f168201915b5050505050905090565b610c82610c7b611054565b8383611601565b5050565b610c97610c91611054565b83611115565b610cd6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ccd90612f07565b60405180910390fd5b610ce28484848461176e565b50505050565b6000610cf261081f565b11610d32576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d2990612f27565b60405180910390fd5b610d4333610d3e61081f565b6117ca565b565b6060610d5082611009565b6000610d5a6114a9565b90506000815111610d7a5760405180602001604052806000815250610da5565b80610d84846117e8565b604051602001610d95929190612c7f565b6040516020818303038152906040525b915050919050565b7306450dee7fd2fb8e39061434babcfc05599a6fb881565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b610e61612324565b60007306450dee7fd2fb8e39061434babcfc05599a6fb873ffffffffffffffffffffffffffffffffffffffff1663df282331846040518263ffffffff1660e01b8152600401610eb09190612ca3565b60c06040518083038186803b158015610ec857600080fd5b505afa158015610edc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f00919061288c565b905080915050919050565b610f13611411565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610f83576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f7a90612d87565b60405180910390fd5b610f8c8161153b565b50565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611002575061100182611949565b5b9050919050565b61101281611a2b565b611051576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161104890612ea7565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166110cf83610a27565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008061112183610a27565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061116357506111628185610dc5565b5b806111a157508373ffffffffffffffffffffffffffffffffffffffff16611189846105af565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166111ca82610a27565b73ffffffffffffffffffffffffffffffffffffffff1614611220576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161121790612da7565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611290576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161128790612de7565b60405180910390fd5b61129b838383611a97565b6112a660008261105c565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546112f691906130ce565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461134d9190613047565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461140c838383611aa7565b505050565b611419611054565b73ffffffffffffffffffffffffffffffffffffffff16611437610bb4565b73ffffffffffffffffffffffffffffffffffffffff161461148d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161148490612e87565b60405180910390fd5b565b80600b90805190602001906114a5929190612370565b5050565b6060600b80546114b8906131b8565b80601f01602080910402602001604051908101604052809291908181526020018280546114e4906131b8565b80156115315780601f1061150657610100808354040283529160200191611531565b820191906000526020600020905b81548152906001019060200180831161151457829003601f168201915b5050505050905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611670576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161166790612e07565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516117619190612d0a565b60405180910390a3505050565b6117798484846111aa565b61178584848484611aac565b6117c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117bb90612d67565b60405180910390fd5b50505050565b6117e4828260405180602001604052806000815250611c43565b5050565b60606000821415611830576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050611944565b600082905060005b6000821461186257808061184b9061321b565b915050600a8261185b919061309d565b9150611838565b60008167ffffffffffffffff81111561187e5761187d613380565b5b6040519080825280601f01601f1916602001820160405280156118b05781602001600182028036833780820191505090505b5090505b6000851461193d576001826118c991906130ce565b9150600a856118d89190613264565b60306118e49190613047565b60f81b8183815181106118fa576118f9613351565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85611936919061309d565b94506118b4565b8093505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611a1457507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611a245750611a2382611c9e565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b611aa2838383611d08565b505050565b505050565b6000611acd8473ffffffffffffffffffffffffffffffffffffffff16611e1c565b15611c36578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02611af6611054565b8786866040518563ffffffff1660e01b8152600401611b189493929190612cbe565b602060405180830381600087803b158015611b3257600080fd5b505af1925050508015611b6357506040513d601f19601f82011682018060405250810190611b609190612816565b60015b611be6573d8060008114611b93576040519150601f19603f3d011682016040523d82523d6000602084013e611b98565b606091505b50600081511415611bde576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bd590612d67565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050611c3b565b600190505b949350505050565b611c4d8383611e3f565b611c5a6000848484611aac565b611c99576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c9090612d67565b60405180910390fd5b505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b611d13838383612019565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611d5657611d518161201e565b611d95565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614611d9457611d938382612067565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611dd857611dd3816121d4565b611e17565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614611e1657611e1582826122a5565b5b5b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611eaf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ea690612e67565b60405180910390fd5b611eb881611a2b565b15611ef8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eef90612dc7565b60405180910390fd5b611f0460008383611a97565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611f549190613047565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461201560008383611aa7565b5050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161207484610ae8565b61207e91906130ce565b9050600060076000848152602001908152602001600020549050818114612163576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506121e891906130ce565b905060006009600084815260200190815260200160002054905060006008838154811061221857612217613351565b5b90600052602060002001549050806008838154811061223a57612239613351565b5b90600052602060002001819055508160096000838152602001908152602001600020819055506009600085815260200190815260200160002060009055600880548061228957612288613322565b5b6001900381819060005260206000200160009055905550505050565b60006122b083610ae8565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b6040518060c00160405280600073ffffffffffffffffffffffffffffffffffffffff16815260200160008152602001600081526020016000815260200160008152602001600081525090565b82805461237c906131b8565b90600052602060002090601f01602090048101928261239e57600085556123e5565b82601f106123b757805160ff19168380011785556123e5565b828001600101855582156123e5579182015b828111156123e45782518255916020019190600101906123c9565b5b5090506123f291906123f6565b5090565b5b8082111561240f5760008160009055506001016123f7565b5090565b600061242661242184612fa2565b612f7d565b905082815260208101848484011115612442576124416133b9565b5b61244d848285613176565b509392505050565b600061246861246384612fd3565b612f7d565b905082815260208101848484011115612484576124836133b9565b5b61248f848285613176565b509392505050565b6000813590506124a6816137e5565b92915050565b6000815190506124bb816137e5565b92915050565b6000813590506124d0816137fc565b92915050565b6000813590506124e581613813565b92915050565b6000815190506124fa81613813565b92915050565b600082601f830112612515576125146133af565b5b8135612525848260208601612413565b91505092915050565b600082601f830112612543576125426133af565b5b8135612553848260208601612455565b91505092915050565b600060c08284031215612572576125716133b4565b5b61257c60c0612f7d565b9050600061258c848285016124ac565b60008301525060206125a084828501612611565b60208301525060406125b484828501612611565b60408301525060606125c884828501612611565b60608301525060806125dc84828501612611565b60808301525060a06125f084828501612611565b60a08301525092915050565b60008135905061260b8161382a565b92915050565b6000815190506126208161382a565b92915050565b60006020828403121561263c5761263b6133c3565b5b600061264a84828501612497565b91505092915050565b6000806040838503121561266a576126696133c3565b5b600061267885828601612497565b925050602061268985828601612497565b9150509250929050565b6000806000606084860312156126ac576126ab6133c3565b5b60006126ba86828701612497565b93505060206126cb86828701612497565b92505060406126dc868287016125fc565b9150509250925092565b60008060008060808587031215612700576126ff6133c3565b5b600061270e87828801612497565b945050602061271f87828801612497565b9350506040612730878288016125fc565b925050606085013567ffffffffffffffff811115612751576127506133be565b5b61275d87828801612500565b91505092959194509250565b600080604083850312156127805761277f6133c3565b5b600061278e85828601612497565b925050602061279f858286016124c1565b9150509250929050565b600080604083850312156127c0576127bf6133c3565b5b60006127ce85828601612497565b92505060206127df858286016125fc565b9150509250929050565b6000602082840312156127ff576127fe6133c3565b5b600061280d848285016124d6565b91505092915050565b60006020828403121561282c5761282b6133c3565b5b600061283a848285016124eb565b91505092915050565b600060208284031215612859576128586133c3565b5b600082013567ffffffffffffffff811115612877576128766133be565b5b6128838482850161252e565b91505092915050565b600060c082840312156128a2576128a16133c3565b5b60006128b08482850161255c565b91505092915050565b6000602082840312156128cf576128ce6133c3565b5b60006128dd848285016125fc565b91505092915050565b6128ef81613102565b82525050565b6128fe81613102565b82525050565b61290d81613114565b82525050565b600061291e82613004565b612928818561301a565b9350612938818560208601613185565b612941816133c8565b840191505092915050565b60006129578261300f565b612961818561302b565b9350612971818560208601613185565b61297a816133c8565b840191505092915050565b60006129908261300f565b61299a818561303c565b93506129aa818560208601613185565b80840191505092915050565b60006129c3602b8361302b565b91506129ce826133d9565b604082019050919050565b60006129e660328361302b565b91506129f182613428565b604082019050919050565b6000612a0960268361302b565b9150612a1482613477565b604082019050919050565b6000612a2c60258361302b565b9150612a37826134c6565b604082019050919050565b6000612a4f601c8361302b565b9150612a5a82613515565b602082019050919050565b6000612a7260248361302b565b9150612a7d8261353e565b604082019050919050565b6000612a9560198361302b565b9150612aa08261358d565b602082019050919050565b6000612ab860298361302b565b9150612ac3826135b6565b604082019050919050565b6000612adb603e8361302b565b9150612ae682613605565b604082019050919050565b6000612afe60208361302b565b9150612b0982613654565b602082019050919050565b6000612b2160208361302b565b9150612b2c8261367d565b602082019050919050565b6000612b4460188361302b565b9150612b4f826136a6565b602082019050919050565b6000612b6760218361302b565b9150612b72826136cf565b604082019050919050565b6000612b8a602c8361302b565b9150612b958261371e565b604082019050919050565b6000612bad602e8361302b565b9150612bb88261376d565b604082019050919050565b6000612bd0601c8361302b565b9150612bdb826137bc565b602082019050919050565b60c082016000820151612bfc60008501826128e6565b506020820151612c0f6020850182612c61565b506040820151612c226040850182612c61565b506060820151612c356060850182612c61565b506080820151612c486080850182612c61565b5060a0820151612c5b60a0850182612c61565b50505050565b612c6a8161316c565b82525050565b612c798161316c565b82525050565b6000612c8b8285612985565b9150612c978284612985565b91508190509392505050565b6000602082019050612cb860008301846128f5565b92915050565b6000608082019050612cd360008301876128f5565b612ce060208301866128f5565b612ced6040830185612c70565b8181036060830152612cff8184612913565b905095945050505050565b6000602082019050612d1f6000830184612904565b92915050565b60006020820190508181036000830152612d3f818461294c565b905092915050565b60006020820190508181036000830152612d60816129b6565b9050919050565b60006020820190508181036000830152612d80816129d9565b9050919050565b60006020820190508181036000830152612da0816129fc565b9050919050565b60006020820190508181036000830152612dc081612a1f565b9050919050565b60006020820190508181036000830152612de081612a42565b9050919050565b60006020820190508181036000830152612e0081612a65565b9050919050565b60006020820190508181036000830152612e2081612a88565b9050919050565b60006020820190508181036000830152612e4081612aab565b9050919050565b60006020820190508181036000830152612e6081612ace565b9050919050565b60006020820190508181036000830152612e8081612af1565b9050919050565b60006020820190508181036000830152612ea081612b14565b9050919050565b60006020820190508181036000830152612ec081612b37565b9050919050565b60006020820190508181036000830152612ee081612b5a565b9050919050565b60006020820190508181036000830152612f0081612b7d565b9050919050565b60006020820190508181036000830152612f2081612ba0565b9050919050565b60006020820190508181036000830152612f4081612bc3565b9050919050565b600060c082019050612f5c6000830184612be6565b92915050565b6000602082019050612f776000830184612c70565b92915050565b6000612f87612f98565b9050612f9382826131ea565b919050565b6000604051905090565b600067ffffffffffffffff821115612fbd57612fbc613380565b5b612fc6826133c8565b9050602081019050919050565b600067ffffffffffffffff821115612fee57612fed613380565b5b612ff7826133c8565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006130528261316c565b915061305d8361316c565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561309257613091613295565b5b828201905092915050565b60006130a88261316c565b91506130b38361316c565b9250826130c3576130c26132c4565b5b828204905092915050565b60006130d98261316c565b91506130e48361316c565b9250828210156130f7576130f6613295565b5b828203905092915050565b600061310d8261314c565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156131a3578082015181840152602081019050613188565b838111156131b2576000848401525b50505050565b600060028204905060018216806131d057607f821691505b602082108114156131e4576131e36132f3565b5b50919050565b6131f3826133c8565b810181811067ffffffffffffffff8211171561321257613211613380565b5b80604052505050565b60006132268261316c565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561325957613258613295565b5b600182019050919050565b600061326f8261316c565b915061327a8361316c565b92508261328a576132896132c4565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206e6f7220617070726f766564000000000000000000000000000000000000602082015250565b7f58454e3a20596f7520646f206e6f7420686176652061206352616e6b00000000600082015250565b6137ee81613102565b81146137f957600080fd5b50565b61380581613114565b811461381057600080fd5b50565b61381c81613120565b811461382757600080fd5b50565b6138338161316c565b811461383e57600080fd5b5056fea2646970667358221220cd1f8e9098de1736a964b9171bb0f6a37ee91ad78fcfaef6ff6fac83d1ff20f464736f6c63430008070033

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.