ETH Price: $2,930.35 (+3.91%)
 

Overview

Max Total Supply

82 FDP

Holders

43

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 FDP
0xc5af27c0030766760ae78fed5b656cff172f54a0
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:
FeistyPrint

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 16 : FeistyPrint.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Counters.sol";

contract FeistyPrint is ERC721Enumerable, Ownable {
  using SafeERC20 for IERC20;
  using Counters for Counters.Counter;

  event Printed(address sender, uint256 tokenId, uint256 price);
  event Redeemed(address sender, uint256 tokenId, uint256 price);
  event PriceUpdated(uint256 oldPrice, uint256 newPrice);

  IERC20 private immutable _token;
  mapping(uint256 => uint256) _tokenPrices;

  uint256 private _price;
  Counters.Counter private _mints;

  string _tokenURI;
  string _contractURI;

  constructor(IERC20 token_, uint256 price_) ERC721("Feisty Doge Print", "FDP") {
    _token = token_;
    _price = price_;

    _tokenURI = "ipfs://QmNUUqGtwKg4TzVp4cAXE6aeBprxPFcoKNvTFFi58dnZva";
    _contractURI = "ipfs://QmQfkV8NEzoLYn3LDUbJuTXFUcRHrsPVTcy9ZTVmEMmnMj";
  }

  // -- Admin -- //
  function setPrice(uint256 price_) external onlyOwner {
    emit PriceUpdated(_price, price_);

    _price = price_;
  }

  function setTokenURI(string memory tokenURI_) external onlyOwner {
    _tokenURI = tokenURI_;
  }

  function setContractURI(string memory contractURI_) external onlyOwner {
    _contractURI = contractURI_;
  }
  // -- Admin -- //

  // -- Accessors -- //
  function token() external view returns (IERC20) {
    return _token;
  }

  function price() external view returns (uint256) {
    return _price;
  }

  function mints() external view returns (uint256) {
    return _mints.current();
  }

  function tokenURI(uint256) public view virtual override returns (string memory) {
    return _tokenURI;
  }

  function contractURI() public view returns (string memory) {
    return _contractURI;
  }
  // -- Accessors -- //

  // -- Functions -- //
  function print() external {
    printMultiple(1);
  }

  function printMultiple(uint256 count) public {
    require(count <= 10, "FeistyPrint: max 10 prints");

    require(_token.transferFrom(_msgSender(), address(this), _price * count));

    for (uint i = 0; i < count; i++) {
      uint256 tokenId = _mints.current();

      emit Printed(_msgSender(), tokenId, _price);
      _tokenPrices[tokenId] = _price;

      _safeMint(_msgSender(), tokenId);
      _mints.increment();
    }
  }

  function redeem() external {
    redeemMultiple(1);
  }

  function redeem(uint256 tokenId) public {
    require(ownerOf(tokenId) == _msgSender(), "FeistyPrint: sender does not own token");

    uint256 tokenPrice = _tokenPrices[tokenId];
    emit Redeemed(_msgSender(), tokenId, tokenPrice);

    _burn(tokenId);
    require(_token.transfer(_msgSender(), tokenPrice));
  }

  function redeemMultiple(uint256 count) public {
    uint256 tokenCount = balanceOf(_msgSender());

    require(count <= 10, "FeistyPrint: max 10 prints");
    require(count <= tokenCount, "FeistyPrint: sender doesn't have enough prints");

    for (uint i = 1; i <= count; i++) {
      uint256 tokenToRedeem = tokenOfOwnerByIndex(_msgSender(), tokenCount - i);
      redeem(tokenToRedeem);
    }
  }
  // -- Functions -- //
}

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

pragma solidity ^0.8.0;

import '../ERC721.sol';
import './IERC721Enumerable.sol';

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

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

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

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

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

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

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

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

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, ``from``'s `tokenId` will be burned.
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual override {
        super._beforeTokenTransfer(from, to, tokenId);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "../IERC20.sol";
import "../../../utils/Address.sol";

/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
    using Address for address;

    function safeTransfer(
        IERC20 token,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    function safeTransferFrom(
        IERC20 token,
        address from,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
    }

    /**
     * @dev Deprecated. This function has issues similar to the ones found in
     * {IERC20-approve}, and its usage is discouraged.
     *
     * Whenever possible, use {safeIncreaseAllowance} and
     * {safeDecreaseAllowance} instead.
     */
    function safeApprove(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        require(
            (value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

    function safeIncreaseAllowance(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        uint256 newAllowance = token.allowance(address(this), spender) + value;
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    function safeDecreaseAllowance(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        unchecked {
            uint256 oldAllowance = token.allowance(address(this), spender);
            require(oldAllowance >= value, "SafeERC20: decreased allowance below zero");
            uint256 newAllowance = oldAllowance - value;
            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
        }
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function _callOptionalReturn(IERC20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that
        // the target address contains contract code and also asserts for success in the low-level call.

        bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
        if (returndata.length > 0) {
            // Return data is optional
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

    // Mapping from token ID to approved address
    mapping(uint256 => address) private _tokenApprovals;

    // Mapping from owner to operator approvals
    mapping(address => mapping(address => bool)) private _operatorApprovals;

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

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

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

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

    /**
     * @dev See {IERC721Metadata-name}.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev See {IERC721Metadata-symbol}.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");

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

    /**
     * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each
     * token will be the concatenation of the `baseURI` and the `tokenId`. Empty
     * by default, can be overriden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return "";
    }

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * `_data` is additional data, it has no specified format and it is sent in call to `to`.
     *
     * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.
     * implement alternative mechanisms to perform token transfer, such as signature-based.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeTransfer(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal virtual {
        _transfer(from, to, tokenId);
        require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer");
    }

    /**
     * @dev Returns whether `tokenId` exists.
     *
     * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
     *
     * Tokens start existing when they are minted (`_mint`),
     * and stop existing when they are burned (`_burn`).
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return _owners[tokenId] != address(0);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);
    }

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

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.
     * The call is not executed if the target address is not a contract.
     *
     * @param from address representing the previous owner of the given token ID
     * @param to target address that will receive the tokens
     * @param tokenId uint256 ID of the token to be transferred
     * @param _data bytes optional data to send along with the call
     * @return bool whether the call correctly returned the expected magic value
     */
    function _checkOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        if (to.isContract()) {
            try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) {
                return retval == IERC721Receiver.onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert("ERC721: transfer to non ERC721Receiver implementer");
                } else {
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Metadata is IERC721 {
    /**
     * @dev Returns the token collection name.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the token collection symbol.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    function tokenURI(uint256 tokenId) external view returns (string memory);
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[EIP].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface IERC165 {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}

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

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `sender` to `recipient` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) external returns (bool);

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"contract IERC20","name":"token_","type":"address"},{"internalType":"uint256","name":"price_","type":"uint256"}],"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":false,"internalType":"uint256","name":"oldPrice","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"PriceUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"price","type":"uint256"}],"name":"Printed","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"price","type":"uint256"}],"name":"Redeemed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"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":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"print","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"count","type":"uint256"}],"name":"printMultiple","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"redeem","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"redeem","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"count","type":"uint256"}],"name":"redeemMultiple","outputs":[],"stateMutability":"nonpayable","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":"contractURI_","type":"string"}],"name":"setContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"price_","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"tokenURI_","type":"string"}],"name":"setTokenURI","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":[],"name":"token","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"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":"","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"}]

60a06040523480156200001157600080fd5b506040516200436f3803806200436f83398181016040528101906200003791906200034d565b6040518060400160405280601181526020017f46656973747920446f6765205072696e740000000000000000000000000000008152506040518060400160405280600381526020017f46445000000000000000000000000000000000000000000000000000000000008152508160009080519060200190620000bb9291906200026f565b508060019080519060200190620000d49291906200026f565b505050620000f7620000eb620001a160201b60201c565b620001a960201b60201c565b8173ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff1660601b8152505080600c819055506040518060600160405280603581526020016200433a60359139600e9080519060200190620001669291906200026f565b506040518060600160405280603581526020016200430560359139600f9080519060200190620001989291906200026f565b50505062000479565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200027d90620003e0565b90600052602060002090601f016020900481019282620002a15760008555620002ed565b82601f10620002bc57805160ff1916838001178555620002ed565b82800160010185558215620002ed579182015b82811115620002ec578251825591602001919060010190620002cf565b5b509050620002fc919062000300565b5090565b5b808211156200031b57600081600090555060010162000301565b5090565b600081519050620003308162000445565b92915050565b60008151905062000347816200045f565b92915050565b600080604083850312156200036157600080fd5b600062000371858286016200031f565b9250506020620003848582860162000336565b9150509250929050565b60006200039b82620003b6565b9050919050565b6000620003af826200038e565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60006002820490506001821680620003f957607f821691505b6020821081141562000410576200040f62000416565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6200045081620003a2565b81146200045c57600080fd5b50565b6200046a81620003d6565b81146200047657600080fd5b50565b60805160601c613e5f620004a660003960008181610ae00152818161145f01526117e70152613e5f6000f3fe608060405234801561001057600080fd5b50600436106101e55760003560e01c80638da5cb5b1161010f578063c87b56dd116100a2578063e8a3d48511610071578063e8a3d48514610540578063e985e9c51461055e578063f2fde38b1461058e578063fc0c546a146105aa576101e5565b8063c87b56dd146104ba578063db006a75146104ea578063dfc7379d14610506578063e0df5b6f14610524576101e5565b8063a035b1fe116100de578063a035b1fe1461045a578063a22cb46514610478578063b88d4fde14610494578063be040fb0146104b0576101e5565b80638da5cb5b146103e657806391b7f5ed14610404578063938e3d7b1461042057806395d89b411461043c576101e5565b806323b872dd116101875780634f6ccce7116101565780634f6ccce71461034c5780636352211e1461037c57806370a08231146103ac578063715018a6146103dc576101e5565b806323b872dd146102c85780632f745c59146102e457806342842e0e1461031457806343e80ef214610330576101e5565b8063081812fc116101c3578063081812fc14610254578063095ea7b31461028457806313bdfacd146102a057806318160ddd146102aa576101e5565b806301ffc9a7146101ea578063068510761461021a57806306fdde0314610236575b600080fd5b61020460048036038101906101ff9190612c58565b6105c8565b604051610211919061317c565b60405180910390f35b610234600480360381019061022f9190612ceb565b610642565b005b61023e61072d565b60405161024b91906131b2565b60405180910390f35b61026e60048036038101906102699190612ceb565b6107bf565b60405161027b919061307e565b60405180910390f35b61029e60048036038101906102999190612bf3565b610844565b005b6102a861095c565b005b6102b2610968565b6040516102bf9190613454565b60405180910390f35b6102e260048036038101906102dd9190612aed565b610975565b005b6102fe60048036038101906102f99190612bf3565b6109d5565b60405161030b9190613454565b60405180910390f35b61032e60048036038101906103299190612aed565b610a7a565b005b61034a60048036038101906103459190612ceb565b610a9a565b005b61036660048036038101906103619190612ceb565b610c54565b6040516103739190613454565b60405180910390f35b61039660048036038101906103919190612ceb565b610ceb565b6040516103a3919061307e565b60405180910390f35b6103c660048036038101906103c19190612a88565b610d9d565b6040516103d39190613454565b60405180910390f35b6103e4610e55565b005b6103ee610edd565b6040516103fb919061307e565b60405180910390f35b61041e60048036038101906104199190612ceb565b610f07565b005b61043a60048036038101906104359190612caa565b610fc8565b005b61044461105e565b60405161045191906131b2565b60405180910390f35b6104626110f0565b60405161046f9190613454565b60405180910390f35b610492600480360381019061048d9190612bb7565b6110fa565b005b6104ae60048036038101906104a99190612b3c565b61127b565b005b6104b86112dd565b005b6104d460048036038101906104cf9190612ceb565b6112e9565b6040516104e191906131b2565b60405180910390f35b61050460048036038101906104ff9190612ceb565b61137d565b005b61050e61151e565b60405161051b9190613454565b60405180910390f35b61053e60048036038101906105399190612caa565b61152f565b005b6105486115c5565b60405161055591906131b2565b60405180910390f35b61057860048036038101906105739190612ab1565b611657565b604051610585919061317c565b60405180910390f35b6105a860048036038101906105a39190612a88565b6116eb565b005b6105b26117e3565b6040516105bf9190613197565b60405180910390f35b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061063b575061063a8261180b565b5b9050919050565b600061065461064f6118ed565b610d9d565b9050600a82111561069a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161069190613394565b60405180910390fd5b808211156106dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106d490613434565b60405180910390fd5b6000600190505b8281116107285760006107096106f86118ed565b83856107049190613607565b6109d5565b90506107148161137d565b50808061072090613778565b9150506106e4565b505050565b60606000805461073c90613715565b80601f016020809104026020016040519081016040528092919081815260200182805461076890613715565b80156107b55780601f1061078a576101008083540402835291602001916107b5565b820191906000526020600020905b81548152906001019060200180831161079857829003601f168201915b5050505050905090565b60006107ca826118f5565b610809576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161080090613354565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061084f82610ceb565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156108c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108b7906133d4565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166108df6118ed565b73ffffffffffffffffffffffffffffffffffffffff16148061090e575061090d816109086118ed565b611657565b5b61094d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610944906132d4565b60405180910390fd5b6109578383611961565b505050565b6109666001610a9a565b565b6000600880549050905090565b6109866109806118ed565b82611a1a565b6109c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109bc906133f4565b60405180910390fd5b6109d0838383611af8565b505050565b60006109e083610d9d565b8210610a21576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a18906131d4565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610a958383836040518060200160405280600081525061127b565b505050565b600a811115610ade576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ad590613394565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166323b872dd610b226118ed565b3084600c54610b3191906135ad565b6040518463ffffffff1660e01b8152600401610b4f93929190613099565b602060405180830381600087803b158015610b6957600080fd5b505af1158015610b7d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ba19190612c2f565b610baa57600080fd5b60005b81811015610c50576000610bc1600d611d54565b90507f3a66c88078611900c88c01a5fca20501399249b5980a31c713a9dedb8baea0dd610bec6118ed565b82600c54604051610bff93929190613145565b60405180910390a1600c54600b600083815260200190815260200160002081905550610c32610c2c6118ed565b82611d62565b610c3c600d611d80565b508080610c4890613778565b915050610bad565b5050565b6000610c5e610968565b8210610c9f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c9690613414565b60405180910390fd5b60088281548110610cd9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610d94576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d8b90613314565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610e0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e05906132f4565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610e5d6118ed565b73ffffffffffffffffffffffffffffffffffffffff16610e7b610edd565b73ffffffffffffffffffffffffffffffffffffffff1614610ed1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ec890613374565b60405180910390fd5b610edb6000611d96565b565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610f0f6118ed565b73ffffffffffffffffffffffffffffffffffffffff16610f2d610edd565b73ffffffffffffffffffffffffffffffffffffffff1614610f83576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f7a90613374565b60405180910390fd5b7f945c1c4e99aa89f648fbfe3df471b916f719e16d960fcec0737d4d56bd696838600c5482604051610fb692919061346f565b60405180910390a180600c8190555050565b610fd06118ed565b73ffffffffffffffffffffffffffffffffffffffff16610fee610edd565b73ffffffffffffffffffffffffffffffffffffffff1614611044576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161103b90613374565b60405180910390fd5b80600f908051906020019061105a929190612897565b5050565b60606001805461106d90613715565b80601f016020809104026020016040519081016040528092919081815260200182805461109990613715565b80156110e65780601f106110bb576101008083540402835291602001916110e6565b820191906000526020600020905b8154815290600101906020018083116110c957829003601f168201915b5050505050905090565b6000600c54905090565b6111026118ed565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611170576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161116790613274565b60405180910390fd5b806005600061117d6118ed565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661122a6118ed565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161126f919061317c565b60405180910390a35050565b61128c6112866118ed565b83611a1a565b6112cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112c2906133f4565b60405180910390fd5b6112d784848484611e5c565b50505050565b6112e76001610642565b565b6060600e80546112f890613715565b80601f016020809104026020016040519081016040528092919081815260200182805461132490613715565b80156113715780601f1061134657610100808354040283529160200191611371565b820191906000526020600020905b81548152906001019060200180831161135457829003601f168201915b50505050509050919050565b6113856118ed565b73ffffffffffffffffffffffffffffffffffffffff166113a482610ceb565b73ffffffffffffffffffffffffffffffffffffffff16146113fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113f1906132b4565b60405180910390fd5b6000600b60008381526020019081526020016000205490507ff3a670cd3af7d64b488926880889d08a8585a138ff455227af6737339a1ec26261143b6118ed565b838360405161144c93929190613145565b60405180910390a161145d82611eb8565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663a9059cbb6114a16118ed565b836040518363ffffffff1660e01b81526004016114bf92919061311c565b602060405180830381600087803b1580156114d957600080fd5b505af11580156114ed573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115119190612c2f565b61151a57600080fd5b5050565b600061152a600d611d54565b905090565b6115376118ed565b73ffffffffffffffffffffffffffffffffffffffff16611555610edd565b73ffffffffffffffffffffffffffffffffffffffff16146115ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115a290613374565b60405180910390fd5b80600e90805190602001906115c1929190612897565b5050565b6060600f80546115d490613715565b80601f016020809104026020016040519081016040528092919081815260200182805461160090613715565b801561164d5780601f106116225761010080835404028352916020019161164d565b820191906000526020600020905b81548152906001019060200180831161163057829003601f168201915b5050505050905090565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6116f36118ed565b73ffffffffffffffffffffffffffffffffffffffff16611711610edd565b73ffffffffffffffffffffffffffffffffffffffff1614611767576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161175e90613374565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156117d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117ce90613214565b60405180910390fd5b6117e081611d96565b50565b60007f0000000000000000000000000000000000000000000000000000000000000000905090565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806118d657507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806118e657506118e582611fc9565b5b9050919050565b600033905090565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166119d483610ceb565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611a25826118f5565b611a64576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a5b90613294565b60405180910390fd5b6000611a6f83610ceb565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611ade57508373ffffffffffffffffffffffffffffffffffffffff16611ac6846107bf565b73ffffffffffffffffffffffffffffffffffffffff16145b80611aef5750611aee8185611657565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611b1882610ceb565b73ffffffffffffffffffffffffffffffffffffffff1614611b6e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b65906133b4565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611bde576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bd590613254565b60405180910390fd5b611be9838383612033565b611bf4600082611961565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611c449190613607565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611c9b9190613557565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600081600001549050919050565b611d7c828260405180602001604052806000815250612147565b5050565b6001816000016000828254019250508190555050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b611e67848484611af8565b611e73848484846121a2565b611eb2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ea9906131f4565b60405180910390fd5b50505050565b6000611ec382610ceb565b9050611ed181600084612033565b611edc600083611961565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611f2c9190613607565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b61203e838383612339565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156120815761207c8161233e565b6120c0565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146120bf576120be8382612387565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612103576120fe816124f4565b612142565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612141576121408282612637565b5b5b505050565b61215183836126b6565b61215e60008484846121a2565b61219d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612194906131f4565b60405180910390fd5b505050565b60006121c38473ffffffffffffffffffffffffffffffffffffffff16612884565b1561232c578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026121ec6118ed565b8786866040518563ffffffff1660e01b815260040161220e94939291906130d0565b602060405180830381600087803b15801561222857600080fd5b505af192505050801561225957506040513d601f19601f820116820180604052508101906122569190612c81565b60015b6122dc573d8060008114612289576040519150601f19603f3d011682016040523d82523d6000602084013e61228e565b606091505b506000815114156122d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122cb906131f4565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612331565b600190505b949350505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161239484610d9d565b61239e9190613607565b9050600060076000848152602001908152602001600020549050818114612483576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506125089190613607565b905060006009600084815260200190815260200160002054905060006008838154811061255e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200154905080600883815481106125a6577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001819055508160096000838152602001908152602001600020819055506009600085815260200190815260200160002060009055600880548061261b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b600061264283610d9d565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612726576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161271d90613334565b60405180910390fd5b61272f816118f5565b1561276f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161276690613234565b60405180910390fd5b61277b60008383612033565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546127cb9190613557565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b8280546128a390613715565b90600052602060002090601f0160209004810192826128c5576000855561290c565b82601f106128de57805160ff191683800117855561290c565b8280016001018555821561290c579182015b8281111561290b5782518255916020019190600101906128f0565b5b509050612919919061291d565b5090565b5b8082111561293657600081600090555060010161291e565b5090565b600061294d612948846134bd565b613498565b90508281526020810184848401111561296557600080fd5b6129708482856136d3565b509392505050565b600061298b612986846134ee565b613498565b9050828152602081018484840111156129a357600080fd5b6129ae8482856136d3565b509392505050565b6000813590506129c581613dcd565b92915050565b6000813590506129da81613de4565b92915050565b6000815190506129ef81613de4565b92915050565b600081359050612a0481613dfb565b92915050565b600081519050612a1981613dfb565b92915050565b600082601f830112612a3057600080fd5b8135612a4084826020860161293a565b91505092915050565b600082601f830112612a5a57600080fd5b8135612a6a848260208601612978565b91505092915050565b600081359050612a8281613e12565b92915050565b600060208284031215612a9a57600080fd5b6000612aa8848285016129b6565b91505092915050565b60008060408385031215612ac457600080fd5b6000612ad2858286016129b6565b9250506020612ae3858286016129b6565b9150509250929050565b600080600060608486031215612b0257600080fd5b6000612b10868287016129b6565b9350506020612b21868287016129b6565b9250506040612b3286828701612a73565b9150509250925092565b60008060008060808587031215612b5257600080fd5b6000612b60878288016129b6565b9450506020612b71878288016129b6565b9350506040612b8287828801612a73565b925050606085013567ffffffffffffffff811115612b9f57600080fd5b612bab87828801612a1f565b91505092959194509250565b60008060408385031215612bca57600080fd5b6000612bd8858286016129b6565b9250506020612be9858286016129cb565b9150509250929050565b60008060408385031215612c0657600080fd5b6000612c14858286016129b6565b9250506020612c2585828601612a73565b9150509250929050565b600060208284031215612c4157600080fd5b6000612c4f848285016129e0565b91505092915050565b600060208284031215612c6a57600080fd5b6000612c78848285016129f5565b91505092915050565b600060208284031215612c9357600080fd5b6000612ca184828501612a0a565b91505092915050565b600060208284031215612cbc57600080fd5b600082013567ffffffffffffffff811115612cd657600080fd5b612ce284828501612a49565b91505092915050565b600060208284031215612cfd57600080fd5b6000612d0b84828501612a73565b91505092915050565b612d1d8161363b565b82525050565b612d2c8161364d565b82525050565b6000612d3d8261351f565b612d478185613535565b9350612d578185602086016136e2565b612d608161384e565b840191505092915050565b612d74816136af565b82525050565b6000612d858261352a565b612d8f8185613546565b9350612d9f8185602086016136e2565b612da88161384e565b840191505092915050565b6000612dc0602b83613546565b9150612dcb8261385f565b604082019050919050565b6000612de3603283613546565b9150612dee826138ae565b604082019050919050565b6000612e06602683613546565b9150612e11826138fd565b604082019050919050565b6000612e29601c83613546565b9150612e348261394c565b602082019050919050565b6000612e4c602483613546565b9150612e5782613975565b604082019050919050565b6000612e6f601983613546565b9150612e7a826139c4565b602082019050919050565b6000612e92602c83613546565b9150612e9d826139ed565b604082019050919050565b6000612eb5602683613546565b9150612ec082613a3c565b604082019050919050565b6000612ed8603883613546565b9150612ee382613a8b565b604082019050919050565b6000612efb602a83613546565b9150612f0682613ada565b604082019050919050565b6000612f1e602983613546565b9150612f2982613b29565b604082019050919050565b6000612f41602083613546565b9150612f4c82613b78565b602082019050919050565b6000612f64602c83613546565b9150612f6f82613ba1565b604082019050919050565b6000612f87602083613546565b9150612f9282613bf0565b602082019050919050565b6000612faa601a83613546565b9150612fb582613c19565b602082019050919050565b6000612fcd602983613546565b9150612fd882613c42565b604082019050919050565b6000612ff0602183613546565b9150612ffb82613c91565b604082019050919050565b6000613013603183613546565b915061301e82613ce0565b604082019050919050565b6000613036602c83613546565b915061304182613d2f565b604082019050919050565b6000613059602e83613546565b915061306482613d7e565b604082019050919050565b613078816136a5565b82525050565b60006020820190506130936000830184612d14565b92915050565b60006060820190506130ae6000830186612d14565b6130bb6020830185612d14565b6130c8604083018461306f565b949350505050565b60006080820190506130e56000830187612d14565b6130f26020830186612d14565b6130ff604083018561306f565b81810360608301526131118184612d32565b905095945050505050565b60006040820190506131316000830185612d14565b61313e602083018461306f565b9392505050565b600060608201905061315a6000830186612d14565b613167602083018561306f565b613174604083018461306f565b949350505050565b60006020820190506131916000830184612d23565b92915050565b60006020820190506131ac6000830184612d6b565b92915050565b600060208201905081810360008301526131cc8184612d7a565b905092915050565b600060208201905081810360008301526131ed81612db3565b9050919050565b6000602082019050818103600083015261320d81612dd6565b9050919050565b6000602082019050818103600083015261322d81612df9565b9050919050565b6000602082019050818103600083015261324d81612e1c565b9050919050565b6000602082019050818103600083015261326d81612e3f565b9050919050565b6000602082019050818103600083015261328d81612e62565b9050919050565b600060208201905081810360008301526132ad81612e85565b9050919050565b600060208201905081810360008301526132cd81612ea8565b9050919050565b600060208201905081810360008301526132ed81612ecb565b9050919050565b6000602082019050818103600083015261330d81612eee565b9050919050565b6000602082019050818103600083015261332d81612f11565b9050919050565b6000602082019050818103600083015261334d81612f34565b9050919050565b6000602082019050818103600083015261336d81612f57565b9050919050565b6000602082019050818103600083015261338d81612f7a565b9050919050565b600060208201905081810360008301526133ad81612f9d565b9050919050565b600060208201905081810360008301526133cd81612fc0565b9050919050565b600060208201905081810360008301526133ed81612fe3565b9050919050565b6000602082019050818103600083015261340d81613006565b9050919050565b6000602082019050818103600083015261342d81613029565b9050919050565b6000602082019050818103600083015261344d8161304c565b9050919050565b6000602082019050613469600083018461306f565b92915050565b6000604082019050613484600083018561306f565b613491602083018461306f565b9392505050565b60006134a26134b3565b90506134ae8282613747565b919050565b6000604051905090565b600067ffffffffffffffff8211156134d8576134d761381f565b5b6134e18261384e565b9050602081019050919050565b600067ffffffffffffffff8211156135095761350861381f565b5b6135128261384e565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b6000613562826136a5565b915061356d836136a5565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156135a2576135a16137c1565b5b828201905092915050565b60006135b8826136a5565b91506135c3836136a5565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156135fc576135fb6137c1565b5b828202905092915050565b6000613612826136a5565b915061361d836136a5565b9250828210156136305761362f6137c1565b5b828203905092915050565b600061364682613685565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60006136ba826136c1565b9050919050565b60006136cc82613685565b9050919050565b82818337600083830152505050565b60005b838110156137005780820151818401526020810190506136e5565b8381111561370f576000848401525b50505050565b6000600282049050600182168061372d57607f821691505b60208210811415613741576137406137f0565b5b50919050565b6137508261384e565b810181811067ffffffffffffffff8211171561376f5761376e61381f565b5b80604052505050565b6000613783826136a5565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156137b6576137b56137c1565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4665697374795072696e743a2073656e64657220646f6573206e6f74206f776e60008201527f20746f6b656e0000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4665697374795072696e743a206d6178203130207072696e7473000000000000600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f4665697374795072696e743a2073656e64657220646f65736e2774206861766560008201527f20656e6f756768207072696e7473000000000000000000000000000000000000602082015250565b613dd68161363b565b8114613de157600080fd5b50565b613ded8161364d565b8114613df857600080fd5b50565b613e0481613659565b8114613e0f57600080fd5b50565b613e1b816136a5565b8114613e2657600080fd5b5056fea2646970667358221220ecad8f9c35bf554233f76240fea2e23c0a25a9bae46c24a9fcda15b5f019722864736f6c63430008040033697066733a2f2f516d51666b56384e457a6f4c596e334c4455624a755458465563524872735056546379395a54566d454d6d6e4d6a697066733a2f2f516d4e5555714774774b6734547a56703463415845366165427072785046636f4b4e76544646693538646e5a7661000000000000000000000000dfdb7f72c1f195c5951a234e8db9806eb063534600000000000000000000000000000000000000000014adf4b7320334b9000000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101e55760003560e01c80638da5cb5b1161010f578063c87b56dd116100a2578063e8a3d48511610071578063e8a3d48514610540578063e985e9c51461055e578063f2fde38b1461058e578063fc0c546a146105aa576101e5565b8063c87b56dd146104ba578063db006a75146104ea578063dfc7379d14610506578063e0df5b6f14610524576101e5565b8063a035b1fe116100de578063a035b1fe1461045a578063a22cb46514610478578063b88d4fde14610494578063be040fb0146104b0576101e5565b80638da5cb5b146103e657806391b7f5ed14610404578063938e3d7b1461042057806395d89b411461043c576101e5565b806323b872dd116101875780634f6ccce7116101565780634f6ccce71461034c5780636352211e1461037c57806370a08231146103ac578063715018a6146103dc576101e5565b806323b872dd146102c85780632f745c59146102e457806342842e0e1461031457806343e80ef214610330576101e5565b8063081812fc116101c3578063081812fc14610254578063095ea7b31461028457806313bdfacd146102a057806318160ddd146102aa576101e5565b806301ffc9a7146101ea578063068510761461021a57806306fdde0314610236575b600080fd5b61020460048036038101906101ff9190612c58565b6105c8565b604051610211919061317c565b60405180910390f35b610234600480360381019061022f9190612ceb565b610642565b005b61023e61072d565b60405161024b91906131b2565b60405180910390f35b61026e60048036038101906102699190612ceb565b6107bf565b60405161027b919061307e565b60405180910390f35b61029e60048036038101906102999190612bf3565b610844565b005b6102a861095c565b005b6102b2610968565b6040516102bf9190613454565b60405180910390f35b6102e260048036038101906102dd9190612aed565b610975565b005b6102fe60048036038101906102f99190612bf3565b6109d5565b60405161030b9190613454565b60405180910390f35b61032e60048036038101906103299190612aed565b610a7a565b005b61034a60048036038101906103459190612ceb565b610a9a565b005b61036660048036038101906103619190612ceb565b610c54565b6040516103739190613454565b60405180910390f35b61039660048036038101906103919190612ceb565b610ceb565b6040516103a3919061307e565b60405180910390f35b6103c660048036038101906103c19190612a88565b610d9d565b6040516103d39190613454565b60405180910390f35b6103e4610e55565b005b6103ee610edd565b6040516103fb919061307e565b60405180910390f35b61041e60048036038101906104199190612ceb565b610f07565b005b61043a60048036038101906104359190612caa565b610fc8565b005b61044461105e565b60405161045191906131b2565b60405180910390f35b6104626110f0565b60405161046f9190613454565b60405180910390f35b610492600480360381019061048d9190612bb7565b6110fa565b005b6104ae60048036038101906104a99190612b3c565b61127b565b005b6104b86112dd565b005b6104d460048036038101906104cf9190612ceb565b6112e9565b6040516104e191906131b2565b60405180910390f35b61050460048036038101906104ff9190612ceb565b61137d565b005b61050e61151e565b60405161051b9190613454565b60405180910390f35b61053e60048036038101906105399190612caa565b61152f565b005b6105486115c5565b60405161055591906131b2565b60405180910390f35b61057860048036038101906105739190612ab1565b611657565b604051610585919061317c565b60405180910390f35b6105a860048036038101906105a39190612a88565b6116eb565b005b6105b26117e3565b6040516105bf9190613197565b60405180910390f35b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061063b575061063a8261180b565b5b9050919050565b600061065461064f6118ed565b610d9d565b9050600a82111561069a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161069190613394565b60405180910390fd5b808211156106dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106d490613434565b60405180910390fd5b6000600190505b8281116107285760006107096106f86118ed565b83856107049190613607565b6109d5565b90506107148161137d565b50808061072090613778565b9150506106e4565b505050565b60606000805461073c90613715565b80601f016020809104026020016040519081016040528092919081815260200182805461076890613715565b80156107b55780601f1061078a576101008083540402835291602001916107b5565b820191906000526020600020905b81548152906001019060200180831161079857829003601f168201915b5050505050905090565b60006107ca826118f5565b610809576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161080090613354565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061084f82610ceb565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156108c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108b7906133d4565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166108df6118ed565b73ffffffffffffffffffffffffffffffffffffffff16148061090e575061090d816109086118ed565b611657565b5b61094d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610944906132d4565b60405180910390fd5b6109578383611961565b505050565b6109666001610a9a565b565b6000600880549050905090565b6109866109806118ed565b82611a1a565b6109c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109bc906133f4565b60405180910390fd5b6109d0838383611af8565b505050565b60006109e083610d9d565b8210610a21576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a18906131d4565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610a958383836040518060200160405280600081525061127b565b505050565b600a811115610ade576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ad590613394565b60405180910390fd5b7f000000000000000000000000dfdb7f72c1f195c5951a234e8db9806eb063534673ffffffffffffffffffffffffffffffffffffffff166323b872dd610b226118ed565b3084600c54610b3191906135ad565b6040518463ffffffff1660e01b8152600401610b4f93929190613099565b602060405180830381600087803b158015610b6957600080fd5b505af1158015610b7d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ba19190612c2f565b610baa57600080fd5b60005b81811015610c50576000610bc1600d611d54565b90507f3a66c88078611900c88c01a5fca20501399249b5980a31c713a9dedb8baea0dd610bec6118ed565b82600c54604051610bff93929190613145565b60405180910390a1600c54600b600083815260200190815260200160002081905550610c32610c2c6118ed565b82611d62565b610c3c600d611d80565b508080610c4890613778565b915050610bad565b5050565b6000610c5e610968565b8210610c9f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c9690613414565b60405180910390fd5b60088281548110610cd9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610d94576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d8b90613314565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610e0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e05906132f4565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610e5d6118ed565b73ffffffffffffffffffffffffffffffffffffffff16610e7b610edd565b73ffffffffffffffffffffffffffffffffffffffff1614610ed1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ec890613374565b60405180910390fd5b610edb6000611d96565b565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610f0f6118ed565b73ffffffffffffffffffffffffffffffffffffffff16610f2d610edd565b73ffffffffffffffffffffffffffffffffffffffff1614610f83576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f7a90613374565b60405180910390fd5b7f945c1c4e99aa89f648fbfe3df471b916f719e16d960fcec0737d4d56bd696838600c5482604051610fb692919061346f565b60405180910390a180600c8190555050565b610fd06118ed565b73ffffffffffffffffffffffffffffffffffffffff16610fee610edd565b73ffffffffffffffffffffffffffffffffffffffff1614611044576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161103b90613374565b60405180910390fd5b80600f908051906020019061105a929190612897565b5050565b60606001805461106d90613715565b80601f016020809104026020016040519081016040528092919081815260200182805461109990613715565b80156110e65780601f106110bb576101008083540402835291602001916110e6565b820191906000526020600020905b8154815290600101906020018083116110c957829003601f168201915b5050505050905090565b6000600c54905090565b6111026118ed565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611170576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161116790613274565b60405180910390fd5b806005600061117d6118ed565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661122a6118ed565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161126f919061317c565b60405180910390a35050565b61128c6112866118ed565b83611a1a565b6112cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112c2906133f4565b60405180910390fd5b6112d784848484611e5c565b50505050565b6112e76001610642565b565b6060600e80546112f890613715565b80601f016020809104026020016040519081016040528092919081815260200182805461132490613715565b80156113715780601f1061134657610100808354040283529160200191611371565b820191906000526020600020905b81548152906001019060200180831161135457829003601f168201915b50505050509050919050565b6113856118ed565b73ffffffffffffffffffffffffffffffffffffffff166113a482610ceb565b73ffffffffffffffffffffffffffffffffffffffff16146113fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113f1906132b4565b60405180910390fd5b6000600b60008381526020019081526020016000205490507ff3a670cd3af7d64b488926880889d08a8585a138ff455227af6737339a1ec26261143b6118ed565b838360405161144c93929190613145565b60405180910390a161145d82611eb8565b7f000000000000000000000000dfdb7f72c1f195c5951a234e8db9806eb063534673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb6114a16118ed565b836040518363ffffffff1660e01b81526004016114bf92919061311c565b602060405180830381600087803b1580156114d957600080fd5b505af11580156114ed573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115119190612c2f565b61151a57600080fd5b5050565b600061152a600d611d54565b905090565b6115376118ed565b73ffffffffffffffffffffffffffffffffffffffff16611555610edd565b73ffffffffffffffffffffffffffffffffffffffff16146115ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115a290613374565b60405180910390fd5b80600e90805190602001906115c1929190612897565b5050565b6060600f80546115d490613715565b80601f016020809104026020016040519081016040528092919081815260200182805461160090613715565b801561164d5780601f106116225761010080835404028352916020019161164d565b820191906000526020600020905b81548152906001019060200180831161163057829003601f168201915b5050505050905090565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6116f36118ed565b73ffffffffffffffffffffffffffffffffffffffff16611711610edd565b73ffffffffffffffffffffffffffffffffffffffff1614611767576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161175e90613374565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156117d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117ce90613214565b60405180910390fd5b6117e081611d96565b50565b60007f000000000000000000000000dfdb7f72c1f195c5951a234e8db9806eb0635346905090565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806118d657507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806118e657506118e582611fc9565b5b9050919050565b600033905090565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166119d483610ceb565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611a25826118f5565b611a64576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a5b90613294565b60405180910390fd5b6000611a6f83610ceb565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611ade57508373ffffffffffffffffffffffffffffffffffffffff16611ac6846107bf565b73ffffffffffffffffffffffffffffffffffffffff16145b80611aef5750611aee8185611657565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611b1882610ceb565b73ffffffffffffffffffffffffffffffffffffffff1614611b6e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b65906133b4565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611bde576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bd590613254565b60405180910390fd5b611be9838383612033565b611bf4600082611961565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611c449190613607565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611c9b9190613557565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600081600001549050919050565b611d7c828260405180602001604052806000815250612147565b5050565b6001816000016000828254019250508190555050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b611e67848484611af8565b611e73848484846121a2565b611eb2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ea9906131f4565b60405180910390fd5b50505050565b6000611ec382610ceb565b9050611ed181600084612033565b611edc600083611961565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611f2c9190613607565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b61203e838383612339565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156120815761207c8161233e565b6120c0565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146120bf576120be8382612387565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612103576120fe816124f4565b612142565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612141576121408282612637565b5b5b505050565b61215183836126b6565b61215e60008484846121a2565b61219d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612194906131f4565b60405180910390fd5b505050565b60006121c38473ffffffffffffffffffffffffffffffffffffffff16612884565b1561232c578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026121ec6118ed565b8786866040518563ffffffff1660e01b815260040161220e94939291906130d0565b602060405180830381600087803b15801561222857600080fd5b505af192505050801561225957506040513d601f19601f820116820180604052508101906122569190612c81565b60015b6122dc573d8060008114612289576040519150601f19603f3d011682016040523d82523d6000602084013e61228e565b606091505b506000815114156122d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122cb906131f4565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612331565b600190505b949350505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161239484610d9d565b61239e9190613607565b9050600060076000848152602001908152602001600020549050818114612483576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506125089190613607565b905060006009600084815260200190815260200160002054905060006008838154811061255e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200154905080600883815481106125a6577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001819055508160096000838152602001908152602001600020819055506009600085815260200190815260200160002060009055600880548061261b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b600061264283610d9d565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612726576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161271d90613334565b60405180910390fd5b61272f816118f5565b1561276f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161276690613234565b60405180910390fd5b61277b60008383612033565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546127cb9190613557565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b8280546128a390613715565b90600052602060002090601f0160209004810192826128c5576000855561290c565b82601f106128de57805160ff191683800117855561290c565b8280016001018555821561290c579182015b8281111561290b5782518255916020019190600101906128f0565b5b509050612919919061291d565b5090565b5b8082111561293657600081600090555060010161291e565b5090565b600061294d612948846134bd565b613498565b90508281526020810184848401111561296557600080fd5b6129708482856136d3565b509392505050565b600061298b612986846134ee565b613498565b9050828152602081018484840111156129a357600080fd5b6129ae8482856136d3565b509392505050565b6000813590506129c581613dcd565b92915050565b6000813590506129da81613de4565b92915050565b6000815190506129ef81613de4565b92915050565b600081359050612a0481613dfb565b92915050565b600081519050612a1981613dfb565b92915050565b600082601f830112612a3057600080fd5b8135612a4084826020860161293a565b91505092915050565b600082601f830112612a5a57600080fd5b8135612a6a848260208601612978565b91505092915050565b600081359050612a8281613e12565b92915050565b600060208284031215612a9a57600080fd5b6000612aa8848285016129b6565b91505092915050565b60008060408385031215612ac457600080fd5b6000612ad2858286016129b6565b9250506020612ae3858286016129b6565b9150509250929050565b600080600060608486031215612b0257600080fd5b6000612b10868287016129b6565b9350506020612b21868287016129b6565b9250506040612b3286828701612a73565b9150509250925092565b60008060008060808587031215612b5257600080fd5b6000612b60878288016129b6565b9450506020612b71878288016129b6565b9350506040612b8287828801612a73565b925050606085013567ffffffffffffffff811115612b9f57600080fd5b612bab87828801612a1f565b91505092959194509250565b60008060408385031215612bca57600080fd5b6000612bd8858286016129b6565b9250506020612be9858286016129cb565b9150509250929050565b60008060408385031215612c0657600080fd5b6000612c14858286016129b6565b9250506020612c2585828601612a73565b9150509250929050565b600060208284031215612c4157600080fd5b6000612c4f848285016129e0565b91505092915050565b600060208284031215612c6a57600080fd5b6000612c78848285016129f5565b91505092915050565b600060208284031215612c9357600080fd5b6000612ca184828501612a0a565b91505092915050565b600060208284031215612cbc57600080fd5b600082013567ffffffffffffffff811115612cd657600080fd5b612ce284828501612a49565b91505092915050565b600060208284031215612cfd57600080fd5b6000612d0b84828501612a73565b91505092915050565b612d1d8161363b565b82525050565b612d2c8161364d565b82525050565b6000612d3d8261351f565b612d478185613535565b9350612d578185602086016136e2565b612d608161384e565b840191505092915050565b612d74816136af565b82525050565b6000612d858261352a565b612d8f8185613546565b9350612d9f8185602086016136e2565b612da88161384e565b840191505092915050565b6000612dc0602b83613546565b9150612dcb8261385f565b604082019050919050565b6000612de3603283613546565b9150612dee826138ae565b604082019050919050565b6000612e06602683613546565b9150612e11826138fd565b604082019050919050565b6000612e29601c83613546565b9150612e348261394c565b602082019050919050565b6000612e4c602483613546565b9150612e5782613975565b604082019050919050565b6000612e6f601983613546565b9150612e7a826139c4565b602082019050919050565b6000612e92602c83613546565b9150612e9d826139ed565b604082019050919050565b6000612eb5602683613546565b9150612ec082613a3c565b604082019050919050565b6000612ed8603883613546565b9150612ee382613a8b565b604082019050919050565b6000612efb602a83613546565b9150612f0682613ada565b604082019050919050565b6000612f1e602983613546565b9150612f2982613b29565b604082019050919050565b6000612f41602083613546565b9150612f4c82613b78565b602082019050919050565b6000612f64602c83613546565b9150612f6f82613ba1565b604082019050919050565b6000612f87602083613546565b9150612f9282613bf0565b602082019050919050565b6000612faa601a83613546565b9150612fb582613c19565b602082019050919050565b6000612fcd602983613546565b9150612fd882613c42565b604082019050919050565b6000612ff0602183613546565b9150612ffb82613c91565b604082019050919050565b6000613013603183613546565b915061301e82613ce0565b604082019050919050565b6000613036602c83613546565b915061304182613d2f565b604082019050919050565b6000613059602e83613546565b915061306482613d7e565b604082019050919050565b613078816136a5565b82525050565b60006020820190506130936000830184612d14565b92915050565b60006060820190506130ae6000830186612d14565b6130bb6020830185612d14565b6130c8604083018461306f565b949350505050565b60006080820190506130e56000830187612d14565b6130f26020830186612d14565b6130ff604083018561306f565b81810360608301526131118184612d32565b905095945050505050565b60006040820190506131316000830185612d14565b61313e602083018461306f565b9392505050565b600060608201905061315a6000830186612d14565b613167602083018561306f565b613174604083018461306f565b949350505050565b60006020820190506131916000830184612d23565b92915050565b60006020820190506131ac6000830184612d6b565b92915050565b600060208201905081810360008301526131cc8184612d7a565b905092915050565b600060208201905081810360008301526131ed81612db3565b9050919050565b6000602082019050818103600083015261320d81612dd6565b9050919050565b6000602082019050818103600083015261322d81612df9565b9050919050565b6000602082019050818103600083015261324d81612e1c565b9050919050565b6000602082019050818103600083015261326d81612e3f565b9050919050565b6000602082019050818103600083015261328d81612e62565b9050919050565b600060208201905081810360008301526132ad81612e85565b9050919050565b600060208201905081810360008301526132cd81612ea8565b9050919050565b600060208201905081810360008301526132ed81612ecb565b9050919050565b6000602082019050818103600083015261330d81612eee565b9050919050565b6000602082019050818103600083015261332d81612f11565b9050919050565b6000602082019050818103600083015261334d81612f34565b9050919050565b6000602082019050818103600083015261336d81612f57565b9050919050565b6000602082019050818103600083015261338d81612f7a565b9050919050565b600060208201905081810360008301526133ad81612f9d565b9050919050565b600060208201905081810360008301526133cd81612fc0565b9050919050565b600060208201905081810360008301526133ed81612fe3565b9050919050565b6000602082019050818103600083015261340d81613006565b9050919050565b6000602082019050818103600083015261342d81613029565b9050919050565b6000602082019050818103600083015261344d8161304c565b9050919050565b6000602082019050613469600083018461306f565b92915050565b6000604082019050613484600083018561306f565b613491602083018461306f565b9392505050565b60006134a26134b3565b90506134ae8282613747565b919050565b6000604051905090565b600067ffffffffffffffff8211156134d8576134d761381f565b5b6134e18261384e565b9050602081019050919050565b600067ffffffffffffffff8211156135095761350861381f565b5b6135128261384e565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b6000613562826136a5565b915061356d836136a5565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156135a2576135a16137c1565b5b828201905092915050565b60006135b8826136a5565b91506135c3836136a5565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156135fc576135fb6137c1565b5b828202905092915050565b6000613612826136a5565b915061361d836136a5565b9250828210156136305761362f6137c1565b5b828203905092915050565b600061364682613685565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60006136ba826136c1565b9050919050565b60006136cc82613685565b9050919050565b82818337600083830152505050565b60005b838110156137005780820151818401526020810190506136e5565b8381111561370f576000848401525b50505050565b6000600282049050600182168061372d57607f821691505b60208210811415613741576137406137f0565b5b50919050565b6137508261384e565b810181811067ffffffffffffffff8211171561376f5761376e61381f565b5b80604052505050565b6000613783826136a5565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156137b6576137b56137c1565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4665697374795072696e743a2073656e64657220646f6573206e6f74206f776e60008201527f20746f6b656e0000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4665697374795072696e743a206d6178203130207072696e7473000000000000600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f4665697374795072696e743a2073656e64657220646f65736e2774206861766560008201527f20656e6f756768207072696e7473000000000000000000000000000000000000602082015250565b613dd68161363b565b8114613de157600080fd5b50565b613ded8161364d565b8114613df857600080fd5b50565b613e0481613659565b8114613e0f57600080fd5b50565b613e1b816136a5565b8114613e2657600080fd5b5056fea2646970667358221220ecad8f9c35bf554233f76240fea2e23c0a25a9bae46c24a9fcda15b5f019722864736f6c63430008040033

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

000000000000000000000000dfdb7f72c1f195c5951a234e8db9806eb063534600000000000000000000000000000000000000000014adf4b7320334b9000000

-----Decoded View---------------
Arg [0] : token_ (address): 0xDFDb7f72c1F195C5951a234e8DB9806EB0635346
Arg [1] : price_ (uint256): 25000000000000000000000000

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000dfdb7f72c1f195c5951a234e8db9806eb0635346
Arg [1] : 00000000000000000000000000000000000000000014adf4b7320334b9000000


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.