ETH Price: $3,269.14 (-2.58%)
Gas: 6.66 Gwei

Contract

0xD20dB010E883DCC109eF58aDB2b8253fE6B44790
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Set Approval For...199455692024-05-25 8:02:23211 days ago1716624143IN
0xD20dB010...fE6B44790
0 ETH0.000107864.42416167
Set Approval For...157428292022-10-14 0:40:23800 days ago1665708023IN
0xD20dB010...fE6B44790
0 ETH0.0003778315.49716183
Set Approval For...152047262022-07-24 10:16:35882 days ago1658657795IN
0xD20dB010...fE6B44790
0 ETH0.000152516.25561035
Set Approval For...151436932022-07-14 23:09:19891 days ago1657840159IN
0xD20dB010...fE6B44790
0 ETH0.0005675823.27998953
Set Approval For...144869632022-03-30 10:04:56998 days ago1648634696IN
0xD20dB010...fE6B44790
0 ETH0.0015084932.59435362
Set Approval For...143906302022-03-15 10:29:411013 days ago1647340181IN
0xD20dB010...fE6B44790
0 ETH0.0007987117.25349423
Set Approval For...142432732022-02-20 13:51:441036 days ago1645365104IN
0xD20dB010...fE6B44790
0 ETH0.001287352.7996569
Set Approval For...142207542022-02-17 1:48:061039 days ago1645062486IN
0xD20dB010...fE6B44790
0 ETH0.0024757853.48077663
Set Approval For...142171362022-02-16 12:30:241040 days ago1645014624IN
0xD20dB010...fE6B44790
0 ETH0.0019650342.44788253
Set Approval For...142143762022-02-16 2:01:181040 days ago1644976878IN
0xD20dB010...fE6B44790
0 ETH0.0027087858.51392375
Set Approval For...142135632022-02-15 22:59:001040 days ago1644965940IN
0xD20dB010...fE6B44790
0 ETH0.00491399106.14993009
Set Approval For...141650862022-02-08 11:08:491048 days ago1644318529IN
0xD20dB010...fE6B44790
0 ETH0.0024263952.41393662
Transfer From141650492022-02-08 11:00:561048 days ago1644318056IN
0xD20dB010...fE6B44790
0 ETH0.0039474144.53307197
Transfer From141650462022-02-08 11:00:201048 days ago1644318020IN
0xD20dB010...fE6B44790
0 ETH0.0034834845.63117361
Transfer From141650442022-02-08 11:00:041048 days ago1644318004IN
0xD20dB010...fE6B44790
0 ETH0.0032637744.38100188
Transfer From141650402022-02-08 10:59:431048 days ago1644317983IN
0xD20dB010...fE6B44790
0 ETH0.0034812945.60247304
Transfer From141650312022-02-08 10:58:301048 days ago1644317910IN
0xD20dB010...fE6B44790
0 ETH0.004005145.18394746
Set Approval For...140155362022-01-16 8:46:061071 days ago1642322766IN
0xD20dB010...fE6B44790
0 ETH0.0040211186.86225758
Set Approval For...140059322022-01-14 21:02:061072 days ago1642194126IN
0xD20dB010...fE6B44790
0 ETH0.01062444229.50445702
Set Approval For...139843322022-01-11 12:53:101076 days ago1641905590IN
0xD20dB010...fE6B44790
0 ETH0.00503356108.73278012
Set Approval For...139799792022-01-10 20:45:401077 days ago1641847540IN
0xD20dB010...fE6B44790
0 ETH0.00999027215.80534819
Set Approval For...139778042022-01-10 12:34:371077 days ago1641818077IN
0xD20dB010...fE6B44790
0 ETH0.01246233269.20565515
Set Approval For...139777452022-01-10 12:21:381077 days ago1641817298IN
0xD20dB010...fE6B44790
0 ETH0.00729297157.5394745
Set Approval For...139772262022-01-10 10:26:451077 days ago1641810405IN
0xD20dB010...fE6B44790
0 ETH0.01193259257.76237468
Set Approval For...139458392022-01-05 13:57:501082 days ago1641391070IN
0xD20dB010...fE6B44790
0 ETH0.00592223127.92935039
View all transactions

Latest 23 internal transactions

Advanced mode:
Parent Transaction Hash Block
From
To
137257992021-12-02 6:29:451116 days ago1638426585
0xD20dB010...fE6B44790
0.05 ETH
137251502021-12-02 4:00:371116 days ago1638417637
0xD20dB010...fE6B44790
0.05 ETH
137249662021-12-02 3:16:261116 days ago1638414986
0xD20dB010...fE6B44790
0.05 ETH
137248202021-12-02 2:43:591116 days ago1638413039
0xD20dB010...fE6B44790
0.05 ETH
137247362021-12-02 2:25:401116 days ago1638411940
0xD20dB010...fE6B44790
0.25 ETH
137245982021-12-02 1:50:541116 days ago1638409854
0xD20dB010...fE6B44790
0.1 ETH
137239872021-12-01 23:38:111116 days ago1638401891
0xD20dB010...fE6B44790
0.05 ETH
137239772021-12-01 23:34:401116 days ago1638401680
0xD20dB010...fE6B44790
0.05 ETH
137239622021-12-01 23:31:391116 days ago1638401499
0xD20dB010...fE6B44790
0.05 ETH
137239582021-12-01 23:31:081116 days ago1638401468
0xD20dB010...fE6B44790
0.05 ETH
137238992021-12-01 23:16:241116 days ago1638400584
0xD20dB010...fE6B44790
0.25 ETH
137238722021-12-01 23:10:361116 days ago1638400236
0xD20dB010...fE6B44790
0.05 ETH
137238702021-12-01 23:10:031116 days ago1638400203
0xD20dB010...fE6B44790
0.05 ETH
137238682021-12-01 23:09:241116 days ago1638400164
0xD20dB010...fE6B44790
0.05 ETH
137238672021-12-01 23:08:591116 days ago1638400139
0xD20dB010...fE6B44790
0.15 ETH
137238642021-12-01 23:08:341116 days ago1638400114
0xD20dB010...fE6B44790
0.2 ETH
137238622021-12-01 23:08:261116 days ago1638400106
0xD20dB010...fE6B44790
0.05 ETH
137238622021-12-01 23:08:261116 days ago1638400106
0xD20dB010...fE6B44790
0.1 ETH
137238562021-12-01 23:06:231116 days ago1638399983
0xD20dB010...fE6B44790
0.25 ETH
137238552021-12-01 23:06:161116 days ago1638399976
0xD20dB010...fE6B44790
0.05 ETH
137238542021-12-01 23:06:031116 days ago1638399963
0xD20dB010...fE6B44790
0.25 ETH
137238512021-12-01 23:05:281116 days ago1638399928
0xD20dB010...fE6B44790
0.05 ETH
137238502021-12-01 23:05:181116 days ago1638399918
0xD20dB010...fE6B44790
0.25 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
RobullERC721

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-01
*/

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


// OpenZeppelin Contracts v4.4.0 (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.0 (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.0 (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.0 (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.0 (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

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


// OpenZeppelin Contracts v4.4.0 (token/ERC721/extensions/IERC721Enumerable.sol)

pragma solidity ^0.8.0;


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

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

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

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


// OpenZeppelin Contracts v4.4.0 (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.0 (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: @openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol


// OpenZeppelin Contracts v4.4.0 (token/ERC721/extensions/ERC721Enumerable.sol)

pragma solidity ^0.8.0;



/**
 * @dev This implements an optional extension of {ERC721} defined in the EIP that adds
 * enumerability of all the token ids in the contract as well as all token ids owned by each
 * account.
 */
abstract contract ERC721Enumerable is ERC721, IERC721Enumerable {
    // Mapping from owner to list of owned token IDs
    mapping(address => mapping(uint256 => uint256)) private _ownedTokens;

    // Mapping from token ID to index of the owner tokens list
    mapping(uint256 => uint256) private _ownedTokensIndex;

    // Array with all token ids, used for enumeration
    uint256[] private _allTokens;

    // Mapping from token id to position in the allTokens array
    mapping(uint256 => uint256) private _allTokensIndex;

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

    /**
     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds");
        return _ownedTokens[owner][index];
    }

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

    /**
     * @dev See {IERC721Enumerable-tokenByIndex}.
     */
    function tokenByIndex(uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds");
        return _allTokens[index];
    }

    /**
     * @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` cannot be the zero address.
     * - `to` cannot be the zero address.
     *
     * 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 override {
        super._beforeTokenTransfer(from, to, tokenId);

        if (from == address(0)) {
            _addTokenToAllTokensEnumeration(tokenId);
        } else if (from != to) {
            _removeTokenFromOwnerEnumeration(from, tokenId);
        }
        if (to == address(0)) {
            _removeTokenFromAllTokensEnumeration(tokenId);
        } else if (to != from) {
            _addTokenToOwnerEnumeration(to, tokenId);
        }
    }

    /**
     * @dev Private function to add a token to this extension's ownership-tracking data structures.
     * @param to address representing the new owner of the given token ID
     * @param tokenId uint256 ID of the token to be added to the tokens list of the given address
     */
    function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private {
        uint256 length = ERC721.balanceOf(to);
        _ownedTokens[to][length] = tokenId;
        _ownedTokensIndex[tokenId] = length;
    }

    /**
     * @dev Private function to add a token to this extension's token tracking data structures.
     * @param tokenId uint256 ID of the token to be added to the tokens list
     */
    function _addTokenToAllTokensEnumeration(uint256 tokenId) private {
        _allTokensIndex[tokenId] = _allTokens.length;
        _allTokens.push(tokenId);
    }

    /**
     * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that
     * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for
     * gas optimizations e.g. when performing a transfer operation (avoiding double writes).
     * This has O(1) time complexity, but alters the order of the _ownedTokens array.
     * @param from address representing the previous owner of the given token ID
     * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address
     */
    function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private {
        // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = ERC721.balanceOf(from) - 1;
        uint256 tokenIndex = _ownedTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary
        if (tokenIndex != lastTokenIndex) {
            uint256 lastTokenId = _ownedTokens[from][lastTokenIndex];

            _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
            _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index
        }

        // This also deletes the contents at the last position of the array
        delete _ownedTokensIndex[tokenId];
        delete _ownedTokens[from][lastTokenIndex];
    }

    /**
     * @dev Private function to remove a token from this extension's token tracking data structures.
     * This has O(1) time complexity, but alters the order of the _allTokens array.
     * @param tokenId uint256 ID of the token to be removed from the tokens list
     */
    function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private {
        // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = _allTokens.length - 1;
        uint256 tokenIndex = _allTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so
        // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding
        // an 'if' statement (like in _removeTokenFromOwnerEnumeration)
        uint256 lastTokenId = _allTokens[lastTokenIndex];

        _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
        _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index

        // This also deletes the contents at the last position of the array
        delete _allTokensIndex[tokenId];
        _allTokens.pop();
    }
}

// File: RobotGame/ERC721.sol



pragma solidity ^0.8.0;



interface IWheat {
    function balanceOf(address owner) external view returns (uint256);

    function burn(address account, uint256 amount) external;
}

interface IStaking {
    function randomRobotOwner() external returns (address);

    function addTokensToStake(address account, uint16[] calldata tokenIds)
        external;
}

contract RobullERC721 is ERC721Enumerable, Ownable {
    using Strings for uint256;

    uint256 public MAX_TOKENS = 50000;
    uint256 public constant MINT_PER_TX_LIMIT = 5;

    uint256 public tokensMinted = 0;
    uint16 public phase = 0;
    uint16 public robotStolen = 0;
    uint16 public bullStolen = 0;

    bool private _paused = true;

    bool public revealed = false;

    mapping(uint16 => uint256) public phasePrice;
    mapping(address => bool) public whitelist;

    IStaking public staking;
    IWheat public wheat;

    string private _tokenURI =
        "ipfs://QmTu6neDeCWL1MMwh8df3aPC6bfNtK8ir8w7wJyt63yp6h/";
    mapping(uint16 => bool) private _isRobot;
    mapping(uint16 => bool) private _isLegendary;

    uint16[] private _availableTokens;
    uint16 private _randomIndex = 0;
    uint256 private _randomCalls = 0;

    mapping(uint16 => address) private _randomSource;

    event TokenStolen(address owner, uint16 tokenId, address thief);

    constructor() ERC721("Robot Game", "Robull") {
        _safeMint(msg.sender, 0);
        tokensMinted += 1;

        phase = 0;

        // Set default price for each phase
        phasePrice[0] = 0;
        phasePrice[1] = 0.05 ether;
        phasePrice[2] = 20000 ether;
        phasePrice[3] = 40000 ether;
        phasePrice[4] = 80000 ether;

        // Fill random source addresses
        _randomSource[0] = 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2;
        _randomSource[1] = 0x3cD751E6b0078Be393132286c442345e5DC49699;
        _randomSource[2] = 0xb5d85CBf7cB3EE0D56b3bB207D5Fc4B82f43F511;
        _randomSource[3] = 0xC098B2a3Aa256D2140208C3de6543aAEf5cd3A94;
        _randomSource[4] = 0x28C6c06298d514Db089934071355E5743bf21d60;
        _randomSource[5] = 0x2FAF487A4414Fe77e2327F0bf4AE2a264a776AD2;
        _randomSource[6] = 0x267be1C1D684F78cb4F6a176C4911b741E4Ffdc0;
    }

    function paused() public view virtual returns (bool) {
        return _paused;
    }

    modifier whenNotPaused() {
        require(!paused(), "Pausable: paused");
        _;
    }
    modifier whenPaused() {
        require(paused(), "Pausable: not paused");
        _;
    }

    function setPaused(bool _state) external onlyOwner {
        _paused = _state;
    }

    function addAvailableTokens(uint16 _from, uint16 _to) public onlyOwner {
        internalAddTokens(_from, _to);
    }

    function internalAddTokens(uint16 _from, uint16 _to) internal {
        for (uint16 i = _from; i <= _to; i++) {
            _availableTokens.push(i);
        }
    }

    function internalSwitchToSalePhase(uint16 _phase) internal {
        phase = _phase;

        // if (!_setTokens) {
        //     return;
        // }

        // if (phase == 0) {
        //     internalAddTokens(1, 299);
        // } else if (phase == 1) {
        //     internalAddTokens(300, 10000);
        // } else if (phase == 2) {
        //     internalAddTokens(10001, 20000);
        // } else if (phase == 3) {
        //     internalAddTokens(20001, 30000);
        // } else if (phase == 4) {
        //     internalAddTokens(30001, 49999);
        // }
    }

    function airdrop(uint256 _amount, address _address) public onlyOwner {
        require(tokensMinted + _amount <= MAX_TOKENS, "All tokens minted");
        require(
            _availableTokens.length - _amount >= 0,
            "All tokens for this Phase are already sold"
        );

        for (uint256 i = 0; i < _amount; i++) {
            uint16 tokenId = getTokenToBeMinted();
            realSafeMint(_address, tokenId);
        }
    }

    function devMint(uint256 _amount) external onlyOwner {
        require(tx.origin == msg.sender, "Only EOA");
        require(tokensMinted + _amount <= MAX_TOKENS, "All tokens minted");
        require(_amount > 0, "Invalid mint amount");

        for (uint256 i = 0; i < _amount; i++) {
            realSafeMint(msg.sender, getTokenToBeMinted());
        }
    }

    function mint(uint256 _amount) public payable whenNotPaused {
        require(tx.origin == msg.sender, "Only EOA");
        require(tokensMinted + _amount <= MAX_TOKENS, "All tokens minted");
        require(
            _amount > 0 && _amount <= MINT_PER_TX_LIMIT,
            "Invalid mint amount"
        );

        uint256 totalWheatCost = 0;
        if (phase == 1 || phase == 0) {
            // Paid mint

            uint256 payAmount = _amount;

            // Whitelisted people get 1 free mint during phase 1
            if (phase == 1 && whitelist[msg.sender]) {
                whitelist[msg.sender] = false;
                payAmount--;
            }

            require(
                mintPrice(payAmount) == msg.value,
                "Invalid payment amount"
            );
            payable(owner()).transfer(msg.value);
        } else {
            // Mint via Wheat token burn
            require(msg.value == 0, "Invalid payable amount (must be 0)");
            totalWheatCost = mintPrice(_amount);
            require(
                wheat.balanceOf(msg.sender) >= totalWheatCost,
                "Not enough Wheat"
            );
        }

        if (totalWheatCost > 0) {
            wheat.burn(msg.sender, totalWheatCost);
        }

        for (uint256 i = 0; i < _amount; i++) {
            address recipient = selectRecipient();
            if (phase != 1 && phase != 0) {
                updateRandomIndex();
            }

            uint16 tokenId = getTokenToBeMinted();

            // if (isRobot(tokenId)) {
            //     robotMinted += 1;
            // }

            if (recipient != msg.sender) {
                isRobot(tokenId) ? robotStolen += 1 : bullStolen += 1;
                emit TokenStolen(msg.sender, tokenId, recipient);
            }

            realSafeMint(recipient, tokenId);
        }
    }

    function realSafeMint(address _address, uint16 tokenId) internal {
        _safeMint(_address, tokenId);
        tokensMinted += 1;

        if (tokensMinted == 300) internalSwitchToSalePhase(1);
        else if (tokensMinted == 10000) internalSwitchToSalePhase(2);
        else if (tokensMinted == 20000) internalSwitchToSalePhase(3);
        else if (tokensMinted == 30000) internalSwitchToSalePhase(4);
    }

    function setWhitelisted(address[] calldata _addresses) external onlyOwner {
        for (uint256 i = 0; i < _addresses.length; i++) {
            whitelist[_addresses[i]] = true;
        }
    }

    function selectRecipient() internal returns (address) {
        if (phase < 2) {
            return msg.sender; // During ETH sale there is no chance to steal NFT
        }

        // 10% chance to steal NFT
        if (getSomeRandomNumber(tokensMinted, 100) >= 10) {
            return msg.sender; // 90%
        }

        address thief = staking.randomRobotOwner();
        if (thief == address(0x0)) {
            return msg.sender;
        }
        return thief;
    }

    function mintPrice(uint256 _amount) public view returns (uint256) {
        return _amount * phasePrice[phase];
    }

    function isRobot(uint16 id) public view returns (bool) {
        return _isRobot[id];
    }

    function isLegendary(uint16 id) public view returns (bool) {
        return _isLegendary[id];
    }

    function getTokenToBeMinted() private view returns (uint16) {
        return uint16(tokensMinted);
    }

    function updateRandomIndex() internal {
        _randomIndex += 1;
        _randomCalls += 1;
        if (_randomIndex > 6) _randomIndex = 0;
    }

    function getSomeRandomNumber(uint256 _seed, uint256 _limit)
        internal
        view
        returns (uint16)
    {
        uint256 extra = 0;
        for (uint16 i = 0; i < 7; i++) {
            extra += _randomSource[_randomIndex].balance;
        }

        uint256 random = uint256(
            keccak256(
                abi.encodePacked(
                    _seed,
                    blockhash(block.number - 1),
                    block.coinbase,
                    block.difficulty,
                    msg.sender,
                    tokensMinted,
                    extra,
                    _randomCalls,
                    _randomIndex
                )
            )
        );

        return uint16(random % _limit);
    }

    function setRobotId(uint16 id, bool _robot) external onlyOwner {
        _isRobot[id] = _robot;
    }

    function setRobotIds(uint16[] calldata ids) external onlyOwner {
        for (uint256 i = 0; i < ids.length; i++) {
            _isRobot[ids[i]] = true;
        }
    }

    function setLegendaryId(uint16 id, bool _legendary) external onlyOwner {
        _isLegendary[id] = _legendary;
    }

    function setLegendaryIds(uint16[] calldata ids) external onlyOwner {
        for (uint256 i = 0; i < ids.length; i++) {
            _isLegendary[ids[i]] = true;
        }
    }

    function setStaking(address _staking) external onlyOwner {
        staking = IStaking(_staking);
    }

    function setWheat(address _wheat) external onlyOwner {
        wheat = IWheat(_wheat);
    }

    function changePhasePrice(uint16 _phase, uint256 _weiPrice)
        external
        onlyOwner
    {
        phasePrice[_phase] = _weiPrice;
    }

    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        // Hardcode the Manager's approval so that users don't have to waste gas approving
        if (_msgSender() != address(staking))
            require(
                _isApprovedOrOwner(_msgSender(), tokenId),
                "ERC721: transfer caller is not owner nor approved"
            );
        _transfer(from, to, tokenId);
    }

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

    function setBaseURI(string memory uri) external onlyOwner {
        _tokenURI = uri;
    }

    function reveal() external onlyOwner {
        revealed = true;
    }

    function tokenURI(uint256 tokenId)
        public
        view
        override
        returns (string memory)
    {
        string memory currentBaseURI = _baseURI();

        if (!revealed) {
            return
                bytes(currentBaseURI).length > 0
                    ? string(abi.encodePacked(currentBaseURI, "0.json"))
                    : "";
        }

        return
            bytes(currentBaseURI).length > 0
                ? string(
                    abi.encodePacked(
                        currentBaseURI,
                        tokenId.toString(),
                        ".json"
                    )
                )
                : "";
    }
}

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":false,"internalType":"address","name":"owner","type":"address"},{"indexed":false,"internalType":"uint16","name":"tokenId","type":"uint16"},{"indexed":false,"internalType":"address","name":"thief","type":"address"}],"name":"TokenStolen","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_TOKENS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINT_PER_TX_LIMIT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"_from","type":"uint16"},{"internalType":"uint16","name":"_to","type":"uint16"}],"name":"addAvailableTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"address","name":"_address","type":"address"}],"name":"airdrop","outputs":[],"stateMutability":"nonpayable","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":"bullStolen","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"_phase","type":"uint16"},{"internalType":"uint256","name":"_weiPrice","type":"uint256"}],"name":"changePhasePrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"devMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"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":[{"internalType":"uint16","name":"id","type":"uint16"}],"name":"isLegendary","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"id","type":"uint16"}],"name":"isRobot","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"phase","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"","type":"uint16"}],"name":"phasePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"robotStolen","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","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":"uri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"id","type":"uint16"},{"internalType":"bool","name":"_legendary","type":"bool"}],"name":"setLegendaryId","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16[]","name":"ids","type":"uint16[]"}],"name":"setLegendaryIds","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"id","type":"uint16"},{"internalType":"bool","name":"_robot","type":"bool"}],"name":"setRobotId","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16[]","name":"ids","type":"uint16[]"}],"name":"setRobotIds","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_staking","type":"address"}],"name":"setStaking","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_wheat","type":"address"}],"name":"setWheat","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_addresses","type":"address[]"}],"name":"setWhitelisted","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"staking","outputs":[{"internalType":"contract IStaking","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"wheat","outputs":[{"internalType":"contract IWheat","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whitelist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"}]

61c350600b556000600c55600d80546001600160401b031916660100000000000017905560e0604052603660808181529062003efc60a03980516200004d9160129160209091019062000a99565b506016805461ffff1916905560006017553480156200006b57600080fd5b50604080518082018252600a815269526f626f742047616d6560b01b602080830191825283518085019094526006845265149bd89d5b1b60d21b908401528151919291620000bc9160009162000a99565b508051620000d290600190602084019062000a99565b505050620000ef620000e9620003bf60201b60201c565b620003c3565b620000fc33600062000415565b6001600c600082825462000111919062000bed565b9091555050600d805461ffff1916905560007fe710864318d4a32f37d6ce54cb3fadbef648dd12d8dbdf53973564d56b7f881c81905566b1a2bc2ec500007fa7c5ba7114a813b50159add3a36832908dc83db71d0b9a24c2ad0f83be9582075569043c33c19375648000007f9adb202b1492743bc00c81d33cdc6423fa8c79109027eb6a845391e8fc1f048155690878678326eac90000007fe0283e559c29e31ee7f56467acc9dd307779c843a883aeeb3bf5c6128c908144556910f0cf064dd5920000007fa1d6913cd9e08c872be3e7525cca82e4fc0fc298a783f19022be725b19be685a5560186020527f999d26de3473317ead3eeaf34ca78057f1439db67b6953469c3c96ce9caf6bd780546001600160a01b031990811673c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2179091557ff3794665d3af9b6fb6f858b70185898134f96768ef31c325d52e04f0ac195a4d80548216733cd751e6b0078be393132286c442345e5dc496991790557f2bacf7cca723d030d12aee795132f2c5f2d14ad131f16f3f27eeba3e79d18b8c8054821673b5d85cbf7cb3ee0d56b3bb207d5fc4b82f43f5111790557f7a6340a7048c03c55288da75abed74d2ce9194201bafb03be53c0a7cca5914958054821673c098b2a3aa256d2140208c3de6543aaef5cd3a941790557f5b650d93b25a5c652bc6f9215f522b521daf6d36977dcec1343c2a8310b869d6805482167328c6c06298d514db089934071355e5743bf21d601790557f2288853b49db4f36075bf4a8cfdae4e5e3b39b7b03937d0a9148b051a6f64c5c80548216732faf487a4414fe77e2327f0bf4ae2a264a776ad217905560069091527f33d69b83f8d9644c8360a50d7275bf12a50019a4cd4e17926d0b315da648c58d805490911673267be1c1d684f78cb4f6a176c4911b741e4ffdc017905562000ca1565b3390565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b620004378282604051806020016040528060008152506200043b60201b60201c565b5050565b620004478383620004b7565b6200045660008484846200060d565b620004b25760405162461bcd60e51b8152602060048201526032602482015260008051602062003edc83398151915260448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b60648201526084015b60405180910390fd5b505050565b6001600160a01b0382166200050f5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401620004a9565b6000818152600260205260409020546001600160a01b031615620005765760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401620004a9565b620005846000838362000776565b6001600160a01b0382166000908152600360205260408120805460019290620005af90849062000bed565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60006200062e846001600160a01b03166200085260201b62001b551760201c565b156200076a57604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906200066890339089908890889060040162000b72565b602060405180830381600087803b1580156200068357600080fd5b505af1925050508015620006b6575060408051601f3d908101601f19168201909252620006b39181019062000b3f565b60015b6200074f573d808015620006e7576040519150601f19603f3d011682016040523d82523d6000602084013e620006ec565b606091505b508051620007475760405162461bcd60e51b8152602060048201526032602482015260008051602062003edc83398151915260448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b6064820152608401620004a9565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506200076e565b5060015b949350505050565b6200078e838383620004b260201b62000b9c1760201c565b6001600160a01b038316620007ec57620007e681600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b62000812565b816001600160a01b0316836001600160a01b031614620008125762000812838262000858565b6001600160a01b0382166200082c57620004b28162000905565b826001600160a01b0316826001600160a01b031614620004b257620004b28282620009bf565b3b151590565b60006001620008728462000a1060201b620010601760201c565b6200087e919062000c08565b600083815260076020526040902054909150808214620008d2576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b600854600090620009199060019062000c08565b6000838152600960205260408120546008805493945090928490811062000944576200094462000c8b565b90600052602060002001549050806008838154811062000968576200096862000c8b565b6000918252602080832090910192909255828152600990915260408082208490558582528120556008805480620009a357620009a362000c75565b6001900381819060005260206000200160009055905550505050565b6000620009d78362000a1060201b620010601760201c565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b60006001600160a01b03821662000a7d5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401620004a9565b506001600160a01b031660009081526003602052604090205490565b82805462000aa79062000c22565b90600052602060002090601f01602090048101928262000acb576000855562000b16565b82601f1062000ae657805160ff191683800117855562000b16565b8280016001018555821562000b16579182015b8281111562000b1657825182559160200191906001019062000af9565b5062000b2492915062000b28565b5090565b5b8082111562000b24576000815560010162000b29565b60006020828403121562000b5257600080fd5b81516001600160e01b03198116811462000b6b57600080fd5b9392505050565b600060018060a01b038087168352602081871681850152856040850152608060608501528451915081608085015260005b8281101562000bc15785810182015185820160a00152810162000ba3565b8281111562000bd457600060a084870101525b5050601f01601f19169190910160a00195945050505050565b6000821982111562000c035762000c0362000c5f565b500190565b60008282101562000c1d5762000c1d62000c5f565b500390565b600181811c9082168062000c3757607f821691505b6020821081141562000c5957634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b61322b8062000cb16000396000f3fe6080604052600436106102ae5760003560e01c806370a0823111610175578063b88d4fde116100dc578063cd44032811610095578063e985e9c51161006f578063e985e9c514610895578063efb3d008146108de578063f2fde38b146108fe578063f47c84c51461091e57600080fd5b8063cd44032814610821578063e361ba4c14610841578063e6a72acf1461087557600080fd5b8063b88d4fde14610751578063bc63f02e14610771578063c408050614610791578063c7f9be19146107b1578063c87b56dd146107d4578063c9150a9e146107f457600080fd5b806395d89b411161012e57806395d89b41146106a95780639b19251a146106be578063a0712d68146106ee578063a22cb46514610701578063a475b5dd14610721578063b1c9fe6e1461073657600080fd5b806370a08231146105f6578063715018a61461061657806377099ddf1461062b5780638da5cb5b1461064b5780638e2cea20146106695780638ff390991461068957600080fd5b806345d510071161021957806355f804b3116101d257806355f804b31461052d5780635ad3d3581461054d5780635c975abb146105815780635e8eeb7a146105a05780636352211e146105c05780636de9f32b146105e057600080fd5b806345d51007146104635780634b911a62146104785780634cf088d9146104ac5780634efc09f5146104cc5780634f6ccce7146104ec578063518302271461050c57600080fd5b806318160ddd1161026b57806318160ddd146103a457806323b872dd146103c35780632f745c59146103e3578063375a069a1461040357806342842e0e1461042357806343dbbe321461044357600080fd5b806301ffc9a7146102b357806306fdde03146102e8578063081812fc1461030a578063095ea7b3146103425780630e3577381461036457806316c38b3c14610384575b600080fd5b3480156102bf57600080fd5b506102d36102ce366004612cc6565b610934565b60405190151581526020015b60405180910390f35b3480156102f457600080fd5b506102fd61095f565b6040516102df9190612eef565b34801561031657600080fd5b5061032a610325366004612dc6565b6109f1565b6040516001600160a01b0390911681526020016102df565b34801561034e57600080fd5b5061036261035d366004612c3d565b610a8b565b005b34801561037057600080fd5b5060115461032a906001600160a01b031681565b34801561039057600080fd5b5061036261039f366004612cab565b610ba1565b3480156103b057600080fd5b506008545b6040519081526020016102df565b3480156103cf57600080fd5b506103626103de366004612b47565b610bec565b3480156103ef57600080fd5b506103b56103fe366004612c3d565b610c38565b34801561040f57600080fd5b5061036261041e366004612dc6565b610cce565b34801561042f57600080fd5b5061036261043e366004612b47565b610dda565b34801561044f57600080fd5b5061036261045e366004612c69565b610df5565b34801561046f57600080fd5b506103b5600581565b34801561048457600080fd5b506102d3610493366004612d49565b61ffff1660009081526014602052604090205460ff1690565b3480156104b857600080fd5b5060105461032a906001600160a01b031681565b3480156104d857600080fd5b506103626104e7366004612daa565b610e8c565b3480156104f857600080fd5b506103b5610507366004612dc6565b610ecd565b34801561051857600080fd5b50600d546102d390600160381b900460ff1681565b34801561053957600080fd5b50610362610548366004612d00565b610f60565b34801561055957600080fd5b50600d5461056e9062010000900461ffff1681565b60405161ffff90911681526020016102df565b34801561058d57600080fd5b50600d54600160301b900460ff166102d3565b3480156105ac57600080fd5b506103626105bb366004612ad4565b610f9d565b3480156105cc57600080fd5b5061032a6105db366004612dc6565b610fe9565b3480156105ec57600080fd5b506103b5600c5481565b34801561060257600080fd5b506103b5610611366004612ad4565b611060565b34801561062257600080fd5b506103626110e7565b34801561063757600080fd5b50610362610646366004612c69565b61111d565b34801561065757600080fd5b50600a546001600160a01b031661032a565b34801561067557600080fd5b50610362610684366004612d64565b6111b4565b34801561069557600080fd5b506103626106a4366004612ad4565b611204565b3480156106b557600080fd5b506102fd611250565b3480156106ca57600080fd5b506102d36106d9366004612ad4565b600f6020526000908152604090205460ff1681565b6103626106fc366004612dc6565b61125f565b34801561070d57600080fd5b5061036261071c366004612c08565b611755565b34801561072d57600080fd5b50610362611760565b34801561074257600080fd5b50600d5461056e9061ffff1681565b34801561075d57600080fd5b5061036261076c366004612b88565b6117a3565b34801561077d57600080fd5b5061036261078c366004612df8565b6117db565b34801561079d57600080fd5b506103626107ac366004612c69565b6118db565b3480156107bd57600080fd5b50600d5461056e90640100000000900461ffff1681565b3480156107e057600080fd5b506102fd6107ef366004612dc6565b611977565b34801561080057600080fd5b506103b561080f366004612d49565b600e6020526000908152604090205481565b34801561082d57600080fd5b5061036261083c366004612d64565b611a16565b34801561084d57600080fd5b506102d361085c366004612d49565b61ffff1660009081526013602052604090205460ff1690565b34801561088157600080fd5b506103b5610890366004612dc6565b611a66565b3480156108a157600080fd5b506102d36108b0366004612b0e565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b3480156108ea57600080fd5b506103626108f9366004612d80565b611a86565b34801561090a57600080fd5b50610362610919366004612ad4565b611aba565b34801561092a57600080fd5b506103b5600b5481565b60006001600160e01b0319821663780e9d6360e01b1480610959575061095982611b5b565b92915050565b60606000805461096e906130d0565b80601f016020809104026020016040519081016040528092919081815260200182805461099a906130d0565b80156109e75780601f106109bc576101008083540402835291602001916109e7565b820191906000526020600020905b8154815290600101906020018083116109ca57829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b0316610a6f5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b6000610a9682610fe9565b9050806001600160a01b0316836001600160a01b03161415610b045760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610a66565b336001600160a01b0382161480610b205750610b2081336108b0565b610b925760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610a66565b610b9c8383611bab565b505050565b600a546001600160a01b03163314610bcb5760405162461bcd60e51b8152600401610a6690612f7f565b600d8054911515600160301b0266ff00000000000019909216919091179055565b6010546001600160a01b0316336001600160a01b031614610c2d57610c113382611c19565b610c2d5760405162461bcd60e51b8152600401610a6690612fb4565b610b9c838383611d10565b6000610c4383611060565b8210610ca55760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610a66565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600a546001600160a01b03163314610cf85760405162461bcd60e51b8152600401610a6690612f7f565b323314610d325760405162461bcd60e51b81526020600482015260086024820152674f6e6c7920454f4160c01b6044820152606401610a66565b600b5481600c54610d43919061302b565b1115610d615760405162461bcd60e51b8152600401610a6690612f54565b60008111610da75760405162461bcd60e51b8152602060048201526013602482015272125b9d985b1a59081b5a5b9d08185b5bdd5b9d606a1b6044820152606401610a66565b60005b81811015610dd657610dc433610dbf600c5490565b611ebb565b80610dce8161312d565b915050610daa565b5050565b610b9c838383604051806020016040528060008152506117a3565b600a546001600160a01b03163314610e1f5760405162461bcd60e51b8152600401610a6690612f7f565b60005b81811015610b9c57600160146000858585818110610e4257610e4261319e565b9050602002016020810190610e579190612d49565b61ffff1681526020810191909152604001600020805460ff191691151591909117905580610e848161312d565b915050610e22565b600a546001600160a01b03163314610eb65760405162461bcd60e51b8152600401610a6690612f7f565b61ffff9091166000908152600e6020526040902055565b6000610ed860085490565b8210610f3b5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610a66565b60088281548110610f4e57610f4e61319e565b90600052602060002001549050919050565b600a546001600160a01b03163314610f8a5760405162461bcd60e51b8152600401610a6690612f7f565b8051610dd6906012906020840190612957565b600a546001600160a01b03163314610fc75760405162461bcd60e51b8152600401610a6690612f7f565b601180546001600160a01b0319166001600160a01b0392909216919091179055565b6000818152600260205260408120546001600160a01b0316806109595760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610a66565b60006001600160a01b0382166110cb5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610a66565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b031633146111115760405162461bcd60e51b8152600401610a6690612f7f565b61111b6000611f39565b565b600a546001600160a01b031633146111475760405162461bcd60e51b8152600401610a6690612f7f565b60005b81811015610b9c5760016013600085858581811061116a5761116a61319e565b905060200201602081019061117f9190612d49565b61ffff1681526020810191909152604001600020805460ff1916911515919091179055806111ac8161312d565b91505061114a565b600a546001600160a01b031633146111de5760405162461bcd60e51b8152600401610a6690612f7f565b61ffff919091166000908152601460205260409020805460ff1916911515919091179055565b600a546001600160a01b0316331461122e5760405162461bcd60e51b8152600401610a6690612f7f565b601080546001600160a01b0319166001600160a01b0392909216919091179055565b60606001805461096e906130d0565b600d54600160301b900460ff16156112ac5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610a66565b3233146112e65760405162461bcd60e51b81526020600482015260086024820152674f6e6c7920454f4160c01b6044820152606401610a66565b600b5481600c546112f7919061302b565b11156113155760405162461bcd60e51b8152600401610a6690612f54565b600081118015611326575060058111155b6113685760405162461bcd60e51b8152602060048201526013602482015272125b9d985b1a59081b5a5b9d08185b5bdd5b9d606a1b6044820152606401610a66565b600d5460009061ffff16600114806113845750600d5461ffff16155b1561146a57600d54829061ffff1660011480156113b05750336000908152600f602052604090205460ff165b156113da57336000908152600f60205260409020805460ff19169055806113d6816130b9565b9150505b346113e482611a66565b1461142a5760405162461bcd60e51b8152602060048201526016602482015275125b9d985b1a59081c185e5b595b9d08185b5bdd5b9d60521b6044820152606401610a66565b600a546040516001600160a01b03909116903480156108fc02916000818181858888f19350505050158015611463573d6000803e3d6000fd5b505061158d565b34156114c35760405162461bcd60e51b815260206004820152602260248201527f496e76616c69642070617961626c6520616d6f756e7420286d75737420626520604482015261302960f01b6064820152608401610a66565b6114cc82611a66565b6011546040516370a0823160e01b815233600482015291925082916001600160a01b03909116906370a082319060240160206040518083038186803b15801561151457600080fd5b505afa158015611528573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061154c9190612ddf565b101561158d5760405162461bcd60e51b815260206004820152601060248201526f139bdd08195b9bdd59da0815da19585d60821b6044820152606401610a66565b80156115f857601154604051632770a7eb60e21b8152336004820152602481018390526001600160a01b0390911690639dc29fac90604401600060405180830381600087803b1580156115df57600080fd5b505af11580156115f3573d6000803e3d6000fd5b505050505b60005b82811015610b9c57600061160d611f8b565b600d5490915061ffff1660011480159061162c5750600d5461ffff1615155b156116395761163961205b565b6000611644600c5490565b90506001600160a01b03821633146117365761ffff811660009081526013602052604090205460ff166116af576001600d60048282829054906101000a900461ffff166116919190613005565b92506101000a81548161ffff021916908361ffff16021790556116e9565b6001600d60028282829054906101000a900461ffff166116cf9190613005565b92506101000a81548161ffff021916908361ffff16021790555b506040805133815261ffff831660208201526001600160a01b0384168183015290517f5c8f955114cce6fe18920ee4bb38271b9a0f5579589f3767ccf22eb6484e06109181900360600190a15b6117408282611ebb565b5050808061174d9061312d565b9150506115fb565b610dd63383836120c5565b600a546001600160a01b0316331461178a5760405162461bcd60e51b8152600401610a6690612f7f565b600d805467ff000000000000001916600160381b179055565b6117ad3383611c19565b6117c95760405162461bcd60e51b8152600401610a6690612fb4565b6117d584848484612194565b50505050565b600a546001600160a01b031633146118055760405162461bcd60e51b8152600401610a6690612f7f565b600b5482600c54611816919061302b565b11156118345760405162461bcd60e51b8152600401610a6690612f54565b601554600090611845908490613076565b10156118a65760405162461bcd60e51b815260206004820152602a60248201527f416c6c20746f6b656e7320666f7220746869732050686173652061726520616c6044820152691c9958591e481cdbdb1960b21b6064820152608401610a66565b60005b82811015610b9c5760006118bc600c5490565b90506118c88382611ebb565b50806118d38161312d565b9150506118a9565b600a546001600160a01b031633146119055760405162461bcd60e51b8152600401610a6690612f7f565b60005b81811015610b9c576001600f60008585858181106119285761192861319e565b905060200201602081019061193d9190612ad4565b6001600160a01b031681526020810191909152604001600020805460ff19169115159190911790558061196f8161312d565b915050611908565b606060006119836121c7565b600d54909150600160381b900460ff166119dd5760008151116119b557604051806020016040528060008152506119d6565b806040516020016119c69190612e88565b6040516020818303038152906040525b9392505050565b60008151116119fb57604051806020016040528060008152506119d6565b80611a05846121d6565b6040516020016119c6929190612e49565b600a546001600160a01b03163314611a405760405162461bcd60e51b8152600401610a6690612f7f565b61ffff919091166000908152601360205260409020805460ff1916911515919091179055565b600d5461ffff166000908152600e60205260408120546109599083613057565b600a546001600160a01b03163314611ab05760405162461bcd60e51b8152600401610a6690612f7f565b610dd682826122d4565b600a546001600160a01b03163314611ae45760405162461bcd60e51b8152600401610a6690612f7f565b6001600160a01b038116611b495760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a66565b611b5281611f39565b50565b3b151590565b60006001600160e01b031982166380ac58cd60e01b1480611b8c57506001600160e01b03198216635b5e139f60e01b145b8061095957506301ffc9a760e01b6001600160e01b0319831614610959565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611be082610fe9565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b0316611c925760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610a66565b6000611c9d83610fe9565b9050806001600160a01b0316846001600160a01b03161480611cd85750836001600160a01b0316611ccd846109f1565b6001600160a01b0316145b80611d0857506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b0316611d2382610fe9565b6001600160a01b031614611d8b5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610a66565b6001600160a01b038216611ded5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610a66565b611df883838361234f565b611e03600082611bab565b6001600160a01b0383166000908152600360205260408120805460019290611e2c908490613076565b90915550506001600160a01b0382166000908152600360205260408120805460019290611e5a90849061302b565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b611ec9828261ffff16612407565b6001600c6000828254611edc919061302b565b9091555050600c5461012c1415611ef757610dd66001612421565b600c546127101415611f0d57610dd66002612421565b600c54614e201415611f2357610dd66003612421565b600c546175301415610dd657610dd66004612421565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600d54600090600261ffff9091161015611fa457503390565b600a611fb3600c546064612439565b61ffff1610611fc157503390565b601054604080516336b93d5360e11b815290516000926001600160a01b031691636d727aa691600480830192602092919082900301818787803b15801561200757600080fd5b505af115801561201b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061203f9190612af1565b90506001600160a01b038116612056573391505090565b919050565b601680546001919060009061207590849061ffff16613005565b92506101000a81548161ffff021916908361ffff1602179055506001601760008282546120a2919061302b565b9091555050601654600661ffff909116111561111b576016805461ffff19169055565b816001600160a01b0316836001600160a01b031614156121275760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610a66565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b61219f848484611d10565b6121ab84848484612539565b6117d55760405162461bcd60e51b8152600401610a6690612f02565b60606012805461096e906130d0565b6060816121fa5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115612224578061220e8161312d565b915061221d9050600a83613043565b91506121fe565b60008167ffffffffffffffff81111561223f5761223f6131b4565b6040519080825280601f01601f191660200182016040528015612269576020820181803683370190505b5090505b8415611d085761227e600183613076565b915061228b600a86613148565b61229690603061302b565b60f81b8183815181106122ab576122ab61319e565b60200101906001600160f81b031916908160001a9053506122cd600a86613043565b945061226d565b815b8161ffff168161ffff1611610b9c57601580546001810182556000919091527f55f448fdea98c4d29eb340757ef0a66cd03dbb9538908a6a81d96026b71ec47560108204018054600f9092166002026101000a61ffff8181021990931692841602919091179055806123478161310b565b9150506122d6565b6001600160a01b0383166123aa576123a581600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b6123cd565b816001600160a01b0316836001600160a01b0316146123cd576123cd8382612646565b6001600160a01b0382166123e457610b9c816126e3565b826001600160a01b0316826001600160a01b031614610b9c57610b9c8282612792565b610dd68282604051806020016040528060008152506127d6565b600d805461ffff191661ffff92909216919091179055565b600080805b60078161ffff1610156124895760165461ffff16600090815260186020526040902054612475906001600160a01b0316318361302b565b9150806124818161310b565b91505061243e565b50600084612498600143613076565b600c5460175460165460408051602081019690965293409385019390935241606090811b6bffffffffffffffffffffffff19908116828701524460748701523390911b16609485015260a884019190915260c8830185905260e883015260f01b6001600160f01b03191661010882015261010a0160408051601f19818403018152919052805160209091012090506125308482613148565b95945050505050565b60006001600160a01b0384163b1561263b57604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061257d903390899088908890600401612eb2565b602060405180830381600087803b15801561259757600080fd5b505af19250505080156125c7575060408051601f3d908101601f191682019092526125c491810190612ce3565b60015b612621573d8080156125f5576040519150601f19603f3d011682016040523d82523d6000602084013e6125fa565b606091505b5080516126195760405162461bcd60e51b8152600401610a6690612f02565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611d08565b506001949350505050565b6000600161265384611060565b61265d9190613076565b6000838152600760205260409020549091508082146126b0576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b6008546000906126f590600190613076565b6000838152600960205260408120546008805493945090928490811061271d5761271d61319e565b90600052602060002001549050806008838154811061273e5761273e61319e565b600091825260208083209091019290925582815260099091526040808220849055858252812055600880548061277657612776613188565b6001900381819060005260206000200160009055905550505050565b600061279d83611060565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6127e08383612809565b6127ed6000848484612539565b610b9c5760405162461bcd60e51b8152600401610a6690612f02565b6001600160a01b03821661285f5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610a66565b6000818152600260205260409020546001600160a01b0316156128c45760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610a66565b6128d06000838361234f565b6001600160a01b03821660009081526003602052604081208054600192906128f990849061302b565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b828054612963906130d0565b90600052602060002090601f01602090048101928261298557600085556129cb565b82601f1061299e57805160ff19168380011785556129cb565b828001600101855582156129cb579182015b828111156129cb5782518255916020019190600101906129b0565b506129d79291506129db565b5090565b5b808211156129d757600081556001016129dc565b600067ffffffffffffffff80841115612a0b57612a0b6131b4565b604051601f8501601f19908116603f01168101908282118183101715612a3357612a336131b4565b81604052809350858152868686011115612a4c57600080fd5b858560208301376000602087830101525050509392505050565b60008083601f840112612a7857600080fd5b50813567ffffffffffffffff811115612a9057600080fd5b6020830191508360208260051b8501011115612aab57600080fd5b9250929050565b8035801515811461205657600080fd5b803561ffff8116811461205657600080fd5b600060208284031215612ae657600080fd5b81356119d6816131ca565b600060208284031215612b0357600080fd5b81516119d6816131ca565b60008060408385031215612b2157600080fd5b8235612b2c816131ca565b91506020830135612b3c816131ca565b809150509250929050565b600080600060608486031215612b5c57600080fd5b8335612b67816131ca565b92506020840135612b77816131ca565b929592945050506040919091013590565b60008060008060808587031215612b9e57600080fd5b8435612ba9816131ca565b93506020850135612bb9816131ca565b925060408501359150606085013567ffffffffffffffff811115612bdc57600080fd5b8501601f81018713612bed57600080fd5b612bfc878235602084016129f0565b91505092959194509250565b60008060408385031215612c1b57600080fd5b8235612c26816131ca565b9150612c3460208401612ab2565b90509250929050565b60008060408385031215612c5057600080fd5b8235612c5b816131ca565b946020939093013593505050565b60008060208385031215612c7c57600080fd5b823567ffffffffffffffff811115612c9357600080fd5b612c9f85828601612a66565b90969095509350505050565b600060208284031215612cbd57600080fd5b6119d682612ab2565b600060208284031215612cd857600080fd5b81356119d6816131df565b600060208284031215612cf557600080fd5b81516119d6816131df565b600060208284031215612d1257600080fd5b813567ffffffffffffffff811115612d2957600080fd5b8201601f81018413612d3a57600080fd5b611d08848235602084016129f0565b600060208284031215612d5b57600080fd5b6119d682612ac2565b60008060408385031215612d7757600080fd5b612c2683612ac2565b60008060408385031215612d9357600080fd5b612d9c83612ac2565b9150612c3460208401612ac2565b60008060408385031215612dbd57600080fd5b612c5b83612ac2565b600060208284031215612dd857600080fd5b5035919050565b600060208284031215612df157600080fd5b5051919050565b60008060408385031215612e0b57600080fd5b823591506020830135612b3c816131ca565b60008151808452612e3581602086016020860161308d565b601f01601f19169290920160200192915050565b60008351612e5b81846020880161308d565b835190830190612e6f81836020880161308d565b64173539b7b760d91b9101908152600501949350505050565b60008251612e9a81846020870161308d565b6518173539b7b760d11b920191825250600601919050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612ee590830184612e1d565b9695505050505050565b6020815260006119d66020830184612e1d565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b602080825260119082015270105b1b081d1bdad95b9cc81b5a5b9d1959607a1b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b600061ffff8083168185168083038211156130225761302261315c565b01949350505050565b6000821982111561303e5761303e61315c565b500190565b60008261305257613052613172565b500490565b60008160001904831182151516156130715761307161315c565b500290565b6000828210156130885761308861315c565b500390565b60005b838110156130a8578181015183820152602001613090565b838111156117d55750506000910152565b6000816130c8576130c861315c565b506000190190565b600181811c908216806130e457607f821691505b6020821081141561310557634e487b7160e01b600052602260045260246000fd5b50919050565b600061ffff808316818114156131235761312361315c565b6001019392505050565b60006000198214156131415761314161315c565b5060010190565b60008261315757613157613172565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114611b5257600080fd5b6001600160e01b031981168114611b5257600080fdfea26469706673582212202ff7c6cfe3cd9706e7ffa75e8950a4cac221fbe7c0a45968b6da243292d332dc64736f6c634300080700334552433732313a207472616e7366657220746f206e6f6e204552433732315265697066733a2f2f516d5475366e65446543574c314d4d7768386466336150433662664e744b386972387737774a79743633797036682f

Deployed Bytecode

0x6080604052600436106102ae5760003560e01c806370a0823111610175578063b88d4fde116100dc578063cd44032811610095578063e985e9c51161006f578063e985e9c514610895578063efb3d008146108de578063f2fde38b146108fe578063f47c84c51461091e57600080fd5b8063cd44032814610821578063e361ba4c14610841578063e6a72acf1461087557600080fd5b8063b88d4fde14610751578063bc63f02e14610771578063c408050614610791578063c7f9be19146107b1578063c87b56dd146107d4578063c9150a9e146107f457600080fd5b806395d89b411161012e57806395d89b41146106a95780639b19251a146106be578063a0712d68146106ee578063a22cb46514610701578063a475b5dd14610721578063b1c9fe6e1461073657600080fd5b806370a08231146105f6578063715018a61461061657806377099ddf1461062b5780638da5cb5b1461064b5780638e2cea20146106695780638ff390991461068957600080fd5b806345d510071161021957806355f804b3116101d257806355f804b31461052d5780635ad3d3581461054d5780635c975abb146105815780635e8eeb7a146105a05780636352211e146105c05780636de9f32b146105e057600080fd5b806345d51007146104635780634b911a62146104785780634cf088d9146104ac5780634efc09f5146104cc5780634f6ccce7146104ec578063518302271461050c57600080fd5b806318160ddd1161026b57806318160ddd146103a457806323b872dd146103c35780632f745c59146103e3578063375a069a1461040357806342842e0e1461042357806343dbbe321461044357600080fd5b806301ffc9a7146102b357806306fdde03146102e8578063081812fc1461030a578063095ea7b3146103425780630e3577381461036457806316c38b3c14610384575b600080fd5b3480156102bf57600080fd5b506102d36102ce366004612cc6565b610934565b60405190151581526020015b60405180910390f35b3480156102f457600080fd5b506102fd61095f565b6040516102df9190612eef565b34801561031657600080fd5b5061032a610325366004612dc6565b6109f1565b6040516001600160a01b0390911681526020016102df565b34801561034e57600080fd5b5061036261035d366004612c3d565b610a8b565b005b34801561037057600080fd5b5060115461032a906001600160a01b031681565b34801561039057600080fd5b5061036261039f366004612cab565b610ba1565b3480156103b057600080fd5b506008545b6040519081526020016102df565b3480156103cf57600080fd5b506103626103de366004612b47565b610bec565b3480156103ef57600080fd5b506103b56103fe366004612c3d565b610c38565b34801561040f57600080fd5b5061036261041e366004612dc6565b610cce565b34801561042f57600080fd5b5061036261043e366004612b47565b610dda565b34801561044f57600080fd5b5061036261045e366004612c69565b610df5565b34801561046f57600080fd5b506103b5600581565b34801561048457600080fd5b506102d3610493366004612d49565b61ffff1660009081526014602052604090205460ff1690565b3480156104b857600080fd5b5060105461032a906001600160a01b031681565b3480156104d857600080fd5b506103626104e7366004612daa565b610e8c565b3480156104f857600080fd5b506103b5610507366004612dc6565b610ecd565b34801561051857600080fd5b50600d546102d390600160381b900460ff1681565b34801561053957600080fd5b50610362610548366004612d00565b610f60565b34801561055957600080fd5b50600d5461056e9062010000900461ffff1681565b60405161ffff90911681526020016102df565b34801561058d57600080fd5b50600d54600160301b900460ff166102d3565b3480156105ac57600080fd5b506103626105bb366004612ad4565b610f9d565b3480156105cc57600080fd5b5061032a6105db366004612dc6565b610fe9565b3480156105ec57600080fd5b506103b5600c5481565b34801561060257600080fd5b506103b5610611366004612ad4565b611060565b34801561062257600080fd5b506103626110e7565b34801561063757600080fd5b50610362610646366004612c69565b61111d565b34801561065757600080fd5b50600a546001600160a01b031661032a565b34801561067557600080fd5b50610362610684366004612d64565b6111b4565b34801561069557600080fd5b506103626106a4366004612ad4565b611204565b3480156106b557600080fd5b506102fd611250565b3480156106ca57600080fd5b506102d36106d9366004612ad4565b600f6020526000908152604090205460ff1681565b6103626106fc366004612dc6565b61125f565b34801561070d57600080fd5b5061036261071c366004612c08565b611755565b34801561072d57600080fd5b50610362611760565b34801561074257600080fd5b50600d5461056e9061ffff1681565b34801561075d57600080fd5b5061036261076c366004612b88565b6117a3565b34801561077d57600080fd5b5061036261078c366004612df8565b6117db565b34801561079d57600080fd5b506103626107ac366004612c69565b6118db565b3480156107bd57600080fd5b50600d5461056e90640100000000900461ffff1681565b3480156107e057600080fd5b506102fd6107ef366004612dc6565b611977565b34801561080057600080fd5b506103b561080f366004612d49565b600e6020526000908152604090205481565b34801561082d57600080fd5b5061036261083c366004612d64565b611a16565b34801561084d57600080fd5b506102d361085c366004612d49565b61ffff1660009081526013602052604090205460ff1690565b34801561088157600080fd5b506103b5610890366004612dc6565b611a66565b3480156108a157600080fd5b506102d36108b0366004612b0e565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b3480156108ea57600080fd5b506103626108f9366004612d80565b611a86565b34801561090a57600080fd5b50610362610919366004612ad4565b611aba565b34801561092a57600080fd5b506103b5600b5481565b60006001600160e01b0319821663780e9d6360e01b1480610959575061095982611b5b565b92915050565b60606000805461096e906130d0565b80601f016020809104026020016040519081016040528092919081815260200182805461099a906130d0565b80156109e75780601f106109bc576101008083540402835291602001916109e7565b820191906000526020600020905b8154815290600101906020018083116109ca57829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b0316610a6f5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b6000610a9682610fe9565b9050806001600160a01b0316836001600160a01b03161415610b045760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610a66565b336001600160a01b0382161480610b205750610b2081336108b0565b610b925760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610a66565b610b9c8383611bab565b505050565b600a546001600160a01b03163314610bcb5760405162461bcd60e51b8152600401610a6690612f7f565b600d8054911515600160301b0266ff00000000000019909216919091179055565b6010546001600160a01b0316336001600160a01b031614610c2d57610c113382611c19565b610c2d5760405162461bcd60e51b8152600401610a6690612fb4565b610b9c838383611d10565b6000610c4383611060565b8210610ca55760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610a66565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600a546001600160a01b03163314610cf85760405162461bcd60e51b8152600401610a6690612f7f565b323314610d325760405162461bcd60e51b81526020600482015260086024820152674f6e6c7920454f4160c01b6044820152606401610a66565b600b5481600c54610d43919061302b565b1115610d615760405162461bcd60e51b8152600401610a6690612f54565b60008111610da75760405162461bcd60e51b8152602060048201526013602482015272125b9d985b1a59081b5a5b9d08185b5bdd5b9d606a1b6044820152606401610a66565b60005b81811015610dd657610dc433610dbf600c5490565b611ebb565b80610dce8161312d565b915050610daa565b5050565b610b9c838383604051806020016040528060008152506117a3565b600a546001600160a01b03163314610e1f5760405162461bcd60e51b8152600401610a6690612f7f565b60005b81811015610b9c57600160146000858585818110610e4257610e4261319e565b9050602002016020810190610e579190612d49565b61ffff1681526020810191909152604001600020805460ff191691151591909117905580610e848161312d565b915050610e22565b600a546001600160a01b03163314610eb65760405162461bcd60e51b8152600401610a6690612f7f565b61ffff9091166000908152600e6020526040902055565b6000610ed860085490565b8210610f3b5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610a66565b60088281548110610f4e57610f4e61319e565b90600052602060002001549050919050565b600a546001600160a01b03163314610f8a5760405162461bcd60e51b8152600401610a6690612f7f565b8051610dd6906012906020840190612957565b600a546001600160a01b03163314610fc75760405162461bcd60e51b8152600401610a6690612f7f565b601180546001600160a01b0319166001600160a01b0392909216919091179055565b6000818152600260205260408120546001600160a01b0316806109595760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610a66565b60006001600160a01b0382166110cb5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610a66565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b031633146111115760405162461bcd60e51b8152600401610a6690612f7f565b61111b6000611f39565b565b600a546001600160a01b031633146111475760405162461bcd60e51b8152600401610a6690612f7f565b60005b81811015610b9c5760016013600085858581811061116a5761116a61319e565b905060200201602081019061117f9190612d49565b61ffff1681526020810191909152604001600020805460ff1916911515919091179055806111ac8161312d565b91505061114a565b600a546001600160a01b031633146111de5760405162461bcd60e51b8152600401610a6690612f7f565b61ffff919091166000908152601460205260409020805460ff1916911515919091179055565b600a546001600160a01b0316331461122e5760405162461bcd60e51b8152600401610a6690612f7f565b601080546001600160a01b0319166001600160a01b0392909216919091179055565b60606001805461096e906130d0565b600d54600160301b900460ff16156112ac5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610a66565b3233146112e65760405162461bcd60e51b81526020600482015260086024820152674f6e6c7920454f4160c01b6044820152606401610a66565b600b5481600c546112f7919061302b565b11156113155760405162461bcd60e51b8152600401610a6690612f54565b600081118015611326575060058111155b6113685760405162461bcd60e51b8152602060048201526013602482015272125b9d985b1a59081b5a5b9d08185b5bdd5b9d606a1b6044820152606401610a66565b600d5460009061ffff16600114806113845750600d5461ffff16155b1561146a57600d54829061ffff1660011480156113b05750336000908152600f602052604090205460ff165b156113da57336000908152600f60205260409020805460ff19169055806113d6816130b9565b9150505b346113e482611a66565b1461142a5760405162461bcd60e51b8152602060048201526016602482015275125b9d985b1a59081c185e5b595b9d08185b5bdd5b9d60521b6044820152606401610a66565b600a546040516001600160a01b03909116903480156108fc02916000818181858888f19350505050158015611463573d6000803e3d6000fd5b505061158d565b34156114c35760405162461bcd60e51b815260206004820152602260248201527f496e76616c69642070617961626c6520616d6f756e7420286d75737420626520604482015261302960f01b6064820152608401610a66565b6114cc82611a66565b6011546040516370a0823160e01b815233600482015291925082916001600160a01b03909116906370a082319060240160206040518083038186803b15801561151457600080fd5b505afa158015611528573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061154c9190612ddf565b101561158d5760405162461bcd60e51b815260206004820152601060248201526f139bdd08195b9bdd59da0815da19585d60821b6044820152606401610a66565b80156115f857601154604051632770a7eb60e21b8152336004820152602481018390526001600160a01b0390911690639dc29fac90604401600060405180830381600087803b1580156115df57600080fd5b505af11580156115f3573d6000803e3d6000fd5b505050505b60005b82811015610b9c57600061160d611f8b565b600d5490915061ffff1660011480159061162c5750600d5461ffff1615155b156116395761163961205b565b6000611644600c5490565b90506001600160a01b03821633146117365761ffff811660009081526013602052604090205460ff166116af576001600d60048282829054906101000a900461ffff166116919190613005565b92506101000a81548161ffff021916908361ffff16021790556116e9565b6001600d60028282829054906101000a900461ffff166116cf9190613005565b92506101000a81548161ffff021916908361ffff16021790555b506040805133815261ffff831660208201526001600160a01b0384168183015290517f5c8f955114cce6fe18920ee4bb38271b9a0f5579589f3767ccf22eb6484e06109181900360600190a15b6117408282611ebb565b5050808061174d9061312d565b9150506115fb565b610dd63383836120c5565b600a546001600160a01b0316331461178a5760405162461bcd60e51b8152600401610a6690612f7f565b600d805467ff000000000000001916600160381b179055565b6117ad3383611c19565b6117c95760405162461bcd60e51b8152600401610a6690612fb4565b6117d584848484612194565b50505050565b600a546001600160a01b031633146118055760405162461bcd60e51b8152600401610a6690612f7f565b600b5482600c54611816919061302b565b11156118345760405162461bcd60e51b8152600401610a6690612f54565b601554600090611845908490613076565b10156118a65760405162461bcd60e51b815260206004820152602a60248201527f416c6c20746f6b656e7320666f7220746869732050686173652061726520616c6044820152691c9958591e481cdbdb1960b21b6064820152608401610a66565b60005b82811015610b9c5760006118bc600c5490565b90506118c88382611ebb565b50806118d38161312d565b9150506118a9565b600a546001600160a01b031633146119055760405162461bcd60e51b8152600401610a6690612f7f565b60005b81811015610b9c576001600f60008585858181106119285761192861319e565b905060200201602081019061193d9190612ad4565b6001600160a01b031681526020810191909152604001600020805460ff19169115159190911790558061196f8161312d565b915050611908565b606060006119836121c7565b600d54909150600160381b900460ff166119dd5760008151116119b557604051806020016040528060008152506119d6565b806040516020016119c69190612e88565b6040516020818303038152906040525b9392505050565b60008151116119fb57604051806020016040528060008152506119d6565b80611a05846121d6565b6040516020016119c6929190612e49565b600a546001600160a01b03163314611a405760405162461bcd60e51b8152600401610a6690612f7f565b61ffff919091166000908152601360205260409020805460ff1916911515919091179055565b600d5461ffff166000908152600e60205260408120546109599083613057565b600a546001600160a01b03163314611ab05760405162461bcd60e51b8152600401610a6690612f7f565b610dd682826122d4565b600a546001600160a01b03163314611ae45760405162461bcd60e51b8152600401610a6690612f7f565b6001600160a01b038116611b495760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a66565b611b5281611f39565b50565b3b151590565b60006001600160e01b031982166380ac58cd60e01b1480611b8c57506001600160e01b03198216635b5e139f60e01b145b8061095957506301ffc9a760e01b6001600160e01b0319831614610959565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611be082610fe9565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b0316611c925760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610a66565b6000611c9d83610fe9565b9050806001600160a01b0316846001600160a01b03161480611cd85750836001600160a01b0316611ccd846109f1565b6001600160a01b0316145b80611d0857506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b0316611d2382610fe9565b6001600160a01b031614611d8b5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610a66565b6001600160a01b038216611ded5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610a66565b611df883838361234f565b611e03600082611bab565b6001600160a01b0383166000908152600360205260408120805460019290611e2c908490613076565b90915550506001600160a01b0382166000908152600360205260408120805460019290611e5a90849061302b565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b611ec9828261ffff16612407565b6001600c6000828254611edc919061302b565b9091555050600c5461012c1415611ef757610dd66001612421565b600c546127101415611f0d57610dd66002612421565b600c54614e201415611f2357610dd66003612421565b600c546175301415610dd657610dd66004612421565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600d54600090600261ffff9091161015611fa457503390565b600a611fb3600c546064612439565b61ffff1610611fc157503390565b601054604080516336b93d5360e11b815290516000926001600160a01b031691636d727aa691600480830192602092919082900301818787803b15801561200757600080fd5b505af115801561201b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061203f9190612af1565b90506001600160a01b038116612056573391505090565b919050565b601680546001919060009061207590849061ffff16613005565b92506101000a81548161ffff021916908361ffff1602179055506001601760008282546120a2919061302b565b9091555050601654600661ffff909116111561111b576016805461ffff19169055565b816001600160a01b0316836001600160a01b031614156121275760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610a66565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b61219f848484611d10565b6121ab84848484612539565b6117d55760405162461bcd60e51b8152600401610a6690612f02565b60606012805461096e906130d0565b6060816121fa5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115612224578061220e8161312d565b915061221d9050600a83613043565b91506121fe565b60008167ffffffffffffffff81111561223f5761223f6131b4565b6040519080825280601f01601f191660200182016040528015612269576020820181803683370190505b5090505b8415611d085761227e600183613076565b915061228b600a86613148565b61229690603061302b565b60f81b8183815181106122ab576122ab61319e565b60200101906001600160f81b031916908160001a9053506122cd600a86613043565b945061226d565b815b8161ffff168161ffff1611610b9c57601580546001810182556000919091527f55f448fdea98c4d29eb340757ef0a66cd03dbb9538908a6a81d96026b71ec47560108204018054600f9092166002026101000a61ffff8181021990931692841602919091179055806123478161310b565b9150506122d6565b6001600160a01b0383166123aa576123a581600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b6123cd565b816001600160a01b0316836001600160a01b0316146123cd576123cd8382612646565b6001600160a01b0382166123e457610b9c816126e3565b826001600160a01b0316826001600160a01b031614610b9c57610b9c8282612792565b610dd68282604051806020016040528060008152506127d6565b600d805461ffff191661ffff92909216919091179055565b600080805b60078161ffff1610156124895760165461ffff16600090815260186020526040902054612475906001600160a01b0316318361302b565b9150806124818161310b565b91505061243e565b50600084612498600143613076565b600c5460175460165460408051602081019690965293409385019390935241606090811b6bffffffffffffffffffffffff19908116828701524460748701523390911b16609485015260a884019190915260c8830185905260e883015260f01b6001600160f01b03191661010882015261010a0160408051601f19818403018152919052805160209091012090506125308482613148565b95945050505050565b60006001600160a01b0384163b1561263b57604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061257d903390899088908890600401612eb2565b602060405180830381600087803b15801561259757600080fd5b505af19250505080156125c7575060408051601f3d908101601f191682019092526125c491810190612ce3565b60015b612621573d8080156125f5576040519150601f19603f3d011682016040523d82523d6000602084013e6125fa565b606091505b5080516126195760405162461bcd60e51b8152600401610a6690612f02565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611d08565b506001949350505050565b6000600161265384611060565b61265d9190613076565b6000838152600760205260409020549091508082146126b0576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b6008546000906126f590600190613076565b6000838152600960205260408120546008805493945090928490811061271d5761271d61319e565b90600052602060002001549050806008838154811061273e5761273e61319e565b600091825260208083209091019290925582815260099091526040808220849055858252812055600880548061277657612776613188565b6001900381819060005260206000200160009055905550505050565b600061279d83611060565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6127e08383612809565b6127ed6000848484612539565b610b9c5760405162461bcd60e51b8152600401610a6690612f02565b6001600160a01b03821661285f5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610a66565b6000818152600260205260409020546001600160a01b0316156128c45760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610a66565b6128d06000838361234f565b6001600160a01b03821660009081526003602052604081208054600192906128f990849061302b565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b828054612963906130d0565b90600052602060002090601f01602090048101928261298557600085556129cb565b82601f1061299e57805160ff19168380011785556129cb565b828001600101855582156129cb579182015b828111156129cb5782518255916020019190600101906129b0565b506129d79291506129db565b5090565b5b808211156129d757600081556001016129dc565b600067ffffffffffffffff80841115612a0b57612a0b6131b4565b604051601f8501601f19908116603f01168101908282118183101715612a3357612a336131b4565b81604052809350858152868686011115612a4c57600080fd5b858560208301376000602087830101525050509392505050565b60008083601f840112612a7857600080fd5b50813567ffffffffffffffff811115612a9057600080fd5b6020830191508360208260051b8501011115612aab57600080fd5b9250929050565b8035801515811461205657600080fd5b803561ffff8116811461205657600080fd5b600060208284031215612ae657600080fd5b81356119d6816131ca565b600060208284031215612b0357600080fd5b81516119d6816131ca565b60008060408385031215612b2157600080fd5b8235612b2c816131ca565b91506020830135612b3c816131ca565b809150509250929050565b600080600060608486031215612b5c57600080fd5b8335612b67816131ca565b92506020840135612b77816131ca565b929592945050506040919091013590565b60008060008060808587031215612b9e57600080fd5b8435612ba9816131ca565b93506020850135612bb9816131ca565b925060408501359150606085013567ffffffffffffffff811115612bdc57600080fd5b8501601f81018713612bed57600080fd5b612bfc878235602084016129f0565b91505092959194509250565b60008060408385031215612c1b57600080fd5b8235612c26816131ca565b9150612c3460208401612ab2565b90509250929050565b60008060408385031215612c5057600080fd5b8235612c5b816131ca565b946020939093013593505050565b60008060208385031215612c7c57600080fd5b823567ffffffffffffffff811115612c9357600080fd5b612c9f85828601612a66565b90969095509350505050565b600060208284031215612cbd57600080fd5b6119d682612ab2565b600060208284031215612cd857600080fd5b81356119d6816131df565b600060208284031215612cf557600080fd5b81516119d6816131df565b600060208284031215612d1257600080fd5b813567ffffffffffffffff811115612d2957600080fd5b8201601f81018413612d3a57600080fd5b611d08848235602084016129f0565b600060208284031215612d5b57600080fd5b6119d682612ac2565b60008060408385031215612d7757600080fd5b612c2683612ac2565b60008060408385031215612d9357600080fd5b612d9c83612ac2565b9150612c3460208401612ac2565b60008060408385031215612dbd57600080fd5b612c5b83612ac2565b600060208284031215612dd857600080fd5b5035919050565b600060208284031215612df157600080fd5b5051919050565b60008060408385031215612e0b57600080fd5b823591506020830135612b3c816131ca565b60008151808452612e3581602086016020860161308d565b601f01601f19169290920160200192915050565b60008351612e5b81846020880161308d565b835190830190612e6f81836020880161308d565b64173539b7b760d91b9101908152600501949350505050565b60008251612e9a81846020870161308d565b6518173539b7b760d11b920191825250600601919050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612ee590830184612e1d565b9695505050505050565b6020815260006119d66020830184612e1d565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b602080825260119082015270105b1b081d1bdad95b9cc81b5a5b9d1959607a1b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b600061ffff8083168185168083038211156130225761302261315c565b01949350505050565b6000821982111561303e5761303e61315c565b500190565b60008261305257613052613172565b500490565b60008160001904831182151516156130715761307161315c565b500290565b6000828210156130885761308861315c565b500390565b60005b838110156130a8578181015183820152602001613090565b838111156117d55750506000910152565b6000816130c8576130c861315c565b506000190190565b600181811c908216806130e457607f821691505b6020821081141561310557634e487b7160e01b600052602260045260246000fd5b50919050565b600061ffff808316818114156131235761312361315c565b6001019392505050565b60006000198214156131415761314161315c565b5060010190565b60008261315757613157613172565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114611b5257600080fd5b6001600160e01b031981168114611b5257600080fdfea26469706673582212202ff7c6cfe3cd9706e7ffa75e8950a4cac221fbe7c0a45968b6da243292d332dc64736f6c63430008070033

Deployed Bytecode Sourcemap

44828:10978:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38266:224;;;;;;;;;;-1:-1:-1;38266:224:0;;;;;:::i;:::-;;:::i;:::-;;;11571:14:1;;11564:22;11546:41;;11534:2;11519:18;38266:224:0;;;;;;;;25760:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;27319:221::-;;;;;;;;;;-1:-1:-1;27319:221:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;10199:32:1;;;10181:51;;10169:2;10154:18;27319:221:0;10035:203:1;26842:411:0;;;;;;;;;;-1:-1:-1;26842:411:0;;;;;:::i;:::-;;:::i;:::-;;45359:19;;;;;;;;;;-1:-1:-1;45359:19:0;;;;-1:-1:-1;;;;;45359:19:0;;;47049:86;;;;;;;;;;-1:-1:-1;47049:86:0;;;;;:::i;:::-;;:::i;38906:113::-;;;;;;;;;;-1:-1:-1;38994:10:0;:17;38906:113;;;22285:25:1;;;22273:2;22258:18;38906:113:0;22139:177:1;54325:476:0;;;;;;;;;;-1:-1:-1;54325:476:0;;;;;:::i;:::-;;:::i;38574:256::-;;;;;;;;;;-1:-1:-1;38574:256:0;;;;;:::i;:::-;;:::i;48512:370::-;;;;;;;;;;-1:-1:-1;48512:370:0;;;;;:::i;:::-;;:::i;28479:185::-;;;;;;;;;;-1:-1:-1;28479:185:0;;;;;:::i;:::-;;:::i;53764:180::-;;;;;;;;;;-1:-1:-1;53764:180:0;;;;;:::i;:::-;;:::i;44960:45::-;;;;;;;;;;;;45004:1;44960:45;;52181:101;;;;;;;;;;-1:-1:-1;52181:101:0;;;;;:::i;:::-;52258:16;;52234:4;52258:16;;;:12;:16;;;;;;;;;52181:101;45329:23;;;;;;;;;;-1:-1:-1;45329:23:0;;;;-1:-1:-1;;;;;45329:23:0;;;54166:151;;;;;;;;;;-1:-1:-1;54166:151:0;;;;;:::i;:::-;;:::i;39096:233::-;;;;;;;;;;-1:-1:-1;39096:233:0;;;;;:::i;:::-;;:::i;45191:28::-;;;;;;;;;;-1:-1:-1;45191:28:0;;;;-1:-1:-1;;;45191:28:0;;;;;;54919:92;;;;;;;;;;-1:-1:-1;54919:92:0;;;;;:::i;:::-;;:::i;45082:29::-;;;;;;;;;;-1:-1:-1;45082:29:0;;;;;;;;;;;;;;22120:6:1;22108:19;;;22090:38;;22078:2;22063:18;45082:29:0;21946:188:1;46753:86:0;;;;;;;;;;-1:-1:-1;46824:7:0;;-1:-1:-1;;;46824:7:0;;;;46753:86;;54064:94;;;;;;;;;;-1:-1:-1;54064:94:0;;;;;:::i;:::-;;:::i;25454:239::-;;;;;;;;;;-1:-1:-1;25454:239:0;;;;;:::i;:::-;;:::i;45014:31::-;;;;;;;;;;;;;;;;25184:208;;;;;;;;;;-1:-1:-1;25184:208:0;;;;;:::i;:::-;;:::i;4730:103::-;;;;;;;;;;;;;:::i;53457:172::-;;;;;;;;;;-1:-1:-1;53457:172:0;;;;;:::i;:::-;;:::i;4079:87::-;;;;;;;;;;-1:-1:-1;4152:6:0;;-1:-1:-1;;;;;4152:6:0;4079:87;;53637:119;;;;;;;;;;-1:-1:-1;53637:119:0;;;;;:::i;:::-;;:::i;53952:104::-;;;;;;;;;;-1:-1:-1;53952:104:0;;;;;:::i;:::-;;:::i;25929:::-;;;;;;;;;;;;;:::i;45279:41::-;;;;;;;;;;-1:-1:-1;45279:41:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;48890:1924;;;;;;:::i;:::-;;:::i;27612:155::-;;;;;;;;;;-1:-1:-1;27612:155:0;;;;;:::i;:::-;;:::i;55019:71::-;;;;;;;;;;;;;:::i;45052:23::-;;;;;;;;;;-1:-1:-1;45052:23:0;;;;;;;;28735:328;;;;;;;;;;-1:-1:-1;28735:328:0;;;;;:::i;:::-;;:::i;48049:455::-;;;;;;;;;;-1:-1:-1;48049:455:0;;;;;:::i;:::-;;:::i;51249:198::-;;;;;;;;;;-1:-1:-1;51249:198:0;;;;;:::i;:::-;;:::i;45118:28::-;;;;;;;;;;-1:-1:-1;45118:28:0;;;;;;;;;;;55098:705;;;;;;;;;;-1:-1:-1;55098:705:0;;;;;:::i;:::-;;:::i;45228:44::-;;;;;;;;;;-1:-1:-1;45228:44:0;;;;;:::i;:::-;;;;;;;;;;;;;;53346:103;;;;;;;;;;-1:-1:-1;53346:103:0;;;;;:::i;:::-;;:::i;52080:93::-;;;;;;;;;;-1:-1:-1;52080:93:0;;;;;:::i;:::-;52153:12;;52129:4;52153:12;;;:8;:12;;;;;;;;;52080:93;51953:119;;;;;;;;;;-1:-1:-1;51953:119:0;;;;;:::i;:::-;;:::i;27838:164::-;;;;;;;;;;-1:-1:-1;27838:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;27959:25:0;;;27935:4;27959:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;27838:164;47143:119;;;;;;;;;;-1:-1:-1;47143:119:0;;;;;:::i;:::-;;:::i;4988:201::-;;;;;;;;;;-1:-1:-1;4988:201:0;;;;;:::i;:::-;;:::i;44920:33::-;;;;;;;;;;;;;;;;38266:224;38368:4;-1:-1:-1;;;;;;38392:50:0;;-1:-1:-1;;;38392:50:0;;:90;;;38446:36;38470:11;38446:23;:36::i;:::-;38385:97;38266:224;-1:-1:-1;;38266:224:0:o;25760:100::-;25814:13;25847:5;25840:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25760:100;:::o;27319:221::-;27395:7;30662:16;;;:7;:16;;;;;;-1:-1:-1;;;;;30662:16:0;27415:73;;;;-1:-1:-1;;;27415:73:0;;18569:2:1;27415:73:0;;;18551:21:1;18608:2;18588:18;;;18581:30;18647:34;18627:18;;;18620:62;-1:-1:-1;;;18698:18:1;;;18691:42;18750:19;;27415:73:0;;;;;;;;;-1:-1:-1;27508:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;27508:24:0;;27319:221::o;26842:411::-;26923:13;26939:23;26954:7;26939:14;:23::i;:::-;26923:39;;26987:5;-1:-1:-1;;;;;26981:11:0;:2;-1:-1:-1;;;;;26981:11:0;;;26973:57;;;;-1:-1:-1;;;26973:57:0;;20164:2:1;26973:57:0;;;20146:21:1;20203:2;20183:18;;;20176:30;20242:34;20222:18;;;20215:62;-1:-1:-1;;;20293:18:1;;;20286:31;20334:19;;26973:57:0;19962:397:1;26973:57:0;2883:10;-1:-1:-1;;;;;27065:21:0;;;;:62;;-1:-1:-1;27090:37:0;27107:5;2883:10;27838:164;:::i;27090:37::-;27043:168;;;;-1:-1:-1;;;27043:168:0;;16962:2:1;27043:168:0;;;16944:21:1;17001:2;16981:18;;;16974:30;17040:34;17020:18;;;17013:62;17111:26;17091:18;;;17084:54;17155:19;;27043:168:0;16760:420:1;27043:168:0;27224:21;27233:2;27237:7;27224:8;:21::i;:::-;26912:341;26842:411;;:::o;47049:86::-;4152:6;;-1:-1:-1;;;;;4152:6:0;2883:10;4299:23;4291:68;;;;-1:-1:-1;;;4291:68:0;;;;;;;:::i;:::-;47111:7:::1;:16:::0;;;::::1;;-1:-1:-1::0;;;47111:16:0::1;-1:-1:-1::0;;47111:16:0;;::::1;::::0;;;::::1;::::0;;47049:86::o;54325:476::-;54579:7;;-1:-1:-1;;;;;54579:7:0;2883:10;-1:-1:-1;;;;;54555:32:0;;54551:203;;54628:41;2883:10;54661:7;54628:18;:41::i;:::-;54602:152;;;;-1:-1:-1;;;54602:152:0;;;;;;;:::i;:::-;54765:28;54775:4;54781:2;54785:7;54765:9;:28::i;38574:256::-;38671:7;38707:23;38724:5;38707:16;:23::i;:::-;38699:5;:31;38691:87;;;;-1:-1:-1;;;38691:87:0;;12472:2:1;38691:87:0;;;12454:21:1;12511:2;12491:18;;;12484:30;12550:34;12530:18;;;12523:62;-1:-1:-1;;;12601:18:1;;;12594:41;12652:19;;38691:87:0;12270:407:1;38691:87:0;-1:-1:-1;;;;;;38796:19:0;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;38574:256::o;48512:370::-;4152:6;;-1:-1:-1;;;;;4152:6:0;2883:10;4299:23;4291:68;;;;-1:-1:-1;;;4291:68:0;;;;;;;:::i;:::-;48584:9:::1;48597:10;48584:23;48576:44;;;::::0;-1:-1:-1;;;48576:44:0;;14764:2:1;48576:44:0::1;::::0;::::1;14746:21:1::0;14803:1;14783:18;;;14776:29;-1:-1:-1;;;14821:18:1;;;14814:38;14869:18;;48576:44:0::1;14562:331:1::0;48576:44:0::1;48665:10;;48654:7;48639:12;;:22;;;;:::i;:::-;:36;;48631:66;;;;-1:-1:-1::0;;;48631:66:0::1;;;;;;;:::i;:::-;48726:1;48716:7;:11;48708:43;;;::::0;-1:-1:-1;;;48708:43:0;;21387:2:1;48708:43:0::1;::::0;::::1;21369:21:1::0;21426:2;21406:18;;;21399:30;-1:-1:-1;;;21445:18:1;;;21438:49;21504:18;;48708:43:0::1;21185:343:1::0;48708:43:0::1;48769:9;48764:111;48788:7;48784:1;:11;48764:111;;;48817:46;48830:10;48842:20;52375:12:::0;;;52290:106;48842:20:::1;48817:12;:46::i;:::-;48797:3:::0;::::1;::::0;::::1;:::i;:::-;;;;48764:111;;;;48512:370:::0;:::o;28479:185::-;28617:39;28634:4;28640:2;28644:7;28617:39;;;;;;;;;;;;:16;:39::i;53764:180::-;4152:6;;-1:-1:-1;;;;;4152:6:0;2883:10;4299:23;4291:68;;;;-1:-1:-1;;;4291:68:0;;;;;;;:::i;:::-;53847:9:::1;53842:95;53862:14:::0;;::::1;53842:95;;;53921:4;53898:12;:20;53911:3;;53915:1;53911:6;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;53898:20;;::::0;;::::1;::::0;::::1;::::0;;;;;;-1:-1:-1;53898:20:0;:27;;-1:-1:-1;;53898:27:0::1;::::0;::::1;;::::0;;;::::1;::::0;;53878:3;::::1;::::0;::::1;:::i;:::-;;;;53842:95;;54166:151:::0;4152:6;;-1:-1:-1;;;;;4152:6:0;2883:10;4299:23;4291:68;;;;-1:-1:-1;;;4291:68:0;;;;;;;:::i;:::-;54279:18:::1;::::0;;::::1;;::::0;;;:10:::1;:18;::::0;;;;:30;54166:151::o;39096:233::-;39171:7;39207:30;38994:10;:17;;38906:113;39207:30;39199:5;:38;39191:95;;;;-1:-1:-1;;;39191:95:0;;21735:2:1;39191:95:0;;;21717:21:1;21774:2;21754:18;;;21747:30;21813:34;21793:18;;;21786:62;-1:-1:-1;;;21864:18:1;;;21857:42;21916:19;;39191:95:0;21533:408:1;39191:95:0;39304:10;39315:5;39304:17;;;;;;;;:::i;:::-;;;;;;;;;39297:24;;39096:233;;;:::o;54919:92::-;4152:6;;-1:-1:-1;;;;;4152:6:0;2883:10;4299:23;4291:68;;;;-1:-1:-1;;;4291:68:0;;;;;;;:::i;:::-;54988:15;;::::1;::::0;:9:::1;::::0;:15:::1;::::0;::::1;::::0;::::1;:::i;54064:94::-:0;4152:6;;-1:-1:-1;;;;;4152:6:0;2883:10;4299:23;4291:68;;;;-1:-1:-1;;;4291:68:0;;;;;;;:::i;:::-;54128:5:::1;:22:::0;;-1:-1:-1;;;;;;54128:22:0::1;-1:-1:-1::0;;;;;54128:22:0;;;::::1;::::0;;;::::1;::::0;;54064:94::o;25454:239::-;25526:7;25562:16;;;:7;:16;;;;;;-1:-1:-1;;;;;25562:16:0;25597:19;25589:73;;;;-1:-1:-1;;;25589:73:0;;17798:2:1;25589:73:0;;;17780:21:1;17837:2;17817:18;;;17810:30;17876:34;17856:18;;;17849:62;-1:-1:-1;;;17927:18:1;;;17920:39;17976:19;;25589:73:0;17596:405:1;25184:208:0;25256:7;-1:-1:-1;;;;;25284:19:0;;25276:74;;;;-1:-1:-1;;;25276:74:0;;17387:2:1;25276:74:0;;;17369:21:1;17426:2;17406:18;;;17399:30;17465:34;17445:18;;;17438:62;-1:-1:-1;;;17516:18:1;;;17509:40;17566:19;;25276:74:0;17185:406:1;25276:74:0;-1:-1:-1;;;;;;25368:16:0;;;;;:9;:16;;;;;;;25184:208::o;4730:103::-;4152:6;;-1:-1:-1;;;;;4152:6:0;2883:10;4299:23;4291:68;;;;-1:-1:-1;;;4291:68:0;;;;;;;:::i;:::-;4795:30:::1;4822:1;4795:18;:30::i;:::-;4730:103::o:0;53457:172::-;4152:6;;-1:-1:-1;;;;;4152:6:0;2883:10;4299:23;4291:68;;;;-1:-1:-1;;;4291:68:0;;;;;;;:::i;:::-;53536:9:::1;53531:91;53551:14:::0;;::::1;53531:91;;;53606:4;53587:8;:16;53596:3;;53600:1;53596:6;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;53587:16;;::::0;;::::1;::::0;::::1;::::0;;;;;;-1:-1:-1;53587:16:0;:23;;-1:-1:-1;;53587:23:0::1;::::0;::::1;;::::0;;;::::1;::::0;;53567:3;::::1;::::0;::::1;:::i;:::-;;;;53531:91;;53637:119:::0;4152:6;;-1:-1:-1;;;;;4152:6:0;2883:10;4299:23;4291:68;;;;-1:-1:-1;;;4291:68:0;;;;;;;:::i;:::-;53719:16:::1;::::0;;;::::1;;::::0;;;:12:::1;:16;::::0;;;;:29;;-1:-1:-1;;53719:29:0::1;::::0;::::1;;::::0;;;::::1;::::0;;53637:119::o;53952:104::-;4152:6;;-1:-1:-1;;;;;4152:6:0;2883:10;4299:23;4291:68;;;;-1:-1:-1;;;4291:68:0;;;;;;;:::i;:::-;54020:7:::1;:28:::0;;-1:-1:-1;;;;;;54020:28:0::1;-1:-1:-1::0;;;;;54020:28:0;;;::::1;::::0;;;::::1;::::0;;53952:104::o;25929:::-;25985:13;26018:7;26011:14;;;;;:::i;48890:1924::-;46824:7;;-1:-1:-1;;;46824:7:0;;;;46891:9;46883:38;;;;-1:-1:-1;;;46883:38:0;;16617:2:1;46883:38:0;;;16599:21:1;16656:2;16636:18;;;16629:30;-1:-1:-1;;;16675:18:1;;;16668:46;16731:18;;46883:38:0;16415:340:1;46883:38:0;48969:9:::1;48982:10;48969:23;48961:44;;;::::0;-1:-1:-1;;;48961:44:0;;14764:2:1;48961:44:0::1;::::0;::::1;14746:21:1::0;14803:1;14783:18;;;14776:29;-1:-1:-1;;;14821:18:1;;;14814:38;14869:18;;48961:44:0::1;14562:331:1::0;48961:44:0::1;49050:10;;49039:7;49024:12;;:22;;;;:::i;:::-;:36;;49016:66;;;;-1:-1:-1::0;;;49016:66:0::1;;;;;;;:::i;:::-;49125:1;49115:7;:11;:43;;;;;45004:1;49130:7;:28;;49115:43;49093:112;;;::::0;-1:-1:-1;;;49093:112:0;;21387:2:1;49093:112:0::1;::::0;::::1;21369:21:1::0;21426:2;21406:18;;;21399:30;-1:-1:-1;;;21445:18:1;;;21438:49;21504:18;;49093:112:0::1;21185:343:1::0;49093:112:0::1;49259:5;::::0;49218:22:::1;::::0;49259:5:::1;;::::0;:10:::1;::::0;:24:::1;;-1:-1:-1::0;49273:5:0::1;::::0;::::1;;:10:::0;49259:24:::1;49255:838;;;49442:5;::::0;49348:7;;49442:5:::1;;::::0;:10:::1;:35:::0;::::1;;;-1:-1:-1::0;49466:10:0::1;49456:21;::::0;;;:9:::1;:21;::::0;;;;;::::1;;49442:35;49438:135;;;49508:10;49522:5;49498:21:::0;;;:9:::1;:21;::::0;;;;:29;;-1:-1:-1;;49498:29:0::1;::::0;;49546:11;::::1;::::0;::::1;:::i;:::-;;;;49438:135;49639:9;49615:20;49625:9;49615;:20::i;:::-;:33;49589:117;;;::::0;-1:-1:-1;;;49589:117:0;;14413:2:1;49589:117:0::1;::::0;::::1;14395:21:1::0;14452:2;14432:18;;;14425:30;-1:-1:-1;;;14471:18:1;;;14464:52;14533:18;;49589:117:0::1;14211:346:1::0;49589:117:0::1;4152:6:::0;;49721:36:::1;::::0;-1:-1:-1;;;;;4152:6:0;;;;49747:9:::1;49721:36:::0;::::1;;;::::0;::::1;::::0;;;49747:9;4152:6;49721:36;::::1;;;;;;;;;;;;;::::0;::::1;;;;;;49285:484;49255:838;;;49840:9;:14:::0;49832:61:::1;;;::::0;-1:-1:-1;;;49832:61:0;;20984:2:1;49832:61:0::1;::::0;::::1;20966:21:1::0;21023:2;21003:18;;;20996:30;21062:34;21042:18;;;21035:62;-1:-1:-1;;;21113:18:1;;;21106:32;21155:19;;49832:61:0::1;20782:398:1::0;49832:61:0::1;49925:18;49935:7;49925:9;:18::i;:::-;49984:5;::::0;:27:::1;::::0;-1:-1:-1;;;49984:27:0;;50000:10:::1;49984:27;::::0;::::1;10181:51:1::0;49908:35:0;;-1:-1:-1;49908:35:0;;-1:-1:-1;;;;;49984:5:0;;::::1;::::0;:15:::1;::::0;10154:18:1;;49984:27:0::1;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:45;;49958:123;;;::::0;-1:-1:-1;;;49958:123:0;;16272:2:1;49958:123:0::1;::::0;::::1;16254:21:1::0;16311:2;16291:18;;;16284:30;-1:-1:-1;;;16330:18:1;;;16323:46;16386:18;;49958:123:0::1;16070:340:1::0;49958:123:0::1;50109:18:::0;;50105:89:::1;;50144:5;::::0;:38:::1;::::0;-1:-1:-1;;;50144:38:0;;50155:10:::1;50144:38;::::0;::::1;11301:51:1::0;11368:18;;;11361:34;;;-1:-1:-1;;;;;50144:5:0;;::::1;::::0;:10:::1;::::0;11274:18:1;;50144:38:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;50105:89;50211:9;50206:601;50230:7;50226:1;:11;50206:601;;;50259:17;50279;:15;:17::i;:::-;50315:5;::::0;50259:37;;-1:-1:-1;50315:5:0::1;;::::0;:10:::1;::::0;::::1;::::0;:24:::1;;-1:-1:-1::0;50329:5:0::1;::::0;::::1;;:10:::0;::::1;50315:24;50311:84;;;50360:19;:17;:19::i;:::-;50411:14;50428:20;52375:12:::0;;;52290:106;50428:20:::1;50411:37:::0;-1:-1:-1;;;;;;50567:23:0;::::1;50580:10;50567:23;50563:184;;52153:12:::0;;;52129:4;52153:12;;;:8;:12;;;;;;;;50611:53:::1;;50663:1;50649:10;;:15;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;50611:53;;;50645:1;50630:11;;:16;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;50611:53;-1:-1:-1::0;50688:43:0::1;::::0;;50700:10:::1;10974:34:1::0;;11056:6;11044:19;;11039:2;11024:18;;11017:47;-1:-1:-1;;;;;11100:15:1;;11080:18;;;11073:43;50688::0;;::::1;::::0;;;;10924:2:1;50688:43:0;;::::1;50563:184;50763:32;50776:9;50787:7;50763:12;:32::i;:::-;50244:563;;50239:3;;;;;:::i;:::-;;;;50206:601;;27612:155:::0;27707:52;2883:10;27740:8;27750;27707:18;:52::i;55019:71::-;4152:6;;-1:-1:-1;;;;;4152:6:0;2883:10;4299:23;4291:68;;;;-1:-1:-1;;;4291:68:0;;;;;;;:::i;:::-;55067:8:::1;:15:::0;;-1:-1:-1;;55067:15:0::1;-1:-1:-1::0;;;55067:15:0::1;::::0;;55019:71::o;28735:328::-;28910:41;2883:10;28943:7;28910:18;:41::i;:::-;28902:103;;;;-1:-1:-1;;;28902:103:0;;;;;;;:::i;:::-;29016:39;29030:4;29036:2;29040:7;29049:5;29016:13;:39::i;:::-;28735:328;;;;:::o;48049:455::-;4152:6;;-1:-1:-1;;;;;4152:6:0;2883:10;4299:23;4291:68;;;;-1:-1:-1;;;4291:68:0;;;;;;;:::i;:::-;48163:10:::1;;48152:7;48137:12;;:22;;;;:::i;:::-;:36;;48129:66;;;;-1:-1:-1::0;;;48129:66:0::1;;;;;;;:::i;:::-;48228:16;:23:::0;48265:1:::1;::::0;48228:33:::1;::::0;48254:7;;48228:33:::1;:::i;:::-;:38;;48206:130;;;::::0;-1:-1:-1;;;48206:130:0;;19753:2:1;48206:130:0::1;::::0;::::1;19735:21:1::0;19792:2;19772:18;;;19765:30;19831:34;19811:18;;;19804:62;-1:-1:-1;;;19882:18:1;;;19875:40;19932:19;;48206:130:0::1;19551:406:1::0;48206:130:0::1;48354:9;48349:148;48373:7;48369:1;:11;48349:148;;;48402:14;48419:20;52375:12:::0;;;52290:106;48419:20:::1;48402:37;;48454:31;48467:8;48477:7;48454:12;:31::i;:::-;-1:-1:-1::0;48382:3:0;::::1;::::0;::::1;:::i;:::-;;;;48349:148;;51249:198:::0;4152:6;;-1:-1:-1;;;;;4152:6:0;2883:10;4299:23;4291:68;;;;-1:-1:-1;;;4291:68:0;;;;;;;:::i;:::-;51339:9:::1;51334:106;51354:21:::0;;::::1;51334:106;;;51424:4;51397:9;:24;51407:10;;51418:1;51407:13;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;51397:24:0::1;::::0;;::::1;::::0;::::1;::::0;;;;;;-1:-1:-1;51397:24:0;:31;;-1:-1:-1;;51397:31:0::1;::::0;::::1;;::::0;;;::::1;::::0;;51377:3;::::1;::::0;::::1;:::i;:::-;;;;51334:106;;55098:705:::0;55199:13;55230:28;55261:10;:8;:10::i;:::-;55289:8;;55230:41;;-1:-1:-1;;;;55289:8:0;;;;55284:198;;55369:1;55344:14;55338:28;:32;:132;;;;;;;;;;;;;;;;;55418:14;55401:42;;;;;;;;:::i;:::-;;;;;;;;;;;;;55338:132;55314:156;55098:705;-1:-1:-1;;;55098:705:0:o;55284:198::-;55545:1;55520:14;55514:28;:32;:281;;;;;;;;;;;;;;;;;55638:14;55679:18;:7;:16;:18::i;:::-;55595:159;;;;;;;;;:::i;53346:103::-;4152:6;;-1:-1:-1;;;;;4152:6:0;2883:10;4299:23;4291:68;;;;-1:-1:-1;;;4291:68:0;;;;;;;:::i;:::-;53420:12:::1;::::0;;;::::1;;::::0;;;:8:::1;:12;::::0;;;;:21;;-1:-1:-1;;53420:21:0::1;::::0;::::1;;::::0;;;::::1;::::0;;53346:103::o;51953:119::-;52058:5;;;;52010:7;52047:17;;;:10;:17;;;;;;52037:27;;:7;:27;:::i;47143:119::-;4152:6;;-1:-1:-1;;;;;4152:6:0;2883:10;4299:23;4291:68;;;;-1:-1:-1;;;4291:68:0;;;;;;;:::i;:::-;47225:29:::1;47243:5;47250:3;47225:17;:29::i;4988:201::-:0;4152:6;;-1:-1:-1;;;;;4152:6:0;2883:10;4299:23;4291:68;;;;-1:-1:-1;;;4291:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;5077:22:0;::::1;5069:73;;;::::0;-1:-1:-1;;;5069:73:0;;13303:2:1;5069:73:0::1;::::0;::::1;13285:21:1::0;13342:2;13322:18;;;13315:30;13381:34;13361:18;;;13354:62;-1:-1:-1;;;13432:18:1;;;13425:36;13478:19;;5069:73:0::1;13101:402:1::0;5069:73:0::1;5153:28;5172:8;5153:18;:28::i;:::-;4988:201:::0;:::o;6367:387::-;6690:20;6738:8;;;6367:387::o;24815:305::-;24917:4;-1:-1:-1;;;;;;24954:40:0;;-1:-1:-1;;;24954:40:0;;:105;;-1:-1:-1;;;;;;;25011:48:0;;-1:-1:-1;;;25011:48:0;24954:105;:158;;;-1:-1:-1;;;;;;;;;;16620:40:0;;;25076:36;16511:157;34555:174;34630:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;34630:29:0;-1:-1:-1;;;;;34630:29:0;;;;;;;;:24;;34684:23;34630:24;34684:14;:23::i;:::-;-1:-1:-1;;;;;34675:46:0;;;;;;;;;;;34555:174;;:::o;30867:348::-;30960:4;30662:16;;;:7;:16;;;;;;-1:-1:-1;;;;;30662:16:0;30977:73;;;;-1:-1:-1;;;30977:73:0;;15859:2:1;30977:73:0;;;15841:21:1;15898:2;15878:18;;;15871:30;15937:34;15917:18;;;15910:62;-1:-1:-1;;;15988:18:1;;;15981:42;16040:19;;30977:73:0;15657:408:1;30977:73:0;31061:13;31077:23;31092:7;31077:14;:23::i;:::-;31061:39;;31130:5;-1:-1:-1;;;;;31119:16:0;:7;-1:-1:-1;;;;;31119:16:0;;:51;;;;31163:7;-1:-1:-1;;;;;31139:31:0;:20;31151:7;31139:11;:20::i;:::-;-1:-1:-1;;;;;31139:31:0;;31119:51;:87;;;-1:-1:-1;;;;;;27959:25:0;;;27935:4;27959:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;31174:32;31111:96;30867:348;-1:-1:-1;;;;30867:348:0:o;33859:578::-;34018:4;-1:-1:-1;;;;;33991:31:0;:23;34006:7;33991:14;:23::i;:::-;-1:-1:-1;;;;;33991:31:0;;33983:85;;;;-1:-1:-1;;;33983:85:0;;19343:2:1;33983:85:0;;;19325:21:1;19382:2;19362:18;;;19355:30;19421:34;19401:18;;;19394:62;-1:-1:-1;;;19472:18:1;;;19465:39;19521:19;;33983:85:0;19141:405:1;33983:85:0;-1:-1:-1;;;;;34087:16:0;;34079:65;;;;-1:-1:-1;;;34079:65:0;;15100:2:1;34079:65:0;;;15082:21:1;15139:2;15119:18;;;15112:30;15178:34;15158:18;;;15151:62;-1:-1:-1;;;15229:18:1;;;15222:34;15273:19;;34079:65:0;14898:400:1;34079:65:0;34157:39;34178:4;34184:2;34188:7;34157:20;:39::i;:::-;34261:29;34278:1;34282:7;34261:8;:29::i;:::-;-1:-1:-1;;;;;34303:15:0;;;;;;:9;:15;;;;;:20;;34322:1;;34303:15;:20;;34322:1;;34303:20;:::i;:::-;;;;-1:-1:-1;;;;;;;34334:13:0;;;;;;:9;:13;;;;;:18;;34351:1;;34334:13;:18;;34351:1;;34334:18;:::i;:::-;;;;-1:-1:-1;;34363:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;34363:21:0;-1:-1:-1;;;;;34363:21:0;;;;;;;;;34402:27;;34363:16;;34402:27;;;;;;;33859:578;;;:::o;50822:419::-;50898:28;50908:8;50918:7;50898:28;;:9;:28::i;:::-;50953:1;50937:12;;:17;;;;;;;:::i;:::-;;;;-1:-1:-1;;50971:12:0;;50987:3;50971:19;50967:266;;;50992:28;51018:1;50992:25;:28::i;50967:266::-;51040:12;;51056:5;51040:21;51036:197;;;51063:28;51089:1;51063:25;:28::i;51036:197::-;51111:12;;51127:5;51111:21;51107:126;;;51134:28;51160:1;51134:25;:28::i;51107:126::-;51182:12;;51198:5;51182:21;51178:55;;;51205:28;51231:1;51205:25;:28::i;5349:191::-;5442:6;;;-1:-1:-1;;;;;5459:17:0;;;-1:-1:-1;;;;;;5459:17:0;;;;;;;5492:40;;5442:6;;;5459:17;5442:6;;5492:40;;5423:16;;5492:40;5412:128;5349:191;:::o;51455:490::-;51524:5;;51500:7;;51532:1;51524:5;;;;:9;51520:110;;;-1:-1:-1;51557:10:0;;51455:490::o;51520:110::-;51724:2;51682:38;51702:12;;51716:3;51682:19;:38::i;:::-;:44;;;51678:101;;-1:-1:-1;51750:10:0;;51455:490::o;51678:101::-;51807:7;;:26;;;-1:-1:-1;;;51807:26:0;;;;51791:13;;-1:-1:-1;;;;;51807:7:0;;:24;;:26;;;;;;;;;;;;;;51791:13;51807:7;:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;51791:42;-1:-1:-1;;;;;;51848:21:0;;51844:71;;51893:10;51886:17;;;51455:490;:::o;51844:71::-;51932:5;51455:490;-1:-1:-1;51455:490:0:o;52404:151::-;52453:12;:17;;52469:1;;52453:12;;;:17;;52469:1;;52453:17;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;52497:1;52481:12;;:17;;;;;;;:::i;:::-;;;;-1:-1:-1;;52513:12:0;;52528:1;52513:12;;;;:16;52509:38;;;52531:12;:16;;-1:-1:-1;;52531:16:0;;;52404:151::o;34871:315::-;35026:8;-1:-1:-1;;;;;35017:17:0;:5;-1:-1:-1;;;;;35017:17:0;;;35009:55;;;;-1:-1:-1;;;35009:55:0;;15505:2:1;35009:55:0;;;15487:21:1;15544:2;15524:18;;;15517:30;15583:27;15563:18;;;15556:55;15628:18;;35009:55:0;15303:349:1;35009:55:0;-1:-1:-1;;;;;35075:25:0;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;35075:46:0;;;;;;;;;;35137:41;;11546::1;;;35137::0;;11519:18:1;35137:41:0;;;;;;;34871:315;;;:::o;29945:::-;30102:28;30112:4;30118:2;30122:7;30102:9;:28::i;:::-;30149:48;30172:4;30178:2;30182:7;30191:5;30149:22;:48::i;:::-;30141:111;;;;-1:-1:-1;;;30141:111:0;;;;;;;:::i;54809:102::-;54861:13;54894:9;54887:16;;;;;:::i;365:723::-;421:13;642:10;638:53;;-1:-1:-1;;669:10:0;;;;;;;;;;;;-1:-1:-1;;;669:10:0;;;;;365:723::o;638:53::-;716:5;701:12;757:78;764:9;;757:78;;790:8;;;;:::i;:::-;;-1:-1:-1;813:10:0;;-1:-1:-1;821:2:0;813:10;;:::i;:::-;;;757:78;;;845:19;877:6;867:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;867:17:0;;845:39;;895:154;902:10;;895:154;;929:11;939:1;929:11;;:::i;:::-;;-1:-1:-1;998:10:0;1006:2;998:5;:10;:::i;:::-;985:24;;:2;:24;:::i;:::-;972:39;;955:6;962;955:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;955:56:0;;;;;;;;-1:-1:-1;1026:11:0;1035:2;1026:11;;:::i;:::-;;;895:154;;47270:169;47359:5;47343:89;47371:3;47366:8;;:1;:8;;;47343:89;;47396:16;:24;;;;;;;-1:-1:-1;47396:24:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47376:3;47396:24;47376:3;:::i;:::-;;;;47343:89;;39942:589;-1:-1:-1;;;;;40148:18:0;;40144:187;;40183:40;40215:7;41358:10;:17;;41331:24;;;;:15;:24;;;;;:44;;;41386:24;;;;;;;;;;;;41254:164;40183:40;40144:187;;;40253:2;-1:-1:-1;;;;;40245:10:0;:4;-1:-1:-1;;;;;40245:10:0;;40241:90;;40272:47;40305:4;40311:7;40272:32;:47::i;:::-;-1:-1:-1;;;;;40345:16:0;;40341:183;;40378:45;40415:7;40378:36;:45::i;40341:183::-;40451:4;-1:-1:-1;;;;;40445:10:0;:2;-1:-1:-1;;;;;40445:10:0;;40441:83;;40472:40;40500:2;40504:7;40472:27;:40::i;31557:110::-;31633:26;31643:2;31647:7;31633:26;;;;;;;;;;;;:9;:26::i;47447:594::-;47517:5;:14;;-1:-1:-1;;47517:14:0;;;;;;;;;;;;47447:594::o;52563:775::-;52673:6;;;52725:102;52748:1;52744;:5;;;52725:102;;;52794:12;;;;52780:27;;;;:13;:27;;;;;;52771:44;;-1:-1:-1;;;;;52780:27:0;:35;52771:44;;:::i;:::-;;-1:-1:-1;52751:3:0;;;;:::i;:::-;;;;52725:102;;;-1:-1:-1;52839:14:0;52945:5;52983:16;52998:1;52983:12;:16;:::i;:::-;53132:12;;53195;;53230;;52906:355;;;;;;9557:19:1;;;;52973:27:0;;9592:12:1;;;9585:28;;;;53023:14:0;9701:2:1;9697:15;;;-1:-1:-1;;9693:24:1;;;9679:12;;;9672:46;53060:16:0;9734:12:1;;;9727:28;53099:10:0;9790:15:1;;;9786:24;9771:13;;;9764:47;9827:13;;;9820:29;;;;9865:13;;;9858:29;;;9903:13;;;9896:29;9982:3;9960:16;-1:-1:-1;;;;;;9960:16:1;9941:13;;;9934:61;10011:13;;52906:355:0;;;-1:-1:-1;;52906:355:0;;;;;;;;;52878:398;;52906:355;52878:398;;;;;-1:-1:-1;53314:15:0;53323:6;52878:398;53314:15;:::i;:::-;53300:30;52563:775;-1:-1:-1;;;;;52563:775:0:o;35751:799::-;35906:4;-1:-1:-1;;;;;35927:13:0;;6690:20;6738:8;35923:620;;35963:72;;-1:-1:-1;;;35963:72:0;;-1:-1:-1;;;;;35963:36:0;;;;;:72;;2883:10;;36014:4;;36020:7;;36029:5;;35963:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;35963:72:0;;;;;;;;-1:-1:-1;;35963:72:0;;;;;;;;;;;;:::i;:::-;;;35959:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;36205:13:0;;36201:272;;36248:60;;-1:-1:-1;;;36248:60:0;;;;;;;:::i;36201:272::-;36423:6;36417:13;36408:6;36404:2;36400:15;36393:38;35959:529;-1:-1:-1;;;;;;36086:51:0;-1:-1:-1;;;36086:51:0;;-1:-1:-1;36079:58:0;;35923:620;-1:-1:-1;36527:4:0;35751:799;;;;;;:::o;42045:988::-;42311:22;42361:1;42336:22;42353:4;42336:16;:22::i;:::-;:26;;;;:::i;:::-;42373:18;42394:26;;;:17;:26;;;;;;42311:51;;-1:-1:-1;42527:28:0;;;42523:328;;-1:-1:-1;;;;;42594:18:0;;42572:19;42594:18;;;:12;:18;;;;;;;;:34;;;;;;;;;42645:30;;;;;;:44;;;42762:30;;:17;:30;;;;;:43;;;42523:328;-1:-1:-1;42947:26:0;;;;:17;:26;;;;;;;;42940:33;;;-1:-1:-1;;;;;42991:18:0;;;;;:12;:18;;;;;:34;;;;;;;42984:41;42045:988::o;43328:1079::-;43606:10;:17;43581:22;;43606:21;;43626:1;;43606:21;:::i;:::-;43638:18;43659:24;;;:15;:24;;;;;;44032:10;:26;;43581:46;;-1:-1:-1;43659:24:0;;43581:46;;44032:26;;;;;;:::i;:::-;;;;;;;;;44010:48;;44096:11;44071:10;44082;44071:22;;;;;;;;:::i;:::-;;;;;;;;;;;;:36;;;;44176:28;;;:15;:28;;;;;;;:41;;;44348:24;;;;;44341:31;44383:10;:16;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;43399:1008;;;43328:1079;:::o;40832:221::-;40917:14;40934:20;40951:2;40934:16;:20::i;:::-;-1:-1:-1;;;;;40965:16:0;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;41010:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;40832:221:0:o;31894:321::-;32024:18;32030:2;32034:7;32024:5;:18::i;:::-;32075:54;32106:1;32110:2;32114:7;32123:5;32075:22;:54::i;:::-;32053:154;;;;-1:-1:-1;;;32053:154:0;;;;;;;:::i;32551:382::-;-1:-1:-1;;;;;32631:16:0;;32623:61;;;;-1:-1:-1;;;32623:61:0;;18208:2:1;32623:61:0;;;18190:21:1;;;18227:18;;;18220:30;18286:34;18266:18;;;18259:62;18338:18;;32623:61:0;18006:356:1;32623:61:0;30638:4;30662:16;;;:7;:16;;;;;;-1:-1:-1;;;;;30662:16:0;:30;32695:58;;;;-1:-1:-1;;;32695:58:0;;14056:2:1;32695:58:0;;;14038:21:1;14095:2;14075:18;;;14068:30;14134;14114:18;;;14107:58;14182:18;;32695:58:0;13854:352:1;32695:58:0;32766:45;32795:1;32799:2;32803:7;32766:20;:45::i;:::-;-1:-1:-1;;;;;32824:13:0;;;;;;:9;:13;;;;;:18;;32841:1;;32824:13;:18;;32841:1;;32824:18;:::i;:::-;;;;-1:-1:-1;;32853:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;32853:21:0;-1:-1:-1;;;;;32853:21:0;;;;;;;;32892:33;;32853:16;;;32892:33;;32853:16;;32892:33;32551: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:367::-;713:8;723:6;777:3;770:4;762:6;758:17;754:27;744:55;;795:1;792;785:12;744:55;-1:-1:-1;818:20:1;;861:18;850:30;;847:50;;;893:1;890;883:12;847:50;930:4;922:6;918:17;906:29;;990:3;983:4;973:6;970:1;966:14;958:6;954:27;950:38;947:47;944:67;;;1007:1;1004;997:12;944:67;650:367;;;;;:::o;1022:160::-;1087:20;;1143:13;;1136:21;1126:32;;1116:60;;1172:1;1169;1162:12;1187:159;1254:20;;1314:6;1303:18;;1293:29;;1283:57;;1336:1;1333;1326:12;1351:247;1410:6;1463:2;1451:9;1442:7;1438:23;1434:32;1431:52;;;1479:1;1476;1469:12;1431:52;1518:9;1505:23;1537:31;1562:5;1537:31;:::i;1603:251::-;1673:6;1726:2;1714:9;1705:7;1701:23;1697:32;1694:52;;;1742:1;1739;1732:12;1694:52;1774:9;1768:16;1793:31;1818:5;1793:31;:::i;1859:388::-;1927:6;1935;1988:2;1976:9;1967:7;1963:23;1959:32;1956:52;;;2004:1;2001;1994:12;1956:52;2043:9;2030:23;2062:31;2087:5;2062:31;:::i;:::-;2112:5;-1:-1:-1;2169:2:1;2154:18;;2141:32;2182:33;2141:32;2182:33;:::i;:::-;2234:7;2224:17;;;1859:388;;;;;:::o;2252:456::-;2329:6;2337;2345;2398:2;2386:9;2377:7;2373:23;2369:32;2366:52;;;2414:1;2411;2404:12;2366:52;2453:9;2440:23;2472:31;2497:5;2472:31;:::i;:::-;2522:5;-1:-1:-1;2579:2:1;2564:18;;2551:32;2592:33;2551:32;2592:33;:::i;:::-;2252:456;;2644:7;;-1:-1:-1;;;2698:2:1;2683:18;;;;2670:32;;2252:456::o;2713:794::-;2808:6;2816;2824;2832;2885:3;2873:9;2864:7;2860:23;2856:33;2853:53;;;2902:1;2899;2892:12;2853:53;2941:9;2928:23;2960:31;2985:5;2960:31;:::i;:::-;3010:5;-1:-1:-1;3067:2:1;3052:18;;3039:32;3080:33;3039:32;3080:33;:::i;:::-;3132:7;-1:-1:-1;3186:2:1;3171:18;;3158:32;;-1:-1:-1;3241:2:1;3226:18;;3213:32;3268:18;3257:30;;3254:50;;;3300:1;3297;3290:12;3254:50;3323:22;;3376:4;3368:13;;3364:27;-1:-1:-1;3354:55:1;;3405:1;3402;3395:12;3354:55;3428:73;3493:7;3488:2;3475:16;3470:2;3466;3462:11;3428:73;:::i;:::-;3418:83;;;2713:794;;;;;;;:::o;3512:315::-;3577:6;3585;3638:2;3626:9;3617:7;3613:23;3609:32;3606:52;;;3654:1;3651;3644:12;3606:52;3693:9;3680:23;3712:31;3737:5;3712:31;:::i;:::-;3762:5;-1:-1:-1;3786:35:1;3817:2;3802:18;;3786:35;:::i;:::-;3776:45;;3512:315;;;;;:::o;3832:::-;3900:6;3908;3961:2;3949:9;3940:7;3936:23;3932:32;3929:52;;;3977:1;3974;3967:12;3929:52;4016:9;4003:23;4035:31;4060:5;4035:31;:::i;:::-;4085:5;4137:2;4122:18;;;;4109:32;;-1:-1:-1;;;3832:315:1:o;4152:437::-;4238:6;4246;4299:2;4287:9;4278:7;4274:23;4270:32;4267:52;;;4315:1;4312;4305:12;4267:52;4355:9;4342:23;4388:18;4380:6;4377:30;4374:50;;;4420:1;4417;4410:12;4374:50;4459:70;4521:7;4512:6;4501:9;4497:22;4459:70;:::i;:::-;4548:8;;4433:96;;-1:-1:-1;4152:437:1;-1:-1:-1;;;;4152:437:1:o;5035:180::-;5091:6;5144:2;5132:9;5123:7;5119:23;5115:32;5112:52;;;5160:1;5157;5150:12;5112:52;5183:26;5199:9;5183:26;:::i;5220:245::-;5278:6;5331:2;5319:9;5310:7;5306:23;5302:32;5299:52;;;5347:1;5344;5337:12;5299:52;5386:9;5373:23;5405:30;5429:5;5405:30;:::i;5470:249::-;5539:6;5592:2;5580:9;5571:7;5567:23;5563:32;5560:52;;;5608:1;5605;5598:12;5560:52;5640:9;5634:16;5659:30;5683:5;5659:30;:::i;5724:450::-;5793:6;5846:2;5834:9;5825:7;5821:23;5817:32;5814:52;;;5862:1;5859;5852:12;5814:52;5902:9;5889:23;5935:18;5927:6;5924:30;5921:50;;;5967:1;5964;5957:12;5921:50;5990:22;;6043:4;6035:13;;6031:27;-1:-1:-1;6021:55:1;;6072:1;6069;6062:12;6021:55;6095:73;6160:7;6155:2;6142:16;6137:2;6133;6129:11;6095:73;:::i;6179:184::-;6237:6;6290:2;6278:9;6269:7;6265:23;6261:32;6258:52;;;6306:1;6303;6296:12;6258:52;6329:28;6347:9;6329:28;:::i;6368:252::-;6432:6;6440;6493:2;6481:9;6472:7;6468:23;6464:32;6461:52;;;6509:1;6506;6499:12;6461:52;6532:28;6550:9;6532:28;:::i;6625:256::-;6691:6;6699;6752:2;6740:9;6731:7;6727:23;6723:32;6720:52;;;6768:1;6765;6758:12;6720:52;6791:28;6809:9;6791:28;:::i;:::-;6781:38;;6838:37;6871:2;6860:9;6856:18;6838:37;:::i;6886:252::-;6953:6;6961;7014:2;7002:9;6993:7;6989:23;6985:32;6982:52;;;7030:1;7027;7020:12;6982:52;7053:28;7071:9;7053:28;:::i;7143:180::-;7202:6;7255:2;7243:9;7234:7;7230:23;7226:32;7223:52;;;7271:1;7268;7261:12;7223:52;-1:-1:-1;7294:23:1;;7143:180;-1:-1:-1;7143:180:1:o;7328:184::-;7398:6;7451:2;7439:9;7430:7;7426:23;7422:32;7419:52;;;7467:1;7464;7457:12;7419:52;-1:-1:-1;7490:16:1;;7328:184;-1:-1:-1;7328:184:1:o;7517:315::-;7585:6;7593;7646:2;7634:9;7625:7;7621:23;7617:32;7614:52;;;7662:1;7659;7652:12;7614:52;7698:9;7685:23;7675:33;;7758:2;7747:9;7743:18;7730:32;7771:31;7796:5;7771:31;:::i;7837:257::-;7878:3;7916:5;7910:12;7943:6;7938:3;7931:19;7959:63;8015:6;8008:4;8003:3;7999:14;7992:4;7985:5;7981:16;7959:63;:::i;:::-;8076:2;8055:15;-1:-1:-1;;8051:29:1;8042:39;;;;8083:4;8038:50;;7837:257;-1:-1:-1;;7837:257:1:o;8099:637::-;8379:3;8417:6;8411:13;8433:53;8479:6;8474:3;8467:4;8459:6;8455:17;8433:53;:::i;:::-;8549:13;;8508:16;;;;8571:57;8549:13;8508:16;8605:4;8593:17;;8571:57;:::i;:::-;-1:-1:-1;;;8650:20:1;;8679:22;;;8728:1;8717:13;;8099:637;-1:-1:-1;;;;8099:637:1:o;8741:444::-;8973:3;9011:6;9005:13;9027:53;9073:6;9068:3;9061:4;9053:6;9049:17;9027:53;:::i;:::-;-1:-1:-1;;;9102:16:1;;9127:23;;;-1:-1:-1;9177:1:1;9166:13;;8741:444;-1:-1:-1;8741:444:1:o;10243:488::-;-1:-1:-1;;;;;10512:15:1;;;10494:34;;10564:15;;10559:2;10544:18;;10537:43;10611:2;10596:18;;10589:34;;;10659:3;10654:2;10639:18;;10632:31;;;10437:4;;10680:45;;10705:19;;10697:6;10680:45;:::i;:::-;10672:53;10243:488;-1:-1:-1;;;;;;10243:488:1:o;12046:219::-;12195:2;12184:9;12177:21;12158:4;12215:44;12255:2;12244:9;12240:18;12232:6;12215:44;:::i;12682:414::-;12884:2;12866:21;;;12923:2;12903:18;;;12896:30;12962:34;12957:2;12942:18;;12935:62;-1:-1:-1;;;13028:2:1;13013:18;;13006:48;13086:3;13071:19;;12682:414::o;13508:341::-;13710:2;13692:21;;;13749:2;13729:18;;;13722:30;-1:-1:-1;;;13783:2:1;13768:18;;13761:47;13840:2;13825:18;;13508:341::o;18780:356::-;18982:2;18964:21;;;19001:18;;;18994:30;19060:34;19055:2;19040:18;;19033:62;19127:2;19112:18;;18780:356::o;20364:413::-;20566:2;20548:21;;;20605:2;20585:18;;;20578:30;20644:34;20639:2;20624:18;;20617:62;-1:-1:-1;;;20710:2:1;20695:18;;20688:47;20767:3;20752:19;;20364:413::o;22321:224::-;22360:3;22388:6;22421:2;22418:1;22414:10;22451:2;22448:1;22444:10;22482:3;22478:2;22474:12;22469:3;22466:21;22463:47;;;22490:18;;:::i;:::-;22526:13;;22321:224;-1:-1:-1;;;;22321:224:1:o;22550:128::-;22590:3;22621:1;22617:6;22614:1;22611:13;22608:39;;;22627:18;;:::i;:::-;-1:-1:-1;22663:9:1;;22550:128::o;22683:120::-;22723:1;22749;22739:35;;22754:18;;:::i;:::-;-1:-1:-1;22788:9:1;;22683:120::o;22808:168::-;22848:7;22914:1;22910;22906:6;22902:14;22899:1;22896:21;22891:1;22884:9;22877:17;22873:45;22870:71;;;22921:18;;:::i;:::-;-1:-1:-1;22961:9:1;;22808:168::o;22981:125::-;23021:4;23049:1;23046;23043:8;23040:34;;;23054:18;;:::i;:::-;-1:-1:-1;23091:9:1;;22981:125::o;23111:258::-;23183:1;23193:113;23207:6;23204:1;23201:13;23193:113;;;23283:11;;;23277:18;23264:11;;;23257:39;23229:2;23222:10;23193:113;;;23324:6;23321:1;23318:13;23315:48;;;-1:-1:-1;;23359:1:1;23341:16;;23334:27;23111:258::o;23374:136::-;23413:3;23441:5;23431:39;;23450:18;;:::i;:::-;-1:-1:-1;;;23486:18:1;;23374:136::o;23515:380::-;23594:1;23590:12;;;;23637;;;23658:61;;23712:4;23704:6;23700:17;23690:27;;23658:61;23765:2;23757:6;23754:14;23734:18;23731:38;23728:161;;;23811:10;23806:3;23802:20;23799:1;23792:31;23846:4;23843:1;23836:15;23874:4;23871:1;23864:15;23728:161;;23515:380;;;:::o;23900:197::-;23938:3;23966:6;24007:2;24000:5;23996:14;24034:2;24025:7;24022:15;24019:41;;;24040:18;;:::i;:::-;24089:1;24076:15;;23900:197;-1:-1:-1;;;23900:197:1:o;24102:135::-;24141:3;-1:-1:-1;;24162:17:1;;24159:43;;;24182:18;;:::i;:::-;-1:-1:-1;24229:1:1;24218:13;;24102:135::o;24242:112::-;24274:1;24300;24290:35;;24305:18;;:::i;:::-;-1:-1:-1;24339:9:1;;24242:112::o;24359:127::-;24420:10;24415:3;24411:20;24408:1;24401:31;24451:4;24448:1;24441:15;24475:4;24472:1;24465:15;24491:127;24552:10;24547:3;24543:20;24540:1;24533:31;24583:4;24580:1;24573:15;24607:4;24604:1;24597:15;24623:127;24684:10;24679:3;24675:20;24672:1;24665:31;24715:4;24712:1;24705:15;24739:4;24736:1;24729:15;24755:127;24816:10;24811:3;24807:20;24804:1;24797:31;24847:4;24844:1;24837:15;24871:4;24868:1;24861:15;24887:127;24948:10;24943:3;24939:20;24936:1;24929:31;24979:4;24976:1;24969:15;25003:4;25000:1;24993:15;25019:131;-1:-1:-1;;;;;25094:31:1;;25084:42;;25074:70;;25140:1;25137;25130:12;25155:131;-1:-1:-1;;;;;;25229:32:1;;25219:43;;25209:71;;25276:1;25273;25266:12

Swarm Source

ipfs://2ff7c6cfe3cd9706e7ffa75e8950a4cac221fbe7c0a45968b6da243292d332dc

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.