ETH Price: $3,030.54 (+3.91%)
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Withdraw152853162022-08-05 23:33:26826 days ago1659742406IN
0x7e373993...3E1ACc287
0 ETH0.000268328.81028784
Set Approval For...150527732022-06-30 22:04:46862 days ago1656626686IN
0x7e373993...3E1ACc287
0 ETH0.0012828727.82024691
Mint150519582022-06-30 19:00:51862 days ago1656615651IN
0x7e373993...3E1ACc287
0.25 ETH0.0033169337.92555988
Set Public Sale150519402022-06-30 18:57:36862 days ago1656615456IN
0x7e373993...3E1ACc287
0 ETH0.0020598544.87793777
Set Paused150518982022-06-30 18:48:40862 days ago1656614920IN
0x7e373993...3E1ACc287
0 ETH0.0012978554.23761601
Transfer Ownersh...150079312022-06-22 13:57:08870 days ago1655906228IN
0x7e373993...3E1ACc287
0 ETH0.0013048845.53942778
Set Uri Prefix150067122022-06-22 8:16:54870 days ago1655885814IN
0x7e373993...3E1ACc287
0 ETH0.0025400922.17960888
0x60a06040150067022022-06-22 8:13:24870 days ago1655885604IN
 Create: RisingLions
0 ETH0.0441012116.51469778

Latest 1 internal transaction

Advanced mode:
Parent Transaction Hash Block From To
152853162022-08-05 23:33:26826 days ago1659742406
0x7e373993...3E1ACc287
0.25 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
RisingLions

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2022-06-22
*/

// SPDX-License-Identifier: MIT

pragma solidity >=0.8.0 <0.9.0;

// File: @openzeppelin/contracts/security/ReentrancyGuard.sol


// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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

// File: @openzeppelin/contracts/utils/cryptography/MerkleProof.sol


// OpenZeppelin Contracts v4.4.1 (utils/cryptography/MerkleProof.sol)

/**
 * @dev These functions deal with verification of Merkle Trees proofs.
 *
 * The proofs can be generated using the JavaScript library
 * https://github.com/miguelmota/merkletreejs[merkletreejs].
 * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
 *
 * See `test/utils/cryptography/MerkleProof.test.js` for some examples.
 */
library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(
        bytes32[] memory proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProof(proof, leaf) == root;
    }

    /**
     * @dev Returns the rebuilt hash obtained by traversing a Merklee tree up
     * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt
     * hash matches the root of the tree. When processing the proof, the pairs
     * of leafs & pre-images are assumed to be sorted.
     *
     * _Available since v4.4._
     */
    function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            bytes32 proofElement = proof[i];
            if (computedHash <= proofElement) {
                // Hash(current computed hash + current element of the proof)
                computedHash = keccak256(abi.encodePacked(computedHash, proofElement));
            } else {
                // Hash(current element of the proof + current computed hash)
                computedHash = keccak256(abi.encodePacked(proofElement, computedHash));
            }
        }
        return computedHash;
    }
}

// File: @openzeppelin/contracts/utils/Strings.sol


// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)

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

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

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

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

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

// File: @openzeppelin/contracts/utils/Context.sol


// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

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

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

// File: @openzeppelin/contracts/access/Ownable.sol


// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)


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

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

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

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

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

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

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

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

// File: @openzeppelin/contracts/utils/Address.sol


// OpenZeppelin Contracts v4.4.1 (utils/Address.sol)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// File: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol


// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol)

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

// File: @openzeppelin/contracts/utils/introspection/IERC165.sol


// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

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

// File: @openzeppelin/contracts/utils/introspection/ERC165.sol


// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)


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

// File: @openzeppelin/contracts/token/ERC721/IERC721.sol


// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol)


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

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

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

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

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

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Transfers `tokenId` token from `from` to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Gives permission to `to` to transfer `tokenId` token to another account.
     * The approval is cleared when the token is transferred.
     *
     * Only a single account can be approved at a time, so approving the zero address clears previous approvals.
     *
     * Requirements:
     *
     * - The caller must own the token or be an approved operator.
     * - `tokenId` must exist.
     *
     * Emits an {Approval} event.
     */
    function approve(address to, uint256 tokenId) external;

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

    /**
     * @dev Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool _approved) external;

    /**
     * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
     *
     * See {setApprovalForAll}
     */
    function isApprovedForAll(address owner, address operator) external view returns (bool);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes calldata data
    ) external;
}

// File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol


// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol)


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

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

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

// File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol


// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)


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

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

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

// File: https://github.com/chiru-labs/ERC721A/blob/v3.0.0/contracts/ERC721A.sol


// Creator: Chiru Labs

error ApprovalCallerNotOwnerNorApproved();
error ApprovalQueryForNonexistentToken();
error ApproveToCaller();
error ApprovalToCurrentOwner();
error BalanceQueryForZeroAddress();
error MintedQueryForZeroAddress();
error BurnedQueryForZeroAddress();
error AuxQueryForZeroAddress();
error MintToZeroAddress();
error MintZeroQuantity();
error OwnerIndexOutOfBounds();
error OwnerQueryForNonexistentToken();
error TokenIndexOutOfBounds();
error TransferCallerNotOwnerNorApproved();
error TransferFromIncorrectOwner();
error TransferToNonERC721ReceiverImplementer();
error TransferToZeroAddress();
error URIQueryForNonexistentToken();

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension. Built to optimize for lower gas during batch mints.
 *
 * Assumes serials are sequentially minted starting at _startTokenId() (defaults to 0, e.g. 0, 1, 2, 3..).
 *
 * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply.
 *
 * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256).
 */
contract ERC721A is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // Compiler will pack this into a single 256bit word.
    struct TokenOwnership {
        // The address of the owner.
        address addr;
        // Keeps track of the start time of ownership with minimal overhead for tokenomics.
        uint64 startTimestamp;
        // Whether the token has been burned.
        bool burned;
    }

    // Compiler will pack this into a single 256bit word.
    struct AddressData {
        // Realistically, 2**64-1 is more than enough.
        uint64 balance;
        // Keeps track of mint count with minimal overhead for tokenomics.
        uint64 numberMinted;
        // Keeps track of burn count with minimal overhead for tokenomics.
        uint64 numberBurned;
        // For miscellaneous variable(s) pertaining to the address
        // (e.g. number of whitelist mint slots used).
        // If there are multiple variables, please pack them into a uint64.
        uint64 aux;
    }

    // The tokenId of the next token to be minted.
    uint256 internal _currentIndex;

    // The number of tokens burned.
    uint256 internal _burnCounter;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

    /**
     * To change the starting tokenId, please override this function.
     */
    function _startTokenId() internal view virtual returns (uint256) {
        return 0;
    }

    /**
     * @dev See {IERC721Enumerable-totalSupply}.
     * @dev Burned tokens are calculated here, use _totalMinted() if you want to count just minted tokens.
     */
    function totalSupply() public view returns (uint256) {
        // Counter underflow is impossible as _burnCounter cannot be incremented
        // more than _currentIndex - _startTokenId() times
        unchecked {
            return _currentIndex - _burnCounter - _startTokenId();
        }
    }

    /**
     * Returns the total amount of tokens minted in the contract.
     */
    function _totalMinted() internal view returns (uint256) {
        // Counter underflow is impossible as _currentIndex does not decrement,
        // and it is initialized to _startTokenId()
        unchecked {
            return _currentIndex - _startTokenId();
        }
    }

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

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view override returns (uint256) {
        if (owner == address(0)) revert BalanceQueryForZeroAddress();
        return uint256(_addressData[owner].balance);
    }

    /**
     * Returns the number of tokens minted by `owner`.
     */
    function _numberMinted(address owner) internal view returns (uint256) {
        if (owner == address(0)) revert MintedQueryForZeroAddress();
        return uint256(_addressData[owner].numberMinted);
    }

    /**
     * Returns the number of tokens burned by or on behalf of `owner`.
     */
    function _numberBurned(address owner) internal view returns (uint256) {
        if (owner == address(0)) revert BurnedQueryForZeroAddress();
        return uint256(_addressData[owner].numberBurned);
    }

    /**
     * Returns the auxillary data for `owner`. (e.g. number of whitelist mint slots used).
     */
    function _getAux(address owner) internal view returns (uint64) {
        if (owner == address(0)) revert AuxQueryForZeroAddress();
        return _addressData[owner].aux;
    }

    /**
     * Sets the auxillary data for `owner`. (e.g. number of whitelist mint slots used).
     * If there are multiple variables, please pack them into a uint64.
     */
    function _setAux(address owner, uint64 aux) internal {
        if (owner == address(0)) revert AuxQueryForZeroAddress();
        _addressData[owner].aux = aux;
    }

    /**
     * Gas spent here starts off proportional to the maximum mint batch size.
     * It gradually moves to O(1) as tokens get transferred around in the collection over time.
     */
    function ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) {
        uint256 curr = tokenId;

        unchecked {
            if (_startTokenId() <= curr && curr < _currentIndex) {
                TokenOwnership memory ownership = _ownerships[curr];
                if (!ownership.burned) {
                    if (ownership.addr != address(0)) {
                        return ownership;
                    }
                    // Invariant:
                    // There will always be an ownership that has an address and is not burned
                    // before an ownership that does not have an address and is not burned.
                    // Hence, curr will not underflow.
                    while (true) {
                        curr--;
                        ownership = _ownerships[curr];
                        if (ownership.addr != address(0)) {
                            return ownership;
                        }
                    }
                }
            }
        }
        revert OwnerQueryForNonexistentToken();
    }

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

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

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

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        if (!_exists(tokenId)) revert URIQueryForNonexistentToken();

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

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

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public override {
        address owner = ERC721A.ownerOf(tokenId);
        if (to == owner) revert ApprovalToCurrentOwner();

        if (_msgSender() != owner && !isApprovedForAll(owner, _msgSender())) {
            revert ApprovalCallerNotOwnerNorApproved();
        }

        _approve(to, tokenId, owner);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view override returns (address) {
        if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken();

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public override {
        if (operator == _msgSender()) revert ApproveToCaller();

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

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

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

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

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public virtual override {
        _transfer(from, to, tokenId);
        if (to.isContract() && !_checkContractOnERC721Received(from, to, tokenId, _data)) {
            revert TransferToNonERC721ReceiverImplementer();
        }
    }

    /**
     * @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 _startTokenId() <= tokenId && tokenId < _currentIndex &&
            !_ownerships[tokenId].burned;
    }

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

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

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

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

        // Overflows are incredibly unrealistic.
        // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1
        // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1
        unchecked {
            _addressData[to].balance += uint64(quantity);
            _addressData[to].numberMinted += uint64(quantity);

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

            uint256 updatedIndex = startTokenId;
            uint256 end = updatedIndex + quantity;

            if (safe && to.isContract()) {
                do {
                    emit Transfer(address(0), to, updatedIndex);
                    if (!_checkContractOnERC721Received(address(0), to, updatedIndex++, _data)) {
                        revert TransferToNonERC721ReceiverImplementer();
                    }
                } while (updatedIndex != end);
                // Reentrancy protection
                if (_currentIndex != startTokenId) revert();
            } else {
                do {
                    emit Transfer(address(0), to, updatedIndex++);
                } while (updatedIndex != end);
            }
            _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 ||
            isApprovedForAll(prevOwnership.addr, _msgSender()) ||
            getApproved(tokenId) == _msgSender());

        if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        if (prevOwnership.addr != from) revert TransferFromIncorrectOwner();
        if (to == address(0)) revert TransferToZeroAddress();

        _beforeTokenTransfers(from, to, tokenId, 1);

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

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

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

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

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

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

        _beforeTokenTransfers(prevOwnership.addr, address(0), tokenId, 1);

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

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

            // Keep track of who burned the token, and the timestamp of burning.
            _ownerships[tokenId].addr = prevOwnership.addr;
            _ownerships[tokenId].startTimestamp = uint64(block.timestamp);
            _ownerships[tokenId].burned = true;

            // If the ownership slot of tokenId+1 is not explicitly set, that means the burn 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)) {
                // This will suffice for checking _exists(nextTokenId),
                // as a burned slot cannot contain the zero address.
                if (nextTokenId < _currentIndex) {
                    _ownerships[nextTokenId].addr = prevOwnership.addr;
                    _ownerships[nextTokenId].startTimestamp = prevOwnership.startTimestamp;
                }
            }
        }

        emit Transfer(prevOwnership.addr, address(0), tokenId);
        _afterTokenTransfers(prevOwnership.addr, address(0), tokenId, 1);

        // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times.
        unchecked {
            _burnCounter++;
        }
    }

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

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target 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 _checkContractOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        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 TransferToNonERC721ReceiverImplementer();
            } else {
                assembly {
                    revert(add(32, reason), mload(reason))
                }
            }
        }
    }

    /**
     * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting.
     * And also called before burning one token.
     *
     * 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`.
     * - When `to` is zero, `tokenId` will be burned by `from`.
     * - `from` and `to` are never both zero.
     */
    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.
     * And also called after one token has been burned.
     *
     * 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` has been
     * transferred to `to`.
     * - When `from` is zero, `tokenId` has been minted for `to`.
     * - When `to` is zero, `tokenId` has been burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _afterTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}
}

// File: RisingLions.sol

contract RisingLions is ERC721A, Ownable, ReentrancyGuard {
  using Strings for uint256;

  string private uriPrefix = "";
  string public uriSuffix = ".json";
  
  uint256 public presaleCost = 0.125 ether;
  uint256 public publicCost = 0.25 ether;
  uint256 public maxSupply = 10666;
  uint256 public maxPublicMintAmountPerTx = 10;
  uint256 public maxPresaleMintAmountPerTx = 10;
  uint256 public maxPresaleWalletLimit = 10;
  uint256 public maxPublicSaleWalletLimit = 10;

  bool public paused = true;
  bool public presaleActive = false;
  bool public saleActive = false;
  bytes32 private merkleRoot;

  constructor() ERC721A("Rising Lions", "RISL") {}

  function _startTokenId() internal override view virtual returns (uint256) {
        return 1;
  }

  function cost() public view returns(uint256) {
      if(presaleActive) return presaleCost;

      return publicCost;
  }

  function maxWalletLimit() public view returns(uint256) {
      if(presaleActive) return maxPresaleWalletLimit;

      return maxPublicSaleWalletLimit;
  }

  function maxMintAmountPerTx() public view returns(uint256) {
      if(presaleActive) return maxPresaleMintAmountPerTx;

      return maxPublicMintAmountPerTx;
  }

  modifier mintCompliance(uint256 _mintAmount) {
    require(!paused, "The contract is paused!");
    require(_mintAmount > 0 && _mintAmount <= maxMintAmountPerTx(), "Invalid mint amount!");
    require(totalSupply() + _mintAmount <= maxSupply, "Max supply exceeded!");
    _;
  }

  modifier selfMintCompliance(uint256 _mintAmount) {
    require(_mintAmount > 0, "Invalid mint amount!");
    require(totalSupply() + _mintAmount <= maxSupply, "Max supply exceeded!");
    _;
  }

  function mint(uint256 _mintAmount) public payable mintCompliance(_mintAmount) {
    require(saleActive, "Sale is not Active" );
    require(msg.value >= cost() * _mintAmount, "Insufficient funds!");
    require(balanceOf(msg.sender) + _mintAmount <= maxWalletLimit(), "Max mint amount per wallet reached");
    _safeMint(msg.sender, _mintAmount);
  }
  
  function mintForAddress(uint256 _mintAmount, address _receiver) public mintCompliance(_mintAmount) onlyOwner {
    _safeMint(_receiver, _mintAmount);
  }

  function mintForSelf(uint256 _mintAmount) public selfMintCompliance(_mintAmount) onlyOwner {
    _safeMint(msg.sender, _mintAmount);
  }

  function whitelistMint(uint256 _mintAmount, bytes32 leaf, bytes32[] memory proof) external payable mintCompliance(_mintAmount) {
    require(presaleActive, "Sale is not Active" );
    require(merkleRoot != '', "Merkle Root not set");
    // Verify that (msg.sender, amount) correspond to Merkle leaf
    require(keccak256(abi.encodePacked(msg.sender)) == leaf, "Sender and amount don't match Merkle leaf");

     // Verify that (leaf, proof) matches the Merkle root
    require(verify(merkleRoot, leaf, proof), "Not a valid leaf in the Merkle tree");
    require(msg.value >= cost() * _mintAmount, "Insufficient funds!");
    require(balanceOf(msg.sender) + _mintAmount <= maxWalletLimit(), "Max mint amount per wallet reached");
    _safeMint(msg.sender, _mintAmount);
  }

  function verify(bytes32 _merkleRoot, bytes32 leaf, bytes32[] memory proof) public pure returns (bool) {
        return MerkleProof.verify(proof, _merkleRoot, leaf);
    }

  function walletOfOwner(address _owner)
    public
    view
    returns (uint256[] memory)
  {
    uint256 ownerTokenCount = balanceOf(_owner);
    uint256[] memory ownedTokenIds = new uint256[](ownerTokenCount);
    uint256 currentTokenId = 1;
    uint256 ownedTokenIndex = 0;

    while (ownedTokenIndex < ownerTokenCount && currentTokenId <= maxSupply) {
      address currentTokenOwner = ownerOf(currentTokenId);

      if (currentTokenOwner == _owner) {
        ownedTokenIds[ownedTokenIndex] = currentTokenId;

        ownedTokenIndex++;
      }

      currentTokenId++;
    }

    return ownedTokenIds;
  }

  function tokenURI(uint256 _tokenId)
    public
    view
    virtual
    override
    returns (string memory)
  {
    require(
      _exists(_tokenId),
      "ERC721Metadata: URI query for nonexistent token"
    );

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

  function setMerkleRoot(bytes32 _merkleRoot) public onlyOwner {
        merkleRoot = _merkleRoot;
    }

  function setPublicCost(uint256 _cost) public onlyOwner {
    publicCost = _cost;
  }
  function setPresaleCost(uint256 _cost) public onlyOwner {
    presaleCost = _cost;
  }

  function setPublicSale(bool _sale) public onlyOwner {
    saleActive = _sale;
  }

  function setPreSale(bool _sale) public onlyOwner {
    presaleActive = _sale;
  }

  function setPresaleMaxWalletLimit(uint256 _maxWalletLimit) public onlyOwner {
      maxPresaleWalletLimit = _maxWalletLimit;
  }

  function setPublicSaleMaxWalletLimit(uint256 _maxWalletLimit) public onlyOwner {
      maxPublicSaleWalletLimit = _maxWalletLimit;
  }

  function setPublicMaxMintAmountPerTx(uint256 _maxMintAmountPerTx) public onlyOwner {
    maxPublicMintAmountPerTx = _maxMintAmountPerTx;
  }

  function setPresaleMaxMintAmountPerTx(uint256 _maxMintAmountPerTx) public onlyOwner {
    maxPresaleMintAmountPerTx = _maxMintAmountPerTx;
  }

  function setUriPrefix(string memory _uriPrefix) public onlyOwner {
    uriPrefix = _uriPrefix;
  }

  function setUriSuffix(string memory _uriSuffix) public onlyOwner {
    uriSuffix = _uriSuffix;
  }

  function setPaused(bool _state) public onlyOwner {
    paused = _state;
  }

  function withdraw() public onlyOwner {
    require(address(this).balance > 0, "Balance is 0");
    payable(owner()).transfer(address(this).balance);
  }

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"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":"maxMintAmountPerTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPresaleMintAmountPerTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPresaleWalletLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPublicMintAmountPerTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPublicSaleWalletLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWalletLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"},{"internalType":"address","name":"_receiver","type":"address"}],"name":"mintForAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"mintForSelf","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presaleCost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicCost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleActive","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":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_sale","type":"bool"}],"name":"setPreSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_cost","type":"uint256"}],"name":"setPresaleCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxMintAmountPerTx","type":"uint256"}],"name":"setPresaleMaxMintAmountPerTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxWalletLimit","type":"uint256"}],"name":"setPresaleMaxWalletLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_cost","type":"uint256"}],"name":"setPublicCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxMintAmountPerTx","type":"uint256"}],"name":"setPublicMaxMintAmountPerTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_sale","type":"bool"}],"name":"setPublicSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxWalletLimit","type":"uint256"}],"name":"setPublicSaleMaxWalletLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uriPrefix","type":"string"}],"name":"setUriPrefix","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uriSuffix","type":"string"}],"name":"setUriSuffix","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","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":"uriSuffix","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"},{"internalType":"bytes32","name":"leaf","type":"bytes32"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"verify","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"},{"internalType":"bytes32","name":"leaf","type":"bytes32"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"whitelistMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60a06040819052600060808190526200001b91600a9162000170565b5060408051808201909152600580825264173539b7b760d91b60209092019182526200004a91600b9162000170565b506701bc16d674ec8000600c556703782dace9d90000600d556129aa600e55600a600f819055601081905560118190556012556013805462ffffff191660011790553480156200009957600080fd5b50604080518082018252600c81526b526973696e67204c696f6e7360a01b602080830191825283518085019094526004845263149254d360e21b908401528151919291620000ea9160029162000170565b5080516200010090600390602084019062000170565b505060016000555062000113336200011e565b600160095562000253565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200017e9062000216565b90600052602060002090601f016020900481019282620001a25760008555620001ed565b82601f10620001bd57805160ff1916838001178555620001ed565b82800160010185558215620001ed579182015b82811115620001ed578251825591602001919060010190620001d0565b50620001fb929150620001ff565b5090565b5b80821115620001fb576000815560010162000200565b600181811c908216806200022b57607f821691505b602082108114156200024d57634e487b7160e01b600052602260045260246000fd5b50919050565b61297c80620002636000396000f3fe6080604052600436106102c95760003560e01c806368428a1b11610175578063a0712d68116100dc578063c87b56dd11610095578063e985e9c51161006f578063e985e9c514610823578063efbd73f41461086c578063f2fde38b1461088c578063fc3b3d9e146108ac57600080fd5b8063c87b56dd146107da578063cebbaf55146107fa578063d5abeb011461080d57600080fd5b8063a0712d6814610731578063a22cb46514610744578063a34df58914610764578063ab13065a1461077a578063b88d4fde1461079a578063c49b3d54146107ba57600080fd5b80638693da201161012e5780638693da20146106935780638da5cb5b146106a95780638f025656146106c75780638fdcf942146106e757806394354fd01461070757806395d89b411461071c57600080fd5b806368428a1b146105de57806370a08231146105fe578063715018a61461061e5780637cb64759146106335780637ec4a65914610653578063811d24371461067357600080fd5b80633423e548116102345780635503a0e8116101ed5780635c975abb116101c75780635c975abb1461056f5780635ef7cd97146105895780636352211e146105a957806366a88d96146105c957600080fd5b80635503a0e814610524578063562a0a0c146105395780635aca1bb61461054f57600080fd5b80633423e548146104635780633ccfd60b1461048357806342842e0e14610498578063438b6300146104b857806349d3a2c5146104e557806353135ca01461050557600080fd5b806316ba10e01161028657806316ba10e0146103c257806316c38b3c146103e257806318160ddd1461040257806323b872dd146104175780632a23d07d146104375780632aad1f741461044d57600080fd5b806301ffc9a7146102ce57806306fdde0314610303578063081812fc14610325578063095ea7b31461035d5780630d95ccc91461037f57806313faede61461039f575b600080fd5b3480156102da57600080fd5b506102ee6102e936600461247d565b6108c2565b60405190151581526020015b60405180910390f35b34801561030f57600080fd5b50610318610914565b6040516102fa9190612693565b34801561033157600080fd5b50610345610340366004612415565b6109a6565b6040516001600160a01b0390911681526020016102fa565b34801561036957600080fd5b5061037d6103783660046123d0565b6109ea565b005b34801561038b57600080fd5b5061037d61039a3660046123fa565b610a78565b3480156103ab57600080fd5b506103b4610ac5565b6040519081526020016102fa565b3480156103ce57600080fd5b5061037d6103dd3660046124b7565b610ae6565b3480156103ee57600080fd5b5061037d6103fd3660046123fa565b610b27565b34801561040e57600080fd5b506103b4610b64565b34801561042357600080fd5b5061037d6104323660046122ef565b610b72565b34801561044357600080fd5b506103b4600c5481565b34801561045957600080fd5b506103b4600f5481565b34801561046f57600080fd5b506102ee61047e36600461242e565b610b7d565b34801561048f57600080fd5b5061037d610b92565b3480156104a457600080fd5b5061037d6104b33660046122ef565b610c37565b3480156104c457600080fd5b506104d86104d33660046122a1565b610c52565b6040516102fa919061264f565b3480156104f157600080fd5b5061037d610500366004612415565b610d32565b34801561051157600080fd5b506013546102ee90610100900460ff1681565b34801561053057600080fd5b50610318610d61565b34801561054557600080fd5b506103b460125481565b34801561055b57600080fd5b5061037d61056a3660046123fa565b610def565b34801561057b57600080fd5b506013546102ee9060ff1681565b34801561059557600080fd5b5061037d6105a4366004612415565b610e35565b3480156105b557600080fd5b506103456105c4366004612415565b610e64565b3480156105d557600080fd5b506103b4610e76565b3480156105ea57600080fd5b506013546102ee9062010000900460ff1681565b34801561060a57600080fd5b506103b46106193660046122a1565b610e97565b34801561062a57600080fd5b5061037d610ee5565b34801561063f57600080fd5b5061037d61064e366004612415565b610f1b565b34801561065f57600080fd5b5061037d61066e3660046124b7565b610f4a565b34801561067f57600080fd5b5061037d61068e366004612415565b610f87565b34801561069f57600080fd5b506103b4600d5481565b3480156106b557600080fd5b506008546001600160a01b0316610345565b3480156106d357600080fd5b5061037d6106e2366004612415565b610fb6565b3480156106f357600080fd5b5061037d610702366004612415565b610fe5565b34801561071357600080fd5b506103b4611014565b34801561072857600080fd5b50610318611035565b61037d61073f366004612415565b611044565b34801561075057600080fd5b5061037d61075f3660046123a6565b6111b9565b34801561077057600080fd5b506103b460105481565b34801561078657600080fd5b5061037d610795366004612415565b61124f565b3480156107a657600080fd5b5061037d6107b536600461232b565b61127e565b3480156107c657600080fd5b5061037d6107d5366004612415565b6112cf565b3480156107e657600080fd5b506103186107f5366004612415565b61134e565b61037d61080836600461242e565b61141c565b34801561081957600080fd5b506103b4600e5481565b34801561082f57600080fd5b506102ee61083e3660046122bc565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561087857600080fd5b5061037d6108873660046124ff565b6116cf565b34801561089857600080fd5b5061037d6108a73660046122a1565b61178f565b3480156108b857600080fd5b506103b460115481565b60006001600160e01b031982166380ac58cd60e01b14806108f357506001600160e01b03198216635b5e139f60e01b145b8061090e57506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600280546109239061286e565b80601f016020809104026020016040519081016040528092919081815260200182805461094f9061286e565b801561099c5780601f106109715761010080835404028352916020019161099c565b820191906000526020600020905b81548152906001019060200180831161097f57829003601f168201915b5050505050905090565b60006109b182611827565b6109ce576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60006109f582610e64565b9050806001600160a01b0316836001600160a01b03161415610a2a5760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b03821614801590610a4a5750610a48813361083e565b155b15610a68576040516367d9dca160e11b815260040160405180910390fd5b610a73838383611860565b505050565b6008546001600160a01b03163314610aab5760405162461bcd60e51b8152600401610aa2906126d4565b60405180910390fd5b601380549115156101000261ff0019909216919091179055565b601354600090610100900460ff1615610adf5750600c5490565b50600d5490565b6008546001600160a01b03163314610b105760405162461bcd60e51b8152600401610aa2906126d4565b8051610b2390600b906020840190612100565b5050565b6008546001600160a01b03163314610b515760405162461bcd60e51b8152600401610aa2906126d4565b6013805460ff1916911515919091179055565b600154600054036000190190565b610a738383836118bc565b6000610b8a828585611ad0565b949350505050565b6008546001600160a01b03163314610bbc5760405162461bcd60e51b8152600401610aa2906126d4565b60004711610bfb5760405162461bcd60e51b815260206004820152600c60248201526b042616c616e636520697320360a41b6044820152606401610aa2565b6008546040516001600160a01b03909116904780156108fc02916000818181858888f19350505050158015610c34573d6000803e3d6000fd5b50565b610a738383836040518060200160405280600081525061127e565b60606000610c5f83610e97565b90506000816001600160401b03811115610c7b57610c7b61291a565b604051908082528060200260200182016040528015610ca4578160200160208202803683370190505b509050600160005b8381108015610cbd5750600e548211155b15610d28576000610ccd83610e64565b9050866001600160a01b0316816001600160a01b03161415610d155782848381518110610cfc57610cfc612904565b602090810291909101015281610d11816128a9565b9250505b82610d1f816128a9565b93505050610cac565b5090949350505050565b6008546001600160a01b03163314610d5c5760405162461bcd60e51b8152600401610aa2906126d4565b600f55565b600b8054610d6e9061286e565b80601f0160208091040260200160405190810160405280929190818152602001828054610d9a9061286e565b8015610de75780601f10610dbc57610100808354040283529160200191610de7565b820191906000526020600020905b815481529060010190602001808311610dca57829003601f168201915b505050505081565b6008546001600160a01b03163314610e195760405162461bcd60e51b8152600401610aa2906126d4565b60138054911515620100000262ff000019909216919091179055565b6008546001600160a01b03163314610e5f5760405162461bcd60e51b8152600401610aa2906126d4565b601155565b6000610e6f82611ae6565b5192915050565b601354600090610100900460ff1615610e90575060115490565b5060125490565b60006001600160a01b038216610ec0576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600560205260409020546001600160401b031690565b6008546001600160a01b03163314610f0f5760405162461bcd60e51b8152600401610aa2906126d4565b610f196000611c0d565b565b6008546001600160a01b03163314610f455760405162461bcd60e51b8152600401610aa2906126d4565b601455565b6008546001600160a01b03163314610f745760405162461bcd60e51b8152600401610aa2906126d4565b8051610b2390600a906020840190612100565b6008546001600160a01b03163314610fb15760405162461bcd60e51b8152600401610aa2906126d4565b600d55565b6008546001600160a01b03163314610fe05760405162461bcd60e51b8152600401610aa2906126d4565b601055565b6008546001600160a01b0316331461100f5760405162461bcd60e51b8152600401610aa2906126d4565b600c55565b601354600090610100900460ff161561102e575060105490565b50600f5490565b6060600380546109239061286e565b601354819060ff16156110695760405162461bcd60e51b8152600401610aa290612709565b600081118015611080575061107c611014565b8111155b61109c5760405162461bcd60e51b8152600401610aa2906126a6565b600e54816110a8610b64565b6110b291906127e0565b11156110d05760405162461bcd60e51b8152600401610aa290612740565b60135462010000900460ff1661111d5760405162461bcd60e51b815260206004820152601260248201527153616c65206973206e6f742041637469766560701b6044820152606401610aa2565b81611126610ac5565b611130919061280c565b3410156111755760405162461bcd60e51b8152602060048201526013602482015272496e73756666696369656e742066756e64732160681b6044820152606401610aa2565b61117d610e76565b8261118733610e97565b61119191906127e0565b11156111af5760405162461bcd60e51b8152600401610aa29061276e565b610b233383611c5f565b6001600160a01b0382163314156111e35760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6008546001600160a01b031633146112795760405162461bcd60e51b8152600401610aa2906126d4565b601255565b6112898484846118bc565b6001600160a01b0383163b151580156112ab57506112a984848484611c79565b155b156112c9576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b80600081116112f05760405162461bcd60e51b8152600401610aa2906126a6565b600e54816112fc610b64565b61130691906127e0565b11156113245760405162461bcd60e51b8152600401610aa290612740565b6008546001600160a01b031633146111af5760405162461bcd60e51b8152600401610aa2906126d4565b606061135982611827565b6113bd5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610aa2565b60006113c7611d70565b905060008151116113e75760405180602001604052806000815250611415565b806113f184611d7f565b600b6040516020016114059392919061254e565b6040516020818303038152906040525b9392505050565b601354839060ff16156114415760405162461bcd60e51b8152600401610aa290612709565b6000811180156114585750611454611014565b8111155b6114745760405162461bcd60e51b8152600401610aa2906126a6565b600e5481611480610b64565b61148a91906127e0565b11156114a85760405162461bcd60e51b8152600401610aa290612740565b601354610100900460ff166114f45760405162461bcd60e51b815260206004820152601260248201527153616c65206973206e6f742041637469766560701b6044820152606401610aa2565b6014546115395760405162461bcd60e51b815260206004820152601360248201527213595c9adb1948149bdbdd081b9bdd081cd95d606a1b6044820152606401610aa2565b6040516bffffffffffffffffffffffff193360601b166020820152839060340160405160208183030381529060405280519060200120146115ce5760405162461bcd60e51b815260206004820152602960248201527f53656e64657220616e6420616d6f756e7420646f6e2774206d61746368204d656044820152683935b632903632b0b360b91b6064820152608401610aa2565b6115db6014548484610b7d565b6116335760405162461bcd60e51b815260206004820152602360248201527f4e6f7420612076616c6964206c65616620696e20746865204d65726b6c65207460448201526272656560e81b6064820152608401610aa2565b8361163c610ac5565b611646919061280c565b34101561168b5760405162461bcd60e51b8152602060048201526013602482015272496e73756666696369656e742066756e64732160681b6044820152606401610aa2565b611693610e76565b8461169d33610e97565b6116a791906127e0565b11156116c55760405162461bcd60e51b8152600401610aa29061276e565b6112c93385611c5f565b601354829060ff16156116f45760405162461bcd60e51b8152600401610aa290612709565b60008111801561170b5750611707611014565b8111155b6117275760405162461bcd60e51b8152600401610aa2906126a6565b600e5481611733610b64565b61173d91906127e0565b111561175b5760405162461bcd60e51b8152600401610aa290612740565b6008546001600160a01b031633146117855760405162461bcd60e51b8152600401610aa2906126d4565b610a738284611c5f565b6008546001600160a01b031633146117b95760405162461bcd60e51b8152600401610aa2906126d4565b6001600160a01b03811661181e5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610aa2565b610c3481611c0d565b60008160011115801561183b575060005482105b801561090e575050600090815260046020526040902054600160e01b900460ff161590565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60006118c782611ae6565b80519091506000906001600160a01b0316336001600160a01b031614806118f5575081516118f5903361083e565b80611910575033611905846109a6565b6001600160a01b0316145b90508061193057604051632ce44b5f60e11b815260040160405180910390fd5b846001600160a01b031682600001516001600160a01b0316146119655760405162a1148160e81b815260040160405180910390fd5b6001600160a01b03841661198c57604051633a954ecd60e21b815260040160405180910390fd5b61199c6000848460000151611860565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff198082166001600160401b0392831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b429092169190910217909255908601808352912054909116611a8657600054811015611a8657825160008281526004602090815260409091208054918601516001600160401b0316600160a01b026001600160e01b03199092166001600160a01b03909316929092171790555b5082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b600082611add8584611e7c565b14949350505050565b60408051606081018252600080825260208201819052918101919091528180600111158015611b16575060005481105b15611bf457600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff16151591810182905290611bf25780516001600160a01b031615611b89579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b82046001600160401b031693830193909352600160e01b900460ff1615159281019290925215611bed579392505050565b611b89565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610b23828260405180602001604052806000815250611f28565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611cae903390899088908890600401612612565b602060405180830381600087803b158015611cc857600080fd5b505af1925050508015611cf8575060408051601f3d908101601f19168201909252611cf59181019061249a565b60015b611d53573d808015611d26576040519150601f19603f3d011682016040523d82523d6000602084013e611d2b565b606091505b508051611d4b576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b6060600a80546109239061286e565b606081611da35750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611dcd5780611db7816128a9565b9150611dc69050600a836127f8565b9150611da7565b6000816001600160401b03811115611de757611de761291a565b6040519080825280601f01601f191660200182016040528015611e11576020820181803683370190505b5090505b8415610b8a57611e2660018361282b565b9150611e33600a866128c4565b611e3e9060306127e0565b60f81b818381518110611e5357611e53612904565b60200101906001600160f81b031916908160001a905350611e75600a866127f8565b9450611e15565b600081815b8451811015611f20576000858281518110611e9e57611e9e612904565b60200260200101519050808311611ee0576040805160208101859052908101829052606001604051602081830303815290604052805190602001209250611f0d565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b5080611f18816128a9565b915050611e81565b509392505050565b610a7383838360016000546001600160a01b038516611f5957604051622e076360e81b815260040160405180910390fd5b83611f775760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260056020908152604080832080546fffffffffffffffffffffffffffffffff1981166001600160401b038083168c0181169182176801000000000000000067ffffffffffffffff1990941690921783900481168c01811690920217909155858452600490925290912080546001600160e01b031916909217600160a01b42909216919091021790558080850183801561202857506001600160a01b0387163b15155b156120b1575b60405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46120796000888480600101955088611c79565b612096576040516368d2bf6b60e11b815260040160405180910390fd5b8082141561202e5782600054146120ac57600080fd5b6120f7565b5b6040516001830192906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808214156120b2575b50600055611ac9565b82805461210c9061286e565b90600052602060002090601f01602090048101928261212e5760008555612174565b82601f1061214757805160ff1916838001178555612174565b82800160010185558215612174579182015b82811115612174578251825591602001919060010190612159565b50612180929150612184565b5090565b5b808211156121805760008155600101612185565b60006001600160401b038311156121b2576121b261291a565b6121c5601f8401601f19166020016127b0565b90508281528383830111156121d957600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b038116811461220757600080fd5b919050565b600082601f83011261221d57600080fd5b813560206001600160401b038211156122385761223861291a565b8160051b6122478282016127b0565b83815282810190868401838801850189101561226257600080fd5b600093505b85841015612285578035835260019390930192918401918401612267565b50979650505050505050565b8035801515811461220757600080fd5b6000602082840312156122b357600080fd5b611415826121f0565b600080604083850312156122cf57600080fd5b6122d8836121f0565b91506122e6602084016121f0565b90509250929050565b60008060006060848603121561230457600080fd5b61230d846121f0565b925061231b602085016121f0565b9150604084013590509250925092565b6000806000806080858703121561234157600080fd5b61234a856121f0565b9350612358602086016121f0565b92506040850135915060608501356001600160401b0381111561237a57600080fd5b8501601f8101871361238b57600080fd5b61239a87823560208401612199565b91505092959194509250565b600080604083850312156123b957600080fd5b6123c2836121f0565b91506122e660208401612291565b600080604083850312156123e357600080fd5b6123ec836121f0565b946020939093013593505050565b60006020828403121561240c57600080fd5b61141582612291565b60006020828403121561242757600080fd5b5035919050565b60008060006060848603121561244357600080fd5b833592506020840135915060408401356001600160401b0381111561246757600080fd5b6124738682870161220c565b9150509250925092565b60006020828403121561248f57600080fd5b813561141581612930565b6000602082840312156124ac57600080fd5b815161141581612930565b6000602082840312156124c957600080fd5b81356001600160401b038111156124df57600080fd5b8201601f810184136124f057600080fd5b610b8a84823560208401612199565b6000806040838503121561251257600080fd5b823591506122e6602084016121f0565b6000815180845261253a816020860160208601612842565b601f01601f19169290920160200192915050565b6000845160206125618285838a01612842565b8551918401916125748184848a01612842565b8554920191600090600181811c908083168061259157607f831692505b8583108114156125af57634e487b7160e01b85526022600452602485fd5b8080156125c357600181146125d457612601565b60ff19851688528388019550612601565b60008b81526020902060005b858110156125f95781548a8201529084019088016125e0565b505083880195505b50939b9a5050505050505050505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061264590830184612522565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b818110156126875783518352928401929184019160010161266b565b50909695505050505050565b6020815260006114156020830184612522565b602080825260149082015273496e76616c6964206d696e7420616d6f756e742160601b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526017908201527f54686520636f6e74726163742069732070617573656421000000000000000000604082015260600190565b6020808252601490820152734d617820737570706c792065786365656465642160601b604082015260600190565b60208082526022908201527f4d6178206d696e7420616d6f756e74207065722077616c6c6574207265616368604082015261195960f21b606082015260800190565b604051601f8201601f191681016001600160401b03811182821017156127d8576127d861291a565b604052919050565b600082198211156127f3576127f36128d8565b500190565b600082612807576128076128ee565b500490565b6000816000190483118215151615612826576128266128d8565b500290565b60008282101561283d5761283d6128d8565b500390565b60005b8381101561285d578181015183820152602001612845565b838111156112c95750506000910152565b600181811c9082168061288257607f821691505b602082108114156128a357634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156128bd576128bd6128d8565b5060010190565b6000826128d3576128d36128ee565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610c3457600080fdfea2646970667358221220ad405556518ecbaedcd9c9f71d4c5e2c7d9b683bf1db9184a1757e8763b1e50d64736f6c63430008070033

Deployed Bytecode

0x6080604052600436106102c95760003560e01c806368428a1b11610175578063a0712d68116100dc578063c87b56dd11610095578063e985e9c51161006f578063e985e9c514610823578063efbd73f41461086c578063f2fde38b1461088c578063fc3b3d9e146108ac57600080fd5b8063c87b56dd146107da578063cebbaf55146107fa578063d5abeb011461080d57600080fd5b8063a0712d6814610731578063a22cb46514610744578063a34df58914610764578063ab13065a1461077a578063b88d4fde1461079a578063c49b3d54146107ba57600080fd5b80638693da201161012e5780638693da20146106935780638da5cb5b146106a95780638f025656146106c75780638fdcf942146106e757806394354fd01461070757806395d89b411461071c57600080fd5b806368428a1b146105de57806370a08231146105fe578063715018a61461061e5780637cb64759146106335780637ec4a65914610653578063811d24371461067357600080fd5b80633423e548116102345780635503a0e8116101ed5780635c975abb116101c75780635c975abb1461056f5780635ef7cd97146105895780636352211e146105a957806366a88d96146105c957600080fd5b80635503a0e814610524578063562a0a0c146105395780635aca1bb61461054f57600080fd5b80633423e548146104635780633ccfd60b1461048357806342842e0e14610498578063438b6300146104b857806349d3a2c5146104e557806353135ca01461050557600080fd5b806316ba10e01161028657806316ba10e0146103c257806316c38b3c146103e257806318160ddd1461040257806323b872dd146104175780632a23d07d146104375780632aad1f741461044d57600080fd5b806301ffc9a7146102ce57806306fdde0314610303578063081812fc14610325578063095ea7b31461035d5780630d95ccc91461037f57806313faede61461039f575b600080fd5b3480156102da57600080fd5b506102ee6102e936600461247d565b6108c2565b60405190151581526020015b60405180910390f35b34801561030f57600080fd5b50610318610914565b6040516102fa9190612693565b34801561033157600080fd5b50610345610340366004612415565b6109a6565b6040516001600160a01b0390911681526020016102fa565b34801561036957600080fd5b5061037d6103783660046123d0565b6109ea565b005b34801561038b57600080fd5b5061037d61039a3660046123fa565b610a78565b3480156103ab57600080fd5b506103b4610ac5565b6040519081526020016102fa565b3480156103ce57600080fd5b5061037d6103dd3660046124b7565b610ae6565b3480156103ee57600080fd5b5061037d6103fd3660046123fa565b610b27565b34801561040e57600080fd5b506103b4610b64565b34801561042357600080fd5b5061037d6104323660046122ef565b610b72565b34801561044357600080fd5b506103b4600c5481565b34801561045957600080fd5b506103b4600f5481565b34801561046f57600080fd5b506102ee61047e36600461242e565b610b7d565b34801561048f57600080fd5b5061037d610b92565b3480156104a457600080fd5b5061037d6104b33660046122ef565b610c37565b3480156104c457600080fd5b506104d86104d33660046122a1565b610c52565b6040516102fa919061264f565b3480156104f157600080fd5b5061037d610500366004612415565b610d32565b34801561051157600080fd5b506013546102ee90610100900460ff1681565b34801561053057600080fd5b50610318610d61565b34801561054557600080fd5b506103b460125481565b34801561055b57600080fd5b5061037d61056a3660046123fa565b610def565b34801561057b57600080fd5b506013546102ee9060ff1681565b34801561059557600080fd5b5061037d6105a4366004612415565b610e35565b3480156105b557600080fd5b506103456105c4366004612415565b610e64565b3480156105d557600080fd5b506103b4610e76565b3480156105ea57600080fd5b506013546102ee9062010000900460ff1681565b34801561060a57600080fd5b506103b46106193660046122a1565b610e97565b34801561062a57600080fd5b5061037d610ee5565b34801561063f57600080fd5b5061037d61064e366004612415565b610f1b565b34801561065f57600080fd5b5061037d61066e3660046124b7565b610f4a565b34801561067f57600080fd5b5061037d61068e366004612415565b610f87565b34801561069f57600080fd5b506103b4600d5481565b3480156106b557600080fd5b506008546001600160a01b0316610345565b3480156106d357600080fd5b5061037d6106e2366004612415565b610fb6565b3480156106f357600080fd5b5061037d610702366004612415565b610fe5565b34801561071357600080fd5b506103b4611014565b34801561072857600080fd5b50610318611035565b61037d61073f366004612415565b611044565b34801561075057600080fd5b5061037d61075f3660046123a6565b6111b9565b34801561077057600080fd5b506103b460105481565b34801561078657600080fd5b5061037d610795366004612415565b61124f565b3480156107a657600080fd5b5061037d6107b536600461232b565b61127e565b3480156107c657600080fd5b5061037d6107d5366004612415565b6112cf565b3480156107e657600080fd5b506103186107f5366004612415565b61134e565b61037d61080836600461242e565b61141c565b34801561081957600080fd5b506103b4600e5481565b34801561082f57600080fd5b506102ee61083e3660046122bc565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561087857600080fd5b5061037d6108873660046124ff565b6116cf565b34801561089857600080fd5b5061037d6108a73660046122a1565b61178f565b3480156108b857600080fd5b506103b460115481565b60006001600160e01b031982166380ac58cd60e01b14806108f357506001600160e01b03198216635b5e139f60e01b145b8061090e57506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600280546109239061286e565b80601f016020809104026020016040519081016040528092919081815260200182805461094f9061286e565b801561099c5780601f106109715761010080835404028352916020019161099c565b820191906000526020600020905b81548152906001019060200180831161097f57829003601f168201915b5050505050905090565b60006109b182611827565b6109ce576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60006109f582610e64565b9050806001600160a01b0316836001600160a01b03161415610a2a5760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b03821614801590610a4a5750610a48813361083e565b155b15610a68576040516367d9dca160e11b815260040160405180910390fd5b610a73838383611860565b505050565b6008546001600160a01b03163314610aab5760405162461bcd60e51b8152600401610aa2906126d4565b60405180910390fd5b601380549115156101000261ff0019909216919091179055565b601354600090610100900460ff1615610adf5750600c5490565b50600d5490565b6008546001600160a01b03163314610b105760405162461bcd60e51b8152600401610aa2906126d4565b8051610b2390600b906020840190612100565b5050565b6008546001600160a01b03163314610b515760405162461bcd60e51b8152600401610aa2906126d4565b6013805460ff1916911515919091179055565b600154600054036000190190565b610a738383836118bc565b6000610b8a828585611ad0565b949350505050565b6008546001600160a01b03163314610bbc5760405162461bcd60e51b8152600401610aa2906126d4565b60004711610bfb5760405162461bcd60e51b815260206004820152600c60248201526b042616c616e636520697320360a41b6044820152606401610aa2565b6008546040516001600160a01b03909116904780156108fc02916000818181858888f19350505050158015610c34573d6000803e3d6000fd5b50565b610a738383836040518060200160405280600081525061127e565b60606000610c5f83610e97565b90506000816001600160401b03811115610c7b57610c7b61291a565b604051908082528060200260200182016040528015610ca4578160200160208202803683370190505b509050600160005b8381108015610cbd5750600e548211155b15610d28576000610ccd83610e64565b9050866001600160a01b0316816001600160a01b03161415610d155782848381518110610cfc57610cfc612904565b602090810291909101015281610d11816128a9565b9250505b82610d1f816128a9565b93505050610cac565b5090949350505050565b6008546001600160a01b03163314610d5c5760405162461bcd60e51b8152600401610aa2906126d4565b600f55565b600b8054610d6e9061286e565b80601f0160208091040260200160405190810160405280929190818152602001828054610d9a9061286e565b8015610de75780601f10610dbc57610100808354040283529160200191610de7565b820191906000526020600020905b815481529060010190602001808311610dca57829003601f168201915b505050505081565b6008546001600160a01b03163314610e195760405162461bcd60e51b8152600401610aa2906126d4565b60138054911515620100000262ff000019909216919091179055565b6008546001600160a01b03163314610e5f5760405162461bcd60e51b8152600401610aa2906126d4565b601155565b6000610e6f82611ae6565b5192915050565b601354600090610100900460ff1615610e90575060115490565b5060125490565b60006001600160a01b038216610ec0576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600560205260409020546001600160401b031690565b6008546001600160a01b03163314610f0f5760405162461bcd60e51b8152600401610aa2906126d4565b610f196000611c0d565b565b6008546001600160a01b03163314610f455760405162461bcd60e51b8152600401610aa2906126d4565b601455565b6008546001600160a01b03163314610f745760405162461bcd60e51b8152600401610aa2906126d4565b8051610b2390600a906020840190612100565b6008546001600160a01b03163314610fb15760405162461bcd60e51b8152600401610aa2906126d4565b600d55565b6008546001600160a01b03163314610fe05760405162461bcd60e51b8152600401610aa2906126d4565b601055565b6008546001600160a01b0316331461100f5760405162461bcd60e51b8152600401610aa2906126d4565b600c55565b601354600090610100900460ff161561102e575060105490565b50600f5490565b6060600380546109239061286e565b601354819060ff16156110695760405162461bcd60e51b8152600401610aa290612709565b600081118015611080575061107c611014565b8111155b61109c5760405162461bcd60e51b8152600401610aa2906126a6565b600e54816110a8610b64565b6110b291906127e0565b11156110d05760405162461bcd60e51b8152600401610aa290612740565b60135462010000900460ff1661111d5760405162461bcd60e51b815260206004820152601260248201527153616c65206973206e6f742041637469766560701b6044820152606401610aa2565b81611126610ac5565b611130919061280c565b3410156111755760405162461bcd60e51b8152602060048201526013602482015272496e73756666696369656e742066756e64732160681b6044820152606401610aa2565b61117d610e76565b8261118733610e97565b61119191906127e0565b11156111af5760405162461bcd60e51b8152600401610aa29061276e565b610b233383611c5f565b6001600160a01b0382163314156111e35760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6008546001600160a01b031633146112795760405162461bcd60e51b8152600401610aa2906126d4565b601255565b6112898484846118bc565b6001600160a01b0383163b151580156112ab57506112a984848484611c79565b155b156112c9576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b80600081116112f05760405162461bcd60e51b8152600401610aa2906126a6565b600e54816112fc610b64565b61130691906127e0565b11156113245760405162461bcd60e51b8152600401610aa290612740565b6008546001600160a01b031633146111af5760405162461bcd60e51b8152600401610aa2906126d4565b606061135982611827565b6113bd5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610aa2565b60006113c7611d70565b905060008151116113e75760405180602001604052806000815250611415565b806113f184611d7f565b600b6040516020016114059392919061254e565b6040516020818303038152906040525b9392505050565b601354839060ff16156114415760405162461bcd60e51b8152600401610aa290612709565b6000811180156114585750611454611014565b8111155b6114745760405162461bcd60e51b8152600401610aa2906126a6565b600e5481611480610b64565b61148a91906127e0565b11156114a85760405162461bcd60e51b8152600401610aa290612740565b601354610100900460ff166114f45760405162461bcd60e51b815260206004820152601260248201527153616c65206973206e6f742041637469766560701b6044820152606401610aa2565b6014546115395760405162461bcd60e51b815260206004820152601360248201527213595c9adb1948149bdbdd081b9bdd081cd95d606a1b6044820152606401610aa2565b6040516bffffffffffffffffffffffff193360601b166020820152839060340160405160208183030381529060405280519060200120146115ce5760405162461bcd60e51b815260206004820152602960248201527f53656e64657220616e6420616d6f756e7420646f6e2774206d61746368204d656044820152683935b632903632b0b360b91b6064820152608401610aa2565b6115db6014548484610b7d565b6116335760405162461bcd60e51b815260206004820152602360248201527f4e6f7420612076616c6964206c65616620696e20746865204d65726b6c65207460448201526272656560e81b6064820152608401610aa2565b8361163c610ac5565b611646919061280c565b34101561168b5760405162461bcd60e51b8152602060048201526013602482015272496e73756666696369656e742066756e64732160681b6044820152606401610aa2565b611693610e76565b8461169d33610e97565b6116a791906127e0565b11156116c55760405162461bcd60e51b8152600401610aa29061276e565b6112c93385611c5f565b601354829060ff16156116f45760405162461bcd60e51b8152600401610aa290612709565b60008111801561170b5750611707611014565b8111155b6117275760405162461bcd60e51b8152600401610aa2906126a6565b600e5481611733610b64565b61173d91906127e0565b111561175b5760405162461bcd60e51b8152600401610aa290612740565b6008546001600160a01b031633146117855760405162461bcd60e51b8152600401610aa2906126d4565b610a738284611c5f565b6008546001600160a01b031633146117b95760405162461bcd60e51b8152600401610aa2906126d4565b6001600160a01b03811661181e5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610aa2565b610c3481611c0d565b60008160011115801561183b575060005482105b801561090e575050600090815260046020526040902054600160e01b900460ff161590565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60006118c782611ae6565b80519091506000906001600160a01b0316336001600160a01b031614806118f5575081516118f5903361083e565b80611910575033611905846109a6565b6001600160a01b0316145b90508061193057604051632ce44b5f60e11b815260040160405180910390fd5b846001600160a01b031682600001516001600160a01b0316146119655760405162a1148160e81b815260040160405180910390fd5b6001600160a01b03841661198c57604051633a954ecd60e21b815260040160405180910390fd5b61199c6000848460000151611860565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff198082166001600160401b0392831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b429092169190910217909255908601808352912054909116611a8657600054811015611a8657825160008281526004602090815260409091208054918601516001600160401b0316600160a01b026001600160e01b03199092166001600160a01b03909316929092171790555b5082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b600082611add8584611e7c565b14949350505050565b60408051606081018252600080825260208201819052918101919091528180600111158015611b16575060005481105b15611bf457600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff16151591810182905290611bf25780516001600160a01b031615611b89579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b82046001600160401b031693830193909352600160e01b900460ff1615159281019290925215611bed579392505050565b611b89565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610b23828260405180602001604052806000815250611f28565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611cae903390899088908890600401612612565b602060405180830381600087803b158015611cc857600080fd5b505af1925050508015611cf8575060408051601f3d908101601f19168201909252611cf59181019061249a565b60015b611d53573d808015611d26576040519150601f19603f3d011682016040523d82523d6000602084013e611d2b565b606091505b508051611d4b576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b6060600a80546109239061286e565b606081611da35750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611dcd5780611db7816128a9565b9150611dc69050600a836127f8565b9150611da7565b6000816001600160401b03811115611de757611de761291a565b6040519080825280601f01601f191660200182016040528015611e11576020820181803683370190505b5090505b8415610b8a57611e2660018361282b565b9150611e33600a866128c4565b611e3e9060306127e0565b60f81b818381518110611e5357611e53612904565b60200101906001600160f81b031916908160001a905350611e75600a866127f8565b9450611e15565b600081815b8451811015611f20576000858281518110611e9e57611e9e612904565b60200260200101519050808311611ee0576040805160208101859052908101829052606001604051602081830303815290604052805190602001209250611f0d565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b5080611f18816128a9565b915050611e81565b509392505050565b610a7383838360016000546001600160a01b038516611f5957604051622e076360e81b815260040160405180910390fd5b83611f775760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260056020908152604080832080546fffffffffffffffffffffffffffffffff1981166001600160401b038083168c0181169182176801000000000000000067ffffffffffffffff1990941690921783900481168c01811690920217909155858452600490925290912080546001600160e01b031916909217600160a01b42909216919091021790558080850183801561202857506001600160a01b0387163b15155b156120b1575b60405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46120796000888480600101955088611c79565b612096576040516368d2bf6b60e11b815260040160405180910390fd5b8082141561202e5782600054146120ac57600080fd5b6120f7565b5b6040516001830192906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808214156120b2575b50600055611ac9565b82805461210c9061286e565b90600052602060002090601f01602090048101928261212e5760008555612174565b82601f1061214757805160ff1916838001178555612174565b82800160010185558215612174579182015b82811115612174578251825591602001919060010190612159565b50612180929150612184565b5090565b5b808211156121805760008155600101612185565b60006001600160401b038311156121b2576121b261291a565b6121c5601f8401601f19166020016127b0565b90508281528383830111156121d957600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b038116811461220757600080fd5b919050565b600082601f83011261221d57600080fd5b813560206001600160401b038211156122385761223861291a565b8160051b6122478282016127b0565b83815282810190868401838801850189101561226257600080fd5b600093505b85841015612285578035835260019390930192918401918401612267565b50979650505050505050565b8035801515811461220757600080fd5b6000602082840312156122b357600080fd5b611415826121f0565b600080604083850312156122cf57600080fd5b6122d8836121f0565b91506122e6602084016121f0565b90509250929050565b60008060006060848603121561230457600080fd5b61230d846121f0565b925061231b602085016121f0565b9150604084013590509250925092565b6000806000806080858703121561234157600080fd5b61234a856121f0565b9350612358602086016121f0565b92506040850135915060608501356001600160401b0381111561237a57600080fd5b8501601f8101871361238b57600080fd5b61239a87823560208401612199565b91505092959194509250565b600080604083850312156123b957600080fd5b6123c2836121f0565b91506122e660208401612291565b600080604083850312156123e357600080fd5b6123ec836121f0565b946020939093013593505050565b60006020828403121561240c57600080fd5b61141582612291565b60006020828403121561242757600080fd5b5035919050565b60008060006060848603121561244357600080fd5b833592506020840135915060408401356001600160401b0381111561246757600080fd5b6124738682870161220c565b9150509250925092565b60006020828403121561248f57600080fd5b813561141581612930565b6000602082840312156124ac57600080fd5b815161141581612930565b6000602082840312156124c957600080fd5b81356001600160401b038111156124df57600080fd5b8201601f810184136124f057600080fd5b610b8a84823560208401612199565b6000806040838503121561251257600080fd5b823591506122e6602084016121f0565b6000815180845261253a816020860160208601612842565b601f01601f19169290920160200192915050565b6000845160206125618285838a01612842565b8551918401916125748184848a01612842565b8554920191600090600181811c908083168061259157607f831692505b8583108114156125af57634e487b7160e01b85526022600452602485fd5b8080156125c357600181146125d457612601565b60ff19851688528388019550612601565b60008b81526020902060005b858110156125f95781548a8201529084019088016125e0565b505083880195505b50939b9a5050505050505050505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061264590830184612522565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b818110156126875783518352928401929184019160010161266b565b50909695505050505050565b6020815260006114156020830184612522565b602080825260149082015273496e76616c6964206d696e7420616d6f756e742160601b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526017908201527f54686520636f6e74726163742069732070617573656421000000000000000000604082015260600190565b6020808252601490820152734d617820737570706c792065786365656465642160601b604082015260600190565b60208082526022908201527f4d6178206d696e7420616d6f756e74207065722077616c6c6574207265616368604082015261195960f21b606082015260800190565b604051601f8201601f191681016001600160401b03811182821017156127d8576127d861291a565b604052919050565b600082198211156127f3576127f36128d8565b500190565b600082612807576128076128ee565b500490565b6000816000190483118215151615612826576128266128d8565b500290565b60008282101561283d5761283d6128d8565b500390565b60005b8381101561285d578181015183820152602001612845565b838111156112c95750506000910152565b600181811c9082168061288257607f821691505b602082108114156128a357634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156128bd576128bd6128d8565b5060010190565b6000826128d3576128d36128ee565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610c3457600080fdfea2646970667358221220ad405556518ecbaedcd9c9f71d4c5e2c7d9b683bf1db9184a1757e8763b1e50d64736f6c63430008070033

Deployed Bytecode Sourcemap

50083:6062:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32592:305;;;;;;;;;;-1:-1:-1;32592:305:0;;;;;:::i;:::-;;:::i;:::-;;;10008:14:1;;10001:22;9983:41;;9971:2;9956:18;32592:305:0;;;;;;;;35977:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;37480:204::-;;;;;;;;;;-1:-1:-1;37480:204:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;8669:32:1;;;8651:51;;8639:2;8624:18;37480:204:0;8505:203:1;37043:371:0;;;;;;;;;;-1:-1:-1;37043:371:0;;;;;:::i;:::-;;:::i;:::-;;54917:83;;;;;;;;;;-1:-1:-1;54917:83:0;;;;;:::i;:::-;;:::i;50870:124::-;;;;;;;;;;;;;:::i;:::-;;;15240:25:1;;;15228:2;15213:18;50870:124:0;15094:177:1;55688:100:0;;;;;;;;;;-1:-1:-1;55688:100:0;;;;;:::i;:::-;;:::i;55794:77::-;;;;;;;;;;-1:-1:-1;55794:77:0;;;;;:::i;:::-;;:::i;31841:303::-;;;;;;;;;;;;;:::i;38337:170::-;;;;;;;;;;-1:-1:-1;38337:170:0;;;;;:::i;:::-;;:::i;50254:40::-;;;;;;;;;;;;;;;;50379:44;;;;;;;;;;;;;;;;53287:172;;;;;;;;;;-1:-1:-1;53287:172:0;;;;;:::i;:::-;;:::i;55877:155::-;;;;;;;;;;;;;:::i;38578:185::-;;;;;;;;;;-1:-1:-1;38578:185:0;;;;;:::i;:::-;;:::i;53465:635::-;;;;;;;;;;-1:-1:-1;53465:635:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;55284:142::-;;;;;;;;;;-1:-1:-1;55284:142:0;;;;;:::i;:::-;;:::i;50605:33::-;;;;;;;;;;-1:-1:-1;50605:33:0;;;;;;;;;;;50212;;;;;;;;;;;;;:::i;50524:44::-;;;;;;;;;;;;;;;;54828:83;;;;;;;;;;-1:-1:-1;54828:83:0;;;;;:::i;:::-;;:::i;50575:25::-;;;;;;;;;;-1:-1:-1;50575:25:0;;;;;;;;55006:130;;;;;;;;;;-1:-1:-1;55006:130:0;;;;;:::i;:::-;;:::i;35786:124::-;;;;;;;;;;-1:-1:-1;35786:124:0;;;;;:::i;:::-;;:::i;51000:158::-;;;;;;;;;;;;;:::i;50643:30::-;;;;;;;;;;-1:-1:-1;50643:30:0;;;;;;;;;;;32961:206;;;;;;;;;;-1:-1:-1;32961:206:0;;;;;:::i;:::-;;:::i;9592:103::-;;;;;;;;;;;;;:::i;54534:104::-;;;;;;;;;;-1:-1:-1;54534:104:0;;;;;:::i;:::-;;:::i;55582:100::-;;;;;;;;;;-1:-1:-1;55582:100:0;;;;;:::i;:::-;;:::i;54644:86::-;;;;;;;;;;-1:-1:-1;54644:86:0;;;;;:::i;:::-;;:::i;50299:38::-;;;;;;;;;;;;;;;;8941:87;;;;;;;;;;-1:-1:-1;9014:6:0;;-1:-1:-1;;;;;9014:6:0;8941:87;;55432:144;;;;;;;;;;-1:-1:-1;55432:144:0;;;;;:::i;:::-;;:::i;54734:88::-;;;;;;;;;;-1:-1:-1;54734:88:0;;;;;:::i;:::-;;:::i;51164:166::-;;;;;;;;;;;;;:::i;36146:104::-;;;;;;;;;;;;;:::i;51829:355::-;;;;;;:::i;:::-;;:::i;37756:279::-;;;;;;;;;;-1:-1:-1;37756:279:0;;;;;:::i;:::-;;:::i;50428:45::-;;;;;;;;;;;;;;;;55142:136;;;;;;;;;;-1:-1:-1;55142:136:0;;;;;:::i;:::-;;:::i;38834:369::-;;;;;;;;;;-1:-1:-1;38834:369:0;;;;;:::i;:::-;;:::i;52353:138::-;;;;;;;;;;-1:-1:-1;52353:138:0;;;;;:::i;:::-;;:::i;54106:422::-;;;;;;;;;;-1:-1:-1;54106:422:0;;;;;:::i;:::-;;:::i;52497:784::-;;;;;;:::i;:::-;;:::i;50342:32::-;;;;;;;;;;;;;;;;38106:164;;;;;;;;;;-1:-1:-1;38106:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;38227:25:0;;;38203:4;38227:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;38106:164;52192:155;;;;;;;;;;-1:-1:-1;52192:155:0;;;;;:::i;:::-;;:::i;9850:201::-;;;;;;;;;;-1:-1:-1;9850:201:0;;;;;:::i;:::-;;:::i;50478:41::-;;;;;;;;;;;;;;;;32592:305;32694:4;-1:-1:-1;;;;;;32731:40:0;;-1:-1:-1;;;32731:40:0;;:105;;-1:-1:-1;;;;;;;32788:48:0;;-1:-1:-1;;;32788:48:0;32731:105;:158;;;-1:-1:-1;;;;;;;;;;21374:40:0;;;32853:36;32711:178;32592:305;-1:-1:-1;;32592:305:0:o;35977:100::-;36031:13;36064:5;36057:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35977:100;:::o;37480:204::-;37548:7;37573:16;37581:7;37573;:16::i;:::-;37568:64;;37598:34;;-1:-1:-1;;;37598:34:0;;;;;;;;;;;37568:64;-1:-1:-1;37652:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;37652:24:0;;37480:204::o;37043:371::-;37116:13;37132:24;37148:7;37132:15;:24::i;:::-;37116:40;;37177:5;-1:-1:-1;;;;;37171:11:0;:2;-1:-1:-1;;;;;37171:11:0;;37167:48;;;37191:24;;-1:-1:-1;;;37191:24:0;;;;;;;;;;;37167:48;7772:10;-1:-1:-1;;;;;37232:21:0;;;;;;:63;;-1:-1:-1;37258:37:0;37275:5;7772:10;38106:164;:::i;37258:37::-;37257:38;37232:63;37228:138;;;37319:35;;-1:-1:-1;;;37319:35:0;;;;;;;;;;;37228:138;37378:28;37387:2;37391:7;37400:5;37378:8;:28::i;:::-;37105:309;37043:371;;:::o;54917:83::-;9014:6;;-1:-1:-1;;;;;9014:6:0;7772:10;9161:23;9153:68;;;;-1:-1:-1;;;9153:68:0;;;;;;;:::i;:::-;;;;;;;;;54973:13:::1;:21:::0;;;::::1;;;;-1:-1:-1::0;;54973:21:0;;::::1;::::0;;;::::1;::::0;;54917:83::o;50870:124::-;50927:13;;50906:7;;50927:13;;;;;50924:36;;;-1:-1:-1;50949:11:0;;;50870:124::o;50924:36::-;-1:-1:-1;50978:10:0;;;50870:124::o;55688:100::-;9014:6;;-1:-1:-1;;;;;9014:6:0;7772:10;9161:23;9153:68;;;;-1:-1:-1;;;9153:68:0;;;;;;;:::i;:::-;55760:22;;::::1;::::0;:9:::1;::::0;:22:::1;::::0;::::1;::::0;::::1;:::i;:::-;;55688:100:::0;:::o;55794:77::-;9014:6;;-1:-1:-1;;;;;9014:6:0;7772:10;9161:23;9153:68;;;;-1:-1:-1;;;9153:68:0;;;;;;;:::i;:::-;55850:6:::1;:15:::0;;-1:-1:-1;;55850:15:0::1;::::0;::::1;;::::0;;;::::1;::::0;;55794:77::o;31841:303::-;50857:1;32095:12;31885:7;32079:13;:28;-1:-1:-1;;32079:46:0;;31841:303::o;38337:170::-;38471:28;38481:4;38487:2;38491:7;38471:9;:28::i;53287:172::-;53383:4;53407:44;53426:5;53433:11;53446:4;53407:18;:44::i;:::-;53400:51;53287:172;-1:-1:-1;;;;53287:172:0:o;55877:155::-;9014:6;;-1:-1:-1;;;;;9014:6:0;7772:10;9161:23;9153:68;;;;-1:-1:-1;;;9153:68:0;;;;;;;:::i;:::-;55953:1:::1;55929:21;:25;55921:50;;;::::0;-1:-1:-1;;;55921:50:0;;11974:2:1;55921:50:0::1;::::0;::::1;11956:21:1::0;12013:2;11993:18;;;11986:30;-1:-1:-1;;;12032:18:1;;;12025:42;12084:18;;55921:50:0::1;11772:336:1::0;55921:50:0::1;9014:6:::0;;55978:48:::1;::::0;-1:-1:-1;;;;;9014:6:0;;;;56004:21:::1;55978:48:::0;::::1;;;::::0;::::1;::::0;;;56004:21;9014:6;55978:48;::::1;;;;;;;;;;;;;::::0;::::1;;;;;;55877:155::o:0;38578:185::-;38716:39;38733:4;38739:2;38743:7;38716:39;;;;;;;;;;;;:16;:39::i;53465:635::-;53540:16;53568:23;53594:17;53604:6;53594:9;:17::i;:::-;53568:43;;53618:30;53665:15;-1:-1:-1;;;;;53651:30:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;53651:30:0;-1:-1:-1;53618:63:0;-1:-1:-1;53713:1:0;53688:22;53757:309;53782:15;53764;:33;:64;;;;;53819:9;;53801:14;:27;;53764:64;53757:309;;;53839:25;53867:23;53875:14;53867:7;:23::i;:::-;53839:51;;53926:6;-1:-1:-1;;;;;53905:27:0;:17;-1:-1:-1;;;;;53905:27:0;;53901:131;;;53978:14;53945:13;53959:15;53945:30;;;;;;;;:::i;:::-;;;;;;;;;;:47;54005:17;;;;:::i;:::-;;;;53901:131;54042:16;;;;:::i;:::-;;;;53830:236;53757:309;;;-1:-1:-1;54081:13:0;;53465:635;-1:-1:-1;;;;53465:635:0:o;55284:142::-;9014:6;;-1:-1:-1;;;;;9014:6:0;7772:10;9161:23;9153:68;;;;-1:-1:-1;;;9153:68:0;;;;;;;:::i;:::-;55374:24:::1;:46:::0;55284:142::o;50212:33::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;54828:83::-;9014:6;;-1:-1:-1;;;;;9014:6:0;7772:10;9161:23;9153:68;;;;-1:-1:-1;;;9153:68:0;;;;;;;:::i;:::-;54887:10:::1;:18:::0;;;::::1;;::::0;::::1;-1:-1:-1::0;;54887:18:0;;::::1;::::0;;;::::1;::::0;;54828:83::o;55006:130::-;9014:6;;-1:-1:-1;;;;;9014:6:0;7772:10;9161:23;9153:68;;;;-1:-1:-1;;;9153:68:0;;;;;;;:::i;:::-;55091:21:::1;:39:::0;55006:130::o;35786:124::-;35850:7;35877:20;35889:7;35877:11;:20::i;:::-;:25;;35786:124;-1:-1:-1;;35786:124:0:o;51000:158::-;51067:13;;51046:7;;51067:13;;;;;51064:46;;;-1:-1:-1;51089:21:0;;;51000:158::o;51064:46::-;-1:-1:-1;51128:24:0;;;51000:158::o;32961:206::-;33025:7;-1:-1:-1;;;;;33049:19:0;;33045:60;;33077:28;;-1:-1:-1;;;33077:28:0;;;;;;;;;;;33045:60;-1:-1:-1;;;;;;33131:19:0;;;;;:12;:19;;;;;:27;-1:-1:-1;;;;;33131:27:0;;32961:206::o;9592:103::-;9014:6;;-1:-1:-1;;;;;9014:6:0;7772:10;9161:23;9153:68;;;;-1:-1:-1;;;9153:68:0;;;;;;;:::i;:::-;9657:30:::1;9684:1;9657:18;:30::i;:::-;9592:103::o:0;54534:104::-;9014:6;;-1:-1:-1;;;;;9014:6:0;7772:10;9161:23;9153:68;;;;-1:-1:-1;;;9153:68:0;;;;;;;:::i;:::-;54606:10:::1;:24:::0;54534:104::o;55582:100::-;9014:6;;-1:-1:-1;;;;;9014:6:0;7772:10;9161:23;9153:68;;;;-1:-1:-1;;;9153:68:0;;;;;;;:::i;:::-;55654:22;;::::1;::::0;:9:::1;::::0;:22:::1;::::0;::::1;::::0;::::1;:::i;54644:86::-:0;9014:6;;-1:-1:-1;;;;;9014:6:0;7772:10;9161:23;9153:68;;;;-1:-1:-1;;;9153:68:0;;;;;;;:::i;:::-;54706:10:::1;:18:::0;54644:86::o;55432:144::-;9014:6;;-1:-1:-1;;;;;9014:6:0;7772:10;9161:23;9153:68;;;;-1:-1:-1;;;9153:68:0;;;;;;;:::i;:::-;55523:25:::1;:47:::0;55432:144::o;54734:88::-;9014:6;;-1:-1:-1;;;;;9014:6:0;7772:10;9161:23;9153:68;;;;-1:-1:-1;;;9153:68:0;;;;;;;:::i;:::-;54797:11:::1;:19:::0;54734:88::o;51164:166::-;51235:13;;51214:7;;51235:13;;;;;51232:50;;;-1:-1:-1;51257:25:0;;;51164:166::o;51232:50::-;-1:-1:-1;51300:24:0;;;51164:166::o;36146:104::-;36202:13;36235:7;36228:14;;;;;:::i;51829:355::-;51397:6;;51894:11;;51397:6;;51396:7;51388:43;;;;-1:-1:-1;;;51388:43:0;;;;;;;:::i;:::-;51460:1;51446:11;:15;:54;;;;;51480:20;:18;:20::i;:::-;51465:11;:35;;51446:54;51438:87;;;;-1:-1:-1;;;51438:87:0;;;;;;;:::i;:::-;51571:9;;51556:11;51540:13;:11;:13::i;:::-;:27;;;;:::i;:::-;:40;;51532:73;;;;-1:-1:-1;;;51532:73:0;;;;;;;:::i;:::-;51922:10:::1;::::0;;;::::1;;;51914:42;;;::::0;-1:-1:-1;;;51914:42:0;;11217:2:1;51914:42:0::1;::::0;::::1;11199:21:1::0;11256:2;11236:18;;;11229:30;-1:-1:-1;;;11275:18:1;;;11268:48;11333:18;;51914:42:0::1;11015:342:1::0;51914:42:0::1;51993:11;51984:6;:4;:6::i;:::-;:20;;;;:::i;:::-;51971:9;:33;;51963:65;;;::::0;-1:-1:-1;;;51963:65:0;;14544:2:1;51963:65:0::1;::::0;::::1;14526:21:1::0;14583:2;14563:18;;;14556:30;-1:-1:-1;;;14602:18:1;;;14595:49;14661:18;;51963:65:0::1;14342:343:1::0;51963:65:0::1;52082:16;:14;:16::i;:::-;52067:11;52043:21;52053:10;52043:9;:21::i;:::-;:35;;;;:::i;:::-;:55;;52035:102;;;;-1:-1:-1::0;;;52035:102:0::1;;;;;;;:::i;:::-;52144:34;52154:10;52166:11;52144:9;:34::i;37756:279::-:0;-1:-1:-1;;;;;37847:24:0;;7772:10;37847:24;37843:54;;;37880:17;;-1:-1:-1;;;37880:17:0;;;;;;;;;;;37843:54;7772:10;37910:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;37910:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;37910:53:0;;;;;;;;;;37979:48;;9983:41:1;;;37910:42:0;;7772:10;37979:48;;9956:18:1;37979:48:0;;;;;;;37756:279;;:::o;55142:136::-;9014:6;;-1:-1:-1;;;;;9014:6:0;7772:10;9161:23;9153:68;;;;-1:-1:-1;;;9153:68:0;;;;;;;:::i;:::-;55230:24:::1;:42:::0;55142:136::o;38834:369::-;39001:28;39011:4;39017:2;39021:7;39001:9;:28::i;:::-;-1:-1:-1;;;;;39044:13:0;;11525:20;11573:8;;39044:76;;;;;39064:56;39095:4;39101:2;39105:7;39114:5;39064:30;:56::i;:::-;39063:57;39044:76;39040:156;;;39144:40;;-1:-1:-1;;;39144:40:0;;;;;;;;;;;39040:156;38834:369;;;;:::o;52353:138::-;52421:11;51703:1;51689:11;:15;51681:48;;;;-1:-1:-1;;;51681:48:0;;;;;;;:::i;:::-;51775:9;;51760:11;51744:13;:11;:13::i;:::-;:27;;;;:::i;:::-;:40;;51736:73;;;;-1:-1:-1;;;51736:73:0;;;;;;;:::i;:::-;9014:6;;-1:-1:-1;;;;;9014:6:0;7772:10;9161:23:::1;9153:68;;;;-1:-1:-1::0;;;9153:68:0::1;;;;;;;:::i;54106:422::-:0;54205:13;54246:17;54254:8;54246:7;:17::i;:::-;54230:98;;;;-1:-1:-1;;;54230:98:0;;13376:2:1;54230:98:0;;;13358:21:1;13415:2;13395:18;;;13388:30;13454:34;13434:18;;;13427:62;-1:-1:-1;;;13505:18:1;;;13498:45;13560:19;;54230:98:0;13174:411:1;54230:98:0;54337:28;54368:10;:8;:10::i;:::-;54337:41;;54423:1;54398:14;54392:28;:32;:130;;;;;;;;;;;;;;;;;54460:14;54476:19;:8;:17;:19::i;:::-;54497:9;54443:64;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;54392:130;54385:137;54106:422;-1:-1:-1;;;54106:422:0:o;52497:784::-;51397:6;;52611:11;;51397:6;;51396:7;51388:43;;;;-1:-1:-1;;;51388:43:0;;;;;;;:::i;:::-;51460:1;51446:11;:15;:54;;;;;51480:20;:18;:20::i;:::-;51465:11;:35;;51446:54;51438:87;;;;-1:-1:-1;;;51438:87:0;;;;;;;:::i;:::-;51571:9;;51556:11;51540:13;:11;:13::i;:::-;:27;;;;:::i;:::-;:40;;51532:73;;;;-1:-1:-1;;;51532:73:0;;;;;;;:::i;:::-;52639:13:::1;::::0;::::1;::::0;::::1;;;52631:45;;;::::0;-1:-1:-1;;;52631:45:0;;11217:2:1;52631:45:0::1;::::0;::::1;11199:21:1::0;11256:2;11236:18;;;11229:30;-1:-1:-1;;;11275:18:1;;;11268:48;11333:18;;52631:45:0::1;11015:342:1::0;52631:45:0::1;52691:10;::::0;52683:48:::1;;;::::0;-1:-1:-1;;;52683:48:0;;12315:2:1;52683:48:0::1;::::0;::::1;12297:21:1::0;12354:2;12334:18;;;12327:30;-1:-1:-1;;;12373:18:1;;;12366:49;12432:18;;52683:48:0::1;12113:343:1::0;52683:48:0::1;52823:28;::::0;-1:-1:-1;;52840:10:0::1;6636:2:1::0;6632:15;6628:53;52823:28:0::1;::::0;::::1;6616:66:1::0;52856:4:0;;6698:12:1;;52823:28:0::1;;;;;;;;;;;;52813:39;;;;;;:47;52805:101;;;::::0;-1:-1:-1;;;52805:101:0;;11564:2:1;52805:101:0::1;::::0;::::1;11546:21:1::0;11603:2;11583:18;;;11576:30;11642:34;11622:18;;;11615:62;-1:-1:-1;;;11693:18:1;;;11686:39;11742:19;;52805:101:0::1;11362:405:1::0;52805:101:0::1;52982:31;52989:10;;53001:4;53007:5;52982:6;:31::i;:::-;52974:79;;;::::0;-1:-1:-1;;;52974:79:0;;14892:2:1;52974:79:0::1;::::0;::::1;14874:21:1::0;14931:2;14911:18;;;14904:30;14970:34;14950:18;;;14943:62;-1:-1:-1;;;15021:18:1;;;15014:33;15064:19;;52974:79:0::1;14690:399:1::0;52974:79:0::1;53090:11;53081:6;:4;:6::i;:::-;:20;;;;:::i;:::-;53068:9;:33;;53060:65;;;::::0;-1:-1:-1;;;53060:65:0;;14544:2:1;53060:65:0::1;::::0;::::1;14526:21:1::0;14583:2;14563:18;;;14556:30;-1:-1:-1;;;14602:18:1;;;14595:49;14661:18;;53060:65:0::1;14342:343:1::0;53060:65:0::1;53179:16;:14;:16::i;:::-;53164:11;53140:21;53150:10;53140:9;:21::i;:::-;:35;;;;:::i;:::-;:55;;53132:102;;;;-1:-1:-1::0;;;53132:102:0::1;;;;;;;:::i;:::-;53241:34;53251:10;53263:11;53241:9;:34::i;52192:155::-:0;51397:6;;52278:11;;51397:6;;51396:7;51388:43;;;;-1:-1:-1;;;51388:43:0;;;;;;;:::i;:::-;51460:1;51446:11;:15;:54;;;;;51480:20;:18;:20::i;:::-;51465:11;:35;;51446:54;51438:87;;;;-1:-1:-1;;;51438:87:0;;;;;;;:::i;:::-;51571:9;;51556:11;51540:13;:11;:13::i;:::-;:27;;;;:::i;:::-;:40;;51532:73;;;;-1:-1:-1;;;51532:73:0;;;;;;;:::i;:::-;9014:6;;-1:-1:-1;;;;;9014:6:0;7772:10;9161:23:::1;9153:68;;;;-1:-1:-1::0;;;9153:68:0::1;;;;;;;:::i;:::-;52308:33:::2;52318:9;52329:11;52308:9;:33::i;9850:201::-:0;9014:6;;-1:-1:-1;;;;;9014:6:0;7772:10;9161:23;9153:68;;;;-1:-1:-1;;;9153:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;9939:22:0;::::1;9931:73;;;::::0;-1:-1:-1;;;9931:73:0;;10461:2:1;9931:73:0::1;::::0;::::1;10443:21:1::0;10500:2;10480:18;;;10473:30;10539:34;10519:18;;;10512:62;-1:-1:-1;;;10590:18:1;;;10583:36;10636:19;;9931:73:0::1;10259:402:1::0;9931:73:0::1;10015:28;10034:8;10015:18;:28::i;39458:187::-:0;39515:4;39558:7;50857:1;39539:26;;:53;;;;;39579:13;;39569:7;:23;39539:53;:98;;;;-1:-1:-1;;39610:20:0;;;;:11;:20;;;;;:27;-1:-1:-1;;;39610:27:0;;;;39609:28;;39458:187::o;47069:196::-;47184:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;47184:29:0;-1:-1:-1;;;;;47184:29:0;;;;;;;;;47229:28;;47184:24;;47229:28;;;;;;;47069:196;;;:::o;42571:2112::-;42686:35;42724:20;42736:7;42724:11;:20::i;:::-;42799:18;;42686:58;;-1:-1:-1;42757:22:0;;-1:-1:-1;;;;;42783:34:0;7772:10;-1:-1:-1;;;;;42783:34:0;;:101;;;-1:-1:-1;42851:18:0;;42834:50;;7772:10;38106:164;:::i;42834:50::-;42783:154;;;-1:-1:-1;7772:10:0;42901:20;42913:7;42901:11;:20::i;:::-;-1:-1:-1;;;;;42901:36:0;;42783:154;42757:181;;42956:17;42951:66;;42982:35;;-1:-1:-1;;;42982:35:0;;;;;;;;;;;42951:66;43054:4;-1:-1:-1;;;;;43032:26:0;:13;:18;;;-1:-1:-1;;;;;43032:26:0;;43028:67;;43067:28;;-1:-1:-1;;;43067:28:0;;;;;;;;;;;43028:67;-1:-1:-1;;;;;43110:16:0;;43106:52;;43135:23;;-1:-1:-1;;;43135:23:0;;;;;;;;;;;43106:52;43279:49;43296:1;43300:7;43309:13;:18;;;43279:8;:49::i;:::-;-1:-1:-1;;;;;43624:18:0;;;;;;;:12;:18;;;;;;;;:31;;-1:-1:-1;;43624:31:0;;;-1:-1:-1;;;;;43624:31:0;;;-1:-1:-1;;43624:31:0;;;;;;;43670:16;;;;;;;;;:29;;;;;;;;-1:-1:-1;43670:29:0;;;;;;;;;;;43716:20;;;:11;:20;;;;;;:30;;-1:-1:-1;;;;;;43761:61:0;;;;-1:-1:-1;;;43806:15:0;43761:61;;;;;;;;;;;44096:11;;;44126:24;;;;;:29;44096:11;;44126:29;44122:445;;44351:13;;44337:11;:27;44333:219;;;44421:18;;;44389:24;;;:11;:24;;;;;;;;:50;;44504:28;;;;-1:-1:-1;;;;;44462:70:0;-1:-1:-1;;;44462:70:0;-1:-1:-1;;;;;;44462:70:0;;;-1:-1:-1;;;;;44389:50:0;;;44462:70;;;;;;;44333:219;43599:979;44614:7;44610:2;-1:-1:-1;;;;;44595:27:0;44604:4;-1:-1:-1;;;;;44595:27:0;;;;;;;;;;;44633:42;42675:2008;;42571:2112;;;:::o;3683:190::-;3808:4;3861;3832:25;3845:5;3852:4;3832:12;:25::i;:::-;:33;;3683:190;-1:-1:-1;;;;3683:190:0:o;34616:1108::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;34726:7:0;;50857:1;34775:23;;:47;;;;;34809:13;;34802:4;:20;34775:47;34771:886;;;34843:31;34877:17;;;:11;:17;;;;;;;;;34843:51;;;;;;;;;-1:-1:-1;;;;;34843:51:0;;;;-1:-1:-1;;;34843:51:0;;-1:-1:-1;;;;;34843:51:0;;;;;;;;-1:-1:-1;;;34843:51:0;;;;;;;;;;;;;;34913:729;;34963:14;;-1:-1:-1;;;;;34963:28:0;;34959:101;;35027:9;34616:1108;-1:-1:-1;;;34616:1108:0:o;34959:101::-;-1:-1:-1;;;35402:6:0;35447:17;;;;:11;:17;;;;;;;;;35435:29;;;;;;;;;-1:-1:-1;;;;;35435:29:0;;;;;-1:-1:-1;;;35435:29:0;;-1:-1:-1;;;;;35435:29:0;;;;;;;;-1:-1:-1;;;35435:29:0;;;;;;;;;;;;;35495:28;35491:109;;35563:9;34616:1108;-1:-1:-1;;;34616:1108:0:o;35491:109::-;35362:261;;;34824:833;34771:886;35685:31;;-1:-1:-1;;;35685:31:0;;;;;;;;;;;10211:191;10304:6;;;-1:-1:-1;;;;;10321:17:0;;;-1:-1:-1;;;;;;10321:17:0;;;;;;;10354:40;;10304:6;;;10321:17;10304:6;;10354:40;;10285:16;;10354:40;10274:128;10211:191;:::o;39653:104::-;39722:27;39732:2;39736:8;39722:27;;;;;;;;;;;;:9;:27::i;47757:667::-;47941:72;;-1:-1:-1;;;47941:72:0;;47920:4;;-1:-1:-1;;;;;47941:36:0;;;;;:72;;7772:10;;47992:4;;47998:7;;48007:5;;47941:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;47941:72:0;;;;;;;;-1:-1:-1;;47941:72:0;;;;;;;;;;;;:::i;:::-;;;47937:480;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;48175:13:0;;48171:235;;48221:40;;-1:-1:-1;;;48221:40:0;;;;;;;;;;;48171:235;48364:6;48358:13;48349:6;48345:2;48341:15;48334:38;47937:480;-1:-1:-1;;;;;;48060:55:0;-1:-1:-1;;;48060:55:0;;-1:-1:-1;47757:667:0;;;;;;:::o;56038:104::-;56098:13;56127:9;56120:16;;;;;:::i;5281:723::-;5337:13;5558:10;5554:53;;-1:-1:-1;;5585:10:0;;;;;;;;;;;;-1:-1:-1;;;5585:10:0;;;;;5281:723::o;5554:53::-;5632:5;5617:12;5673:78;5680:9;;5673:78;;5706:8;;;;:::i;:::-;;-1:-1:-1;5729:10:0;;-1:-1:-1;5737:2:0;5729:10;;:::i;:::-;;;5673:78;;;5761:19;5793:6;-1:-1:-1;;;;;5783:17:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;5783:17:0;;5761:39;;5811:154;5818:10;;5811:154;;5845:11;5855:1;5845:11;;:::i;:::-;;-1:-1:-1;5914:10:0;5922:2;5914:5;:10;:::i;:::-;5901:24;;:2;:24;:::i;:::-;5888:39;;5871:6;5878;5871:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;5871:56:0;;;;;;;;-1:-1:-1;5942:11:0;5951:2;5942:11;;:::i;:::-;;;5811:154;;4235:701;4318:7;4361:4;4318:7;4376:523;4400:5;:12;4396:1;:16;4376:523;;;4434:20;4457:5;4463:1;4457:8;;;;;;;;:::i;:::-;;;;;;;4434:31;;4500:12;4484;:28;4480:408;;4637:44;;;;;;6878:19:1;;;6913:12;;;6906:28;;;6950:12;;4637:44:0;;;;;;;;;;;;4627:55;;;;;;4612:70;;4480:408;;;4827:44;;;;;;6878:19:1;;;6913:12;;;6906:28;;;6950:12;;4827:44:0;;;;;;;;;;;;4817:55;;;;;;4802:70;;4480:408;-1:-1:-1;4414:3:0;;;;:::i;:::-;;;;4376:523;;;-1:-1:-1;4916:12:0;4235:701;-1:-1:-1;;;4235:701:0:o;40120:163::-;40243:32;40249:2;40253:8;40263:5;40270:4;40681:20;40704:13;-1:-1:-1;;;;;40732:16:0;;40728:48;;40757:19;;-1:-1:-1;;;40757:19:0;;;;;;;;;;;40728:48;40791:13;40787:44;;40813:18;;-1:-1:-1;;;40813:18:0;;;;;;;;;;;40787:44;-1:-1:-1;;;;;41182:16:0;;;;;;:12;:16;;;;;;;;:44;;-1:-1:-1;;41241:49:0;;-1:-1:-1;;;;;41182:44:0;;;;;;;41241:49;;;;-1:-1:-1;;41182:44:0;;;;;;41241:49;;;;;;;;;;;;;;;;41307:25;;;:11;:25;;;;;;:35;;-1:-1:-1;;;;;;41357:66:0;;;;-1:-1:-1;;;41407:15:0;41357:66;;;;;;;;;;41307:25;41504:23;;;41548:4;:23;;;;-1:-1:-1;;;;;;41556:13:0;;11525:20;11573:8;;41556:15;41544:641;;;41592:314;41623:38;;41648:12;;-1:-1:-1;;;;;41623:38:0;;;41640:1;;41623:38;;41640:1;;41623:38;41689:69;41728:1;41732:2;41736:14;;;;;;41752:5;41689:30;:69::i;:::-;41684:174;;41794:40;;-1:-1:-1;;;41794:40:0;;;;;;;;;;;41684:174;41901:3;41885:12;:19;;41592:314;;41987:12;41970:13;;:29;41966:43;;42001:8;;;41966:43;41544:641;;;42050:120;42081:40;;42106:14;;;;;-1:-1:-1;;;;;42081:40:0;;;42098:1;;42081:40;;42098:1;;42081:40;42165:3;42149:12;:19;;42050:120;;41544:641;-1:-1:-1;42199:13:0;:28;42249:60;38834:369;-1:-1:-1;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:406:1;78:5;-1:-1:-1;;;;;104:6:1;101:30;98:56;;;134:18;;:::i;:::-;172:57;217:2;196:15;;-1:-1:-1;;192:29:1;223:4;188:40;172:57;:::i;:::-;163:66;;252:6;245:5;238:21;292:3;283:6;278:3;274:16;271:25;268:45;;;309:1;306;299:12;268:45;358:6;353:3;346:4;339:5;335:16;322:43;412:1;405:4;396:6;389:5;385:18;381:29;374:40;14:406;;;;;:::o;425:173::-;493:20;;-1:-1:-1;;;;;542:31:1;;532:42;;522:70;;588:1;585;578:12;522:70;425:173;;;:::o;603:723::-;657:5;710:3;703:4;695:6;691:17;687:27;677:55;;728:1;725;718:12;677:55;764:6;751:20;790:4;-1:-1:-1;;;;;809:2:1;806:26;803:52;;;835:18;;:::i;:::-;881:2;878:1;874:10;904:28;928:2;924;920:11;904:28;:::i;:::-;966:15;;;997:12;;;;1029:15;;;1063;;;1059:24;;1056:33;-1:-1:-1;1053:53:1;;;1102:1;1099;1092:12;1053:53;1124:1;1115:10;;1134:163;1148:2;1145:1;1142:9;1134:163;;;1205:17;;1193:30;;1166:1;1159:9;;;;;1243:12;;;;1275;;1134:163;;;-1:-1:-1;1315:5:1;603:723;-1:-1:-1;;;;;;;603:723:1:o;1331:160::-;1396:20;;1452:13;;1445:21;1435:32;;1425:60;;1481:1;1478;1471:12;1496:186;1555:6;1608:2;1596:9;1587:7;1583:23;1579:32;1576:52;;;1624:1;1621;1614:12;1576:52;1647:29;1666:9;1647:29;:::i;1687:260::-;1755:6;1763;1816:2;1804:9;1795:7;1791:23;1787:32;1784:52;;;1832:1;1829;1822:12;1784:52;1855:29;1874:9;1855:29;:::i;:::-;1845:39;;1903:38;1937:2;1926:9;1922:18;1903:38;:::i;:::-;1893:48;;1687:260;;;;;:::o;1952:328::-;2029:6;2037;2045;2098:2;2086:9;2077:7;2073:23;2069:32;2066:52;;;2114:1;2111;2104:12;2066:52;2137:29;2156:9;2137:29;:::i;:::-;2127:39;;2185:38;2219:2;2208:9;2204:18;2185:38;:::i;:::-;2175:48;;2270:2;2259:9;2255:18;2242:32;2232:42;;1952:328;;;;;:::o;2285:666::-;2380:6;2388;2396;2404;2457:3;2445:9;2436:7;2432:23;2428:33;2425:53;;;2474:1;2471;2464:12;2425:53;2497:29;2516:9;2497:29;:::i;:::-;2487:39;;2545:38;2579:2;2568:9;2564:18;2545:38;:::i;:::-;2535:48;;2630:2;2619:9;2615:18;2602:32;2592:42;;2685:2;2674:9;2670:18;2657:32;-1:-1:-1;;;;;2704:6:1;2701:30;2698:50;;;2744:1;2741;2734:12;2698:50;2767:22;;2820:4;2812:13;;2808:27;-1:-1:-1;2798:55:1;;2849:1;2846;2839:12;2798:55;2872:73;2937:7;2932:2;2919:16;2914:2;2910;2906:11;2872:73;:::i;:::-;2862:83;;;2285:666;;;;;;;:::o;2956:254::-;3021:6;3029;3082:2;3070:9;3061:7;3057:23;3053:32;3050:52;;;3098:1;3095;3088:12;3050:52;3121:29;3140:9;3121:29;:::i;:::-;3111:39;;3169:35;3200:2;3189:9;3185:18;3169:35;:::i;3215:254::-;3283:6;3291;3344:2;3332:9;3323:7;3319:23;3315:32;3312:52;;;3360:1;3357;3350:12;3312:52;3383:29;3402:9;3383:29;:::i;:::-;3373:39;3459:2;3444:18;;;;3431:32;;-1:-1:-1;;;3215:254:1:o;3474:180::-;3530:6;3583:2;3571:9;3562:7;3558:23;3554:32;3551:52;;;3599:1;3596;3589:12;3551:52;3622:26;3638:9;3622:26;:::i;3659:180::-;3718:6;3771:2;3759:9;3750:7;3746:23;3742:32;3739:52;;;3787:1;3784;3777:12;3739:52;-1:-1:-1;3810:23:1;;3659:180;-1:-1:-1;3659:180:1:o;3844:484::-;3946:6;3954;3962;4015:2;4003:9;3994:7;3990:23;3986:32;3983:52;;;4031:1;4028;4021:12;3983:52;4067:9;4054:23;4044:33;;4124:2;4113:9;4109:18;4096:32;4086:42;;4179:2;4168:9;4164:18;4151:32;-1:-1:-1;;;;;4198:6:1;4195:30;4192:50;;;4238:1;4235;4228:12;4192:50;4261:61;4314:7;4305:6;4294:9;4290:22;4261:61;:::i;:::-;4251:71;;;3844:484;;;;;:::o;4333:245::-;4391:6;4444:2;4432:9;4423:7;4419:23;4415:32;4412:52;;;4460:1;4457;4450:12;4412:52;4499:9;4486:23;4518:30;4542:5;4518:30;:::i;4583:249::-;4652:6;4705:2;4693:9;4684:7;4680:23;4676:32;4673:52;;;4721:1;4718;4711:12;4673:52;4753:9;4747:16;4772:30;4796:5;4772:30;:::i;4837:450::-;4906:6;4959:2;4947:9;4938:7;4934:23;4930:32;4927:52;;;4975:1;4972;4965:12;4927:52;5015:9;5002:23;-1:-1:-1;;;;;5040:6:1;5037:30;5034:50;;;5080:1;5077;5070:12;5034:50;5103:22;;5156:4;5148:13;;5144:27;-1:-1:-1;5134:55:1;;5185:1;5182;5175:12;5134:55;5208:73;5273:7;5268:2;5255:16;5250:2;5246;5242:11;5208:73;:::i;5477:254::-;5545:6;5553;5606:2;5594:9;5585:7;5581:23;5577:32;5574:52;;;5622:1;5619;5612:12;5574:52;5658:9;5645:23;5635:33;;5687:38;5721:2;5710:9;5706:18;5687:38;:::i;6225:257::-;6266:3;6304:5;6298:12;6331:6;6326:3;6319:19;6347:63;6403:6;6396:4;6391:3;6387:14;6380:4;6373:5;6369:16;6347:63;:::i;:::-;6464:2;6443:15;-1:-1:-1;;6439:29:1;6430:39;;;;6471:4;6426:50;;6225:257;-1:-1:-1;;6225:257:1:o;6973:1527::-;7197:3;7235:6;7229:13;7261:4;7274:51;7318:6;7313:3;7308:2;7300:6;7296:15;7274:51;:::i;:::-;7388:13;;7347:16;;;;7410:55;7388:13;7347:16;7432:15;;;7410:55;:::i;:::-;7554:13;;7487:20;;;7527:1;;7614;7636:18;;;;7689;;;;7716:93;;7794:4;7784:8;7780:19;7768:31;;7716:93;7857:2;7847:8;7844:16;7824:18;7821:40;7818:167;;;-1:-1:-1;;;7884:33:1;;7940:4;7937:1;7930:15;7970:4;7891:3;7958:17;7818:167;8001:18;8028:110;;;;8152:1;8147:328;;;;7994:481;;8028:110;-1:-1:-1;;8063:24:1;;8049:39;;8108:20;;;;-1:-1:-1;8028:110:1;;8147:328;15629:1;15622:14;;;15666:4;15653:18;;8242:1;8256:169;8270:8;8267:1;8264:15;8256:169;;;8352:14;;8337:13;;;8330:37;8395:16;;;;8287:10;;8256:169;;;8260:3;;8456:8;8449:5;8445:20;8438:27;;7994:481;-1:-1:-1;8491:3:1;;6973:1527;-1:-1:-1;;;;;;;;;;;6973:1527:1:o;8713:488::-;-1:-1:-1;;;;;8982:15:1;;;8964:34;;9034:15;;9029:2;9014:18;;9007:43;9081:2;9066:18;;9059:34;;;9129:3;9124:2;9109:18;;9102:31;;;8907:4;;9150:45;;9175:19;;9167:6;9150:45;:::i;:::-;9142:53;8713:488;-1:-1:-1;;;;;;8713:488:1:o;9206:632::-;9377:2;9429:21;;;9499:13;;9402:18;;;9521:22;;;9348:4;;9377:2;9600:15;;;;9574:2;9559:18;;;9348:4;9643:169;9657:6;9654:1;9651:13;9643:169;;;9718:13;;9706:26;;9787:15;;;;9752:12;;;;9679:1;9672:9;9643:169;;;-1:-1:-1;9829:3:1;;9206:632;-1:-1:-1;;;;;;9206:632:1:o;10035:219::-;10184:2;10173:9;10166:21;10147:4;10204:44;10244:2;10233:9;10229:18;10221:6;10204:44;:::i;10666:344::-;10868:2;10850:21;;;10907:2;10887:18;;;10880:30;-1:-1:-1;;;10941:2:1;10926:18;;10919:50;11001:2;10986:18;;10666:344::o;12461:356::-;12663:2;12645:21;;;12682:18;;;12675:30;12741:34;12736:2;12721:18;;12714:62;12808:2;12793:18;;12461:356::o;12822:347::-;13024:2;13006:21;;;13063:2;13043:18;;;13036:30;13102:25;13097:2;13082:18;;13075:53;13160:2;13145:18;;12822:347::o;13590:344::-;13792:2;13774:21;;;13831:2;13811:18;;;13804:30;-1:-1:-1;;;13865:2:1;13850:18;;13843:50;13925:2;13910:18;;13590:344::o;13939:398::-;14141:2;14123:21;;;14180:2;14160:18;;;14153:30;14219:34;14214:2;14199:18;;14192:62;-1:-1:-1;;;14285:2:1;14270:18;;14263:32;14327:3;14312:19;;13939:398::o;15276:275::-;15347:2;15341:9;15412:2;15393:13;;-1:-1:-1;;15389:27:1;15377:40;;-1:-1:-1;;;;;15432:34:1;;15468:22;;;15429:62;15426:88;;;15494:18;;:::i;:::-;15530:2;15523:22;15276:275;;-1:-1:-1;15276:275:1:o;15682:128::-;15722:3;15753:1;15749:6;15746:1;15743:13;15740:39;;;15759:18;;:::i;:::-;-1:-1:-1;15795:9:1;;15682:128::o;15815:120::-;15855:1;15881;15871:35;;15886:18;;:::i;:::-;-1:-1:-1;15920:9:1;;15815:120::o;15940:168::-;15980:7;16046:1;16042;16038:6;16034:14;16031:1;16028:21;16023:1;16016:9;16009:17;16005:45;16002:71;;;16053:18;;:::i;:::-;-1:-1:-1;16093:9:1;;15940:168::o;16113:125::-;16153:4;16181:1;16178;16175:8;16172:34;;;16186:18;;:::i;:::-;-1:-1:-1;16223:9:1;;16113:125::o;16243:258::-;16315:1;16325:113;16339:6;16336:1;16333:13;16325:113;;;16415:11;;;16409:18;16396:11;;;16389:39;16361:2;16354:10;16325:113;;;16456:6;16453:1;16450:13;16447:48;;;-1:-1:-1;;16491:1:1;16473:16;;16466:27;16243:258::o;16506:380::-;16585:1;16581:12;;;;16628;;;16649:61;;16703:4;16695:6;16691:17;16681:27;;16649:61;16756:2;16748:6;16745:14;16725:18;16722:38;16719:161;;;16802:10;16797:3;16793:20;16790:1;16783:31;16837:4;16834:1;16827:15;16865:4;16862:1;16855:15;16719:161;;16506:380;;;:::o;16891:135::-;16930:3;-1:-1:-1;;16951:17:1;;16948:43;;;16971:18;;:::i;:::-;-1:-1:-1;17018:1:1;17007:13;;16891:135::o;17031:112::-;17063:1;17089;17079:35;;17094:18;;:::i;:::-;-1:-1:-1;17128:9:1;;17031:112::o;17148:127::-;17209:10;17204:3;17200:20;17197:1;17190:31;17240:4;17237:1;17230:15;17264:4;17261:1;17254:15;17280:127;17341:10;17336:3;17332:20;17329:1;17322:31;17372:4;17369:1;17362:15;17396:4;17393:1;17386:15;17412:127;17473:10;17468:3;17464:20;17461:1;17454:31;17504:4;17501:1;17494:15;17528:4;17525:1;17518:15;17544:127;17605:10;17600:3;17596:20;17593:1;17586:31;17636:4;17633:1;17626:15;17660:4;17657:1;17650:15;17676:131;-1:-1:-1;;;;;;17750:32:1;;17740:43;;17730:71;;17797:1;17794;17787:12

Swarm Source

ipfs://ad405556518ecbaedcd9c9f71d4c5e2c7d9b683bf1db9184a1757e8763b1e50d

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.