ETH Price: $2,626.35 (-1.66%)

Token

Grifters2 (G2)
 

Overview

Max Total Supply

100 G2

Holders

35

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 G2
0x48d673b192919D94c48C647C77f6e5E55f8A6913
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
Grifters2

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2022-08-05
*/

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.4;


// 
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)
/**
 * @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;
    }
}

// 
// OpenZeppelin Contracts v4.4.1 (access/Ownable.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() {
        _transferOwnership(_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 {
        _transferOwnership(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");
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

// 
// OpenZeppelin Contracts v4.4.1 (utils/Counters.sol)
/**
 * @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;
    }
}

// 
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)
/**
 * @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);
}

// 
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.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;
}

// 
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol)
/**
 * @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);
}

// 
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.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);
}

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

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

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

// 
// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)
/**
 * @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
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 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);
            }
        }
    }
}

// 
// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)
/**
 * @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);
    }
}

// 
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.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;
    }
}

// 
// Creator: Chiru Labs
/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata and Enumerable extension. Built to optimize for lower gas during batch mints.
 *
 * Assumes serials are sequentially minted starting at 0 (e.g. 0, 1, 2, 3..).
 *
 * Does not support burning tokens to address(0).
 *
 * Assumes that an owner cannot have more than the 2**128 - 1 (max value of uint128) of supply
 */
contract ERC721A is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable {
    using Address for address;
    using Strings for uint256;

    struct TokenOwnership {
        address addr;
        uint64 startTimestamp;
    }

    struct AddressData {
        uint128 balance;
        uint128 numberMinted;
    }

    uint256 internal currentIndex;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to ownership details
    // An empty struct value does not necessarily mean the token is unowned. See ownershipOf implementation for details.
    mapping(uint256 => TokenOwnership) internal _ownerships;

    // Mapping owner address to address data
    mapping(address => AddressData) private _addressData;

    // 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;

    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

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

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

    /**
     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
     * This read function is O(totalSupply). If calling from a separate contract, be sure to test gas first.
     * It may also degrade with extremely large collection sizes (e.g >> 10000), test for your use case.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) public view override returns (uint256) {
        require(index < balanceOf(owner), 'ERC721A: owner index out of bounds');
        uint256 numMintedSoFar = totalSupply();
        uint256 tokenIdsIdx;
        address currOwnershipAddr;

        // Counter overflow is impossible as the loop breaks when uint256 i is equal to another uint256 numMintedSoFar.
        unchecked {
            for (uint256 i; i < numMintedSoFar; i++) {
                TokenOwnership memory ownership = _ownerships[i];
                if (ownership.addr != address(0)) {
                    currOwnershipAddr = ownership.addr;
                }
                if (currOwnershipAddr == owner) {
                    if (tokenIdsIdx == index) {
                        return i;
                    }
                    tokenIdsIdx++;
                }
            }
        }

        revert('ERC721A: unable to get token of owner by index');
    }

    /**
     * @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 ||
            interfaceId == type(IERC721Enumerable).interfaceId ||
            super.supportsInterface(interfaceId);
    }

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

    function _numberMinted(address owner) internal view returns (uint256) {
        require(owner != address(0), 'ERC721A: number minted query for the zero address');
        return uint256(_addressData[owner].numberMinted);
    }

    /**
     * Gas spent here starts off proportional to the maximum mint batch size.
     * It gradually moves to O(1) as tokens get transferred around in the collection over time.
     */
    function ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) {
        require(_exists(tokenId), 'ERC721A: owner query for nonexistent token');

        unchecked {
            for (uint256 curr = tokenId; curr >= 0; curr--) {
                TokenOwnership memory ownership = _ownerships[curr];
                if (ownership.addr != address(0)) {
                    return ownership;
                }
            }
        }

        revert('ERC721A: unable to determine the owner of token');
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view override returns (address) {
        return ownershipOf(tokenId).addr;
    }

    /**
     * @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 override {
        address owner = ERC721A.ownerOf(tokenId);
        require(to != owner, 'ERC721A: approval to current owner');

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

        _approve(to, tokenId, owner);
    }

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

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public override {
        require(operator != _msgSender(), 'ERC721A: 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 override {
        _transfer(from, to, tokenId);
    }

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

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public override {
        _transfer(from, to, tokenId);
        require(
            _checkOnERC721Received(from, to, tokenId, _data),
            'ERC721A: 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`),
     */
    function _exists(uint256 tokenId) internal view returns (bool) {
        return tokenId < currentIndex;
    }

    function _safeMint(address to, uint256 quantity) internal {
        _safeMint(to, quantity, '');
    }

    /**
     * @dev Safely mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called for each safe transfer.
     * - `quantity` must be greater than 0.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(
        address to,
        uint256 quantity,
        bytes memory _data
    ) internal {
        _mint(to, quantity, _data, true);
    }

    /**
     * @dev Mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `quantity` must be greater than 0.
     *
     * Emits a {Transfer} event.
     */
    function _mint(
        address to,
        uint256 quantity,
        bytes memory _data,
        bool safe
    ) internal {
        uint256 startTokenId = currentIndex;
        require(to != address(0), 'ERC721A: mint to the zero address');
        require(quantity != 0, 'ERC721A: quantity must be greater than 0');

        _beforeTokenTransfers(address(0), to, startTokenId, quantity);

        // Overflows are incredibly unrealistic.
        // balance or numberMinted overflow if current value of either + quantity > 3.4e38 (2**128) - 1
        // updatedIndex overflows if currentIndex + quantity > 1.56e77 (2**256) - 1
        unchecked {
            _addressData[to].balance += uint128(quantity);
            _addressData[to].numberMinted += uint128(quantity);

            _ownerships[startTokenId].addr = to;
            _ownerships[startTokenId].startTimestamp = uint64(block.timestamp);

            uint256 updatedIndex = startTokenId;

            for (uint256 i; i < quantity; i++) {
                emit Transfer(address(0), to, updatedIndex);
                if (safe) {
                    require(
                        _checkOnERC721Received(address(0), to, updatedIndex, _data),
                        'ERC721A: transfer to non ERC721Receiver implementer'
                    );
                }

                updatedIndex++;
            }

            currentIndex = updatedIndex;
        }

        _afterTokenTransfers(address(0), to, startTokenId, quantity);
    }

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * 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
    ) private {
        TokenOwnership memory prevOwnership = ownershipOf(tokenId);

        bool isApprovedOrOwner = (_msgSender() == prevOwnership.addr ||
            getApproved(tokenId) == _msgSender() ||
            isApprovedForAll(prevOwnership.addr, _msgSender()));

        require(isApprovedOrOwner, 'ERC721A: transfer caller is not owner nor approved');

        require(prevOwnership.addr == from, 'ERC721A: transfer from incorrect owner');
        require(to != address(0), 'ERC721A: transfer to the zero address');

        _beforeTokenTransfers(from, to, tokenId, 1);

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

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256.
        unchecked {
            _addressData[from].balance -= 1;
            _addressData[to].balance += 1;

            _ownerships[tokenId].addr = to;
            _ownerships[tokenId].startTimestamp = uint64(block.timestamp);

            // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it.
            // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
            uint256 nextTokenId = tokenId + 1;
            if (_ownerships[nextTokenId].addr == address(0)) {
                if (_exists(nextTokenId)) {
                    _ownerships[nextTokenId].addr = prevOwnership.addr;
                    _ownerships[nextTokenId].startTimestamp = prevOwnership.startTimestamp;
                }
            }
        }

        emit Transfer(from, to, tokenId);
        _afterTokenTransfers(from, to, tokenId, 1);
    }

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

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

    /**
     * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting.
     *
     * startTokenId - the first token id to be transferred
     * quantity - the amount to be transferred
     *
     * 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`.
     */
    function _beforeTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}

    /**
     * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes
     * minting.
     *
     * startTokenId - the first token id to be transferred
     * quantity - the amount to be transferred
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero.
     * - `from` and `to` are never both zero.
     */
    function _afterTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}
}

//
contract Grifters2 is ERC721A, Ownable {
    using Counters for Counters.Counter;
    using Strings for uint256;

    Counters.Counter private tokenIdCounter;

    string baseURI;
    uint256 public maximumSupply = 666;

    uint256 public maxFree = 1; 
    mapping(address => uint256) public countFree;

    bool public paused = false;
    
    constructor(string memory _initBaseURI) ERC721A("Grifters2", "G2") {
        setBaseURI(_initBaseURI);
    }

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

    function mint(uint256 quantity) external payable {
        uint256 supply = tokenIdCounter.current();

        require(!paused, "Sale paused");

        require(quantity <= 1, "You can mint maximum 1 for free.");

        require(supply + quantity <= maximumSupply, "Exceeds maximum supply");

        require(countFree[msg.sender] < maxFree);

        _safeMint(msg.sender, quantity);

        for (uint256 i = 0; i < quantity; i++) {
            tokenIdCounter.increment(); 
        }

        countFree[msg.sender] += maxFree;
    }

    function teamMint(uint256 quantity) external payable onlyOwner {
        uint256 supply = tokenIdCounter.current();

        require(quantity <= 66, "You can mint maximum 66 for the team.");

        require(supply + quantity <= maximumSupply, "Exceeds maximum supply");

        _safeMint(msg.sender, quantity);

        for (uint256 i = 0; i < quantity; i++) {
            tokenIdCounter.increment(); 
        }
    }

    function getCurrentId() external view returns (uint256) {
        return tokenIdCounter.current();
    }

    function tokenURI(uint256 tokenId)
        public
        view
        virtual
        override
        returns (string memory)
    {
        return string(abi.encodePacked(baseURI, tokenId.toString()));
    }

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

    function setPausedState(bool val) public onlyOwner {
        paused = val;
    }

    function withdrawAll() public onlyOwner {
        uint256 balance = address(this).balance;
        require(payable(msg.sender).send(balance));
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_initBaseURI","type":"string"}],"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":[{"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":[{"internalType":"address","name":"","type":"address"}],"name":"countFree","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getCurrentId","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":"maxFree","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maximumSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mint","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":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"val","type":"bool"}],"name":"setPausedState","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":"quantity","type":"uint256"}],"name":"teamMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405261029a600a556001600b556000600d60006101000a81548160ff0219169083151502179055503480156200003757600080fd5b50604051620045ac380380620045ac83398181016040528101906200005d9190620003fa565b6040518060400160405280600981526020017f47726966746572733200000000000000000000000000000000000000000000008152506040518060400160405280600281526020017f47320000000000000000000000000000000000000000000000000000000000008152508160019080519060200190620000e1929190620002d8565b508060029080519060200190620000fa929190620002d8565b5050506200011d620001116200013560201b60201c565b6200013d60201b60201c565b6200012e816200020360201b60201c565b5062000632565b600033905090565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620002136200013560201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1662000239620002ae60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff161462000292576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002899062000466565b60405180910390fd5b8060099080519060200190620002aa929190620002d8565b5050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b828054620002e6906200052e565b90600052602060002090601f0160209004810192826200030a576000855562000356565b82601f106200032557805160ff191683800117855562000356565b8280016001018555821562000356579182015b828111156200035557825182559160200191906001019062000338565b5b50905062000365919062000369565b5090565b5b80821115620003845760008160009055506001016200036a565b5090565b60006200039f6200039984620004b1565b62000488565b905082815260208101848484011115620003b857600080fd5b620003c5848285620004f8565b509392505050565b600082601f830112620003df57600080fd5b8151620003f184826020860162000388565b91505092915050565b6000602082840312156200040d57600080fd5b600082015167ffffffffffffffff8111156200042857600080fd5b6200043684828501620003cd565b91505092915050565b60006200044e602083620004e7565b91506200045b8262000609565b602082019050919050565b6000602082019050818103600083015262000481816200043f565b9050919050565b600062000494620004a7565b9050620004a2828262000564565b919050565b6000604051905090565b600067ffffffffffffffff821115620004cf57620004ce620005c9565b5b620004da82620005f8565b9050602081019050919050565b600082825260208201905092915050565b60005b8381101562000518578082015181840152602081019050620004fb565b8381111562000528576000848401525b50505050565b600060028204905060018216806200054757607f821691505b602082108114156200055e576200055d6200059a565b5b50919050565b6200056f82620005f8565b810181811067ffffffffffffffff82111715620005915762000590620005c9565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b613f6a80620006426000396000f3fe6080604052600436106101c25760003560e01c80635c975abb116100f757806395d89b4111610095578063c87b56dd11610064578063c87b56dd14610626578063db9f60ff14610663578063e985e9c51461068c578063f2fde38b146106c9576101c2565b806395d89b411461058d578063a0712d68146105b8578063a22cb465146105d4578063b88d4fde146105fd576101c2565b806370a08231116100d157806370a08231146104f7578063715018a614610534578063853828b61461054b5780638da5cb5b14610562576101c2565b80635c975abb146104645780636352211e1461048f5780636c143862146104cc576101c2565b80632d10252f1161016457806342842e0e1161013e57806342842e0e146103aa578063485a68a3146103d35780634f6ccce7146103fe57806355f804b31461043b576101c2565b80632d10252f146103145780632f745c59146103515780632fbba1151461038e576101c2565b8063081812fc116101a0578063081812fc1461025a578063095ea7b31461029757806318160ddd146102c057806323b872dd146102eb576101c2565b806301ffc9a7146101c75780630480e58b1461020457806306fdde031461022f575b600080fd5b3480156101d357600080fd5b506101ee60048036038101906101e99190612c22565b6106f2565b6040516101fb91906131ba565b60405180910390f35b34801561021057600080fd5b5061021961083c565b60405161022691906134b7565b60405180910390f35b34801561023b57600080fd5b50610244610842565b60405161025191906131d5565b60405180910390f35b34801561026657600080fd5b50610281600480360381019061027c9190612cb5565b6108d4565b60405161028e9190613153565b60405180910390f35b3480156102a357600080fd5b506102be60048036038101906102b99190612bbd565b610959565b005b3480156102cc57600080fd5b506102d5610a72565b6040516102e291906134b7565b60405180910390f35b3480156102f757600080fd5b50610312600480360381019061030d9190612ab7565b610a7b565b005b34801561032057600080fd5b5061033b60048036038101906103369190612a52565b610a8b565b60405161034891906134b7565b60405180910390f35b34801561035d57600080fd5b5061037860048036038101906103739190612bbd565b610aa3565b60405161038591906134b7565b60405180910390f35b6103a860048036038101906103a39190612cb5565b610c95565b005b3480156103b657600080fd5b506103d160048036038101906103cc9190612ab7565b610dea565b005b3480156103df57600080fd5b506103e8610e0a565b6040516103f591906134b7565b60405180910390f35b34801561040a57600080fd5b5061042560048036038101906104209190612cb5565b610e10565b60405161043291906134b7565b60405180910390f35b34801561044757600080fd5b50610462600480360381019061045d9190612c74565b610e63565b005b34801561047057600080fd5b50610479610ef9565b60405161048691906131ba565b60405180910390f35b34801561049b57600080fd5b506104b660048036038101906104b19190612cb5565b610f0c565b6040516104c39190613153565b60405180910390f35b3480156104d857600080fd5b506104e1610f22565b6040516104ee91906134b7565b60405180910390f35b34801561050357600080fd5b5061051e60048036038101906105199190612a52565b610f33565b60405161052b91906134b7565b60405180910390f35b34801561054057600080fd5b5061054961101c565b005b34801561055757600080fd5b506105606110a4565b005b34801561056e57600080fd5b50610577611166565b6040516105849190613153565b60405180910390f35b34801561059957600080fd5b506105a2611190565b6040516105af91906131d5565b60405180910390f35b6105d260048036038101906105cd9190612cb5565b611222565b005b3480156105e057600080fd5b506105fb60048036038101906105f69190612b81565b6113f0565b005b34801561060957600080fd5b50610624600480360381019061061f9190612b06565b611571565b005b34801561063257600080fd5b5061064d60048036038101906106489190612cb5565b6115cd565b60405161065a91906131d5565b60405180910390f35b34801561066f57600080fd5b5061068a60048036038101906106859190612bf9565b611601565b005b34801561069857600080fd5b506106b360048036038101906106ae9190612a7b565b61169a565b6040516106c091906131ba565b60405180910390f35b3480156106d557600080fd5b506106f060048036038101906106eb9190612a52565b61172e565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806107bd57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061082557507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610835575061083482611826565b5b9050919050565b600a5481565b60606001805461085190613722565b80601f016020809104026020016040519081016040528092919081815260200182805461087d90613722565b80156108ca5780601f1061089f576101008083540402835291602001916108ca565b820191906000526020600020905b8154815290600101906020018083116108ad57829003601f168201915b5050505050905090565b60006108df82611890565b61091e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161091590613497565b60405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061096482610f0c565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156109d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cc906133d7565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166109f461189d565b73ffffffffffffffffffffffffffffffffffffffff161480610a235750610a2281610a1d61189d565b61169a565b5b610a62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a59906132f7565b60405180910390fd5b610a6d8383836118a5565b505050565b60008054905090565b610a86838383611957565b505050565b600c6020528060005260406000206000915090505481565b6000610aae83610f33565b8210610aef576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ae690613217565b60405180910390fd5b6000610af9610a72565b905060008060005b83811015610c53576000600360008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614610bf357806000015192505b8773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c455786841415610c3c578195505050505050610c8f565b83806001019450505b508080600101915050610b01565b506040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c8690613457565b60405180910390fd5b92915050565b610c9d61189d565b73ffffffffffffffffffffffffffffffffffffffff16610cbb611166565b73ffffffffffffffffffffffffffffffffffffffff1614610d11576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d0890613357565b60405180910390fd5b6000610d1d6008611e97565b90506042821115610d63576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d5a906132d7565b60405180910390fd5b600a548282610d7291906135b1565b1115610db3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610daa906133b7565b60405180910390fd5b610dbd3383611ea5565b60005b82811015610de557610dd26008611ec3565b8080610ddd90613785565b915050610dc0565b505050565b610e0583838360405180602001604052806000815250611571565b505050565b600b5481565b6000610e1a610a72565b8210610e5b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e5290613297565b60405180910390fd5b819050919050565b610e6b61189d565b73ffffffffffffffffffffffffffffffffffffffff16610e89611166565b73ffffffffffffffffffffffffffffffffffffffff1614610edf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ed690613357565b60405180910390fd5b8060099080519060200190610ef592919061283c565b5050565b600d60009054906101000a900460ff1681565b6000610f1782611ed9565b600001519050919050565b6000610f2e6008611e97565b905090565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610fa4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9b90613317565b60405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff169050919050565b61102461189d565b73ffffffffffffffffffffffffffffffffffffffff16611042611166565b73ffffffffffffffffffffffffffffffffffffffff1614611098576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161108f90613357565b60405180910390fd5b6110a26000612073565b565b6110ac61189d565b73ffffffffffffffffffffffffffffffffffffffff166110ca611166565b73ffffffffffffffffffffffffffffffffffffffff1614611120576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161111790613357565b60405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f1935050505061116357600080fd5b50565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606002805461119f90613722565b80601f01602080910402602001604051908101604052809291908181526020018280546111cb90613722565b80156112185780601f106111ed57610100808354040283529160200191611218565b820191906000526020600020905b8154815290600101906020018083116111fb57829003601f168201915b5050505050905090565b600061122e6008611e97565b9050600d60009054906101000a900460ff1615611280576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161127790613237565b60405180910390fd5b60018211156112c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112bb906131f7565b60405180910390fd5b600a5482826112d391906135b1565b1115611314576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161130b906133b7565b60405180910390fd5b600b54600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541061136157600080fd5b61136b3383611ea5565b60005b82811015611393576113806008611ec3565b808061138b90613785565b91505061136e565b50600b54600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546113e591906135b1565b925050819055505050565b6113f861189d565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611466576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161145d90613377565b60405180910390fd5b806006600061147361189d565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661152061189d565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161156591906131ba565b60405180910390a35050565b61157c848484611957565b61158884848484612139565b6115c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115be906133f7565b60405180910390fd5b50505050565b606060096115da836122d0565b6040516020016115eb92919061312f565b6040516020818303038152906040529050919050565b61160961189d565b73ffffffffffffffffffffffffffffffffffffffff16611627611166565b73ffffffffffffffffffffffffffffffffffffffff161461167d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161167490613357565b60405180910390fd5b80600d60006101000a81548160ff02191690831515021790555050565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61173661189d565b73ffffffffffffffffffffffffffffffffffffffff16611754611166565b73ffffffffffffffffffffffffffffffffffffffff16146117aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117a190613357565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561181a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161181190613257565b60405180910390fd5b61182381612073565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000805482109050919050565b600033905090565b826005600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600061196282611ed9565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff1661198961189d565b73ffffffffffffffffffffffffffffffffffffffff1614806119e557506119ae61189d565b73ffffffffffffffffffffffffffffffffffffffff166119cd846108d4565b73ffffffffffffffffffffffffffffffffffffffff16145b80611a015750611a0082600001516119fb61189d565b61169a565b5b905080611a43576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a3a90613397565b60405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff1614611ab5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aac90613337565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611b25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b1c906132b7565b60405180910390fd5b611b32858585600161247d565b611b4260008484600001516118a5565b6001600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff160392506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff1602179055506001600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff160192506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff160217905550836003600085815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426003600085815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600184019050600073ffffffffffffffffffffffffffffffffffffffff166003600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415611e2757611d8681611890565b15611e265782600001516003600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082602001516003600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b50828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611e908585856001612483565b5050505050565b600081600001549050919050565b611ebf828260405180602001604052806000815250612489565b5050565b6001816000016000828254019250508190555050565b611ee16128c2565b611eea82611890565b611f29576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f2090613277565b60405180910390fd5b60008290505b60008110612032576000600360008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461202357809250505061206e565b50808060019003915050611f2f565b506040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161206590613477565b60405180910390fd5b919050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600061215a8473ffffffffffffffffffffffffffffffffffffffff1661249b565b156122c3578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261218361189d565b8786866040518563ffffffff1660e01b81526004016121a5949392919061316e565b602060405180830381600087803b1580156121bf57600080fd5b505af19250505080156121f057506040513d601f19601f820116820180604052508101906121ed9190612c4b565b60015b612273573d8060008114612220576040519150601f19603f3d011682016040523d82523d6000602084013e612225565b606091505b5060008151141561226b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612262906133f7565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506122c8565b600190505b949350505050565b60606000821415612318576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612478565b600082905060005b6000821461234a57808061233390613785565b915050600a826123439190613607565b9150612320565b60008167ffffffffffffffff81111561238c577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156123be5781602001600182028036833780820191505090505b5090505b60008514612471576001826123d79190613638565b9150600a856123e691906137ce565b60306123f291906135b1565b60f81b81838151811061242e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561246a9190613607565b94506123c2565b8093505050505b919050565b50505050565b50505050565b61249683838360016124be565b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415612534576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161252b90613417565b60405180910390fd5b6000841415612578576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161256f90613437565b60405180910390fd5b612585600086838761247d565b83600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff160192506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555083600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160108282829054906101000a90046fffffffffffffffffffffffffffffffff160192506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff160217905550846003600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426003600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600081905060005b8581101561281f57818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4831561280a576127ca6000888488612139565b612809576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612800906133f7565b60405180910390fd5b5b81806001019250508080600101915050612753565b5080600081905550506128356000868387612483565b5050505050565b82805461284890613722565b90600052602060002090601f01602090048101928261286a57600085556128b1565b82601f1061288357805160ff19168380011785556128b1565b828001600101855582156128b1579182015b828111156128b0578251825591602001919060010190612895565b5b5090506128be91906128fc565b5090565b6040518060400160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681525090565b5b808211156129155760008160009055506001016128fd565b5090565b600061292c612927846134f7565b6134d2565b90508281526020810184848401111561294457600080fd5b61294f8482856136e0565b509392505050565b600061296a61296584613528565b6134d2565b90508281526020810184848401111561298257600080fd5b61298d8482856136e0565b509392505050565b6000813590506129a481613ed8565b92915050565b6000813590506129b981613eef565b92915050565b6000813590506129ce81613f06565b92915050565b6000815190506129e381613f06565b92915050565b600082601f8301126129fa57600080fd5b8135612a0a848260208601612919565b91505092915050565b600082601f830112612a2457600080fd5b8135612a34848260208601612957565b91505092915050565b600081359050612a4c81613f1d565b92915050565b600060208284031215612a6457600080fd5b6000612a7284828501612995565b91505092915050565b60008060408385031215612a8e57600080fd5b6000612a9c85828601612995565b9250506020612aad85828601612995565b9150509250929050565b600080600060608486031215612acc57600080fd5b6000612ada86828701612995565b9350506020612aeb86828701612995565b9250506040612afc86828701612a3d565b9150509250925092565b60008060008060808587031215612b1c57600080fd5b6000612b2a87828801612995565b9450506020612b3b87828801612995565b9350506040612b4c87828801612a3d565b925050606085013567ffffffffffffffff811115612b6957600080fd5b612b75878288016129e9565b91505092959194509250565b60008060408385031215612b9457600080fd5b6000612ba285828601612995565b9250506020612bb3858286016129aa565b9150509250929050565b60008060408385031215612bd057600080fd5b6000612bde85828601612995565b9250506020612bef85828601612a3d565b9150509250929050565b600060208284031215612c0b57600080fd5b6000612c19848285016129aa565b91505092915050565b600060208284031215612c3457600080fd5b6000612c42848285016129bf565b91505092915050565b600060208284031215612c5d57600080fd5b6000612c6b848285016129d4565b91505092915050565b600060208284031215612c8657600080fd5b600082013567ffffffffffffffff811115612ca057600080fd5b612cac84828501612a13565b91505092915050565b600060208284031215612cc757600080fd5b6000612cd584828501612a3d565b91505092915050565b612ce78161366c565b82525050565b612cf68161367e565b82525050565b6000612d078261356e565b612d118185613584565b9350612d218185602086016136ef565b612d2a816138bb565b840191505092915050565b6000612d4082613579565b612d4a8185613595565b9350612d5a8185602086016136ef565b612d63816138bb565b840191505092915050565b6000612d7982613579565b612d8381856135a6565b9350612d938185602086016136ef565b80840191505092915050565b60008154612dac81613722565b612db681866135a6565b94506001821660008114612dd15760018114612de257612e15565b60ff19831686528186019350612e15565b612deb85613559565b60005b83811015612e0d57815481890152600182019150602081019050612dee565b838801955050505b50505092915050565b6000612e2b602083613595565b9150612e36826138cc565b602082019050919050565b6000612e4e602283613595565b9150612e59826138f5565b604082019050919050565b6000612e71600b83613595565b9150612e7c82613944565b602082019050919050565b6000612e94602683613595565b9150612e9f8261396d565b604082019050919050565b6000612eb7602a83613595565b9150612ec2826139bc565b604082019050919050565b6000612eda602383613595565b9150612ee582613a0b565b604082019050919050565b6000612efd602583613595565b9150612f0882613a5a565b604082019050919050565b6000612f20602583613595565b9150612f2b82613aa9565b604082019050919050565b6000612f43603983613595565b9150612f4e82613af8565b604082019050919050565b6000612f66602b83613595565b9150612f7182613b47565b604082019050919050565b6000612f89602683613595565b9150612f9482613b96565b604082019050919050565b6000612fac602083613595565b9150612fb782613be5565b602082019050919050565b6000612fcf601a83613595565b9150612fda82613c0e565b602082019050919050565b6000612ff2603283613595565b9150612ffd82613c37565b604082019050919050565b6000613015601683613595565b915061302082613c86565b602082019050919050565b6000613038602283613595565b915061304382613caf565b604082019050919050565b600061305b603383613595565b915061306682613cfe565b604082019050919050565b600061307e602183613595565b915061308982613d4d565b604082019050919050565b60006130a1602883613595565b91506130ac82613d9c565b604082019050919050565b60006130c4602e83613595565b91506130cf82613deb565b604082019050919050565b60006130e7602f83613595565b91506130f282613e3a565b604082019050919050565b600061310a602d83613595565b915061311582613e89565b604082019050919050565b613129816136d6565b82525050565b600061313b8285612d9f565b91506131478284612d6e565b91508190509392505050565b60006020820190506131686000830184612cde565b92915050565b60006080820190506131836000830187612cde565b6131906020830186612cde565b61319d6040830185613120565b81810360608301526131af8184612cfc565b905095945050505050565b60006020820190506131cf6000830184612ced565b92915050565b600060208201905081810360008301526131ef8184612d35565b905092915050565b6000602082019050818103600083015261321081612e1e565b9050919050565b6000602082019050818103600083015261323081612e41565b9050919050565b6000602082019050818103600083015261325081612e64565b9050919050565b6000602082019050818103600083015261327081612e87565b9050919050565b6000602082019050818103600083015261329081612eaa565b9050919050565b600060208201905081810360008301526132b081612ecd565b9050919050565b600060208201905081810360008301526132d081612ef0565b9050919050565b600060208201905081810360008301526132f081612f13565b9050919050565b6000602082019050818103600083015261331081612f36565b9050919050565b6000602082019050818103600083015261333081612f59565b9050919050565b6000602082019050818103600083015261335081612f7c565b9050919050565b6000602082019050818103600083015261337081612f9f565b9050919050565b6000602082019050818103600083015261339081612fc2565b9050919050565b600060208201905081810360008301526133b081612fe5565b9050919050565b600060208201905081810360008301526133d081613008565b9050919050565b600060208201905081810360008301526133f08161302b565b9050919050565b600060208201905081810360008301526134108161304e565b9050919050565b6000602082019050818103600083015261343081613071565b9050919050565b6000602082019050818103600083015261345081613094565b9050919050565b60006020820190508181036000830152613470816130b7565b9050919050565b60006020820190508181036000830152613490816130da565b9050919050565b600060208201905081810360008301526134b0816130fd565b9050919050565b60006020820190506134cc6000830184613120565b92915050565b60006134dc6134ed565b90506134e88282613754565b919050565b6000604051905090565b600067ffffffffffffffff8211156135125761351161388c565b5b61351b826138bb565b9050602081019050919050565b600067ffffffffffffffff8211156135435761354261388c565b5b61354c826138bb565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006135bc826136d6565b91506135c7836136d6565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156135fc576135fb6137ff565b5b828201905092915050565b6000613612826136d6565b915061361d836136d6565b92508261362d5761362c61382e565b5b828204905092915050565b6000613643826136d6565b915061364e836136d6565b925082821015613661576136606137ff565b5b828203905092915050565b6000613677826136b6565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b8381101561370d5780820151818401526020810190506136f2565b8381111561371c576000848401525b50505050565b6000600282049050600182168061373a57607f821691505b6020821081141561374e5761374d61385d565b5b50919050565b61375d826138bb565b810181811067ffffffffffffffff8211171561377c5761377b61388c565b5b80604052505050565b6000613790826136d6565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156137c3576137c26137ff565b5b600182019050919050565b60006137d9826136d6565b91506137e4836136d6565b9250826137f4576137f361382e565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f596f752063616e206d696e74206d6178696d756d203120666f7220667265652e600082015250565b7f455243373231413a206f776e657220696e646578206f7574206f6620626f756e60008201527f6473000000000000000000000000000000000000000000000000000000000000602082015250565b7f53616c6520706175736564000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f455243373231413a206f776e657220717565727920666f72206e6f6e6578697360008201527f74656e7420746f6b656e00000000000000000000000000000000000000000000602082015250565b7f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f7560008201527f6e64730000000000000000000000000000000000000000000000000000000000602082015250565b7f455243373231413a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f596f752063616e206d696e74206d6178696d756d20363620666f72207468652060008201527f7465616d2e000000000000000000000000000000000000000000000000000000602082015250565b7f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f76656420666f7220616c6c00000000000000602082015250565b7f455243373231413a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b7f455243373231413a207472616e736665722066726f6d20696e636f727265637460008201527f206f776e65720000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f455243373231413a20617070726f766520746f2063616c6c6572000000000000600082015250565b7f455243373231413a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b7f45786365656473206d6178696d756d20737570706c7900000000000000000000600082015250565b7f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60008201527f6572000000000000000000000000000000000000000000000000000000000000602082015250565b7f455243373231413a207472616e7366657220746f206e6f6e204552433732315260008201527f6563656976657220696d706c656d656e74657200000000000000000000000000602082015250565b7f455243373231413a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b7f455243373231413a207175616e74697479206d7573742062652067726561746560008201527f72207468616e2030000000000000000000000000000000000000000000000000602082015250565b7f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060008201527f6f776e657220627920696e646578000000000000000000000000000000000000602082015250565b7f455243373231413a20756e61626c6520746f2064657465726d696e652074686560008201527f206f776e6572206f6620746f6b656e0000000000000000000000000000000000602082015250565b7f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560008201527f78697374656e7420746f6b656e00000000000000000000000000000000000000602082015250565b613ee18161366c565b8114613eec57600080fd5b50565b613ef88161367e565b8114613f0357600080fd5b50565b613f0f8161368a565b8114613f1a57600080fd5b50565b613f26816136d6565b8114613f3157600080fd5b5056fea26469706673582212201a7b1ebf4049055b518607ae3fcd5adcf849be84704a7054e762dd18e8b608ae64736f6c634300080400330000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000005668747470733a2f2f6173796e632d6170692e636f6d2f6765742d746f6b656e3f616464726573733d3078633134336262666364626462656436643435343830333830343735326130363461363232633166332669643d00000000000000000000

Deployed Bytecode

0x6080604052600436106101c25760003560e01c80635c975abb116100f757806395d89b4111610095578063c87b56dd11610064578063c87b56dd14610626578063db9f60ff14610663578063e985e9c51461068c578063f2fde38b146106c9576101c2565b806395d89b411461058d578063a0712d68146105b8578063a22cb465146105d4578063b88d4fde146105fd576101c2565b806370a08231116100d157806370a08231146104f7578063715018a614610534578063853828b61461054b5780638da5cb5b14610562576101c2565b80635c975abb146104645780636352211e1461048f5780636c143862146104cc576101c2565b80632d10252f1161016457806342842e0e1161013e57806342842e0e146103aa578063485a68a3146103d35780634f6ccce7146103fe57806355f804b31461043b576101c2565b80632d10252f146103145780632f745c59146103515780632fbba1151461038e576101c2565b8063081812fc116101a0578063081812fc1461025a578063095ea7b31461029757806318160ddd146102c057806323b872dd146102eb576101c2565b806301ffc9a7146101c75780630480e58b1461020457806306fdde031461022f575b600080fd5b3480156101d357600080fd5b506101ee60048036038101906101e99190612c22565b6106f2565b6040516101fb91906131ba565b60405180910390f35b34801561021057600080fd5b5061021961083c565b60405161022691906134b7565b60405180910390f35b34801561023b57600080fd5b50610244610842565b60405161025191906131d5565b60405180910390f35b34801561026657600080fd5b50610281600480360381019061027c9190612cb5565b6108d4565b60405161028e9190613153565b60405180910390f35b3480156102a357600080fd5b506102be60048036038101906102b99190612bbd565b610959565b005b3480156102cc57600080fd5b506102d5610a72565b6040516102e291906134b7565b60405180910390f35b3480156102f757600080fd5b50610312600480360381019061030d9190612ab7565b610a7b565b005b34801561032057600080fd5b5061033b60048036038101906103369190612a52565b610a8b565b60405161034891906134b7565b60405180910390f35b34801561035d57600080fd5b5061037860048036038101906103739190612bbd565b610aa3565b60405161038591906134b7565b60405180910390f35b6103a860048036038101906103a39190612cb5565b610c95565b005b3480156103b657600080fd5b506103d160048036038101906103cc9190612ab7565b610dea565b005b3480156103df57600080fd5b506103e8610e0a565b6040516103f591906134b7565b60405180910390f35b34801561040a57600080fd5b5061042560048036038101906104209190612cb5565b610e10565b60405161043291906134b7565b60405180910390f35b34801561044757600080fd5b50610462600480360381019061045d9190612c74565b610e63565b005b34801561047057600080fd5b50610479610ef9565b60405161048691906131ba565b60405180910390f35b34801561049b57600080fd5b506104b660048036038101906104b19190612cb5565b610f0c565b6040516104c39190613153565b60405180910390f35b3480156104d857600080fd5b506104e1610f22565b6040516104ee91906134b7565b60405180910390f35b34801561050357600080fd5b5061051e60048036038101906105199190612a52565b610f33565b60405161052b91906134b7565b60405180910390f35b34801561054057600080fd5b5061054961101c565b005b34801561055757600080fd5b506105606110a4565b005b34801561056e57600080fd5b50610577611166565b6040516105849190613153565b60405180910390f35b34801561059957600080fd5b506105a2611190565b6040516105af91906131d5565b60405180910390f35b6105d260048036038101906105cd9190612cb5565b611222565b005b3480156105e057600080fd5b506105fb60048036038101906105f69190612b81565b6113f0565b005b34801561060957600080fd5b50610624600480360381019061061f9190612b06565b611571565b005b34801561063257600080fd5b5061064d60048036038101906106489190612cb5565b6115cd565b60405161065a91906131d5565b60405180910390f35b34801561066f57600080fd5b5061068a60048036038101906106859190612bf9565b611601565b005b34801561069857600080fd5b506106b360048036038101906106ae9190612a7b565b61169a565b6040516106c091906131ba565b60405180910390f35b3480156106d557600080fd5b506106f060048036038101906106eb9190612a52565b61172e565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806107bd57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061082557507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610835575061083482611826565b5b9050919050565b600a5481565b60606001805461085190613722565b80601f016020809104026020016040519081016040528092919081815260200182805461087d90613722565b80156108ca5780601f1061089f576101008083540402835291602001916108ca565b820191906000526020600020905b8154815290600101906020018083116108ad57829003601f168201915b5050505050905090565b60006108df82611890565b61091e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161091590613497565b60405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061096482610f0c565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156109d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cc906133d7565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166109f461189d565b73ffffffffffffffffffffffffffffffffffffffff161480610a235750610a2281610a1d61189d565b61169a565b5b610a62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a59906132f7565b60405180910390fd5b610a6d8383836118a5565b505050565b60008054905090565b610a86838383611957565b505050565b600c6020528060005260406000206000915090505481565b6000610aae83610f33565b8210610aef576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ae690613217565b60405180910390fd5b6000610af9610a72565b905060008060005b83811015610c53576000600360008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614610bf357806000015192505b8773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c455786841415610c3c578195505050505050610c8f565b83806001019450505b508080600101915050610b01565b506040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c8690613457565b60405180910390fd5b92915050565b610c9d61189d565b73ffffffffffffffffffffffffffffffffffffffff16610cbb611166565b73ffffffffffffffffffffffffffffffffffffffff1614610d11576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d0890613357565b60405180910390fd5b6000610d1d6008611e97565b90506042821115610d63576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d5a906132d7565b60405180910390fd5b600a548282610d7291906135b1565b1115610db3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610daa906133b7565b60405180910390fd5b610dbd3383611ea5565b60005b82811015610de557610dd26008611ec3565b8080610ddd90613785565b915050610dc0565b505050565b610e0583838360405180602001604052806000815250611571565b505050565b600b5481565b6000610e1a610a72565b8210610e5b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e5290613297565b60405180910390fd5b819050919050565b610e6b61189d565b73ffffffffffffffffffffffffffffffffffffffff16610e89611166565b73ffffffffffffffffffffffffffffffffffffffff1614610edf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ed690613357565b60405180910390fd5b8060099080519060200190610ef592919061283c565b5050565b600d60009054906101000a900460ff1681565b6000610f1782611ed9565b600001519050919050565b6000610f2e6008611e97565b905090565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610fa4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9b90613317565b60405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff169050919050565b61102461189d565b73ffffffffffffffffffffffffffffffffffffffff16611042611166565b73ffffffffffffffffffffffffffffffffffffffff1614611098576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161108f90613357565b60405180910390fd5b6110a26000612073565b565b6110ac61189d565b73ffffffffffffffffffffffffffffffffffffffff166110ca611166565b73ffffffffffffffffffffffffffffffffffffffff1614611120576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161111790613357565b60405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f1935050505061116357600080fd5b50565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606002805461119f90613722565b80601f01602080910402602001604051908101604052809291908181526020018280546111cb90613722565b80156112185780601f106111ed57610100808354040283529160200191611218565b820191906000526020600020905b8154815290600101906020018083116111fb57829003601f168201915b5050505050905090565b600061122e6008611e97565b9050600d60009054906101000a900460ff1615611280576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161127790613237565b60405180910390fd5b60018211156112c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112bb906131f7565b60405180910390fd5b600a5482826112d391906135b1565b1115611314576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161130b906133b7565b60405180910390fd5b600b54600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541061136157600080fd5b61136b3383611ea5565b60005b82811015611393576113806008611ec3565b808061138b90613785565b91505061136e565b50600b54600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546113e591906135b1565b925050819055505050565b6113f861189d565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611466576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161145d90613377565b60405180910390fd5b806006600061147361189d565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661152061189d565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161156591906131ba565b60405180910390a35050565b61157c848484611957565b61158884848484612139565b6115c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115be906133f7565b60405180910390fd5b50505050565b606060096115da836122d0565b6040516020016115eb92919061312f565b6040516020818303038152906040529050919050565b61160961189d565b73ffffffffffffffffffffffffffffffffffffffff16611627611166565b73ffffffffffffffffffffffffffffffffffffffff161461167d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161167490613357565b60405180910390fd5b80600d60006101000a81548160ff02191690831515021790555050565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61173661189d565b73ffffffffffffffffffffffffffffffffffffffff16611754611166565b73ffffffffffffffffffffffffffffffffffffffff16146117aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117a190613357565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561181a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161181190613257565b60405180910390fd5b61182381612073565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000805482109050919050565b600033905090565b826005600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600061196282611ed9565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff1661198961189d565b73ffffffffffffffffffffffffffffffffffffffff1614806119e557506119ae61189d565b73ffffffffffffffffffffffffffffffffffffffff166119cd846108d4565b73ffffffffffffffffffffffffffffffffffffffff16145b80611a015750611a0082600001516119fb61189d565b61169a565b5b905080611a43576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a3a90613397565b60405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff1614611ab5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aac90613337565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611b25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b1c906132b7565b60405180910390fd5b611b32858585600161247d565b611b4260008484600001516118a5565b6001600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff160392506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff1602179055506001600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff160192506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff160217905550836003600085815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426003600085815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600184019050600073ffffffffffffffffffffffffffffffffffffffff166003600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415611e2757611d8681611890565b15611e265782600001516003600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082602001516003600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b50828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611e908585856001612483565b5050505050565b600081600001549050919050565b611ebf828260405180602001604052806000815250612489565b5050565b6001816000016000828254019250508190555050565b611ee16128c2565b611eea82611890565b611f29576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f2090613277565b60405180910390fd5b60008290505b60008110612032576000600360008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461202357809250505061206e565b50808060019003915050611f2f565b506040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161206590613477565b60405180910390fd5b919050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600061215a8473ffffffffffffffffffffffffffffffffffffffff1661249b565b156122c3578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261218361189d565b8786866040518563ffffffff1660e01b81526004016121a5949392919061316e565b602060405180830381600087803b1580156121bf57600080fd5b505af19250505080156121f057506040513d601f19601f820116820180604052508101906121ed9190612c4b565b60015b612273573d8060008114612220576040519150601f19603f3d011682016040523d82523d6000602084013e612225565b606091505b5060008151141561226b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612262906133f7565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506122c8565b600190505b949350505050565b60606000821415612318576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612478565b600082905060005b6000821461234a57808061233390613785565b915050600a826123439190613607565b9150612320565b60008167ffffffffffffffff81111561238c577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156123be5781602001600182028036833780820191505090505b5090505b60008514612471576001826123d79190613638565b9150600a856123e691906137ce565b60306123f291906135b1565b60f81b81838151811061242e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561246a9190613607565b94506123c2565b8093505050505b919050565b50505050565b50505050565b61249683838360016124be565b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415612534576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161252b90613417565b60405180910390fd5b6000841415612578576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161256f90613437565b60405180910390fd5b612585600086838761247d565b83600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff160192506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555083600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160108282829054906101000a90046fffffffffffffffffffffffffffffffff160192506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff160217905550846003600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426003600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600081905060005b8581101561281f57818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4831561280a576127ca6000888488612139565b612809576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612800906133f7565b60405180910390fd5b5b81806001019250508080600101915050612753565b5080600081905550506128356000868387612483565b5050505050565b82805461284890613722565b90600052602060002090601f01602090048101928261286a57600085556128b1565b82601f1061288357805160ff19168380011785556128b1565b828001600101855582156128b1579182015b828111156128b0578251825591602001919060010190612895565b5b5090506128be91906128fc565b5090565b6040518060400160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681525090565b5b808211156129155760008160009055506001016128fd565b5090565b600061292c612927846134f7565b6134d2565b90508281526020810184848401111561294457600080fd5b61294f8482856136e0565b509392505050565b600061296a61296584613528565b6134d2565b90508281526020810184848401111561298257600080fd5b61298d8482856136e0565b509392505050565b6000813590506129a481613ed8565b92915050565b6000813590506129b981613eef565b92915050565b6000813590506129ce81613f06565b92915050565b6000815190506129e381613f06565b92915050565b600082601f8301126129fa57600080fd5b8135612a0a848260208601612919565b91505092915050565b600082601f830112612a2457600080fd5b8135612a34848260208601612957565b91505092915050565b600081359050612a4c81613f1d565b92915050565b600060208284031215612a6457600080fd5b6000612a7284828501612995565b91505092915050565b60008060408385031215612a8e57600080fd5b6000612a9c85828601612995565b9250506020612aad85828601612995565b9150509250929050565b600080600060608486031215612acc57600080fd5b6000612ada86828701612995565b9350506020612aeb86828701612995565b9250506040612afc86828701612a3d565b9150509250925092565b60008060008060808587031215612b1c57600080fd5b6000612b2a87828801612995565b9450506020612b3b87828801612995565b9350506040612b4c87828801612a3d565b925050606085013567ffffffffffffffff811115612b6957600080fd5b612b75878288016129e9565b91505092959194509250565b60008060408385031215612b9457600080fd5b6000612ba285828601612995565b9250506020612bb3858286016129aa565b9150509250929050565b60008060408385031215612bd057600080fd5b6000612bde85828601612995565b9250506020612bef85828601612a3d565b9150509250929050565b600060208284031215612c0b57600080fd5b6000612c19848285016129aa565b91505092915050565b600060208284031215612c3457600080fd5b6000612c42848285016129bf565b91505092915050565b600060208284031215612c5d57600080fd5b6000612c6b848285016129d4565b91505092915050565b600060208284031215612c8657600080fd5b600082013567ffffffffffffffff811115612ca057600080fd5b612cac84828501612a13565b91505092915050565b600060208284031215612cc757600080fd5b6000612cd584828501612a3d565b91505092915050565b612ce78161366c565b82525050565b612cf68161367e565b82525050565b6000612d078261356e565b612d118185613584565b9350612d218185602086016136ef565b612d2a816138bb565b840191505092915050565b6000612d4082613579565b612d4a8185613595565b9350612d5a8185602086016136ef565b612d63816138bb565b840191505092915050565b6000612d7982613579565b612d8381856135a6565b9350612d938185602086016136ef565b80840191505092915050565b60008154612dac81613722565b612db681866135a6565b94506001821660008114612dd15760018114612de257612e15565b60ff19831686528186019350612e15565b612deb85613559565b60005b83811015612e0d57815481890152600182019150602081019050612dee565b838801955050505b50505092915050565b6000612e2b602083613595565b9150612e36826138cc565b602082019050919050565b6000612e4e602283613595565b9150612e59826138f5565b604082019050919050565b6000612e71600b83613595565b9150612e7c82613944565b602082019050919050565b6000612e94602683613595565b9150612e9f8261396d565b604082019050919050565b6000612eb7602a83613595565b9150612ec2826139bc565b604082019050919050565b6000612eda602383613595565b9150612ee582613a0b565b604082019050919050565b6000612efd602583613595565b9150612f0882613a5a565b604082019050919050565b6000612f20602583613595565b9150612f2b82613aa9565b604082019050919050565b6000612f43603983613595565b9150612f4e82613af8565b604082019050919050565b6000612f66602b83613595565b9150612f7182613b47565b604082019050919050565b6000612f89602683613595565b9150612f9482613b96565b604082019050919050565b6000612fac602083613595565b9150612fb782613be5565b602082019050919050565b6000612fcf601a83613595565b9150612fda82613c0e565b602082019050919050565b6000612ff2603283613595565b9150612ffd82613c37565b604082019050919050565b6000613015601683613595565b915061302082613c86565b602082019050919050565b6000613038602283613595565b915061304382613caf565b604082019050919050565b600061305b603383613595565b915061306682613cfe565b604082019050919050565b600061307e602183613595565b915061308982613d4d565b604082019050919050565b60006130a1602883613595565b91506130ac82613d9c565b604082019050919050565b60006130c4602e83613595565b91506130cf82613deb565b604082019050919050565b60006130e7602f83613595565b91506130f282613e3a565b604082019050919050565b600061310a602d83613595565b915061311582613e89565b604082019050919050565b613129816136d6565b82525050565b600061313b8285612d9f565b91506131478284612d6e565b91508190509392505050565b60006020820190506131686000830184612cde565b92915050565b60006080820190506131836000830187612cde565b6131906020830186612cde565b61319d6040830185613120565b81810360608301526131af8184612cfc565b905095945050505050565b60006020820190506131cf6000830184612ced565b92915050565b600060208201905081810360008301526131ef8184612d35565b905092915050565b6000602082019050818103600083015261321081612e1e565b9050919050565b6000602082019050818103600083015261323081612e41565b9050919050565b6000602082019050818103600083015261325081612e64565b9050919050565b6000602082019050818103600083015261327081612e87565b9050919050565b6000602082019050818103600083015261329081612eaa565b9050919050565b600060208201905081810360008301526132b081612ecd565b9050919050565b600060208201905081810360008301526132d081612ef0565b9050919050565b600060208201905081810360008301526132f081612f13565b9050919050565b6000602082019050818103600083015261331081612f36565b9050919050565b6000602082019050818103600083015261333081612f59565b9050919050565b6000602082019050818103600083015261335081612f7c565b9050919050565b6000602082019050818103600083015261337081612f9f565b9050919050565b6000602082019050818103600083015261339081612fc2565b9050919050565b600060208201905081810360008301526133b081612fe5565b9050919050565b600060208201905081810360008301526133d081613008565b9050919050565b600060208201905081810360008301526133f08161302b565b9050919050565b600060208201905081810360008301526134108161304e565b9050919050565b6000602082019050818103600083015261343081613071565b9050919050565b6000602082019050818103600083015261345081613094565b9050919050565b60006020820190508181036000830152613470816130b7565b9050919050565b60006020820190508181036000830152613490816130da565b9050919050565b600060208201905081810360008301526134b0816130fd565b9050919050565b60006020820190506134cc6000830184613120565b92915050565b60006134dc6134ed565b90506134e88282613754565b919050565b6000604051905090565b600067ffffffffffffffff8211156135125761351161388c565b5b61351b826138bb565b9050602081019050919050565b600067ffffffffffffffff8211156135435761354261388c565b5b61354c826138bb565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006135bc826136d6565b91506135c7836136d6565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156135fc576135fb6137ff565b5b828201905092915050565b6000613612826136d6565b915061361d836136d6565b92508261362d5761362c61382e565b5b828204905092915050565b6000613643826136d6565b915061364e836136d6565b925082821015613661576136606137ff565b5b828203905092915050565b6000613677826136b6565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b8381101561370d5780820151818401526020810190506136f2565b8381111561371c576000848401525b50505050565b6000600282049050600182168061373a57607f821691505b6020821081141561374e5761374d61385d565b5b50919050565b61375d826138bb565b810181811067ffffffffffffffff8211171561377c5761377b61388c565b5b80604052505050565b6000613790826136d6565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156137c3576137c26137ff565b5b600182019050919050565b60006137d9826136d6565b91506137e4836136d6565b9250826137f4576137f361382e565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f596f752063616e206d696e74206d6178696d756d203120666f7220667265652e600082015250565b7f455243373231413a206f776e657220696e646578206f7574206f6620626f756e60008201527f6473000000000000000000000000000000000000000000000000000000000000602082015250565b7f53616c6520706175736564000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f455243373231413a206f776e657220717565727920666f72206e6f6e6578697360008201527f74656e7420746f6b656e00000000000000000000000000000000000000000000602082015250565b7f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f7560008201527f6e64730000000000000000000000000000000000000000000000000000000000602082015250565b7f455243373231413a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f596f752063616e206d696e74206d6178696d756d20363620666f72207468652060008201527f7465616d2e000000000000000000000000000000000000000000000000000000602082015250565b7f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f76656420666f7220616c6c00000000000000602082015250565b7f455243373231413a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b7f455243373231413a207472616e736665722066726f6d20696e636f727265637460008201527f206f776e65720000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f455243373231413a20617070726f766520746f2063616c6c6572000000000000600082015250565b7f455243373231413a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b7f45786365656473206d6178696d756d20737570706c7900000000000000000000600082015250565b7f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60008201527f6572000000000000000000000000000000000000000000000000000000000000602082015250565b7f455243373231413a207472616e7366657220746f206e6f6e204552433732315260008201527f6563656976657220696d706c656d656e74657200000000000000000000000000602082015250565b7f455243373231413a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b7f455243373231413a207175616e74697479206d7573742062652067726561746560008201527f72207468616e2030000000000000000000000000000000000000000000000000602082015250565b7f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060008201527f6f776e657220627920696e646578000000000000000000000000000000000000602082015250565b7f455243373231413a20756e61626c6520746f2064657465726d696e652074686560008201527f206f776e6572206f6620746f6b656e0000000000000000000000000000000000602082015250565b7f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560008201527f78697374656e7420746f6b656e00000000000000000000000000000000000000602082015250565b613ee18161366c565b8114613eec57600080fd5b50565b613ef88161367e565b8114613f0357600080fd5b50565b613f0f8161368a565b8114613f1a57600080fd5b50565b613f26816136d6565b8114613f3157600080fd5b5056fea26469706673582212201a7b1ebf4049055b518607ae3fcd5adcf849be84704a7054e762dd18e8b608ae64736f6c63430008040033

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

0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000005668747470733a2f2f6173796e632d6170692e636f6d2f6765742d746f6b656e3f616464726573733d3078633134336262666364626462656436643435343830333830343735326130363461363232633166332669643d00000000000000000000

-----Decoded View---------------
Arg [0] : _initBaseURI (string): https://async-api.com/get-token?address=0xc143bbfcdbdbed6d454803804752a064a622c1f3&id=

-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000056
Arg [2] : 68747470733a2f2f6173796e632d6170692e636f6d2f6765742d746f6b656e3f
Arg [3] : 616464726573733d307863313433626266636462646265643664343534383033
Arg [4] : 3830343735326130363461363232633166332669643d00000000000000000000


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.