ETH Price: $3,388.57 (-0.96%)

KenduChad (KenduChad)
 

Overview

TokenID

2904

Total Transfers

-

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
KenduChad

Compiler Version
v0.8.13+commit.abaa5c0e

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 15 : nft_contract.sol
// SPDX-License-Identifier: Unlicensed
pragma solidity ^0.8.13;

import "openzeppelin/contracts/access/Ownable.sol";
import "openzeppelin/contracts/security/ReentrancyGuard.sol";
import "openzeppelin/contracts/token/ERC721/ERC721.sol";
import "openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "openzeppelin/contracts/utils/Counters.sol";
import "openzeppelin/contracts/utils/Strings.sol";

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

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

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

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

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

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

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

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

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

    /**
     * @dev Transfer `value` amount of `token` from the calling contract to `to`. If `token` returns no value,
     * non-reverting calls are assumed to be successful.
     */
    function safeTransfer(IERC20 token, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeCall(token.transfer, (to, value)));
    }

    /**
     * @dev Transfer `value` amount of `token` from `from` to `to`, spending the approval given by `from` to the
     * calling contract. If `token` returns no value, non-reverting calls are assumed to be successful.
     */
    function safeTransferFrom(
        IERC20 token,
        address from,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(
            token,
            abi.encodeCall(token.transferFrom, (from, to, value))
        );
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     *
     * This is a variant of {_callOptionalReturnBool} that reverts if call fails to meet the requirements.
     */
    function _callOptionalReturn(IERC20 token, bytes memory data) private {
        uint256 returnSize;
        uint256 returnValue;
        assembly ("memory-safe") {
            let success := call(
                gas(),
                token,
                0,
                add(data, 0x20),
                mload(data),
                0,
                0x20
            )
            // bubble errors
            if iszero(success) {
                let ptr := mload(0x40)
                returndatacopy(ptr, 0, returndatasize())
                revert(ptr, returndatasize())
            }
            returnSize := returndatasize()
            returnValue := mload(0)
        }

        if (
            returnSize == 0 ? address(token).code.length == 0 : returnValue != 1
        ) {
            revert SafeERC20FailedOperation(address(token));
        }
    }
}

contract KenduChad is Ownable, ERC721Enumerable, ReentrancyGuard {
    using Counters for Counters.Counter;
    using Strings for uint256;
    using SafeERC20 for IERC20;

    IERC20 public kenduTokenAddress;
    address public treasuryWallet;

    constructor() ERC721("KenduChad", "KenduChad") {
        kenduTokenAddress = IERC20(0xaa95f26e30001251fb905d264Aa7b00eE9dF6C18); // replace your ERC20 Token address
        treasuryWallet = address(0x9c1BB5F5954fDC36561e50a4A6AcbF634BCcc5E5); // replace your wallet address, where you will receive fees
    }

    bool public isSaleOn = false;
    bool public saleHasBeenStarted = false;

    uint256 public maxMintableAtOnce = 10; // max 10 mint at once

    uint256[10000] private _availableTokens;
    uint256 private _numAvailableTokens = 10000;
    uint256 private _numFreeRollsGiven = 0;

    mapping(address => uint256) public freeRollkenduChads;

    uint256 private _lastTokenIdMintedInInitialSet = 10000;

    function numTotalkenduChads() public view virtual returns (uint256) {
        return 10000;
    }

    function mintWithFreeRoll() public nonReentrant {
        uint256 toMint = freeRollkenduChads[msg.sender];
        freeRollkenduChads[msg.sender] = 0;
        uint256 remaining = numTotalkenduChads() - totalSupply();
        if (toMint > remaining) {
            toMint = remaining;
        }
        _mint(toMint);
    }

    function getNumFreeRollkenduChads(
        address owner
    ) public view returns (uint256) {
        return freeRollkenduChads[owner];
    }

    function mint(uint256 _numToMint) public nonReentrant {
        require(isSaleOn, "Sale hasn't started.");
        uint256 totalSupply = totalSupply();
        require(
            totalSupply + _numToMint <= numTotalkenduChads(),
            "There aren't this many kenduChads left."
        );
        uint256 costForMintingkenduChads = getCostForMintingkenduChads(
            _numToMint
        );

        // not necessary to check allownace or balance
        // Transfer the cost to this contract
        kenduTokenAddress.safeTransferFrom(
            msg.sender,
            address(this),
            costForMintingkenduChads
        );

        // Transfer the costForMintingkenduChads amount to the fee recipient from contract
        kenduTokenAddress.safeTransfer(
            treasuryWallet,
            costForMintingkenduChads
        );

        // Proceed with minting the kenduChads
        _mint(_numToMint);
    }

    // internal minting function
    function _mint(uint256 _numToMint) internal {
        require(_numToMint <= maxMintableAtOnce, "Minting too many at once.");

        uint256 updatedNumAvailableTokens = _numAvailableTokens;
        for (uint256 i = 0; i < _numToMint; i++) {
            uint256 newTokenId = useRandomAvailableToken(_numToMint, i);
            _safeMint(msg.sender, newTokenId);
            updatedNumAvailableTokens--;
        }
        _numAvailableTokens = updatedNumAvailableTokens;
    }

    function useRandomAvailableToken(
        uint256 _numToFetch,
        uint256 _i
    ) internal returns (uint256) {
        uint256 randomNum = uint256(
            keccak256(
                abi.encode(
                    msg.sender,
                    tx.gasprice,
                    block.number,
                    block.timestamp,
                    blockhash(block.number - 1),
                    _numToFetch,
                    _i
                )
            )
        );
        uint256 randomIndex = randomNum % _numAvailableTokens;
        return useAvailableTokenAtIndex(randomIndex);
    }

    function useAvailableTokenAtIndex(
        uint256 indexToUse
    ) internal returns (uint256) {
        uint256 valAtIndex = _availableTokens[indexToUse];
        uint256 result;
        if (valAtIndex == 0) {
            // This means the index itself is still an available token
            result = indexToUse;
        } else {
            // This means the index itself is not an available token, but the val at that index is.
            result = valAtIndex;
        }

        uint256 lastIndex = _numAvailableTokens - 1;
        if (indexToUse != lastIndex) {
            // Replace the value at indexToUse, now that it's been used.
            // Replace it with the data from the last index in the array, since we are going to decrease the array size afterwards.
            uint256 lastValInArray = _availableTokens[lastIndex];
            if (lastValInArray == 0) {
                // This means the index itself is still an available token
                _availableTokens[indexToUse] = lastIndex;
            } else {
                // This means the index itself is not an available token, but the val at that index is.
                _availableTokens[indexToUse] = lastValInArray;
            }
        }

        _numAvailableTokens--;
        return result;
    }

    function getCostForMintingkenduChads(
        uint256 _numToMint
    ) public view returns (uint256) {
        require(
            totalSupply() + _numToMint <= numTotalkenduChads(),
            "There aren't this many kenduChads left."
        );
        if (_numToMint >= 1 && _numToMint <= maxMintableAtOnce) {
            return 5_000_000 * _numToMint * 10 ** 18; // 5M Kendu Tokens equivalent in tokens per nft upto 10 nfts, adjust based on token decimals
        } else {
            revert("Unsupported mint amount");
        }
    }

    function getkenduChadsBelongingToOwner(
        address _owner
    ) external view returns (uint256[] memory) {
        uint256 numkenduChads = balanceOf(_owner);
        if (numkenduChads == 0) {
            return new uint256[](0);
        } else {
            uint256[] memory result = new uint256[](numkenduChads);
            for (uint256 i = 0; i < numkenduChads; i++) {
                result[i] = tokenOfOwnerByIndex(_owner, i);
            }
            return result;
        }
    }

    /*
     * Dev stuff.
     */

    // metadata URI
    string private _baseTokenURI;

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

    function tokenURI(
        uint256 _tokenId
    ) public view override returns (string memory) {
        string memory base = _baseURI();
        string memory _tokenURI = string(
            abi.encodePacked(Strings.toString(_tokenId), ".png")
        );

        // If there is no base URI, return the token URI.
        if (bytes(base).length == 0) {
            return _tokenURI;
        }

        return string(abi.encodePacked(base, _tokenURI));
    }

    // contract metadata URI for opensea
    string public contractURI;

    /*
     * Owner stuff
     */

    function startSale() public onlyOwner {
        isSaleOn = true;
        saleHasBeenStarted = true;
    }

    function endSale() public onlyOwner {
        isSaleOn = false;
    }

    function updateTreasuryWallet(address _treasuryWallet) public onlyOwner {
        treasuryWallet = _treasuryWallet;
    }

    function updateMaxMintableOnce(
        uint256 _maxMintableAtOnce
    ) public onlyOwner {
        maxMintableAtOnce = _maxMintableAtOnce;
    }

    function giveFreeRoll(address receiver) public onlyOwner {
        // max number of free mints we can give to the community for promotions/marketing
        require(
            _numFreeRollsGiven < 200,
            "already given max number of free rolls"
        );
        uint256 freeRolls = freeRollkenduChads[receiver];
        freeRollkenduChads[receiver] = freeRolls + 1;
        _numFreeRollsGiven = _numFreeRollsGiven + 1;
    }

    // for handing out free rolls to v1 chad owners
    // details on seeding info here: https://gist.github.com/cryptopmens/7f542feaee510e12464da3bb2a922713
    function seedFreeRolls(
        address[] calldata tokenOwners,
        uint256[] calldata numOfFreeRolls
    ) public onlyOwner {
        require(
            !saleHasBeenStarted,
            "cannot seed free rolls after sale has started"
        );
        require(
            tokenOwners.length == numOfFreeRolls.length,
            "tokenOwners does not match numOfFreeRolls length"
        );

        for (uint256 i = 0; i < tokenOwners.length; i++) {
            // check to make sure the proper values are being passed
            require(
                numOfFreeRolls[i] <= 3,
                "cannot give more than 3 free rolls"
            );

            freeRollkenduChads[tokenOwners[i]] = numOfFreeRolls[i];
        }
    }

    // for seeding the v2 contract with v1 state
    // details on seeding info here: https://gist.github.com/cryptopmens/7f542feaee510e12464da3bb2a922713
    function seedInitialContractState(
        address[] calldata tokenOwners,
        uint256[] calldata tokens
    ) public onlyOwner {
        require(
            !saleHasBeenStarted,
            "cannot initial chad mint if sale has started"
        );
        require(
            tokenOwners.length == tokens.length,
            "tokenOwners does not match tokens length"
        );

        uint256 lastTokenIdMintedInInitialSetCopy = _lastTokenIdMintedInInitialSet;
        for (uint256 i = 0; i < tokenOwners.length; i++) {
            uint256 token = tokens[i];
            require(
                lastTokenIdMintedInInitialSetCopy > token,
                "initial chad mints must be in decreasing order for our availableToken index to work"
            );
            lastTokenIdMintedInInitialSetCopy = token;

            useAvailableTokenAtIndex(token);
            _safeMint(tokenOwners[i], token);
        }
        _lastTokenIdMintedInInitialSet = lastTokenIdMintedInInitialSetCopy;
    }

    // URIs, uri should end with trailing slash for ex. https://example.com/images/
    function setBaseURI(string calldata baseURI) external onlyOwner {
        _baseTokenURI = baseURI;
    }

    function setContractURI(string calldata _contractURI) external onlyOwner {
        contractURI = _contractURI;
    }

    function withdrawMoney() public payable onlyOwner {
        (bool success, ) = msg.sender.call{value: address(this).balance}("");
        require(success, "Transfer failed.");
    }

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

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

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

pragma solidity ^0.8.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor () {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and make it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;

        _;

        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }
}

File 7 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 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 : 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 10 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 11 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 12 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 13 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 14 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 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
{
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"SafeERC20FailedOperation","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"endSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"freeRollkenduChads","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_numToMint","type":"uint256"}],"name":"getCostForMintingkenduChads","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"getNumFreeRollkenduChads","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"getkenduChadsBelongingToOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"giveFreeRoll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isSaleOn","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"kenduTokenAddress","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintableAtOnce","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_numToMint","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mintWithFreeRoll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"numTotalkenduChads","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleHasBeenStarted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"tokenOwners","type":"address[]"},{"internalType":"uint256[]","name":"numOfFreeRolls","type":"uint256[]"}],"name":"seedFreeRolls","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"tokenOwners","type":"address[]"},{"internalType":"uint256[]","name":"tokens","type":"uint256[]"}],"name":"seedInitialContractState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_contractURI","type":"string"}],"name":"setContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"treasuryWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxMintableAtOnce","type":"uint256"}],"name":"updateMaxMintableOnce","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_treasuryWallet","type":"address"}],"name":"updateTreasuryWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawMoney","outputs":[],"stateMutability":"payable","type":"function"}]

60806040526000600d60146101000a81548160ff0219169083151502179055506000600d60156101000a81548160ff021916908315150217905550600a600e5561271061271f55600061272055612710612722553480156200006057600080fd5b506040518060400160405280600981526020017f4b656e64754368616400000000000000000000000000000000000000000000008152506040518060400160405280600981526020017f4b656e64754368616400000000000000000000000000000000000000000000008152506000620000df6200026960201b60201c565b9050806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35081600190805190602001906200019592919062000271565b508060029080519060200190620001ae92919062000271565b5050506001600b8190555073aa95f26e30001251fb905d264aa7b00ee9df6c18600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550739c1bb5f5954fdc36561e50a4a6acbf634bccc5e5600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555062000385565b600033905090565b8280546200027f9062000350565b90600052602060002090601f016020900481019282620002a35760008555620002ef565b82601f10620002be57805160ff1916838001178555620002ef565b82800160010185558215620002ef579182015b82811115620002ee578251825591602001919060010190620002d1565b5b509050620002fe919062000302565b5090565b5b808211156200031d57600081600090555060010162000303565b5090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200036957607f821691505b6020821081036200037f576200037e62000321565b5b50919050565b6159af80620003956000396000f3fe6080604052600436106102515760003560e01c806372ab70e811610139578063a22cb465116100b6578063b7f5f99d1161007a578063b7f5f99d1461088f578063b88d4fde146108b8578063c87b56dd146108e1578063e8a3d4851461091e578063e985e9c514610949578063f2fde38b1461098657610251565b8063a22cb465146107dd578063ac44600214610806578063b602d1c814610810578063b66a0e5d1461083b578063b7c2c7f31461085257610251565b8063938e3d7b116100fd578063938e3d7b146106f857806395d89b41146107215780639b0787ce1461074c578063a0712d6814610789578063a1d89819146107b257610251565b806372ab70e814610611578063779e170d1461064e578063809d458d146106795780638a697aa5146106a25780638da5cb5b146106cd57610251565b8063380d831b116101d257806355f804b31161019657806355f804b3146104ef578063570eeeb5146105185780636352211e146105555780636f75d4a81461059257806370a08231146105bd578063715018a6146105fa57610251565b8063380d831b1461041e57806342842e0e146104355780634626402b1461045e5780634f1210e8146104895780634f6ccce7146104b257610251565b806317d50bd01161021957806317d50bd01461033b57806318160ddd1461036457806323b872dd1461038f5780632e94bb3b146103b85780632f745c59146103e157610251565b806301ffc9a71461025657806306fdde0314610293578063081812fc146102be578063095ea7b3146102fb5780630d0a7f9a14610324575b600080fd5b34801561026257600080fd5b5061027d60048036038101906102789190613b50565b6109af565b60405161028a9190613b98565b60405180910390f35b34801561029f57600080fd5b506102a86109c1565b6040516102b59190613c4c565b60405180910390f35b3480156102ca57600080fd5b506102e560048036038101906102e09190613ca4565b610a53565b6040516102f29190613d12565b60405180910390f35b34801561030757600080fd5b50610322600480360381019061031d9190613d59565b610ad8565b005b34801561033057600080fd5b50610339610bef565b005b34801561034757600080fd5b50610362600480360381019061035d9190613e54565b610d06565b005b34801561037057600080fd5b50610379610ef2565b6040516103869190613ee4565b60405180910390f35b34801561039b57600080fd5b506103b660048036038101906103b19190613eff565b610eff565b005b3480156103c457600080fd5b506103df60048036038101906103da9190613e54565b610f5f565b005b3480156103ed57600080fd5b5061040860048036038101906104039190613d59565b61117d565b6040516104159190613ee4565b60405180910390f35b34801561042a57600080fd5b50610433611222565b005b34801561044157600080fd5b5061045c60048036038101906104579190613eff565b6112bb565b005b34801561046a57600080fd5b506104736112db565b6040516104809190613d12565b60405180910390f35b34801561049557600080fd5b506104b060048036038101906104ab9190613ca4565b611301565b005b3480156104be57600080fd5b506104d960048036038101906104d49190613ca4565b611387565b6040516104e69190613ee4565b60405180910390f35b3480156104fb57600080fd5b5061051660048036038101906105119190613fa8565b6113f8565b005b34801561052457600080fd5b5061053f600480360381019061053a9190613ca4565b61148b565b60405161054c9190613ee4565b60405180910390f35b34801561056157600080fd5b5061057c60048036038101906105779190613ca4565b61156a565b6040516105899190613d12565b60405180910390f35b34801561059e57600080fd5b506105a761161b565b6040516105b49190614054565b60405180910390f35b3480156105c957600080fd5b506105e460048036038101906105df919061406f565b611641565b6040516105f19190613ee4565b60405180910390f35b34801561060657600080fd5b5061060f6116f8565b005b34801561061d57600080fd5b506106386004803603810190610633919061406f565b611832565b604051610645919061415a565b60405180910390f35b34801561065a57600080fd5b5061066361193b565b6040516106709190613b98565b60405180910390f35b34801561068557600080fd5b506106a0600480360381019061069b919061406f565b61194e565b005b3480156106ae57600080fd5b506106b7611a0e565b6040516106c49190613ee4565b60405180910390f35b3480156106d957600080fd5b506106e2611a18565b6040516106ef9190613d12565b60405180910390f35b34801561070457600080fd5b5061071f600480360381019061071a9190613fa8565b611a41565b005b34801561072d57600080fd5b50610736611ad4565b6040516107439190613c4c565b60405180910390f35b34801561075857600080fd5b50610773600480360381019061076e919061406f565b611b66565b6040516107809190613ee4565b60405180910390f35b34801561079557600080fd5b506107b060048036038101906107ab9190613ca4565b611b7f565b005b3480156107be57600080fd5b506107c7611d5d565b6040516107d49190613b98565b60405180910390f35b3480156107e957600080fd5b5061080460048036038101906107ff91906141a8565b611d70565b005b61080e611ef0565b005b34801561081c57600080fd5b5061082561201b565b6040516108329190613ee4565b60405180910390f35b34801561084757600080fd5b50610850612021565b005b34801561085e57600080fd5b506108796004803603810190610874919061406f565b6120d5565b6040516108869190613ee4565b60405180910390f35b34801561089b57600080fd5b506108b660048036038101906108b1919061406f565b61211f565b005b3480156108c457600080fd5b506108df60048036038101906108da9190614318565b612292565b005b3480156108ed57600080fd5b5061090860048036038101906109039190613ca4565b6122f4565b6040516109159190613c4c565b60405180910390f35b34801561092a57600080fd5b5061093361236d565b6040516109409190613c4c565b60405180910390f35b34801561095557600080fd5b50610970600480360381019061096b919061439b565b6123fc565b60405161097d9190613b98565b60405180910390f35b34801561099257600080fd5b506109ad60048036038101906109a8919061406f565b612490565b005b60006109ba82612638565b9050919050565b6060600180546109d09061440a565b80601f01602080910402602001604051908101604052809291908181526020018280546109fc9061440a565b8015610a495780601f10610a1e57610100808354040283529160200191610a49565b820191906000526020600020905b815481529060010190602001808311610a2c57829003601f168201915b5050505050905090565b6000610a5e826126b2565b610a9d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a94906144ad565b60405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610ae38261156a565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610b53576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b4a9061453f565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b7261271e565b73ffffffffffffffffffffffffffffffffffffffff161480610ba15750610ba081610b9b61271e565b6123fc565b5b610be0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bd7906145d1565b60405180910390fd5b610bea8383612726565b505050565b6002600b5403610c34576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c2b9061463d565b60405180910390fd5b6002600b81905550600061272160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050600061272160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506000610cd1610ef2565b610cd9611a0e565b610ce3919061468c565b905080821115610cf1578091505b610cfa826127df565b50506001600b81905550565b610d0e61271e565b73ffffffffffffffffffffffffffffffffffffffff16610d2c611a18565b73ffffffffffffffffffffffffffffffffffffffff1614610d82576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d799061470c565b60405180910390fd5b600d60159054906101000a900460ff1615610dd2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dc99061479e565b60405180910390fd5b818190508484905014610e1a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e1190614830565b60405180910390fd5b600061272254905060005b85859050811015610ee2576000848483818110610e4557610e44614850565b5b905060200201359050808311610e90576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e8790614917565b60405180910390fd5b809250610e9c8161287e565b50610ece878784818110610eb357610eb2614850565b5b9050602002016020810190610ec8919061406f565b8261294f565b508080610eda90614937565b915050610e25565b5080612722819055505050505050565b6000600980549050905090565b610f10610f0a61271e565b8261296d565b610f4f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f46906149f1565b60405180910390fd5b610f5a838383612a4b565b505050565b610f6761271e565b73ffffffffffffffffffffffffffffffffffffffff16610f85611a18565b73ffffffffffffffffffffffffffffffffffffffff1614610fdb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fd29061470c565b60405180910390fd5b600d60159054906101000a900460ff161561102b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161102290614a83565b60405180910390fd5b818190508484905014611073576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161106a90614b15565b60405180910390fd5b60005b8484905081101561117657600383838381811061109657611095614850565b5b9050602002013511156110de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110d590614ba7565b60405180910390fd5b8282828181106110f1576110f0614850565b5b9050602002013561272160008787858181106111105761110f614850565b5b9050602002016020810190611125919061406f565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550808061116e90614937565b915050611076565b5050505050565b600061118883611641565b82106111c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111c090614c39565b60405180910390fd5b600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b61122a61271e565b73ffffffffffffffffffffffffffffffffffffffff16611248611a18565b73ffffffffffffffffffffffffffffffffffffffff161461129e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112959061470c565b60405180910390fd5b6000600d60146101000a81548160ff021916908315150217905550565b6112d683838360405180602001604052806000815250612292565b505050565b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b61130961271e565b73ffffffffffffffffffffffffffffffffffffffff16611327611a18565b73ffffffffffffffffffffffffffffffffffffffff161461137d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113749061470c565b60405180910390fd5b80600e8190555050565b6000611391610ef2565b82106113d2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113c990614ccb565b60405180910390fd5b600982815481106113e6576113e5614850565b5b90600052602060002001549050919050565b61140061271e565b73ffffffffffffffffffffffffffffffffffffffff1661141e611a18565b73ffffffffffffffffffffffffffffffffffffffff1614611474576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161146b9061470c565b60405180910390fd5b81816127239190611486929190613a41565b505050565b6000611495611a0e565b8261149e610ef2565b6114a89190614ceb565b11156114e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114e090614db3565b60405180910390fd5b600182101580156114fc5750600e548211155b1561152a57670de0b6b3a764000082624c4b406115199190614dd3565b6115239190614dd3565b9050611565565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161155c90614e79565b60405180910390fd5b919050565b6000806003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611612576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161160990614f0b565b60405180910390fd5b80915050919050565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036116b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116a890614f9d565b60405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61170061271e565b73ffffffffffffffffffffffffffffffffffffffff1661171e611a18565b73ffffffffffffffffffffffffffffffffffffffff1614611774576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161176b9061470c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b6060600061183f83611641565b90506000810361189b57600067ffffffffffffffff811115611864576118636141ed565b5b6040519080825280602002602001820160405280156118925781602001602082028036833780820191505090505b50915050611936565b60008167ffffffffffffffff8111156118b7576118b66141ed565b5b6040519080825280602002602001820160405280156118e55781602001602082028036833780820191505090505b50905060005b8281101561192f576118fd858261117d565b8282815181106119105761190f614850565b5b602002602001018181525050808061192790614937565b9150506118eb565b5080925050505b919050565b600d60149054906101000a900460ff1681565b61195661271e565b73ffffffffffffffffffffffffffffffffffffffff16611974611a18565b73ffffffffffffffffffffffffffffffffffffffff16146119ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119c19061470c565b60405180910390fd5b80600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000612710905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611a4961271e565b73ffffffffffffffffffffffffffffffffffffffff16611a67611a18565b73ffffffffffffffffffffffffffffffffffffffff1614611abd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ab49061470c565b60405180910390fd5b81816127249190611acf929190613a41565b505050565b606060028054611ae39061440a565b80601f0160208091040260200160405190810160405280929190818152602001828054611b0f9061440a565b8015611b5c5780601f10611b3157610100808354040283529160200191611b5c565b820191906000526020600020905b815481529060010190602001808311611b3f57829003601f168201915b5050505050905090565b6127216020528060005260406000206000915090505481565b6002600b5403611bc4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bbb9061463d565b60405180910390fd5b6002600b81905550600d60149054906101000a900460ff16611c1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c1290615009565b60405180910390fd5b6000611c25610ef2565b9050611c2f611a0e565b8282611c3b9190614ceb565b1115611c7c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c7390614db3565b60405180910390fd5b6000611c878361148b565b9050611cd8333083600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612ca6909392919063ffffffff16565b611d47600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612d289092919063ffffffff16565b611d50836127df565b50506001600b8190555050565b600d60159054906101000a900460ff1681565b611d7861271e565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611de5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ddc90615075565b60405180910390fd5b8060066000611df261271e565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611e9f61271e565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611ee49190613b98565b60405180910390a35050565b611ef861271e565b73ffffffffffffffffffffffffffffffffffffffff16611f16611a18565b73ffffffffffffffffffffffffffffffffffffffff1614611f6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f639061470c565b60405180910390fd5b60003373ffffffffffffffffffffffffffffffffffffffff1647604051611f92906150c6565b60006040518083038185875af1925050503d8060008114611fcf576040519150601f19603f3d011682016040523d82523d6000602084013e611fd4565b606091505b5050905080612018576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161200f90615127565b60405180910390fd5b50565b600e5481565b61202961271e565b73ffffffffffffffffffffffffffffffffffffffff16612047611a18565b73ffffffffffffffffffffffffffffffffffffffff161461209d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120949061470c565b60405180910390fd5b6001600d60146101000a81548160ff0219169083151502179055506001600d60156101000a81548160ff021916908315150217905550565b600061272160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61212761271e565b73ffffffffffffffffffffffffffffffffffffffff16612145611a18565b73ffffffffffffffffffffffffffffffffffffffff161461219b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121929061470c565b60405180910390fd5b60c861272054106121e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121d8906151b9565b60405180910390fd5b600061272160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490506001816122339190614ceb565b61272160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506001612720546122879190614ceb565b612720819055505050565b6122a361229d61271e565b8361296d565b6122e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122d9906149f1565b60405180910390fd5b6122ee84848484612da7565b50505050565b60606000612300612e03565b9050600061230d84612e96565b60405160200161231d9190615261565b60405160208183030381529060405290506000825103612341578092505050612368565b8181604051602001612354929190615283565b604051602081830303815290604052925050505b919050565b612724805461237b9061440a565b80601f01602080910402602001604051908101604052809291908181526020018280546123a79061440a565b80156123f45780601f106123c9576101008083540402835291602001916123f4565b820191906000526020600020905b8154815290600101906020018083116123d757829003601f168201915b505050505081565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61249861271e565b73ffffffffffffffffffffffffffffffffffffffff166124b6611a18565b73ffffffffffffffffffffffffffffffffffffffff161461250c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125039061470c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361257b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161257290615319565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806126ab57506126aa82612ff6565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816005600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166127998361156a565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600e54811115612824576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161281b90615385565b60405180910390fd5b600061271f54905060005b8281101561287157600061284384836130d8565b905061284f338261294f565b828061285a906153a5565b93505050808061286990614937565b91505061282f565b508061271f819055505050565b600080600f83612710811061289657612895614850565b5b0154905060008082036128ab578390506128af565b8190505b6000600161271f546128c1919061468c565b905080851461292b576000600f8261271081106128e1576128e0614850565b5b015490506000810361290d5781600f87612710811061290357612902614850565b5b0181905550612929565b80600f87612710811061292357612922614850565b5b01819055505b505b61271f600081548092919061293f906153a5565b9190505550819350505050919050565b612969828260405180602001604052806000815250613146565b5050565b6000612978826126b2565b6129b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129ae90615440565b60405180910390fd5b60006129c28361156a565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612a3157508373ffffffffffffffffffffffffffffffffffffffff16612a1984610a53565b73ffffffffffffffffffffffffffffffffffffffff16145b80612a425750612a4181856123fc565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612a6b8261156a565b73ffffffffffffffffffffffffffffffffffffffff1614612ac1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ab8906154d2565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612b30576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b2790615564565b60405180910390fd5b612b3b8383836131a1565b612b46600082612726565b6001600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612b96919061468c565b925050819055506001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612bed9190614ceb565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b612d22848573ffffffffffffffffffffffffffffffffffffffff166323b872dd868686604051602401612cdb93929190615584565b604051602081830303815290604052915060e01b6020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506131b1565b50505050565b612da2838473ffffffffffffffffffffffffffffffffffffffff1663a9059cbb8585604051602401612d5b9291906155bb565b604051602081830303815290604052915060e01b6020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506131b1565b505050565b612db2848484612a4b565b612dbe84848484613253565b612dfd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612df490615656565b60405180910390fd5b50505050565b60606127238054612e139061440a565b80601f0160208091040260200160405190810160405280929190818152602001828054612e3f9061440a565b8015612e8c5780601f10612e6157610100808354040283529160200191612e8c565b820191906000526020600020905b815481529060010190602001808311612e6f57829003601f168201915b5050505050905090565b606060008203612edd576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612ff1565b600082905060005b60008214612f0f578080612ef890614937565b915050600a82612f0891906156a5565b9150612ee5565b60008167ffffffffffffffff811115612f2b57612f2a6141ed565b5b6040519080825280601f01601f191660200182016040528015612f5d5781602001600182028036833780820191505090505b5090505b60008514612fea57600182612f76919061468c565b9150600a85612f8591906156d6565b6030612f919190614ceb565b60f81b818381518110612fa757612fa6614850565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612fe391906156a5565b9450612f61565b8093505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806130c157507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806130d157506130d0826133da565b5b9050919050565b600080333a43426001436130ec919061468c565b4088886040516020016131059796959493929190615720565b6040516020818303038152906040528051906020012060001c9050600061271f548261313191906156d6565b905061313c8161287e565b9250505092915050565b6131508383613444565b61315d6000848484613253565b61319c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161319390615656565b60405180910390fd5b505050565b6131ac838383613611565b505050565b600080602060008451602086016000885af1806131d4576040513d6000823e3d81fd5b3d9250600051915050600082146131ef57600181141561320b565b60008473ffffffffffffffffffffffffffffffffffffffff163b145b1561324d57836040517f5274afe70000000000000000000000000000000000000000000000000000000081526004016132449190613d12565b60405180910390fd5b50505050565b60006132748473ffffffffffffffffffffffffffffffffffffffff16613723565b156133cd578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261329d61271e565b8786866040518563ffffffff1660e01b81526004016132bf94939291906157e4565b6020604051808303816000875af19250505080156132fb57506040513d601f19601f820116820180604052508101906132f89190615845565b60015b61337d573d806000811461332b576040519150601f19603f3d011682016040523d82523d6000602084013e613330565b606091505b506000815103613375576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161336c90615656565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506133d2565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036134b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134aa906158be565b60405180910390fd5b6134bc816126b2565b156134fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134f39061592a565b60405180910390fd5b613508600083836131a1565b6001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546135589190614ceb565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b61361c838383613736565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361365e576136598161373b565b61369d565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461369c5761369b8382613784565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036136df576136da816138f1565b61371e565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161461371d5761371c82826139c2565b5b5b505050565b600080823b905060008111915050919050565b505050565b600980549050600a600083815260200190815260200160002081905550600981908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161379184611641565b61379b919061468c565b9050600060086000848152602001908152602001600020549050818114613880576000600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816008600083815260200190815260200160002081905550505b6008600084815260200190815260200160002060009055600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600980549050613905919061468c565b90506000600a600084815260200190815260200160002054905060006009838154811061393557613934614850565b5b90600052602060002001549050806009838154811061395757613956614850565b5b906000526020600020018190555081600a600083815260200190815260200160002081905550600a60008581526020019081526020016000206000905560098054806139a6576139a561594a565b5b6001900381819060005260206000200160009055905550505050565b60006139cd83611641565b905081600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806008600084815260200190815260200160002081905550505050565b828054613a4d9061440a565b90600052602060002090601f016020900481019282613a6f5760008555613ab6565b82601f10613a8857803560ff1916838001178555613ab6565b82800160010185558215613ab6579182015b82811115613ab5578235825591602001919060010190613a9a565b5b509050613ac39190613ac7565b5090565b5b80821115613ae0576000816000905550600101613ac8565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613b2d81613af8565b8114613b3857600080fd5b50565b600081359050613b4a81613b24565b92915050565b600060208284031215613b6657613b65613aee565b5b6000613b7484828501613b3b565b91505092915050565b60008115159050919050565b613b9281613b7d565b82525050565b6000602082019050613bad6000830184613b89565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613bed578082015181840152602081019050613bd2565b83811115613bfc576000848401525b50505050565b6000601f19601f8301169050919050565b6000613c1e82613bb3565b613c288185613bbe565b9350613c38818560208601613bcf565b613c4181613c02565b840191505092915050565b60006020820190508181036000830152613c668184613c13565b905092915050565b6000819050919050565b613c8181613c6e565b8114613c8c57600080fd5b50565b600081359050613c9e81613c78565b92915050565b600060208284031215613cba57613cb9613aee565b5b6000613cc884828501613c8f565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613cfc82613cd1565b9050919050565b613d0c81613cf1565b82525050565b6000602082019050613d276000830184613d03565b92915050565b613d3681613cf1565b8114613d4157600080fd5b50565b600081359050613d5381613d2d565b92915050565b60008060408385031215613d7057613d6f613aee565b5b6000613d7e85828601613d44565b9250506020613d8f85828601613c8f565b9150509250929050565b600080fd5b600080fd5b600080fd5b60008083601f840112613dbe57613dbd613d99565b5b8235905067ffffffffffffffff811115613ddb57613dda613d9e565b5b602083019150836020820283011115613df757613df6613da3565b5b9250929050565b60008083601f840112613e1457613e13613d99565b5b8235905067ffffffffffffffff811115613e3157613e30613d9e565b5b602083019150836020820283011115613e4d57613e4c613da3565b5b9250929050565b60008060008060408587031215613e6e57613e6d613aee565b5b600085013567ffffffffffffffff811115613e8c57613e8b613af3565b5b613e9887828801613da8565b9450945050602085013567ffffffffffffffff811115613ebb57613eba613af3565b5b613ec787828801613dfe565b925092505092959194509250565b613ede81613c6e565b82525050565b6000602082019050613ef96000830184613ed5565b92915050565b600080600060608486031215613f1857613f17613aee565b5b6000613f2686828701613d44565b9350506020613f3786828701613d44565b9250506040613f4886828701613c8f565b9150509250925092565b60008083601f840112613f6857613f67613d99565b5b8235905067ffffffffffffffff811115613f8557613f84613d9e565b5b602083019150836001820283011115613fa157613fa0613da3565b5b9250929050565b60008060208385031215613fbf57613fbe613aee565b5b600083013567ffffffffffffffff811115613fdd57613fdc613af3565b5b613fe985828601613f52565b92509250509250929050565b6000819050919050565b600061401a61401561401084613cd1565b613ff5565b613cd1565b9050919050565b600061402c82613fff565b9050919050565b600061403e82614021565b9050919050565b61404e81614033565b82525050565b60006020820190506140696000830184614045565b92915050565b60006020828403121561408557614084613aee565b5b600061409384828501613d44565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6140d181613c6e565b82525050565b60006140e383836140c8565b60208301905092915050565b6000602082019050919050565b60006141078261409c565b61411181856140a7565b935061411c836140b8565b8060005b8381101561414d57815161413488826140d7565b975061413f836140ef565b925050600181019050614120565b5085935050505092915050565b6000602082019050818103600083015261417481846140fc565b905092915050565b61418581613b7d565b811461419057600080fd5b50565b6000813590506141a28161417c565b92915050565b600080604083850312156141bf576141be613aee565b5b60006141cd85828601613d44565b92505060206141de85828601614193565b9150509250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61422582613c02565b810181811067ffffffffffffffff82111715614244576142436141ed565b5b80604052505050565b6000614257613ae4565b9050614263828261421c565b919050565b600067ffffffffffffffff821115614283576142826141ed565b5b61428c82613c02565b9050602081019050919050565b82818337600083830152505050565b60006142bb6142b684614268565b61424d565b9050828152602081018484840111156142d7576142d66141e8565b5b6142e2848285614299565b509392505050565b600082601f8301126142ff576142fe613d99565b5b813561430f8482602086016142a8565b91505092915050565b6000806000806080858703121561433257614331613aee565b5b600061434087828801613d44565b945050602061435187828801613d44565b935050604061436287828801613c8f565b925050606085013567ffffffffffffffff81111561438357614382613af3565b5b61438f878288016142ea565b91505092959194509250565b600080604083850312156143b2576143b1613aee565b5b60006143c085828601613d44565b92505060206143d185828601613d44565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061442257607f821691505b602082108103614435576144346143db565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000614497602c83613bbe565b91506144a28261443b565b604082019050919050565b600060208201905081810360008301526144c68161448a565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000614529602183613bbe565b9150614534826144cd565b604082019050919050565b600060208201905081810360008301526145588161451c565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b60006145bb603883613bbe565b91506145c68261455f565b604082019050919050565b600060208201905081810360008301526145ea816145ae565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000614627601f83613bbe565b9150614632826145f1565b602082019050919050565b600060208201905081810360008301526146568161461a565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061469782613c6e565b91506146a283613c6e565b9250828210156146b5576146b461465d565b5b828203905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006146f6602083613bbe565b9150614701826146c0565b602082019050919050565b60006020820190508181036000830152614725816146e9565b9050919050565b7f63616e6e6f7420696e697469616c2063686164206d696e742069662073616c6560008201527f2068617320737461727465640000000000000000000000000000000000000000602082015250565b6000614788602c83613bbe565b91506147938261472c565b604082019050919050565b600060208201905081810360008301526147b78161477b565b9050919050565b7f746f6b656e4f776e65727320646f6573206e6f74206d6174636820746f6b656e60008201527f73206c656e677468000000000000000000000000000000000000000000000000602082015250565b600061481a602883613bbe565b9150614825826147be565b604082019050919050565b600060208201905081810360008301526148498161480d565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f696e697469616c2063686164206d696e7473206d75737420626520696e20646560008201527f6372656173696e67206f7264657220666f72206f757220617661696c61626c6560208201527f546f6b656e20696e64657820746f20776f726b00000000000000000000000000604082015250565b6000614901605383613bbe565b915061490c8261487f565b606082019050919050565b60006020820190508181036000830152614930816148f4565b9050919050565b600061494282613c6e565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036149745761497361465d565b5b600182019050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b60006149db603183613bbe565b91506149e68261497f565b604082019050919050565b60006020820190508181036000830152614a0a816149ce565b9050919050565b7f63616e6e6f742073656564206672656520726f6c6c732061667465722073616c60008201527f6520686173207374617274656400000000000000000000000000000000000000602082015250565b6000614a6d602d83613bbe565b9150614a7882614a11565b604082019050919050565b60006020820190508181036000830152614a9c81614a60565b9050919050565b7f746f6b656e4f776e65727320646f6573206e6f74206d61746368206e756d4f6660008201527f46726565526f6c6c73206c656e67746800000000000000000000000000000000602082015250565b6000614aff603083613bbe565b9150614b0a82614aa3565b604082019050919050565b60006020820190508181036000830152614b2e81614af2565b9050919050565b7f63616e6e6f742067697665206d6f7265207468616e2033206672656520726f6c60008201527f6c73000000000000000000000000000000000000000000000000000000000000602082015250565b6000614b91602283613bbe565b9150614b9c82614b35565b604082019050919050565b60006020820190508181036000830152614bc081614b84565b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b6000614c23602b83613bbe565b9150614c2e82614bc7565b604082019050919050565b60006020820190508181036000830152614c5281614c16565b9050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b6000614cb5602c83613bbe565b9150614cc082614c59565b604082019050919050565b60006020820190508181036000830152614ce481614ca8565b9050919050565b6000614cf682613c6e565b9150614d0183613c6e565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614d3657614d3561465d565b5b828201905092915050565b7f5468657265206172656e27742074686973206d616e79206b656e64754368616460008201527f73206c6566742e00000000000000000000000000000000000000000000000000602082015250565b6000614d9d602783613bbe565b9150614da882614d41565b604082019050919050565b60006020820190508181036000830152614dcc81614d90565b9050919050565b6000614dde82613c6e565b9150614de983613c6e565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614e2257614e2161465d565b5b828202905092915050565b7f556e737570706f72746564206d696e7420616d6f756e74000000000000000000600082015250565b6000614e63601783613bbe565b9150614e6e82614e2d565b602082019050919050565b60006020820190508181036000830152614e9281614e56565b9050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b6000614ef5602983613bbe565b9150614f0082614e99565b604082019050919050565b60006020820190508181036000830152614f2481614ee8565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000614f87602a83613bbe565b9150614f9282614f2b565b604082019050919050565b60006020820190508181036000830152614fb681614f7a565b9050919050565b7f53616c65206861736e277420737461727465642e000000000000000000000000600082015250565b6000614ff3601483613bbe565b9150614ffe82614fbd565b602082019050919050565b6000602082019050818103600083015261502281614fe6565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b600061505f601983613bbe565b915061506a82615029565b602082019050919050565b6000602082019050818103600083015261508e81615052565b9050919050565b600081905092915050565b50565b60006150b0600083615095565b91506150bb826150a0565b600082019050919050565b60006150d1826150a3565b9150819050919050565b7f5472616e73666572206661696c65642e00000000000000000000000000000000600082015250565b6000615111601083613bbe565b915061511c826150db565b602082019050919050565b6000602082019050818103600083015261514081615104565b9050919050565b7f616c726561647920676976656e206d6178206e756d626572206f66206672656560008201527f20726f6c6c730000000000000000000000000000000000000000000000000000602082015250565b60006151a3602683613bbe565b91506151ae82615147565b604082019050919050565b600060208201905081810360008301526151d281615196565b9050919050565b600081905092915050565b60006151ef82613bb3565b6151f981856151d9565b9350615209818560208601613bcf565b80840191505092915050565b7f2e706e6700000000000000000000000000000000000000000000000000000000600082015250565b600061524b6004836151d9565b915061525682615215565b600482019050919050565b600061526d82846151e4565b91506152788261523e565b915081905092915050565b600061528f82856151e4565b915061529b82846151e4565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000615303602683613bbe565b915061530e826152a7565b604082019050919050565b60006020820190508181036000830152615332816152f6565b9050919050565b7f4d696e74696e6720746f6f206d616e79206174206f6e63652e00000000000000600082015250565b600061536f601983613bbe565b915061537a82615339565b602082019050919050565b6000602082019050818103600083015261539e81615362565b9050919050565b60006153b082613c6e565b9150600082036153c3576153c261465d565b5b600182039050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b600061542a602c83613bbe565b9150615435826153ce565b604082019050919050565b600060208201905081810360008301526154598161541d565b9050919050565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b60006154bc602983613bbe565b91506154c782615460565b604082019050919050565b600060208201905081810360008301526154eb816154af565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b600061554e602483613bbe565b9150615559826154f2565b604082019050919050565b6000602082019050818103600083015261557d81615541565b9050919050565b60006060820190506155996000830186613d03565b6155a66020830185613d03565b6155b36040830184613ed5565b949350505050565b60006040820190506155d06000830185613d03565b6155dd6020830184613ed5565b9392505050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000615640603283613bbe565b915061564b826155e4565b604082019050919050565b6000602082019050818103600083015261566f81615633565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006156b082613c6e565b91506156bb83613c6e565b9250826156cb576156ca615676565b5b828204905092915050565b60006156e182613c6e565b91506156ec83613c6e565b9250826156fc576156fb615676565b5b828206905092915050565b6000819050919050565b61571a81615707565b82525050565b600060e082019050615735600083018a613d03565b6157426020830189613ed5565b61574f6040830188613ed5565b61575c6060830187613ed5565b6157696080830186615711565b61577660a0830185613ed5565b61578360c0830184613ed5565b98975050505050505050565b600081519050919050565b600082825260208201905092915050565b60006157b68261578f565b6157c0818561579a565b93506157d0818560208601613bcf565b6157d981613c02565b840191505092915050565b60006080820190506157f96000830187613d03565b6158066020830186613d03565b6158136040830185613ed5565b818103606083015261582581846157ab565b905095945050505050565b60008151905061583f81613b24565b92915050565b60006020828403121561585b5761585a613aee565b5b600061586984828501615830565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b60006158a8602083613bbe565b91506158b382615872565b602082019050919050565b600060208201905081810360008301526158d78161589b565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000615914601c83613bbe565b915061591f826158de565b602082019050919050565b6000602082019050818103600083015261594381615907565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfea26469706673582212205df5a37619c9580f256cba45f79bdd52792b466978d758170eb2ab5819e17d9564736f6c634300080d0033

Deployed Bytecode

0x6080604052600436106102515760003560e01c806372ab70e811610139578063a22cb465116100b6578063b7f5f99d1161007a578063b7f5f99d1461088f578063b88d4fde146108b8578063c87b56dd146108e1578063e8a3d4851461091e578063e985e9c514610949578063f2fde38b1461098657610251565b8063a22cb465146107dd578063ac44600214610806578063b602d1c814610810578063b66a0e5d1461083b578063b7c2c7f31461085257610251565b8063938e3d7b116100fd578063938e3d7b146106f857806395d89b41146107215780639b0787ce1461074c578063a0712d6814610789578063a1d89819146107b257610251565b806372ab70e814610611578063779e170d1461064e578063809d458d146106795780638a697aa5146106a25780638da5cb5b146106cd57610251565b8063380d831b116101d257806355f804b31161019657806355f804b3146104ef578063570eeeb5146105185780636352211e146105555780636f75d4a81461059257806370a08231146105bd578063715018a6146105fa57610251565b8063380d831b1461041e57806342842e0e146104355780634626402b1461045e5780634f1210e8146104895780634f6ccce7146104b257610251565b806317d50bd01161021957806317d50bd01461033b57806318160ddd1461036457806323b872dd1461038f5780632e94bb3b146103b85780632f745c59146103e157610251565b806301ffc9a71461025657806306fdde0314610293578063081812fc146102be578063095ea7b3146102fb5780630d0a7f9a14610324575b600080fd5b34801561026257600080fd5b5061027d60048036038101906102789190613b50565b6109af565b60405161028a9190613b98565b60405180910390f35b34801561029f57600080fd5b506102a86109c1565b6040516102b59190613c4c565b60405180910390f35b3480156102ca57600080fd5b506102e560048036038101906102e09190613ca4565b610a53565b6040516102f29190613d12565b60405180910390f35b34801561030757600080fd5b50610322600480360381019061031d9190613d59565b610ad8565b005b34801561033057600080fd5b50610339610bef565b005b34801561034757600080fd5b50610362600480360381019061035d9190613e54565b610d06565b005b34801561037057600080fd5b50610379610ef2565b6040516103869190613ee4565b60405180910390f35b34801561039b57600080fd5b506103b660048036038101906103b19190613eff565b610eff565b005b3480156103c457600080fd5b506103df60048036038101906103da9190613e54565b610f5f565b005b3480156103ed57600080fd5b5061040860048036038101906104039190613d59565b61117d565b6040516104159190613ee4565b60405180910390f35b34801561042a57600080fd5b50610433611222565b005b34801561044157600080fd5b5061045c60048036038101906104579190613eff565b6112bb565b005b34801561046a57600080fd5b506104736112db565b6040516104809190613d12565b60405180910390f35b34801561049557600080fd5b506104b060048036038101906104ab9190613ca4565b611301565b005b3480156104be57600080fd5b506104d960048036038101906104d49190613ca4565b611387565b6040516104e69190613ee4565b60405180910390f35b3480156104fb57600080fd5b5061051660048036038101906105119190613fa8565b6113f8565b005b34801561052457600080fd5b5061053f600480360381019061053a9190613ca4565b61148b565b60405161054c9190613ee4565b60405180910390f35b34801561056157600080fd5b5061057c60048036038101906105779190613ca4565b61156a565b6040516105899190613d12565b60405180910390f35b34801561059e57600080fd5b506105a761161b565b6040516105b49190614054565b60405180910390f35b3480156105c957600080fd5b506105e460048036038101906105df919061406f565b611641565b6040516105f19190613ee4565b60405180910390f35b34801561060657600080fd5b5061060f6116f8565b005b34801561061d57600080fd5b506106386004803603810190610633919061406f565b611832565b604051610645919061415a565b60405180910390f35b34801561065a57600080fd5b5061066361193b565b6040516106709190613b98565b60405180910390f35b34801561068557600080fd5b506106a0600480360381019061069b919061406f565b61194e565b005b3480156106ae57600080fd5b506106b7611a0e565b6040516106c49190613ee4565b60405180910390f35b3480156106d957600080fd5b506106e2611a18565b6040516106ef9190613d12565b60405180910390f35b34801561070457600080fd5b5061071f600480360381019061071a9190613fa8565b611a41565b005b34801561072d57600080fd5b50610736611ad4565b6040516107439190613c4c565b60405180910390f35b34801561075857600080fd5b50610773600480360381019061076e919061406f565b611b66565b6040516107809190613ee4565b60405180910390f35b34801561079557600080fd5b506107b060048036038101906107ab9190613ca4565b611b7f565b005b3480156107be57600080fd5b506107c7611d5d565b6040516107d49190613b98565b60405180910390f35b3480156107e957600080fd5b5061080460048036038101906107ff91906141a8565b611d70565b005b61080e611ef0565b005b34801561081c57600080fd5b5061082561201b565b6040516108329190613ee4565b60405180910390f35b34801561084757600080fd5b50610850612021565b005b34801561085e57600080fd5b506108796004803603810190610874919061406f565b6120d5565b6040516108869190613ee4565b60405180910390f35b34801561089b57600080fd5b506108b660048036038101906108b1919061406f565b61211f565b005b3480156108c457600080fd5b506108df60048036038101906108da9190614318565b612292565b005b3480156108ed57600080fd5b5061090860048036038101906109039190613ca4565b6122f4565b6040516109159190613c4c565b60405180910390f35b34801561092a57600080fd5b5061093361236d565b6040516109409190613c4c565b60405180910390f35b34801561095557600080fd5b50610970600480360381019061096b919061439b565b6123fc565b60405161097d9190613b98565b60405180910390f35b34801561099257600080fd5b506109ad60048036038101906109a8919061406f565b612490565b005b60006109ba82612638565b9050919050565b6060600180546109d09061440a565b80601f01602080910402602001604051908101604052809291908181526020018280546109fc9061440a565b8015610a495780601f10610a1e57610100808354040283529160200191610a49565b820191906000526020600020905b815481529060010190602001808311610a2c57829003601f168201915b5050505050905090565b6000610a5e826126b2565b610a9d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a94906144ad565b60405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610ae38261156a565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610b53576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b4a9061453f565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b7261271e565b73ffffffffffffffffffffffffffffffffffffffff161480610ba15750610ba081610b9b61271e565b6123fc565b5b610be0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bd7906145d1565b60405180910390fd5b610bea8383612726565b505050565b6002600b5403610c34576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c2b9061463d565b60405180910390fd5b6002600b81905550600061272160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050600061272160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506000610cd1610ef2565b610cd9611a0e565b610ce3919061468c565b905080821115610cf1578091505b610cfa826127df565b50506001600b81905550565b610d0e61271e565b73ffffffffffffffffffffffffffffffffffffffff16610d2c611a18565b73ffffffffffffffffffffffffffffffffffffffff1614610d82576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d799061470c565b60405180910390fd5b600d60159054906101000a900460ff1615610dd2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dc99061479e565b60405180910390fd5b818190508484905014610e1a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e1190614830565b60405180910390fd5b600061272254905060005b85859050811015610ee2576000848483818110610e4557610e44614850565b5b905060200201359050808311610e90576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e8790614917565b60405180910390fd5b809250610e9c8161287e565b50610ece878784818110610eb357610eb2614850565b5b9050602002016020810190610ec8919061406f565b8261294f565b508080610eda90614937565b915050610e25565b5080612722819055505050505050565b6000600980549050905090565b610f10610f0a61271e565b8261296d565b610f4f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f46906149f1565b60405180910390fd5b610f5a838383612a4b565b505050565b610f6761271e565b73ffffffffffffffffffffffffffffffffffffffff16610f85611a18565b73ffffffffffffffffffffffffffffffffffffffff1614610fdb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fd29061470c565b60405180910390fd5b600d60159054906101000a900460ff161561102b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161102290614a83565b60405180910390fd5b818190508484905014611073576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161106a90614b15565b60405180910390fd5b60005b8484905081101561117657600383838381811061109657611095614850565b5b9050602002013511156110de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110d590614ba7565b60405180910390fd5b8282828181106110f1576110f0614850565b5b9050602002013561272160008787858181106111105761110f614850565b5b9050602002016020810190611125919061406f565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550808061116e90614937565b915050611076565b5050505050565b600061118883611641565b82106111c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111c090614c39565b60405180910390fd5b600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b61122a61271e565b73ffffffffffffffffffffffffffffffffffffffff16611248611a18565b73ffffffffffffffffffffffffffffffffffffffff161461129e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112959061470c565b60405180910390fd5b6000600d60146101000a81548160ff021916908315150217905550565b6112d683838360405180602001604052806000815250612292565b505050565b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b61130961271e565b73ffffffffffffffffffffffffffffffffffffffff16611327611a18565b73ffffffffffffffffffffffffffffffffffffffff161461137d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113749061470c565b60405180910390fd5b80600e8190555050565b6000611391610ef2565b82106113d2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113c990614ccb565b60405180910390fd5b600982815481106113e6576113e5614850565b5b90600052602060002001549050919050565b61140061271e565b73ffffffffffffffffffffffffffffffffffffffff1661141e611a18565b73ffffffffffffffffffffffffffffffffffffffff1614611474576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161146b9061470c565b60405180910390fd5b81816127239190611486929190613a41565b505050565b6000611495611a0e565b8261149e610ef2565b6114a89190614ceb565b11156114e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114e090614db3565b60405180910390fd5b600182101580156114fc5750600e548211155b1561152a57670de0b6b3a764000082624c4b406115199190614dd3565b6115239190614dd3565b9050611565565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161155c90614e79565b60405180910390fd5b919050565b6000806003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611612576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161160990614f0b565b60405180910390fd5b80915050919050565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036116b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116a890614f9d565b60405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61170061271e565b73ffffffffffffffffffffffffffffffffffffffff1661171e611a18565b73ffffffffffffffffffffffffffffffffffffffff1614611774576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161176b9061470c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b6060600061183f83611641565b90506000810361189b57600067ffffffffffffffff811115611864576118636141ed565b5b6040519080825280602002602001820160405280156118925781602001602082028036833780820191505090505b50915050611936565b60008167ffffffffffffffff8111156118b7576118b66141ed565b5b6040519080825280602002602001820160405280156118e55781602001602082028036833780820191505090505b50905060005b8281101561192f576118fd858261117d565b8282815181106119105761190f614850565b5b602002602001018181525050808061192790614937565b9150506118eb565b5080925050505b919050565b600d60149054906101000a900460ff1681565b61195661271e565b73ffffffffffffffffffffffffffffffffffffffff16611974611a18565b73ffffffffffffffffffffffffffffffffffffffff16146119ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119c19061470c565b60405180910390fd5b80600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000612710905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611a4961271e565b73ffffffffffffffffffffffffffffffffffffffff16611a67611a18565b73ffffffffffffffffffffffffffffffffffffffff1614611abd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ab49061470c565b60405180910390fd5b81816127249190611acf929190613a41565b505050565b606060028054611ae39061440a565b80601f0160208091040260200160405190810160405280929190818152602001828054611b0f9061440a565b8015611b5c5780601f10611b3157610100808354040283529160200191611b5c565b820191906000526020600020905b815481529060010190602001808311611b3f57829003601f168201915b5050505050905090565b6127216020528060005260406000206000915090505481565b6002600b5403611bc4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bbb9061463d565b60405180910390fd5b6002600b81905550600d60149054906101000a900460ff16611c1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c1290615009565b60405180910390fd5b6000611c25610ef2565b9050611c2f611a0e565b8282611c3b9190614ceb565b1115611c7c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c7390614db3565b60405180910390fd5b6000611c878361148b565b9050611cd8333083600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612ca6909392919063ffffffff16565b611d47600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612d289092919063ffffffff16565b611d50836127df565b50506001600b8190555050565b600d60159054906101000a900460ff1681565b611d7861271e565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611de5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ddc90615075565b60405180910390fd5b8060066000611df261271e565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611e9f61271e565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611ee49190613b98565b60405180910390a35050565b611ef861271e565b73ffffffffffffffffffffffffffffffffffffffff16611f16611a18565b73ffffffffffffffffffffffffffffffffffffffff1614611f6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f639061470c565b60405180910390fd5b60003373ffffffffffffffffffffffffffffffffffffffff1647604051611f92906150c6565b60006040518083038185875af1925050503d8060008114611fcf576040519150601f19603f3d011682016040523d82523d6000602084013e611fd4565b606091505b5050905080612018576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161200f90615127565b60405180910390fd5b50565b600e5481565b61202961271e565b73ffffffffffffffffffffffffffffffffffffffff16612047611a18565b73ffffffffffffffffffffffffffffffffffffffff161461209d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120949061470c565b60405180910390fd5b6001600d60146101000a81548160ff0219169083151502179055506001600d60156101000a81548160ff021916908315150217905550565b600061272160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61212761271e565b73ffffffffffffffffffffffffffffffffffffffff16612145611a18565b73ffffffffffffffffffffffffffffffffffffffff161461219b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121929061470c565b60405180910390fd5b60c861272054106121e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121d8906151b9565b60405180910390fd5b600061272160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490506001816122339190614ceb565b61272160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506001612720546122879190614ceb565b612720819055505050565b6122a361229d61271e565b8361296d565b6122e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122d9906149f1565b60405180910390fd5b6122ee84848484612da7565b50505050565b60606000612300612e03565b9050600061230d84612e96565b60405160200161231d9190615261565b60405160208183030381529060405290506000825103612341578092505050612368565b8181604051602001612354929190615283565b604051602081830303815290604052925050505b919050565b612724805461237b9061440a565b80601f01602080910402602001604051908101604052809291908181526020018280546123a79061440a565b80156123f45780601f106123c9576101008083540402835291602001916123f4565b820191906000526020600020905b8154815290600101906020018083116123d757829003601f168201915b505050505081565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61249861271e565b73ffffffffffffffffffffffffffffffffffffffff166124b6611a18565b73ffffffffffffffffffffffffffffffffffffffff161461250c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125039061470c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361257b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161257290615319565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806126ab57506126aa82612ff6565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816005600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166127998361156a565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600e54811115612824576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161281b90615385565b60405180910390fd5b600061271f54905060005b8281101561287157600061284384836130d8565b905061284f338261294f565b828061285a906153a5565b93505050808061286990614937565b91505061282f565b508061271f819055505050565b600080600f83612710811061289657612895614850565b5b0154905060008082036128ab578390506128af565b8190505b6000600161271f546128c1919061468c565b905080851461292b576000600f8261271081106128e1576128e0614850565b5b015490506000810361290d5781600f87612710811061290357612902614850565b5b0181905550612929565b80600f87612710811061292357612922614850565b5b01819055505b505b61271f600081548092919061293f906153a5565b9190505550819350505050919050565b612969828260405180602001604052806000815250613146565b5050565b6000612978826126b2565b6129b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129ae90615440565b60405180910390fd5b60006129c28361156a565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612a3157508373ffffffffffffffffffffffffffffffffffffffff16612a1984610a53565b73ffffffffffffffffffffffffffffffffffffffff16145b80612a425750612a4181856123fc565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612a6b8261156a565b73ffffffffffffffffffffffffffffffffffffffff1614612ac1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ab8906154d2565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612b30576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b2790615564565b60405180910390fd5b612b3b8383836131a1565b612b46600082612726565b6001600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612b96919061468c565b925050819055506001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612bed9190614ceb565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b612d22848573ffffffffffffffffffffffffffffffffffffffff166323b872dd868686604051602401612cdb93929190615584565b604051602081830303815290604052915060e01b6020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506131b1565b50505050565b612da2838473ffffffffffffffffffffffffffffffffffffffff1663a9059cbb8585604051602401612d5b9291906155bb565b604051602081830303815290604052915060e01b6020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506131b1565b505050565b612db2848484612a4b565b612dbe84848484613253565b612dfd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612df490615656565b60405180910390fd5b50505050565b60606127238054612e139061440a565b80601f0160208091040260200160405190810160405280929190818152602001828054612e3f9061440a565b8015612e8c5780601f10612e6157610100808354040283529160200191612e8c565b820191906000526020600020905b815481529060010190602001808311612e6f57829003601f168201915b5050505050905090565b606060008203612edd576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612ff1565b600082905060005b60008214612f0f578080612ef890614937565b915050600a82612f0891906156a5565b9150612ee5565b60008167ffffffffffffffff811115612f2b57612f2a6141ed565b5b6040519080825280601f01601f191660200182016040528015612f5d5781602001600182028036833780820191505090505b5090505b60008514612fea57600182612f76919061468c565b9150600a85612f8591906156d6565b6030612f919190614ceb565b60f81b818381518110612fa757612fa6614850565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612fe391906156a5565b9450612f61565b8093505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806130c157507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806130d157506130d0826133da565b5b9050919050565b600080333a43426001436130ec919061468c565b4088886040516020016131059796959493929190615720565b6040516020818303038152906040528051906020012060001c9050600061271f548261313191906156d6565b905061313c8161287e565b9250505092915050565b6131508383613444565b61315d6000848484613253565b61319c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161319390615656565b60405180910390fd5b505050565b6131ac838383613611565b505050565b600080602060008451602086016000885af1806131d4576040513d6000823e3d81fd5b3d9250600051915050600082146131ef57600181141561320b565b60008473ffffffffffffffffffffffffffffffffffffffff163b145b1561324d57836040517f5274afe70000000000000000000000000000000000000000000000000000000081526004016132449190613d12565b60405180910390fd5b50505050565b60006132748473ffffffffffffffffffffffffffffffffffffffff16613723565b156133cd578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261329d61271e565b8786866040518563ffffffff1660e01b81526004016132bf94939291906157e4565b6020604051808303816000875af19250505080156132fb57506040513d601f19601f820116820180604052508101906132f89190615845565b60015b61337d573d806000811461332b576040519150601f19603f3d011682016040523d82523d6000602084013e613330565b606091505b506000815103613375576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161336c90615656565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506133d2565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036134b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134aa906158be565b60405180910390fd5b6134bc816126b2565b156134fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134f39061592a565b60405180910390fd5b613508600083836131a1565b6001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546135589190614ceb565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b61361c838383613736565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361365e576136598161373b565b61369d565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461369c5761369b8382613784565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036136df576136da816138f1565b61371e565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161461371d5761371c82826139c2565b5b5b505050565b600080823b905060008111915050919050565b505050565b600980549050600a600083815260200190815260200160002081905550600981908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161379184611641565b61379b919061468c565b9050600060086000848152602001908152602001600020549050818114613880576000600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816008600083815260200190815260200160002081905550505b6008600084815260200190815260200160002060009055600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600980549050613905919061468c565b90506000600a600084815260200190815260200160002054905060006009838154811061393557613934614850565b5b90600052602060002001549050806009838154811061395757613956614850565b5b906000526020600020018190555081600a600083815260200190815260200160002081905550600a60008581526020019081526020016000206000905560098054806139a6576139a561594a565b5b6001900381819060005260206000200160009055905550505050565b60006139cd83611641565b905081600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806008600084815260200190815260200160002081905550505050565b828054613a4d9061440a565b90600052602060002090601f016020900481019282613a6f5760008555613ab6565b82601f10613a8857803560ff1916838001178555613ab6565b82800160010185558215613ab6579182015b82811115613ab5578235825591602001919060010190613a9a565b5b509050613ac39190613ac7565b5090565b5b80821115613ae0576000816000905550600101613ac8565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613b2d81613af8565b8114613b3857600080fd5b50565b600081359050613b4a81613b24565b92915050565b600060208284031215613b6657613b65613aee565b5b6000613b7484828501613b3b565b91505092915050565b60008115159050919050565b613b9281613b7d565b82525050565b6000602082019050613bad6000830184613b89565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613bed578082015181840152602081019050613bd2565b83811115613bfc576000848401525b50505050565b6000601f19601f8301169050919050565b6000613c1e82613bb3565b613c288185613bbe565b9350613c38818560208601613bcf565b613c4181613c02565b840191505092915050565b60006020820190508181036000830152613c668184613c13565b905092915050565b6000819050919050565b613c8181613c6e565b8114613c8c57600080fd5b50565b600081359050613c9e81613c78565b92915050565b600060208284031215613cba57613cb9613aee565b5b6000613cc884828501613c8f565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613cfc82613cd1565b9050919050565b613d0c81613cf1565b82525050565b6000602082019050613d276000830184613d03565b92915050565b613d3681613cf1565b8114613d4157600080fd5b50565b600081359050613d5381613d2d565b92915050565b60008060408385031215613d7057613d6f613aee565b5b6000613d7e85828601613d44565b9250506020613d8f85828601613c8f565b9150509250929050565b600080fd5b600080fd5b600080fd5b60008083601f840112613dbe57613dbd613d99565b5b8235905067ffffffffffffffff811115613ddb57613dda613d9e565b5b602083019150836020820283011115613df757613df6613da3565b5b9250929050565b60008083601f840112613e1457613e13613d99565b5b8235905067ffffffffffffffff811115613e3157613e30613d9e565b5b602083019150836020820283011115613e4d57613e4c613da3565b5b9250929050565b60008060008060408587031215613e6e57613e6d613aee565b5b600085013567ffffffffffffffff811115613e8c57613e8b613af3565b5b613e9887828801613da8565b9450945050602085013567ffffffffffffffff811115613ebb57613eba613af3565b5b613ec787828801613dfe565b925092505092959194509250565b613ede81613c6e565b82525050565b6000602082019050613ef96000830184613ed5565b92915050565b600080600060608486031215613f1857613f17613aee565b5b6000613f2686828701613d44565b9350506020613f3786828701613d44565b9250506040613f4886828701613c8f565b9150509250925092565b60008083601f840112613f6857613f67613d99565b5b8235905067ffffffffffffffff811115613f8557613f84613d9e565b5b602083019150836001820283011115613fa157613fa0613da3565b5b9250929050565b60008060208385031215613fbf57613fbe613aee565b5b600083013567ffffffffffffffff811115613fdd57613fdc613af3565b5b613fe985828601613f52565b92509250509250929050565b6000819050919050565b600061401a61401561401084613cd1565b613ff5565b613cd1565b9050919050565b600061402c82613fff565b9050919050565b600061403e82614021565b9050919050565b61404e81614033565b82525050565b60006020820190506140696000830184614045565b92915050565b60006020828403121561408557614084613aee565b5b600061409384828501613d44565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6140d181613c6e565b82525050565b60006140e383836140c8565b60208301905092915050565b6000602082019050919050565b60006141078261409c565b61411181856140a7565b935061411c836140b8565b8060005b8381101561414d57815161413488826140d7565b975061413f836140ef565b925050600181019050614120565b5085935050505092915050565b6000602082019050818103600083015261417481846140fc565b905092915050565b61418581613b7d565b811461419057600080fd5b50565b6000813590506141a28161417c565b92915050565b600080604083850312156141bf576141be613aee565b5b60006141cd85828601613d44565b92505060206141de85828601614193565b9150509250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61422582613c02565b810181811067ffffffffffffffff82111715614244576142436141ed565b5b80604052505050565b6000614257613ae4565b9050614263828261421c565b919050565b600067ffffffffffffffff821115614283576142826141ed565b5b61428c82613c02565b9050602081019050919050565b82818337600083830152505050565b60006142bb6142b684614268565b61424d565b9050828152602081018484840111156142d7576142d66141e8565b5b6142e2848285614299565b509392505050565b600082601f8301126142ff576142fe613d99565b5b813561430f8482602086016142a8565b91505092915050565b6000806000806080858703121561433257614331613aee565b5b600061434087828801613d44565b945050602061435187828801613d44565b935050604061436287828801613c8f565b925050606085013567ffffffffffffffff81111561438357614382613af3565b5b61438f878288016142ea565b91505092959194509250565b600080604083850312156143b2576143b1613aee565b5b60006143c085828601613d44565b92505060206143d185828601613d44565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061442257607f821691505b602082108103614435576144346143db565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000614497602c83613bbe565b91506144a28261443b565b604082019050919050565b600060208201905081810360008301526144c68161448a565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000614529602183613bbe565b9150614534826144cd565b604082019050919050565b600060208201905081810360008301526145588161451c565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b60006145bb603883613bbe565b91506145c68261455f565b604082019050919050565b600060208201905081810360008301526145ea816145ae565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000614627601f83613bbe565b9150614632826145f1565b602082019050919050565b600060208201905081810360008301526146568161461a565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061469782613c6e565b91506146a283613c6e565b9250828210156146b5576146b461465d565b5b828203905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006146f6602083613bbe565b9150614701826146c0565b602082019050919050565b60006020820190508181036000830152614725816146e9565b9050919050565b7f63616e6e6f7420696e697469616c2063686164206d696e742069662073616c6560008201527f2068617320737461727465640000000000000000000000000000000000000000602082015250565b6000614788602c83613bbe565b91506147938261472c565b604082019050919050565b600060208201905081810360008301526147b78161477b565b9050919050565b7f746f6b656e4f776e65727320646f6573206e6f74206d6174636820746f6b656e60008201527f73206c656e677468000000000000000000000000000000000000000000000000602082015250565b600061481a602883613bbe565b9150614825826147be565b604082019050919050565b600060208201905081810360008301526148498161480d565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f696e697469616c2063686164206d696e7473206d75737420626520696e20646560008201527f6372656173696e67206f7264657220666f72206f757220617661696c61626c6560208201527f546f6b656e20696e64657820746f20776f726b00000000000000000000000000604082015250565b6000614901605383613bbe565b915061490c8261487f565b606082019050919050565b60006020820190508181036000830152614930816148f4565b9050919050565b600061494282613c6e565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036149745761497361465d565b5b600182019050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b60006149db603183613bbe565b91506149e68261497f565b604082019050919050565b60006020820190508181036000830152614a0a816149ce565b9050919050565b7f63616e6e6f742073656564206672656520726f6c6c732061667465722073616c60008201527f6520686173207374617274656400000000000000000000000000000000000000602082015250565b6000614a6d602d83613bbe565b9150614a7882614a11565b604082019050919050565b60006020820190508181036000830152614a9c81614a60565b9050919050565b7f746f6b656e4f776e65727320646f6573206e6f74206d61746368206e756d4f6660008201527f46726565526f6c6c73206c656e67746800000000000000000000000000000000602082015250565b6000614aff603083613bbe565b9150614b0a82614aa3565b604082019050919050565b60006020820190508181036000830152614b2e81614af2565b9050919050565b7f63616e6e6f742067697665206d6f7265207468616e2033206672656520726f6c60008201527f6c73000000000000000000000000000000000000000000000000000000000000602082015250565b6000614b91602283613bbe565b9150614b9c82614b35565b604082019050919050565b60006020820190508181036000830152614bc081614b84565b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b6000614c23602b83613bbe565b9150614c2e82614bc7565b604082019050919050565b60006020820190508181036000830152614c5281614c16565b9050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b6000614cb5602c83613bbe565b9150614cc082614c59565b604082019050919050565b60006020820190508181036000830152614ce481614ca8565b9050919050565b6000614cf682613c6e565b9150614d0183613c6e565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614d3657614d3561465d565b5b828201905092915050565b7f5468657265206172656e27742074686973206d616e79206b656e64754368616460008201527f73206c6566742e00000000000000000000000000000000000000000000000000602082015250565b6000614d9d602783613bbe565b9150614da882614d41565b604082019050919050565b60006020820190508181036000830152614dcc81614d90565b9050919050565b6000614dde82613c6e565b9150614de983613c6e565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614e2257614e2161465d565b5b828202905092915050565b7f556e737570706f72746564206d696e7420616d6f756e74000000000000000000600082015250565b6000614e63601783613bbe565b9150614e6e82614e2d565b602082019050919050565b60006020820190508181036000830152614e9281614e56565b9050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b6000614ef5602983613bbe565b9150614f0082614e99565b604082019050919050565b60006020820190508181036000830152614f2481614ee8565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000614f87602a83613bbe565b9150614f9282614f2b565b604082019050919050565b60006020820190508181036000830152614fb681614f7a565b9050919050565b7f53616c65206861736e277420737461727465642e000000000000000000000000600082015250565b6000614ff3601483613bbe565b9150614ffe82614fbd565b602082019050919050565b6000602082019050818103600083015261502281614fe6565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b600061505f601983613bbe565b915061506a82615029565b602082019050919050565b6000602082019050818103600083015261508e81615052565b9050919050565b600081905092915050565b50565b60006150b0600083615095565b91506150bb826150a0565b600082019050919050565b60006150d1826150a3565b9150819050919050565b7f5472616e73666572206661696c65642e00000000000000000000000000000000600082015250565b6000615111601083613bbe565b915061511c826150db565b602082019050919050565b6000602082019050818103600083015261514081615104565b9050919050565b7f616c726561647920676976656e206d6178206e756d626572206f66206672656560008201527f20726f6c6c730000000000000000000000000000000000000000000000000000602082015250565b60006151a3602683613bbe565b91506151ae82615147565b604082019050919050565b600060208201905081810360008301526151d281615196565b9050919050565b600081905092915050565b60006151ef82613bb3565b6151f981856151d9565b9350615209818560208601613bcf565b80840191505092915050565b7f2e706e6700000000000000000000000000000000000000000000000000000000600082015250565b600061524b6004836151d9565b915061525682615215565b600482019050919050565b600061526d82846151e4565b91506152788261523e565b915081905092915050565b600061528f82856151e4565b915061529b82846151e4565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000615303602683613bbe565b915061530e826152a7565b604082019050919050565b60006020820190508181036000830152615332816152f6565b9050919050565b7f4d696e74696e6720746f6f206d616e79206174206f6e63652e00000000000000600082015250565b600061536f601983613bbe565b915061537a82615339565b602082019050919050565b6000602082019050818103600083015261539e81615362565b9050919050565b60006153b082613c6e565b9150600082036153c3576153c261465d565b5b600182039050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b600061542a602c83613bbe565b9150615435826153ce565b604082019050919050565b600060208201905081810360008301526154598161541d565b9050919050565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b60006154bc602983613bbe565b91506154c782615460565b604082019050919050565b600060208201905081810360008301526154eb816154af565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b600061554e602483613bbe565b9150615559826154f2565b604082019050919050565b6000602082019050818103600083015261557d81615541565b9050919050565b60006060820190506155996000830186613d03565b6155a66020830185613d03565b6155b36040830184613ed5565b949350505050565b60006040820190506155d06000830185613d03565b6155dd6020830184613ed5565b9392505050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000615640603283613bbe565b915061564b826155e4565b604082019050919050565b6000602082019050818103600083015261566f81615633565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006156b082613c6e565b91506156bb83613c6e565b9250826156cb576156ca615676565b5b828204905092915050565b60006156e182613c6e565b91506156ec83613c6e565b9250826156fc576156fb615676565b5b828206905092915050565b6000819050919050565b61571a81615707565b82525050565b600060e082019050615735600083018a613d03565b6157426020830189613ed5565b61574f6040830188613ed5565b61575c6060830187613ed5565b6157696080830186615711565b61577660a0830185613ed5565b61578360c0830184613ed5565b98975050505050505050565b600081519050919050565b600082825260208201905092915050565b60006157b68261578f565b6157c0818561579a565b93506157d0818560208601613bcf565b6157d981613c02565b840191505092915050565b60006080820190506157f96000830187613d03565b6158066020830186613d03565b6158136040830185613ed5565b818103606083015261582581846157ab565b905095945050505050565b60008151905061583f81613b24565b92915050565b60006020828403121561585b5761585a613aee565b5b600061586984828501615830565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b60006158a8602083613bbe565b91506158b382615872565b602082019050919050565b600060208201905081810360008301526158d78161589b565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000615914601c83613bbe565b915061591f826158de565b602082019050919050565b6000602082019050818103600083015261594381615907565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfea26469706673582212205df5a37619c9580f256cba45f79bdd52792b466978d758170eb2ab5819e17d9564736f6c634300080d0033

Loading...
Loading
Loading...
Loading
[ 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.