ETH Price: $3,486.87 (+2.30%)

Contract

0x8e9C050C06108fcD3Cf92698e24c60D4461C4089
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Set Approval For...192009282024-02-10 23:20:35318 days ago1707607235IN
0x8e9C050C...4461C4089
0 ETH0.0006435626.42211057
Safe Transfer Fr...187679272023-12-12 5:09:11379 days ago1702357751IN
0x8e9C050C...4461C4089
0 ETH0.0012567726.16764986
Set Approval For...187211422023-12-05 15:49:35385 days ago1701791375IN
0x8e9C050C...4461C4089
0 ETH0.0017204670.63543519
Set Approval For...187197842023-12-05 11:15:59385 days ago1701774959IN
0x8e9C050C...4461C4089
0 ETH0.001114945.77348986
Set Approval For...175915092023-06-30 10:30:23543 days ago1688121023IN
0x8e9C050C...4461C4089
0 ETH0.0009004319.4962988
Set Approval For...170524182023-04-15 12:29:59619 days ago1681561799IN
0x8e9C050C...4461C4089
0 ETH0.0010421422.5235337
Set Approval For...169790352023-04-05 0:24:35630 days ago1680654275IN
0x8e9C050C...4461C4089
0 ETH0.0015186232.88125711
Transfer From169761412023-04-04 14:34:11630 days ago1680618851IN
0x8e9C050C...4461C4089
0 ETH0.0018651229.84768154
Set Approval For...164889392023-01-26 5:35:35699 days ago1674711335IN
0x8e9C050C...4461C4089
0 ETH0.0003605714.8548877
Approve162986672022-12-30 16:05:47725 days ago1672416347IN
0x8e9C050C...4461C4089
0 ETH0.0010930622.40852761
Approve162986542022-12-30 16:03:11725 days ago1672416191IN
0x8e9C050C...4461C4089
0 ETH0.0008798118.03673431
Safe Transfer Fr...162902322022-12-29 11:51:47726 days ago1672314707IN
0x8e9C050C...4461C4089
0 ETH0.0006844215.75430339
Safe Transfer Fr...162902272022-12-29 11:50:47726 days ago1672314647IN
0x8e9C050C...4461C4089
0 ETH0.0009702414.85097715
Set Approval For...162676322022-12-26 8:07:47730 days ago1672042067IN
0x8e9C050C...4461C4089
0 ETH0.000283811.65198753
Set Approval For...161420422022-12-08 19:20:47747 days ago1670527247IN
0x8e9C050C...4461C4089
0 ETH0.0010024321.70479106
Set Approval For...159736672022-11-15 6:32:35771 days ago1668493955IN
0x8e9C050C...4461C4089
0 ETH0.0003497114.3577587
Set Approval For...159736672022-11-15 6:32:35771 days ago1668493955IN
0x8e9C050C...4461C4089
0 ETH0.000348514.3577587
Set Approval For...159734052022-11-15 5:39:59771 days ago1668490799IN
0x8e9C050C...4461C4089
0 ETH0.0003995216.40298501
Set Approval For...158539232022-10-29 13:10:35787 days ago1667049035IN
0x8e9C050C...4461C4089
0 ETH0.0010645823.00866258
Set Approval For...157500642022-10-15 0:54:59802 days ago1665795299IN
0x8e9C050C...4461C4089
0 ETH0.0003696215.17519167
Set Approval For...157428242022-10-14 0:39:23803 days ago1665707963IN
0x8e9C050C...4461C4089
0 ETH0.0003613614.83612454
Set Approval For...156784262022-10-05 0:46:59812 days ago1664930819IN
0x8e9C050C...4461C4089
0 ETH0.000239929.85028411
Set Approval For...156205112022-09-26 22:26:59820 days ago1664231219IN
0x8e9C050C...4461C4089
0 ETH0.0005004210.835235
Set Approval For...155661212022-09-19 7:37:11828 days ago1663573031IN
0x8e9C050C...4461C4089
0 ETH0.000243095.25527925
Set Approval For...155570592022-09-18 1:07:35829 days ago1663463255IN
0x8e9C050C...4461C4089
0 ETH0.000221944.80563323
View all transactions

Latest 1 internal transaction

Advanced mode:
Parent Transaction Hash Block
From
To
139156462021-12-31 22:04:021089 days ago1640988242
0x8e9C050C...4461C4089
0.98 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
PixelSquids

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 2021-12-31
*/

// SPDX-License-Identifier: MIT
// File: @openzeppelin/contracts/utils/Counters.sol


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

pragma solidity ^0.8.0;

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

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

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

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

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

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


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

pragma solidity ^0.8.0;

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

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

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

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

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

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


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

pragma solidity ^0.8.0;

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

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

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


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

pragma solidity ^0.8.0;


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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

pragma solidity ^0.8.0;

/**
 * @title ERC721 token receiver interface
 * @dev Interface for any contract that wants to support safeTransfers
 * from ERC721 asset contracts.
 */
interface IERC721Receiver {
    /**
     * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
     * by `operator` from `from`, this function is called.
     *
     * It must return its Solidity selector to confirm the token transfer.
     * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.
     *
     * The selector can be obtained in Solidity with `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)

pragma solidity ^0.8.0;

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

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


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

pragma solidity ^0.8.0;


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

pragma solidity ^0.8.0;


/**
 * @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/IERC721Metadata.sol


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

pragma solidity ^0.8.0;


/**
 * @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: @openzeppelin/contracts/token/ERC721/ERC721.sol


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

pragma solidity ^0.8.0;








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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        _setApprovalForAll(_msgSender(), operator, approved);
    }

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);
    }

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

    /**
     * @dev Approve `operator` to operate on all of `owner` tokens
     *
     * Emits a {ApprovalForAll} event.
     */
    function _setApprovalForAll(
        address owner,
        address operator,
        bool approved
    ) internal virtual {
        require(owner != operator, "ERC721: approve to caller");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

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

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

// File: contracts/4_pixelsquids.sol


pragma solidity ^0.8.2;




contract PixelSquids is ERC721, Ownable {
    using Counters for Counters.Counter;

    Counters.Counter private _tokenIdCounter;
    string _baseUri;
    string _contractUri;

    uint public constant MAX_SUPPLY = 5000;
    uint public price = 0.01 ether;
    uint public maxFreeMint = 4000;
    uint public maxMintPerTransaction = 10;
    uint public maxFreeMintPerWallet = 40;
    bool public isSalesActive = false;

    mapping (uint256 => string) private _tokenURIs;
    mapping (address => uint) public addressToFreeMinted;

    constructor() ERC721("Pixel Squids", "PXSQ") {
        _contractUri = "ipfs://QmUg63iberCCQt5k7jer7sVvYiLkb12ubwfPZJw7FwyH8Z";
    }

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

    function mint(uint quantity) external payable {
        require(isSalesActive, "sale is not active");
        require(totalSupply() + quantity <= MAX_SUPPLY, "sold out");
        require(quantity <= maxMintPerTransaction, "max mints per transaction exceeded");
        if (totalSupply() + quantity <= maxFreeMint) {
            require(addressToFreeMinted[msg.sender] + quantity <= maxFreeMintPerWallet, "free mints exceeds allowance");
            addressToFreeMinted[msg.sender] += quantity;
        } else {
            require(msg.value >= price * quantity, "ether send is under price");
        }
        for (uint i = 0; i < quantity; i++) {
            safeMint(msg.sender);
        }
    }

    function safeMint(address to) internal {
        uint256 tokenId = _tokenIdCounter.current();
        _tokenIdCounter.increment();
        _safeMint(to, tokenId);
    }
    
    function totalSupply() public view returns (uint) {
        return _tokenIdCounter.current();
    }
    
    function contractURI() public view returns (string memory) {
        return _contractUri;
    }
    
    function setBaseURI(string memory newBaseURI) external onlyOwner {
        _baseUri = newBaseURI;
    }
    
    function setContractURI(string memory newContractURI) external onlyOwner {
        _contractUri = newContractURI;
    }
    
    function toggleSales() external onlyOwner {
        isSalesActive = !isSalesActive;
    }
    
    function setPrice(uint newPrice) external onlyOwner {
        price = newPrice;
    }
    
    function withdrawAll() external onlyOwner {
        require(payable(msg.sender).send(address(this).balance));
    }

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

        string memory _tokenURI = _tokenURIs[tokenId];
        string memory base = _baseURI();
        
        // If there is no base URI, return the token URI.
        if (bytes(base).length == 0) {
            return _tokenURI;
        }
        // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked).
        if (bytes(_tokenURI).length > 0) {
            return string(abi.encodePacked(base, _tokenURI, ".json"));
        }
        // If there is a baseURI but no tokenURI, concatenate the tokenID to the baseURI.
        return string(abi.encodePacked(base, uint2str(tokenId), ".json"));
    }

    function uint2str(uint _i) internal pure returns (string memory _uintAsString) {
        if (_i == 0) {
            return "0";
        }
        uint j = _i;
        uint len;
        while (j != 0) {
            len++;
            j /= 10;
        }
        bytes memory bstr = new bytes(len);
        uint k = len;
        while (_i != 0) {
            k = k-1;
            uint8 temp = (48 + uint8(_i - _i / 10 * 10));
            bytes1 b1 = bytes1(temp);
            bstr[k] = b1;
            _i /= 10;
        }
        return string(bstr);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"addressToFreeMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"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":"isSalesActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxFreeMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxFreeMintPerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintPerTransaction","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","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":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newContractURI","type":"string"}],"name":"setContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"toggleSales","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052662386f26fc10000600a908155610fa0600b55600c556028600d55600e805460ff191690553480156200003657600080fd5b50604080518082018252600c81526b506978656c2053717569647360a01b6020808301918252835180850190945260048452635058535160e01b908401528151919291620000879160009162000147565b5080516200009d90600190602084019062000147565b505050620000ba620000b4620000f160201b60201c565b620000f5565b604051806060016040528060358152602001620020a9603591398051620000ea9160099160209091019062000147565b506200022a565b3390565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200015590620001ed565b90600052602060002090601f016020900481019282620001795760008555620001c4565b82601f106200019457805160ff1916838001178555620001c4565b82800160010185558215620001c4579182015b82811115620001c4578251825591602001919060010190620001a7565b50620001d2929150620001d6565b5090565b5b80821115620001d25760008155600101620001d7565b600181811c908216806200020257607f821691505b602082108114156200022457634e487b7160e01b600052602260045260246000fd5b50919050565b611e6f806200023a6000396000f3fe6080604052600436106101d85760003560e01c8063853828b611610102578063a591252d11610095578063dbd30ae011610064578063dbd30ae014610516578063e8a3d4851461052b578063e985e9c514610540578063f2fde38b1461058957600080fd5b8063a591252d146104a6578063b88d4fde146104bc578063c87b56dd146104dc578063daa81cdd146104fc57600080fd5b806395d89b41116100d157806395d89b4114610448578063a035b1fe1461045d578063a0712d6814610473578063a22cb4651461048657600080fd5b8063853828b6146103d55780638da5cb5b146103ea57806391b7f5ed14610408578063938e3d7b1461042857600080fd5b806332cb6b0c1161017a57806370a082311161014957806370a082311461035d578063715018a61461037d5780637fc4618914610392578063845bb3bb146103bf57600080fd5b806332cb6b0c146102e757806342842e0e146102fd57806355f804b31461031d5780636352211e1461033d57600080fd5b8063081812fc116101b6578063081812fc14610258578063095ea7b31461029057806318160ddd146102b257806323b872dd146102c757600080fd5b806301f56997146101dd57806301ffc9a71461020657806306fdde0314610236575b600080fd5b3480156101e957600080fd5b506101f3600c5481565b6040519081526020015b60405180910390f35b34801561021257600080fd5b50610226610221366004611a9b565b6105a9565b60405190151581526020016101fd565b34801561024257600080fd5b5061024b6105fb565b6040516101fd9190611bdf565b34801561026457600080fd5b50610278610273366004611b1e565b61068d565b6040516001600160a01b0390911681526020016101fd565b34801561029c57600080fd5b506102b06102ab366004611a71565b610727565b005b3480156102be57600080fd5b506101f361083d565b3480156102d357600080fd5b506102b06102e236600461197d565b61084d565b3480156102f357600080fd5b506101f361138881565b34801561030957600080fd5b506102b061031836600461197d565b61087e565b34801561032957600080fd5b506102b0610338366004611ad5565b610899565b34801561034957600080fd5b50610278610358366004611b1e565b6108da565b34801561036957600080fd5b506101f3610378366004611928565b610951565b34801561038957600080fd5b506102b06109d8565b34801561039e57600080fd5b506101f36103ad366004611928565b60106020526000908152604090205481565b3480156103cb57600080fd5b506101f3600d5481565b3480156103e157600080fd5b506102b0610a0e565b3480156103f657600080fd5b506006546001600160a01b0316610278565b34801561041457600080fd5b506102b0610423366004611b1e565b610a5c565b34801561043457600080fd5b506102b0610443366004611ad5565b610a8b565b34801561045457600080fd5b5061024b610ac8565b34801561046957600080fd5b506101f3600a5481565b6102b0610481366004611b1e565b610ad7565b34801561049257600080fd5b506102b06104a1366004611a35565b610cfe565b3480156104b257600080fd5b506101f3600b5481565b3480156104c857600080fd5b506102b06104d73660046119b9565b610d09565b3480156104e857600080fd5b5061024b6104f7366004611b1e565b610d41565b34801561050857600080fd5b50600e546102269060ff1681565b34801561052257600080fd5b506102b0610ec3565b34801561053757600080fd5b5061024b610f01565b34801561054c57600080fd5b5061022661055b36600461194a565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561059557600080fd5b506102b06105a4366004611928565b610f10565b60006001600160e01b031982166380ac58cd60e01b14806105da57506001600160e01b03198216635b5e139f60e01b145b806105f557506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606000805461060a90611d8b565b80601f016020809104026020016040519081016040528092919081815260200182805461063690611d8b565b80156106835780601f1061065857610100808354040283529160200191610683565b820191906000526020600020905b81548152906001019060200180831161066657829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b031661070b5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b6000610732826108da565b9050806001600160a01b0316836001600160a01b031614156107a05760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610702565b336001600160a01b03821614806107bc57506107bc813361055b565b61082e5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610702565b6108388383610fab565b505050565b600061084860075490565b905090565b6108573382611019565b6108735760405162461bcd60e51b815260040161070290611c79565b610838838383611110565b61083883838360405180602001604052806000815250610d09565b6006546001600160a01b031633146108c35760405162461bcd60e51b815260040161070290611c44565b80516108d69060089060208401906117fd565b5050565b6000818152600260205260408120546001600160a01b0316806105f55760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610702565b60006001600160a01b0382166109bc5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610702565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b03163314610a025760405162461bcd60e51b815260040161070290611c44565b610a0c60006112b0565b565b6006546001600160a01b03163314610a385760405162461bcd60e51b815260040161070290611c44565b60405133904780156108fc02916000818181858888f19350505050610a0c57600080fd5b6006546001600160a01b03163314610a865760405162461bcd60e51b815260040161070290611c44565b600a55565b6006546001600160a01b03163314610ab55760405162461bcd60e51b815260040161070290611c44565b80516108d69060099060208401906117fd565b60606001805461060a90611d8b565b600e5460ff16610b1e5760405162461bcd60e51b815260206004820152601260248201527173616c65206973206e6f742061637469766560701b6044820152606401610702565b61138881610b2a61083d565b610b349190611cca565b1115610b6d5760405162461bcd60e51b81526020600482015260086024820152671cdbdb19081bdd5d60c21b6044820152606401610702565b600c54811115610bca5760405162461bcd60e51b815260206004820152602260248201527f6d6178206d696e747320706572207472616e73616374696f6e20657863656564604482015261195960f21b6064820152608401610702565b600b5481610bd661083d565b610be09190611cca565b11610c7b57600d5433600090815260106020526040902054610c03908390611cca565b1115610c515760405162461bcd60e51b815260206004820152601c60248201527f66726565206d696e7473206578636565647320616c6c6f77616e6365000000006044820152606401610702565b3360009081526010602052604081208054839290610c70908490611cca565b90915550610cd89050565b80600a54610c899190611d29565b341015610cd85760405162461bcd60e51b815260206004820152601960248201527f65746865722073656e6420697320756e646572207072696365000000000000006044820152606401610702565b60005b818110156108d657610cec33611302565b80610cf681611dc6565b915050610cdb565b6108d6338383611327565b610d133383611019565b610d2f5760405162461bcd60e51b815260040161070290611c79565b610d3b848484846113f6565b50505050565b6000818152600260205260409020546060906001600160a01b0316610dc05760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610702565b6000828152600f602052604081208054610dd990611d8b565b80601f0160208091040260200160405190810160405280929190818152602001828054610e0590611d8b565b8015610e525780601f10610e2757610100808354040283529160200191610e52565b820191906000526020600020905b815481529060010190602001808311610e3557829003601f168201915b505050505090506000610e63611429565b9050805160001415610e76575092915050565b815115610ea8578082604051602001610e90929190611b63565b60405160208183030381529060405292505050919050565b80610eb285611438565b604051602001610e90929190611b63565b6006546001600160a01b03163314610eed5760405162461bcd60e51b815260040161070290611c44565b600e805460ff19811660ff90911615179055565b60606009805461060a90611d8b565b6006546001600160a01b03163314610f3a5760405162461bcd60e51b815260040161070290611c44565b6001600160a01b038116610f9f5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610702565b610fa8816112b0565b50565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610fe0826108da565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b03166110925760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610702565b600061109d836108da565b9050806001600160a01b0316846001600160a01b031614806110d85750836001600160a01b03166110cd8461068d565b6001600160a01b0316145b8061110857506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b0316611123826108da565b6001600160a01b03161461118b5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610702565b6001600160a01b0382166111ed5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610702565b6111f8600082610fab565b6001600160a01b0383166000908152600360205260408120805460019290611221908490611d48565b90915550506001600160a01b038216600090815260036020526040812080546001929061124f908490611cca565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600061130d60075490565b905061131d600780546001019055565b6108d68282611561565b816001600160a01b0316836001600160a01b031614156113895760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610702565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b611401848484611110565b61140d8484848461157b565b610d3b5760405162461bcd60e51b815260040161070290611bf2565b60606008805461060a90611d8b565b60608161145c5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611486578061147081611dc6565b915061147f9050600a83611d07565b9150611460565b60008167ffffffffffffffff8111156114a1576114a1611e0d565b6040519080825280601f01601f1916602001820160405280156114cb576020820181803683370190505b509050815b8515611558576114e1600182611d48565b905060006114f0600a88611d07565b6114fb90600a611d29565b6115059088611d48565b611510906030611ce2565b905060008160f81b90508084848151811061152d5761152d611df7565b60200101906001600160f81b031916908160001a90535061154f600a89611d07565b975050506114d0565b50949350505050565b6108d6828260405180602001604052806000815250611688565b60006001600160a01b0384163b1561167d57604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906115bf903390899088908890600401611ba2565b602060405180830381600087803b1580156115d957600080fd5b505af1925050508015611609575060408051601f3d908101601f1916820190925261160691810190611ab8565b60015b611663573d808015611637576040519150601f19603f3d011682016040523d82523d6000602084013e61163c565b606091505b50805161165b5760405162461bcd60e51b815260040161070290611bf2565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611108565b506001949350505050565b61169283836116bb565b61169f600084848461157b565b6108385760405162461bcd60e51b815260040161070290611bf2565b6001600160a01b0382166117115760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610702565b6000818152600260205260409020546001600160a01b0316156117765760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610702565b6001600160a01b038216600090815260036020526040812080546001929061179f908490611cca565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b82805461180990611d8b565b90600052602060002090601f01602090048101928261182b5760008555611871565b82601f1061184457805160ff1916838001178555611871565b82800160010185558215611871579182015b82811115611871578251825591602001919060010190611856565b5061187d929150611881565b5090565b5b8082111561187d5760008155600101611882565b600067ffffffffffffffff808411156118b1576118b1611e0d565b604051601f8501601f19908116603f011681019082821181831017156118d9576118d9611e0d565b816040528093508581528686860111156118f257600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b038116811461192357600080fd5b919050565b60006020828403121561193a57600080fd5b6119438261190c565b9392505050565b6000806040838503121561195d57600080fd5b6119668361190c565b91506119746020840161190c565b90509250929050565b60008060006060848603121561199257600080fd5b61199b8461190c565b92506119a96020850161190c565b9150604084013590509250925092565b600080600080608085870312156119cf57600080fd5b6119d88561190c565b93506119e66020860161190c565b925060408501359150606085013567ffffffffffffffff811115611a0957600080fd5b8501601f81018713611a1a57600080fd5b611a2987823560208401611896565b91505092959194509250565b60008060408385031215611a4857600080fd5b611a518361190c565b915060208301358015158114611a6657600080fd5b809150509250929050565b60008060408385031215611a8457600080fd5b611a8d8361190c565b946020939093013593505050565b600060208284031215611aad57600080fd5b813561194381611e23565b600060208284031215611aca57600080fd5b815161194381611e23565b600060208284031215611ae757600080fd5b813567ffffffffffffffff811115611afe57600080fd5b8201601f81018413611b0f57600080fd5b61110884823560208401611896565b600060208284031215611b3057600080fd5b5035919050565b60008151808452611b4f816020860160208601611d5f565b601f01601f19169290920160200192915050565b60008351611b75818460208801611d5f565b835190830190611b89818360208801611d5f565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611bd590830184611b37565b9695505050505050565b6020815260006119436020830184611b37565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b60008219821115611cdd57611cdd611de1565b500190565b600060ff821660ff84168060ff03821115611cff57611cff611de1565b019392505050565b600082611d2457634e487b7160e01b600052601260045260246000fd5b500490565b6000816000190483118215151615611d4357611d43611de1565b500290565b600082821015611d5a57611d5a611de1565b500390565b60005b83811015611d7a578181015183820152602001611d62565b83811115610d3b5750506000910152565b600181811c90821680611d9f57607f821691505b60208210811415611dc057634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415611dda57611dda611de1565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610fa857600080fdfea264697066735822122093aec5209c31533a0fb4935bbc0d98a06293fcacaab68ca3a167215a4126189264736f6c63430008070033697066733a2f2f516d556736336962657243435174356b376a65723773567659694c6b62313275627766505a4a773746777948385a

Deployed Bytecode

0x6080604052600436106101d85760003560e01c8063853828b611610102578063a591252d11610095578063dbd30ae011610064578063dbd30ae014610516578063e8a3d4851461052b578063e985e9c514610540578063f2fde38b1461058957600080fd5b8063a591252d146104a6578063b88d4fde146104bc578063c87b56dd146104dc578063daa81cdd146104fc57600080fd5b806395d89b41116100d157806395d89b4114610448578063a035b1fe1461045d578063a0712d6814610473578063a22cb4651461048657600080fd5b8063853828b6146103d55780638da5cb5b146103ea57806391b7f5ed14610408578063938e3d7b1461042857600080fd5b806332cb6b0c1161017a57806370a082311161014957806370a082311461035d578063715018a61461037d5780637fc4618914610392578063845bb3bb146103bf57600080fd5b806332cb6b0c146102e757806342842e0e146102fd57806355f804b31461031d5780636352211e1461033d57600080fd5b8063081812fc116101b6578063081812fc14610258578063095ea7b31461029057806318160ddd146102b257806323b872dd146102c757600080fd5b806301f56997146101dd57806301ffc9a71461020657806306fdde0314610236575b600080fd5b3480156101e957600080fd5b506101f3600c5481565b6040519081526020015b60405180910390f35b34801561021257600080fd5b50610226610221366004611a9b565b6105a9565b60405190151581526020016101fd565b34801561024257600080fd5b5061024b6105fb565b6040516101fd9190611bdf565b34801561026457600080fd5b50610278610273366004611b1e565b61068d565b6040516001600160a01b0390911681526020016101fd565b34801561029c57600080fd5b506102b06102ab366004611a71565b610727565b005b3480156102be57600080fd5b506101f361083d565b3480156102d357600080fd5b506102b06102e236600461197d565b61084d565b3480156102f357600080fd5b506101f361138881565b34801561030957600080fd5b506102b061031836600461197d565b61087e565b34801561032957600080fd5b506102b0610338366004611ad5565b610899565b34801561034957600080fd5b50610278610358366004611b1e565b6108da565b34801561036957600080fd5b506101f3610378366004611928565b610951565b34801561038957600080fd5b506102b06109d8565b34801561039e57600080fd5b506101f36103ad366004611928565b60106020526000908152604090205481565b3480156103cb57600080fd5b506101f3600d5481565b3480156103e157600080fd5b506102b0610a0e565b3480156103f657600080fd5b506006546001600160a01b0316610278565b34801561041457600080fd5b506102b0610423366004611b1e565b610a5c565b34801561043457600080fd5b506102b0610443366004611ad5565b610a8b565b34801561045457600080fd5b5061024b610ac8565b34801561046957600080fd5b506101f3600a5481565b6102b0610481366004611b1e565b610ad7565b34801561049257600080fd5b506102b06104a1366004611a35565b610cfe565b3480156104b257600080fd5b506101f3600b5481565b3480156104c857600080fd5b506102b06104d73660046119b9565b610d09565b3480156104e857600080fd5b5061024b6104f7366004611b1e565b610d41565b34801561050857600080fd5b50600e546102269060ff1681565b34801561052257600080fd5b506102b0610ec3565b34801561053757600080fd5b5061024b610f01565b34801561054c57600080fd5b5061022661055b36600461194a565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561059557600080fd5b506102b06105a4366004611928565b610f10565b60006001600160e01b031982166380ac58cd60e01b14806105da57506001600160e01b03198216635b5e139f60e01b145b806105f557506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606000805461060a90611d8b565b80601f016020809104026020016040519081016040528092919081815260200182805461063690611d8b565b80156106835780601f1061065857610100808354040283529160200191610683565b820191906000526020600020905b81548152906001019060200180831161066657829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b031661070b5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b6000610732826108da565b9050806001600160a01b0316836001600160a01b031614156107a05760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610702565b336001600160a01b03821614806107bc57506107bc813361055b565b61082e5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610702565b6108388383610fab565b505050565b600061084860075490565b905090565b6108573382611019565b6108735760405162461bcd60e51b815260040161070290611c79565b610838838383611110565b61083883838360405180602001604052806000815250610d09565b6006546001600160a01b031633146108c35760405162461bcd60e51b815260040161070290611c44565b80516108d69060089060208401906117fd565b5050565b6000818152600260205260408120546001600160a01b0316806105f55760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610702565b60006001600160a01b0382166109bc5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610702565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b03163314610a025760405162461bcd60e51b815260040161070290611c44565b610a0c60006112b0565b565b6006546001600160a01b03163314610a385760405162461bcd60e51b815260040161070290611c44565b60405133904780156108fc02916000818181858888f19350505050610a0c57600080fd5b6006546001600160a01b03163314610a865760405162461bcd60e51b815260040161070290611c44565b600a55565b6006546001600160a01b03163314610ab55760405162461bcd60e51b815260040161070290611c44565b80516108d69060099060208401906117fd565b60606001805461060a90611d8b565b600e5460ff16610b1e5760405162461bcd60e51b815260206004820152601260248201527173616c65206973206e6f742061637469766560701b6044820152606401610702565b61138881610b2a61083d565b610b349190611cca565b1115610b6d5760405162461bcd60e51b81526020600482015260086024820152671cdbdb19081bdd5d60c21b6044820152606401610702565b600c54811115610bca5760405162461bcd60e51b815260206004820152602260248201527f6d6178206d696e747320706572207472616e73616374696f6e20657863656564604482015261195960f21b6064820152608401610702565b600b5481610bd661083d565b610be09190611cca565b11610c7b57600d5433600090815260106020526040902054610c03908390611cca565b1115610c515760405162461bcd60e51b815260206004820152601c60248201527f66726565206d696e7473206578636565647320616c6c6f77616e6365000000006044820152606401610702565b3360009081526010602052604081208054839290610c70908490611cca565b90915550610cd89050565b80600a54610c899190611d29565b341015610cd85760405162461bcd60e51b815260206004820152601960248201527f65746865722073656e6420697320756e646572207072696365000000000000006044820152606401610702565b60005b818110156108d657610cec33611302565b80610cf681611dc6565b915050610cdb565b6108d6338383611327565b610d133383611019565b610d2f5760405162461bcd60e51b815260040161070290611c79565b610d3b848484846113f6565b50505050565b6000818152600260205260409020546060906001600160a01b0316610dc05760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610702565b6000828152600f602052604081208054610dd990611d8b565b80601f0160208091040260200160405190810160405280929190818152602001828054610e0590611d8b565b8015610e525780601f10610e2757610100808354040283529160200191610e52565b820191906000526020600020905b815481529060010190602001808311610e3557829003601f168201915b505050505090506000610e63611429565b9050805160001415610e76575092915050565b815115610ea8578082604051602001610e90929190611b63565b60405160208183030381529060405292505050919050565b80610eb285611438565b604051602001610e90929190611b63565b6006546001600160a01b03163314610eed5760405162461bcd60e51b815260040161070290611c44565b600e805460ff19811660ff90911615179055565b60606009805461060a90611d8b565b6006546001600160a01b03163314610f3a5760405162461bcd60e51b815260040161070290611c44565b6001600160a01b038116610f9f5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610702565b610fa8816112b0565b50565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610fe0826108da565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b03166110925760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610702565b600061109d836108da565b9050806001600160a01b0316846001600160a01b031614806110d85750836001600160a01b03166110cd8461068d565b6001600160a01b0316145b8061110857506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b0316611123826108da565b6001600160a01b03161461118b5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610702565b6001600160a01b0382166111ed5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610702565b6111f8600082610fab565b6001600160a01b0383166000908152600360205260408120805460019290611221908490611d48565b90915550506001600160a01b038216600090815260036020526040812080546001929061124f908490611cca565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600061130d60075490565b905061131d600780546001019055565b6108d68282611561565b816001600160a01b0316836001600160a01b031614156113895760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610702565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b611401848484611110565b61140d8484848461157b565b610d3b5760405162461bcd60e51b815260040161070290611bf2565b60606008805461060a90611d8b565b60608161145c5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611486578061147081611dc6565b915061147f9050600a83611d07565b9150611460565b60008167ffffffffffffffff8111156114a1576114a1611e0d565b6040519080825280601f01601f1916602001820160405280156114cb576020820181803683370190505b509050815b8515611558576114e1600182611d48565b905060006114f0600a88611d07565b6114fb90600a611d29565b6115059088611d48565b611510906030611ce2565b905060008160f81b90508084848151811061152d5761152d611df7565b60200101906001600160f81b031916908160001a90535061154f600a89611d07565b975050506114d0565b50949350505050565b6108d6828260405180602001604052806000815250611688565b60006001600160a01b0384163b1561167d57604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906115bf903390899088908890600401611ba2565b602060405180830381600087803b1580156115d957600080fd5b505af1925050508015611609575060408051601f3d908101601f1916820190925261160691810190611ab8565b60015b611663573d808015611637576040519150601f19603f3d011682016040523d82523d6000602084013e61163c565b606091505b50805161165b5760405162461bcd60e51b815260040161070290611bf2565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611108565b506001949350505050565b61169283836116bb565b61169f600084848461157b565b6108385760405162461bcd60e51b815260040161070290611bf2565b6001600160a01b0382166117115760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610702565b6000818152600260205260409020546001600160a01b0316156117765760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610702565b6001600160a01b038216600090815260036020526040812080546001929061179f908490611cca565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b82805461180990611d8b565b90600052602060002090601f01602090048101928261182b5760008555611871565b82601f1061184457805160ff1916838001178555611871565b82800160010185558215611871579182015b82811115611871578251825591602001919060010190611856565b5061187d929150611881565b5090565b5b8082111561187d5760008155600101611882565b600067ffffffffffffffff808411156118b1576118b1611e0d565b604051601f8501601f19908116603f011681019082821181831017156118d9576118d9611e0d565b816040528093508581528686860111156118f257600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b038116811461192357600080fd5b919050565b60006020828403121561193a57600080fd5b6119438261190c565b9392505050565b6000806040838503121561195d57600080fd5b6119668361190c565b91506119746020840161190c565b90509250929050565b60008060006060848603121561199257600080fd5b61199b8461190c565b92506119a96020850161190c565b9150604084013590509250925092565b600080600080608085870312156119cf57600080fd5b6119d88561190c565b93506119e66020860161190c565b925060408501359150606085013567ffffffffffffffff811115611a0957600080fd5b8501601f81018713611a1a57600080fd5b611a2987823560208401611896565b91505092959194509250565b60008060408385031215611a4857600080fd5b611a518361190c565b915060208301358015158114611a6657600080fd5b809150509250929050565b60008060408385031215611a8457600080fd5b611a8d8361190c565b946020939093013593505050565b600060208284031215611aad57600080fd5b813561194381611e23565b600060208284031215611aca57600080fd5b815161194381611e23565b600060208284031215611ae757600080fd5b813567ffffffffffffffff811115611afe57600080fd5b8201601f81018413611b0f57600080fd5b61110884823560208401611896565b600060208284031215611b3057600080fd5b5035919050565b60008151808452611b4f816020860160208601611d5f565b601f01601f19169290920160200192915050565b60008351611b75818460208801611d5f565b835190830190611b89818360208801611d5f565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611bd590830184611b37565b9695505050505050565b6020815260006119436020830184611b37565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b60008219821115611cdd57611cdd611de1565b500190565b600060ff821660ff84168060ff03821115611cff57611cff611de1565b019392505050565b600082611d2457634e487b7160e01b600052601260045260246000fd5b500490565b6000816000190483118215151615611d4357611d43611de1565b500290565b600082821015611d5a57611d5a611de1565b500390565b60005b83811015611d7a578181015183820152602001611d62565b83811115610d3b5750506000910152565b600181811c90821680611d9f57607f821691505b60208210811415611dc057634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415611dda57611dda611de1565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610fa857600080fdfea264697066735822122093aec5209c31533a0fb4935bbc0d98a06293fcacaab68ca3a167215a4126189264736f6c63430008070033

Deployed Bytecode Sourcemap

37755:3909:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38062:38;;;;;;;;;;;;;;;;;;;14389:25:1;;;14377:2;14362:18;38062:38:0;;;;;;;;25240:305;;;;;;;;;;-1:-1:-1;25240:305:0;;;;;:::i;:::-;;:::i;:::-;;;5813:14:1;;5806:22;5788:41;;5776:2;5761:18;25240:305:0;5648:187:1;26185:100:0;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;27744:221::-;;;;;;;;;;-1:-1:-1;27744:221:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;5111:32:1;;;5093:51;;5081:2;5066:18;27744:221:0;4947:203:1;27267:411:0;;;;;;;;;;-1:-1:-1;27267:411:0;;;;;:::i;:::-;;:::i;:::-;;39460:101;;;;;;;;;;;;;:::i;28494:339::-;;;;;;;;;;-1:-1:-1;28494:339:0;;;;;:::i;:::-;;:::i;37943:38::-;;;;;;;;;;;;37977:4;37943:38;;28904:185;;;;;;;;;;-1:-1:-1;28904:185:0;;;;;:::i;:::-;;:::i;39682:105::-;;;;;;;;;;-1:-1:-1;39682:105:0;;;;;:::i;:::-;;:::i;25879:239::-;;;;;;;;;;-1:-1:-1;25879:239:0;;;;;:::i;:::-;;:::i;25609:208::-;;;;;;;;;;-1:-1:-1;25609:208:0;;;;;:::i;:::-;;:::i;6228:103::-;;;;;;;;;;;;;:::i;38246:52::-;;;;;;;;;;-1:-1:-1;38246:52:0;;;;;:::i;:::-;;;;;;;;;;;;;;38107:37;;;;;;;;;;;;;;;;40134:117;;;;;;;;;;;;;:::i;5577:87::-;;;;;;;;;;-1:-1:-1;5650:6:0;;-1:-1:-1;;;;;5650:6:0;5577:87;;40035;;;;;;;;;;-1:-1:-1;40035:87:0;;;;;:::i;:::-;;:::i;39799:121::-;;;;;;;;;;-1:-1:-1;39799:121:0;;;;;:::i;:::-;;:::i;26354:104::-;;;;;;;;;;;;;:::i;37988:30::-;;;;;;;;;;;;;;;;38558:710;;;;;;:::i;:::-;;:::i;28037:155::-;;;;;;;;;;-1:-1:-1;28037:155:0;;;;;:::i;:::-;;:::i;38025:30::-;;;;;;;;;;;;;;;;29160:328;;;;;;;;;;-1:-1:-1;29160:328:0;;;;;:::i;:::-;;:::i;40259:821::-;;;;;;;;;;-1:-1:-1;40259:821:0;;;;;:::i;:::-;;:::i;38151:33::-;;;;;;;;;;-1:-1:-1;38151:33:0;;;;;;;;39932:91;;;;;;;;;;;;;:::i;39573:97::-;;;;;;;;;;;;;:::i;28263:164::-;;;;;;;;;;-1:-1:-1;28263:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;28384:25:0;;;28360:4;28384:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;28263:164;6486:201;;;;;;;;;;-1:-1:-1;6486:201:0;;;;;:::i;:::-;;:::i;25240:305::-;25342:4;-1:-1:-1;;;;;;25379:40:0;;-1:-1:-1;;;25379:40:0;;:105;;-1:-1:-1;;;;;;;25436:48:0;;-1:-1:-1;;;25436:48:0;25379:105;:158;;;-1:-1:-1;;;;;;;;;;18118:40:0;;;25501:36;25359:178;25240:305;-1:-1:-1;;25240:305:0:o;26185:100::-;26239:13;26272:5;26265:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26185:100;:::o;27744:221::-;27820:7;31087:16;;;:7;:16;;;;;;-1:-1:-1;;;;;31087:16:0;27840:73;;;;-1:-1:-1;;;27840:73:0;;12025:2:1;27840:73:0;;;12007:21:1;12064:2;12044:18;;;12037:30;12103:34;12083:18;;;12076:62;-1:-1:-1;;;12154:18:1;;;12147:42;12206:19;;27840:73:0;;;;;;;;;-1:-1:-1;27933:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;27933:24:0;;27744:221::o;27267:411::-;27348:13;27364:23;27379:7;27364:14;:23::i;:::-;27348:39;;27412:5;-1:-1:-1;;;;;27406:11:0;:2;-1:-1:-1;;;;;27406:11:0;;;27398:57;;;;-1:-1:-1;;;27398:57:0;;13625:2:1;27398:57:0;;;13607:21:1;13664:2;13644:18;;;13637:30;13703:34;13683:18;;;13676:62;-1:-1:-1;;;13754:18:1;;;13747:31;13795:19;;27398:57:0;13423:397:1;27398:57:0;4381:10;-1:-1:-1;;;;;27490:21:0;;;;:62;;-1:-1:-1;27515:37:0;27532:5;4381:10;28263:164;:::i;27515:37::-;27468:168;;;;-1:-1:-1;;;27468:168:0;;9304:2:1;27468:168:0;;;9286:21:1;9343:2;9323:18;;;9316:30;9382:34;9362:18;;;9355:62;9453:26;9433:18;;;9426:54;9497:19;;27468:168:0;9102:420:1;27468:168:0;27649:21;27658:2;27662:7;27649:8;:21::i;:::-;27337:341;27267:411;;:::o;39460:101::-;39504:4;39528:25;:15;997:14;;905:114;39528:25;39521:32;;39460:101;:::o;28494:339::-;28689:41;4381:10;28722:7;28689:18;:41::i;:::-;28681:103;;;;-1:-1:-1;;;28681:103:0;;;;;;;:::i;:::-;28797:28;28807:4;28813:2;28817:7;28797:9;:28::i;28904:185::-;29042:39;29059:4;29065:2;29069:7;29042:39;;;;;;;;;;;;:16;:39::i;39682:105::-;5650:6;;-1:-1:-1;;;;;5650:6:0;4381:10;5797:23;5789:68;;;;-1:-1:-1;;;5789:68:0;;;;;;;:::i;:::-;39758:21;;::::1;::::0;:8:::1;::::0;:21:::1;::::0;::::1;::::0;::::1;:::i;:::-;;39682:105:::0;:::o;25879:239::-;25951:7;25987:16;;;:7;:16;;;;;;-1:-1:-1;;;;;25987:16:0;26022:19;26014:73;;;;-1:-1:-1;;;26014:73:0;;10494:2:1;26014:73:0;;;10476:21:1;10533:2;10513:18;;;10506:30;10572:34;10552:18;;;10545:62;-1:-1:-1;;;10623:18:1;;;10616:39;10672:19;;26014:73:0;10292:405:1;25609:208:0;25681:7;-1:-1:-1;;;;;25709:19:0;;25701:74;;;;-1:-1:-1;;;25701:74:0;;10083:2:1;25701:74:0;;;10065:21:1;10122:2;10102:18;;;10095:30;10161:34;10141:18;;;10134:62;-1:-1:-1;;;10212:18:1;;;10205:40;10262:19;;25701:74:0;9881:406:1;25701:74:0;-1:-1:-1;;;;;;25793:16:0;;;;;:9;:16;;;;;;;25609:208::o;6228:103::-;5650:6;;-1:-1:-1;;;;;5650:6:0;4381:10;5797:23;5789:68;;;;-1:-1:-1;;;5789:68:0;;;;;;;:::i;:::-;6293:30:::1;6320:1;6293:18;:30::i;:::-;6228:103::o:0;40134:117::-;5650:6;;-1:-1:-1;;;;;5650:6:0;4381:10;5797:23;5789:68;;;;-1:-1:-1;;;5789:68:0;;;;;;;:::i;:::-;40195:47:::1;::::0;40203:10:::1;::::0;40220:21:::1;40195:47:::0;::::1;;;::::0;::::1;::::0;;;40220:21;40203:10;40195:47;::::1;;;;;;40187:56;;;::::0;::::1;40035:87:::0;5650:6;;-1:-1:-1;;;;;5650:6:0;4381:10;5797:23;5789:68;;;;-1:-1:-1;;;5789:68:0;;;;;;;:::i;:::-;40098:5:::1;:16:::0;40035:87::o;39799:121::-;5650:6;;-1:-1:-1;;;;;5650:6:0;4381:10;5797:23;5789:68;;;;-1:-1:-1;;;5789:68:0;;;;;;;:::i;:::-;39883:29;;::::1;::::0;:12:::1;::::0;:29:::1;::::0;::::1;::::0;::::1;:::i;26354:104::-:0;26410:13;26443:7;26436:14;;;;;:::i;38558:710::-;38623:13;;;;38615:44;;;;-1:-1:-1;;;38615:44:0;;8957:2:1;38615:44:0;;;8939:21:1;8996:2;8976:18;;;8969:30;-1:-1:-1;;;9015:18:1;;;9008:48;9073:18;;38615:44:0;8755:342:1;38615:44:0;37977:4;38694:8;38678:13;:11;:13::i;:::-;:24;;;;:::i;:::-;:38;;38670:59;;;;-1:-1:-1;;;38670:59:0;;8621:2:1;38670:59:0;;;8603:21:1;8660:1;8640:18;;;8633:29;-1:-1:-1;;;8678:18:1;;;8671:38;8726:18;;38670:59:0;8419:331:1;38670:59:0;38760:21;;38748:8;:33;;38740:80;;;;-1:-1:-1;;;38740:80:0;;11622:2:1;38740:80:0;;;11604:21:1;11661:2;11641:18;;;11634:30;11700:34;11680:18;;;11673:62;-1:-1:-1;;;11751:18:1;;;11744:32;11793:19;;38740:80:0;11420:398:1;38740:80:0;38863:11;;38851:8;38835:13;:11;:13::i;:::-;:24;;;;:::i;:::-;:39;38831:337;;38945:20;;38919:10;38899:31;;;;:19;:31;;;;;;:42;;38933:8;;38899:42;:::i;:::-;:66;;38891:107;;;;-1:-1:-1;;;38891:107:0;;10904:2:1;38891:107:0;;;10886:21:1;10943:2;10923:18;;;10916:30;10982;10962:18;;;10955:58;11030:18;;38891:107:0;10702:352:1;38891:107:0;39033:10;39013:31;;;;:19;:31;;;;;:43;;39048:8;;39013:31;:43;;39048:8;;39013:43;:::i;:::-;;;;-1:-1:-1;38831:337:0;;-1:-1:-1;38831:337:0;;39118:8;39110:5;;:16;;;;:::i;:::-;39097:9;:29;;39089:67;;;;-1:-1:-1;;;39089:67:0;;9729:2:1;39089:67:0;;;9711:21:1;9768:2;9748:18;;;9741:30;9807:27;9787:18;;;9780:55;9852:18;;39089:67:0;9527:349:1;39089:67:0;39183:6;39178:83;39199:8;39195:1;:12;39178:83;;;39229:20;39238:10;39229:8;:20::i;:::-;39209:3;;;;:::i;:::-;;;;39178:83;;28037:155;28132:52;4381:10;28165:8;28175;28132:18;:52::i;29160:328::-;29335:41;4381:10;29368:7;29335:18;:41::i;:::-;29327:103;;;;-1:-1:-1;;;29327:103:0;;;;;;;:::i;:::-;29441:39;29455:4;29461:2;29465:7;29474:5;29441:13;:39::i;:::-;29160:328;;;;:::o;40259:821::-;31063:4;31087:16;;;:7;:16;;;;;;40332:13;;-1:-1:-1;;;;;31087:16:0;40361:76;;;;-1:-1:-1;;;40361:76:0;;13209:2:1;40361:76:0;;;13191:21:1;13248:2;13228:18;;;13221:30;13287:34;13267:18;;;13260:62;-1:-1:-1;;;13338:18:1;;;13331:45;13393:19;;40361:76:0;13007:411:1;40361:76:0;40450:23;40476:19;;;:10;:19;;;;;40450:45;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40506:18;40527:10;:8;:10::i;:::-;40506:31;;40627:4;40621:18;40643:1;40621:23;40617:72;;;-1:-1:-1;40668:9:0;40259:821;-1:-1:-1;;40259:821:0:o;40617:72::-;40793:23;;:27;40789:117;;40868:4;40874:9;40851:42;;;;;;;;;:::i;:::-;;;;;;;;;;;;;40837:57;;;;40259:821;;;:::o;40789:117::-;41038:4;41044:17;41053:7;41044:8;:17::i;:::-;41021:50;;;;;;;;;:::i;39932:91::-;5650:6;;-1:-1:-1;;;;;5650:6:0;4381:10;5797:23;5789:68;;;;-1:-1:-1;;;5789:68:0;;;;;;;:::i;:::-;40002:13:::1;::::0;;-1:-1:-1;;39985:30:0;::::1;40002:13;::::0;;::::1;40001:14;39985:30;::::0;;39932:91::o;39573:97::-;39617:13;39650:12;39643:19;;;;;:::i;6486:201::-;5650:6;;-1:-1:-1;;;;;5650:6:0;4381:10;5797:23;5789:68;;;;-1:-1:-1;;;5789:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;6575:22:0;::::1;6567:73;;;::::0;-1:-1:-1;;;6567:73:0;;6685:2:1;6567:73:0::1;::::0;::::1;6667:21:1::0;6724:2;6704:18;;;6697:30;6763:34;6743:18;;;6736:62;-1:-1:-1;;;6814:18:1;;;6807:36;6860:19;;6567:73:0::1;6483:402:1::0;6567:73:0::1;6651:28;6670:8;6651:18;:28::i;:::-;6486:201:::0;:::o;34980:174::-;35055:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;35055:29:0;-1:-1:-1;;;;;35055:29:0;;;;;;;;:24;;35109:23;35055:24;35109:14;:23::i;:::-;-1:-1:-1;;;;;35100:46:0;;;;;;;;;;;34980:174;;:::o;31292:348::-;31385:4;31087:16;;;:7;:16;;;;;;-1:-1:-1;;;;;31087:16:0;31402:73;;;;-1:-1:-1;;;31402:73:0;;8208:2:1;31402:73:0;;;8190:21:1;8247:2;8227:18;;;8220:30;8286:34;8266:18;;;8259:62;-1:-1:-1;;;8337:18:1;;;8330:42;8389:19;;31402:73:0;8006:408:1;31402:73:0;31486:13;31502:23;31517:7;31502:14;:23::i;:::-;31486:39;;31555:5;-1:-1:-1;;;;;31544:16:0;:7;-1:-1:-1;;;;;31544:16:0;;:51;;;;31588:7;-1:-1:-1;;;;;31564:31:0;:20;31576:7;31564:11;:20::i;:::-;-1:-1:-1;;;;;31564:31:0;;31544:51;:87;;;-1:-1:-1;;;;;;28384:25:0;;;28360:4;28384:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;31599:32;31536:96;31292:348;-1:-1:-1;;;;31292:348:0:o;34284:578::-;34443:4;-1:-1:-1;;;;;34416:31:0;:23;34431:7;34416:14;:23::i;:::-;-1:-1:-1;;;;;34416:31:0;;34408:85;;;;-1:-1:-1;;;34408:85:0;;12799:2:1;34408:85:0;;;12781:21:1;12838:2;12818:18;;;12811:30;12877:34;12857:18;;;12850:62;-1:-1:-1;;;12928:18:1;;;12921:39;12977:19;;34408:85:0;12597:405:1;34408:85:0;-1:-1:-1;;;;;34512:16:0;;34504:65;;;;-1:-1:-1;;;34504:65:0;;7449:2:1;34504:65:0;;;7431:21:1;7488:2;7468:18;;;7461:30;7527:34;7507:18;;;7500:62;-1:-1:-1;;;7578:18:1;;;7571:34;7622:19;;34504:65:0;7247:400:1;34504:65:0;34686:29;34703:1;34707:7;34686:8;:29::i;:::-;-1:-1:-1;;;;;34728:15:0;;;;;;:9;:15;;;;;:20;;34747:1;;34728:15;:20;;34747:1;;34728:20;:::i;:::-;;;;-1:-1:-1;;;;;;;34759:13:0;;;;;;:9;:13;;;;;:18;;34776:1;;34759:13;:18;;34776:1;;34759:18;:::i;:::-;;;;-1:-1:-1;;34788:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;34788:21:0;-1:-1:-1;;;;;34788:21:0;;;;;;;;;34827:27;;34788:16;;34827:27;;;;;;;34284:578;;;:::o;6847:191::-;6940:6;;;-1:-1:-1;;;;;6957:17:0;;;-1:-1:-1;;;;;;6957:17:0;;;;;;;6990:40;;6940:6;;;6957:17;6940:6;;6990:40;;6921:16;;6990:40;6910:128;6847:191;:::o;39276:172::-;39326:15;39344:25;:15;997:14;;905:114;39344:25;39326:43;;39380:27;:15;1116:19;;1134:1;1116:19;;;1027:127;39380:27;39418:22;39428:2;39432:7;39418:9;:22::i;35296:315::-;35451:8;-1:-1:-1;;;;;35442:17:0;:5;-1:-1:-1;;;;;35442:17:0;;;35434:55;;;;-1:-1:-1;;;35434:55:0;;7854:2:1;35434:55:0;;;7836:21:1;7893:2;7873:18;;;7866:30;7932:27;7912:18;;;7905:55;7977:18;;35434:55:0;7652:349:1;35434:55:0;-1:-1:-1;;;;;35500:25:0;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;35500:46:0;;;;;;;;;;35562:41;;5788::1;;;35562::0;;5761:18:1;35562:41:0;;;;;;;35296:315;;;:::o;30370:::-;30527:28;30537:4;30543:2;30547:7;30527:9;:28::i;:::-;30574:48;30597:4;30603:2;30607:7;30616:5;30574:22;:48::i;:::-;30566:111;;;;-1:-1:-1;;;30566:111:0;;;;;;;:::i;38449:101::-;38501:13;38534:8;38527:15;;;;;:::i;41088:573::-;41138:27;41182:7;41178:50;;-1:-1:-1;;41206:10:0;;;;;;;;;;;;-1:-1:-1;;;41206:10:0;;;;;41088:573::o;41178:50::-;41247:2;41238:6;41279:69;41286:6;;41279:69;;41309:5;;;;:::i;:::-;;-1:-1:-1;41329:7:0;;-1:-1:-1;41334:2:0;41329:7;;:::i;:::-;;;41279:69;;;41358:17;41388:3;41378:14;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;41378:14:0;-1:-1:-1;41358:34:0;-1:-1:-1;41412:3:0;41426:198;41433:7;;41426:198;;41461:3;41463:1;41461;:3;:::i;:::-;41457:7;-1:-1:-1;41479:10:0;41509:7;41514:2;41509;:7;:::i;:::-;:12;;41519:2;41509:12;:::i;:::-;41504:17;;:2;:17;:::i;:::-;41493:29;;:2;:29;:::i;:::-;41479:44;;41538:9;41557:4;41550:12;;41538:24;;41587:2;41577:4;41582:1;41577:7;;;;;;;;:::i;:::-;;;;:12;-1:-1:-1;;;;;41577:12:0;;;;;;;;-1:-1:-1;41604:8:0;41610:2;41604:8;;:::i;:::-;;;41442:182;;41426:198;;;-1:-1:-1;41648:4:0;41088:573;-1:-1:-1;;;;41088:573:0:o;31982:110::-;32058:26;32068:2;32072:7;32058:26;;;;;;;;;;;;:9;:26::i;36176:799::-;36331:4;-1:-1:-1;;;;;36352:13:0;;8188:20;8236:8;36348:620;;36388:72;;-1:-1:-1;;;36388:72:0;;-1:-1:-1;;;;;36388:36:0;;;;;:72;;4381:10;;36439:4;;36445:7;;36454:5;;36388:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;36388:72:0;;;;;;;;-1:-1:-1;;36388:72:0;;;;;;;;;;;;:::i;:::-;;;36384:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;36630:13:0;;36626:272;;36673:60;;-1:-1:-1;;;36673:60:0;;;;;;;:::i;36626:272::-;36848:6;36842:13;36833:6;36829:2;36825:15;36818:38;36384:529;-1:-1:-1;;;;;;36511:51:0;-1:-1:-1;;;36511:51:0;;-1:-1:-1;36504:58:0;;36348:620;-1:-1:-1;36952:4:0;36176:799;;;;;;:::o;32319:321::-;32449:18;32455:2;32459:7;32449:5;:18::i;:::-;32500:54;32531:1;32535:2;32539:7;32548:5;32500:22;:54::i;:::-;32478:154;;;;-1:-1:-1;;;32478:154:0;;;;;;;:::i;32976:382::-;-1:-1:-1;;;;;33056:16:0;;33048:61;;;;-1:-1:-1;;;33048:61:0;;11261:2:1;33048:61:0;;;11243:21:1;;;11280:18;;;11273:30;11339:34;11319:18;;;11312:62;11391:18;;33048:61:0;11059:356:1;33048:61:0;31063:4;31087:16;;;:7;:16;;;;;;-1:-1:-1;;;;;31087:16:0;:30;33120:58;;;;-1:-1:-1;;;33120:58:0;;7092:2:1;33120:58:0;;;7074:21:1;7131:2;7111:18;;;7104:30;7170;7150:18;;;7143:58;7218:18;;33120:58:0;6890:352:1;33120:58:0;-1:-1:-1;;;;;33249:13:0;;;;;;:9;:13;;;;;:18;;33266:1;;33249:13;:18;;33266:1;;33249:18;:::i;:::-;;;;-1:-1:-1;;33278:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;33278:21:0;-1:-1:-1;;;;;33278:21:0;;;;;;;;33317:33;;33278:16;;;33317:33;;33278:16;;33317:33;32976:382;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:631:1;78:5;108:18;149:2;141:6;138:14;135:40;;;155:18;;:::i;:::-;230:2;224:9;198:2;284:15;;-1:-1:-1;;280:24:1;;;306:2;276:33;272:42;260:55;;;330:18;;;350:22;;;327:46;324:72;;;376:18;;:::i;:::-;416:10;412:2;405:22;445:6;436:15;;475:6;467;460:22;515:3;506:6;501:3;497:16;494:25;491:45;;;532:1;529;522:12;491:45;582:6;577:3;570:4;562:6;558:17;545:44;637:1;630:4;621:6;613;609:19;605:30;598:41;;;;14:631;;;;;:::o;650:173::-;718:20;;-1:-1:-1;;;;;767:31:1;;757:42;;747:70;;813:1;810;803:12;747:70;650:173;;;:::o;828:186::-;887:6;940:2;928:9;919:7;915:23;911:32;908:52;;;956:1;953;946:12;908:52;979:29;998:9;979:29;:::i;:::-;969:39;828:186;-1:-1:-1;;;828:186:1:o;1019:260::-;1087:6;1095;1148:2;1136:9;1127:7;1123:23;1119:32;1116:52;;;1164:1;1161;1154:12;1116:52;1187:29;1206:9;1187:29;:::i;:::-;1177:39;;1235:38;1269:2;1258:9;1254:18;1235:38;:::i;:::-;1225:48;;1019:260;;;;;:::o;1284:328::-;1361:6;1369;1377;1430:2;1418:9;1409:7;1405:23;1401:32;1398:52;;;1446:1;1443;1436:12;1398:52;1469:29;1488:9;1469:29;:::i;:::-;1459:39;;1517:38;1551:2;1540:9;1536:18;1517:38;:::i;:::-;1507:48;;1602:2;1591:9;1587:18;1574:32;1564:42;;1284:328;;;;;:::o;1617:666::-;1712:6;1720;1728;1736;1789:3;1777:9;1768:7;1764:23;1760:33;1757:53;;;1806:1;1803;1796:12;1757:53;1829:29;1848:9;1829:29;:::i;:::-;1819:39;;1877:38;1911:2;1900:9;1896:18;1877:38;:::i;:::-;1867:48;;1962:2;1951:9;1947:18;1934:32;1924:42;;2017:2;2006:9;2002:18;1989:32;2044:18;2036:6;2033:30;2030:50;;;2076:1;2073;2066:12;2030:50;2099:22;;2152:4;2144:13;;2140:27;-1:-1:-1;2130:55:1;;2181:1;2178;2171:12;2130:55;2204:73;2269:7;2264:2;2251:16;2246:2;2242;2238:11;2204:73;:::i;:::-;2194:83;;;1617:666;;;;;;;:::o;2288:347::-;2353:6;2361;2414:2;2402:9;2393:7;2389:23;2385:32;2382:52;;;2430:1;2427;2420:12;2382:52;2453:29;2472:9;2453:29;:::i;:::-;2443:39;;2532:2;2521:9;2517:18;2504:32;2579:5;2572:13;2565:21;2558:5;2555:32;2545:60;;2601:1;2598;2591:12;2545:60;2624:5;2614:15;;;2288:347;;;;;:::o;2640:254::-;2708:6;2716;2769:2;2757:9;2748:7;2744:23;2740:32;2737:52;;;2785:1;2782;2775:12;2737:52;2808:29;2827:9;2808:29;:::i;:::-;2798:39;2884:2;2869:18;;;;2856:32;;-1:-1:-1;;;2640:254:1:o;2899:245::-;2957:6;3010:2;2998:9;2989:7;2985:23;2981:32;2978:52;;;3026:1;3023;3016:12;2978:52;3065:9;3052:23;3084:30;3108:5;3084:30;:::i;3149:249::-;3218:6;3271:2;3259:9;3250:7;3246:23;3242:32;3239:52;;;3287:1;3284;3277:12;3239:52;3319:9;3313:16;3338:30;3362:5;3338:30;:::i;3403:450::-;3472:6;3525:2;3513:9;3504:7;3500:23;3496:32;3493:52;;;3541:1;3538;3531:12;3493:52;3581:9;3568:23;3614:18;3606:6;3603:30;3600:50;;;3646:1;3643;3636:12;3600:50;3669:22;;3722:4;3714:13;;3710:27;-1:-1:-1;3700:55:1;;3751:1;3748;3741:12;3700:55;3774:73;3839:7;3834:2;3821:16;3816:2;3812;3808:11;3774:73;:::i;3858:180::-;3917:6;3970:2;3958:9;3949:7;3945:23;3941:32;3938:52;;;3986:1;3983;3976:12;3938:52;-1:-1:-1;4009:23:1;;3858:180;-1:-1:-1;3858:180:1:o;4043:257::-;4084:3;4122:5;4116:12;4149:6;4144:3;4137:19;4165:63;4221:6;4214:4;4209:3;4205:14;4198:4;4191:5;4187:16;4165:63;:::i;:::-;4282:2;4261:15;-1:-1:-1;;4257:29:1;4248:39;;;;4289:4;4244:50;;4043:257;-1:-1:-1;;4043:257:1:o;4305:637::-;4585:3;4623:6;4617:13;4639:53;4685:6;4680:3;4673:4;4665:6;4661:17;4639:53;:::i;:::-;4755:13;;4714:16;;;;4777:57;4755:13;4714:16;4811:4;4799:17;;4777:57;:::i;:::-;-1:-1:-1;;;4856:20:1;;4885:22;;;4934:1;4923:13;;4305:637;-1:-1:-1;;;;4305:637:1:o;5155:488::-;-1:-1:-1;;;;;5424:15:1;;;5406:34;;5476:15;;5471:2;5456:18;;5449:43;5523:2;5508:18;;5501:34;;;5571:3;5566:2;5551:18;;5544:31;;;5349:4;;5592:45;;5617:19;;5609:6;5592:45;:::i;:::-;5584:53;5155:488;-1:-1:-1;;;;;;5155:488:1:o;5840:219::-;5989:2;5978:9;5971:21;5952:4;6009:44;6049:2;6038:9;6034:18;6026:6;6009:44;:::i;6064:414::-;6266:2;6248:21;;;6305:2;6285:18;;;6278:30;6344:34;6339:2;6324:18;;6317:62;-1:-1:-1;;;6410:2:1;6395:18;;6388:48;6468:3;6453:19;;6064:414::o;12236:356::-;12438:2;12420:21;;;12457:18;;;12450:30;12516:34;12511:2;12496:18;;12489:62;12583:2;12568:18;;12236:356::o;13825:413::-;14027:2;14009:21;;;14066:2;14046:18;;;14039:30;14105:34;14100:2;14085:18;;14078:62;-1:-1:-1;;;14171:2:1;14156:18;;14149:47;14228:3;14213:19;;13825:413::o;14425:128::-;14465:3;14496:1;14492:6;14489:1;14486:13;14483:39;;;14502:18;;:::i;:::-;-1:-1:-1;14538:9:1;;14425:128::o;14558:204::-;14596:3;14632:4;14629:1;14625:12;14664:4;14661:1;14657:12;14699:3;14693:4;14689:14;14684:3;14681:23;14678:49;;;14707:18;;:::i;:::-;14743:13;;14558:204;-1:-1:-1;;;14558:204:1:o;14767:217::-;14807:1;14833;14823:132;;14877:10;14872:3;14868:20;14865:1;14858:31;14912:4;14909:1;14902:15;14940:4;14937:1;14930:15;14823:132;-1:-1:-1;14969:9:1;;14767:217::o;14989:168::-;15029:7;15095:1;15091;15087:6;15083:14;15080:1;15077:21;15072:1;15065:9;15058:17;15054:45;15051:71;;;15102:18;;:::i;:::-;-1:-1:-1;15142:9:1;;14989:168::o;15162:125::-;15202:4;15230:1;15227;15224:8;15221:34;;;15235:18;;:::i;:::-;-1:-1:-1;15272:9:1;;15162:125::o;15292:258::-;15364:1;15374:113;15388:6;15385:1;15382:13;15374:113;;;15464:11;;;15458:18;15445:11;;;15438:39;15410:2;15403:10;15374:113;;;15505:6;15502:1;15499:13;15496:48;;;-1:-1:-1;;15540:1:1;15522:16;;15515:27;15292:258::o;15555:380::-;15634:1;15630:12;;;;15677;;;15698:61;;15752:4;15744:6;15740:17;15730:27;;15698:61;15805:2;15797:6;15794:14;15774:18;15771:38;15768:161;;;15851:10;15846:3;15842:20;15839:1;15832:31;15886:4;15883:1;15876:15;15914:4;15911:1;15904:15;15768:161;;15555:380;;;:::o;15940:135::-;15979:3;-1:-1:-1;;16000:17:1;;15997:43;;;16020:18;;:::i;:::-;-1:-1:-1;16067:1:1;16056:13;;15940:135::o;16080:127::-;16141:10;16136:3;16132:20;16129:1;16122:31;16172:4;16169:1;16162:15;16196:4;16193:1;16186:15;16212:127;16273:10;16268:3;16264:20;16261:1;16254:31;16304:4;16301:1;16294:15;16328:4;16325:1;16318:15;16344:127;16405:10;16400:3;16396:20;16393:1;16386:31;16436:4;16433:1;16426:15;16460:4;16457:1;16450:15;16476:131;-1:-1:-1;;;;;;16550:32:1;;16540:43;;16530:71;;16597:1;16594;16587:12

Swarm Source

ipfs://93aec5209c31533a0fb4935bbc0d98a06293fcacaab68ca3a167215a41261892

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.