ETH Price: $3,290.86 (-1.18%)

Contract

0xBBe23E96c48030dc5D4906E73C4876c254100D33
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Set Approval For...214594562024-12-22 17:13:5914 hrs ago1734887639IN
Reb3l Bots: RB Token
0 ETH0.000364577.81652523
Set Approval For...214585112024-12-22 14:03:4717 hrs ago1734876227IN
Reb3l Bots: RB Token
0 ETH0.000323326.93212654
Set Approval For...214539452024-12-21 22:45:4732 hrs ago1734821147IN
Reb3l Bots: RB Token
0 ETH0.000364767.82064465
Set Approval For...214524962024-12-21 17:52:1137 hrs ago1734803531IN
Reb3l Bots: RB Token
0 ETH0.000332047.10633224
Set Approval For...214520332024-12-21 16:19:1139 hrs ago1734797951IN
Reb3l Bots: RB Token
0 ETH0.0005269711.29851704
Set Approval For...214507082024-12-21 11:52:5943 hrs ago1734781979IN
Reb3l Bots: RB Token
0 ETH0.000363817.78636331
Set Approval For...214396082024-12-19 22:39:353 days ago1734647975IN
Reb3l Bots: RB Token
0 ETH0.0006533714.00859244
Set Approval For...214380562024-12-19 17:27:473 days ago1734629267IN
Reb3l Bots: RB Token
0 ETH0.0011365124.36733125
Set Approval For...214377032024-12-19 16:16:593 days ago1734625019IN
Reb3l Bots: RB Token
0 ETH0.0010697422.93569862
Set Approval For...214377032024-12-19 16:16:593 days ago1734625019IN
Reb3l Bots: RB Token
0 ETH0.0010716722.93569862
Set Approval For...214333372024-12-19 1:37:474 days ago1734572267IN
Reb3l Bots: RB Token
0 ETH0.0002912511.73791587
Set Approval For...214270152024-12-18 4:24:595 days ago1734495899IN
Reb3l Bots: RB Token
0 ETH0.0003281713.22584278
Set Approval For...214244452024-12-17 19:48:115 days ago1734464891IN
Reb3l Bots: RB Token
0 ETH0.0005144220.73217561
Set Approval For...214234182024-12-17 16:21:475 days ago1734452507IN
Reb3l Bots: RB Token
0 ETH0.0009380337.80412524
Set Approval For...214111002024-12-15 23:08:477 days ago1734304127IN
Reb3l Bots: RB Token
0 ETH0.0002858611.52085847
Set Approval For...214099462024-12-15 19:16:597 days ago1734290219IN
Reb3l Bots: RB Token
0 ETH0.0002760111.16157378
Set Approval For...214099442024-12-15 19:16:357 days ago1734290195IN
Reb3l Bots: RB Token
0 ETH0.000246859.97275062
Set Approval For...213983272024-12-14 4:20:239 days ago1734150023IN
Reb3l Bots: RB Token
0 ETH0.0005326211.41959844
Set Approval For...213830242024-12-12 1:04:3511 days ago1733965475IN
Reb3l Bots: RB Token
0 ETH0.0007999117.11968164
Set Approval For...213722292024-12-10 12:54:1112 days ago1733835251IN
Reb3l Bots: RB Token
0 ETH0.0008532418.26096632
Set Approval For...213636372024-12-09 8:05:5913 days ago1733731559IN
Reb3l Bots: RB Token
0 ETH0.0005005210.73135376
Set Approval For...213529222024-12-07 20:13:2315 days ago1733602403IN
Reb3l Bots: RB Token
0 ETH0.0004115816.58761224
Set Approval For...213508172024-12-07 13:09:1115 days ago1733576951IN
Reb3l Bots: RB Token
0 ETH0.0005570211.94284203
Safe Transfer Fr...213497742024-12-07 9:38:2315 days ago1733564303IN
Reb3l Bots: RB Token
0 ETH0.0014513816.52961701
Set Approval For...213202002024-12-03 6:30:5920 days ago1733207459IN
Reb3l Bots: RB Token
0 ETH0.0009020219.33971406
View all transactions

Latest 1 internal transaction

Advanced mode:
Parent Transaction Hash Block
From
To
129527102021-08-03 14:00:571237 days ago1627999257
Reb3l Bots: RB Token
32.82 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
RebelBots

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 1 : RebelBots.sol
/// SPDX-License-Identifier: MIT
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: flatten\contracts\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: flatten\contracts\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: flatten\contracts\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: flatten\contracts\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;
        // solhint-disable-next-line no-inline-assembly
        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");

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (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");

        // solhint-disable-next-line avoid-low-level-calls
        (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");

        // solhint-disable-next-line avoid-low-level-calls
        (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");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private 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

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

// File: flatten\contracts\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) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

// File: flatten\contracts\utils\Strings.sol


pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant alphabet = "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] = alphabet[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }

}

// File: flatten\contracts\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: flatten\contracts\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}. 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 {
        require(operator != _msgSender(), "ERC721: approve to caller");

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

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

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

// File: flatten\contracts\token\ERC721\extensions\ERC721URIStorage.sol


pragma solidity ^0.8.0;


/**
 * @dev ERC721 token with storage based token URI management.
 */
abstract contract ERC721URIStorage is ERC721 {
    using Strings for uint256;

    // Optional mapping for token URIs
    mapping (uint256 => string) private _tokenURIs;

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

        string memory _tokenURI = _tokenURIs[tokenId];
        string memory base = _baseURI();

        // If there is no base URI, return the token URI.
        if (bytes(base).length == 0) {
            return _tokenURI;
        }
        // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked).
        if (bytes(_tokenURI).length > 0) {
            return string(abi.encodePacked(base, _tokenURI));
        }

        return super.tokenURI(tokenId);
    }

    /**
     * @dev Sets `_tokenURI` as the tokenURI of `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual {
        require(_exists(tokenId), "ERC721URIStorage: URI set of nonexistent token");
        _tokenURIs[tokenId] = _tokenURI;
    }

    /**
     * @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 override {
        super._burn(tokenId);

        if (bytes(_tokenURIs[tokenId]).length != 0) {
            delete _tokenURIs[tokenId];
        }
    }
}

// File: flatten\contracts\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: flatten\contracts\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: flatten\contracts\token\ERC721\extensions\ERC721Burnable.sol


pragma solidity ^0.8.0;



/**
 * @title ERC721 Burnable Token
 * @dev ERC721 Token that can be irreversibly burned (destroyed).
 */
abstract contract ERC721Burnable is Context, ERC721 {
    /**
     * @dev Burns `tokenId`. See {ERC721-_burn}.
     *
     * Requirements:
     *
     * - The caller must own `tokenId` or be an approved operator.
     */
    function burn(uint256 tokenId) public virtual {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721Burnable: caller is not owner nor approved");
        _burn(tokenId);
    }
}

// File: flatten\contracts\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 () {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), 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 {
        emit OwnershipTransferred(_owner, address(0));
        _owner = 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");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

// File: flatten\contracts\security\Pausable.sol


pragma solidity ^0.8.0;


/**
 * @dev Contract module which allows children to implement an emergency stop
 * mechanism that can be triggered by an authorized account.
 *
 * This module is used through inheritance. It will make available the
 * modifiers `whenNotPaused` and `whenPaused`, which can be applied to
 * the functions of your contract. Note that they will not be pausable by
 * simply including this module, only once the modifiers are put in place.
 */
abstract contract Pausable is Context {
    /**
     * @dev Emitted when the pause is triggered by `account`.
     */
    event Paused(address account);

    /**
     * @dev Emitted when the pause is lifted by `account`.
     */
    event Unpaused(address account);

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state.
     */
    constructor () {
        _paused = false;
    }

    /**
     * @dev Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view virtual returns (bool) {
        return _paused;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    modifier whenNotPaused() {
        require(!paused(), "Pausable: paused");
        _;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    modifier whenPaused() {
        require(paused(), "Pausable: not paused");
        _;
    }

    /**
     * @dev Triggers stopped state.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    function _pause() internal virtual whenNotPaused {
        _paused = true;
        emit Paused(_msgSender());
    }

    /**
     * @dev Returns to normal state.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    function _unpause() internal virtual whenPaused {
        _paused = false;
        emit Unpaused(_msgSender());
    }
}


pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}


pragma solidity 0.8.4;

contract RebelBots is Ownable, Pausable, ERC721Enumerable  {

    using Strings for uint256;
    using SafeMath for uint256;

    string private _baseURIPrefix;

    uint private constant maxTokensPerTransaction = 10;
    uint256 private constant tokenPrice = 60000000000000000; //0.06 ETH
    uint256 private constant nftsNumber = 10000;

    constructor() ERC721("RebelBots", "RB") {
    }

    function setTokenURIPrefix(string memory baseURIPrefix_) public onlyOwner {
        _baseURIPrefix = baseURIPrefix_;
    }


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

    function getNftsNumber() public pure returns (uint256) {
        return nftsNumber;
    }

    function getTokenPrice() public pure returns (uint256) {
        return tokenPrice;
    }

    function withdraw() public onlyOwner {
        uint balance = address(this).balance;
        payable(msg.sender).transfer(balance);
    }

    function mintBots(uint tokensNumber) whenNotPaused public payable returns (uint[] memory) {
        require(tokensNumber <= maxTokensPerTransaction, "Max tokens per transaction number exceeded");
        require(totalSupply().add(tokensNumber) <= nftsNumber, "Tokens number to mint exceeds total number of tokens");
        require(tokenPrice.mul(tokensNumber) <= msg.value, "Ether value sent is too low");

        uint[] memory mintedIds = new uint[](tokensNumber);
        for(uint i = 0; i < tokensNumber; i++) {
            uint mintIndex = totalSupply();
            if (mintIndex < nftsNumber) {
                _safeMint(msg.sender, mintIndex);
                mintedIds[i] = mintIndex;
            }
        }

        return mintedIds;
    }

    function preMintBots(uint tokensNumber) public onlyOwner {
        require(totalSupply().add(tokensNumber) <= nftsNumber, "Tokens number to mint exceeds total number of tokens");
        for (uint i = 0; i < tokensNumber; i++) {
            uint mintIndex = totalSupply();
            if (mintIndex < nftsNumber) {
               _safeMint(msg.sender, mintIndex);
            }
        }
    }

    function preMintBotsTo(address to, uint tokensNumber) public onlyOwner {
        require(totalSupply().add(tokensNumber) <= nftsNumber, "Tokens number to mint exceeds total number of tokens");
        for (uint i = 0; i < tokensNumber; i++) {
            uint mintIndex = totalSupply();
            if (mintIndex < nftsNumber) {
               _safeMint(to, mintIndex);
            }
        }
    }


    function getLastUserBots(uint256 tokensNumber) public view returns (uint[] memory) {
        uint256 ownerBalance = ERC721.balanceOf(msg.sender);
        if (ownerBalance == 0) {
            return new uint[](0);
        }
        if (tokensNumber > ownerBalance) {
            tokensNumber = ownerBalance;
        }

        uint idx = 0;
        uint[] memory lastMintedTokensIds = new uint[](tokensNumber);
        for(uint i = ownerBalance; i > ownerBalance - tokensNumber; i--) {
            lastMintedTokensIds[idx++] = super.tokenOfOwnerByIndex(address(msg.sender), i - 1);
        }

        return lastMintedTokensIds;
    }

    function tokenExists(uint256 tokenId) external view returns (bool) {
        return super._exists(tokenId);
    }

    function tokenURI(uint256 tokenId) public view override(ERC721) 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()))

        : '';
    }

    modifier validDestination(address to) {
        require(to != address(0x0));
        require(to != address(this));
        _;
    }

    function pause() public onlyOwner {
        _pause();
    }

    function unpause() public onlyOwner {
        _unpause();
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokensNumber","type":"uint256"}],"name":"getLastUserBots","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getNftsNumber","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"getTokenPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","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":"uint256","name":"tokensNumber","type":"uint256"}],"name":"mintBots","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokensNumber","type":"uint256"}],"name":"preMintBots","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokensNumber","type":"uint256"}],"name":"preMintBotsTo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURIPrefix_","type":"string"}],"name":"setTokenURIPrefix","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenExists","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b506040518060400160405280600981526020017f526562656c426f747300000000000000000000000000000000000000000000008152506040518060400160405280600281526020017f52420000000000000000000000000000000000000000000000000000000000008152506000620000906200018260201b60201c565b9050806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35060008060146101000a81548160ff0219169083151502179055508160019080519060200190620001609291906200018a565b508060029080519060200190620001799291906200018a565b5050506200029f565b600033905090565b82805462000198906200023a565b90600052602060002090601f016020900481019282620001bc576000855562000208565b82601f10620001d757805160ff191683800117855562000208565b8280016001018555821562000208579182015b8281111562000207578251825591602001919060010190620001ea565b5b5090506200021791906200021b565b5090565b5b80821115620002365760008160009055506001016200021c565b5090565b600060028204905060018216806200025357607f821691505b602082108114156200026a576200026962000270565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b61470780620002af6000396000f3fe6080604052600436106101d75760003560e01c80635c975abb1161010257806399e0dd7c11610095578063b88d4fde11610064578063b88d4fde1461069c578063c87b56dd146106c5578063e985e9c514610702578063f2fde38b1461073f576101d7565b806399e0dd7c146105f6578063a22cb4651461061f578063a6b135d614610648578063b2ca425014610671576101d7565b8063715018a6116100d1578063715018a6146105725780638456cb59146105895780638da5cb5b146105a057806395d89b41146105cb576101d7565b80635c975abb146104a45780636352211e146104cf578063702974901461050c57806370a0823114610535576101d7565b80632f745c591161017a57806342842e0e1161014957806342842e0e146103e357806343fc665f1461040c5780634b94f50e1461043c5780634f6ccce714610467576101d7565b80632f745c591461033b57806339041e2e146103785780633ccfd60b146103b55780633f4ba83a146103cc576101d7565b8063081812fc116101b6578063081812fc14610281578063095ea7b3146102be57806318160ddd146102e757806323b872dd14610312576101d7565b8062923f9e146101dc57806301ffc9a71461021957806306fdde0314610256575b600080fd5b3480156101e857600080fd5b5061020360048036038101906101fe919061333c565b610768565b604051610210919061388c565b60405180910390f35b34801561022557600080fd5b50610240600480360381019061023b91906132a9565b61077a565b60405161024d919061388c565b60405180910390f35b34801561026257600080fd5b5061026b6107f4565b60405161027891906138a7565b60405180910390f35b34801561028d57600080fd5b506102a860048036038101906102a3919061333c565b610886565b6040516102b59190613803565b60405180910390f35b3480156102ca57600080fd5b506102e560048036038101906102e0919061326d565b61090b565b005b3480156102f357600080fd5b506102fc610a23565b6040516103099190613ba9565b60405180910390f35b34801561031e57600080fd5b5061033960048036038101906103349190613167565b610a30565b005b34801561034757600080fd5b50610362600480360381019061035d919061326d565b610a90565b60405161036f9190613ba9565b60405180910390f35b34801561038457600080fd5b5061039f600480360381019061039a919061333c565b610b35565b6040516103ac919061386a565b60405180910390f35b3480156103c157600080fd5b506103ca610ce5565b005b3480156103d857600080fd5b506103e1610db0565b005b3480156103ef57600080fd5b5061040a60048036038101906104059190613167565b610e36565b005b6104266004803603810190610421919061333c565b610e56565b604051610433919061386a565b60405180910390f35b34801561044857600080fd5b506104516110a1565b60405161045e9190613ba9565b60405180910390f35b34801561047357600080fd5b5061048e6004803603810190610489919061333c565b6110b0565b60405161049b9190613ba9565b60405180910390f35b3480156104b057600080fd5b506104b9611147565b6040516104c6919061388c565b60405180910390f35b3480156104db57600080fd5b506104f660048036038101906104f1919061333c565b61115d565b6040516105039190613803565b60405180910390f35b34801561051857600080fd5b50610533600480360381019061052e919061333c565b61120f565b005b34801561054157600080fd5b5061055c60048036038101906105579190613102565b61132d565b6040516105699190613ba9565b60405180910390f35b34801561057e57600080fd5b506105876113e5565b005b34801561059557600080fd5b5061059e61151f565b005b3480156105ac57600080fd5b506105b56115a5565b6040516105c29190613803565b60405180910390f35b3480156105d757600080fd5b506105e06115ce565b6040516105ed91906138a7565b60405180910390f35b34801561060257600080fd5b5061061d600480360381019061061891906132fb565b611660565b005b34801561062b57600080fd5b5061064660048036038101906106419190613231565b6116f6565b005b34801561065457600080fd5b5061066f600480360381019061066a919061326d565b611877565b005b34801561067d57600080fd5b50610686611996565b6040516106939190613ba9565b60405180910390f35b3480156106a857600080fd5b506106c360048036038101906106be91906131b6565b6119a0565b005b3480156106d157600080fd5b506106ec60048036038101906106e7919061333c565b611a02565b6040516106f991906138a7565b60405180910390f35b34801561070e57600080fd5b506107296004803603810190610724919061312b565b611aa9565b604051610736919061388c565b60405180910390f35b34801561074b57600080fd5b5061076660048036038101906107619190613102565b611b3d565b005b600061077382611ce6565b9050919050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806107ed57506107ec82611d52565b5b9050919050565b60606001805461080390613ebc565b80601f016020809104026020016040519081016040528092919081815260200182805461082f90613ebc565b801561087c5780601f106108515761010080835404028352916020019161087c565b820191906000526020600020905b81548152906001019060200180831161085f57829003601f168201915b5050505050905090565b600061089182611ce6565b6108d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108c790613aa9565b60405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006109168261115d565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610987576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161097e90613b29565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166109a6611e34565b73ffffffffffffffffffffffffffffffffffffffff1614806109d557506109d4816109cf611e34565b611aa9565b5b610a14576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0b906139e9565b60405180910390fd5b610a1e8383611e3c565b505050565b6000600980549050905090565b610a41610a3b611e34565b82611ef5565b610a80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a7790613b49565b60405180910390fd5b610a8b838383611fd3565b505050565b6000610a9b8361132d565b8210610adc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ad3906138e9565b60405180910390fd5b600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b60606000610b423361132d565b90506000811415610bc557600067ffffffffffffffff811115610b8e577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015610bbc5781602001602082028036833780820191505090505b50915050610ce0565b80831115610bd1578092505b6000808467ffffffffffffffff811115610c14577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015610c425781602001602082028036833780820191505090505b50905060008390505b8584610c579190613da8565b811115610cd857610c7433600183610c6f9190613da8565b610a90565b828480610c8090613f1f565b955081518110610cb9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010181815250508080610cd090613e92565b915050610c4b565b508093505050505b919050565b610ced611e34565b73ffffffffffffffffffffffffffffffffffffffff16610d0b6115a5565b73ffffffffffffffffffffffffffffffffffffffff1614610d61576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d5890613ac9565b60405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610dac573d6000803e3d6000fd5b5050565b610db8611e34565b73ffffffffffffffffffffffffffffffffffffffff16610dd66115a5565b73ffffffffffffffffffffffffffffffffffffffff1614610e2c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e2390613ac9565b60405180910390fd5b610e3461222f565b565b610e51838383604051806020016040528060008152506119a0565b505050565b6060610e60611147565b15610ea0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e97906139c9565b60405180910390fd5b600a821115610ee4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610edb90613b89565b60405180910390fd5b612710610f0183610ef3610a23565b6122d090919063ffffffff16565b1115610f42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f3990613a69565b60405180910390fd5b34610f5d8366d529ae9e8600006122e690919063ffffffff16565b1115610f9e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9590613a89565b60405180910390fd5b60008267ffffffffffffffff811115610fe0577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60405190808252806020026020018201604052801561100e5781602001602082028036833780820191505090505b50905060005b83811015611097576000611026610a23565b90506127108110156110835761103c33826122fc565b80838381518110611076577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010181815250505b50808061108f90613f1f565b915050611014565b5080915050919050565b600066d529ae9e860000905090565b60006110ba610a23565b82106110fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110f290613b69565b60405180910390fd5b60098281548110611135577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b60008060149054906101000a900460ff16905090565b6000806003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611206576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111fd90613a29565b60405180910390fd5b80915050919050565b611217611e34565b73ffffffffffffffffffffffffffffffffffffffff166112356115a5565b73ffffffffffffffffffffffffffffffffffffffff161461128b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161128290613ac9565b60405180910390fd5b6127106112a88261129a610a23565b6122d090919063ffffffff16565b11156112e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112e090613a69565b60405180910390fd5b60005b818110156113295760006112fe610a23565b90506127108110156113155761131433826122fc565b5b50808061132190613f1f565b9150506112ec565b5050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561139e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161139590613a09565b60405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6113ed611e34565b73ffffffffffffffffffffffffffffffffffffffff1661140b6115a5565b73ffffffffffffffffffffffffffffffffffffffff1614611461576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161145890613ac9565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b611527611e34565b73ffffffffffffffffffffffffffffffffffffffff166115456115a5565b73ffffffffffffffffffffffffffffffffffffffff161461159b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161159290613ac9565b60405180910390fd5b6115a361231a565b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600280546115dd90613ebc565b80601f016020809104026020016040519081016040528092919081815260200182805461160990613ebc565b80156116565780601f1061162b57610100808354040283529160200191611656565b820191906000526020600020905b81548152906001019060200180831161163957829003601f168201915b5050505050905090565b611668611e34565b73ffffffffffffffffffffffffffffffffffffffff166116866115a5565b73ffffffffffffffffffffffffffffffffffffffff16146116dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116d390613ac9565b60405180910390fd5b80600b90805190602001906116f2929190612f26565b5050565b6116fe611e34565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561176c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161176390613989565b60405180910390fd5b8060066000611779611e34565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611826611e34565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161186b919061388c565b60405180910390a35050565b61187f611e34565b73ffffffffffffffffffffffffffffffffffffffff1661189d6115a5565b73ffffffffffffffffffffffffffffffffffffffff16146118f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118ea90613ac9565b60405180910390fd5b61271061191082611902610a23565b6122d090919063ffffffff16565b1115611951576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161194890613a69565b60405180910390fd5b60005b81811015611991576000611966610a23565b905061271081101561197d5761197c84826122fc565b5b50808061198990613f1f565b915050611954565b505050565b6000612710905090565b6119b16119ab611e34565b83611ef5565b6119f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119e790613b49565b60405180910390fd5b6119fc848484846123bd565b50505050565b6060611a0d82611ce6565b611a4c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a4390613b09565b60405180910390fd5b6000611a56612419565b90506000815111611a765760405180602001604052806000815250611aa1565b80611a80846124ab565b604051602001611a919291906137df565b6040516020818303038152906040525b915050919050565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611b45611e34565b73ffffffffffffffffffffffffffffffffffffffff16611b636115a5565b73ffffffffffffffffffffffffffffffffffffffff1614611bb9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bb090613ac9565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611c29576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c2090613929565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60008073ffffffffffffffffffffffffffffffffffffffff166003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611e1d57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611e2d5750611e2c82612658565b5b9050919050565b600033905090565b816005600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611eaf8361115d565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611f0082611ce6565b611f3f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f36906139a9565b60405180910390fd5b6000611f4a8361115d565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611fb957508373ffffffffffffffffffffffffffffffffffffffff16611fa184610886565b73ffffffffffffffffffffffffffffffffffffffff16145b80611fca5750611fc98185611aa9565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611ff38261115d565b73ffffffffffffffffffffffffffffffffffffffff1614612049576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161204090613ae9565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156120b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120b090613969565b60405180910390fd5b6120c48383836126c2565b6120cf600082611e3c565b6001600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461211f9190613da8565b925050819055506001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546121769190613cc7565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b612237611147565b612276576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161226d906138c9565b60405180910390fd5b60008060146101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6122b9611e34565b6040516122c69190613803565b60405180910390a1565b600081836122de9190613cc7565b905092915050565b600081836122f49190613d4e565b905092915050565b6123168282604051806020016040528060008152506127d6565b5050565b612322611147565b15612362576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612359906139c9565b60405180910390fd5b6001600060146101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586123a6611e34565b6040516123b39190613803565b60405180910390a1565b6123c8848484611fd3565b6123d484848484612831565b612413576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161240a90613909565b60405180910390fd5b50505050565b6060600b805461242890613ebc565b80601f016020809104026020016040519081016040528092919081815260200182805461245490613ebc565b80156124a15780601f10612476576101008083540402835291602001916124a1565b820191906000526020600020905b81548152906001019060200180831161248457829003601f168201915b5050505050905090565b606060008214156124f3576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612653565b600082905060005b6000821461252557808061250e90613f1f565b915050600a8261251e9190613d1d565b91506124fb565b60008167ffffffffffffffff811115612567577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156125995781602001600182028036833780820191505090505b5090505b6000851461264c576001826125b29190613da8565b9150600a856125c19190613f68565b60306125cd9190613cc7565b60f81b818381518110612609577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856126459190613d1d565b945061259d565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6126cd8383836129c8565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156127105761270b816129cd565b61274f565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461274e5761274d8382612a16565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156127925761278d81612b83565b6127d1565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146127d0576127cf8282612cc6565b5b5b505050565b6127e08383612d45565b6127ed6000848484612831565b61282c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161282390613909565b60405180910390fd5b505050565b60006128528473ffffffffffffffffffffffffffffffffffffffff16612f13565b156129bb578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261287b611e34565b8786866040518563ffffffff1660e01b815260040161289d949392919061381e565b602060405180830381600087803b1580156128b757600080fd5b505af19250505080156128e857506040513d601f19601f820116820180604052508101906128e591906132d2565b60015b61296b573d8060008114612918576040519150601f19603f3d011682016040523d82523d6000602084013e61291d565b606091505b50600081511415612963576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161295a90613909565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506129c0565b600190505b949350505050565b505050565b600980549050600a600083815260200190815260200160002081905550600981908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612a238461132d565b612a2d9190613da8565b9050600060086000848152602001908152602001600020549050818114612b12576000600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816008600083815260200190815260200160002081905550505b6008600084815260200190815260200160002060009055600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600980549050612b979190613da8565b90506000600a6000848152602001908152602001600020549050600060098381548110612bed577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060098381548110612c35577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600a600083815260200190815260200160002081905550600a6000858152602001908152602001600020600090556009805480612caa577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000612cd18361132d565b905081600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806008600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612db5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612dac90613a49565b60405180910390fd5b612dbe81611ce6565b15612dfe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612df590613949565b60405180910390fd5b612e0a600083836126c2565b6001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612e5a9190613cc7565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b828054612f3290613ebc565b90600052602060002090601f016020900481019282612f545760008555612f9b565b82601f10612f6d57805160ff1916838001178555612f9b565b82800160010185558215612f9b579182015b82811115612f9a578251825591602001919060010190612f7f565b5b509050612fa89190612fac565b5090565b5b80821115612fc5576000816000905550600101612fad565b5090565b6000612fdc612fd784613be9565b613bc4565b905082815260208101848484011115612ff457600080fd5b612fff848285613e50565b509392505050565b600061301a61301584613c1a565b613bc4565b90508281526020810184848401111561303257600080fd5b61303d848285613e50565b509392505050565b60008135905061305481614675565b92915050565b6000813590506130698161468c565b92915050565b60008135905061307e816146a3565b92915050565b600081519050613093816146a3565b92915050565b600082601f8301126130aa57600080fd5b81356130ba848260208601612fc9565b91505092915050565b600082601f8301126130d457600080fd5b81356130e4848260208601613007565b91505092915050565b6000813590506130fc816146ba565b92915050565b60006020828403121561311457600080fd5b600061312284828501613045565b91505092915050565b6000806040838503121561313e57600080fd5b600061314c85828601613045565b925050602061315d85828601613045565b9150509250929050565b60008060006060848603121561317c57600080fd5b600061318a86828701613045565b935050602061319b86828701613045565b92505060406131ac868287016130ed565b9150509250925092565b600080600080608085870312156131cc57600080fd5b60006131da87828801613045565b94505060206131eb87828801613045565b93505060406131fc878288016130ed565b925050606085013567ffffffffffffffff81111561321957600080fd5b61322587828801613099565b91505092959194509250565b6000806040838503121561324457600080fd5b600061325285828601613045565b92505060206132638582860161305a565b9150509250929050565b6000806040838503121561328057600080fd5b600061328e85828601613045565b925050602061329f858286016130ed565b9150509250929050565b6000602082840312156132bb57600080fd5b60006132c98482850161306f565b91505092915050565b6000602082840312156132e457600080fd5b60006132f284828501613084565b91505092915050565b60006020828403121561330d57600080fd5b600082013567ffffffffffffffff81111561332757600080fd5b613333848285016130c3565b91505092915050565b60006020828403121561334e57600080fd5b600061335c848285016130ed565b91505092915050565b600061337183836137c1565b60208301905092915050565b61338681613ddc565b82525050565b600061339782613c5b565b6133a18185613c89565b93506133ac83613c4b565b8060005b838110156133dd5781516133c48882613365565b97506133cf83613c7c565b9250506001810190506133b0565b5085935050505092915050565b6133f381613dee565b82525050565b600061340482613c66565b61340e8185613c9a565b935061341e818560208601613e5f565b61342781614055565b840191505092915050565b600061343d82613c71565b6134478185613cab565b9350613457818560208601613e5f565b61346081614055565b840191505092915050565b600061347682613c71565b6134808185613cbc565b9350613490818560208601613e5f565b80840191505092915050565b60006134a9601483613cab565b91506134b482614066565b602082019050919050565b60006134cc602b83613cab565b91506134d78261408f565b604082019050919050565b60006134ef603283613cab565b91506134fa826140de565b604082019050919050565b6000613512602683613cab565b915061351d8261412d565b604082019050919050565b6000613535601c83613cab565b91506135408261417c565b602082019050919050565b6000613558602483613cab565b9150613563826141a5565b604082019050919050565b600061357b601983613cab565b9150613586826141f4565b602082019050919050565b600061359e602c83613cab565b91506135a98261421d565b604082019050919050565b60006135c1601083613cab565b91506135cc8261426c565b602082019050919050565b60006135e4603883613cab565b91506135ef82614295565b604082019050919050565b6000613607602a83613cab565b9150613612826142e4565b604082019050919050565b600061362a602983613cab565b915061363582614333565b604082019050919050565b600061364d602083613cab565b915061365882614382565b602082019050919050565b6000613670603483613cab565b915061367b826143ab565b604082019050919050565b6000613693601b83613cab565b915061369e826143fa565b602082019050919050565b60006136b6602c83613cab565b91506136c182614423565b604082019050919050565b60006136d9602083613cab565b91506136e482614472565b602082019050919050565b60006136fc602983613cab565b91506137078261449b565b604082019050919050565b600061371f602f83613cab565b915061372a826144ea565b604082019050919050565b6000613742602183613cab565b915061374d82614539565b604082019050919050565b6000613765603183613cab565b915061377082614588565b604082019050919050565b6000613788602c83613cab565b9150613793826145d7565b604082019050919050565b60006137ab602a83613cab565b91506137b682614626565b604082019050919050565b6137ca81613e46565b82525050565b6137d981613e46565b82525050565b60006137eb828561346b565b91506137f7828461346b565b91508190509392505050565b6000602082019050613818600083018461337d565b92915050565b6000608082019050613833600083018761337d565b613840602083018661337d565b61384d60408301856137d0565b818103606083015261385f81846133f9565b905095945050505050565b60006020820190508181036000830152613884818461338c565b905092915050565b60006020820190506138a160008301846133ea565b92915050565b600060208201905081810360008301526138c18184613432565b905092915050565b600060208201905081810360008301526138e28161349c565b9050919050565b60006020820190508181036000830152613902816134bf565b9050919050565b60006020820190508181036000830152613922816134e2565b9050919050565b6000602082019050818103600083015261394281613505565b9050919050565b6000602082019050818103600083015261396281613528565b9050919050565b600060208201905081810360008301526139828161354b565b9050919050565b600060208201905081810360008301526139a28161356e565b9050919050565b600060208201905081810360008301526139c281613591565b9050919050565b600060208201905081810360008301526139e2816135b4565b9050919050565b60006020820190508181036000830152613a02816135d7565b9050919050565b60006020820190508181036000830152613a22816135fa565b9050919050565b60006020820190508181036000830152613a428161361d565b9050919050565b60006020820190508181036000830152613a6281613640565b9050919050565b60006020820190508181036000830152613a8281613663565b9050919050565b60006020820190508181036000830152613aa281613686565b9050919050565b60006020820190508181036000830152613ac2816136a9565b9050919050565b60006020820190508181036000830152613ae2816136cc565b9050919050565b60006020820190508181036000830152613b02816136ef565b9050919050565b60006020820190508181036000830152613b2281613712565b9050919050565b60006020820190508181036000830152613b4281613735565b9050919050565b60006020820190508181036000830152613b6281613758565b9050919050565b60006020820190508181036000830152613b828161377b565b9050919050565b60006020820190508181036000830152613ba28161379e565b9050919050565b6000602082019050613bbe60008301846137d0565b92915050565b6000613bce613bdf565b9050613bda8282613eee565b919050565b6000604051905090565b600067ffffffffffffffff821115613c0457613c03614026565b5b613c0d82614055565b9050602081019050919050565b600067ffffffffffffffff821115613c3557613c34614026565b5b613c3e82614055565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000613cd282613e46565b9150613cdd83613e46565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613d1257613d11613f99565b5b828201905092915050565b6000613d2882613e46565b9150613d3383613e46565b925082613d4357613d42613fc8565b5b828204905092915050565b6000613d5982613e46565b9150613d6483613e46565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613d9d57613d9c613f99565b5b828202905092915050565b6000613db382613e46565b9150613dbe83613e46565b925082821015613dd157613dd0613f99565b5b828203905092915050565b6000613de782613e26565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015613e7d578082015181840152602081019050613e62565b83811115613e8c576000848401525b50505050565b6000613e9d82613e46565b91506000821415613eb157613eb0613f99565b5b600182039050919050565b60006002820490506001821680613ed457607f821691505b60208210811415613ee857613ee7613ff7565b5b50919050565b613ef782614055565b810181811067ffffffffffffffff82111715613f1657613f15614026565b5b80604052505050565b6000613f2a82613e46565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613f5d57613f5c613f99565b5b600182019050919050565b6000613f7382613e46565b9150613f7e83613e46565b925082613f8e57613f8d613fc8565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f546f6b656e73206e756d62657220746f206d696e74206578636565647320746f60008201527f74616c206e756d626572206f6620746f6b656e73000000000000000000000000602082015250565b7f45746865722076616c75652073656e7420697320746f6f206c6f770000000000600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f4d617820746f6b656e7320706572207472616e73616374696f6e206e756d626560008201527f7220657863656564656400000000000000000000000000000000000000000000602082015250565b61467e81613ddc565b811461468957600080fd5b50565b61469581613dee565b81146146a057600080fd5b50565b6146ac81613dfa565b81146146b757600080fd5b50565b6146c381613e46565b81146146ce57600080fd5b5056fea2646970667358221220073f281f0427a6a24a13efbd9ed000096ab06981f9468ce5c6c47af7b2dc14a464736f6c63430008040033

Deployed Bytecode

0x6080604052600436106101d75760003560e01c80635c975abb1161010257806399e0dd7c11610095578063b88d4fde11610064578063b88d4fde1461069c578063c87b56dd146106c5578063e985e9c514610702578063f2fde38b1461073f576101d7565b806399e0dd7c146105f6578063a22cb4651461061f578063a6b135d614610648578063b2ca425014610671576101d7565b8063715018a6116100d1578063715018a6146105725780638456cb59146105895780638da5cb5b146105a057806395d89b41146105cb576101d7565b80635c975abb146104a45780636352211e146104cf578063702974901461050c57806370a0823114610535576101d7565b80632f745c591161017a57806342842e0e1161014957806342842e0e146103e357806343fc665f1461040c5780634b94f50e1461043c5780634f6ccce714610467576101d7565b80632f745c591461033b57806339041e2e146103785780633ccfd60b146103b55780633f4ba83a146103cc576101d7565b8063081812fc116101b6578063081812fc14610281578063095ea7b3146102be57806318160ddd146102e757806323b872dd14610312576101d7565b8062923f9e146101dc57806301ffc9a71461021957806306fdde0314610256575b600080fd5b3480156101e857600080fd5b5061020360048036038101906101fe919061333c565b610768565b604051610210919061388c565b60405180910390f35b34801561022557600080fd5b50610240600480360381019061023b91906132a9565b61077a565b60405161024d919061388c565b60405180910390f35b34801561026257600080fd5b5061026b6107f4565b60405161027891906138a7565b60405180910390f35b34801561028d57600080fd5b506102a860048036038101906102a3919061333c565b610886565b6040516102b59190613803565b60405180910390f35b3480156102ca57600080fd5b506102e560048036038101906102e0919061326d565b61090b565b005b3480156102f357600080fd5b506102fc610a23565b6040516103099190613ba9565b60405180910390f35b34801561031e57600080fd5b5061033960048036038101906103349190613167565b610a30565b005b34801561034757600080fd5b50610362600480360381019061035d919061326d565b610a90565b60405161036f9190613ba9565b60405180910390f35b34801561038457600080fd5b5061039f600480360381019061039a919061333c565b610b35565b6040516103ac919061386a565b60405180910390f35b3480156103c157600080fd5b506103ca610ce5565b005b3480156103d857600080fd5b506103e1610db0565b005b3480156103ef57600080fd5b5061040a60048036038101906104059190613167565b610e36565b005b6104266004803603810190610421919061333c565b610e56565b604051610433919061386a565b60405180910390f35b34801561044857600080fd5b506104516110a1565b60405161045e9190613ba9565b60405180910390f35b34801561047357600080fd5b5061048e6004803603810190610489919061333c565b6110b0565b60405161049b9190613ba9565b60405180910390f35b3480156104b057600080fd5b506104b9611147565b6040516104c6919061388c565b60405180910390f35b3480156104db57600080fd5b506104f660048036038101906104f1919061333c565b61115d565b6040516105039190613803565b60405180910390f35b34801561051857600080fd5b50610533600480360381019061052e919061333c565b61120f565b005b34801561054157600080fd5b5061055c60048036038101906105579190613102565b61132d565b6040516105699190613ba9565b60405180910390f35b34801561057e57600080fd5b506105876113e5565b005b34801561059557600080fd5b5061059e61151f565b005b3480156105ac57600080fd5b506105b56115a5565b6040516105c29190613803565b60405180910390f35b3480156105d757600080fd5b506105e06115ce565b6040516105ed91906138a7565b60405180910390f35b34801561060257600080fd5b5061061d600480360381019061061891906132fb565b611660565b005b34801561062b57600080fd5b5061064660048036038101906106419190613231565b6116f6565b005b34801561065457600080fd5b5061066f600480360381019061066a919061326d565b611877565b005b34801561067d57600080fd5b50610686611996565b6040516106939190613ba9565b60405180910390f35b3480156106a857600080fd5b506106c360048036038101906106be91906131b6565b6119a0565b005b3480156106d157600080fd5b506106ec60048036038101906106e7919061333c565b611a02565b6040516106f991906138a7565b60405180910390f35b34801561070e57600080fd5b506107296004803603810190610724919061312b565b611aa9565b604051610736919061388c565b60405180910390f35b34801561074b57600080fd5b5061076660048036038101906107619190613102565b611b3d565b005b600061077382611ce6565b9050919050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806107ed57506107ec82611d52565b5b9050919050565b60606001805461080390613ebc565b80601f016020809104026020016040519081016040528092919081815260200182805461082f90613ebc565b801561087c5780601f106108515761010080835404028352916020019161087c565b820191906000526020600020905b81548152906001019060200180831161085f57829003601f168201915b5050505050905090565b600061089182611ce6565b6108d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108c790613aa9565b60405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006109168261115d565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610987576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161097e90613b29565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166109a6611e34565b73ffffffffffffffffffffffffffffffffffffffff1614806109d557506109d4816109cf611e34565b611aa9565b5b610a14576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0b906139e9565b60405180910390fd5b610a1e8383611e3c565b505050565b6000600980549050905090565b610a41610a3b611e34565b82611ef5565b610a80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a7790613b49565b60405180910390fd5b610a8b838383611fd3565b505050565b6000610a9b8361132d565b8210610adc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ad3906138e9565b60405180910390fd5b600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b60606000610b423361132d565b90506000811415610bc557600067ffffffffffffffff811115610b8e577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015610bbc5781602001602082028036833780820191505090505b50915050610ce0565b80831115610bd1578092505b6000808467ffffffffffffffff811115610c14577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015610c425781602001602082028036833780820191505090505b50905060008390505b8584610c579190613da8565b811115610cd857610c7433600183610c6f9190613da8565b610a90565b828480610c8090613f1f565b955081518110610cb9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010181815250508080610cd090613e92565b915050610c4b565b508093505050505b919050565b610ced611e34565b73ffffffffffffffffffffffffffffffffffffffff16610d0b6115a5565b73ffffffffffffffffffffffffffffffffffffffff1614610d61576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d5890613ac9565b60405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610dac573d6000803e3d6000fd5b5050565b610db8611e34565b73ffffffffffffffffffffffffffffffffffffffff16610dd66115a5565b73ffffffffffffffffffffffffffffffffffffffff1614610e2c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e2390613ac9565b60405180910390fd5b610e3461222f565b565b610e51838383604051806020016040528060008152506119a0565b505050565b6060610e60611147565b15610ea0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e97906139c9565b60405180910390fd5b600a821115610ee4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610edb90613b89565b60405180910390fd5b612710610f0183610ef3610a23565b6122d090919063ffffffff16565b1115610f42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f3990613a69565b60405180910390fd5b34610f5d8366d529ae9e8600006122e690919063ffffffff16565b1115610f9e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9590613a89565b60405180910390fd5b60008267ffffffffffffffff811115610fe0577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60405190808252806020026020018201604052801561100e5781602001602082028036833780820191505090505b50905060005b83811015611097576000611026610a23565b90506127108110156110835761103c33826122fc565b80838381518110611076577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010181815250505b50808061108f90613f1f565b915050611014565b5080915050919050565b600066d529ae9e860000905090565b60006110ba610a23565b82106110fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110f290613b69565b60405180910390fd5b60098281548110611135577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b60008060149054906101000a900460ff16905090565b6000806003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611206576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111fd90613a29565b60405180910390fd5b80915050919050565b611217611e34565b73ffffffffffffffffffffffffffffffffffffffff166112356115a5565b73ffffffffffffffffffffffffffffffffffffffff161461128b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161128290613ac9565b60405180910390fd5b6127106112a88261129a610a23565b6122d090919063ffffffff16565b11156112e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112e090613a69565b60405180910390fd5b60005b818110156113295760006112fe610a23565b90506127108110156113155761131433826122fc565b5b50808061132190613f1f565b9150506112ec565b5050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561139e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161139590613a09565b60405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6113ed611e34565b73ffffffffffffffffffffffffffffffffffffffff1661140b6115a5565b73ffffffffffffffffffffffffffffffffffffffff1614611461576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161145890613ac9565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b611527611e34565b73ffffffffffffffffffffffffffffffffffffffff166115456115a5565b73ffffffffffffffffffffffffffffffffffffffff161461159b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161159290613ac9565b60405180910390fd5b6115a361231a565b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600280546115dd90613ebc565b80601f016020809104026020016040519081016040528092919081815260200182805461160990613ebc565b80156116565780601f1061162b57610100808354040283529160200191611656565b820191906000526020600020905b81548152906001019060200180831161163957829003601f168201915b5050505050905090565b611668611e34565b73ffffffffffffffffffffffffffffffffffffffff166116866115a5565b73ffffffffffffffffffffffffffffffffffffffff16146116dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116d390613ac9565b60405180910390fd5b80600b90805190602001906116f2929190612f26565b5050565b6116fe611e34565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561176c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161176390613989565b60405180910390fd5b8060066000611779611e34565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611826611e34565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161186b919061388c565b60405180910390a35050565b61187f611e34565b73ffffffffffffffffffffffffffffffffffffffff1661189d6115a5565b73ffffffffffffffffffffffffffffffffffffffff16146118f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118ea90613ac9565b60405180910390fd5b61271061191082611902610a23565b6122d090919063ffffffff16565b1115611951576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161194890613a69565b60405180910390fd5b60005b81811015611991576000611966610a23565b905061271081101561197d5761197c84826122fc565b5b50808061198990613f1f565b915050611954565b505050565b6000612710905090565b6119b16119ab611e34565b83611ef5565b6119f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119e790613b49565b60405180910390fd5b6119fc848484846123bd565b50505050565b6060611a0d82611ce6565b611a4c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a4390613b09565b60405180910390fd5b6000611a56612419565b90506000815111611a765760405180602001604052806000815250611aa1565b80611a80846124ab565b604051602001611a919291906137df565b6040516020818303038152906040525b915050919050565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611b45611e34565b73ffffffffffffffffffffffffffffffffffffffff16611b636115a5565b73ffffffffffffffffffffffffffffffffffffffff1614611bb9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bb090613ac9565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611c29576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c2090613929565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60008073ffffffffffffffffffffffffffffffffffffffff166003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611e1d57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611e2d5750611e2c82612658565b5b9050919050565b600033905090565b816005600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611eaf8361115d565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611f0082611ce6565b611f3f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f36906139a9565b60405180910390fd5b6000611f4a8361115d565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611fb957508373ffffffffffffffffffffffffffffffffffffffff16611fa184610886565b73ffffffffffffffffffffffffffffffffffffffff16145b80611fca5750611fc98185611aa9565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611ff38261115d565b73ffffffffffffffffffffffffffffffffffffffff1614612049576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161204090613ae9565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156120b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120b090613969565b60405180910390fd5b6120c48383836126c2565b6120cf600082611e3c565b6001600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461211f9190613da8565b925050819055506001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546121769190613cc7565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b612237611147565b612276576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161226d906138c9565b60405180910390fd5b60008060146101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6122b9611e34565b6040516122c69190613803565b60405180910390a1565b600081836122de9190613cc7565b905092915050565b600081836122f49190613d4e565b905092915050565b6123168282604051806020016040528060008152506127d6565b5050565b612322611147565b15612362576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612359906139c9565b60405180910390fd5b6001600060146101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586123a6611e34565b6040516123b39190613803565b60405180910390a1565b6123c8848484611fd3565b6123d484848484612831565b612413576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161240a90613909565b60405180910390fd5b50505050565b6060600b805461242890613ebc565b80601f016020809104026020016040519081016040528092919081815260200182805461245490613ebc565b80156124a15780601f10612476576101008083540402835291602001916124a1565b820191906000526020600020905b81548152906001019060200180831161248457829003601f168201915b5050505050905090565b606060008214156124f3576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612653565b600082905060005b6000821461252557808061250e90613f1f565b915050600a8261251e9190613d1d565b91506124fb565b60008167ffffffffffffffff811115612567577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156125995781602001600182028036833780820191505090505b5090505b6000851461264c576001826125b29190613da8565b9150600a856125c19190613f68565b60306125cd9190613cc7565b60f81b818381518110612609577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856126459190613d1d565b945061259d565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6126cd8383836129c8565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156127105761270b816129cd565b61274f565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461274e5761274d8382612a16565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156127925761278d81612b83565b6127d1565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146127d0576127cf8282612cc6565b5b5b505050565b6127e08383612d45565b6127ed6000848484612831565b61282c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161282390613909565b60405180910390fd5b505050565b60006128528473ffffffffffffffffffffffffffffffffffffffff16612f13565b156129bb578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261287b611e34565b8786866040518563ffffffff1660e01b815260040161289d949392919061381e565b602060405180830381600087803b1580156128b757600080fd5b505af19250505080156128e857506040513d601f19601f820116820180604052508101906128e591906132d2565b60015b61296b573d8060008114612918576040519150601f19603f3d011682016040523d82523d6000602084013e61291d565b606091505b50600081511415612963576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161295a90613909565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506129c0565b600190505b949350505050565b505050565b600980549050600a600083815260200190815260200160002081905550600981908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612a238461132d565b612a2d9190613da8565b9050600060086000848152602001908152602001600020549050818114612b12576000600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816008600083815260200190815260200160002081905550505b6008600084815260200190815260200160002060009055600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600980549050612b979190613da8565b90506000600a6000848152602001908152602001600020549050600060098381548110612bed577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060098381548110612c35577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600a600083815260200190815260200160002081905550600a6000858152602001908152602001600020600090556009805480612caa577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000612cd18361132d565b905081600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806008600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612db5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612dac90613a49565b60405180910390fd5b612dbe81611ce6565b15612dfe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612df590613949565b60405180910390fd5b612e0a600083836126c2565b6001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612e5a9190613cc7565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b828054612f3290613ebc565b90600052602060002090601f016020900481019282612f545760008555612f9b565b82601f10612f6d57805160ff1916838001178555612f9b565b82800160010185558215612f9b579182015b82811115612f9a578251825591602001919060010190612f7f565b5b509050612fa89190612fac565b5090565b5b80821115612fc5576000816000905550600101612fad565b5090565b6000612fdc612fd784613be9565b613bc4565b905082815260208101848484011115612ff457600080fd5b612fff848285613e50565b509392505050565b600061301a61301584613c1a565b613bc4565b90508281526020810184848401111561303257600080fd5b61303d848285613e50565b509392505050565b60008135905061305481614675565b92915050565b6000813590506130698161468c565b92915050565b60008135905061307e816146a3565b92915050565b600081519050613093816146a3565b92915050565b600082601f8301126130aa57600080fd5b81356130ba848260208601612fc9565b91505092915050565b600082601f8301126130d457600080fd5b81356130e4848260208601613007565b91505092915050565b6000813590506130fc816146ba565b92915050565b60006020828403121561311457600080fd5b600061312284828501613045565b91505092915050565b6000806040838503121561313e57600080fd5b600061314c85828601613045565b925050602061315d85828601613045565b9150509250929050565b60008060006060848603121561317c57600080fd5b600061318a86828701613045565b935050602061319b86828701613045565b92505060406131ac868287016130ed565b9150509250925092565b600080600080608085870312156131cc57600080fd5b60006131da87828801613045565b94505060206131eb87828801613045565b93505060406131fc878288016130ed565b925050606085013567ffffffffffffffff81111561321957600080fd5b61322587828801613099565b91505092959194509250565b6000806040838503121561324457600080fd5b600061325285828601613045565b92505060206132638582860161305a565b9150509250929050565b6000806040838503121561328057600080fd5b600061328e85828601613045565b925050602061329f858286016130ed565b9150509250929050565b6000602082840312156132bb57600080fd5b60006132c98482850161306f565b91505092915050565b6000602082840312156132e457600080fd5b60006132f284828501613084565b91505092915050565b60006020828403121561330d57600080fd5b600082013567ffffffffffffffff81111561332757600080fd5b613333848285016130c3565b91505092915050565b60006020828403121561334e57600080fd5b600061335c848285016130ed565b91505092915050565b600061337183836137c1565b60208301905092915050565b61338681613ddc565b82525050565b600061339782613c5b565b6133a18185613c89565b93506133ac83613c4b565b8060005b838110156133dd5781516133c48882613365565b97506133cf83613c7c565b9250506001810190506133b0565b5085935050505092915050565b6133f381613dee565b82525050565b600061340482613c66565b61340e8185613c9a565b935061341e818560208601613e5f565b61342781614055565b840191505092915050565b600061343d82613c71565b6134478185613cab565b9350613457818560208601613e5f565b61346081614055565b840191505092915050565b600061347682613c71565b6134808185613cbc565b9350613490818560208601613e5f565b80840191505092915050565b60006134a9601483613cab565b91506134b482614066565b602082019050919050565b60006134cc602b83613cab565b91506134d78261408f565b604082019050919050565b60006134ef603283613cab565b91506134fa826140de565b604082019050919050565b6000613512602683613cab565b915061351d8261412d565b604082019050919050565b6000613535601c83613cab565b91506135408261417c565b602082019050919050565b6000613558602483613cab565b9150613563826141a5565b604082019050919050565b600061357b601983613cab565b9150613586826141f4565b602082019050919050565b600061359e602c83613cab565b91506135a98261421d565b604082019050919050565b60006135c1601083613cab565b91506135cc8261426c565b602082019050919050565b60006135e4603883613cab565b91506135ef82614295565b604082019050919050565b6000613607602a83613cab565b9150613612826142e4565b604082019050919050565b600061362a602983613cab565b915061363582614333565b604082019050919050565b600061364d602083613cab565b915061365882614382565b602082019050919050565b6000613670603483613cab565b915061367b826143ab565b604082019050919050565b6000613693601b83613cab565b915061369e826143fa565b602082019050919050565b60006136b6602c83613cab565b91506136c182614423565b604082019050919050565b60006136d9602083613cab565b91506136e482614472565b602082019050919050565b60006136fc602983613cab565b91506137078261449b565b604082019050919050565b600061371f602f83613cab565b915061372a826144ea565b604082019050919050565b6000613742602183613cab565b915061374d82614539565b604082019050919050565b6000613765603183613cab565b915061377082614588565b604082019050919050565b6000613788602c83613cab565b9150613793826145d7565b604082019050919050565b60006137ab602a83613cab565b91506137b682614626565b604082019050919050565b6137ca81613e46565b82525050565b6137d981613e46565b82525050565b60006137eb828561346b565b91506137f7828461346b565b91508190509392505050565b6000602082019050613818600083018461337d565b92915050565b6000608082019050613833600083018761337d565b613840602083018661337d565b61384d60408301856137d0565b818103606083015261385f81846133f9565b905095945050505050565b60006020820190508181036000830152613884818461338c565b905092915050565b60006020820190506138a160008301846133ea565b92915050565b600060208201905081810360008301526138c18184613432565b905092915050565b600060208201905081810360008301526138e28161349c565b9050919050565b60006020820190508181036000830152613902816134bf565b9050919050565b60006020820190508181036000830152613922816134e2565b9050919050565b6000602082019050818103600083015261394281613505565b9050919050565b6000602082019050818103600083015261396281613528565b9050919050565b600060208201905081810360008301526139828161354b565b9050919050565b600060208201905081810360008301526139a28161356e565b9050919050565b600060208201905081810360008301526139c281613591565b9050919050565b600060208201905081810360008301526139e2816135b4565b9050919050565b60006020820190508181036000830152613a02816135d7565b9050919050565b60006020820190508181036000830152613a22816135fa565b9050919050565b60006020820190508181036000830152613a428161361d565b9050919050565b60006020820190508181036000830152613a6281613640565b9050919050565b60006020820190508181036000830152613a8281613663565b9050919050565b60006020820190508181036000830152613aa281613686565b9050919050565b60006020820190508181036000830152613ac2816136a9565b9050919050565b60006020820190508181036000830152613ae2816136cc565b9050919050565b60006020820190508181036000830152613b02816136ef565b9050919050565b60006020820190508181036000830152613b2281613712565b9050919050565b60006020820190508181036000830152613b4281613735565b9050919050565b60006020820190508181036000830152613b6281613758565b9050919050565b60006020820190508181036000830152613b828161377b565b9050919050565b60006020820190508181036000830152613ba28161379e565b9050919050565b6000602082019050613bbe60008301846137d0565b92915050565b6000613bce613bdf565b9050613bda8282613eee565b919050565b6000604051905090565b600067ffffffffffffffff821115613c0457613c03614026565b5b613c0d82614055565b9050602081019050919050565b600067ffffffffffffffff821115613c3557613c34614026565b5b613c3e82614055565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000613cd282613e46565b9150613cdd83613e46565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613d1257613d11613f99565b5b828201905092915050565b6000613d2882613e46565b9150613d3383613e46565b925082613d4357613d42613fc8565b5b828204905092915050565b6000613d5982613e46565b9150613d6483613e46565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613d9d57613d9c613f99565b5b828202905092915050565b6000613db382613e46565b9150613dbe83613e46565b925082821015613dd157613dd0613f99565b5b828203905092915050565b6000613de782613e26565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015613e7d578082015181840152602081019050613e62565b83811115613e8c576000848401525b50505050565b6000613e9d82613e46565b91506000821415613eb157613eb0613f99565b5b600182039050919050565b60006002820490506001821680613ed457607f821691505b60208210811415613ee857613ee7613ff7565b5b50919050565b613ef782614055565b810181811067ffffffffffffffff82111715613f1657613f15614026565b5b80604052505050565b6000613f2a82613e46565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613f5d57613f5c613f99565b5b600182019050919050565b6000613f7382613e46565b9150613f7e83613e46565b925082613f8e57613f8d613fc8565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f546f6b656e73206e756d62657220746f206d696e74206578636565647320746f60008201527f74616c206e756d626572206f6620746f6b656e73000000000000000000000000602082015250565b7f45746865722076616c75652073656e7420697320746f6f206c6f770000000000600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f4d617820746f6b656e7320706572207472616e73616374696f6e206e756d626560008201527f7220657863656564656400000000000000000000000000000000000000000000602082015250565b61467e81613ddc565b811461468957600080fd5b50565b61469581613dee565b81146146a057600080fd5b50565b6146ac81613dfa565b81146146b757600080fd5b50565b6146c381613e46565b81146146ce57600080fd5b5056fea2646970667358221220073f281f0427a6a24a13efbd9ed000096ab06981f9468ce5c6c47af7b2dc14a464736f6c63430008040033

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.