ETH Price: $3,421.55 (+7.19%)
Gas: 15 Gwei

Token

Jolly Elves (JE)
 

Overview

Max Total Supply

594 JE

Holders

353

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
2 JE
0x87d24f3c6f17c00e7a01d3a69a073e41e56cb088
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

The Jolly Elves have courageously volunteered to complete a perilous mission for their benefactor Santa. 6000 Elves were handpicked to venture into the digital metaverse to discover new methods and techniques to get gifts to everyone throughout the year.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
JollyElves

Compiler Version
v0.8.0+commit.c7dfd78e

Optimization Enabled:
No with 200 runs

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

import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";

import "./JEVoucherSigner.sol";
import "./JEVoucher.sol";

// Jolly Elves v1.2

contract JollyElves is ERC721Enumerable, Ownable, JEVoucherSigner {  
    using Address for address;

    // Sale Controls
    bool public presaleActive = false;
    bool public saleActive = false;
    
    // Mint Price
    uint256 public price = 60000000000000000; // 0.06 ETH

    // Token Supply
    uint256 public constant TOTAL_SUPPY = 6000;
    uint256 public constant PUBLIC_SUPPLY = 5975;
    uint256 public GIFT_SUPPLY = 25;

    // Contract URI
    string public contractURI;

    // Create New TokenURI
    function _baseURI() internal view virtual override returns (string memory) {
        return baseTokenURI;
    }

    // Presale Address List
    mapping (uint => uint) public claimedVouchers;

    // Base Link That Leads To Metadata
    string public baseTokenURI;

    constructor (string memory newBaseURI, address voucherSigner) ERC721 ("Jolly Elves", "JE") JEVoucherSigner(voucherSigner) {
        setBaseURI(newBaseURI);
    }

    // Check Token # Ownership
    function checkOwner(address addr) public view returns(uint256[] memory) {
        uint256 tokenCount = balanceOf(addr);
        uint256[] memory tokensId = new uint256[](tokenCount);
        for(uint256 i; i < tokenCount; i++){
            tokensId[i] = tokenOfOwnerByIndex(addr, i);
        }
        return tokensId;
    }

    // Minting Function
    function mintElves(uint256 _amount) public payable {
        uint256 supply = totalSupply();
        require( saleActive,                     "Sale Not Active" );
        require( _amount > 0 && _amount < 11,    "Can't Mint More Than 10 Tokens" );
        require( supply + _amount <= PUBLIC_SUPPLY, "Not Enough Supply" );
        require( msg.value == price * _amount,   "Incorrect Amount Of ETH Sent" );
        for(uint256 i; i < _amount; i++){
            _safeMint( msg.sender, supply + i );
        }
    }
    
    // Presale Minting
    function mintPresale(uint256 _amount, JEVoucher.Voucher calldata v) public payable {
        uint256 supply = totalSupply();
        require(presaleActive, "Private sale not open");
        require(claimedVouchers[v.voucherId] + _amount <= 2, "No Voucher For Your Address");
        require(_amount <= 2, "Can't Mint More Than Two");
        require(v.to == msg.sender, "No Voucher For Your Address");
        require(JEVoucher.validateVoucher(v, getVoucherSigner()), "Invalid Voucher");
        require( supply + _amount <= PUBLIC_SUPPLY, "Not Enough Supply" );
        require( msg.value == price * _amount,   "Incorrect Amount Of ETH Sent" );
        claimedVouchers[v.voucherId] += _amount;
        for(uint256 i; i < _amount; i++){
            _safeMint( msg.sender, supply + i );
        }
    }

    // Validate Voucher
    function validateVoucher(JEVoucher.Voucher calldata v) external view returns (bool) {
        return JEVoucher.validateVoucher(v, getVoucherSigner());
    }

    // Gift Function - Collabs & Giveaways
    function gift(address _to, uint256 _amount) external onlyOwner() {
        require( _amount <= GIFT_SUPPLY, "Not Enough Supply" );

        uint256 supply = totalSupply();
        for(uint256 i; i < _amount; i++){
            _safeMint( _to, supply + i );
        }
        GIFT_SUPPLY -= _amount;
    }

     // Incase ETH Price Rises Rapidly
    function setPrice(uint256 newPrice) public onlyOwner() {
        price = newPrice;
    }

    // Set New baseURI
    function setBaseURI(string memory baseURI) public onlyOwner {
        baseTokenURI = baseURI;
    }

    // Pre Sale On/Off
    function setPresaleActive(bool val) public onlyOwner {
        presaleActive = val;
    }

    // Sale On/Off
    function setSaleActive(bool val) public onlyOwner {
        saleActive = val;
    }

    // Set Contract URI
    function setContractURI(string memory newContractURI) external onlyOwner {
        contractURI = newContractURI;
    }

    // Withdraw Function
    function withdraw() public onlyOwner {
        uint256 balance = address(this).balance;
        payable(msg.sender).transfer(balance);
    }
}

File 2 of 15 : ERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);
    }

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

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

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

File 3 of 15 : ERC721Enumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 4 of 15 : 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 15 : JEVoucherSigner.sol
//SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/access/Ownable.sol";

abstract contract JEVoucherSigner is Ownable {

  address private _voucherSigner;

  event SetVoucherSigner(address prevVoucherSigner, address newVoucherSigner);

  function setVoucherSigner(address newVoucherSigner) public onlyOwner {
    require(newVoucherSigner != address(0), "Setting voucher signer to 0 address");
    _voucherSigner = newVoucherSigner;
    emit SetVoucherSigner(_voucherSigner, newVoucherSigner);
  }

  function getVoucherSigner() public view returns (address) {
    return _voucherSigner;
  }

  constructor(address voucherSigner) {
    setVoucherSigner(voucherSigner);
  }

}

File 6 of 15 : JEVoucher.sol
//SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

library JEVoucher {

  struct Sig {
    bytes32 r;
    bytes32 s;
    uint8 v;
  }

  struct Voucher {
    uint voucherId;
    address to;
    Sig sig;
  }

  function validateVoucher(Voucher calldata v, address signer)
    internal pure returns (bool)
  {
    bytes32 h1 = keccak256(abi.encodePacked(v.voucherId, v.to));
    bytes32 h2 = keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", h1));
    return ecrecover(h2, v.sig.v, v.sig.r, v.sig.s) == signer;
  }

}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

File 9 of 15 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 10 of 15 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 11 of 15 : 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 12 of 15 : Strings.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

File 13 of 15 : 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 14 of 15 : 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 15 of 15 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"newBaseURI","type":"string"},{"internalType":"address","name":"voucherSigner","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":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":"address","name":"prevVoucherSigner","type":"address"},{"indexed":false,"internalType":"address","name":"newVoucherSigner","type":"address"}],"name":"SetVoucherSigner","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"GIFT_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PUBLIC_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TOTAL_SUPPY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"checkOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"claimedVouchers","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":[],"name":"getVoucherSigner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"gift","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mintElves","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"},{"components":[{"internalType":"uint256","name":"voucherId","type":"uint256"},{"internalType":"address","name":"to","type":"address"},{"components":[{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"},{"internalType":"uint8","name":"v","type":"uint8"}],"internalType":"struct JEVoucher.Sig","name":"sig","type":"tuple"}],"internalType":"struct JEVoucher.Voucher","name":"v","type":"tuple"}],"name":"mintPresale","outputs":[],"stateMutability":"payable","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":"presaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newContractURI","type":"string"}],"name":"setContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"val","type":"bool"}],"name":"setPresaleActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"val","type":"bool"}],"name":"setSaleActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newVoucherSigner","type":"address"}],"name":"setVoucherSigner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"uint256","name":"voucherId","type":"uint256"},{"internalType":"address","name":"to","type":"address"},{"components":[{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"},{"internalType":"uint8","name":"v","type":"uint8"}],"internalType":"struct JEVoucher.Sig","name":"sig","type":"tuple"}],"internalType":"struct JEVoucher.Voucher","name":"v","type":"tuple"}],"name":"validateVoucher","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526000600b60146101000a81548160ff0219169083151502179055506000600b60156101000a81548160ff02191690831515021790555066d529ae9e860000600c556019600d553480156200005757600080fd5b506040516200587f3803806200587f83398181016040528101906200007d9190620005e8565b806040518060400160405280600b81526020017f4a6f6c6c7920456c7665730000000000000000000000000000000000000000008152506040518060400160405280600281526020017f4a45000000000000000000000000000000000000000000000000000000000000815250816000908051906020019062000102929190620004af565b5080600190805190602001906200011b929190620004af565b5050506200013e620001326200016960201b60201c565b6200017160201b60201c565b6200014f816200023760201b60201c565b506200016182620003da60201b60201c565b5050620008fe565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620002476200016960201b60201c565b73ffffffffffffffffffffffffffffffffffffffff166200026d6200048560201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1614620002c6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002bd906200072a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141562000339576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000330906200074c565b60405180910390fd5b80600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f6c61302b47e872d08552b17b5c3219414ee4a6e333af5955e372540f8dcc42bb600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682604051620003cf929190620006fd565b60405180910390a150565b620003ea6200016960201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16620004106200048560201b60201c565b73ffffffffffffffffffffffffffffffffffffffff161462000469576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000460906200072a565b60405180910390fd5b806010908051906020019062000481929190620004af565b5050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b828054620004bd9062000850565b90600052602060002090601f016020900481019282620004e157600085556200052d565b82601f10620004fc57805160ff19168380011785556200052d565b828001600101855582156200052d579182015b828111156200052c5782518255916020019190600101906200050f565b5b5090506200053c919062000540565b5090565b5b808211156200055b57600081600090555060010162000541565b5090565b6000620005766200057084620007a2565b6200076e565b9050828152602081018484840111156200058f57600080fd5b6200059c8482856200081a565b509392505050565b600081519050620005b581620008e4565b92915050565b600082601f830112620005cd57600080fd5b8151620005df8482602086016200055f565b91505092915050565b60008060408385031215620005fc57600080fd5b600083015167ffffffffffffffff8111156200061757600080fd5b6200062585828601620005bb565b92505060206200063885828601620005a4565b9150509250929050565b6200064d81620007e6565b82525050565b600062000662602083620007d5565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b6000620006a4602383620007d5565b91507f53657474696e6720766f7563686572207369676e657220746f2030206164647260008301527f65737300000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600060408201905062000714600083018562000642565b62000723602083018462000642565b9392505050565b60006020820190508181036000830152620007458162000653565b9050919050565b60006020820190508181036000830152620007678162000695565b9050919050565b6000604051905081810181811067ffffffffffffffff82111715620007985762000797620008b5565b5b8060405250919050565b600067ffffffffffffffff821115620007c057620007bf620008b5565b5b601f19601f8301169050602081019050919050565b600082825260208201905092915050565b6000620007f382620007fa565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60005b838110156200083a5780820151818401526020810190506200081d565b838111156200084a576000848401525b50505050565b600060028204905060018216806200086957607f821691505b6020821081141562000880576200087f62000886565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b620008ef81620007e6565b8114620008fb57600080fd5b50565b614f71806200090e6000396000f3fe6080604052600436106102465760003560e01c806370a0823111610139578063af6e40d0116100b6578063e0e3671c1161007a578063e0e3671c1461085e578063e57c58e51461089b578063e8a3d485146108c6578063e985e9c5146108f1578063ee54abf21461092e578063f2fde38b1461096b57610246565b8063af6e40d01461077b578063b88d4fde146107a4578063c87b56dd146107cd578063cbce4c971461080a578063d547cfb71461083357610246565b806391b7f5ed116100fd57806391b7f5ed146106aa578063938e3d7b146106d357806395d89b41146106fc578063a035b1fe14610727578063a22cb4651461075257610246565b806370a08231146105d7578063715018a6146106145780638342083a1461062b578063841718a6146106565780638da5cb5b1461067f57610246565b80632f745c59116101c757806353135ca01161018b57806353135ca0146104f05780635464f5bc1461051b57806355f804b3146105465780636352211e1461056f57806368428a1b146105ac57610246565b80632f745c591461040d5780633ccfd60b1461044a5780633f8121a21461046157806342842e0e1461048a5780634f6ccce7146104b357610246565b806310f315681161020e57806310f315681461033557806318160ddd1461035157806318cc50c81461037c5780631ea63901146103b957806323b872dd146103e457610246565b806301ffc9a71461024b57806306fdde0314610288578063081812fc146102b3578063095ea7b3146102f05780630aea4a3314610319575b600080fd5b34801561025757600080fd5b50610272600480360381019061026d91906138ba565b610994565b60405161027f919061461e565b60405180910390f35b34801561029457600080fd5b5061029d610a0e565b6040516102aa919061467e565b60405180910390f35b3480156102bf57600080fd5b506102da60048036038101906102d59190613976565b610aa0565b6040516102e7919061456c565b60405180910390f35b3480156102fc57600080fd5b5061031760048036038101906103129190613855565b610b25565b005b610333600480360381019061032e919061399f565b610c3d565b005b61034f600480360381019061034a9190613976565b610f18565b005b34801561035d57600080fd5b50610366611099565b6040516103739190614a00565b60405180910390f35b34801561038857600080fd5b506103a3600480360381019061039e919061394d565b6110a6565b6040516103b0919061461e565b60405180910390f35b3480156103c557600080fd5b506103ce6110c0565b6040516103db9190614a00565b60405180910390f35b3480156103f057600080fd5b5061040b6004803603810190610406919061374f565b6110c6565b005b34801561041957600080fd5b50610434600480360381019061042f9190613855565b611126565b6040516104419190614a00565b60405180910390f35b34801561045657600080fd5b5061045f6111cb565b005b34801561046d57600080fd5b5061048860048036038101906104839190613891565b611296565b005b34801561049657600080fd5b506104b160048036038101906104ac919061374f565b61132f565b005b3480156104bf57600080fd5b506104da60048036038101906104d59190613976565b61134f565b6040516104e79190614a00565b60405180910390f35b3480156104fc57600080fd5b506105056113e6565b604051610512919061461e565b60405180910390f35b34801561052757600080fd5b506105306113f9565b60405161053d9190614a00565b60405180910390f35b34801561055257600080fd5b5061056d6004803603810190610568919061390c565b6113ff565b005b34801561057b57600080fd5b5061059660048036038101906105919190613976565b611495565b6040516105a3919061456c565b60405180910390f35b3480156105b857600080fd5b506105c1611547565b6040516105ce919061461e565b60405180910390f35b3480156105e357600080fd5b506105fe60048036038101906105f991906136ea565b61155a565b60405161060b9190614a00565b60405180910390f35b34801561062057600080fd5b50610629611612565b005b34801561063757600080fd5b5061064061169a565b60405161064d9190614a00565b60405180910390f35b34801561066257600080fd5b5061067d60048036038101906106789190613891565b6116a0565b005b34801561068b57600080fd5b50610694611739565b6040516106a1919061456c565b60405180910390f35b3480156106b657600080fd5b506106d160048036038101906106cc9190613976565b611763565b005b3480156106df57600080fd5b506106fa60048036038101906106f5919061390c565b6117e9565b005b34801561070857600080fd5b5061071161187f565b60405161071e919061467e565b60405180910390f35b34801561073357600080fd5b5061073c611911565b6040516107499190614a00565b60405180910390f35b34801561075e57600080fd5b5061077960048036038101906107749190613819565b611917565b005b34801561078757600080fd5b506107a2600480360381019061079d91906136ea565b611a98565b005b3480156107b057600080fd5b506107cb60048036038101906107c6919061379e565b611c23565b005b3480156107d957600080fd5b506107f460048036038101906107ef9190613976565b611c85565b604051610801919061467e565b60405180910390f35b34801561081657600080fd5b50610831600480360381019061082c9190613855565b611d2c565b005b34801561083f57600080fd5b50610848611e4b565b604051610855919061467e565b60405180910390f35b34801561086a57600080fd5b50610885600480360381019061088091906136ea565b611ed9565b60405161089291906145fc565b60405180910390f35b3480156108a757600080fd5b506108b0611fd3565b6040516108bd919061456c565b60405180910390f35b3480156108d257600080fd5b506108db611ffd565b6040516108e8919061467e565b60405180910390f35b3480156108fd57600080fd5b5061091860048036038101906109139190613713565b61208b565b604051610925919061461e565b60405180910390f35b34801561093a57600080fd5b5061095560048036038101906109509190613976565b61211f565b6040516109629190614a00565b60405180910390f35b34801561097757600080fd5b50610992600480360381019061098d91906136ea565b612137565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610a075750610a068261222f565b5b9050919050565b606060008054610a1d90614d0a565b80601f0160208091040260200160405190810160405280929190818152602001828054610a4990614d0a565b8015610a965780601f10610a6b57610100808354040283529160200191610a96565b820191906000526020600020905b815481529060010190602001808311610a7957829003601f168201915b5050505050905090565b6000610aab82612311565b610aea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ae1906148a0565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b3082611495565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610ba1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b9890614940565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610bc061237d565b73ffffffffffffffffffffffffffffffffffffffff161480610bef5750610bee81610be961237d565b61208b565b5b610c2e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c2590614800565b60405180910390fd5b610c388383612385565b505050565b6000610c47611099565b9050600b60149054906101000a900460ff16610c98576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c8f906147e0565b60405180910390fd5b600283600f60008560000135815260200190815260200160002054610cbd9190614b28565b1115610cfe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cf5906149e0565b60405180910390fd5b6002831115610d42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d3990614960565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff16826020016020810190610d6c91906136ea565b73ffffffffffffffffffffffffffffffffffffffff1614610dc2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610db9906149e0565b60405180910390fd5b610dd382610dce611fd3565b61243e565b610e12576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e09906147c0565b60405180910390fd5b6117578382610e219190614b28565b1115610e62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e5990614880565b60405180910390fd5b82600c54610e709190614baf565b3414610eb1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ea890614740565b60405180910390fd5b82600f6000846000013581526020019081526020016000206000828254610ed89190614b28565b9250508190555060005b83811015610f1257610eff338284610efa9190614b28565b612557565b8080610f0a90614d3c565b915050610ee2565b50505050565b6000610f22611099565b9050600b60159054906101000a900460ff16610f73576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f6a90614700565b60405180910390fd5b600082118015610f835750600b82105b610fc2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fb9906149a0565b60405180910390fd5b6117578282610fd19190614b28565b1115611012576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161100990614880565b60405180910390fd5b81600c546110209190614baf565b3414611061576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161105890614740565b60405180910390fd5b60005b828110156110945761108133828461107c9190614b28565b612557565b808061108c90614d3c565b915050611064565b505050565b6000600880549050905090565b60006110b9826110b4611fd3565b61243e565b9050919050565b600d5481565b6110d76110d161237d565b82612575565b611116576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161110d90614980565b60405180910390fd5b611121838383612653565b505050565b60006111318361155a565b8210611172576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611169906146a0565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b6111d361237d565b73ffffffffffffffffffffffffffffffffffffffff166111f1611739565b73ffffffffffffffffffffffffffffffffffffffff1614611247576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161123e906148c0565b60405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611292573d6000803e3d6000fd5b5050565b61129e61237d565b73ffffffffffffffffffffffffffffffffffffffff166112bc611739565b73ffffffffffffffffffffffffffffffffffffffff1614611312576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611309906148c0565b60405180910390fd5b80600b60146101000a81548160ff02191690831515021790555050565b61134a83838360405180602001604052806000815250611c23565b505050565b6000611359611099565b821061139a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611391906149c0565b60405180910390fd5b600882815481106113d4577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b600b60149054906101000a900460ff1681565b61177081565b61140761237d565b73ffffffffffffffffffffffffffffffffffffffff16611425611739565b73ffffffffffffffffffffffffffffffffffffffff161461147b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611472906148c0565b60405180910390fd5b80601090805190602001906114919291906134de565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561153e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161153590614840565b60405180910390fd5b80915050919050565b600b60159054906101000a900460ff1681565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156115cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115c290614820565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61161a61237d565b73ffffffffffffffffffffffffffffffffffffffff16611638611739565b73ffffffffffffffffffffffffffffffffffffffff161461168e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611685906148c0565b60405180910390fd5b61169860006128af565b565b61175781565b6116a861237d565b73ffffffffffffffffffffffffffffffffffffffff166116c6611739565b73ffffffffffffffffffffffffffffffffffffffff161461171c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611713906148c0565b60405180910390fd5b80600b60156101000a81548160ff02191690831515021790555050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61176b61237d565b73ffffffffffffffffffffffffffffffffffffffff16611789611739565b73ffffffffffffffffffffffffffffffffffffffff16146117df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117d6906148c0565b60405180910390fd5b80600c8190555050565b6117f161237d565b73ffffffffffffffffffffffffffffffffffffffff1661180f611739565b73ffffffffffffffffffffffffffffffffffffffff1614611865576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161185c906148c0565b60405180910390fd5b80600e908051906020019061187b9291906134de565b5050565b60606001805461188e90614d0a565b80601f01602080910402602001604051908101604052809291908181526020018280546118ba90614d0a565b80156119075780601f106118dc57610100808354040283529160200191611907565b820191906000526020600020905b8154815290600101906020018083116118ea57829003601f168201915b5050505050905090565b600c5481565b61191f61237d565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561198d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161198490614780565b60405180910390fd5b806005600061199a61237d565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611a4761237d565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611a8c919061461e565b60405180910390a35050565b611aa061237d565b73ffffffffffffffffffffffffffffffffffffffff16611abe611739565b73ffffffffffffffffffffffffffffffffffffffff1614611b14576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b0b906148c0565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611b84576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b7b90614920565b60405180910390fd5b80600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f6c61302b47e872d08552b17b5c3219414ee4a6e333af5955e372540f8dcc42bb600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682604051611c18929190614587565b60405180910390a150565b611c34611c2e61237d565b83612575565b611c73576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c6a90614980565b60405180910390fd5b611c7f84848484612975565b50505050565b6060611c9082612311565b611ccf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cc690614900565b60405180910390fd5b6000611cd96129d1565b90506000815111611cf95760405180602001604052806000815250611d24565b80611d0384612a63565b604051602001611d149291906144f6565b6040516020818303038152906040525b915050919050565b611d3461237d565b73ffffffffffffffffffffffffffffffffffffffff16611d52611739565b73ffffffffffffffffffffffffffffffffffffffff1614611da8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d9f906148c0565b60405180910390fd5b600d54811115611ded576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611de490614880565b60405180910390fd5b6000611df7611099565b905060005b82811015611e2c57611e19848284611e149190614b28565b612557565b8080611e2490614d3c565b915050611dfc565b5081600d6000828254611e3f9190614c09565b92505081905550505050565b60108054611e5890614d0a565b80601f0160208091040260200160405190810160405280929190818152602001828054611e8490614d0a565b8015611ed15780601f10611ea657610100808354040283529160200191611ed1565b820191906000526020600020905b815481529060010190602001808311611eb457829003601f168201915b505050505081565b60606000611ee68361155a565b905060008167ffffffffffffffff811115611f2a577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015611f585781602001602082028036833780820191505090505b50905060005b82811015611fc857611f708582611126565b828281518110611fa9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010181815250508080611fc090614d3c565b915050611f5e565b508092505050919050565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600e805461200a90614d0a565b80601f016020809104026020016040519081016040528092919081815260200182805461203690614d0a565b80156120835780601f1061205857610100808354040283529160200191612083565b820191906000526020600020905b81548152906001019060200180831161206657829003601f168201915b505050505081565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600f6020528060005260406000206000915090505481565b61213f61237d565b73ffffffffffffffffffffffffffffffffffffffff1661215d611739565b73ffffffffffffffffffffffffffffffffffffffff16146121b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121aa906148c0565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612223576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161221a906146e0565b60405180910390fd5b61222c816128af565b50565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806122fa57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061230a575061230982612c10565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166123f883611495565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080836000013584602001602081019061245991906136ea565b60405160200161246a929190614540565b604051602081830303815290604052805190602001209050600081604051602001612495919061451a565b6040516020818303038152906040528051906020012090508373ffffffffffffffffffffffffffffffffffffffff166001828760400160400160208101906124dd91906139db565b886040016000013589604001602001356040516000815260200160405260405161250a9493929190614639565b6020604051602081039080840390855afa15801561252c573d6000803e3d6000fd5b5050506020604051035173ffffffffffffffffffffffffffffffffffffffff16149250505092915050565b612571828260405180602001604052806000815250612c7a565b5050565b600061258082612311565b6125bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125b6906147a0565b60405180910390fd5b60006125ca83611495565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061263957508373ffffffffffffffffffffffffffffffffffffffff1661262184610aa0565b73ffffffffffffffffffffffffffffffffffffffff16145b8061264a5750612649818561208b565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661267382611495565b73ffffffffffffffffffffffffffffffffffffffff16146126c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126c0906148e0565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612739576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161273090614760565b60405180910390fd5b612744838383612cd5565b61274f600082612385565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461279f9190614c09565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546127f69190614b28565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612980848484612653565b61298c84848484612de9565b6129cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129c2906146c0565b60405180910390fd5b50505050565b6060601080546129e090614d0a565b80601f0160208091040260200160405190810160405280929190818152602001828054612a0c90614d0a565b8015612a595780601f10612a2e57610100808354040283529160200191612a59565b820191906000526020600020905b815481529060010190602001808311612a3c57829003601f168201915b5050505050905090565b60606000821415612aab576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612c0b565b600082905060005b60008214612add578080612ac690614d3c565b915050600a82612ad69190614b7e565b9150612ab3565b60008167ffffffffffffffff811115612b1f577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612b515781602001600182028036833780820191505090505b5090505b60008514612c0457600182612b6a9190614c09565b9150600a85612b799190614dbd565b6030612b859190614b28565b60f81b818381518110612bc1577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612bfd9190614b7e565b9450612b55565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612c848383612f80565b612c916000848484612de9565b612cd0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cc7906146c0565b60405180910390fd5b505050565b612ce083838361314e565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612d2357612d1e81613153565b612d62565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612d6157612d60838261319c565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612da557612da081613309565b612de4565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612de357612de2828261344c565b5b5b505050565b6000612e0a8473ffffffffffffffffffffffffffffffffffffffff166134cb565b15612f73578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612e3361237d565b8786866040518563ffffffff1660e01b8152600401612e5594939291906145b0565b602060405180830381600087803b158015612e6f57600080fd5b505af1925050508015612ea057506040513d601f19601f82011682018060405250810190612e9d91906138e3565b60015b612f23573d8060008114612ed0576040519150601f19603f3d011682016040523d82523d6000602084013e612ed5565b606091505b50600081511415612f1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f12906146c0565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612f78565b600190505b949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612ff0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fe790614860565b60405180910390fd5b612ff981612311565b15613039576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161303090614720565b60405180910390fd5b61304560008383612cd5565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546130959190614b28565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016131a98461155a565b6131b39190614c09565b9050600060076000848152602001908152602001600020549050818114613298576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b6000600160088054905061331d9190614c09565b9050600060096000848152602001908152602001600020549050600060088381548110613373577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200154905080600883815481106133bb577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613430577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b60006134578361155a565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600080823b905060008111915050919050565b8280546134ea90614d0a565b90600052602060002090601f01602090048101928261350c5760008555613553565b82601f1061352557805160ff1916838001178555613553565b82800160010185558215613553579182015b82811115613552578251825591602001919060010190613537565b5b5090506135609190613564565b5090565b5b8082111561357d576000816000905550600101613565565b5090565b600061359461358f84614a4c565b614a1b565b9050828152602081018484840111156135ac57600080fd5b6135b7848285614cc8565b509392505050565b60006135d26135cd84614a7c565b614a1b565b9050828152602081018484840111156135ea57600080fd5b6135f5848285614cc8565b509392505050565b60008135905061360c81614ec8565b92915050565b60008135905061362181614edf565b92915050565b60008135905061363681614ef6565b92915050565b60008151905061364b81614ef6565b92915050565b600082601f83011261366257600080fd5b8135613672848260208601613581565b91505092915050565b600082601f83011261368c57600080fd5b813561369c8482602086016135bf565b91505092915050565b600060a082840312156136b757600080fd5b81905092915050565b6000813590506136cf81614f0d565b92915050565b6000813590506136e481614f24565b92915050565b6000602082840312156136fc57600080fd5b600061370a848285016135fd565b91505092915050565b6000806040838503121561372657600080fd5b6000613734858286016135fd565b9250506020613745858286016135fd565b9150509250929050565b60008060006060848603121561376457600080fd5b6000613772868287016135fd565b9350506020613783868287016135fd565b9250506040613794868287016136c0565b9150509250925092565b600080600080608085870312156137b457600080fd5b60006137c2878288016135fd565b94505060206137d3878288016135fd565b93505060406137e4878288016136c0565b925050606085013567ffffffffffffffff81111561380157600080fd5b61380d87828801613651565b91505092959194509250565b6000806040838503121561382c57600080fd5b600061383a858286016135fd565b925050602061384b85828601613612565b9150509250929050565b6000806040838503121561386857600080fd5b6000613876858286016135fd565b9250506020613887858286016136c0565b9150509250929050565b6000602082840312156138a357600080fd5b60006138b184828501613612565b91505092915050565b6000602082840312156138cc57600080fd5b60006138da84828501613627565b91505092915050565b6000602082840312156138f557600080fd5b60006139038482850161363c565b91505092915050565b60006020828403121561391e57600080fd5b600082013567ffffffffffffffff81111561393857600080fd5b6139448482850161367b565b91505092915050565b600060a0828403121561395f57600080fd5b600061396d848285016136a5565b91505092915050565b60006020828403121561398857600080fd5b6000613996848285016136c0565b91505092915050565b60008060c083850312156139b257600080fd5b60006139c0858286016136c0565b92505060206139d1858286016136a5565b9150509250929050565b6000602082840312156139ed57600080fd5b60006139fb848285016136d5565b91505092915050565b6000613a1083836144b2565b60208301905092915050565b613a2581614c3d565b82525050565b613a3c613a3782614c3d565b614d85565b82525050565b6000613a4d82614abc565b613a578185614aea565b9350613a6283614aac565b8060005b83811015613a93578151613a7a8882613a04565b9750613a8583614add565b925050600181019050613a66565b5085935050505092915050565b613aa981614c4f565b82525050565b613ab881614c5b565b82525050565b613acf613aca82614c5b565b614d97565b82525050565b6000613ae082614ac7565b613aea8185614afb565b9350613afa818560208601614cd7565b613b0381614eaa565b840191505092915050565b6000613b1982614ad2565b613b238185614b0c565b9350613b33818560208601614cd7565b613b3c81614eaa565b840191505092915050565b6000613b5282614ad2565b613b5c8185614b1d565b9350613b6c818560208601614cd7565b80840191505092915050565b6000613b85601c83614b1d565b91507f19457468657265756d205369676e6564204d6573736167653a0a3332000000006000830152601c82019050919050565b6000613bc5602b83614b0c565b91507f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008301527f74206f6620626f756e64730000000000000000000000000000000000000000006020830152604082019050919050565b6000613c2b603283614b0c565b91507f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008301527f63656976657220696d706c656d656e74657200000000000000000000000000006020830152604082019050919050565b6000613c91602683614b0c565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613cf7600f83614b0c565b91507f53616c65204e6f742041637469766500000000000000000000000000000000006000830152602082019050919050565b6000613d37601c83614b0c565b91507f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006000830152602082019050919050565b6000613d77601c83614b0c565b91507f496e636f727265637420416d6f756e74204f66204554482053656e74000000006000830152602082019050919050565b6000613db7602483614b0c565b91507f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613e1d601983614b0c565b91507f4552433732313a20617070726f766520746f2063616c6c6572000000000000006000830152602082019050919050565b6000613e5d602c83614b0c565b91507f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000613ec3600f83614b0c565b91507f496e76616c696420566f756368657200000000000000000000000000000000006000830152602082019050919050565b6000613f03601583614b0c565b91507f507269766174652073616c65206e6f74206f70656e00000000000000000000006000830152602082019050919050565b6000613f43603883614b0c565b91507f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008301527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006020830152604082019050919050565b6000613fa9602a83614b0c565b91507f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008301527f726f2061646472657373000000000000000000000000000000000000000000006020830152604082019050919050565b600061400f602983614b0c565b91507f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008301527f656e7420746f6b656e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000614075602083614b0c565b91507f4552433732313a206d696e7420746f20746865207a65726f20616464726573736000830152602082019050919050565b60006140b5601183614b0c565b91507f4e6f7420456e6f75676820537570706c790000000000000000000000000000006000830152602082019050919050565b60006140f5602c83614b0c565b91507f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b600061415b602083614b0c565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b600061419b602983614b0c565b91507f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008301527f73206e6f74206f776e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000614201602f83614b0c565b91507f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008301527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006020830152604082019050919050565b6000614267602383614b0c565b91507f53657474696e6720766f7563686572207369676e657220746f2030206164647260008301527f65737300000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006142cd602183614b0c565b91507f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008301527f72000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614333601883614b0c565b91507f43616e2774204d696e74204d6f7265205468616e2054776f00000000000000006000830152602082019050919050565b6000614373603183614b0c565b91507f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008301527f776e6572206e6f7220617070726f7665640000000000000000000000000000006020830152604082019050919050565b60006143d9601e83614b0c565b91507f43616e2774204d696e74204d6f7265205468616e20313020546f6b656e7300006000830152602082019050919050565b6000614419602c83614b0c565b91507f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008301527f7574206f6620626f756e647300000000000000000000000000000000000000006020830152604082019050919050565b600061447f601b83614b0c565b91507f4e6f20566f756368657220466f7220596f7572204164647265737300000000006000830152602082019050919050565b6144bb81614cb1565b82525050565b6144ca81614cb1565b82525050565b6144e16144dc82614cb1565b614db3565b82525050565b6144f081614cbb565b82525050565b60006145028285613b47565b915061450e8284613b47565b91508190509392505050565b600061452582613b78565b91506145318284613abe565b60208201915081905092915050565b600061454c82856144d0565b60208201915061455c8284613a2b565b6014820191508190509392505050565b60006020820190506145816000830184613a1c565b92915050565b600060408201905061459c6000830185613a1c565b6145a96020830184613a1c565b9392505050565b60006080820190506145c56000830187613a1c565b6145d26020830186613a1c565b6145df60408301856144c1565b81810360608301526145f18184613ad5565b905095945050505050565b600060208201905081810360008301526146168184613a42565b905092915050565b60006020820190506146336000830184613aa0565b92915050565b600060808201905061464e6000830187613aaf565b61465b60208301866144e7565b6146686040830185613aaf565b6146756060830184613aaf565b95945050505050565b600060208201905081810360008301526146988184613b0e565b905092915050565b600060208201905081810360008301526146b981613bb8565b9050919050565b600060208201905081810360008301526146d981613c1e565b9050919050565b600060208201905081810360008301526146f981613c84565b9050919050565b6000602082019050818103600083015261471981613cea565b9050919050565b6000602082019050818103600083015261473981613d2a565b9050919050565b6000602082019050818103600083015261475981613d6a565b9050919050565b6000602082019050818103600083015261477981613daa565b9050919050565b6000602082019050818103600083015261479981613e10565b9050919050565b600060208201905081810360008301526147b981613e50565b9050919050565b600060208201905081810360008301526147d981613eb6565b9050919050565b600060208201905081810360008301526147f981613ef6565b9050919050565b6000602082019050818103600083015261481981613f36565b9050919050565b6000602082019050818103600083015261483981613f9c565b9050919050565b6000602082019050818103600083015261485981614002565b9050919050565b6000602082019050818103600083015261487981614068565b9050919050565b60006020820190508181036000830152614899816140a8565b9050919050565b600060208201905081810360008301526148b9816140e8565b9050919050565b600060208201905081810360008301526148d98161414e565b9050919050565b600060208201905081810360008301526148f98161418e565b9050919050565b60006020820190508181036000830152614919816141f4565b9050919050565b600060208201905081810360008301526149398161425a565b9050919050565b60006020820190508181036000830152614959816142c0565b9050919050565b6000602082019050818103600083015261497981614326565b9050919050565b6000602082019050818103600083015261499981614366565b9050919050565b600060208201905081810360008301526149b9816143cc565b9050919050565b600060208201905081810360008301526149d98161440c565b9050919050565b600060208201905081810360008301526149f981614472565b9050919050565b6000602082019050614a1560008301846144c1565b92915050565b6000604051905081810181811067ffffffffffffffff82111715614a4257614a41614e7b565b5b8060405250919050565b600067ffffffffffffffff821115614a6757614a66614e7b565b5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff821115614a9757614a96614e7b565b5b601f19601f8301169050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000614b3382614cb1565b9150614b3e83614cb1565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614b7357614b72614dee565b5b828201905092915050565b6000614b8982614cb1565b9150614b9483614cb1565b925082614ba457614ba3614e1d565b5b828204905092915050565b6000614bba82614cb1565b9150614bc583614cb1565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614bfe57614bfd614dee565b5b828202905092915050565b6000614c1482614cb1565b9150614c1f83614cb1565b925082821015614c3257614c31614dee565b5b828203905092915050565b6000614c4882614c91565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b83811015614cf5578082015181840152602081019050614cda565b83811115614d04576000848401525b50505050565b60006002820490506001821680614d2257607f821691505b60208210811415614d3657614d35614e4c565b5b50919050565b6000614d4782614cb1565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614d7a57614d79614dee565b5b600182019050919050565b6000614d9082614da1565b9050919050565b6000819050919050565b6000614dac82614ebb565b9050919050565b6000819050919050565b6000614dc882614cb1565b9150614dd383614cb1565b925082614de357614de2614e1d565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b614ed181614c3d565b8114614edc57600080fd5b50565b614ee881614c4f565b8114614ef357600080fd5b50565b614eff81614c65565b8114614f0a57600080fd5b50565b614f1681614cb1565b8114614f2157600080fd5b50565b614f2d81614cbb565b8114614f3857600080fd5b5056fea2646970667358221220ae2e24f8e35d22d8234503fd0864229e69edca89fa5b8f46370f25cbf5df374664736f6c634300080000330000000000000000000000000000000000000000000000000000000000000040000000000000000000000000f07206cc855997319ae3dada113c1d18837a9afd000000000000000000000000000000000000000000000000000000000000000e424153455f544f4b454e5f555249000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106102465760003560e01c806370a0823111610139578063af6e40d0116100b6578063e0e3671c1161007a578063e0e3671c1461085e578063e57c58e51461089b578063e8a3d485146108c6578063e985e9c5146108f1578063ee54abf21461092e578063f2fde38b1461096b57610246565b8063af6e40d01461077b578063b88d4fde146107a4578063c87b56dd146107cd578063cbce4c971461080a578063d547cfb71461083357610246565b806391b7f5ed116100fd57806391b7f5ed146106aa578063938e3d7b146106d357806395d89b41146106fc578063a035b1fe14610727578063a22cb4651461075257610246565b806370a08231146105d7578063715018a6146106145780638342083a1461062b578063841718a6146106565780638da5cb5b1461067f57610246565b80632f745c59116101c757806353135ca01161018b57806353135ca0146104f05780635464f5bc1461051b57806355f804b3146105465780636352211e1461056f57806368428a1b146105ac57610246565b80632f745c591461040d5780633ccfd60b1461044a5780633f8121a21461046157806342842e0e1461048a5780634f6ccce7146104b357610246565b806310f315681161020e57806310f315681461033557806318160ddd1461035157806318cc50c81461037c5780631ea63901146103b957806323b872dd146103e457610246565b806301ffc9a71461024b57806306fdde0314610288578063081812fc146102b3578063095ea7b3146102f05780630aea4a3314610319575b600080fd5b34801561025757600080fd5b50610272600480360381019061026d91906138ba565b610994565b60405161027f919061461e565b60405180910390f35b34801561029457600080fd5b5061029d610a0e565b6040516102aa919061467e565b60405180910390f35b3480156102bf57600080fd5b506102da60048036038101906102d59190613976565b610aa0565b6040516102e7919061456c565b60405180910390f35b3480156102fc57600080fd5b5061031760048036038101906103129190613855565b610b25565b005b610333600480360381019061032e919061399f565b610c3d565b005b61034f600480360381019061034a9190613976565b610f18565b005b34801561035d57600080fd5b50610366611099565b6040516103739190614a00565b60405180910390f35b34801561038857600080fd5b506103a3600480360381019061039e919061394d565b6110a6565b6040516103b0919061461e565b60405180910390f35b3480156103c557600080fd5b506103ce6110c0565b6040516103db9190614a00565b60405180910390f35b3480156103f057600080fd5b5061040b6004803603810190610406919061374f565b6110c6565b005b34801561041957600080fd5b50610434600480360381019061042f9190613855565b611126565b6040516104419190614a00565b60405180910390f35b34801561045657600080fd5b5061045f6111cb565b005b34801561046d57600080fd5b5061048860048036038101906104839190613891565b611296565b005b34801561049657600080fd5b506104b160048036038101906104ac919061374f565b61132f565b005b3480156104bf57600080fd5b506104da60048036038101906104d59190613976565b61134f565b6040516104e79190614a00565b60405180910390f35b3480156104fc57600080fd5b506105056113e6565b604051610512919061461e565b60405180910390f35b34801561052757600080fd5b506105306113f9565b60405161053d9190614a00565b60405180910390f35b34801561055257600080fd5b5061056d6004803603810190610568919061390c565b6113ff565b005b34801561057b57600080fd5b5061059660048036038101906105919190613976565b611495565b6040516105a3919061456c565b60405180910390f35b3480156105b857600080fd5b506105c1611547565b6040516105ce919061461e565b60405180910390f35b3480156105e357600080fd5b506105fe60048036038101906105f991906136ea565b61155a565b60405161060b9190614a00565b60405180910390f35b34801561062057600080fd5b50610629611612565b005b34801561063757600080fd5b5061064061169a565b60405161064d9190614a00565b60405180910390f35b34801561066257600080fd5b5061067d60048036038101906106789190613891565b6116a0565b005b34801561068b57600080fd5b50610694611739565b6040516106a1919061456c565b60405180910390f35b3480156106b657600080fd5b506106d160048036038101906106cc9190613976565b611763565b005b3480156106df57600080fd5b506106fa60048036038101906106f5919061390c565b6117e9565b005b34801561070857600080fd5b5061071161187f565b60405161071e919061467e565b60405180910390f35b34801561073357600080fd5b5061073c611911565b6040516107499190614a00565b60405180910390f35b34801561075e57600080fd5b5061077960048036038101906107749190613819565b611917565b005b34801561078757600080fd5b506107a2600480360381019061079d91906136ea565b611a98565b005b3480156107b057600080fd5b506107cb60048036038101906107c6919061379e565b611c23565b005b3480156107d957600080fd5b506107f460048036038101906107ef9190613976565b611c85565b604051610801919061467e565b60405180910390f35b34801561081657600080fd5b50610831600480360381019061082c9190613855565b611d2c565b005b34801561083f57600080fd5b50610848611e4b565b604051610855919061467e565b60405180910390f35b34801561086a57600080fd5b50610885600480360381019061088091906136ea565b611ed9565b60405161089291906145fc565b60405180910390f35b3480156108a757600080fd5b506108b0611fd3565b6040516108bd919061456c565b60405180910390f35b3480156108d257600080fd5b506108db611ffd565b6040516108e8919061467e565b60405180910390f35b3480156108fd57600080fd5b5061091860048036038101906109139190613713565b61208b565b604051610925919061461e565b60405180910390f35b34801561093a57600080fd5b5061095560048036038101906109509190613976565b61211f565b6040516109629190614a00565b60405180910390f35b34801561097757600080fd5b50610992600480360381019061098d91906136ea565b612137565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610a075750610a068261222f565b5b9050919050565b606060008054610a1d90614d0a565b80601f0160208091040260200160405190810160405280929190818152602001828054610a4990614d0a565b8015610a965780601f10610a6b57610100808354040283529160200191610a96565b820191906000526020600020905b815481529060010190602001808311610a7957829003601f168201915b5050505050905090565b6000610aab82612311565b610aea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ae1906148a0565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b3082611495565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610ba1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b9890614940565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610bc061237d565b73ffffffffffffffffffffffffffffffffffffffff161480610bef5750610bee81610be961237d565b61208b565b5b610c2e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c2590614800565b60405180910390fd5b610c388383612385565b505050565b6000610c47611099565b9050600b60149054906101000a900460ff16610c98576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c8f906147e0565b60405180910390fd5b600283600f60008560000135815260200190815260200160002054610cbd9190614b28565b1115610cfe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cf5906149e0565b60405180910390fd5b6002831115610d42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d3990614960565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff16826020016020810190610d6c91906136ea565b73ffffffffffffffffffffffffffffffffffffffff1614610dc2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610db9906149e0565b60405180910390fd5b610dd382610dce611fd3565b61243e565b610e12576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e09906147c0565b60405180910390fd5b6117578382610e219190614b28565b1115610e62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e5990614880565b60405180910390fd5b82600c54610e709190614baf565b3414610eb1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ea890614740565b60405180910390fd5b82600f6000846000013581526020019081526020016000206000828254610ed89190614b28565b9250508190555060005b83811015610f1257610eff338284610efa9190614b28565b612557565b8080610f0a90614d3c565b915050610ee2565b50505050565b6000610f22611099565b9050600b60159054906101000a900460ff16610f73576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f6a90614700565b60405180910390fd5b600082118015610f835750600b82105b610fc2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fb9906149a0565b60405180910390fd5b6117578282610fd19190614b28565b1115611012576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161100990614880565b60405180910390fd5b81600c546110209190614baf565b3414611061576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161105890614740565b60405180910390fd5b60005b828110156110945761108133828461107c9190614b28565b612557565b808061108c90614d3c565b915050611064565b505050565b6000600880549050905090565b60006110b9826110b4611fd3565b61243e565b9050919050565b600d5481565b6110d76110d161237d565b82612575565b611116576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161110d90614980565b60405180910390fd5b611121838383612653565b505050565b60006111318361155a565b8210611172576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611169906146a0565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b6111d361237d565b73ffffffffffffffffffffffffffffffffffffffff166111f1611739565b73ffffffffffffffffffffffffffffffffffffffff1614611247576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161123e906148c0565b60405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611292573d6000803e3d6000fd5b5050565b61129e61237d565b73ffffffffffffffffffffffffffffffffffffffff166112bc611739565b73ffffffffffffffffffffffffffffffffffffffff1614611312576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611309906148c0565b60405180910390fd5b80600b60146101000a81548160ff02191690831515021790555050565b61134a83838360405180602001604052806000815250611c23565b505050565b6000611359611099565b821061139a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611391906149c0565b60405180910390fd5b600882815481106113d4577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b600b60149054906101000a900460ff1681565b61177081565b61140761237d565b73ffffffffffffffffffffffffffffffffffffffff16611425611739565b73ffffffffffffffffffffffffffffffffffffffff161461147b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611472906148c0565b60405180910390fd5b80601090805190602001906114919291906134de565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561153e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161153590614840565b60405180910390fd5b80915050919050565b600b60159054906101000a900460ff1681565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156115cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115c290614820565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61161a61237d565b73ffffffffffffffffffffffffffffffffffffffff16611638611739565b73ffffffffffffffffffffffffffffffffffffffff161461168e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611685906148c0565b60405180910390fd5b61169860006128af565b565b61175781565b6116a861237d565b73ffffffffffffffffffffffffffffffffffffffff166116c6611739565b73ffffffffffffffffffffffffffffffffffffffff161461171c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611713906148c0565b60405180910390fd5b80600b60156101000a81548160ff02191690831515021790555050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61176b61237d565b73ffffffffffffffffffffffffffffffffffffffff16611789611739565b73ffffffffffffffffffffffffffffffffffffffff16146117df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117d6906148c0565b60405180910390fd5b80600c8190555050565b6117f161237d565b73ffffffffffffffffffffffffffffffffffffffff1661180f611739565b73ffffffffffffffffffffffffffffffffffffffff1614611865576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161185c906148c0565b60405180910390fd5b80600e908051906020019061187b9291906134de565b5050565b60606001805461188e90614d0a565b80601f01602080910402602001604051908101604052809291908181526020018280546118ba90614d0a565b80156119075780601f106118dc57610100808354040283529160200191611907565b820191906000526020600020905b8154815290600101906020018083116118ea57829003601f168201915b5050505050905090565b600c5481565b61191f61237d565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561198d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161198490614780565b60405180910390fd5b806005600061199a61237d565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611a4761237d565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611a8c919061461e565b60405180910390a35050565b611aa061237d565b73ffffffffffffffffffffffffffffffffffffffff16611abe611739565b73ffffffffffffffffffffffffffffffffffffffff1614611b14576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b0b906148c0565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611b84576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b7b90614920565b60405180910390fd5b80600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f6c61302b47e872d08552b17b5c3219414ee4a6e333af5955e372540f8dcc42bb600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682604051611c18929190614587565b60405180910390a150565b611c34611c2e61237d565b83612575565b611c73576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c6a90614980565b60405180910390fd5b611c7f84848484612975565b50505050565b6060611c9082612311565b611ccf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cc690614900565b60405180910390fd5b6000611cd96129d1565b90506000815111611cf95760405180602001604052806000815250611d24565b80611d0384612a63565b604051602001611d149291906144f6565b6040516020818303038152906040525b915050919050565b611d3461237d565b73ffffffffffffffffffffffffffffffffffffffff16611d52611739565b73ffffffffffffffffffffffffffffffffffffffff1614611da8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d9f906148c0565b60405180910390fd5b600d54811115611ded576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611de490614880565b60405180910390fd5b6000611df7611099565b905060005b82811015611e2c57611e19848284611e149190614b28565b612557565b8080611e2490614d3c565b915050611dfc565b5081600d6000828254611e3f9190614c09565b92505081905550505050565b60108054611e5890614d0a565b80601f0160208091040260200160405190810160405280929190818152602001828054611e8490614d0a565b8015611ed15780601f10611ea657610100808354040283529160200191611ed1565b820191906000526020600020905b815481529060010190602001808311611eb457829003601f168201915b505050505081565b60606000611ee68361155a565b905060008167ffffffffffffffff811115611f2a577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015611f585781602001602082028036833780820191505090505b50905060005b82811015611fc857611f708582611126565b828281518110611fa9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010181815250508080611fc090614d3c565b915050611f5e565b508092505050919050565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600e805461200a90614d0a565b80601f016020809104026020016040519081016040528092919081815260200182805461203690614d0a565b80156120835780601f1061205857610100808354040283529160200191612083565b820191906000526020600020905b81548152906001019060200180831161206657829003601f168201915b505050505081565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600f6020528060005260406000206000915090505481565b61213f61237d565b73ffffffffffffffffffffffffffffffffffffffff1661215d611739565b73ffffffffffffffffffffffffffffffffffffffff16146121b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121aa906148c0565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612223576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161221a906146e0565b60405180910390fd5b61222c816128af565b50565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806122fa57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061230a575061230982612c10565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166123f883611495565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080836000013584602001602081019061245991906136ea565b60405160200161246a929190614540565b604051602081830303815290604052805190602001209050600081604051602001612495919061451a565b6040516020818303038152906040528051906020012090508373ffffffffffffffffffffffffffffffffffffffff166001828760400160400160208101906124dd91906139db565b886040016000013589604001602001356040516000815260200160405260405161250a9493929190614639565b6020604051602081039080840390855afa15801561252c573d6000803e3d6000fd5b5050506020604051035173ffffffffffffffffffffffffffffffffffffffff16149250505092915050565b612571828260405180602001604052806000815250612c7a565b5050565b600061258082612311565b6125bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125b6906147a0565b60405180910390fd5b60006125ca83611495565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061263957508373ffffffffffffffffffffffffffffffffffffffff1661262184610aa0565b73ffffffffffffffffffffffffffffffffffffffff16145b8061264a5750612649818561208b565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661267382611495565b73ffffffffffffffffffffffffffffffffffffffff16146126c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126c0906148e0565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612739576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161273090614760565b60405180910390fd5b612744838383612cd5565b61274f600082612385565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461279f9190614c09565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546127f69190614b28565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612980848484612653565b61298c84848484612de9565b6129cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129c2906146c0565b60405180910390fd5b50505050565b6060601080546129e090614d0a565b80601f0160208091040260200160405190810160405280929190818152602001828054612a0c90614d0a565b8015612a595780601f10612a2e57610100808354040283529160200191612a59565b820191906000526020600020905b815481529060010190602001808311612a3c57829003601f168201915b5050505050905090565b60606000821415612aab576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612c0b565b600082905060005b60008214612add578080612ac690614d3c565b915050600a82612ad69190614b7e565b9150612ab3565b60008167ffffffffffffffff811115612b1f577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612b515781602001600182028036833780820191505090505b5090505b60008514612c0457600182612b6a9190614c09565b9150600a85612b799190614dbd565b6030612b859190614b28565b60f81b818381518110612bc1577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612bfd9190614b7e565b9450612b55565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612c848383612f80565b612c916000848484612de9565b612cd0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cc7906146c0565b60405180910390fd5b505050565b612ce083838361314e565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612d2357612d1e81613153565b612d62565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612d6157612d60838261319c565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612da557612da081613309565b612de4565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612de357612de2828261344c565b5b5b505050565b6000612e0a8473ffffffffffffffffffffffffffffffffffffffff166134cb565b15612f73578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612e3361237d565b8786866040518563ffffffff1660e01b8152600401612e5594939291906145b0565b602060405180830381600087803b158015612e6f57600080fd5b505af1925050508015612ea057506040513d601f19601f82011682018060405250810190612e9d91906138e3565b60015b612f23573d8060008114612ed0576040519150601f19603f3d011682016040523d82523d6000602084013e612ed5565b606091505b50600081511415612f1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f12906146c0565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612f78565b600190505b949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612ff0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fe790614860565b60405180910390fd5b612ff981612311565b15613039576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161303090614720565b60405180910390fd5b61304560008383612cd5565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546130959190614b28565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016131a98461155a565b6131b39190614c09565b9050600060076000848152602001908152602001600020549050818114613298576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b6000600160088054905061331d9190614c09565b9050600060096000848152602001908152602001600020549050600060088381548110613373577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200154905080600883815481106133bb577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613430577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b60006134578361155a565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600080823b905060008111915050919050565b8280546134ea90614d0a565b90600052602060002090601f01602090048101928261350c5760008555613553565b82601f1061352557805160ff1916838001178555613553565b82800160010185558215613553579182015b82811115613552578251825591602001919060010190613537565b5b5090506135609190613564565b5090565b5b8082111561357d576000816000905550600101613565565b5090565b600061359461358f84614a4c565b614a1b565b9050828152602081018484840111156135ac57600080fd5b6135b7848285614cc8565b509392505050565b60006135d26135cd84614a7c565b614a1b565b9050828152602081018484840111156135ea57600080fd5b6135f5848285614cc8565b509392505050565b60008135905061360c81614ec8565b92915050565b60008135905061362181614edf565b92915050565b60008135905061363681614ef6565b92915050565b60008151905061364b81614ef6565b92915050565b600082601f83011261366257600080fd5b8135613672848260208601613581565b91505092915050565b600082601f83011261368c57600080fd5b813561369c8482602086016135bf565b91505092915050565b600060a082840312156136b757600080fd5b81905092915050565b6000813590506136cf81614f0d565b92915050565b6000813590506136e481614f24565b92915050565b6000602082840312156136fc57600080fd5b600061370a848285016135fd565b91505092915050565b6000806040838503121561372657600080fd5b6000613734858286016135fd565b9250506020613745858286016135fd565b9150509250929050565b60008060006060848603121561376457600080fd5b6000613772868287016135fd565b9350506020613783868287016135fd565b9250506040613794868287016136c0565b9150509250925092565b600080600080608085870312156137b457600080fd5b60006137c2878288016135fd565b94505060206137d3878288016135fd565b93505060406137e4878288016136c0565b925050606085013567ffffffffffffffff81111561380157600080fd5b61380d87828801613651565b91505092959194509250565b6000806040838503121561382c57600080fd5b600061383a858286016135fd565b925050602061384b85828601613612565b9150509250929050565b6000806040838503121561386857600080fd5b6000613876858286016135fd565b9250506020613887858286016136c0565b9150509250929050565b6000602082840312156138a357600080fd5b60006138b184828501613612565b91505092915050565b6000602082840312156138cc57600080fd5b60006138da84828501613627565b91505092915050565b6000602082840312156138f557600080fd5b60006139038482850161363c565b91505092915050565b60006020828403121561391e57600080fd5b600082013567ffffffffffffffff81111561393857600080fd5b6139448482850161367b565b91505092915050565b600060a0828403121561395f57600080fd5b600061396d848285016136a5565b91505092915050565b60006020828403121561398857600080fd5b6000613996848285016136c0565b91505092915050565b60008060c083850312156139b257600080fd5b60006139c0858286016136c0565b92505060206139d1858286016136a5565b9150509250929050565b6000602082840312156139ed57600080fd5b60006139fb848285016136d5565b91505092915050565b6000613a1083836144b2565b60208301905092915050565b613a2581614c3d565b82525050565b613a3c613a3782614c3d565b614d85565b82525050565b6000613a4d82614abc565b613a578185614aea565b9350613a6283614aac565b8060005b83811015613a93578151613a7a8882613a04565b9750613a8583614add565b925050600181019050613a66565b5085935050505092915050565b613aa981614c4f565b82525050565b613ab881614c5b565b82525050565b613acf613aca82614c5b565b614d97565b82525050565b6000613ae082614ac7565b613aea8185614afb565b9350613afa818560208601614cd7565b613b0381614eaa565b840191505092915050565b6000613b1982614ad2565b613b238185614b0c565b9350613b33818560208601614cd7565b613b3c81614eaa565b840191505092915050565b6000613b5282614ad2565b613b5c8185614b1d565b9350613b6c818560208601614cd7565b80840191505092915050565b6000613b85601c83614b1d565b91507f19457468657265756d205369676e6564204d6573736167653a0a3332000000006000830152601c82019050919050565b6000613bc5602b83614b0c565b91507f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008301527f74206f6620626f756e64730000000000000000000000000000000000000000006020830152604082019050919050565b6000613c2b603283614b0c565b91507f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008301527f63656976657220696d706c656d656e74657200000000000000000000000000006020830152604082019050919050565b6000613c91602683614b0c565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613cf7600f83614b0c565b91507f53616c65204e6f742041637469766500000000000000000000000000000000006000830152602082019050919050565b6000613d37601c83614b0c565b91507f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006000830152602082019050919050565b6000613d77601c83614b0c565b91507f496e636f727265637420416d6f756e74204f66204554482053656e74000000006000830152602082019050919050565b6000613db7602483614b0c565b91507f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613e1d601983614b0c565b91507f4552433732313a20617070726f766520746f2063616c6c6572000000000000006000830152602082019050919050565b6000613e5d602c83614b0c565b91507f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000613ec3600f83614b0c565b91507f496e76616c696420566f756368657200000000000000000000000000000000006000830152602082019050919050565b6000613f03601583614b0c565b91507f507269766174652073616c65206e6f74206f70656e00000000000000000000006000830152602082019050919050565b6000613f43603883614b0c565b91507f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008301527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006020830152604082019050919050565b6000613fa9602a83614b0c565b91507f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008301527f726f2061646472657373000000000000000000000000000000000000000000006020830152604082019050919050565b600061400f602983614b0c565b91507f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008301527f656e7420746f6b656e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000614075602083614b0c565b91507f4552433732313a206d696e7420746f20746865207a65726f20616464726573736000830152602082019050919050565b60006140b5601183614b0c565b91507f4e6f7420456e6f75676820537570706c790000000000000000000000000000006000830152602082019050919050565b60006140f5602c83614b0c565b91507f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b600061415b602083614b0c565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b600061419b602983614b0c565b91507f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008301527f73206e6f74206f776e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000614201602f83614b0c565b91507f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008301527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006020830152604082019050919050565b6000614267602383614b0c565b91507f53657474696e6720766f7563686572207369676e657220746f2030206164647260008301527f65737300000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006142cd602183614b0c565b91507f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008301527f72000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614333601883614b0c565b91507f43616e2774204d696e74204d6f7265205468616e2054776f00000000000000006000830152602082019050919050565b6000614373603183614b0c565b91507f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008301527f776e6572206e6f7220617070726f7665640000000000000000000000000000006020830152604082019050919050565b60006143d9601e83614b0c565b91507f43616e2774204d696e74204d6f7265205468616e20313020546f6b656e7300006000830152602082019050919050565b6000614419602c83614b0c565b91507f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008301527f7574206f6620626f756e647300000000000000000000000000000000000000006020830152604082019050919050565b600061447f601b83614b0c565b91507f4e6f20566f756368657220466f7220596f7572204164647265737300000000006000830152602082019050919050565b6144bb81614cb1565b82525050565b6144ca81614cb1565b82525050565b6144e16144dc82614cb1565b614db3565b82525050565b6144f081614cbb565b82525050565b60006145028285613b47565b915061450e8284613b47565b91508190509392505050565b600061452582613b78565b91506145318284613abe565b60208201915081905092915050565b600061454c82856144d0565b60208201915061455c8284613a2b565b6014820191508190509392505050565b60006020820190506145816000830184613a1c565b92915050565b600060408201905061459c6000830185613a1c565b6145a96020830184613a1c565b9392505050565b60006080820190506145c56000830187613a1c565b6145d26020830186613a1c565b6145df60408301856144c1565b81810360608301526145f18184613ad5565b905095945050505050565b600060208201905081810360008301526146168184613a42565b905092915050565b60006020820190506146336000830184613aa0565b92915050565b600060808201905061464e6000830187613aaf565b61465b60208301866144e7565b6146686040830185613aaf565b6146756060830184613aaf565b95945050505050565b600060208201905081810360008301526146988184613b0e565b905092915050565b600060208201905081810360008301526146b981613bb8565b9050919050565b600060208201905081810360008301526146d981613c1e565b9050919050565b600060208201905081810360008301526146f981613c84565b9050919050565b6000602082019050818103600083015261471981613cea565b9050919050565b6000602082019050818103600083015261473981613d2a565b9050919050565b6000602082019050818103600083015261475981613d6a565b9050919050565b6000602082019050818103600083015261477981613daa565b9050919050565b6000602082019050818103600083015261479981613e10565b9050919050565b600060208201905081810360008301526147b981613e50565b9050919050565b600060208201905081810360008301526147d981613eb6565b9050919050565b600060208201905081810360008301526147f981613ef6565b9050919050565b6000602082019050818103600083015261481981613f36565b9050919050565b6000602082019050818103600083015261483981613f9c565b9050919050565b6000602082019050818103600083015261485981614002565b9050919050565b6000602082019050818103600083015261487981614068565b9050919050565b60006020820190508181036000830152614899816140a8565b9050919050565b600060208201905081810360008301526148b9816140e8565b9050919050565b600060208201905081810360008301526148d98161414e565b9050919050565b600060208201905081810360008301526148f98161418e565b9050919050565b60006020820190508181036000830152614919816141f4565b9050919050565b600060208201905081810360008301526149398161425a565b9050919050565b60006020820190508181036000830152614959816142c0565b9050919050565b6000602082019050818103600083015261497981614326565b9050919050565b6000602082019050818103600083015261499981614366565b9050919050565b600060208201905081810360008301526149b9816143cc565b9050919050565b600060208201905081810360008301526149d98161440c565b9050919050565b600060208201905081810360008301526149f981614472565b9050919050565b6000602082019050614a1560008301846144c1565b92915050565b6000604051905081810181811067ffffffffffffffff82111715614a4257614a41614e7b565b5b8060405250919050565b600067ffffffffffffffff821115614a6757614a66614e7b565b5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff821115614a9757614a96614e7b565b5b601f19601f8301169050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000614b3382614cb1565b9150614b3e83614cb1565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614b7357614b72614dee565b5b828201905092915050565b6000614b8982614cb1565b9150614b9483614cb1565b925082614ba457614ba3614e1d565b5b828204905092915050565b6000614bba82614cb1565b9150614bc583614cb1565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614bfe57614bfd614dee565b5b828202905092915050565b6000614c1482614cb1565b9150614c1f83614cb1565b925082821015614c3257614c31614dee565b5b828203905092915050565b6000614c4882614c91565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b83811015614cf5578082015181840152602081019050614cda565b83811115614d04576000848401525b50505050565b60006002820490506001821680614d2257607f821691505b60208210811415614d3657614d35614e4c565b5b50919050565b6000614d4782614cb1565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614d7a57614d79614dee565b5b600182019050919050565b6000614d9082614da1565b9050919050565b6000819050919050565b6000614dac82614ebb565b9050919050565b6000819050919050565b6000614dc882614cb1565b9150614dd383614cb1565b925082614de357614de2614e1d565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b614ed181614c3d565b8114614edc57600080fd5b50565b614ee881614c4f565b8114614ef357600080fd5b50565b614eff81614c65565b8114614f0a57600080fd5b50565b614f1681614cb1565b8114614f2157600080fd5b50565b614f2d81614cbb565b8114614f3857600080fd5b5056fea2646970667358221220ae2e24f8e35d22d8234503fd0864229e69edca89fa5b8f46370f25cbf5df374664736f6c63430008000033

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

0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000f07206cc855997319ae3dada113c1d18837a9afd000000000000000000000000000000000000000000000000000000000000000e424153455f544f4b454e5f555249000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : newBaseURI (string): BASE_TOKEN_URI
Arg [1] : voucherSigner (address): 0xf07206CC855997319Ae3dADA113c1d18837a9AFD

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 000000000000000000000000f07206cc855997319ae3dada113c1d18837a9afd
Arg [2] : 000000000000000000000000000000000000000000000000000000000000000e
Arg [3] : 424153455f544f4b454e5f555249000000000000000000000000000000000000


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.