ETH Price: $2,679.59 (+0.41%)

Token

SympathyForTheDevils (SFTD)
 

Overview

Max Total Supply

5,444 SFTD

Holders

1,862

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Balance
1 SFTD
0x37be6f8eafffb14173db8e7e71ca578eb5e137c7
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

Sympathy For The Devils NFTs are generative and artworks limited to a total amount of 6666 generated from 160+ different attributes/traits.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
SympathyForTheDevils

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
No with 200 runs

Other Settings:
byzantium EvmVersion
File 1 of 15 : SympathyForTheDevils.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.0;

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

contract SympathyForTheDevils is ERC721, ERC721Enumerable, ERC721Burnable, Ownable {
    using Counters for Counters.Counter;

    Counters.Counter private _tokenIdCounter;

    uint256 public maxTokenSupply;

    uint256 public constant MAX_MINTS_PER_TXN = 16;

    uint256 public mintPrice = 66600000 gwei; // 0.0666 ETH

    bool public saleIsActive = false;

    bool public cookingIsActive = false;

    string public baseURI;

    string public provenance;

    uint256 public startingIndexBlock;

    uint256 public startingIndex;

    address[3] private _shareholders;

    uint[3] private _shares;

    address private _manager;

    // Mapping from token ID to the amount of claimable eth in gwei
    mapping(uint256 => uint256) private _claimableEth;

    event DevilCooked(uint256 firstTokenId, uint256 secondTokenId, uint256 cookedDevilTokenId);
    
    event PaymentReleased(address to, uint256 amount);

    event EthDeposited(uint256 amount);

    event EthClaimed(address to, uint256 amount);

    constructor(string memory name, string memory symbol, uint256 maxDevilSupply) ERC721(name, symbol) {
        maxTokenSupply = maxDevilSupply;

        _shareholders[0] = 0x72e20c7dcf9dCE371f816e73d5FcEAa43f6a3094;
        _shareholders[1] = 0xDc8Eb8d2D1babD956136b57B0B9F49b433c019e3;
        _shareholders[2] = 0xD934f8Cd9f3d9caDA39b9714206877b308EF071f;

        _shares[0] = 4000;
        _shares[1] = 3000;
        _shares[2] = 3000;
    }

    function setMaxTokenSupply(uint256 maxDevilSupply) public onlyOwner {
        maxTokenSupply = maxDevilSupply;
    }

    function setMintPrice(uint256 newPrice) public onlyOwner {
        mintPrice = newPrice;
    }

    function withdrawForGiveaway(uint256 amount, address payable to) public onlyOwner {
        Address.sendValue(to, amount);
        emit PaymentReleased(to, amount);
    }

    function withdraw(uint256 amount) public onlyOwner {
        require(address(this).balance >= amount, "Insufficient balance");
        
        uint256 totalShares = 10000;
        for (uint256 i = 0; i < 3; i++) {
            uint256 payment = amount * _shares[i] / totalShares;

            Address.sendValue(payable(_shareholders[i]), payment);
            emit PaymentReleased(_shareholders[i], payment);
        }
    }

    /*
    * Mint reserved NFTs for giveaways, devs, etc.
    */
    function reserveMint(uint256 reservedAmount) public onlyOwner {        
        uint256 supply = _tokenIdCounter.current();
        for (uint256 i = 1; i <= reservedAmount; i++) {
            _safeMint(msg.sender, supply + i);
            _tokenIdCounter.increment();
        }
    }

    /*
    * Mint reserved NFTs for giveaways, devs, etc.
    */
    function reserveMint(uint256 reservedAmount, address mintAddress) public onlyOwner {        
        uint256 supply = _tokenIdCounter.current();
        for (uint256 i = 1; i <= reservedAmount; i++) {
            _safeMint(mintAddress, supply + i);
            _tokenIdCounter.increment();
        }
    }

    /*
    * Pause sale if active, make active if paused.
    */
    function flipSaleState() public onlyOwner {
        saleIsActive = !saleIsActive;
    }

    /*
    * Pause cooking if active, make active if paused.
    */
    function flipCookingState() public onlyOwner {
        cookingIsActive = !cookingIsActive;
    }

    /*
    * Mint Devil NFTs, woo!
    */
    function mintDevils(uint256 numberOfTokens) public payable {
        require(saleIsActive, "Sale must be active to mint devils");
        require(numberOfTokens <= MAX_MINTS_PER_TXN, "You can only mint 16 devils at a time");
        require(totalSupply() + numberOfTokens <= maxTokenSupply, "Purchase would exceed max available devils");
        require(mintPrice * numberOfTokens <= msg.value, "Ether value sent is not correct");

        for(uint256 i = 0; i < numberOfTokens; i++) {
            uint256 mintIndex = _tokenIdCounter.current() + 1;
            if (mintIndex <= maxTokenSupply) {
                _safeMint(msg.sender, mintIndex);
                _tokenIdCounter.increment();
            }
        }

        // If we haven't set the starting index, set the starting index block.
        if (startingIndexBlock == 0) {
            startingIndexBlock = block.number;
        }
    }

    /*
    * Set the manager address for deposits.
    */
    function setManager(address manager) public onlyOwner {
        _manager = manager;
    }

    /**
     * @dev Throws if called by any account other than the owner or manager.
     */
    modifier onlyOwnerOrManager() {
        require(owner() == _msgSender() || _manager == _msgSender(), "Caller is not the owner or manager");
        _;
    }

    /*
    * Deposit eth for distribution to token owners.
    */
    function deposit() public payable onlyOwnerOrManager {
        uint256 tokenCount = totalSupply();
        uint256 claimableAmountPerToken = msg.value / tokenCount;

        for(uint256 i = 0; i < tokenCount; i++) {
            // Iterate over all existing tokens (that have not been burnt)
            _claimableEth[tokenByIndex(i)] += claimableAmountPerToken;
        }

        emit EthDeposited(msg.value);
    }

    /*
    * Get the claimable balance of a token ID.
    */
    function claimableBalanceOfTokenId(uint256 tokenId) public view returns (uint256) {
        return _claimableEth[tokenId];
    }

    /*
    * Get the total claimable balance for an owner.
    */
    function claimableBalance(address owner) public view returns (uint256) {
        uint256 balance = 0;
        uint256 numTokens = balanceOf(owner);

        for(uint256 i = 0; i < numTokens; i++) {
            balance += claimableBalanceOfTokenId(tokenOfOwnerByIndex(owner, i));
        }

        return balance;
    }

    function claim() public {
        uint256 amount = 0;
        uint256 numTokens = balanceOf(msg.sender);

        for(uint256 i = 0; i < numTokens; i++) {
            uint256 tokenId = tokenOfOwnerByIndex(msg.sender, i);
            amount += _claimableEth[tokenId];
            // Empty out all the claimed amount so as to protect against re-entrancy attacks.
            _claimableEth[tokenId] = 0;
        }

        require(amount > 0, "There is no amount left to claim");

        emit EthClaimed(msg.sender, amount);

        // We must transfer at the very end to protect against re-entrancy.
        Address.sendValue(payable(msg.sender), amount);
    }

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

    function setBaseURI(string memory newBaseURI) public onlyOwner {
        baseURI = newBaseURI;
    }

    /**
     * Set the starting index for the collection.
     */
    function setStartingIndex() public onlyOwner {
        require(startingIndex == 0, "Starting index is already set");
        require(startingIndexBlock != 0, "Starting index block must be set");
        
        startingIndex = uint(blockhash(startingIndexBlock)) % maxTokenSupply;
        // Just a sanity case in the worst case if this function is called late (EVM only stores last 256 block hashes).
        if (block.number - startingIndexBlock > 255) {
            startingIndex = uint(blockhash(block.number - 1)) % maxTokenSupply;
        }
        // Prevent default sequence.
        if (startingIndex == 0) {
            startingIndex = 1;
        }
    }

    /**
     * Set the starting index block for the collection. Usually, this will be set after the first sale mint.
     */
    function emergencySetStartingIndexBlock() public onlyOwner {
        require(startingIndex == 0, "Starting index is already set");
        
        startingIndexBlock = block.number;
    }

    /*     
    * Set provenance once it's calculated.
    */
    function setProvenanceHash(string memory provenanceHash) public onlyOwner {
        provenance = provenanceHash;
    }

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

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

    function cookDevil(uint256 firstTokenId, uint256 secondTokenId) public {
        require(cookingIsActive && !saleIsActive, "Either sale is currently active or cooking is inactive");
        require(_isApprovedOrOwner(_msgSender(), firstTokenId) && _isApprovedOrOwner(_msgSender(), secondTokenId), "Caller is not owner nor approved");
        
        // burn the 2 tokens
        _burn(firstTokenId);
        _burn(secondTokenId);

        // mint new token
        uint256 cookedDevilTokenId = _tokenIdCounter.current() + 1;
        _safeMint(msg.sender, cookedDevilTokenId);
        _tokenIdCounter.increment();

        // fire event in logs
        emit DevilCooked(firstTokenId, secondTokenId, cookedDevilTokenId);
    }
}

File 2 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 () {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), 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 {
        emit OwnershipTransferred(_owner, address(0));
        _owner = 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");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

File 3 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}. 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(to).onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert("ERC721: transfer to non ERC721Receiver implementer");
                } else {
                    // solhint-disable-next-line no-inline-assembly
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, ``from``'s `tokenId` will be burned.
     * - `from` 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 { }
}

File 4 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 5 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 6 of 15 : ERC721Burnable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

/**
 * @title ERC721 Burnable Token
 * @dev ERC721 Token that can be irreversibly burned (destroyed).
 */
abstract contract ERC721Burnable is Context, ERC721 {
    /**
     * @dev Burns `tokenId`. See {ERC721-_burn}.
     *
     * Requirements:
     *
     * - The caller must own `tokenId` or be an approved operator.
     */
    function burn(uint256 tokenId) public virtual {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721Burnable: caller is not owner nor approved");
        _burn(tokenId);
    }
}

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

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;
        // solhint-disable-next-line no-inline-assembly
        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");

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (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");

        // solhint-disable-next-line avoid-low-level-calls
        (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");

        // solhint-disable-next-line avoid-low-level-calls
        (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");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private 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

                // solhint-disable-next-line no-inline-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) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

File 12 of 15 : Counters.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant alphabet = "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] = alphabet[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }

}

File 14 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 15 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);
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"uint256","name":"maxDevilSupply","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"firstTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"secondTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"cookedDevilTokenId","type":"uint256"}],"name":"DevilCooked","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"EthClaimed","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"EthDeposited","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":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentReleased","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":"MAX_MINTS_PER_TXN","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":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"claimableBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"claimableBalanceOfTokenId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"firstTokenId","type":"uint256"},{"internalType":"uint256","name":"secondTokenId","type":"uint256"}],"name":"cookDevil","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"cookingIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"deposit","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"emergencySetStartingIndexBlock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"flipCookingState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"flipSaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTokenSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"mintDevils","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"provenance","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"reservedAmount","type":"uint256"}],"name":"reserveMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"reservedAmount","type":"uint256"},{"internalType":"address","name":"mintAddress","type":"address"}],"name":"reserveMint","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":"saleIsActive","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":"newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"manager","type":"address"}],"name":"setManager","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxDevilSupply","type":"uint256"}],"name":"setMaxTokenSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"provenanceHash","type":"string"}],"name":"setProvenanceHash","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setStartingIndex","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startingIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"startingIndexBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"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":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address payable","name":"to","type":"address"}],"name":"withdrawForGiveaway","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405266ec9c58de0a8000600d556000600e60006101000a81548160ff0219169083151502179055506000600e60016101000a81548160ff0219169083151502179055503480156200005257600080fd5b506040516200617938038062006179833981810160405281019062000078919062000469565b828281600090805190602001906200009292919062000324565b508060019080519060200190620000ab92919062000324565b5050506000620000c96200031c640100000000026401000000009004565b905080600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35080600c819055507372e20c7dcf9dce371f816e73d5fceaa43f6a309460136000600381106200019c576200019b6200063d565b5b0160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555073dc8eb8d2d1babd956136b57b0b9f49b433c019e360136001600381106200020857620002076200063d565b5b0160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555073d934f8cd9f3d9cada39b9714206877b308ef071f60136002600381106200027457620002736200063d565b5b0160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550610fa06016600060038110620002ce57620002cd6200063d565b5b0181905550610bb86016600160038110620002ee57620002ed6200063d565b5b0181905550610bb860166002600381106200030e576200030d6200063d565b5b0181905550505050620006da565b600033905090565b8280546200033290620005a2565b90600052602060002090601f016020900481019282620003565760008555620003a2565b82601f106200037157805160ff1916838001178555620003a2565b82800160010185558215620003a2579182015b82811115620003a157825182559160200191906001019062000384565b5b509050620003b19190620003b5565b5090565b5b80821115620003d0576000816000905550600101620003b6565b5090565b6000620003eb620003e5846200052c565b62000503565b9050828152602081018484840111156200040a5762000409620006a0565b5b620004178482856200056c565b509392505050565b600082601f8301126200043757620004366200069b565b5b815162000449848260208601620003d4565b91505092915050565b6000815190506200046381620006c0565b92915050565b600080600060608486031215620004855762000484620006aa565b5b600084015167ffffffffffffffff811115620004a657620004a5620006a5565b5b620004b4868287016200041f565b935050602084015167ffffffffffffffff811115620004d857620004d7620006a5565b5b620004e6868287016200041f565b9250506040620004f98682870162000452565b9150509250925092565b60006200050f62000522565b90506200051d8282620005d8565b919050565b6000604051905090565b600067ffffffffffffffff8211156200054a57620005496200066c565b5b6200055582620006af565b9050602081019050919050565b6000819050919050565b60005b838110156200058c5780820151818401526020810190506200056f565b838111156200059c576000848401525b50505050565b60006002820490506001821680620005bb57607f821691505b60208210811415620005d257620005d16200060e565b5b50919050565b620005e382620006af565b810181811067ffffffffffffffff821117156200060557620006046200066c565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b620006cb8162000562565b8114620006d757600080fd5b50565b615a8f80620006ea6000396000f3fe6080604052600436106102b0576000357c0100000000000000000000000000000000000000000000000000000000900480636817c76c11610177578063cb774d47116100de578063e985e9c511610097578063e985e9c5146109b3578063e9866550146109f0578063eb8d244414610a07578063f17d4a1614610a32578063f2fde38b14610a5d578063f4a0a52814610a86576102b0565b8063cb774d47146108c2578063d0e30db0146108ed578063d0ebdbe7146108f7578063dfe93fa314610920578063e0fbb8621461094b578063e36d649814610988576102b0565b806395d89b411161013057806395d89b41146107b6578063a22cb465146107e1578063b07ed9821461080a578063b188ca4314610833578063b88d4fde1461085c578063c87b56dd14610885576102b0565b80636817c76c146106ca5780636c0360eb146106f557806370a0823114610720578063715018a61461075d5780637d17fcbe146107745780638da5cb5b1461078b576102b0565b80632f745c591161021b5780634f6ccce7116101d45780634f6ccce71461059657806350f7c204146105d357806355f804b3146105fe57806360b02f701461062757806360f3309b146106505780636352211e1461068d576102b0565b80632f745c59146104b057806334918dfd146104ed57806342842e0e1461050457806342966c681461052d5780634d7313a4146105565780634e71d92d1461057f576102b0565b8063109695231161026d57806310969523146103ca5780631342ff4c146103f357806318160ddd1461041c57806323b872dd1461044757806325316bbc146104705780632e1a7d4d14610487576102b0565b806301ffc9a7146102b557806306fdde03146102f2578063081812fc1461031d578063095ea7b31461035a5780630b66695f146103835780630f7309e81461039f575b600080fd5b3480156102c157600080fd5b506102dc60048036038101906102d7919061402e565b610aaf565b6040516102e99190614812565b60405180910390f35b3480156102fe57600080fd5b50610307610ac1565b604051610314919061482d565b60405180910390f35b34801561032957600080fd5b50610344600480360381019061033f91906140d1565b610b53565b6040516103519190614759565b60405180910390f35b34801561036657600080fd5b50610381600480360381019061037c9190613fee565b610bd8565b005b61039d600480360381019061039891906140d1565b610cf0565b005b3480156103ab57600080fd5b506103b4610e98565b6040516103c1919061482d565b60405180910390f35b3480156103d657600080fd5b506103f160048036038101906103ec9190614088565b610f26565b005b3480156103ff57600080fd5b5061041a600480360381019061041591906140d1565b610fbc565b005b34801561042857600080fd5b5061043161108b565b60405161043e9190614c4f565b60405180910390f35b34801561045357600080fd5b5061046e60048036038101906104699190613ed8565b611098565b005b34801561047c57600080fd5b506104856110f8565b005b34801561049357600080fd5b506104ae60048036038101906104a991906140d1565b6111a0565b005b3480156104bc57600080fd5b506104d760048036038101906104d29190613fee565b61137f565b6040516104e49190614c4f565b60405180910390f35b3480156104f957600080fd5b50610502611424565b005b34801561051057600080fd5b5061052b60048036038101906105269190613ed8565b6114cc565b005b34801561053957600080fd5b50610554600480360381019061054f91906140d1565b6114ec565b005b34801561056257600080fd5b5061057d6004803603810190610578919061413e565b611548565b005b34801561058b57600080fd5b5061059461160b565b005b3480156105a257600080fd5b506105bd60048036038101906105b891906140d1565b61170b565b6040516105ca9190614c4f565b60405180910390f35b3480156105df57600080fd5b506105e861177c565b6040516105f59190614c4f565b60405180910390f35b34801561060a57600080fd5b5061062560048036038101906106209190614088565b611782565b005b34801561063357600080fd5b5061064e600480360381019061064991906140fe565b611818565b005b34801561065c57600080fd5b5061067760048036038101906106729190613e6b565b6118e8565b6040516106849190614c4f565b60405180910390f35b34801561069957600080fd5b506106b460048036038101906106af91906140d1565b611944565b6040516106c19190614759565b60405180910390f35b3480156106d657600080fd5b506106df6119f6565b6040516106ec9190614c4f565b60405180910390f35b34801561070157600080fd5b5061070a6119fc565b604051610717919061482d565b60405180910390f35b34801561072c57600080fd5b5061074760048036038101906107429190613e6b565b611a8a565b6040516107549190614c4f565b60405180910390f35b34801561076957600080fd5b50610772611b42565b005b34801561078057600080fd5b50610789611c7f565b005b34801561079757600080fd5b506107a0611d49565b6040516107ad9190614759565b60405180910390f35b3480156107c257600080fd5b506107cb611d73565b6040516107d8919061482d565b60405180910390f35b3480156107ed57600080fd5b5061080860048036038101906108039190613fae565b611e05565b005b34801561081657600080fd5b50610831600480360381019061082c91906140d1565b611f86565b005b34801561083f57600080fd5b5061085a6004803603810190610855919061417e565b61200c565b005b34801561086857600080fd5b50610883600480360381019061087e9190613f2b565b61215d565b005b34801561089157600080fd5b506108ac60048036038101906108a791906140d1565b6121bf565b6040516108b9919061482d565b60405180910390f35b3480156108ce57600080fd5b506108d7612266565b6040516108e49190614c4f565b60405180910390f35b6108f561226c565b005b34801561090357600080fd5b5061091e60048036038101906109199190613e6b565b6123ef565b005b34801561092c57600080fd5b506109356124af565b6040516109429190614c4f565b60405180910390f35b34801561095757600080fd5b50610972600480360381019061096d91906140d1565b6124b4565b60405161097f9190614c4f565b60405180910390f35b34801561099457600080fd5b5061099d6124d1565b6040516109aa9190614c4f565b60405180910390f35b3480156109bf57600080fd5b506109da60048036038101906109d59190613e98565b6124d7565b6040516109e79190614812565b60405180910390f35b3480156109fc57600080fd5b50610a0561256b565b005b348015610a1357600080fd5b50610a1c6126df565b604051610a299190614812565b60405180910390f35b348015610a3e57600080fd5b50610a476126f2565b604051610a549190614812565b60405180910390f35b348015610a6957600080fd5b50610a846004803603810190610a7f9190613e6b565b612705565b005b348015610a9257600080fd5b50610aad6004803603810190610aa891906140d1565b6128b1565b005b6000610aba82612937565b9050919050565b606060008054610ad090614f89565b80601f0160208091040260200160405190810160405280929190818152602001828054610afc90614f89565b8015610b495780601f10610b1e57610100808354040283529160200191610b49565b820191906000526020600020905b815481529060010190602001808311610b2c57829003601f168201915b5050505050905090565b6000610b5e826129b1565b610b9d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b9490614aaf565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610be382611944565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c54576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c4b90614b6f565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c73612a1d565b73ffffffffffffffffffffffffffffffffffffffff161480610ca25750610ca181610c9c612a1d565b6124d7565b5b610ce1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cd890614a2f565b60405180910390fd5b610ceb8383612a25565b505050565b600e60009054906101000a900460ff16610d3f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d3690614b8f565b60405180910390fd5b6010811115610d83576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d7a90614aef565b60405180910390fd5b600c5481610d8f61108b565b610d999190614d76565b1115610dda576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dd1906149af565b60405180910390fd5b3481600d54610de99190614dfd565b1115610e2a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e219061496f565b60405180910390fd5b60005b81811015610e815760006001610e43600b612ade565b610e4d9190614d76565b9050600c548111610e6d57610e623382612aec565b610e6c600b612b0a565b5b508080610e7990614fec565b915050610e2d565b5060006011541415610e9557436011819055505b50565b60108054610ea590614f89565b80601f0160208091040260200160405190810160405280929190818152602001828054610ed190614f89565b8015610f1e5780601f10610ef357610100808354040283529160200191610f1e565b820191906000526020600020905b815481529060010190602001808311610f0157829003601f168201915b505050505081565b610f2e612a1d565b73ffffffffffffffffffffffffffffffffffffffff16610f4c611d49565b73ffffffffffffffffffffffffffffffffffffffff1614610fa2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9990614acf565b60405180910390fd5b8060109080519060200190610fb8929190613c6a565b5050565b610fc4612a1d565b73ffffffffffffffffffffffffffffffffffffffff16610fe2611d49565b73ffffffffffffffffffffffffffffffffffffffff1614611038576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161102f90614acf565b60405180910390fd5b6000611044600b612ade565b90506000600190505b828111611086576110693382846110649190614d76565b612aec565b611073600b612b0a565b808061107e90614fec565b91505061104d565b505050565b6000600880549050905090565b6110a96110a3612a1d565b82612b20565b6110e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110df90614bef565b60405180910390fd5b6110f3838383612bfe565b505050565b611100612a1d565b73ffffffffffffffffffffffffffffffffffffffff1661111e611d49565b73ffffffffffffffffffffffffffffffffffffffff1614611174576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161116b90614acf565b60405180910390fd5b600e60019054906101000a900460ff1615600e60016101000a81548160ff021916908315150217905550565b6111a8612a1d565b73ffffffffffffffffffffffffffffffffffffffff166111c6611d49565b73ffffffffffffffffffffffffffffffffffffffff161461121c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161121390614acf565b60405180910390fd5b803073ffffffffffffffffffffffffffffffffffffffff16311015611276576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161126d9061492f565b60405180910390fd5b6000612710905060005b600381101561137a57600082601683600381106112a05761129f615122565b5b0154856112ad9190614dfd565b6112b79190614dcc565b90506112f8601383600381106112d0576112cf615122565b5b0160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682612e5a565b7fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b0566013836003811061132d5761132c615122565b5b0160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168260405161135e9291906147e9565b60405180910390a150808061137290614fec565b915050611280565b505050565b600061138a83611a8a565b82106113cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113c29061486f565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b61142c612a1d565b73ffffffffffffffffffffffffffffffffffffffff1661144a611d49565b73ffffffffffffffffffffffffffffffffffffffff16146114a0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161149790614acf565b60405180910390fd5b600e60009054906101000a900460ff1615600e60006101000a81548160ff021916908315150217905550565b6114e78383836040518060200160405280600081525061215d565b505050565b6114fd6114f7612a1d565b82612b20565b61153c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161153390614c2f565b60405180910390fd5b61154581612f65565b50565b611550612a1d565b73ffffffffffffffffffffffffffffffffffffffff1661156e611d49565b73ffffffffffffffffffffffffffffffffffffffff16146115c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115bb90614acf565b60405180910390fd5b6115ce8183612e5a565b7fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b05681836040516115ff929190614774565b60405180910390a15050565b60008061161733611a8a565b905060005b81811015611680576000611630338361137f565b9050601a600082815260200190815260200160002054846116519190614d76565b93506000601a60008381526020019081526020016000208190555050808061167890614fec565b91505061161c565b50600082116116c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116bb90614b4f565b60405180910390fd5b7f0d7976053781e071cecf47e898ad2a6dc87621ca33734e96eb4b92453319e8c933836040516116f59291906147e9565b60405180910390a16117073383612e5a565b5050565b600061171561108b565b8210611756576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161174d90614c0f565b60405180910390fd5b6008828154811061176a57611769615122565b5b90600052602060002001549050919050565b600c5481565b61178a612a1d565b73ffffffffffffffffffffffffffffffffffffffff166117a8611d49565b73ffffffffffffffffffffffffffffffffffffffff16146117fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117f590614acf565b60405180910390fd5b80600f9080519060200190611814929190613c6a565b5050565b611820612a1d565b73ffffffffffffffffffffffffffffffffffffffff1661183e611d49565b73ffffffffffffffffffffffffffffffffffffffff1614611894576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161188b90614acf565b60405180910390fd5b60006118a0600b612ade565b90506000600190505b8381116118e2576118c58382846118c09190614d76565b612aec565b6118cf600b612b0a565b80806118da90614fec565b9150506118a9565b50505050565b6000806000905060006118fa84611a8a565b905060005b8181101561193957611919611914868361137f565b6124b4565b836119249190614d76565b9250808061193190614fec565b9150506118ff565b508192505050919050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156119ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119e490614a6f565b60405180910390fd5b80915050919050565b600d5481565b600f8054611a0990614f89565b80601f0160208091040260200160405190810160405280929190818152602001828054611a3590614f89565b8015611a825780601f10611a5757610100808354040283529160200191611a82565b820191906000526020600020905b815481529060010190602001808311611a6557829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611afb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611af290614a4f565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611b4a612a1d565b73ffffffffffffffffffffffffffffffffffffffff16611b68611d49565b73ffffffffffffffffffffffffffffffffffffffff1614611bbe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bb590614acf565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b611c87612a1d565b73ffffffffffffffffffffffffffffffffffffffff16611ca5611d49565b73ffffffffffffffffffffffffffffffffffffffff1614611cfb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cf290614acf565b60405180910390fd5b600060125414611d40576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d3790614a0f565b60405180910390fd5b43601181905550565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054611d8290614f89565b80601f0160208091040260200160405190810160405280929190818152602001828054611dae90614f89565b8015611dfb5780601f10611dd057610100808354040283529160200191611dfb565b820191906000526020600020905b815481529060010190602001808311611dde57829003601f168201915b5050505050905090565b611e0d612a1d565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611e7b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e729061490f565b60405180910390fd5b8060056000611e88612a1d565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611f35612a1d565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611f7a9190614812565b60405180910390a35050565b611f8e612a1d565b73ffffffffffffffffffffffffffffffffffffffff16611fac611d49565b73ffffffffffffffffffffffffffffffffffffffff1614612002576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ff990614acf565b60405180910390fd5b80600c8190555050565b600e60019054906101000a900460ff1680156120355750600e60009054906101000a900460ff16155b612074576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161206b9061484f565b60405180910390fd5b61208561207f612a1d565b83612b20565b801561209e575061209d612097612a1d565b82612b20565b5b6120dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120d490614baf565b60405180910390fd5b6120e682612f65565b6120ef81612f65565b600060016120fd600b612ade565b6121079190614d76565b90506121133382612aec565b61211d600b612b0a565b7fa260864f311da2bd9c1a650a1f07e50a80746db55b75536c61a8df5801a04d0383838360405161215093929190614c6a565b60405180910390a1505050565b61216e612168612a1d565b83612b20565b6121ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121a490614bef565b60405180910390fd5b6121b984848484613076565b50505050565b60606121ca826129b1565b612209576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161220090614b2f565b60405180910390fd5b60006122136130d2565b90506000815111612233576040518060200160405280600081525061225e565b8061223d84613164565b60405160200161224e929190614720565b6040516020818303038152906040525b915050919050565b60125481565b612274612a1d565b73ffffffffffffffffffffffffffffffffffffffff16612292611d49565b73ffffffffffffffffffffffffffffffffffffffff16148061230857506122b7612a1d565b73ffffffffffffffffffffffffffffffffffffffff16601960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16145b612347576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161233e9061494f565b60405180910390fd5b600061235161108b565b9050600081346123619190614dcc565b905060005b828110156123b35781601a600061237c8461170b565b815260200190815260200160002060008282546123999190614d76565b9250508190555080806123ab90614fec565b915050612366565b507f44863bc9b335caf97ca3a3ab6fb67776965a88292ed53b0679f8eae4a67b630c346040516123e39190614c4f565b60405180910390a15050565b6123f7612a1d565b73ffffffffffffffffffffffffffffffffffffffff16612415611d49565b73ffffffffffffffffffffffffffffffffffffffff161461246b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161246290614acf565b60405180910390fd5b80601960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b601081565b6000601a6000838152602001908152602001600020549050919050565b60115481565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b612573612a1d565b73ffffffffffffffffffffffffffffffffffffffff16612591611d49565b73ffffffffffffffffffffffffffffffffffffffff16146125e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125de90614acf565b60405180910390fd5b60006012541461262c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161262390614a0f565b60405180910390fd5b60006011541415612672576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161266990614bcf565b60405180910390fd5b600c5460115440600190046126879190615035565b60128190555060ff6011544361269d9190614e57565b11156126c957600c546001436126b39190614e57565b40600190046126c29190615035565b6012819055505b600060125414156126dd5760016012819055505b565b600e60009054906101000a900460ff1681565b600e60019054906101000a900460ff1681565b61270d612a1d565b73ffffffffffffffffffffffffffffffffffffffff1661272b611d49565b73ffffffffffffffffffffffffffffffffffffffff1614612781576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161277890614acf565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156127f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127e8906148af565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6128b9612a1d565b73ffffffffffffffffffffffffffffffffffffffff166128d7611d49565b73ffffffffffffffffffffffffffffffffffffffff161461292d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161292490614acf565b60405180910390fd5b80600d8190555050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806129aa57506129a9826132e4565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612a9883611944565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600081600001549050919050565b612b068282604051806020016040528060008152506133c6565b5050565b6001816000016000828254019250508190555050565b6000612b2b826129b1565b612b6a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b61906149ef565b60405180910390fd5b6000612b7583611944565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612be457508373ffffffffffffffffffffffffffffffffffffffff16612bcc84610b53565b73ffffffffffffffffffffffffffffffffffffffff16145b80612bf55750612bf481856124d7565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612c1e82611944565b73ffffffffffffffffffffffffffffffffffffffff1614612c74576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c6b90614b0f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612ce4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cdb906148ef565b60405180910390fd5b612cef838383613421565b612cfa600082612a25565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612d4a9190614e57565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612da19190614d76565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b803073ffffffffffffffffffffffffffffffffffffffff16311015612eb4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612eab906149cf565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff1682604051612eda90614744565b60006040518083038185875af1925050503d8060008114612f17576040519150601f19603f3d011682016040523d82523d6000602084013e612f1c565b606091505b5050905080612f60576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f579061498f565b60405180910390fd5b505050565b6000612f7082611944565b9050612f7e81600084613421565b612f89600083612a25565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612fd99190614e57565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b613081848484612bfe565b61308d84848484613431565b6130cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130c39061488f565b60405180910390fd5b50505050565b6060600f80546130e190614f89565b80601f016020809104026020016040519081016040528092919081815260200182805461310d90614f89565b801561315a5780601f1061312f5761010080835404028352916020019161315a565b820191906000526020600020905b81548152906001019060200180831161313d57829003601f168201915b5050505050905090565b606060008214156131ac576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506132df565b600082905060005b600082146131de5780806131c790614fec565b915050600a826131d79190614dcc565b91506131b4565b60008167ffffffffffffffff8111156131fa576131f9615151565b5b6040519080825280601f01601f19166020018201604052801561322c5781602001600182028036833780820191505090505b5090505b600085146132d8576001826132459190614e57565b9150600a856132549190615035565b60306132609190614d76565b7f01000000000000000000000000000000000000000000000000000000000000000281838151811061329557613294615122565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856132d19190614dcc565b9450613230565b8093505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806133af57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806133bf57506133be82613600565b5b9050919050565b6133d0838361366a565b6133dd6000848484613431565b61341c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134139061488f565b60405180910390fd5b505050565b61342c838383613838565b505050565b60006134528473ffffffffffffffffffffffffffffffffffffffff1661394c565b156135f3578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261347b612a1d565b8786866040518563ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004016134b9949392919061479d565b602060405180830381600087803b1580156134d357600080fd5b505af192505050801561350457506040513d601f19601f82011682018060405250810190613501919061405b565b60015b613587573d8060008114613534576040519150601f19603f3d011682016040523d82523d6000602084013e613539565b606091505b5060008151141561357f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135769061488f565b60405180910390fd5b805181602001fd5b63150b7a027c0100000000000000000000000000000000000000000000000000000000027bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506135f8565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156136da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136d190614a8f565b60405180910390fd5b6136e3816129b1565b15613723576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161371a906148cf565b60405180910390fd5b61372f60008383613421565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461377f9190614d76565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b61384383838361395f565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156138865761388181613964565b6138c5565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146138c4576138c383826139ad565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156139085761390381613b1a565b613947565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614613946576139458282613beb565b5b5b505050565b600080823b905060008111915050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016139ba84611a8a565b6139c49190614e57565b9050600060076000848152602001908152602001600020549050818114613aa9576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050613b2e9190614e57565b9050600060096000848152602001908152602001600020549050600060088381548110613b5e57613b5d615122565b5b906000526020600020015490508060088381548110613b8057613b7f615122565b5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613bcf57613bce6150f3565b5b6001900381819060005260206000200160009055905550505050565b6000613bf683611a8a565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b828054613c7690614f89565b90600052602060002090601f016020900481019282613c985760008555613cdf565b82601f10613cb157805160ff1916838001178555613cdf565b82800160010185558215613cdf579182015b82811115613cde578251825591602001919060010190613cc3565b5b509050613cec9190613cf0565b5090565b5b80821115613d09576000816000905550600101613cf1565b5090565b6000613d20613d1b84614cc6565b614ca1565b905082815260208101848484011115613d3c57613d3b615185565b5b613d47848285614f47565b509392505050565b6000613d62613d5d84614cf7565b614ca1565b905082815260208101848484011115613d7e57613d7d615185565b5b613d89848285614f47565b509392505050565b600081359050613da0816159e6565b92915050565b600081359050613db5816159fd565b92915050565b600081359050613dca81615a14565b92915050565b600081359050613ddf81615a2b565b92915050565b600081519050613df481615a2b565b92915050565b600082601f830112613e0f57613e0e615180565b5b8135613e1f848260208601613d0d565b91505092915050565b600082601f830112613e3d57613e3c615180565b5b8135613e4d848260208601613d4f565b91505092915050565b600081359050613e6581615a42565b92915050565b600060208284031215613e8157613e8061518f565b5b6000613e8f84828501613d91565b91505092915050565b60008060408385031215613eaf57613eae61518f565b5b6000613ebd85828601613d91565b9250506020613ece85828601613d91565b9150509250929050565b600080600060608486031215613ef157613ef061518f565b5b6000613eff86828701613d91565b9350506020613f1086828701613d91565b9250506040613f2186828701613e56565b9150509250925092565b60008060008060808587031215613f4557613f4461518f565b5b6000613f5387828801613d91565b9450506020613f6487828801613d91565b9350506040613f7587828801613e56565b925050606085013567ffffffffffffffff811115613f9657613f9561518a565b5b613fa287828801613dfa565b91505092959194509250565b60008060408385031215613fc557613fc461518f565b5b6000613fd385828601613d91565b9250506020613fe485828601613dbb565b9150509250929050565b600080604083850312156140055761400461518f565b5b600061401385828601613d91565b925050602061402485828601613e56565b9150509250929050565b6000602082840312156140445761404361518f565b5b600061405284828501613dd0565b91505092915050565b6000602082840312156140715761407061518f565b5b600061407f84828501613de5565b91505092915050565b60006020828403121561409e5761409d61518f565b5b600082013567ffffffffffffffff8111156140bc576140bb61518a565b5b6140c884828501613e28565b91505092915050565b6000602082840312156140e7576140e661518f565b5b60006140f584828501613e56565b91505092915050565b600080604083850312156141155761411461518f565b5b600061412385828601613e56565b925050602061413485828601613d91565b9150509250929050565b600080604083850312156141555761415461518f565b5b600061416385828601613e56565b925050602061417485828601613da6565b9150509250929050565b600080604083850312156141955761419461518f565b5b60006141a385828601613e56565b92505060206141b485828601613e56565b9150509250929050565b6141c781614f11565b82525050565b6141d681614e8b565b82525050565b6141e581614eaf565b82525050565b60006141f682614d28565b6142008185614d3e565b9350614210818560208601614f56565b61421981615194565b840191505092915050565b600061422f82614d33565b6142398185614d5a565b9350614249818560208601614f56565b61425281615194565b840191505092915050565b600061426882614d33565b6142728185614d6b565b9350614282818560208601614f56565b80840191505092915050565b600061429b603683614d5a565b91506142a6826151a5565b604082019050919050565b60006142be602b83614d5a565b91506142c9826151f4565b604082019050919050565b60006142e1603283614d5a565b91506142ec82615243565b604082019050919050565b6000614304602683614d5a565b915061430f82615292565b604082019050919050565b6000614327601c83614d5a565b9150614332826152e1565b602082019050919050565b600061434a602483614d5a565b91506143558261530a565b604082019050919050565b600061436d601983614d5a565b915061437882615359565b602082019050919050565b6000614390601483614d5a565b915061439b82615382565b602082019050919050565b60006143b3602283614d5a565b91506143be826153ab565b604082019050919050565b60006143d6601f83614d5a565b91506143e1826153fa565b602082019050919050565b60006143f9603a83614d5a565b915061440482615423565b604082019050919050565b600061441c602a83614d5a565b915061442782615472565b604082019050919050565b600061443f601d83614d5a565b915061444a826154c1565b602082019050919050565b6000614462602c83614d5a565b915061446d826154ea565b604082019050919050565b6000614485601d83614d5a565b915061449082615539565b602082019050919050565b60006144a8603883614d5a565b91506144b382615562565b604082019050919050565b60006144cb602a83614d5a565b91506144d6826155b1565b604082019050919050565b60006144ee602983614d5a565b91506144f982615600565b604082019050919050565b6000614511602083614d5a565b915061451c8261564f565b602082019050919050565b6000614534602c83614d5a565b915061453f82615678565b604082019050919050565b6000614557602083614d5a565b9150614562826156c7565b602082019050919050565b600061457a602583614d5a565b9150614585826156f0565b604082019050919050565b600061459d602983614d5a565b91506145a88261573f565b604082019050919050565b60006145c0602f83614d5a565b91506145cb8261578e565b604082019050919050565b60006145e3602083614d5a565b91506145ee826157dd565b602082019050919050565b6000614606602183614d5a565b915061461182615806565b604082019050919050565b6000614629602283614d5a565b915061463482615855565b604082019050919050565b600061464c602083614d5a565b9150614657826158a4565b602082019050919050565b600061466f602083614d5a565b915061467a826158cd565b602082019050919050565b6000614692600083614d4f565b915061469d826158f6565b600082019050919050565b60006146b5603183614d5a565b91506146c0826158f9565b604082019050919050565b60006146d8602c83614d5a565b91506146e382615948565b604082019050919050565b60006146fb603083614d5a565b915061470682615997565b604082019050919050565b61471a81614f07565b82525050565b600061472c828561425d565b9150614738828461425d565b91508190509392505050565b600061474f82614685565b9150819050919050565b600060208201905061476e60008301846141cd565b92915050565b600060408201905061478960008301856141be565b6147966020830184614711565b9392505050565b60006080820190506147b260008301876141cd565b6147bf60208301866141cd565b6147cc6040830185614711565b81810360608301526147de81846141eb565b905095945050505050565b60006040820190506147fe60008301856141cd565b61480b6020830184614711565b9392505050565b600060208201905061482760008301846141dc565b92915050565b600060208201905081810360008301526148478184614224565b905092915050565b600060208201905081810360008301526148688161428e565b9050919050565b60006020820190508181036000830152614888816142b1565b9050919050565b600060208201905081810360008301526148a8816142d4565b9050919050565b600060208201905081810360008301526148c8816142f7565b9050919050565b600060208201905081810360008301526148e88161431a565b9050919050565b600060208201905081810360008301526149088161433d565b9050919050565b6000602082019050818103600083015261492881614360565b9050919050565b6000602082019050818103600083015261494881614383565b9050919050565b60006020820190508181036000830152614968816143a6565b9050919050565b60006020820190508181036000830152614988816143c9565b9050919050565b600060208201905081810360008301526149a8816143ec565b9050919050565b600060208201905081810360008301526149c88161440f565b9050919050565b600060208201905081810360008301526149e881614432565b9050919050565b60006020820190508181036000830152614a0881614455565b9050919050565b60006020820190508181036000830152614a2881614478565b9050919050565b60006020820190508181036000830152614a488161449b565b9050919050565b60006020820190508181036000830152614a68816144be565b9050919050565b60006020820190508181036000830152614a88816144e1565b9050919050565b60006020820190508181036000830152614aa881614504565b9050919050565b60006020820190508181036000830152614ac881614527565b9050919050565b60006020820190508181036000830152614ae88161454a565b9050919050565b60006020820190508181036000830152614b088161456d565b9050919050565b60006020820190508181036000830152614b2881614590565b9050919050565b60006020820190508181036000830152614b48816145b3565b9050919050565b60006020820190508181036000830152614b68816145d6565b9050919050565b60006020820190508181036000830152614b88816145f9565b9050919050565b60006020820190508181036000830152614ba88161461c565b9050919050565b60006020820190508181036000830152614bc88161463f565b9050919050565b60006020820190508181036000830152614be881614662565b9050919050565b60006020820190508181036000830152614c08816146a8565b9050919050565b60006020820190508181036000830152614c28816146cb565b9050919050565b60006020820190508181036000830152614c48816146ee565b9050919050565b6000602082019050614c646000830184614711565b92915050565b6000606082019050614c7f6000830186614711565b614c8c6020830185614711565b614c996040830184614711565b949350505050565b6000614cab614cbc565b9050614cb78282614fbb565b919050565b6000604051905090565b600067ffffffffffffffff821115614ce157614ce0615151565b5b614cea82615194565b9050602081019050919050565b600067ffffffffffffffff821115614d1257614d11615151565b5b614d1b82615194565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000614d8182614f07565b9150614d8c83614f07565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614dc157614dc0615066565b5b828201905092915050565b6000614dd782614f07565b9150614de283614f07565b925082614df257614df1615095565b5b828204905092915050565b6000614e0882614f07565b9150614e1383614f07565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614e4c57614e4b615066565b5b828202905092915050565b6000614e6282614f07565b9150614e6d83614f07565b925082821015614e8057614e7f615066565b5b828203905092915050565b6000614e9682614ee7565b9050919050565b6000614ea882614ee7565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b6000614f1c82614f23565b9050919050565b6000614f2e82614f35565b9050919050565b6000614f4082614ee7565b9050919050565b82818337600083830152505050565b60005b83811015614f74578082015181840152602081019050614f59565b83811115614f83576000848401525b50505050565b60006002820490506001821680614fa157607f821691505b60208210811415614fb557614fb46150c4565b5b50919050565b614fc482615194565b810181811067ffffffffffffffff82111715614fe357614fe2615151565b5b80604052505050565b6000614ff782614f07565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561502a57615029615066565b5b600182019050919050565b600061504082614f07565b915061504b83614f07565b92508261505b5761505a615095565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4569746865722073616c652069732063757272656e746c79206163746976652060008201527f6f7220636f6f6b696e6720697320696e61637469766500000000000000000000602082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f496e73756666696369656e742062616c616e6365000000000000000000000000600082015250565b7f43616c6c6572206973206e6f7420746865206f776e6572206f72206d616e616760008201527f6572000000000000000000000000000000000000000000000000000000000000602082015250565b7f45746865722076616c75652073656e74206973206e6f7420636f727265637400600082015250565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b7f507572636861736520776f756c6420657863656564206d617820617661696c6160008201527f626c6520646576696c7300000000000000000000000000000000000000000000602082015250565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f5374617274696e6720696e64657820697320616c726561647920736574000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f596f752063616e206f6e6c79206d696e7420313620646576696c73206174206160008201527f2074696d65000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f5468657265206973206e6f20616d6f756e74206c65667420746f20636c61696d600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f53616c65206d7573742062652061637469766520746f206d696e74206465766960008201527f6c73000000000000000000000000000000000000000000000000000000000000602082015250565b7f43616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564600082015250565b7f5374617274696e6720696e64657820626c6f636b206d75737420626520736574600082015250565b50565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656400000000000000000000000000000000602082015250565b6159ef81614e8b565b81146159fa57600080fd5b50565b615a0681614e9d565b8114615a1157600080fd5b50565b615a1d81614eaf565b8114615a2857600080fd5b50565b615a3481614ebb565b8114615a3f57600080fd5b50565b615a4b81614f07565b8114615a5657600080fd5b5056fea2646970667358221220685e4969fa3fec0c79f6b8935f7eea39624db4d833c53f2de28fa67332b421ac64736f6c63430008070033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000001a0a000000000000000000000000000000000000000000000000000000000000001453796d7061746879466f72546865446576696c7300000000000000000000000000000000000000000000000000000000000000000000000000000000000000045346544400000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106102b0576000357c0100000000000000000000000000000000000000000000000000000000900480636817c76c11610177578063cb774d47116100de578063e985e9c511610097578063e985e9c5146109b3578063e9866550146109f0578063eb8d244414610a07578063f17d4a1614610a32578063f2fde38b14610a5d578063f4a0a52814610a86576102b0565b8063cb774d47146108c2578063d0e30db0146108ed578063d0ebdbe7146108f7578063dfe93fa314610920578063e0fbb8621461094b578063e36d649814610988576102b0565b806395d89b411161013057806395d89b41146107b6578063a22cb465146107e1578063b07ed9821461080a578063b188ca4314610833578063b88d4fde1461085c578063c87b56dd14610885576102b0565b80636817c76c146106ca5780636c0360eb146106f557806370a0823114610720578063715018a61461075d5780637d17fcbe146107745780638da5cb5b1461078b576102b0565b80632f745c591161021b5780634f6ccce7116101d45780634f6ccce71461059657806350f7c204146105d357806355f804b3146105fe57806360b02f701461062757806360f3309b146106505780636352211e1461068d576102b0565b80632f745c59146104b057806334918dfd146104ed57806342842e0e1461050457806342966c681461052d5780634d7313a4146105565780634e71d92d1461057f576102b0565b8063109695231161026d57806310969523146103ca5780631342ff4c146103f357806318160ddd1461041c57806323b872dd1461044757806325316bbc146104705780632e1a7d4d14610487576102b0565b806301ffc9a7146102b557806306fdde03146102f2578063081812fc1461031d578063095ea7b31461035a5780630b66695f146103835780630f7309e81461039f575b600080fd5b3480156102c157600080fd5b506102dc60048036038101906102d7919061402e565b610aaf565b6040516102e99190614812565b60405180910390f35b3480156102fe57600080fd5b50610307610ac1565b604051610314919061482d565b60405180910390f35b34801561032957600080fd5b50610344600480360381019061033f91906140d1565b610b53565b6040516103519190614759565b60405180910390f35b34801561036657600080fd5b50610381600480360381019061037c9190613fee565b610bd8565b005b61039d600480360381019061039891906140d1565b610cf0565b005b3480156103ab57600080fd5b506103b4610e98565b6040516103c1919061482d565b60405180910390f35b3480156103d657600080fd5b506103f160048036038101906103ec9190614088565b610f26565b005b3480156103ff57600080fd5b5061041a600480360381019061041591906140d1565b610fbc565b005b34801561042857600080fd5b5061043161108b565b60405161043e9190614c4f565b60405180910390f35b34801561045357600080fd5b5061046e60048036038101906104699190613ed8565b611098565b005b34801561047c57600080fd5b506104856110f8565b005b34801561049357600080fd5b506104ae60048036038101906104a991906140d1565b6111a0565b005b3480156104bc57600080fd5b506104d760048036038101906104d29190613fee565b61137f565b6040516104e49190614c4f565b60405180910390f35b3480156104f957600080fd5b50610502611424565b005b34801561051057600080fd5b5061052b60048036038101906105269190613ed8565b6114cc565b005b34801561053957600080fd5b50610554600480360381019061054f91906140d1565b6114ec565b005b34801561056257600080fd5b5061057d6004803603810190610578919061413e565b611548565b005b34801561058b57600080fd5b5061059461160b565b005b3480156105a257600080fd5b506105bd60048036038101906105b891906140d1565b61170b565b6040516105ca9190614c4f565b60405180910390f35b3480156105df57600080fd5b506105e861177c565b6040516105f59190614c4f565b60405180910390f35b34801561060a57600080fd5b5061062560048036038101906106209190614088565b611782565b005b34801561063357600080fd5b5061064e600480360381019061064991906140fe565b611818565b005b34801561065c57600080fd5b5061067760048036038101906106729190613e6b565b6118e8565b6040516106849190614c4f565b60405180910390f35b34801561069957600080fd5b506106b460048036038101906106af91906140d1565b611944565b6040516106c19190614759565b60405180910390f35b3480156106d657600080fd5b506106df6119f6565b6040516106ec9190614c4f565b60405180910390f35b34801561070157600080fd5b5061070a6119fc565b604051610717919061482d565b60405180910390f35b34801561072c57600080fd5b5061074760048036038101906107429190613e6b565b611a8a565b6040516107549190614c4f565b60405180910390f35b34801561076957600080fd5b50610772611b42565b005b34801561078057600080fd5b50610789611c7f565b005b34801561079757600080fd5b506107a0611d49565b6040516107ad9190614759565b60405180910390f35b3480156107c257600080fd5b506107cb611d73565b6040516107d8919061482d565b60405180910390f35b3480156107ed57600080fd5b5061080860048036038101906108039190613fae565b611e05565b005b34801561081657600080fd5b50610831600480360381019061082c91906140d1565b611f86565b005b34801561083f57600080fd5b5061085a6004803603810190610855919061417e565b61200c565b005b34801561086857600080fd5b50610883600480360381019061087e9190613f2b565b61215d565b005b34801561089157600080fd5b506108ac60048036038101906108a791906140d1565b6121bf565b6040516108b9919061482d565b60405180910390f35b3480156108ce57600080fd5b506108d7612266565b6040516108e49190614c4f565b60405180910390f35b6108f561226c565b005b34801561090357600080fd5b5061091e60048036038101906109199190613e6b565b6123ef565b005b34801561092c57600080fd5b506109356124af565b6040516109429190614c4f565b60405180910390f35b34801561095757600080fd5b50610972600480360381019061096d91906140d1565b6124b4565b60405161097f9190614c4f565b60405180910390f35b34801561099457600080fd5b5061099d6124d1565b6040516109aa9190614c4f565b60405180910390f35b3480156109bf57600080fd5b506109da60048036038101906109d59190613e98565b6124d7565b6040516109e79190614812565b60405180910390f35b3480156109fc57600080fd5b50610a0561256b565b005b348015610a1357600080fd5b50610a1c6126df565b604051610a299190614812565b60405180910390f35b348015610a3e57600080fd5b50610a476126f2565b604051610a549190614812565b60405180910390f35b348015610a6957600080fd5b50610a846004803603810190610a7f9190613e6b565b612705565b005b348015610a9257600080fd5b50610aad6004803603810190610aa891906140d1565b6128b1565b005b6000610aba82612937565b9050919050565b606060008054610ad090614f89565b80601f0160208091040260200160405190810160405280929190818152602001828054610afc90614f89565b8015610b495780601f10610b1e57610100808354040283529160200191610b49565b820191906000526020600020905b815481529060010190602001808311610b2c57829003601f168201915b5050505050905090565b6000610b5e826129b1565b610b9d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b9490614aaf565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610be382611944565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c54576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c4b90614b6f565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c73612a1d565b73ffffffffffffffffffffffffffffffffffffffff161480610ca25750610ca181610c9c612a1d565b6124d7565b5b610ce1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cd890614a2f565b60405180910390fd5b610ceb8383612a25565b505050565b600e60009054906101000a900460ff16610d3f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d3690614b8f565b60405180910390fd5b6010811115610d83576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d7a90614aef565b60405180910390fd5b600c5481610d8f61108b565b610d999190614d76565b1115610dda576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dd1906149af565b60405180910390fd5b3481600d54610de99190614dfd565b1115610e2a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e219061496f565b60405180910390fd5b60005b81811015610e815760006001610e43600b612ade565b610e4d9190614d76565b9050600c548111610e6d57610e623382612aec565b610e6c600b612b0a565b5b508080610e7990614fec565b915050610e2d565b5060006011541415610e9557436011819055505b50565b60108054610ea590614f89565b80601f0160208091040260200160405190810160405280929190818152602001828054610ed190614f89565b8015610f1e5780601f10610ef357610100808354040283529160200191610f1e565b820191906000526020600020905b815481529060010190602001808311610f0157829003601f168201915b505050505081565b610f2e612a1d565b73ffffffffffffffffffffffffffffffffffffffff16610f4c611d49565b73ffffffffffffffffffffffffffffffffffffffff1614610fa2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9990614acf565b60405180910390fd5b8060109080519060200190610fb8929190613c6a565b5050565b610fc4612a1d565b73ffffffffffffffffffffffffffffffffffffffff16610fe2611d49565b73ffffffffffffffffffffffffffffffffffffffff1614611038576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161102f90614acf565b60405180910390fd5b6000611044600b612ade565b90506000600190505b828111611086576110693382846110649190614d76565b612aec565b611073600b612b0a565b808061107e90614fec565b91505061104d565b505050565b6000600880549050905090565b6110a96110a3612a1d565b82612b20565b6110e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110df90614bef565b60405180910390fd5b6110f3838383612bfe565b505050565b611100612a1d565b73ffffffffffffffffffffffffffffffffffffffff1661111e611d49565b73ffffffffffffffffffffffffffffffffffffffff1614611174576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161116b90614acf565b60405180910390fd5b600e60019054906101000a900460ff1615600e60016101000a81548160ff021916908315150217905550565b6111a8612a1d565b73ffffffffffffffffffffffffffffffffffffffff166111c6611d49565b73ffffffffffffffffffffffffffffffffffffffff161461121c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161121390614acf565b60405180910390fd5b803073ffffffffffffffffffffffffffffffffffffffff16311015611276576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161126d9061492f565b60405180910390fd5b6000612710905060005b600381101561137a57600082601683600381106112a05761129f615122565b5b0154856112ad9190614dfd565b6112b79190614dcc565b90506112f8601383600381106112d0576112cf615122565b5b0160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682612e5a565b7fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b0566013836003811061132d5761132c615122565b5b0160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168260405161135e9291906147e9565b60405180910390a150808061137290614fec565b915050611280565b505050565b600061138a83611a8a565b82106113cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113c29061486f565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b61142c612a1d565b73ffffffffffffffffffffffffffffffffffffffff1661144a611d49565b73ffffffffffffffffffffffffffffffffffffffff16146114a0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161149790614acf565b60405180910390fd5b600e60009054906101000a900460ff1615600e60006101000a81548160ff021916908315150217905550565b6114e78383836040518060200160405280600081525061215d565b505050565b6114fd6114f7612a1d565b82612b20565b61153c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161153390614c2f565b60405180910390fd5b61154581612f65565b50565b611550612a1d565b73ffffffffffffffffffffffffffffffffffffffff1661156e611d49565b73ffffffffffffffffffffffffffffffffffffffff16146115c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115bb90614acf565b60405180910390fd5b6115ce8183612e5a565b7fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b05681836040516115ff929190614774565b60405180910390a15050565b60008061161733611a8a565b905060005b81811015611680576000611630338361137f565b9050601a600082815260200190815260200160002054846116519190614d76565b93506000601a60008381526020019081526020016000208190555050808061167890614fec565b91505061161c565b50600082116116c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116bb90614b4f565b60405180910390fd5b7f0d7976053781e071cecf47e898ad2a6dc87621ca33734e96eb4b92453319e8c933836040516116f59291906147e9565b60405180910390a16117073383612e5a565b5050565b600061171561108b565b8210611756576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161174d90614c0f565b60405180910390fd5b6008828154811061176a57611769615122565b5b90600052602060002001549050919050565b600c5481565b61178a612a1d565b73ffffffffffffffffffffffffffffffffffffffff166117a8611d49565b73ffffffffffffffffffffffffffffffffffffffff16146117fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117f590614acf565b60405180910390fd5b80600f9080519060200190611814929190613c6a565b5050565b611820612a1d565b73ffffffffffffffffffffffffffffffffffffffff1661183e611d49565b73ffffffffffffffffffffffffffffffffffffffff1614611894576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161188b90614acf565b60405180910390fd5b60006118a0600b612ade565b90506000600190505b8381116118e2576118c58382846118c09190614d76565b612aec565b6118cf600b612b0a565b80806118da90614fec565b9150506118a9565b50505050565b6000806000905060006118fa84611a8a565b905060005b8181101561193957611919611914868361137f565b6124b4565b836119249190614d76565b9250808061193190614fec565b9150506118ff565b508192505050919050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156119ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119e490614a6f565b60405180910390fd5b80915050919050565b600d5481565b600f8054611a0990614f89565b80601f0160208091040260200160405190810160405280929190818152602001828054611a3590614f89565b8015611a825780601f10611a5757610100808354040283529160200191611a82565b820191906000526020600020905b815481529060010190602001808311611a6557829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611afb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611af290614a4f565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611b4a612a1d565b73ffffffffffffffffffffffffffffffffffffffff16611b68611d49565b73ffffffffffffffffffffffffffffffffffffffff1614611bbe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bb590614acf565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b611c87612a1d565b73ffffffffffffffffffffffffffffffffffffffff16611ca5611d49565b73ffffffffffffffffffffffffffffffffffffffff1614611cfb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cf290614acf565b60405180910390fd5b600060125414611d40576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d3790614a0f565b60405180910390fd5b43601181905550565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054611d8290614f89565b80601f0160208091040260200160405190810160405280929190818152602001828054611dae90614f89565b8015611dfb5780601f10611dd057610100808354040283529160200191611dfb565b820191906000526020600020905b815481529060010190602001808311611dde57829003601f168201915b5050505050905090565b611e0d612a1d565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611e7b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e729061490f565b60405180910390fd5b8060056000611e88612a1d565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611f35612a1d565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611f7a9190614812565b60405180910390a35050565b611f8e612a1d565b73ffffffffffffffffffffffffffffffffffffffff16611fac611d49565b73ffffffffffffffffffffffffffffffffffffffff1614612002576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ff990614acf565b60405180910390fd5b80600c8190555050565b600e60019054906101000a900460ff1680156120355750600e60009054906101000a900460ff16155b612074576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161206b9061484f565b60405180910390fd5b61208561207f612a1d565b83612b20565b801561209e575061209d612097612a1d565b82612b20565b5b6120dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120d490614baf565b60405180910390fd5b6120e682612f65565b6120ef81612f65565b600060016120fd600b612ade565b6121079190614d76565b90506121133382612aec565b61211d600b612b0a565b7fa260864f311da2bd9c1a650a1f07e50a80746db55b75536c61a8df5801a04d0383838360405161215093929190614c6a565b60405180910390a1505050565b61216e612168612a1d565b83612b20565b6121ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121a490614bef565b60405180910390fd5b6121b984848484613076565b50505050565b60606121ca826129b1565b612209576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161220090614b2f565b60405180910390fd5b60006122136130d2565b90506000815111612233576040518060200160405280600081525061225e565b8061223d84613164565b60405160200161224e929190614720565b6040516020818303038152906040525b915050919050565b60125481565b612274612a1d565b73ffffffffffffffffffffffffffffffffffffffff16612292611d49565b73ffffffffffffffffffffffffffffffffffffffff16148061230857506122b7612a1d565b73ffffffffffffffffffffffffffffffffffffffff16601960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16145b612347576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161233e9061494f565b60405180910390fd5b600061235161108b565b9050600081346123619190614dcc565b905060005b828110156123b35781601a600061237c8461170b565b815260200190815260200160002060008282546123999190614d76565b9250508190555080806123ab90614fec565b915050612366565b507f44863bc9b335caf97ca3a3ab6fb67776965a88292ed53b0679f8eae4a67b630c346040516123e39190614c4f565b60405180910390a15050565b6123f7612a1d565b73ffffffffffffffffffffffffffffffffffffffff16612415611d49565b73ffffffffffffffffffffffffffffffffffffffff161461246b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161246290614acf565b60405180910390fd5b80601960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b601081565b6000601a6000838152602001908152602001600020549050919050565b60115481565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b612573612a1d565b73ffffffffffffffffffffffffffffffffffffffff16612591611d49565b73ffffffffffffffffffffffffffffffffffffffff16146125e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125de90614acf565b60405180910390fd5b60006012541461262c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161262390614a0f565b60405180910390fd5b60006011541415612672576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161266990614bcf565b60405180910390fd5b600c5460115440600190046126879190615035565b60128190555060ff6011544361269d9190614e57565b11156126c957600c546001436126b39190614e57565b40600190046126c29190615035565b6012819055505b600060125414156126dd5760016012819055505b565b600e60009054906101000a900460ff1681565b600e60019054906101000a900460ff1681565b61270d612a1d565b73ffffffffffffffffffffffffffffffffffffffff1661272b611d49565b73ffffffffffffffffffffffffffffffffffffffff1614612781576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161277890614acf565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156127f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127e8906148af565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6128b9612a1d565b73ffffffffffffffffffffffffffffffffffffffff166128d7611d49565b73ffffffffffffffffffffffffffffffffffffffff161461292d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161292490614acf565b60405180910390fd5b80600d8190555050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806129aa57506129a9826132e4565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612a9883611944565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600081600001549050919050565b612b068282604051806020016040528060008152506133c6565b5050565b6001816000016000828254019250508190555050565b6000612b2b826129b1565b612b6a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b61906149ef565b60405180910390fd5b6000612b7583611944565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612be457508373ffffffffffffffffffffffffffffffffffffffff16612bcc84610b53565b73ffffffffffffffffffffffffffffffffffffffff16145b80612bf55750612bf481856124d7565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612c1e82611944565b73ffffffffffffffffffffffffffffffffffffffff1614612c74576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c6b90614b0f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612ce4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cdb906148ef565b60405180910390fd5b612cef838383613421565b612cfa600082612a25565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612d4a9190614e57565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612da19190614d76565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b803073ffffffffffffffffffffffffffffffffffffffff16311015612eb4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612eab906149cf565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff1682604051612eda90614744565b60006040518083038185875af1925050503d8060008114612f17576040519150601f19603f3d011682016040523d82523d6000602084013e612f1c565b606091505b5050905080612f60576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f579061498f565b60405180910390fd5b505050565b6000612f7082611944565b9050612f7e81600084613421565b612f89600083612a25565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612fd99190614e57565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b613081848484612bfe565b61308d84848484613431565b6130cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130c39061488f565b60405180910390fd5b50505050565b6060600f80546130e190614f89565b80601f016020809104026020016040519081016040528092919081815260200182805461310d90614f89565b801561315a5780601f1061312f5761010080835404028352916020019161315a565b820191906000526020600020905b81548152906001019060200180831161313d57829003601f168201915b5050505050905090565b606060008214156131ac576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506132df565b600082905060005b600082146131de5780806131c790614fec565b915050600a826131d79190614dcc565b91506131b4565b60008167ffffffffffffffff8111156131fa576131f9615151565b5b6040519080825280601f01601f19166020018201604052801561322c5781602001600182028036833780820191505090505b5090505b600085146132d8576001826132459190614e57565b9150600a856132549190615035565b60306132609190614d76565b7f01000000000000000000000000000000000000000000000000000000000000000281838151811061329557613294615122565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856132d19190614dcc565b9450613230565b8093505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806133af57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806133bf57506133be82613600565b5b9050919050565b6133d0838361366a565b6133dd6000848484613431565b61341c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134139061488f565b60405180910390fd5b505050565b61342c838383613838565b505050565b60006134528473ffffffffffffffffffffffffffffffffffffffff1661394c565b156135f3578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261347b612a1d565b8786866040518563ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004016134b9949392919061479d565b602060405180830381600087803b1580156134d357600080fd5b505af192505050801561350457506040513d601f19601f82011682018060405250810190613501919061405b565b60015b613587573d8060008114613534576040519150601f19603f3d011682016040523d82523d6000602084013e613539565b606091505b5060008151141561357f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135769061488f565b60405180910390fd5b805181602001fd5b63150b7a027c0100000000000000000000000000000000000000000000000000000000027bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506135f8565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156136da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136d190614a8f565b60405180910390fd5b6136e3816129b1565b15613723576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161371a906148cf565b60405180910390fd5b61372f60008383613421565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461377f9190614d76565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b61384383838361395f565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156138865761388181613964565b6138c5565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146138c4576138c383826139ad565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156139085761390381613b1a565b613947565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614613946576139458282613beb565b5b5b505050565b600080823b905060008111915050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016139ba84611a8a565b6139c49190614e57565b9050600060076000848152602001908152602001600020549050818114613aa9576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050613b2e9190614e57565b9050600060096000848152602001908152602001600020549050600060088381548110613b5e57613b5d615122565b5b906000526020600020015490508060088381548110613b8057613b7f615122565b5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613bcf57613bce6150f3565b5b6001900381819060005260206000200160009055905550505050565b6000613bf683611a8a565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b828054613c7690614f89565b90600052602060002090601f016020900481019282613c985760008555613cdf565b82601f10613cb157805160ff1916838001178555613cdf565b82800160010185558215613cdf579182015b82811115613cde578251825591602001919060010190613cc3565b5b509050613cec9190613cf0565b5090565b5b80821115613d09576000816000905550600101613cf1565b5090565b6000613d20613d1b84614cc6565b614ca1565b905082815260208101848484011115613d3c57613d3b615185565b5b613d47848285614f47565b509392505050565b6000613d62613d5d84614cf7565b614ca1565b905082815260208101848484011115613d7e57613d7d615185565b5b613d89848285614f47565b509392505050565b600081359050613da0816159e6565b92915050565b600081359050613db5816159fd565b92915050565b600081359050613dca81615a14565b92915050565b600081359050613ddf81615a2b565b92915050565b600081519050613df481615a2b565b92915050565b600082601f830112613e0f57613e0e615180565b5b8135613e1f848260208601613d0d565b91505092915050565b600082601f830112613e3d57613e3c615180565b5b8135613e4d848260208601613d4f565b91505092915050565b600081359050613e6581615a42565b92915050565b600060208284031215613e8157613e8061518f565b5b6000613e8f84828501613d91565b91505092915050565b60008060408385031215613eaf57613eae61518f565b5b6000613ebd85828601613d91565b9250506020613ece85828601613d91565b9150509250929050565b600080600060608486031215613ef157613ef061518f565b5b6000613eff86828701613d91565b9350506020613f1086828701613d91565b9250506040613f2186828701613e56565b9150509250925092565b60008060008060808587031215613f4557613f4461518f565b5b6000613f5387828801613d91565b9450506020613f6487828801613d91565b9350506040613f7587828801613e56565b925050606085013567ffffffffffffffff811115613f9657613f9561518a565b5b613fa287828801613dfa565b91505092959194509250565b60008060408385031215613fc557613fc461518f565b5b6000613fd385828601613d91565b9250506020613fe485828601613dbb565b9150509250929050565b600080604083850312156140055761400461518f565b5b600061401385828601613d91565b925050602061402485828601613e56565b9150509250929050565b6000602082840312156140445761404361518f565b5b600061405284828501613dd0565b91505092915050565b6000602082840312156140715761407061518f565b5b600061407f84828501613de5565b91505092915050565b60006020828403121561409e5761409d61518f565b5b600082013567ffffffffffffffff8111156140bc576140bb61518a565b5b6140c884828501613e28565b91505092915050565b6000602082840312156140e7576140e661518f565b5b60006140f584828501613e56565b91505092915050565b600080604083850312156141155761411461518f565b5b600061412385828601613e56565b925050602061413485828601613d91565b9150509250929050565b600080604083850312156141555761415461518f565b5b600061416385828601613e56565b925050602061417485828601613da6565b9150509250929050565b600080604083850312156141955761419461518f565b5b60006141a385828601613e56565b92505060206141b485828601613e56565b9150509250929050565b6141c781614f11565b82525050565b6141d681614e8b565b82525050565b6141e581614eaf565b82525050565b60006141f682614d28565b6142008185614d3e565b9350614210818560208601614f56565b61421981615194565b840191505092915050565b600061422f82614d33565b6142398185614d5a565b9350614249818560208601614f56565b61425281615194565b840191505092915050565b600061426882614d33565b6142728185614d6b565b9350614282818560208601614f56565b80840191505092915050565b600061429b603683614d5a565b91506142a6826151a5565b604082019050919050565b60006142be602b83614d5a565b91506142c9826151f4565b604082019050919050565b60006142e1603283614d5a565b91506142ec82615243565b604082019050919050565b6000614304602683614d5a565b915061430f82615292565b604082019050919050565b6000614327601c83614d5a565b9150614332826152e1565b602082019050919050565b600061434a602483614d5a565b91506143558261530a565b604082019050919050565b600061436d601983614d5a565b915061437882615359565b602082019050919050565b6000614390601483614d5a565b915061439b82615382565b602082019050919050565b60006143b3602283614d5a565b91506143be826153ab565b604082019050919050565b60006143d6601f83614d5a565b91506143e1826153fa565b602082019050919050565b60006143f9603a83614d5a565b915061440482615423565b604082019050919050565b600061441c602a83614d5a565b915061442782615472565b604082019050919050565b600061443f601d83614d5a565b915061444a826154c1565b602082019050919050565b6000614462602c83614d5a565b915061446d826154ea565b604082019050919050565b6000614485601d83614d5a565b915061449082615539565b602082019050919050565b60006144a8603883614d5a565b91506144b382615562565b604082019050919050565b60006144cb602a83614d5a565b91506144d6826155b1565b604082019050919050565b60006144ee602983614d5a565b91506144f982615600565b604082019050919050565b6000614511602083614d5a565b915061451c8261564f565b602082019050919050565b6000614534602c83614d5a565b915061453f82615678565b604082019050919050565b6000614557602083614d5a565b9150614562826156c7565b602082019050919050565b600061457a602583614d5a565b9150614585826156f0565b604082019050919050565b600061459d602983614d5a565b91506145a88261573f565b604082019050919050565b60006145c0602f83614d5a565b91506145cb8261578e565b604082019050919050565b60006145e3602083614d5a565b91506145ee826157dd565b602082019050919050565b6000614606602183614d5a565b915061461182615806565b604082019050919050565b6000614629602283614d5a565b915061463482615855565b604082019050919050565b600061464c602083614d5a565b9150614657826158a4565b602082019050919050565b600061466f602083614d5a565b915061467a826158cd565b602082019050919050565b6000614692600083614d4f565b915061469d826158f6565b600082019050919050565b60006146b5603183614d5a565b91506146c0826158f9565b604082019050919050565b60006146d8602c83614d5a565b91506146e382615948565b604082019050919050565b60006146fb603083614d5a565b915061470682615997565b604082019050919050565b61471a81614f07565b82525050565b600061472c828561425d565b9150614738828461425d565b91508190509392505050565b600061474f82614685565b9150819050919050565b600060208201905061476e60008301846141cd565b92915050565b600060408201905061478960008301856141be565b6147966020830184614711565b9392505050565b60006080820190506147b260008301876141cd565b6147bf60208301866141cd565b6147cc6040830185614711565b81810360608301526147de81846141eb565b905095945050505050565b60006040820190506147fe60008301856141cd565b61480b6020830184614711565b9392505050565b600060208201905061482760008301846141dc565b92915050565b600060208201905081810360008301526148478184614224565b905092915050565b600060208201905081810360008301526148688161428e565b9050919050565b60006020820190508181036000830152614888816142b1565b9050919050565b600060208201905081810360008301526148a8816142d4565b9050919050565b600060208201905081810360008301526148c8816142f7565b9050919050565b600060208201905081810360008301526148e88161431a565b9050919050565b600060208201905081810360008301526149088161433d565b9050919050565b6000602082019050818103600083015261492881614360565b9050919050565b6000602082019050818103600083015261494881614383565b9050919050565b60006020820190508181036000830152614968816143a6565b9050919050565b60006020820190508181036000830152614988816143c9565b9050919050565b600060208201905081810360008301526149a8816143ec565b9050919050565b600060208201905081810360008301526149c88161440f565b9050919050565b600060208201905081810360008301526149e881614432565b9050919050565b60006020820190508181036000830152614a0881614455565b9050919050565b60006020820190508181036000830152614a2881614478565b9050919050565b60006020820190508181036000830152614a488161449b565b9050919050565b60006020820190508181036000830152614a68816144be565b9050919050565b60006020820190508181036000830152614a88816144e1565b9050919050565b60006020820190508181036000830152614aa881614504565b9050919050565b60006020820190508181036000830152614ac881614527565b9050919050565b60006020820190508181036000830152614ae88161454a565b9050919050565b60006020820190508181036000830152614b088161456d565b9050919050565b60006020820190508181036000830152614b2881614590565b9050919050565b60006020820190508181036000830152614b48816145b3565b9050919050565b60006020820190508181036000830152614b68816145d6565b9050919050565b60006020820190508181036000830152614b88816145f9565b9050919050565b60006020820190508181036000830152614ba88161461c565b9050919050565b60006020820190508181036000830152614bc88161463f565b9050919050565b60006020820190508181036000830152614be881614662565b9050919050565b60006020820190508181036000830152614c08816146a8565b9050919050565b60006020820190508181036000830152614c28816146cb565b9050919050565b60006020820190508181036000830152614c48816146ee565b9050919050565b6000602082019050614c646000830184614711565b92915050565b6000606082019050614c7f6000830186614711565b614c8c6020830185614711565b614c996040830184614711565b949350505050565b6000614cab614cbc565b9050614cb78282614fbb565b919050565b6000604051905090565b600067ffffffffffffffff821115614ce157614ce0615151565b5b614cea82615194565b9050602081019050919050565b600067ffffffffffffffff821115614d1257614d11615151565b5b614d1b82615194565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000614d8182614f07565b9150614d8c83614f07565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614dc157614dc0615066565b5b828201905092915050565b6000614dd782614f07565b9150614de283614f07565b925082614df257614df1615095565b5b828204905092915050565b6000614e0882614f07565b9150614e1383614f07565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614e4c57614e4b615066565b5b828202905092915050565b6000614e6282614f07565b9150614e6d83614f07565b925082821015614e8057614e7f615066565b5b828203905092915050565b6000614e9682614ee7565b9050919050565b6000614ea882614ee7565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b6000614f1c82614f23565b9050919050565b6000614f2e82614f35565b9050919050565b6000614f4082614ee7565b9050919050565b82818337600083830152505050565b60005b83811015614f74578082015181840152602081019050614f59565b83811115614f83576000848401525b50505050565b60006002820490506001821680614fa157607f821691505b60208210811415614fb557614fb46150c4565b5b50919050565b614fc482615194565b810181811067ffffffffffffffff82111715614fe357614fe2615151565b5b80604052505050565b6000614ff782614f07565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561502a57615029615066565b5b600182019050919050565b600061504082614f07565b915061504b83614f07565b92508261505b5761505a615095565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4569746865722073616c652069732063757272656e746c79206163746976652060008201527f6f7220636f6f6b696e6720697320696e61637469766500000000000000000000602082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f496e73756666696369656e742062616c616e6365000000000000000000000000600082015250565b7f43616c6c6572206973206e6f7420746865206f776e6572206f72206d616e616760008201527f6572000000000000000000000000000000000000000000000000000000000000602082015250565b7f45746865722076616c75652073656e74206973206e6f7420636f727265637400600082015250565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b7f507572636861736520776f756c6420657863656564206d617820617661696c6160008201527f626c6520646576696c7300000000000000000000000000000000000000000000602082015250565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f5374617274696e6720696e64657820697320616c726561647920736574000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f596f752063616e206f6e6c79206d696e7420313620646576696c73206174206160008201527f2074696d65000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f5468657265206973206e6f20616d6f756e74206c65667420746f20636c61696d600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f53616c65206d7573742062652061637469766520746f206d696e74206465766960008201527f6c73000000000000000000000000000000000000000000000000000000000000602082015250565b7f43616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564600082015250565b7f5374617274696e6720696e64657820626c6f636b206d75737420626520736574600082015250565b50565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656400000000000000000000000000000000602082015250565b6159ef81614e8b565b81146159fa57600080fd5b50565b615a0681614e9d565b8114615a1157600080fd5b50565b615a1d81614eaf565b8114615a2857600080fd5b50565b615a3481614ebb565b8114615a3f57600080fd5b50565b615a4b81614f07565b8114615a5657600080fd5b5056fea2646970667358221220685e4969fa3fec0c79f6b8935f7eea39624db4d833c53f2de28fa67332b421ac64736f6c63430008070033

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

000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000001a0a000000000000000000000000000000000000000000000000000000000000001453796d7061746879466f72546865446576696c7300000000000000000000000000000000000000000000000000000000000000000000000000000000000000045346544400000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : name (string): SympathyForTheDevils
Arg [1] : symbol (string): SFTD
Arg [2] : maxDevilSupply (uint256): 6666

-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000001a0a
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000014
Arg [4] : 53796d7061746879466f72546865446576696c73000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [6] : 5346544400000000000000000000000000000000000000000000000000000000


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.