ETH Price: $3,425.63 (+2.35%)

Token

Bored Rigby Yacht Club (BRYC)
 

Overview

Max Total Supply

10,000 BRYC

Holders

974

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Balance
1 BRYC
0xd77b3d5f8fe734411148f3eb186614935ea1848d
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:
BoredRigbyYachtClub

Compiler Version
v0.8.10+commit.fc410830

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 13 : BoredRigbyYachtClub.sol
// SPDX-License-Identifier: UNLICENSED

/*

BoredRigbyYachtClub                                                                                                          

*/

pragma solidity ^0.8.10;

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

contract BoredRigbyYachtClub is ERC721A, Ownable {
    bool public saleEnabled;
    uint256 public price;
    string public metadataBaseURL;

    uint256 public MAX_TXN = 10;
    uint256 public constant MAX_SUPPLY = 10000;
    uint256 public constant MAX_TXN_GLOBAL = MAX_SUPPLY;
    mapping(address => bool) public freeMints;

    constructor() ERC721A("Bored Rigby Yacht Club", "BRYC", MAX_TXN_GLOBAL) {
        saleEnabled = false;
        price = 0.003 ether;
    }

    function setBaseURI(string memory baseURL) external onlyOwner {
        metadataBaseURL = baseURL;
    }

    function toggleSaleStatus() external onlyOwner {
        saleEnabled = !(saleEnabled);
    }

    function setMaxTxn(uint256 _maxTxn) external onlyOwner {
        MAX_TXN = _maxTxn;
    }

    function setPrice(uint256 _price) external onlyOwner {
        price = _price;
    }

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

    function withdraw() external onlyOwner {
        uint256 _balance = address(this).balance;
        address payable _sender = payable(_msgSender());
        _sender.transfer(_balance);
    }

    function reserve(uint256 num) external onlyOwner {
        require((totalSupply() + num) <= MAX_SUPPLY, "Exceed max supply");
        _safeMint(msg.sender, num);
    }

    function checkFreeMintStatus(address adress_) external view returns (bool) {
        return freeMints[adress_];
    }

    function mint(uint256 numOfTokens) external payable {
        require(saleEnabled, "Sale must be active.");
        require(totalSupply() + numOfTokens <= MAX_SUPPLY, "Exceed max supply");
        require(numOfTokens > 0, "Must mint at least 1 token");
        require(numOfTokens <= MAX_TXN, "Cant mint more than 10 tokens");
        require(
            (price * numOfTokens) <= msg.value,
            "Insufficient funds to claim."
        );

        _safeMint(msg.sender, numOfTokens);
    }

    function freeMint() external payable {
        require(saleEnabled, "Sale must be active.");
        require(!freeMints[msg.sender], "Already claimed free mint");
        require(totalSupply() + 1 <= MAX_SUPPLY, "Exceed max supply");

        freeMints[msg.sender] = true;
        _safeMint(msg.sender, 1);
    }
}

File 2 of 13 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

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

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

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

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

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        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);
    }
}

File 3 of 13 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 4 of 13 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 5 of 13 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * 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;

    /**
     * @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 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: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721
     * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must
     * understand this adds an external call which potentially creates a reentrancy vulnerability.
     *
     * 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 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 the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

    /**
     * @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);
}

File 6 of 13 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

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

File 7 of 13 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @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 functionCallWithValue(target, data, 0, "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");
        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResultFromTarget(target, 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) {
        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResultFromTarget(target, 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) {
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling
     * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.
     *
     * _Available since v4.8._
     */
    function verifyCallResultFromTarget(
        address target,
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        if (success) {
            if (returndata.length == 0) {
                // only check isContract if the call was successful and the return data is empty
                // otherwise we already know that it was a contract
                require(isContract(target), "Address: call to non-contract");
            }
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    /**
     * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason or 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 {
            _revert(returndata, errorMessage);
        }
    }

    function _revert(bytes memory returndata, string memory errorMessage) private pure {
        // 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
            /// @solidity memory-safe-assembly
            assembly {
                let returndata_size := mload(returndata)
                revert(add(32, returndata), returndata_size)
            }
        } else {
            revert(errorMessage);
        }
    }
}

File 8 of 13 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

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

File 9 of 13 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
 * for the additional interface id that will be supported. For example:
 *
 * ```solidity
 * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
 *     return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
 * }
 * ```
 *
 * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
 */
abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}

File 10 of 13 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

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

File 11 of 13 : Math.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/math/Math.sol)

pragma solidity ^0.8.0;

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    enum Rounding {
        Down, // Toward negative infinity
        Up, // Toward infinity
        Zero // Toward zero
    }

    /**
     * @dev Returns the largest of two numbers.
     */
    function max(uint256 a, uint256 b) internal pure returns (uint256) {
        return a > b ? a : b;
    }

    /**
     * @dev Returns the smallest of two numbers.
     */
    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two numbers. The result is rounded towards
     * zero.
     */
    function average(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b) / 2 can overflow.
        return (a & b) + (a ^ b) / 2;
    }

    /**
     * @dev Returns the ceiling of the division of two numbers.
     *
     * This differs from standard division with `/` in that it rounds up instead
     * of rounding down.
     */
    function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b - 1) / b can overflow on addition, so we distribute.
        return a == 0 ? 0 : (a - 1) / b + 1;
    }

    /**
     * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0
     * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv)
     * with further edits by Uniswap Labs also under MIT license.
     */
    function mulDiv(
        uint256 x,
        uint256 y,
        uint256 denominator
    ) internal pure returns (uint256 result) {
        unchecked {
            // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use
            // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256
            // variables such that product = prod1 * 2^256 + prod0.
            uint256 prod0; // Least significant 256 bits of the product
            uint256 prod1; // Most significant 256 bits of the product
            assembly {
                let mm := mulmod(x, y, not(0))
                prod0 := mul(x, y)
                prod1 := sub(sub(mm, prod0), lt(mm, prod0))
            }

            // Handle non-overflow cases, 256 by 256 division.
            if (prod1 == 0) {
                return prod0 / denominator;
            }

            // Make sure the result is less than 2^256. Also prevents denominator == 0.
            require(denominator > prod1);

            ///////////////////////////////////////////////
            // 512 by 256 division.
            ///////////////////////////////////////////////

            // Make division exact by subtracting the remainder from [prod1 prod0].
            uint256 remainder;
            assembly {
                // Compute remainder using mulmod.
                remainder := mulmod(x, y, denominator)

                // Subtract 256 bit number from 512 bit number.
                prod1 := sub(prod1, gt(remainder, prod0))
                prod0 := sub(prod0, remainder)
            }

            // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1.
            // See https://cs.stackexchange.com/q/138556/92363.

            // Does not overflow because the denominator cannot be zero at this stage in the function.
            uint256 twos = denominator & (~denominator + 1);
            assembly {
                // Divide denominator by twos.
                denominator := div(denominator, twos)

                // Divide [prod1 prod0] by twos.
                prod0 := div(prod0, twos)

                // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one.
                twos := add(div(sub(0, twos), twos), 1)
            }

            // Shift in bits from prod1 into prod0.
            prod0 |= prod1 * twos;

            // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such
            // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for
            // four bits. That is, denominator * inv = 1 mod 2^4.
            uint256 inverse = (3 * denominator) ^ 2;

            // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works
            // in modular arithmetic, doubling the correct bits in each step.
            inverse *= 2 - denominator * inverse; // inverse mod 2^8
            inverse *= 2 - denominator * inverse; // inverse mod 2^16
            inverse *= 2 - denominator * inverse; // inverse mod 2^32
            inverse *= 2 - denominator * inverse; // inverse mod 2^64
            inverse *= 2 - denominator * inverse; // inverse mod 2^128
            inverse *= 2 - denominator * inverse; // inverse mod 2^256

            // Because the division is now exact we can divide by multiplying with the modular inverse of denominator.
            // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is
            // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1
            // is no longer required.
            result = prod0 * inverse;
            return result;
        }
    }

    /**
     * @notice Calculates x * y / denominator with full precision, following the selected rounding direction.
     */
    function mulDiv(
        uint256 x,
        uint256 y,
        uint256 denominator,
        Rounding rounding
    ) internal pure returns (uint256) {
        uint256 result = mulDiv(x, y, denominator);
        if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) {
            result += 1;
        }
        return result;
    }

    /**
     * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down.
     *
     * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11).
     */
    function sqrt(uint256 a) internal pure returns (uint256) {
        if (a == 0) {
            return 0;
        }

        // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target.
        //
        // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have
        // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`.
        //
        // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)`
        // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))`
        // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)`
        //
        // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit.
        uint256 result = 1 << (log2(a) >> 1);

        // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128,
        // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at
        // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision
        // into the expected uint128 result.
        unchecked {
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            return min(result, a / result);
        }
    }

    /**
     * @notice Calculates sqrt(a), following the selected rounding direction.
     */
    function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = sqrt(a);
            return result + (rounding == Rounding.Up && result * result < a ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 2, rounded down, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 128;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 64;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 32;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 16;
            }
            if (value >> 8 > 0) {
                value >>= 8;
                result += 8;
            }
            if (value >> 4 > 0) {
                value >>= 4;
                result += 4;
            }
            if (value >> 2 > 0) {
                value >>= 2;
                result += 2;
            }
            if (value >> 1 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 2, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log2(value);
            return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 10, rounded down, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >= 10**64) {
                value /= 10**64;
                result += 64;
            }
            if (value >= 10**32) {
                value /= 10**32;
                result += 32;
            }
            if (value >= 10**16) {
                value /= 10**16;
                result += 16;
            }
            if (value >= 10**8) {
                value /= 10**8;
                result += 8;
            }
            if (value >= 10**4) {
                value /= 10**4;
                result += 4;
            }
            if (value >= 10**2) {
                value /= 10**2;
                result += 2;
            }
            if (value >= 10**1) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log10(value);
            return result + (rounding == Rounding.Up && 10**result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 256, rounded down, of a positive value.
     * Returns 0 if given 0.
     *
     * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string.
     */
    function log256(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 16;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 8;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 4;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 2;
            }
            if (value >> 8 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log256(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log256(value);
            return result + (rounding == Rounding.Up && 1 << (result * 8) < value ? 1 : 0);
        }
    }
}

File 12 of 13 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

import "./math/Math.sol";

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _SYMBOLS = "0123456789abcdef";
    uint8 private constant _ADDRESS_LENGTH = 20;

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        unchecked {
            uint256 length = Math.log10(value) + 1;
            string memory buffer = new string(length);
            uint256 ptr;
            /// @solidity memory-safe-assembly
            assembly {
                ptr := add(buffer, add(32, length))
            }
            while (true) {
                ptr--;
                /// @solidity memory-safe-assembly
                assembly {
                    mstore8(ptr, byte(mod(value, 10), _SYMBOLS))
                }
                value /= 10;
                if (value == 0) break;
            }
            return buffer;
        }
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        unchecked {
            return toHexString(value, Math.log256(value) + 1);
        }
    }

    /**
     * @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] = _SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }

    /**
     * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation.
     */
    function toHexString(address addr) internal pure returns (string memory) {
        return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH);
    }
}

File 13 of 13 : ERC721A.sol
// SPDX-License-Identifier: UNLICENSED

pragma solidity ^0.8.10;

import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol";
import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/utils/Context.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/introspection/ERC165.sol";


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 private currentIndex = 1;
  uint256 public immutable maxBatchSize;
  string private _name;
  string private _symbol;
  mapping(uint256 => TokenOwnership) private _ownerships;
  mapping(address => AddressData) private _addressData;
  mapping(uint256 => address) private _tokenApprovals;
  mapping(address => mapping(address => bool)) private _operatorApprovals;


  constructor(
    string memory name_,
    string memory symbol_,
    uint256 maxBatchSize_
  ) {
    require(maxBatchSize_ > 0, "ERC721A: max batch size must be nonzero");
    _name = name_;
    _symbol = symbol_;
    maxBatchSize = maxBatchSize_;
  }

  function totalSupply() public view override returns (uint256) {
    return currentIndex-1;
  }

  function tokenByIndex(uint256 index) public view override returns (uint256) {
    require(index < totalSupply(), "ERC721A: global index out of bounds");
    return index;
  }

  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 = 0;
    address currOwnershipAddr = address(0);
    for (uint256 i = 0; 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");
  }

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

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

  function ownershipOf(uint256 tokenId)
    internal
    view
    returns (TokenOwnership memory)
  {
    require(_exists(tokenId), "ERC721A: owner query for nonexistent token");

    uint256 lowestTokenToCheck;
    if (tokenId >= maxBatchSize) {
      lowestTokenToCheck = tokenId - maxBatchSize + 1;
    }

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

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


  function ownerOf(uint256 tokenId) public view override returns (address) {
    return ownershipOf(tokenId).addr;
  }


  function name() public view virtual override returns (string memory) {
    return _name;
  }


  function symbol() public view virtual override returns (string memory) {
    return _symbol;
  }


  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()))
        : "";
  }


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


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


  function getApproved(uint256 tokenId) public view override returns (address) {
    require(_exists(tokenId), "ERC721A: approved query for nonexistent token");

    return _tokenApprovals[tokenId];
  }


  function setApprovalForAll(address operator, bool approved) public override {
    require(operator != _msgSender(), "ERC721A: approve to caller");

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


  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 Mints `quantity` tokens and transfers them to `to`.
   *
   * Requirements:
   *
   * - `to` cannot be the zero address.
   * - `quantity` cannot be larger than the max batch size.
   *
   * Emits a {Transfer} event.
   */
  function _safeMint(
    address to,
    uint256 quantity,
    bytes memory _data
  ) internal {
    uint256 startTokenId = currentIndex;
    require(to != address(0), "ERC721A: mint to the zero address");
    // We know if the first token in the batch doesn't exist, the other ones don't as well, because of serial ordering.
    require(!_exists(startTokenId), "ERC721A: token already minted");
    require(quantity <= maxBatchSize, "ERC721A: quantity to mint too high");

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

    AddressData memory addressData = _addressData[to];
    _addressData[to] = AddressData(
      addressData.balance + uint128(quantity),
      addressData.numberMinted + uint128(quantity)
    );
    _ownerships[startTokenId] = TokenOwnership(to, uint64(block.timestamp));

    uint256 updatedIndex = startTokenId;

    for (uint256 i = 0; i < quantity; i++) {
      emit Transfer(address(0), to, updatedIndex);
      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);

    _addressData[from].balance -= 1;
    _addressData[to].balance += 1;
    _ownerships[tokenId] = TokenOwnership(to, 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] = TokenOwnership(
          prevOwnership.addr,
          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);
  }

  uint256 public nextOwnerToExplicitlySet = 0;

  /**
   * @dev Explicitly set `owners` to eliminate loops in future calls of ownerOf().
   */
  function _setOwnersExplicit(uint256 quantity) internal {
    uint256 oldNextOwnerToSet = nextOwnerToExplicitlySet;
    require(quantity > 0, "quantity must be nonzero");
    uint256 endIndex = oldNextOwnerToSet + quantity - 1;
    if (endIndex > currentIndex - 1) {
      endIndex = currentIndex - 1;
    }
    // We know if the last one in the group exists, all in the group exist, due to serial ordering.
    require(_exists(endIndex), "not enough minted yet for this cleanup");
    for (uint256 i = oldNextOwnerToSet; i <= endIndex; i++) {
      if (_ownerships[i].addr == address(0)) {
        TokenOwnership memory ownership = ownershipOf(i);
        _ownerships[i] = TokenOwnership(
          ownership.addr,
          ownership.startTimestamp
        );
      }
    }
    nextOwnerToExplicitlySet = endIndex + 1;
  }

  /**
   * @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 {}
}

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_TXN","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_TXN_GLOBAL","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"adress_","type":"address"}],"name":"checkFreeMintStatus","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"freeMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"freeMints","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"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":"maxBatchSize","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"metadataBaseURL","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numOfTokens","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nextOwnerToExplicitlySet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"num","type":"uint256"}],"name":"reserve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURL","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxTxn","type":"uint256"}],"name":"setMaxTxn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setPrice","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":[],"name":"toggleSaleStatus","outputs":[],"stateMutability":"nonpayable","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":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60a060405260016000556000600755600a600b553480156200002057600080fd5b506040518060400160405280601681526020017f426f72656420526967627920596163687420436c7562000000000000000000008152506040518060400160405280600481526020017f425259430000000000000000000000000000000000000000000000000000000081525061271060008111620000d6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620000cd9062000367565b60405180910390fd5b8260019080519060200190620000ee92919062000230565b5081600290805190602001906200010792919062000230565b50806080818152505050505062000133620001276200016260201b60201c565b6200016a60201b60201c565b6000600860146101000a81548160ff021916908315150217905550660aa87bee538000600981905550620003ee565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200023e90620003b8565b90600052602060002090601f016020900481019282620002625760008555620002ae565b82601f106200027d57805160ff1916838001178555620002ae565b82800160010185558215620002ae579182015b82811115620002ad57825182559160200191906001019062000290565b5b509050620002bd9190620002c1565b5090565b5b80821115620002dc576000816000905550600101620002c2565b5090565b600082825260208201905092915050565b7f455243373231413a206d61782062617463682073697a65206d7573742062652060008201527f6e6f6e7a65726f00000000000000000000000000000000000000000000000000602082015250565b60006200034f602783620002e0565b91506200035c82620002f1565b604082019050919050565b60006020820190508181036000830152620003828162000340565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620003d157607f821691505b60208210811415620003e857620003e762000389565b5b50919050565b60805161469c6200041f60003960008181610cee015281816121a7015281816121d001526127db015261469c6000f3fe60806040526004361061021a5760003560e01c80636d41d4fb11610123578063a035b1fe116100ab578063d7224ba01161006f578063d7224ba0146107a5578063e985e9c5146107d0578063f2fde38b1461080d578063fc588c0414610836578063fdd578ba1461085f5761021a565b8063a035b1fe146106cf578063a0712d68146106fa578063a22cb46514610716578063b88d4fde1461073f578063c87b56dd146107685761021a565b8063819b25ba116100f2578063819b25ba146105fc5780638836ad35146106255780638da5cb5b1461065057806391b7f5ed1461067b57806395d89b41146106a45761021a565b80636d41d4fb1461054057806370a082311461057d578063715018a6146105ba57806371b9b646146105d15761021a565b80632f745c59116101a65780634f6ccce7116101755780634f6ccce71461045657806355f804b3146104935780635b70ea9f146104bc5780636352211e146104c65780636460ab21146105035761021a565b80632f745c59146103ae57806332cb6b0c146103eb5780633ccfd60b1461041657806342842e0e1461042d5761021a565b8063095ea7b3116101ed578063095ea7b3146102db57806310da2eb91461030457806318160ddd1461032f57806323b872dd1461035a5780632913daa0146103835761021a565b806301ffc9a71461021f578063049c5c491461025c57806306fdde0314610273578063081812fc1461029e575b600080fd5b34801561022b57600080fd5b5061024660048036038101906102419190612eb8565b61088a565b6040516102539190612f00565b60405180910390f35b34801561026857600080fd5b506102716109d4565b005b34801561027f57600080fd5b50610288610a08565b6040516102959190612fb4565b60405180910390f35b3480156102aa57600080fd5b506102c560048036038101906102c0919061300c565b610a9a565b6040516102d2919061307a565b60405180910390f35b3480156102e757600080fd5b5061030260048036038101906102fd91906130c1565b610b1f565b005b34801561031057600080fd5b50610319610c38565b6040516103269190612fb4565b60405180910390f35b34801561033b57600080fd5b50610344610cc6565b6040516103519190613110565b60405180910390f35b34801561036657600080fd5b50610381600480360381019061037c919061312b565b610cdc565b005b34801561038f57600080fd5b50610398610cec565b6040516103a59190613110565b60405180910390f35b3480156103ba57600080fd5b506103d560048036038101906103d091906130c1565b610d10565b6040516103e29190613110565b60405180910390f35b3480156103f757600080fd5b50610400610f0e565b60405161040d9190613110565b60405180910390f35b34801561042257600080fd5b5061042b610f14565b005b34801561043957600080fd5b50610454600480360381019061044f919061312b565b610f78565b005b34801561046257600080fd5b5061047d6004803603810190610478919061300c565b610f98565b60405161048a9190613110565b60405180910390f35b34801561049f57600080fd5b506104ba60048036038101906104b591906132b3565b610feb565b005b6104c461100d565b005b3480156104d257600080fd5b506104ed60048036038101906104e8919061300c565b6111a6565b6040516104fa919061307a565b60405180910390f35b34801561050f57600080fd5b5061052a600480360381019061052591906132fc565b6111bc565b6040516105379190612f00565b60405180910390f35b34801561054c57600080fd5b50610567600480360381019061056291906132fc565b611212565b6040516105749190612f00565b60405180910390f35b34801561058957600080fd5b506105a4600480360381019061059f91906132fc565b611232565b6040516105b19190613110565b60405180910390f35b3480156105c657600080fd5b506105cf61131b565b005b3480156105dd57600080fd5b506105e661132f565b6040516105f39190612f00565b60405180910390f35b34801561060857600080fd5b50610623600480360381019061061e919061300c565b611342565b005b34801561063157600080fd5b5061063a6113ae565b6040516106479190613110565b60405180910390f35b34801561065c57600080fd5b506106656113b4565b604051610672919061307a565b60405180910390f35b34801561068757600080fd5b506106a2600480360381019061069d919061300c565b6113de565b005b3480156106b057600080fd5b506106b96113f0565b6040516106c69190612fb4565b60405180910390f35b3480156106db57600080fd5b506106e4611482565b6040516106f19190613110565b60405180910390f35b610714600480360381019061070f919061300c565b611488565b005b34801561072257600080fd5b5061073d60048036038101906107389190613355565b611613565b005b34801561074b57600080fd5b5061076660048036038101906107619190613436565b611794565b005b34801561077457600080fd5b5061078f600480360381019061078a919061300c565b6117f0565b60405161079c9190612fb4565b60405180910390f35b3480156107b157600080fd5b506107ba611897565b6040516107c79190613110565b60405180910390f35b3480156107dc57600080fd5b506107f760048036038101906107f291906134b9565b61189d565b6040516108049190612f00565b60405180910390f35b34801561081957600080fd5b50610834600480360381019061082f91906132fc565b611931565b005b34801561084257600080fd5b5061085d6004803603810190610858919061300c565b6119b5565b005b34801561086b57600080fd5b506108746119c7565b6040516108819190613110565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061095557507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806109bd57507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806109cd57506109cc826119cd565b5b9050919050565b6109dc611a37565b600860149054906101000a900460ff1615600860146101000a81548160ff021916908315150217905550565b606060018054610a1790613528565b80601f0160208091040260200160405190810160405280929190818152602001828054610a4390613528565b8015610a905780601f10610a6557610100808354040283529160200191610a90565b820191906000526020600020905b815481529060010190602001808311610a7357829003601f168201915b5050505050905090565b6000610aa582611ab5565b610ae4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610adb906135cc565b60405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b2a826111a6565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610b9b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b929061365e565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610bba611ac2565b73ffffffffffffffffffffffffffffffffffffffff161480610be95750610be881610be3611ac2565b61189d565b5b610c28576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c1f906136f0565b60405180910390fd5b610c33838383611aca565b505050565b600a8054610c4590613528565b80601f0160208091040260200160405190810160405280929190818152602001828054610c7190613528565b8015610cbe5780601f10610c9357610100808354040283529160200191610cbe565b820191906000526020600020905b815481529060010190602001808311610ca157829003601f168201915b505050505081565b60006001600054610cd7919061373f565b905090565b610ce7838383611b7c565b505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b6000610d1b83611232565b8210610d5c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d53906137e5565b60405180910390fd5b6000610d66610cc6565b905060008060005b83811015610ecc576000600360008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614610e6057806000015192505b8773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610eb85786841415610ea9578195505050505050610f08565b8380610eb490613805565b9450505b508080610ec490613805565b915050610d6e565b506040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eff906138c0565b60405180910390fd5b92915050565b61271081565b610f1c611a37565b60004790506000610f2b611ac2565b90508073ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f19350505050158015610f73573d6000803e3d6000fd5b505050565b610f9383838360405180602001604052806000815250611794565b505050565b6000610fa2610cc6565b8210610fe3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fda90613952565b60405180910390fd5b819050919050565b610ff3611a37565b80600a9080519060200190611009929190612d6f565b5050565b600860149054906101000a900460ff1661105c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611053906139be565b60405180910390fd5b600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16156110e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110e090613a2a565b60405180910390fd5b61271060016110f6610cc6565b6111009190613a4a565b1115611141576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161113890613aec565b60405180910390fd5b6001600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506111a4336001612135565b565b60006111b182612153565b600001519050919050565b6000600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b600c6020528060005260406000206000915054906101000a900460ff1681565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156112a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161129a90613b7e565b60405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff169050919050565b611323611a37565b61132d6000612356565b565b600860149054906101000a900460ff1681565b61134a611a37565b61271081611356610cc6565b6113609190613a4a565b11156113a1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161139890613aec565b60405180910390fd5b6113ab3382612135565b50565b61271081565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6113e6611a37565b8060098190555050565b6060600280546113ff90613528565b80601f016020809104026020016040519081016040528092919081815260200182805461142b90613528565b80156114785780601f1061144d57610100808354040283529160200191611478565b820191906000526020600020905b81548152906001019060200180831161145b57829003601f168201915b5050505050905090565b60095481565b600860149054906101000a900460ff166114d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114ce906139be565b60405180910390fd5b612710816114e3610cc6565b6114ed9190613a4a565b111561152e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161152590613aec565b60405180910390fd5b60008111611571576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161156890613bea565b60405180910390fd5b600b548111156115b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ad90613c56565b60405180910390fd5b34816009546115c59190613c76565b1115611606576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115fd90613d1c565b60405180910390fd5b6116103382612135565b50565b61161b611ac2565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611689576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168090613d88565b60405180910390fd5b8060066000611696611ac2565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611743611ac2565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516117889190612f00565b60405180910390a35050565b61179f848484611b7c565b6117ab8484848461241c565b6117ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117e190613e1a565b60405180910390fd5b50505050565b60606117fb82611ab5565b61183a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161183190613eac565b60405180910390fd5b60006118446125a4565b90506000815111611864576040518060200160405280600081525061188f565b8061186e84612636565b60405160200161187f929190613f08565b6040516020818303038152906040525b915050919050565b60075481565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611939611a37565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156119a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119a090613f9e565b60405180910390fd5b6119b281612356565b50565b6119bd611a37565b80600b8190555050565b600b5481565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b611a3f611ac2565b73ffffffffffffffffffffffffffffffffffffffff16611a5d6113b4565b73ffffffffffffffffffffffffffffffffffffffff1614611ab3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aaa9061400a565b60405180910390fd5b565b6000805482109050919050565b600033905090565b826005600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6000611b8782612153565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff16611bae611ac2565b73ffffffffffffffffffffffffffffffffffffffff161480611c0a5750611bd3611ac2565b73ffffffffffffffffffffffffffffffffffffffff16611bf284610a9a565b73ffffffffffffffffffffffffffffffffffffffff16145b80611c265750611c258260000151611c20611ac2565b61189d565b5b905080611c68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c5f9061409c565b60405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff1614611cda576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cd19061412e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611d4a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d41906141c0565b60405180910390fd5b611d57858585600161270e565b611d676000848460000151611aca565b6001600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff16611dd591906141fc565b92506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff1602179055506001600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff16611e799190614230565b92506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555060405180604001604052808573ffffffffffffffffffffffffffffffffffffffff1681526020014267ffffffffffffffff168152506003600085815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055509050506000600184611f7f9190613a4a565b9050600073ffffffffffffffffffffffffffffffffffffffff166003600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156120c557611ff581611ab5565b156120c4576040518060400160405280846000015173ffffffffffffffffffffffffffffffffffffffff168152602001846020015167ffffffffffffffff168152506003600083815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055509050505b5b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461212d8686866001612714565b505050505050565b61214f82826040518060200160405280600081525061271a565b5050565b61215b612df5565b61216482611ab5565b6121a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161219a906142e8565b60405180910390fd5b60007f000000000000000000000000000000000000000000000000000000000000000083106122075760017f0000000000000000000000000000000000000000000000000000000000000000846121fa919061373f565b6122049190613a4a565b90505b60008390505b818110612315576000600360008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461230157809350505050612351565b50808061230d90614308565b91505061220d565b506040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612348906143a4565b60405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600061243d8473ffffffffffffffffffffffffffffffffffffffff16612bf9565b15612597578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612466611ac2565b8786866040518563ffffffff1660e01b81526004016124889493929190614419565b6020604051808303816000875af19250505080156124c457506040513d601f19601f820116820180604052508101906124c1919061447a565b60015b612547573d80600081146124f4576040519150601f19603f3d011682016040523d82523d6000602084013e6124f9565b606091505b5060008151141561253f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161253690613e1a565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061259c565b600190505b949350505050565b6060600a80546125b390613528565b80601f01602080910402602001604051908101604052809291908181526020018280546125df90613528565b801561262c5780601f106126015761010080835404028352916020019161262c565b820191906000526020600020905b81548152906001019060200180831161260f57829003601f168201915b5050505050905090565b60606000600161264584612c1c565b01905060008167ffffffffffffffff81111561266457612663613188565b5b6040519080825280601f01601f1916602001820160405280156126965781602001600182028036833780820191505090505b509050600082602001820190505b600115612703578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a85816126ed576126ec6144a7565b5b04945060008514156126fe57612703565b6126a4565b819350505050919050565b50505050565b50505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612790576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161278790614548565b60405180910390fd5b61279981611ab5565b156127d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127d0906145b4565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000083111561283c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161283390614646565b60405180910390fd5b612849600085838661270e565b6000600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060400160405290816000820160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1681526020016000820160109054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1681525050905060405180604001604052808583600001516129469190614230565b6fffffffffffffffffffffffffffffffff16815260200185836020015161296d9190614230565b6fffffffffffffffffffffffffffffffff16815250600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008201518160000160006101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555060208201518160000160106101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555090505060405180604001604052808673ffffffffffffffffffffffffffffffffffffffff1681526020014267ffffffffffffffff168152506003600084815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550905050600082905060005b85811015612bdc57818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612b7c600088848861241c565b612bbb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bb290613e1a565b60405180910390fd5b8180612bc690613805565b9250508080612bd490613805565b915050612b0b565b5080600081905550612bf16000878588612714565b505050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600080600090507a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310612c7a577a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008381612c7057612c6f6144a7565b5b0492506040810190505b6d04ee2d6d415b85acef81000000008310612cb7576d04ee2d6d415b85acef81000000008381612cad57612cac6144a7565b5b0492506020810190505b662386f26fc100008310612ce657662386f26fc100008381612cdc57612cdb6144a7565b5b0492506010810190505b6305f5e1008310612d0f576305f5e1008381612d0557612d046144a7565b5b0492506008810190505b6127108310612d34576127108381612d2a57612d296144a7565b5b0492506004810190505b60648310612d575760648381612d4d57612d4c6144a7565b5b0492506002810190505b600a8310612d66576001810190505b80915050919050565b828054612d7b90613528565b90600052602060002090601f016020900481019282612d9d5760008555612de4565b82601f10612db657805160ff1916838001178555612de4565b82800160010185558215612de4579182015b82811115612de3578251825591602001919060010190612dc8565b5b509050612df19190612e2f565b5090565b6040518060400160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681525090565b5b80821115612e48576000816000905550600101612e30565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612e9581612e60565b8114612ea057600080fd5b50565b600081359050612eb281612e8c565b92915050565b600060208284031215612ece57612ecd612e56565b5b6000612edc84828501612ea3565b91505092915050565b60008115159050919050565b612efa81612ee5565b82525050565b6000602082019050612f156000830184612ef1565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612f55578082015181840152602081019050612f3a565b83811115612f64576000848401525b50505050565b6000601f19601f8301169050919050565b6000612f8682612f1b565b612f908185612f26565b9350612fa0818560208601612f37565b612fa981612f6a565b840191505092915050565b60006020820190508181036000830152612fce8184612f7b565b905092915050565b6000819050919050565b612fe981612fd6565b8114612ff457600080fd5b50565b60008135905061300681612fe0565b92915050565b60006020828403121561302257613021612e56565b5b600061303084828501612ff7565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061306482613039565b9050919050565b61307481613059565b82525050565b600060208201905061308f600083018461306b565b92915050565b61309e81613059565b81146130a957600080fd5b50565b6000813590506130bb81613095565b92915050565b600080604083850312156130d8576130d7612e56565b5b60006130e6858286016130ac565b92505060206130f785828601612ff7565b9150509250929050565b61310a81612fd6565b82525050565b60006020820190506131256000830184613101565b92915050565b60008060006060848603121561314457613143612e56565b5b6000613152868287016130ac565b9350506020613163868287016130ac565b925050604061317486828701612ff7565b9150509250925092565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6131c082612f6a565b810181811067ffffffffffffffff821117156131df576131de613188565b5b80604052505050565b60006131f2612e4c565b90506131fe82826131b7565b919050565b600067ffffffffffffffff82111561321e5761321d613188565b5b61322782612f6a565b9050602081019050919050565b82818337600083830152505050565b600061325661325184613203565b6131e8565b90508281526020810184848401111561327257613271613183565b5b61327d848285613234565b509392505050565b600082601f83011261329a5761329961317e565b5b81356132aa848260208601613243565b91505092915050565b6000602082840312156132c9576132c8612e56565b5b600082013567ffffffffffffffff8111156132e7576132e6612e5b565b5b6132f384828501613285565b91505092915050565b60006020828403121561331257613311612e56565b5b6000613320848285016130ac565b91505092915050565b61333281612ee5565b811461333d57600080fd5b50565b60008135905061334f81613329565b92915050565b6000806040838503121561336c5761336b612e56565b5b600061337a858286016130ac565b925050602061338b85828601613340565b9150509250929050565b600067ffffffffffffffff8211156133b0576133af613188565b5b6133b982612f6a565b9050602081019050919050565b60006133d96133d484613395565b6131e8565b9050828152602081018484840111156133f5576133f4613183565b5b613400848285613234565b509392505050565b600082601f83011261341d5761341c61317e565b5b813561342d8482602086016133c6565b91505092915050565b600080600080608085870312156134505761344f612e56565b5b600061345e878288016130ac565b945050602061346f878288016130ac565b935050604061348087828801612ff7565b925050606085013567ffffffffffffffff8111156134a1576134a0612e5b565b5b6134ad87828801613408565b91505092959194509250565b600080604083850312156134d0576134cf612e56565b5b60006134de858286016130ac565b92505060206134ef858286016130ac565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061354057607f821691505b60208210811415613554576135536134f9565b5b50919050565b7f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560008201527f78697374656e7420746f6b656e00000000000000000000000000000000000000602082015250565b60006135b6602d83612f26565b91506135c18261355a565b604082019050919050565b600060208201905081810360008301526135e5816135a9565b9050919050565b7f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60008201527f6572000000000000000000000000000000000000000000000000000000000000602082015250565b6000613648602283612f26565b9150613653826135ec565b604082019050919050565b600060208201905081810360008301526136778161363b565b9050919050565b7f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f76656420666f7220616c6c00000000000000602082015250565b60006136da603983612f26565b91506136e58261367e565b604082019050919050565b60006020820190508181036000830152613709816136cd565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061374a82612fd6565b915061375583612fd6565b92508282101561376857613767613710565b5b828203905092915050565b7f455243373231413a206f776e657220696e646578206f7574206f6620626f756e60008201527f6473000000000000000000000000000000000000000000000000000000000000602082015250565b60006137cf602283612f26565b91506137da82613773565b604082019050919050565b600060208201905081810360008301526137fe816137c2565b9050919050565b600061381082612fd6565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561384357613842613710565b5b600182019050919050565b7f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060008201527f6f776e657220627920696e646578000000000000000000000000000000000000602082015250565b60006138aa602e83612f26565b91506138b58261384e565b604082019050919050565b600060208201905081810360008301526138d98161389d565b9050919050565b7f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f7560008201527f6e64730000000000000000000000000000000000000000000000000000000000602082015250565b600061393c602383612f26565b9150613947826138e0565b604082019050919050565b6000602082019050818103600083015261396b8161392f565b9050919050565b7f53616c65206d757374206265206163746976652e000000000000000000000000600082015250565b60006139a8601483612f26565b91506139b382613972565b602082019050919050565b600060208201905081810360008301526139d78161399b565b9050919050565b7f416c726561647920636c61696d65642066726565206d696e7400000000000000600082015250565b6000613a14601983612f26565b9150613a1f826139de565b602082019050919050565b60006020820190508181036000830152613a4381613a07565b9050919050565b6000613a5582612fd6565b9150613a6083612fd6565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613a9557613a94613710565b5b828201905092915050565b7f457863656564206d617820737570706c79000000000000000000000000000000600082015250565b6000613ad6601183612f26565b9150613ae182613aa0565b602082019050919050565b60006020820190508181036000830152613b0581613ac9565b9050919050565b7f455243373231413a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b6000613b68602b83612f26565b9150613b7382613b0c565b604082019050919050565b60006020820190508181036000830152613b9781613b5b565b9050919050565b7f4d757374206d696e74206174206c65617374203120746f6b656e000000000000600082015250565b6000613bd4601a83612f26565b9150613bdf82613b9e565b602082019050919050565b60006020820190508181036000830152613c0381613bc7565b9050919050565b7f43616e74206d696e74206d6f7265207468616e20313020746f6b656e73000000600082015250565b6000613c40601d83612f26565b9150613c4b82613c0a565b602082019050919050565b60006020820190508181036000830152613c6f81613c33565b9050919050565b6000613c8182612fd6565b9150613c8c83612fd6565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613cc557613cc4613710565b5b828202905092915050565b7f496e73756666696369656e742066756e647320746f20636c61696d2e00000000600082015250565b6000613d06601c83612f26565b9150613d1182613cd0565b602082019050919050565b60006020820190508181036000830152613d3581613cf9565b9050919050565b7f455243373231413a20617070726f766520746f2063616c6c6572000000000000600082015250565b6000613d72601a83612f26565b9150613d7d82613d3c565b602082019050919050565b60006020820190508181036000830152613da181613d65565b9050919050565b7f455243373231413a207472616e7366657220746f206e6f6e204552433732315260008201527f6563656976657220696d706c656d656e74657200000000000000000000000000602082015250565b6000613e04603383612f26565b9150613e0f82613da8565b604082019050919050565b60006020820190508181036000830152613e3381613df7565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000613e96602f83612f26565b9150613ea182613e3a565b604082019050919050565b60006020820190508181036000830152613ec581613e89565b9050919050565b600081905092915050565b6000613ee282612f1b565b613eec8185613ecc565b9350613efc818560208601612f37565b80840191505092915050565b6000613f148285613ed7565b9150613f208284613ed7565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613f88602683612f26565b9150613f9382613f2c565b604082019050919050565b60006020820190508181036000830152613fb781613f7b565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613ff4602083612f26565b9150613fff82613fbe565b602082019050919050565b6000602082019050818103600083015261402381613fe7565b9050919050565b7f455243373231413a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b6000614086603283612f26565b91506140918261402a565b604082019050919050565b600060208201905081810360008301526140b581614079565b9050919050565b7f455243373231413a207472616e736665722066726f6d20696e636f727265637460008201527f206f776e65720000000000000000000000000000000000000000000000000000602082015250565b6000614118602683612f26565b9150614123826140bc565b604082019050919050565b600060208201905081810360008301526141478161410b565b9050919050565b7f455243373231413a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b60006141aa602583612f26565b91506141b58261414e565b604082019050919050565b600060208201905081810360008301526141d98161419d565b9050919050565b60006fffffffffffffffffffffffffffffffff82169050919050565b6000614207826141e0565b9150614212836141e0565b92508282101561422557614224613710565b5b828203905092915050565b600061423b826141e0565b9150614246836141e0565b9250826fffffffffffffffffffffffffffffffff0382111561426b5761426a613710565b5b828201905092915050565b7f455243373231413a206f776e657220717565727920666f72206e6f6e6578697360008201527f74656e7420746f6b656e00000000000000000000000000000000000000000000602082015250565b60006142d2602a83612f26565b91506142dd82614276565b604082019050919050565b60006020820190508181036000830152614301816142c5565b9050919050565b600061431382612fd6565b9150600082141561432757614326613710565b5b600182039050919050565b7f455243373231413a20756e61626c6520746f2064657465726d696e652074686560008201527f206f776e6572206f6620746f6b656e0000000000000000000000000000000000602082015250565b600061438e602f83612f26565b915061439982614332565b604082019050919050565b600060208201905081810360008301526143bd81614381565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006143eb826143c4565b6143f581856143cf565b9350614405818560208601612f37565b61440e81612f6a565b840191505092915050565b600060808201905061442e600083018761306b565b61443b602083018661306b565b6144486040830185613101565b818103606083015261445a81846143e0565b905095945050505050565b60008151905061447481612e8c565b92915050565b6000602082840312156144905761448f612e56565b5b600061449e84828501614465565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f455243373231413a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b6000614532602183612f26565b915061453d826144d6565b604082019050919050565b6000602082019050818103600083015261456181614525565b9050919050565b7f455243373231413a20746f6b656e20616c7265616479206d696e746564000000600082015250565b600061459e601d83612f26565b91506145a982614568565b602082019050919050565b600060208201905081810360008301526145cd81614591565b9050919050565b7f455243373231413a207175616e7469747920746f206d696e7420746f6f20686960008201527f6768000000000000000000000000000000000000000000000000000000000000602082015250565b6000614630602283612f26565b915061463b826145d4565b604082019050919050565b6000602082019050818103600083015261465f81614623565b905091905056fea2646970667358221220dfe5e153590dd675c9d17e0784275dede06d9b5f24cc907b25e3499c0ba504b364736f6c634300080a0033

Deployed Bytecode

0x60806040526004361061021a5760003560e01c80636d41d4fb11610123578063a035b1fe116100ab578063d7224ba01161006f578063d7224ba0146107a5578063e985e9c5146107d0578063f2fde38b1461080d578063fc588c0414610836578063fdd578ba1461085f5761021a565b8063a035b1fe146106cf578063a0712d68146106fa578063a22cb46514610716578063b88d4fde1461073f578063c87b56dd146107685761021a565b8063819b25ba116100f2578063819b25ba146105fc5780638836ad35146106255780638da5cb5b1461065057806391b7f5ed1461067b57806395d89b41146106a45761021a565b80636d41d4fb1461054057806370a082311461057d578063715018a6146105ba57806371b9b646146105d15761021a565b80632f745c59116101a65780634f6ccce7116101755780634f6ccce71461045657806355f804b3146104935780635b70ea9f146104bc5780636352211e146104c65780636460ab21146105035761021a565b80632f745c59146103ae57806332cb6b0c146103eb5780633ccfd60b1461041657806342842e0e1461042d5761021a565b8063095ea7b3116101ed578063095ea7b3146102db57806310da2eb91461030457806318160ddd1461032f57806323b872dd1461035a5780632913daa0146103835761021a565b806301ffc9a71461021f578063049c5c491461025c57806306fdde0314610273578063081812fc1461029e575b600080fd5b34801561022b57600080fd5b5061024660048036038101906102419190612eb8565b61088a565b6040516102539190612f00565b60405180910390f35b34801561026857600080fd5b506102716109d4565b005b34801561027f57600080fd5b50610288610a08565b6040516102959190612fb4565b60405180910390f35b3480156102aa57600080fd5b506102c560048036038101906102c0919061300c565b610a9a565b6040516102d2919061307a565b60405180910390f35b3480156102e757600080fd5b5061030260048036038101906102fd91906130c1565b610b1f565b005b34801561031057600080fd5b50610319610c38565b6040516103269190612fb4565b60405180910390f35b34801561033b57600080fd5b50610344610cc6565b6040516103519190613110565b60405180910390f35b34801561036657600080fd5b50610381600480360381019061037c919061312b565b610cdc565b005b34801561038f57600080fd5b50610398610cec565b6040516103a59190613110565b60405180910390f35b3480156103ba57600080fd5b506103d560048036038101906103d091906130c1565b610d10565b6040516103e29190613110565b60405180910390f35b3480156103f757600080fd5b50610400610f0e565b60405161040d9190613110565b60405180910390f35b34801561042257600080fd5b5061042b610f14565b005b34801561043957600080fd5b50610454600480360381019061044f919061312b565b610f78565b005b34801561046257600080fd5b5061047d6004803603810190610478919061300c565b610f98565b60405161048a9190613110565b60405180910390f35b34801561049f57600080fd5b506104ba60048036038101906104b591906132b3565b610feb565b005b6104c461100d565b005b3480156104d257600080fd5b506104ed60048036038101906104e8919061300c565b6111a6565b6040516104fa919061307a565b60405180910390f35b34801561050f57600080fd5b5061052a600480360381019061052591906132fc565b6111bc565b6040516105379190612f00565b60405180910390f35b34801561054c57600080fd5b50610567600480360381019061056291906132fc565b611212565b6040516105749190612f00565b60405180910390f35b34801561058957600080fd5b506105a4600480360381019061059f91906132fc565b611232565b6040516105b19190613110565b60405180910390f35b3480156105c657600080fd5b506105cf61131b565b005b3480156105dd57600080fd5b506105e661132f565b6040516105f39190612f00565b60405180910390f35b34801561060857600080fd5b50610623600480360381019061061e919061300c565b611342565b005b34801561063157600080fd5b5061063a6113ae565b6040516106479190613110565b60405180910390f35b34801561065c57600080fd5b506106656113b4565b604051610672919061307a565b60405180910390f35b34801561068757600080fd5b506106a2600480360381019061069d919061300c565b6113de565b005b3480156106b057600080fd5b506106b96113f0565b6040516106c69190612fb4565b60405180910390f35b3480156106db57600080fd5b506106e4611482565b6040516106f19190613110565b60405180910390f35b610714600480360381019061070f919061300c565b611488565b005b34801561072257600080fd5b5061073d60048036038101906107389190613355565b611613565b005b34801561074b57600080fd5b5061076660048036038101906107619190613436565b611794565b005b34801561077457600080fd5b5061078f600480360381019061078a919061300c565b6117f0565b60405161079c9190612fb4565b60405180910390f35b3480156107b157600080fd5b506107ba611897565b6040516107c79190613110565b60405180910390f35b3480156107dc57600080fd5b506107f760048036038101906107f291906134b9565b61189d565b6040516108049190612f00565b60405180910390f35b34801561081957600080fd5b50610834600480360381019061082f91906132fc565b611931565b005b34801561084257600080fd5b5061085d6004803603810190610858919061300c565b6119b5565b005b34801561086b57600080fd5b506108746119c7565b6040516108819190613110565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061095557507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806109bd57507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806109cd57506109cc826119cd565b5b9050919050565b6109dc611a37565b600860149054906101000a900460ff1615600860146101000a81548160ff021916908315150217905550565b606060018054610a1790613528565b80601f0160208091040260200160405190810160405280929190818152602001828054610a4390613528565b8015610a905780601f10610a6557610100808354040283529160200191610a90565b820191906000526020600020905b815481529060010190602001808311610a7357829003601f168201915b5050505050905090565b6000610aa582611ab5565b610ae4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610adb906135cc565b60405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b2a826111a6565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610b9b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b929061365e565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610bba611ac2565b73ffffffffffffffffffffffffffffffffffffffff161480610be95750610be881610be3611ac2565b61189d565b5b610c28576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c1f906136f0565b60405180910390fd5b610c33838383611aca565b505050565b600a8054610c4590613528565b80601f0160208091040260200160405190810160405280929190818152602001828054610c7190613528565b8015610cbe5780601f10610c9357610100808354040283529160200191610cbe565b820191906000526020600020905b815481529060010190602001808311610ca157829003601f168201915b505050505081565b60006001600054610cd7919061373f565b905090565b610ce7838383611b7c565b505050565b7f000000000000000000000000000000000000000000000000000000000000271081565b6000610d1b83611232565b8210610d5c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d53906137e5565b60405180910390fd5b6000610d66610cc6565b905060008060005b83811015610ecc576000600360008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614610e6057806000015192505b8773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610eb85786841415610ea9578195505050505050610f08565b8380610eb490613805565b9450505b508080610ec490613805565b915050610d6e565b506040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eff906138c0565b60405180910390fd5b92915050565b61271081565b610f1c611a37565b60004790506000610f2b611ac2565b90508073ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f19350505050158015610f73573d6000803e3d6000fd5b505050565b610f9383838360405180602001604052806000815250611794565b505050565b6000610fa2610cc6565b8210610fe3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fda90613952565b60405180910390fd5b819050919050565b610ff3611a37565b80600a9080519060200190611009929190612d6f565b5050565b600860149054906101000a900460ff1661105c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611053906139be565b60405180910390fd5b600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16156110e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110e090613a2a565b60405180910390fd5b61271060016110f6610cc6565b6111009190613a4a565b1115611141576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161113890613aec565b60405180910390fd5b6001600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506111a4336001612135565b565b60006111b182612153565b600001519050919050565b6000600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b600c6020528060005260406000206000915054906101000a900460ff1681565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156112a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161129a90613b7e565b60405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff169050919050565b611323611a37565b61132d6000612356565b565b600860149054906101000a900460ff1681565b61134a611a37565b61271081611356610cc6565b6113609190613a4a565b11156113a1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161139890613aec565b60405180910390fd5b6113ab3382612135565b50565b61271081565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6113e6611a37565b8060098190555050565b6060600280546113ff90613528565b80601f016020809104026020016040519081016040528092919081815260200182805461142b90613528565b80156114785780601f1061144d57610100808354040283529160200191611478565b820191906000526020600020905b81548152906001019060200180831161145b57829003601f168201915b5050505050905090565b60095481565b600860149054906101000a900460ff166114d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114ce906139be565b60405180910390fd5b612710816114e3610cc6565b6114ed9190613a4a565b111561152e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161152590613aec565b60405180910390fd5b60008111611571576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161156890613bea565b60405180910390fd5b600b548111156115b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ad90613c56565b60405180910390fd5b34816009546115c59190613c76565b1115611606576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115fd90613d1c565b60405180910390fd5b6116103382612135565b50565b61161b611ac2565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611689576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168090613d88565b60405180910390fd5b8060066000611696611ac2565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611743611ac2565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516117889190612f00565b60405180910390a35050565b61179f848484611b7c565b6117ab8484848461241c565b6117ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117e190613e1a565b60405180910390fd5b50505050565b60606117fb82611ab5565b61183a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161183190613eac565b60405180910390fd5b60006118446125a4565b90506000815111611864576040518060200160405280600081525061188f565b8061186e84612636565b60405160200161187f929190613f08565b6040516020818303038152906040525b915050919050565b60075481565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611939611a37565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156119a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119a090613f9e565b60405180910390fd5b6119b281612356565b50565b6119bd611a37565b80600b8190555050565b600b5481565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b611a3f611ac2565b73ffffffffffffffffffffffffffffffffffffffff16611a5d6113b4565b73ffffffffffffffffffffffffffffffffffffffff1614611ab3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aaa9061400a565b60405180910390fd5b565b6000805482109050919050565b600033905090565b826005600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6000611b8782612153565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff16611bae611ac2565b73ffffffffffffffffffffffffffffffffffffffff161480611c0a5750611bd3611ac2565b73ffffffffffffffffffffffffffffffffffffffff16611bf284610a9a565b73ffffffffffffffffffffffffffffffffffffffff16145b80611c265750611c258260000151611c20611ac2565b61189d565b5b905080611c68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c5f9061409c565b60405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff1614611cda576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cd19061412e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611d4a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d41906141c0565b60405180910390fd5b611d57858585600161270e565b611d676000848460000151611aca565b6001600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff16611dd591906141fc565b92506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff1602179055506001600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff16611e799190614230565b92506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555060405180604001604052808573ffffffffffffffffffffffffffffffffffffffff1681526020014267ffffffffffffffff168152506003600085815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055509050506000600184611f7f9190613a4a565b9050600073ffffffffffffffffffffffffffffffffffffffff166003600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156120c557611ff581611ab5565b156120c4576040518060400160405280846000015173ffffffffffffffffffffffffffffffffffffffff168152602001846020015167ffffffffffffffff168152506003600083815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055509050505b5b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461212d8686866001612714565b505050505050565b61214f82826040518060200160405280600081525061271a565b5050565b61215b612df5565b61216482611ab5565b6121a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161219a906142e8565b60405180910390fd5b60007f000000000000000000000000000000000000000000000000000000000000271083106122075760017f0000000000000000000000000000000000000000000000000000000000002710846121fa919061373f565b6122049190613a4a565b90505b60008390505b818110612315576000600360008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461230157809350505050612351565b50808061230d90614308565b91505061220d565b506040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612348906143a4565b60405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600061243d8473ffffffffffffffffffffffffffffffffffffffff16612bf9565b15612597578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612466611ac2565b8786866040518563ffffffff1660e01b81526004016124889493929190614419565b6020604051808303816000875af19250505080156124c457506040513d601f19601f820116820180604052508101906124c1919061447a565b60015b612547573d80600081146124f4576040519150601f19603f3d011682016040523d82523d6000602084013e6124f9565b606091505b5060008151141561253f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161253690613e1a565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061259c565b600190505b949350505050565b6060600a80546125b390613528565b80601f01602080910402602001604051908101604052809291908181526020018280546125df90613528565b801561262c5780601f106126015761010080835404028352916020019161262c565b820191906000526020600020905b81548152906001019060200180831161260f57829003601f168201915b5050505050905090565b60606000600161264584612c1c565b01905060008167ffffffffffffffff81111561266457612663613188565b5b6040519080825280601f01601f1916602001820160405280156126965781602001600182028036833780820191505090505b509050600082602001820190505b600115612703578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a85816126ed576126ec6144a7565b5b04945060008514156126fe57612703565b6126a4565b819350505050919050565b50505050565b50505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612790576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161278790614548565b60405180910390fd5b61279981611ab5565b156127d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127d0906145b4565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000271083111561283c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161283390614646565b60405180910390fd5b612849600085838661270e565b6000600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060400160405290816000820160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1681526020016000820160109054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1681525050905060405180604001604052808583600001516129469190614230565b6fffffffffffffffffffffffffffffffff16815260200185836020015161296d9190614230565b6fffffffffffffffffffffffffffffffff16815250600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008201518160000160006101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555060208201518160000160106101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555090505060405180604001604052808673ffffffffffffffffffffffffffffffffffffffff1681526020014267ffffffffffffffff168152506003600084815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550905050600082905060005b85811015612bdc57818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612b7c600088848861241c565b612bbb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bb290613e1a565b60405180910390fd5b8180612bc690613805565b9250508080612bd490613805565b915050612b0b565b5080600081905550612bf16000878588612714565b505050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600080600090507a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310612c7a577a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008381612c7057612c6f6144a7565b5b0492506040810190505b6d04ee2d6d415b85acef81000000008310612cb7576d04ee2d6d415b85acef81000000008381612cad57612cac6144a7565b5b0492506020810190505b662386f26fc100008310612ce657662386f26fc100008381612cdc57612cdb6144a7565b5b0492506010810190505b6305f5e1008310612d0f576305f5e1008381612d0557612d046144a7565b5b0492506008810190505b6127108310612d34576127108381612d2a57612d296144a7565b5b0492506004810190505b60648310612d575760648381612d4d57612d4c6144a7565b5b0492506002810190505b600a8310612d66576001810190505b80915050919050565b828054612d7b90613528565b90600052602060002090601f016020900481019282612d9d5760008555612de4565b82601f10612db657805160ff1916838001178555612de4565b82800160010185558215612de4579182015b82811115612de3578251825591602001919060010190612dc8565b5b509050612df19190612e2f565b5090565b6040518060400160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681525090565b5b80821115612e48576000816000905550600101612e30565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612e9581612e60565b8114612ea057600080fd5b50565b600081359050612eb281612e8c565b92915050565b600060208284031215612ece57612ecd612e56565b5b6000612edc84828501612ea3565b91505092915050565b60008115159050919050565b612efa81612ee5565b82525050565b6000602082019050612f156000830184612ef1565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612f55578082015181840152602081019050612f3a565b83811115612f64576000848401525b50505050565b6000601f19601f8301169050919050565b6000612f8682612f1b565b612f908185612f26565b9350612fa0818560208601612f37565b612fa981612f6a565b840191505092915050565b60006020820190508181036000830152612fce8184612f7b565b905092915050565b6000819050919050565b612fe981612fd6565b8114612ff457600080fd5b50565b60008135905061300681612fe0565b92915050565b60006020828403121561302257613021612e56565b5b600061303084828501612ff7565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061306482613039565b9050919050565b61307481613059565b82525050565b600060208201905061308f600083018461306b565b92915050565b61309e81613059565b81146130a957600080fd5b50565b6000813590506130bb81613095565b92915050565b600080604083850312156130d8576130d7612e56565b5b60006130e6858286016130ac565b92505060206130f785828601612ff7565b9150509250929050565b61310a81612fd6565b82525050565b60006020820190506131256000830184613101565b92915050565b60008060006060848603121561314457613143612e56565b5b6000613152868287016130ac565b9350506020613163868287016130ac565b925050604061317486828701612ff7565b9150509250925092565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6131c082612f6a565b810181811067ffffffffffffffff821117156131df576131de613188565b5b80604052505050565b60006131f2612e4c565b90506131fe82826131b7565b919050565b600067ffffffffffffffff82111561321e5761321d613188565b5b61322782612f6a565b9050602081019050919050565b82818337600083830152505050565b600061325661325184613203565b6131e8565b90508281526020810184848401111561327257613271613183565b5b61327d848285613234565b509392505050565b600082601f83011261329a5761329961317e565b5b81356132aa848260208601613243565b91505092915050565b6000602082840312156132c9576132c8612e56565b5b600082013567ffffffffffffffff8111156132e7576132e6612e5b565b5b6132f384828501613285565b91505092915050565b60006020828403121561331257613311612e56565b5b6000613320848285016130ac565b91505092915050565b61333281612ee5565b811461333d57600080fd5b50565b60008135905061334f81613329565b92915050565b6000806040838503121561336c5761336b612e56565b5b600061337a858286016130ac565b925050602061338b85828601613340565b9150509250929050565b600067ffffffffffffffff8211156133b0576133af613188565b5b6133b982612f6a565b9050602081019050919050565b60006133d96133d484613395565b6131e8565b9050828152602081018484840111156133f5576133f4613183565b5b613400848285613234565b509392505050565b600082601f83011261341d5761341c61317e565b5b813561342d8482602086016133c6565b91505092915050565b600080600080608085870312156134505761344f612e56565b5b600061345e878288016130ac565b945050602061346f878288016130ac565b935050604061348087828801612ff7565b925050606085013567ffffffffffffffff8111156134a1576134a0612e5b565b5b6134ad87828801613408565b91505092959194509250565b600080604083850312156134d0576134cf612e56565b5b60006134de858286016130ac565b92505060206134ef858286016130ac565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061354057607f821691505b60208210811415613554576135536134f9565b5b50919050565b7f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560008201527f78697374656e7420746f6b656e00000000000000000000000000000000000000602082015250565b60006135b6602d83612f26565b91506135c18261355a565b604082019050919050565b600060208201905081810360008301526135e5816135a9565b9050919050565b7f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60008201527f6572000000000000000000000000000000000000000000000000000000000000602082015250565b6000613648602283612f26565b9150613653826135ec565b604082019050919050565b600060208201905081810360008301526136778161363b565b9050919050565b7f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f76656420666f7220616c6c00000000000000602082015250565b60006136da603983612f26565b91506136e58261367e565b604082019050919050565b60006020820190508181036000830152613709816136cd565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061374a82612fd6565b915061375583612fd6565b92508282101561376857613767613710565b5b828203905092915050565b7f455243373231413a206f776e657220696e646578206f7574206f6620626f756e60008201527f6473000000000000000000000000000000000000000000000000000000000000602082015250565b60006137cf602283612f26565b91506137da82613773565b604082019050919050565b600060208201905081810360008301526137fe816137c2565b9050919050565b600061381082612fd6565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561384357613842613710565b5b600182019050919050565b7f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060008201527f6f776e657220627920696e646578000000000000000000000000000000000000602082015250565b60006138aa602e83612f26565b91506138b58261384e565b604082019050919050565b600060208201905081810360008301526138d98161389d565b9050919050565b7f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f7560008201527f6e64730000000000000000000000000000000000000000000000000000000000602082015250565b600061393c602383612f26565b9150613947826138e0565b604082019050919050565b6000602082019050818103600083015261396b8161392f565b9050919050565b7f53616c65206d757374206265206163746976652e000000000000000000000000600082015250565b60006139a8601483612f26565b91506139b382613972565b602082019050919050565b600060208201905081810360008301526139d78161399b565b9050919050565b7f416c726561647920636c61696d65642066726565206d696e7400000000000000600082015250565b6000613a14601983612f26565b9150613a1f826139de565b602082019050919050565b60006020820190508181036000830152613a4381613a07565b9050919050565b6000613a5582612fd6565b9150613a6083612fd6565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613a9557613a94613710565b5b828201905092915050565b7f457863656564206d617820737570706c79000000000000000000000000000000600082015250565b6000613ad6601183612f26565b9150613ae182613aa0565b602082019050919050565b60006020820190508181036000830152613b0581613ac9565b9050919050565b7f455243373231413a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b6000613b68602b83612f26565b9150613b7382613b0c565b604082019050919050565b60006020820190508181036000830152613b9781613b5b565b9050919050565b7f4d757374206d696e74206174206c65617374203120746f6b656e000000000000600082015250565b6000613bd4601a83612f26565b9150613bdf82613b9e565b602082019050919050565b60006020820190508181036000830152613c0381613bc7565b9050919050565b7f43616e74206d696e74206d6f7265207468616e20313020746f6b656e73000000600082015250565b6000613c40601d83612f26565b9150613c4b82613c0a565b602082019050919050565b60006020820190508181036000830152613c6f81613c33565b9050919050565b6000613c8182612fd6565b9150613c8c83612fd6565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613cc557613cc4613710565b5b828202905092915050565b7f496e73756666696369656e742066756e647320746f20636c61696d2e00000000600082015250565b6000613d06601c83612f26565b9150613d1182613cd0565b602082019050919050565b60006020820190508181036000830152613d3581613cf9565b9050919050565b7f455243373231413a20617070726f766520746f2063616c6c6572000000000000600082015250565b6000613d72601a83612f26565b9150613d7d82613d3c565b602082019050919050565b60006020820190508181036000830152613da181613d65565b9050919050565b7f455243373231413a207472616e7366657220746f206e6f6e204552433732315260008201527f6563656976657220696d706c656d656e74657200000000000000000000000000602082015250565b6000613e04603383612f26565b9150613e0f82613da8565b604082019050919050565b60006020820190508181036000830152613e3381613df7565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000613e96602f83612f26565b9150613ea182613e3a565b604082019050919050565b60006020820190508181036000830152613ec581613e89565b9050919050565b600081905092915050565b6000613ee282612f1b565b613eec8185613ecc565b9350613efc818560208601612f37565b80840191505092915050565b6000613f148285613ed7565b9150613f208284613ed7565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613f88602683612f26565b9150613f9382613f2c565b604082019050919050565b60006020820190508181036000830152613fb781613f7b565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613ff4602083612f26565b9150613fff82613fbe565b602082019050919050565b6000602082019050818103600083015261402381613fe7565b9050919050565b7f455243373231413a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b6000614086603283612f26565b91506140918261402a565b604082019050919050565b600060208201905081810360008301526140b581614079565b9050919050565b7f455243373231413a207472616e736665722066726f6d20696e636f727265637460008201527f206f776e65720000000000000000000000000000000000000000000000000000602082015250565b6000614118602683612f26565b9150614123826140bc565b604082019050919050565b600060208201905081810360008301526141478161410b565b9050919050565b7f455243373231413a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b60006141aa602583612f26565b91506141b58261414e565b604082019050919050565b600060208201905081810360008301526141d98161419d565b9050919050565b60006fffffffffffffffffffffffffffffffff82169050919050565b6000614207826141e0565b9150614212836141e0565b92508282101561422557614224613710565b5b828203905092915050565b600061423b826141e0565b9150614246836141e0565b9250826fffffffffffffffffffffffffffffffff0382111561426b5761426a613710565b5b828201905092915050565b7f455243373231413a206f776e657220717565727920666f72206e6f6e6578697360008201527f74656e7420746f6b656e00000000000000000000000000000000000000000000602082015250565b60006142d2602a83612f26565b91506142dd82614276565b604082019050919050565b60006020820190508181036000830152614301816142c5565b9050919050565b600061431382612fd6565b9150600082141561432757614326613710565b5b600182039050919050565b7f455243373231413a20756e61626c6520746f2064657465726d696e652074686560008201527f206f776e6572206f6620746f6b656e0000000000000000000000000000000000602082015250565b600061438e602f83612f26565b915061439982614332565b604082019050919050565b600060208201905081810360008301526143bd81614381565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006143eb826143c4565b6143f581856143cf565b9350614405818560208601612f37565b61440e81612f6a565b840191505092915050565b600060808201905061442e600083018761306b565b61443b602083018661306b565b6144486040830185613101565b818103606083015261445a81846143e0565b905095945050505050565b60008151905061447481612e8c565b92915050565b6000602082840312156144905761448f612e56565b5b600061449e84828501614465565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f455243373231413a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b6000614532602183612f26565b915061453d826144d6565b604082019050919050565b6000602082019050818103600083015261456181614525565b9050919050565b7f455243373231413a20746f6b656e20616c7265616479206d696e746564000000600082015250565b600061459e601d83612f26565b91506145a982614568565b602082019050919050565b600060208201905081810360008301526145cd81614591565b9050919050565b7f455243373231413a207175616e7469747920746f206d696e7420746f6f20686960008201527f6768000000000000000000000000000000000000000000000000000000000000602082015250565b6000614630602283612f26565b915061463b826145d4565b604082019050919050565b6000602082019050818103600083015261465f81614623565b905091905056fea2646970667358221220dfe5e153590dd675c9d17e0784275dede06d9b5f24cc907b25e3499c0ba504b364736f6c634300080a0033

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.