ETH Price: $3,167.53 (+3.53%)

Token

Gradis (GRDS)
 

Overview

Max Total Supply

4,193 GRDS

Holders

1,212

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
0 GRDS
0xcf6b821709383bb798c60be0a4724a3879ef24d4
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

A collection of script-based generative animations.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
Gradis

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 13 : Gradis.sol
// SPDX-License-Identifier: MIT
pragma solidity >=0.4.21 <0.9.0;

import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/utils/Strings.sol";

contract Gradis is ERC721URIStorage, Ownable {
    using Counters for Counters.Counter;
    uint256 public constant gradisPrice = 10000000000000000; //0.01 ETH
    uint256 public constant maxGradisPurchase = 5;
    uint256 public constant MAX_GRADIS = 8075;
    bool public saleIsActive = false;
    bool public whitelistSaleIsActive = false;
    string private gradisBaseUri;
    Counters.Counter private _totalGradisTokens;

    constructor() ERC721("Gradis", "GRDS") {}

    function totalSupply() public view returns (uint256 count) {
        return _totalGradisTokens.current();
    }

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

    function flipSaleState() public onlyOwner {
        saleIsActive = !saleIsActive;
    }

    function flipWhitelistSaleState() public onlyOwner {
        whitelistSaleIsActive = !whitelistSaleIsActive;
    }

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

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

    function contractURI() public view returns (string memory) {
        return gradisBaseUri;
    }

    function reserveGradis(uint256[] memory gradisTokens) public onlyOwner {
        for (uint256 i = 0; i < 75; i++) {
            _safeMint(msg.sender, gradisTokens[i]);
            _totalGradisTokens.increment();
        }
    }

    function whitelistMint(uint256[] memory gradisTokens) public payable {
        require(whitelistSaleIsActive, "Sale is not active");
        require(gradisTokens.length > 0, "No Gradis to mint");
        require(
            gradisTokens.length <= maxGradisPurchase,
            "number of gradis incorrect"
        );
        require(
            msg.value >= gradisPrice * gradisTokens.length,
            "Ether amount incorrect"
        );
        require(
            _totalGradisTokens.current() + gradisTokens.length <= 1575,
            "Purchase exceeds what is allowed for the list"
        );

        for (uint256 i = 0; i < gradisTokens.length; i++) {
            _safeMint(msg.sender, gradisTokens[i]);
            _totalGradisTokens.increment();
        }
    }

    function mintGradis(uint256[] memory gradisTokens) public payable {
        require(saleIsActive, "Sale is not active");
        require(gradisTokens.length > 0, "No Gradis to mint");
        require(
            gradisTokens.length <= maxGradisPurchase,
            "number of gradis incorrect"
        );
        require(
            msg.value >= gradisPrice * gradisTokens.length,
            "Ether amount incorrect"
        );
        require(
            _totalGradisTokens.current() + gradisTokens.length <= MAX_GRADIS,
            "Purchase would exceed max supply"
        );

        for (uint256 i = 0; i < gradisTokens.length; i++) {
            _safeMint(msg.sender, gradisTokens[i]);
            _totalGradisTokens.increment();
        }
    }
}

File 2 of 13 : Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

File 3 of 13 : 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 4 of 13 : Strings.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

File 6 of 13 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

File 7 of 13 : IERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

File 8 of 13 : 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 9 of 13 : ERC721URIStorage.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../ERC721.sol";

/**
 * @dev ERC721 token with storage based token URI management.
 */
abstract contract ERC721URIStorage is ERC721 {
    using Strings for uint256;

    // Optional mapping for token URIs
    mapping(uint256 => string) private _tokenURIs;

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

        string memory _tokenURI = _tokenURIs[tokenId];
        string memory base = _baseURI();

        // If there is no base URI, return the token URI.
        if (bytes(base).length == 0) {
            return _tokenURI;
        }
        // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked).
        if (bytes(_tokenURI).length > 0) {
            return string(abi.encodePacked(base, _tokenURI));
        }

        return super.tokenURI(tokenId);
    }

    /**
     * @dev Sets `_tokenURI` as the tokenURI of `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual {
        require(_exists(tokenId), "ERC721URIStorage: URI set of nonexistent token");
        _tokenURIs[tokenId] = _tokenURI;
    }

    /**
     * @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 override {
        super._burn(tokenId);

        if (bytes(_tokenURIs[tokenId]).length != 0) {
            delete _tokenURIs[tokenId];
        }
    }
}

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

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);
    }

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_GRADIS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"flipSaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"flipWhitelistSaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"gradisPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxGradisPurchase","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"gradisTokens","type":"uint256[]"}],"name":"mintGradis","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"gradisTokens","type":"uint256[]"}],"name":"reserveGradis","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"count","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"gradisTokens","type":"uint256[]"}],"name":"whitelistMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"whitelistSaleIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526000600760146101000a81548160ff0219169083151502179055506000600760156101000a81548160ff0219169083151502179055503480156200004757600080fd5b506040518060400160405280600681526020017f47726164697300000000000000000000000000000000000000000000000000008152506040518060400160405280600481526020017f47524453000000000000000000000000000000000000000000000000000000008152508160009080519060200190620000cc929190620001dc565b508060019080519060200190620000e5929190620001dc565b50505062000108620000fc6200010e60201b60201c565b6200011660201b60201c565b620002f1565b600033905090565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620001ea90620002bb565b90600052602060002090601f0160209004810192826200020e57600085556200025a565b82601f106200022957805160ff19168380011785556200025a565b828001600101855582156200025a579182015b82811115620002595782518255916020019190600101906200023c565b5b5090506200026991906200026d565b5090565b5b80821115620002885760008160009055506001016200026e565b5090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620002d457607f821691505b60208210811415620002eb57620002ea6200028c565b5b50919050565b613e9f80620003016000396000f3fe6080604052600436106101cd5760003560e01c806370a08231116100f7578063b88d4fde11610095578063e8ef65b811610064578063e8ef65b81461060e578063e985e9c514610639578063eb8d244414610676578063f2fde38b146106a1576101cd565b8063b88d4fde14610566578063c87b56dd1461058f578063d1beca64146105cc578063e8a3d485146105e3576101cd565b80638da5cb5b116100d15780638da5cb5b146104be57806395d89b41146104e9578063a22cb46514610514578063acb09b7b1461053d576101cd565b806370a082311461044e578063715018a61461048b578063833fb99f146104a2576101cd565b80631e0a5fa51161016f5780633ccfd60b1161013e5780633ccfd60b146103a857806342842e0e146103bf57806355f804b3146103e85780636352211e14610411576101cd565b80631e0a5fa51461032157806323b872dd1461033d578063288506b11461036657806334918dfd14610391576101cd565b8063095ea7b3116101ab578063095ea7b3146102775780630d4dd9d6146102a057806310b5454d146102cb57806318160ddd146102f6576101cd565b806301ffc9a7146101d257806306fdde031461020f578063081812fc1461023a575b600080fd5b3480156101de57600080fd5b506101f960048036038101906101f4919061278f565b6106ca565b60405161020691906127d7565b60405180910390f35b34801561021b57600080fd5b506102246107ac565b604051610231919061288b565b60405180910390f35b34801561024657600080fd5b50610261600480360381019061025c91906128e3565b61083e565b60405161026e9190612951565b60405180910390f35b34801561028357600080fd5b5061029e60048036038101906102999190612998565b6108c3565b005b3480156102ac57600080fd5b506102b56109db565b6040516102c291906129e7565b60405180910390f35b3480156102d757600080fd5b506102e06109e0565b6040516102ed91906127d7565b60405180910390f35b34801561030257600080fd5b5061030b6109f3565b60405161031891906129e7565b60405180910390f35b61033b60048036038101906103369190612b4a565b610a04565b005b34801561034957600080fd5b50610364600480360381019061035f9190612b93565b610bdd565b005b34801561037257600080fd5b5061037b610c3d565b60405161038891906129e7565b60405180910390f35b34801561039d57600080fd5b506103a6610c43565b005b3480156103b457600080fd5b506103bd610ceb565b005b3480156103cb57600080fd5b506103e660048036038101906103e19190612b93565b610db6565b005b3480156103f457600080fd5b5061040f600480360381019061040a9190612c9b565b610dd6565b005b34801561041d57600080fd5b50610438600480360381019061043391906128e3565b610e6c565b6040516104459190612951565b60405180910390f35b34801561045a57600080fd5b5061047560048036038101906104709190612ce4565b610f1e565b60405161048291906129e7565b60405180910390f35b34801561049757600080fd5b506104a0610fd6565b005b6104bc60048036038101906104b79190612b4a565b61105e565b005b3480156104ca57600080fd5b506104d3611237565b6040516104e09190612951565b60405180910390f35b3480156104f557600080fd5b506104fe611261565b60405161050b919061288b565b60405180910390f35b34801561052057600080fd5b5061053b60048036038101906105369190612d3d565b6112f3565b005b34801561054957600080fd5b50610564600480360381019061055f9190612b4a565b611474565b005b34801561057257600080fd5b5061058d60048036038101906105889190612e1e565b611541565b005b34801561059b57600080fd5b506105b660048036038101906105b191906128e3565b6115a3565b6040516105c3919061288b565b60405180910390f35b3480156105d857600080fd5b506105e16116f5565b005b3480156105ef57600080fd5b506105f861179d565b604051610605919061288b565b60405180910390f35b34801561061a57600080fd5b5061062361182f565b60405161063091906129e7565b60405180910390f35b34801561064557600080fd5b50610660600480360381019061065b9190612ea1565b61183a565b60405161066d91906127d7565b60405180910390f35b34801561068257600080fd5b5061068b6118ce565b60405161069891906127d7565b60405180910390f35b3480156106ad57600080fd5b506106c860048036038101906106c39190612ce4565b6118e1565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061079557507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806107a557506107a4826119d9565b5b9050919050565b6060600080546107bb90612f10565b80601f01602080910402602001604051908101604052809291908181526020018280546107e790612f10565b80156108345780601f1061080957610100808354040283529160200191610834565b820191906000526020600020905b81548152906001019060200180831161081757829003601f168201915b5050505050905090565b600061084982611a43565b610888576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161087f90612fb4565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006108ce82610e6c565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561093f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161093690613046565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1661095e611aaf565b73ffffffffffffffffffffffffffffffffffffffff16148061098d575061098c81610987611aaf565b61183a565b5b6109cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109c3906130d8565b60405180910390fd5b6109d68383611ab7565b505050565b600581565b600760159054906101000a900460ff1681565b60006109ff6009611b70565b905090565b600760159054906101000a900460ff16610a53576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a4a90613144565b60405180910390fd5b6000815111610a97576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a8e906131b0565b60405180910390fd5b600581511115610adc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ad39061321c565b60405180910390fd5b8051662386f26fc10000610af0919061326b565b341015610b32576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b2990613311565b60405180910390fd5b6106278151610b416009611b70565b610b4b9190613331565b1115610b8c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b83906133f9565b60405180910390fd5b60005b8151811015610bd957610bbc33838381518110610baf57610bae613419565b5b6020026020010151611b7e565b610bc66009611b9c565b8080610bd190613448565b915050610b8f565b5050565b610bee610be8611aaf565b82611bb2565b610c2d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c2490613503565b60405180910390fd5b610c38838383611c90565b505050565b611f8b81565b610c4b611aaf565b73ffffffffffffffffffffffffffffffffffffffff16610c69611237565b73ffffffffffffffffffffffffffffffffffffffff1614610cbf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cb69061356f565b60405180910390fd5b600760149054906101000a900460ff1615600760146101000a81548160ff021916908315150217905550565b610cf3611aaf565b73ffffffffffffffffffffffffffffffffffffffff16610d11611237565b73ffffffffffffffffffffffffffffffffffffffff1614610d67576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d5e9061356f565b60405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610db2573d6000803e3d6000fd5b5050565b610dd183838360405180602001604052806000815250611541565b505050565b610dde611aaf565b73ffffffffffffffffffffffffffffffffffffffff16610dfc611237565b73ffffffffffffffffffffffffffffffffffffffff1614610e52576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e499061356f565b60405180910390fd5b8060089080519060200190610e68929190612680565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610f15576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f0c90613601565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610f8f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f8690613693565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610fde611aaf565b73ffffffffffffffffffffffffffffffffffffffff16610ffc611237565b73ffffffffffffffffffffffffffffffffffffffff1614611052576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110499061356f565b60405180910390fd5b61105c6000611eec565b565b600760149054906101000a900460ff166110ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110a490613144565b60405180910390fd5b60008151116110f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110e8906131b0565b60405180910390fd5b600581511115611136576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161112d9061321c565b60405180910390fd5b8051662386f26fc1000061114a919061326b565b34101561118c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161118390613311565b60405180910390fd5b611f8b815161119b6009611b70565b6111a59190613331565b11156111e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111dd906136ff565b60405180910390fd5b60005b8151811015611233576112163383838151811061120957611208613419565b5b6020026020010151611b7e565b6112206009611b9c565b808061122b90613448565b9150506111e9565b5050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461127090612f10565b80601f016020809104026020016040519081016040528092919081815260200182805461129c90612f10565b80156112e95780601f106112be576101008083540402835291602001916112e9565b820191906000526020600020905b8154815290600101906020018083116112cc57829003601f168201915b5050505050905090565b6112fb611aaf565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611369576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113609061376b565b60405180910390fd5b8060056000611376611aaf565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611423611aaf565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161146891906127d7565b60405180910390a35050565b61147c611aaf565b73ffffffffffffffffffffffffffffffffffffffff1661149a611237565b73ffffffffffffffffffffffffffffffffffffffff16146114f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114e79061356f565b60405180910390fd5b60005b604b81101561153d576115203383838151811061151357611512613419565b5b6020026020010151611b7e565b61152a6009611b9c565b808061153590613448565b9150506114f3565b5050565b61155261154c611aaf565b83611bb2565b611591576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161158890613503565b60405180910390fd5b61159d84848484611fb2565b50505050565b60606115ae82611a43565b6115ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115e4906137fd565b60405180910390fd5b600060066000848152602001908152602001600020805461160d90612f10565b80601f016020809104026020016040519081016040528092919081815260200182805461163990612f10565b80156116865780601f1061165b57610100808354040283529160200191611686565b820191906000526020600020905b81548152906001019060200180831161166957829003601f168201915b50505050509050600061169761200e565b90506000815114156116ad5781925050506116f0565b6000825111156116e25780826040516020016116ca929190613859565b604051602081830303815290604052925050506116f0565b6116eb846120a0565b925050505b919050565b6116fd611aaf565b73ffffffffffffffffffffffffffffffffffffffff1661171b611237565b73ffffffffffffffffffffffffffffffffffffffff1614611771576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117689061356f565b60405180910390fd5b600760159054906101000a900460ff1615600760156101000a81548160ff021916908315150217905550565b6060600880546117ac90612f10565b80601f01602080910402602001604051908101604052809291908181526020018280546117d890612f10565b80156118255780601f106117fa57610100808354040283529160200191611825565b820191906000526020600020905b81548152906001019060200180831161180857829003601f168201915b5050505050905090565b662386f26fc1000081565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600760149054906101000a900460ff1681565b6118e9611aaf565b73ffffffffffffffffffffffffffffffffffffffff16611907611237565b73ffffffffffffffffffffffffffffffffffffffff161461195d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119549061356f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156119cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119c4906138ef565b60405180910390fd5b6119d681611eec565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611b2a83610e6c565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600081600001549050919050565b611b98828260405180602001604052806000815250612147565b5050565b6001816000016000828254019250508190555050565b6000611bbd82611a43565b611bfc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bf390613981565b60405180910390fd5b6000611c0783610e6c565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611c7657508373ffffffffffffffffffffffffffffffffffffffff16611c5e8461083e565b73ffffffffffffffffffffffffffffffffffffffff16145b80611c875750611c86818561183a565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611cb082610e6c565b73ffffffffffffffffffffffffffffffffffffffff1614611d06576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cfd90613a13565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611d76576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d6d90613aa5565b60405180910390fd5b611d818383836121a2565b611d8c600082611ab7565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611ddc9190613ac5565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611e339190613331565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b611fbd848484611c90565b611fc9848484846121a7565b612008576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fff90613b6b565b60405180910390fd5b50505050565b60606008805461201d90612f10565b80601f016020809104026020016040519081016040528092919081815260200182805461204990612f10565b80156120965780601f1061206b57610100808354040283529160200191612096565b820191906000526020600020905b81548152906001019060200180831161207957829003601f168201915b5050505050905090565b60606120ab82611a43565b6120ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120e190613bfd565b60405180910390fd5b60006120f461200e565b90506000815111612114576040518060200160405280600081525061213f565b8061211e8461233e565b60405160200161212f929190613859565b6040516020818303038152906040525b915050919050565b612151838361249f565b61215e60008484846121a7565b61219d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161219490613b6b565b60405180910390fd5b505050565b505050565b60006121c88473ffffffffffffffffffffffffffffffffffffffff1661266d565b15612331578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026121f1611aaf565b8786866040518563ffffffff1660e01b81526004016122139493929190613c72565b602060405180830381600087803b15801561222d57600080fd5b505af192505050801561225e57506040513d601f19601f8201168201806040525081019061225b9190613cd3565b60015b6122e1573d806000811461228e576040519150601f19603f3d011682016040523d82523d6000602084013e612293565b606091505b506000815114156122d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122d090613b6b565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612336565b600190505b949350505050565b60606000821415612386576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061249a565b600082905060005b600082146123b85780806123a190613448565b915050600a826123b19190613d2f565b915061238e565b60008167ffffffffffffffff8111156123d4576123d3612a07565b5b6040519080825280601f01601f1916602001820160405280156124065781602001600182028036833780820191505090505b5090505b600085146124935760018261241f9190613ac5565b9150600a8561242e9190613d60565b603061243a9190613331565b60f81b8183815181106124505761244f613419565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561248c9190613d2f565b945061240a565b8093505050505b919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561250f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161250690613ddd565b60405180910390fd5b61251881611a43565b15612558576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161254f90613e49565b60405180910390fd5b612564600083836121a2565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546125b49190613331565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b82805461268c90612f10565b90600052602060002090601f0160209004810192826126ae57600085556126f5565b82601f106126c757805160ff19168380011785556126f5565b828001600101855582156126f5579182015b828111156126f45782518255916020019190600101906126d9565b5b5090506127029190612706565b5090565b5b8082111561271f576000816000905550600101612707565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61276c81612737565b811461277757600080fd5b50565b60008135905061278981612763565b92915050565b6000602082840312156127a5576127a461272d565b5b60006127b38482850161277a565b91505092915050565b60008115159050919050565b6127d1816127bc565b82525050565b60006020820190506127ec60008301846127c8565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561282c578082015181840152602081019050612811565b8381111561283b576000848401525b50505050565b6000601f19601f8301169050919050565b600061285d826127f2565b61286781856127fd565b935061287781856020860161280e565b61288081612841565b840191505092915050565b600060208201905081810360008301526128a58184612852565b905092915050565b6000819050919050565b6128c0816128ad565b81146128cb57600080fd5b50565b6000813590506128dd816128b7565b92915050565b6000602082840312156128f9576128f861272d565b5b6000612907848285016128ce565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061293b82612910565b9050919050565b61294b81612930565b82525050565b60006020820190506129666000830184612942565b92915050565b61297581612930565b811461298057600080fd5b50565b6000813590506129928161296c565b92915050565b600080604083850312156129af576129ae61272d565b5b60006129bd85828601612983565b92505060206129ce858286016128ce565b9150509250929050565b6129e1816128ad565b82525050565b60006020820190506129fc60008301846129d8565b92915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612a3f82612841565b810181811067ffffffffffffffff82111715612a5e57612a5d612a07565b5b80604052505050565b6000612a71612723565b9050612a7d8282612a36565b919050565b600067ffffffffffffffff821115612a9d57612a9c612a07565b5b602082029050602081019050919050565b600080fd5b6000612ac6612ac184612a82565b612a67565b90508083825260208201905060208402830185811115612ae957612ae8612aae565b5b835b81811015612b125780612afe88826128ce565b845260208401935050602081019050612aeb565b5050509392505050565b600082601f830112612b3157612b30612a02565b5b8135612b41848260208601612ab3565b91505092915050565b600060208284031215612b6057612b5f61272d565b5b600082013567ffffffffffffffff811115612b7e57612b7d612732565b5b612b8a84828501612b1c565b91505092915050565b600080600060608486031215612bac57612bab61272d565b5b6000612bba86828701612983565b9350506020612bcb86828701612983565b9250506040612bdc868287016128ce565b9150509250925092565b600080fd5b600067ffffffffffffffff821115612c0657612c05612a07565b5b612c0f82612841565b9050602081019050919050565b82818337600083830152505050565b6000612c3e612c3984612beb565b612a67565b905082815260208101848484011115612c5a57612c59612be6565b5b612c65848285612c1c565b509392505050565b600082601f830112612c8257612c81612a02565b5b8135612c92848260208601612c2b565b91505092915050565b600060208284031215612cb157612cb061272d565b5b600082013567ffffffffffffffff811115612ccf57612cce612732565b5b612cdb84828501612c6d565b91505092915050565b600060208284031215612cfa57612cf961272d565b5b6000612d0884828501612983565b91505092915050565b612d1a816127bc565b8114612d2557600080fd5b50565b600081359050612d3781612d11565b92915050565b60008060408385031215612d5457612d5361272d565b5b6000612d6285828601612983565b9250506020612d7385828601612d28565b9150509250929050565b600067ffffffffffffffff821115612d9857612d97612a07565b5b612da182612841565b9050602081019050919050565b6000612dc1612dbc84612d7d565b612a67565b905082815260208101848484011115612ddd57612ddc612be6565b5b612de8848285612c1c565b509392505050565b600082601f830112612e0557612e04612a02565b5b8135612e15848260208601612dae565b91505092915050565b60008060008060808587031215612e3857612e3761272d565b5b6000612e4687828801612983565b9450506020612e5787828801612983565b9350506040612e68878288016128ce565b925050606085013567ffffffffffffffff811115612e8957612e88612732565b5b612e9587828801612df0565b91505092959194509250565b60008060408385031215612eb857612eb761272d565b5b6000612ec685828601612983565b9250506020612ed785828601612983565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680612f2857607f821691505b60208210811415612f3c57612f3b612ee1565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000612f9e602c836127fd565b9150612fa982612f42565b604082019050919050565b60006020820190508181036000830152612fcd81612f91565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b60006130306021836127fd565b915061303b82612fd4565b604082019050919050565b6000602082019050818103600083015261305f81613023565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b60006130c26038836127fd565b91506130cd82613066565b604082019050919050565b600060208201905081810360008301526130f1816130b5565b9050919050565b7f53616c65206973206e6f74206163746976650000000000000000000000000000600082015250565b600061312e6012836127fd565b9150613139826130f8565b602082019050919050565b6000602082019050818103600083015261315d81613121565b9050919050565b7f4e6f2047726164697320746f206d696e74000000000000000000000000000000600082015250565b600061319a6011836127fd565b91506131a582613164565b602082019050919050565b600060208201905081810360008301526131c98161318d565b9050919050565b7f6e756d626572206f662067726164697320696e636f7272656374000000000000600082015250565b6000613206601a836127fd565b9150613211826131d0565b602082019050919050565b60006020820190508181036000830152613235816131f9565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613276826128ad565b9150613281836128ad565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156132ba576132b961323c565b5b828202905092915050565b7f457468657220616d6f756e7420696e636f727265637400000000000000000000600082015250565b60006132fb6016836127fd565b9150613306826132c5565b602082019050919050565b6000602082019050818103600083015261332a816132ee565b9050919050565b600061333c826128ad565b9150613347836128ad565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561337c5761337b61323c565b5b828201905092915050565b7f50757263686173652065786365656473207768617420697320616c6c6f77656460008201527f20666f7220746865206c69737400000000000000000000000000000000000000602082015250565b60006133e3602d836127fd565b91506133ee82613387565b604082019050919050565b60006020820190508181036000830152613412816133d6565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000613453826128ad565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156134865761348561323c565b5b600182019050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b60006134ed6031836127fd565b91506134f882613491565b604082019050919050565b6000602082019050818103600083015261351c816134e0565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006135596020836127fd565b915061356482613523565b602082019050919050565b600060208201905081810360008301526135888161354c565b9050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b60006135eb6029836127fd565b91506135f68261358f565b604082019050919050565b6000602082019050818103600083015261361a816135de565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b600061367d602a836127fd565b915061368882613621565b604082019050919050565b600060208201905081810360008301526136ac81613670565b9050919050565b7f507572636861736520776f756c6420657863656564206d617820737570706c79600082015250565b60006136e96020836127fd565b91506136f4826136b3565b602082019050919050565b60006020820190508181036000830152613718816136dc565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b60006137556019836127fd565b91506137608261371f565b602082019050919050565b6000602082019050818103600083015261378481613748565b9050919050565b7f45524337323155524953746f726167653a2055524920717565727920666f722060008201527f6e6f6e6578697374656e7420746f6b656e000000000000000000000000000000602082015250565b60006137e76031836127fd565b91506137f28261378b565b604082019050919050565b60006020820190508181036000830152613816816137da565b9050919050565b600081905092915050565b6000613833826127f2565b61383d818561381d565b935061384d81856020860161280e565b80840191505092915050565b60006138658285613828565b91506138718284613828565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006138d96026836127fd565b91506138e48261387d565b604082019050919050565b60006020820190508181036000830152613908816138cc565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b600061396b602c836127fd565b91506139768261390f565b604082019050919050565b6000602082019050818103600083015261399a8161395e565b9050919050565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b60006139fd6029836127fd565b9150613a08826139a1565b604082019050919050565b60006020820190508181036000830152613a2c816139f0565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000613a8f6024836127fd565b9150613a9a82613a33565b604082019050919050565b60006020820190508181036000830152613abe81613a82565b9050919050565b6000613ad0826128ad565b9150613adb836128ad565b925082821015613aee57613aed61323c565b5b828203905092915050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000613b556032836127fd565b9150613b6082613af9565b604082019050919050565b60006020820190508181036000830152613b8481613b48565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000613be7602f836127fd565b9150613bf282613b8b565b604082019050919050565b60006020820190508181036000830152613c1681613bda565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000613c4482613c1d565b613c4e8185613c28565b9350613c5e81856020860161280e565b613c6781612841565b840191505092915050565b6000608082019050613c876000830187612942565b613c946020830186612942565b613ca160408301856129d8565b8181036060830152613cb38184613c39565b905095945050505050565b600081519050613ccd81612763565b92915050565b600060208284031215613ce957613ce861272d565b5b6000613cf784828501613cbe565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613d3a826128ad565b9150613d45836128ad565b925082613d5557613d54613d00565b5b828204905092915050565b6000613d6b826128ad565b9150613d76836128ad565b925082613d8657613d85613d00565b5b828206905092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000613dc76020836127fd565b9150613dd282613d91565b602082019050919050565b60006020820190508181036000830152613df681613dba565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000613e33601c836127fd565b9150613e3e82613dfd565b602082019050919050565b60006020820190508181036000830152613e6281613e26565b905091905056fea2646970667358221220ae082f4648c228443abf4873a67ff523ed82f84206f7572062b7cc9082f0615f64736f6c63430008090033

Deployed Bytecode

0x6080604052600436106101cd5760003560e01c806370a08231116100f7578063b88d4fde11610095578063e8ef65b811610064578063e8ef65b81461060e578063e985e9c514610639578063eb8d244414610676578063f2fde38b146106a1576101cd565b8063b88d4fde14610566578063c87b56dd1461058f578063d1beca64146105cc578063e8a3d485146105e3576101cd565b80638da5cb5b116100d15780638da5cb5b146104be57806395d89b41146104e9578063a22cb46514610514578063acb09b7b1461053d576101cd565b806370a082311461044e578063715018a61461048b578063833fb99f146104a2576101cd565b80631e0a5fa51161016f5780633ccfd60b1161013e5780633ccfd60b146103a857806342842e0e146103bf57806355f804b3146103e85780636352211e14610411576101cd565b80631e0a5fa51461032157806323b872dd1461033d578063288506b11461036657806334918dfd14610391576101cd565b8063095ea7b3116101ab578063095ea7b3146102775780630d4dd9d6146102a057806310b5454d146102cb57806318160ddd146102f6576101cd565b806301ffc9a7146101d257806306fdde031461020f578063081812fc1461023a575b600080fd5b3480156101de57600080fd5b506101f960048036038101906101f4919061278f565b6106ca565b60405161020691906127d7565b60405180910390f35b34801561021b57600080fd5b506102246107ac565b604051610231919061288b565b60405180910390f35b34801561024657600080fd5b50610261600480360381019061025c91906128e3565b61083e565b60405161026e9190612951565b60405180910390f35b34801561028357600080fd5b5061029e60048036038101906102999190612998565b6108c3565b005b3480156102ac57600080fd5b506102b56109db565b6040516102c291906129e7565b60405180910390f35b3480156102d757600080fd5b506102e06109e0565b6040516102ed91906127d7565b60405180910390f35b34801561030257600080fd5b5061030b6109f3565b60405161031891906129e7565b60405180910390f35b61033b60048036038101906103369190612b4a565b610a04565b005b34801561034957600080fd5b50610364600480360381019061035f9190612b93565b610bdd565b005b34801561037257600080fd5b5061037b610c3d565b60405161038891906129e7565b60405180910390f35b34801561039d57600080fd5b506103a6610c43565b005b3480156103b457600080fd5b506103bd610ceb565b005b3480156103cb57600080fd5b506103e660048036038101906103e19190612b93565b610db6565b005b3480156103f457600080fd5b5061040f600480360381019061040a9190612c9b565b610dd6565b005b34801561041d57600080fd5b50610438600480360381019061043391906128e3565b610e6c565b6040516104459190612951565b60405180910390f35b34801561045a57600080fd5b5061047560048036038101906104709190612ce4565b610f1e565b60405161048291906129e7565b60405180910390f35b34801561049757600080fd5b506104a0610fd6565b005b6104bc60048036038101906104b79190612b4a565b61105e565b005b3480156104ca57600080fd5b506104d3611237565b6040516104e09190612951565b60405180910390f35b3480156104f557600080fd5b506104fe611261565b60405161050b919061288b565b60405180910390f35b34801561052057600080fd5b5061053b60048036038101906105369190612d3d565b6112f3565b005b34801561054957600080fd5b50610564600480360381019061055f9190612b4a565b611474565b005b34801561057257600080fd5b5061058d60048036038101906105889190612e1e565b611541565b005b34801561059b57600080fd5b506105b660048036038101906105b191906128e3565b6115a3565b6040516105c3919061288b565b60405180910390f35b3480156105d857600080fd5b506105e16116f5565b005b3480156105ef57600080fd5b506105f861179d565b604051610605919061288b565b60405180910390f35b34801561061a57600080fd5b5061062361182f565b60405161063091906129e7565b60405180910390f35b34801561064557600080fd5b50610660600480360381019061065b9190612ea1565b61183a565b60405161066d91906127d7565b60405180910390f35b34801561068257600080fd5b5061068b6118ce565b60405161069891906127d7565b60405180910390f35b3480156106ad57600080fd5b506106c860048036038101906106c39190612ce4565b6118e1565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061079557507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806107a557506107a4826119d9565b5b9050919050565b6060600080546107bb90612f10565b80601f01602080910402602001604051908101604052809291908181526020018280546107e790612f10565b80156108345780601f1061080957610100808354040283529160200191610834565b820191906000526020600020905b81548152906001019060200180831161081757829003601f168201915b5050505050905090565b600061084982611a43565b610888576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161087f90612fb4565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006108ce82610e6c565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561093f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161093690613046565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1661095e611aaf565b73ffffffffffffffffffffffffffffffffffffffff16148061098d575061098c81610987611aaf565b61183a565b5b6109cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109c3906130d8565b60405180910390fd5b6109d68383611ab7565b505050565b600581565b600760159054906101000a900460ff1681565b60006109ff6009611b70565b905090565b600760159054906101000a900460ff16610a53576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a4a90613144565b60405180910390fd5b6000815111610a97576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a8e906131b0565b60405180910390fd5b600581511115610adc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ad39061321c565b60405180910390fd5b8051662386f26fc10000610af0919061326b565b341015610b32576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b2990613311565b60405180910390fd5b6106278151610b416009611b70565b610b4b9190613331565b1115610b8c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b83906133f9565b60405180910390fd5b60005b8151811015610bd957610bbc33838381518110610baf57610bae613419565b5b6020026020010151611b7e565b610bc66009611b9c565b8080610bd190613448565b915050610b8f565b5050565b610bee610be8611aaf565b82611bb2565b610c2d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c2490613503565b60405180910390fd5b610c38838383611c90565b505050565b611f8b81565b610c4b611aaf565b73ffffffffffffffffffffffffffffffffffffffff16610c69611237565b73ffffffffffffffffffffffffffffffffffffffff1614610cbf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cb69061356f565b60405180910390fd5b600760149054906101000a900460ff1615600760146101000a81548160ff021916908315150217905550565b610cf3611aaf565b73ffffffffffffffffffffffffffffffffffffffff16610d11611237565b73ffffffffffffffffffffffffffffffffffffffff1614610d67576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d5e9061356f565b60405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610db2573d6000803e3d6000fd5b5050565b610dd183838360405180602001604052806000815250611541565b505050565b610dde611aaf565b73ffffffffffffffffffffffffffffffffffffffff16610dfc611237565b73ffffffffffffffffffffffffffffffffffffffff1614610e52576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e499061356f565b60405180910390fd5b8060089080519060200190610e68929190612680565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610f15576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f0c90613601565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610f8f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f8690613693565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610fde611aaf565b73ffffffffffffffffffffffffffffffffffffffff16610ffc611237565b73ffffffffffffffffffffffffffffffffffffffff1614611052576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110499061356f565b60405180910390fd5b61105c6000611eec565b565b600760149054906101000a900460ff166110ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110a490613144565b60405180910390fd5b60008151116110f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110e8906131b0565b60405180910390fd5b600581511115611136576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161112d9061321c565b60405180910390fd5b8051662386f26fc1000061114a919061326b565b34101561118c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161118390613311565b60405180910390fd5b611f8b815161119b6009611b70565b6111a59190613331565b11156111e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111dd906136ff565b60405180910390fd5b60005b8151811015611233576112163383838151811061120957611208613419565b5b6020026020010151611b7e565b6112206009611b9c565b808061122b90613448565b9150506111e9565b5050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461127090612f10565b80601f016020809104026020016040519081016040528092919081815260200182805461129c90612f10565b80156112e95780601f106112be576101008083540402835291602001916112e9565b820191906000526020600020905b8154815290600101906020018083116112cc57829003601f168201915b5050505050905090565b6112fb611aaf565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611369576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113609061376b565b60405180910390fd5b8060056000611376611aaf565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611423611aaf565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161146891906127d7565b60405180910390a35050565b61147c611aaf565b73ffffffffffffffffffffffffffffffffffffffff1661149a611237565b73ffffffffffffffffffffffffffffffffffffffff16146114f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114e79061356f565b60405180910390fd5b60005b604b81101561153d576115203383838151811061151357611512613419565b5b6020026020010151611b7e565b61152a6009611b9c565b808061153590613448565b9150506114f3565b5050565b61155261154c611aaf565b83611bb2565b611591576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161158890613503565b60405180910390fd5b61159d84848484611fb2565b50505050565b60606115ae82611a43565b6115ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115e4906137fd565b60405180910390fd5b600060066000848152602001908152602001600020805461160d90612f10565b80601f016020809104026020016040519081016040528092919081815260200182805461163990612f10565b80156116865780601f1061165b57610100808354040283529160200191611686565b820191906000526020600020905b81548152906001019060200180831161166957829003601f168201915b50505050509050600061169761200e565b90506000815114156116ad5781925050506116f0565b6000825111156116e25780826040516020016116ca929190613859565b604051602081830303815290604052925050506116f0565b6116eb846120a0565b925050505b919050565b6116fd611aaf565b73ffffffffffffffffffffffffffffffffffffffff1661171b611237565b73ffffffffffffffffffffffffffffffffffffffff1614611771576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117689061356f565b60405180910390fd5b600760159054906101000a900460ff1615600760156101000a81548160ff021916908315150217905550565b6060600880546117ac90612f10565b80601f01602080910402602001604051908101604052809291908181526020018280546117d890612f10565b80156118255780601f106117fa57610100808354040283529160200191611825565b820191906000526020600020905b81548152906001019060200180831161180857829003601f168201915b5050505050905090565b662386f26fc1000081565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600760149054906101000a900460ff1681565b6118e9611aaf565b73ffffffffffffffffffffffffffffffffffffffff16611907611237565b73ffffffffffffffffffffffffffffffffffffffff161461195d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119549061356f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156119cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119c4906138ef565b60405180910390fd5b6119d681611eec565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611b2a83610e6c565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600081600001549050919050565b611b98828260405180602001604052806000815250612147565b5050565b6001816000016000828254019250508190555050565b6000611bbd82611a43565b611bfc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bf390613981565b60405180910390fd5b6000611c0783610e6c565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611c7657508373ffffffffffffffffffffffffffffffffffffffff16611c5e8461083e565b73ffffffffffffffffffffffffffffffffffffffff16145b80611c875750611c86818561183a565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611cb082610e6c565b73ffffffffffffffffffffffffffffffffffffffff1614611d06576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cfd90613a13565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611d76576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d6d90613aa5565b60405180910390fd5b611d818383836121a2565b611d8c600082611ab7565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611ddc9190613ac5565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611e339190613331565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b611fbd848484611c90565b611fc9848484846121a7565b612008576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fff90613b6b565b60405180910390fd5b50505050565b60606008805461201d90612f10565b80601f016020809104026020016040519081016040528092919081815260200182805461204990612f10565b80156120965780601f1061206b57610100808354040283529160200191612096565b820191906000526020600020905b81548152906001019060200180831161207957829003601f168201915b5050505050905090565b60606120ab82611a43565b6120ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120e190613bfd565b60405180910390fd5b60006120f461200e565b90506000815111612114576040518060200160405280600081525061213f565b8061211e8461233e565b60405160200161212f929190613859565b6040516020818303038152906040525b915050919050565b612151838361249f565b61215e60008484846121a7565b61219d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161219490613b6b565b60405180910390fd5b505050565b505050565b60006121c88473ffffffffffffffffffffffffffffffffffffffff1661266d565b15612331578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026121f1611aaf565b8786866040518563ffffffff1660e01b81526004016122139493929190613c72565b602060405180830381600087803b15801561222d57600080fd5b505af192505050801561225e57506040513d601f19601f8201168201806040525081019061225b9190613cd3565b60015b6122e1573d806000811461228e576040519150601f19603f3d011682016040523d82523d6000602084013e612293565b606091505b506000815114156122d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122d090613b6b565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612336565b600190505b949350505050565b60606000821415612386576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061249a565b600082905060005b600082146123b85780806123a190613448565b915050600a826123b19190613d2f565b915061238e565b60008167ffffffffffffffff8111156123d4576123d3612a07565b5b6040519080825280601f01601f1916602001820160405280156124065781602001600182028036833780820191505090505b5090505b600085146124935760018261241f9190613ac5565b9150600a8561242e9190613d60565b603061243a9190613331565b60f81b8183815181106124505761244f613419565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561248c9190613d2f565b945061240a565b8093505050505b919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561250f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161250690613ddd565b60405180910390fd5b61251881611a43565b15612558576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161254f90613e49565b60405180910390fd5b612564600083836121a2565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546125b49190613331565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b82805461268c90612f10565b90600052602060002090601f0160209004810192826126ae57600085556126f5565b82601f106126c757805160ff19168380011785556126f5565b828001600101855582156126f5579182015b828111156126f45782518255916020019190600101906126d9565b5b5090506127029190612706565b5090565b5b8082111561271f576000816000905550600101612707565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61276c81612737565b811461277757600080fd5b50565b60008135905061278981612763565b92915050565b6000602082840312156127a5576127a461272d565b5b60006127b38482850161277a565b91505092915050565b60008115159050919050565b6127d1816127bc565b82525050565b60006020820190506127ec60008301846127c8565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561282c578082015181840152602081019050612811565b8381111561283b576000848401525b50505050565b6000601f19601f8301169050919050565b600061285d826127f2565b61286781856127fd565b935061287781856020860161280e565b61288081612841565b840191505092915050565b600060208201905081810360008301526128a58184612852565b905092915050565b6000819050919050565b6128c0816128ad565b81146128cb57600080fd5b50565b6000813590506128dd816128b7565b92915050565b6000602082840312156128f9576128f861272d565b5b6000612907848285016128ce565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061293b82612910565b9050919050565b61294b81612930565b82525050565b60006020820190506129666000830184612942565b92915050565b61297581612930565b811461298057600080fd5b50565b6000813590506129928161296c565b92915050565b600080604083850312156129af576129ae61272d565b5b60006129bd85828601612983565b92505060206129ce858286016128ce565b9150509250929050565b6129e1816128ad565b82525050565b60006020820190506129fc60008301846129d8565b92915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612a3f82612841565b810181811067ffffffffffffffff82111715612a5e57612a5d612a07565b5b80604052505050565b6000612a71612723565b9050612a7d8282612a36565b919050565b600067ffffffffffffffff821115612a9d57612a9c612a07565b5b602082029050602081019050919050565b600080fd5b6000612ac6612ac184612a82565b612a67565b90508083825260208201905060208402830185811115612ae957612ae8612aae565b5b835b81811015612b125780612afe88826128ce565b845260208401935050602081019050612aeb565b5050509392505050565b600082601f830112612b3157612b30612a02565b5b8135612b41848260208601612ab3565b91505092915050565b600060208284031215612b6057612b5f61272d565b5b600082013567ffffffffffffffff811115612b7e57612b7d612732565b5b612b8a84828501612b1c565b91505092915050565b600080600060608486031215612bac57612bab61272d565b5b6000612bba86828701612983565b9350506020612bcb86828701612983565b9250506040612bdc868287016128ce565b9150509250925092565b600080fd5b600067ffffffffffffffff821115612c0657612c05612a07565b5b612c0f82612841565b9050602081019050919050565b82818337600083830152505050565b6000612c3e612c3984612beb565b612a67565b905082815260208101848484011115612c5a57612c59612be6565b5b612c65848285612c1c565b509392505050565b600082601f830112612c8257612c81612a02565b5b8135612c92848260208601612c2b565b91505092915050565b600060208284031215612cb157612cb061272d565b5b600082013567ffffffffffffffff811115612ccf57612cce612732565b5b612cdb84828501612c6d565b91505092915050565b600060208284031215612cfa57612cf961272d565b5b6000612d0884828501612983565b91505092915050565b612d1a816127bc565b8114612d2557600080fd5b50565b600081359050612d3781612d11565b92915050565b60008060408385031215612d5457612d5361272d565b5b6000612d6285828601612983565b9250506020612d7385828601612d28565b9150509250929050565b600067ffffffffffffffff821115612d9857612d97612a07565b5b612da182612841565b9050602081019050919050565b6000612dc1612dbc84612d7d565b612a67565b905082815260208101848484011115612ddd57612ddc612be6565b5b612de8848285612c1c565b509392505050565b600082601f830112612e0557612e04612a02565b5b8135612e15848260208601612dae565b91505092915050565b60008060008060808587031215612e3857612e3761272d565b5b6000612e4687828801612983565b9450506020612e5787828801612983565b9350506040612e68878288016128ce565b925050606085013567ffffffffffffffff811115612e8957612e88612732565b5b612e9587828801612df0565b91505092959194509250565b60008060408385031215612eb857612eb761272d565b5b6000612ec685828601612983565b9250506020612ed785828601612983565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680612f2857607f821691505b60208210811415612f3c57612f3b612ee1565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000612f9e602c836127fd565b9150612fa982612f42565b604082019050919050565b60006020820190508181036000830152612fcd81612f91565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b60006130306021836127fd565b915061303b82612fd4565b604082019050919050565b6000602082019050818103600083015261305f81613023565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b60006130c26038836127fd565b91506130cd82613066565b604082019050919050565b600060208201905081810360008301526130f1816130b5565b9050919050565b7f53616c65206973206e6f74206163746976650000000000000000000000000000600082015250565b600061312e6012836127fd565b9150613139826130f8565b602082019050919050565b6000602082019050818103600083015261315d81613121565b9050919050565b7f4e6f2047726164697320746f206d696e74000000000000000000000000000000600082015250565b600061319a6011836127fd565b91506131a582613164565b602082019050919050565b600060208201905081810360008301526131c98161318d565b9050919050565b7f6e756d626572206f662067726164697320696e636f7272656374000000000000600082015250565b6000613206601a836127fd565b9150613211826131d0565b602082019050919050565b60006020820190508181036000830152613235816131f9565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613276826128ad565b9150613281836128ad565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156132ba576132b961323c565b5b828202905092915050565b7f457468657220616d6f756e7420696e636f727265637400000000000000000000600082015250565b60006132fb6016836127fd565b9150613306826132c5565b602082019050919050565b6000602082019050818103600083015261332a816132ee565b9050919050565b600061333c826128ad565b9150613347836128ad565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561337c5761337b61323c565b5b828201905092915050565b7f50757263686173652065786365656473207768617420697320616c6c6f77656460008201527f20666f7220746865206c69737400000000000000000000000000000000000000602082015250565b60006133e3602d836127fd565b91506133ee82613387565b604082019050919050565b60006020820190508181036000830152613412816133d6565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000613453826128ad565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156134865761348561323c565b5b600182019050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b60006134ed6031836127fd565b91506134f882613491565b604082019050919050565b6000602082019050818103600083015261351c816134e0565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006135596020836127fd565b915061356482613523565b602082019050919050565b600060208201905081810360008301526135888161354c565b9050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b60006135eb6029836127fd565b91506135f68261358f565b604082019050919050565b6000602082019050818103600083015261361a816135de565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b600061367d602a836127fd565b915061368882613621565b604082019050919050565b600060208201905081810360008301526136ac81613670565b9050919050565b7f507572636861736520776f756c6420657863656564206d617820737570706c79600082015250565b60006136e96020836127fd565b91506136f4826136b3565b602082019050919050565b60006020820190508181036000830152613718816136dc565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b60006137556019836127fd565b91506137608261371f565b602082019050919050565b6000602082019050818103600083015261378481613748565b9050919050565b7f45524337323155524953746f726167653a2055524920717565727920666f722060008201527f6e6f6e6578697374656e7420746f6b656e000000000000000000000000000000602082015250565b60006137e76031836127fd565b91506137f28261378b565b604082019050919050565b60006020820190508181036000830152613816816137da565b9050919050565b600081905092915050565b6000613833826127f2565b61383d818561381d565b935061384d81856020860161280e565b80840191505092915050565b60006138658285613828565b91506138718284613828565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006138d96026836127fd565b91506138e48261387d565b604082019050919050565b60006020820190508181036000830152613908816138cc565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b600061396b602c836127fd565b91506139768261390f565b604082019050919050565b6000602082019050818103600083015261399a8161395e565b9050919050565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b60006139fd6029836127fd565b9150613a08826139a1565b604082019050919050565b60006020820190508181036000830152613a2c816139f0565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000613a8f6024836127fd565b9150613a9a82613a33565b604082019050919050565b60006020820190508181036000830152613abe81613a82565b9050919050565b6000613ad0826128ad565b9150613adb836128ad565b925082821015613aee57613aed61323c565b5b828203905092915050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000613b556032836127fd565b9150613b6082613af9565b604082019050919050565b60006020820190508181036000830152613b8481613b48565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000613be7602f836127fd565b9150613bf282613b8b565b604082019050919050565b60006020820190508181036000830152613c1681613bda565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000613c4482613c1d565b613c4e8185613c28565b9350613c5e81856020860161280e565b613c6781612841565b840191505092915050565b6000608082019050613c876000830187612942565b613c946020830186612942565b613ca160408301856129d8565b8181036060830152613cb38184613c39565b905095945050505050565b600081519050613ccd81612763565b92915050565b600060208284031215613ce957613ce861272d565b5b6000613cf784828501613cbe565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613d3a826128ad565b9150613d45836128ad565b925082613d5557613d54613d00565b5b828204905092915050565b6000613d6b826128ad565b9150613d76836128ad565b925082613d8657613d85613d00565b5b828206905092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000613dc76020836127fd565b9150613dd282613d91565b602082019050919050565b60006020820190508181036000830152613df681613dba565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000613e33601c836127fd565b9150613e3e82613dfd565b602082019050919050565b60006020820190508181036000830152613e6281613e26565b905091905056fea2646970667358221220ae082f4648c228443abf4873a67ff523ed82f84206f7572062b7cc9082f0615f64736f6c63430008090033

Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.