ETH Price: $3,051.85 (+2.40%)
Gas: 1 Gwei

Token

OniWorld (ONINFT)
 

Overview

Max Total Supply

202 ONINFT

Holders

168

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
fanflip.eth
Balance
1 ONINFT
0x70F5D1620C738F25eEcecc3473272D18E2a29FA9
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
OniWorld

Compiler Version
v0.8.10+commit.fc410830

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2021-11-26
*/

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.10;

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. 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;
        }
    }
}
library Strings {
    bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}
abstract contract ContextMixin {
    function msgSender() internal view returns (address payable sender) {
        if (msg.sender == address(this)) {
            bytes memory array = msg.data;
            uint256 index = msg.data.length;
            assembly {
                // Load the 32 bytes word from memory with the address on the lower 20 bytes, and mask those.
                sender := and(
                    mload(add(array, index)),
                    0xffffffffffffffffffffffffffffffffffffffff
                )
            }
        } else {
            sender = payable(msg.sender);
        }
        return sender;
    }
}
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}
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() {
        _setOwner(_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 {
        _setOwner(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"
        );
        _setOwner(newOwner);
    }

    function _setOwner(address newOwner) private {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}
abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId)
        public
        view
        virtual
        override
        returns (bool)
    {
        return interfaceId == type(IERC165).interfaceId;
    }
}

contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved)
        public
        virtual
        override
    {
        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.onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert(
                        "ERC721: transfer to non ERC721Receiver implementer"
                    );
                } else {
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

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

contract OniWorld is
    ContextMixin,
    ERC721Enumerable,
    Ownable
{
    using SafeMath for uint256;

    uint256 public _currentTokenId = 0;

    uint256 MAX_SUPPLY =  12000;
    
    string[5] public baseTokenURI = [
        "https://oniworld.mypinata.cloud/ipfs/Qmb85VnHn6BkLA3BBAsncnHH884ov18ttiKoKcM8BrH2hR/",
        "https://oniworld.mypinata.cloud/ipfs/QmdYzGee7R9GXsVBmZBiN27KfFSrxc4ATehuPmZEN2erkz/",
        "https://oniworld.mypinata.cloud/ipfs/QmQdD1kcahFtyP9NQLCqgYmTpVbqz8xovqbKt9ir225o2s/",
        "https://oniworld.mypinata.cloud/ipfs/QmNnhHg3RSd72axM7x6wmebyWjmzyiUdPVyb5siRCStjxJ/",
        "https://oniworld.mypinata.cloud/ipfs/QmdsGos9TNUpT4mAYmj4vbYGb3jvYyHxZWqZqbXSt2xPmK/"
        ];
        
    uint256 public NFT_small_price = 0.059 ether; 
    uint256 public NFT_big_price = 0.129 ether; 

    uint256 public startTime = 1637942100; // 26 Nov 22:55:00 UTC+7 - 1637942100
    string _name = "OniWorld";
    string _symbol = "ONINFT";
    
    bool public is_promotion = true;
    bool public is_surprise = true;
    bool public is_test_open = false;
    
    uint8 public currentRound = 1;
    
    mapping(uint256 => uint8) public oni;
    uint8 maxLevel = 4;

    //Smart Contract Events
    event OniLevelIncreased(uint256 tokenId, uint previousLevel, uint8 currentLevel);
    event NewBaseURISet(uint256 tokenId, string newBaseURI);
    event SurpriseClaimed(address owner, uint256 claimTokenId);
    event OniMinted(address minter, uint256 tokenId);
    event OniTestingResult(uint256 tokenId, bool passed);

    constructor() ERC721(_name, _symbol) {
    }

    /**
    * @dev check if function called by the tokensOwner ? 
    */
    modifier onlyOniOwner(uint256[] calldata providedTokens) {
        uint256 matchedTokenCount = 0;
        uint256[] memory ownedTokens = _walletOfOwner(_msgSender());
        uint256[] memory matchedTokens = new uint256[](ownedTokens.length);
        for(uint256 i = 0; i < providedTokens.length; i++) {
            for(uint256 j = 0; j < ownedTokens.length; j++) {
                if(providedTokens[i] == ownedTokens[j]) {
                    if(providedTokens[i] != matchedTokens[j]) {
                        matchedTokens[j] = providedTokens[i];
                        matchedTokenCount++;
                    } 
                }
            }
        }
        require(matchedTokenCount == providedTokens.length, 'Only the owner of all tokens and no duplication can use this function.');
        _;
    }
    
    function _walletOfOwner(address _owner) internal view returns(uint256[] memory) {
        uint256 tokenCount = balanceOf(_owner);

        uint256[] memory tokensId = new uint256[](tokenCount);
        for(uint256 i = 0; i < tokenCount; i++){
            tokensId[i] = tokenOfOwnerByIndex(_owner, i);
        }
        return tokensId;
    }

    /**
    * @dev level checking   
    */
    function checkOniLevel(uint256[] calldata tokens, uint8 level) public view returns(bool) {
        uint256 validTokenCount = 0;
        for(uint256 i  = 0; i < tokens.length; i++) {
            if(oni[tokens[i]] == level) {
                validTokenCount++;
            }
        }
        
        if(tokens.length == validTokenCount) {
            return true;
        } else {
            return false;
        }
    }
    /** 
     * @dev check if tokens can be tested.
    */
    function _onlyCanTest(uint256[] calldata tokens) internal view returns(bool) {
        uint failed = 0;
        for(uint256 i = 0; i < tokens.length; i++) {
            if(oni[tokens[i]] == 1) {
                failed++;
            }
        }
        
        if(failed > 0) {
            return false;
        } else {
            return true;
        }
    }

    /**
    * @dev level up 
    */
    function _increseOniLevel(uint256 tokenId, uint8 level) internal {
        uint8 previousLevel = oni[tokenId];
        require(previousLevel != 1, 'Only token that passed the test.');
        require(previousLevel <= maxLevel, 'Token max level reached.');
        oni[tokenId] = previousLevel + level;

        emit OniLevelIncreased(tokenId, previousLevel, oni[tokenId]);
    }
    
    /**
     * @dev calculate chance
    */
    function _calculateChance() internal view returns(uint256) {
        uint256 rand = uint256(keccak256(abi.encodePacked(Strings.toString(block.timestamp))));
        uint256 chance = rand.mod(100).add(1);
        return chance;
    }
    
    /** 
     * @dev update winning token and set fail = true to all the rest.
    */
    
    function _batchUpdate(uint256[] calldata tokens, uint8 level) internal {
         _increseOniLevel(tokens[0], level);
        for(uint256 i = 1; i < tokens.length; i++) {
            _updateFailToken(tokens[i]);
        }
    }
    
    /**
     * @dev update token to fail status
    */
    
    function _updateFailToken(uint256 tokenId) internal {
        oni[tokenId] = 1;
    }
    
    /**
     * @dev next round
    */
    function setNextRound() public onlyOwner {
        require(currentRound < 3,'We are at the final round now.');
        currentRound++;
    }
    
    /**
     * @dev start-stop testing function
    */
    function setOpenTest(bool val) public onlyOwner {
        is_test_open = val;
    }
    
    //Testing function
    /** 
    * @dev 3 round to be at level 4 (need to pass 3 stages (1 - 4)) - oni start at level 0, (** level 1 is the token that fail the test).
    */
    function oniTest(uint256[] calldata tokens) public onlyOniOwner(tokens) {
      require(tokens.length > 0, 'Please provide at least 1 oni into the test');
      require(_onlyCanTest(tokens), 'Please provide available Oni');
      require(is_test_open, 'The pilgrimage is close');
      
      if(tokens.length < 2) {
          //calculate chance;
          uint chance = _calculateChance();
          
          //Round 1
          if(currentRound == 1 && checkOniLevel(tokens, 0) && chance <= 40) {
              _increseOniLevel(tokens[0], 2);
          } else {
              _updateFailToken(tokens[0]);
          }
          
          //Round 2
          if(currentRound == 2) {
              if(checkOniLevel(tokens, 2) && chance <= 40) {
                  _increseOniLevel(tokens[0], 1);
              } else if (checkOniLevel(tokens, 1) && chance <= 16) {
                  _increseOniLevel(tokens[0], 2);
              } else {
                  _updateFailToken(tokens[0]);
              }
          }
          
          //Round 3
          if(currentRound == 3) {
              if(checkOniLevel(tokens, 3) && chance <= 40) {
                  _increseOniLevel(tokens[0], 1);
              } else if (checkOniLevel(tokens, 2) && chance <= 16) {
                  _increseOniLevel(tokens[0], 2);
              } else if (checkOniLevel(tokens, 1) && chance <= 6) {
                  _increseOniLevel(tokens[0], 3);
              } else {
                  _updateFailToken(tokens[0]);
              }
          }
     
      } else {
         //multiple tokens provided
         if(currentRound == 1 && checkOniLevel(tokens, 0)) {
             // round 1
             require(tokens.length == 2, '[ROUND 1] Need 2 Oni with level 0 for this testing.');
             _batchUpdate(tokens, 2);
         }
         
         if(currentRound == 2) {
             // round 2
             if(checkOniLevel(tokens, 2)) {
                 require(tokens.length == 2, '[ROUND 2] Need 2 Oni with level 2 for this testing.');
                 _batchUpdate(tokens, 1);
             } 
             if (checkOniLevel(tokens, 0)) {
                 require(tokens.length == 4, '[ROUND 2] Need 4 Oni with level 0 for this testing.');
                 _batchUpdate(tokens, 3);
             }
         }
         
         if(currentRound == 3) {
             // round 3
             if(checkOniLevel(tokens, 3)) {
                 require(tokens.length == 2, '[ROUND 3] Need 2 Oni with level 3 for this testing.');
                 _batchUpdate(tokens, 1);
             }
             if(checkOniLevel(tokens, 2)) {
                 require(tokens.length == 4, '[ROUND 3] Need 4 Oni with level 2 for this testing.');
                 _batchUpdate(tokens, 2);
             }
             if(checkOniLevel(tokens, 0)) {
                 require(tokens.length == 8, '[ROUND 3] Need 8 Oni with level 0  for this testing.');
                 _batchUpdate(tokens, 4);
             }
         }
      }
    }

   //Owner Functions 
   function setSurpriseMint(bool result) external onlyOwner {
       is_surprise  = result;
   }

    function setPromotion(bool result) external onlyOwner{
        is_promotion = result;
    }
    
    function setStartTime(uint256 time) external onlyOwner{
        startTime = time;
    }
    
    function setSmallPrice(uint256 small_price) external onlyOwner{
        NFT_small_price = small_price;
    }
    
    function setBigPrice(uint256 big_price) external onlyOwner{
        NFT_big_price = big_price;
    }
    
    //Public Mint
    function surpriseClaim() external {
        require(is_surprise == true, "no more surprises.");
        require(balanceOf(_msgSender()) == 0, "You have already Claimed Free Nft.");
        _mint(_msgSender(), _getNextTokenId());
        _incrementTokenId();

        emit SurpriseClaimed(_msgSender(), _currentTokenId);
    }

    function smallTeam() public payable {
        require(msg.value == NFT_small_price, "Sent Amount Not Enough");
        _mintOni(1);
    }
    
    function bigTeam() public payable {
        require(msg.value == NFT_big_price, "Sent Amount Not Enough");
        _mintOni(3);
    }
    
    function _mintOni(uint8 num) internal {
        require(block.timestamp >= startTime, "It's not time yet");
        
        if(is_promotion == true){
            num = num * 2;
        }
        if(balanceOf(_msgSender()) == 0 && is_surprise){
            num = num + 1;
        }
        
        require(_currentTokenId.add(num) < MAX_SUPPLY, "Max Supply Reached");
        
        for(uint256 i=0; i<num; i++){
            _mint(_msgSender(), _getNextTokenId());
            _incrementTokenId();

            emit OniMinted(_msgSender(), _currentTokenId);
        }
    }

    
    ////////
    
    //Owner Mint Functions
    
    function mintMany(uint256 num, address _to) public onlyOwner {
        require(_currentTokenId + num < MAX_SUPPLY, "Max Supply Reached");
        require(num <= 20, "Max 20 Allowed.");
        for(uint256 i=0; i<num; i++){

            _mint(_to, _getNextTokenId());
            _incrementTokenId();

            emit OniMinted(_msgSender(), _currentTokenId);
        }
    }

  function withdraw() external onlyOwner {
        payable(owner()).transfer(address(this).balance);
    }

    /**
     * @dev calculates the next token ID based on value of _currentTokenId
     * @return uint256 for the next token ID
     */
    function _getNextTokenId() private view returns (uint256) {
        return _currentTokenId.add(1);
    }

    /**
     * @dev increments the value of _currentTokenId,When all 9,788 Ghosts are sold out, a randomHash Ghost NFT owner will win a Tesla Model Y. The more NFT owned, the bigger the chance.
     */
    function _incrementTokenId() private {
        require(_currentTokenId < MAX_SUPPLY);

        _currentTokenId++;
    }


    function setBaseUri(string memory uri, uint256 index) external onlyOwner {
        baseTokenURI[index] = uri;
    }
    
    function tokenURI(uint256 tokenId) public view override returns (string memory) {
        string memory baseURI = baseTokenURI[oni[tokenId]];
        if(is_test_open == false) {
            baseURI = baseTokenURI[0];
        }
        
        return string(abi.encodePacked(baseURI, Strings.toString(tokenId), ".json"));
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"string","name":"newBaseURI","type":"string"}],"name":"NewBaseURISet","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"previousLevel","type":"uint256"},{"indexed":false,"internalType":"uint8","name":"currentLevel","type":"uint8"}],"name":"OniLevelIncreased","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"minter","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"OniMinted","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"bool","name":"passed","type":"bool"}],"name":"OniTestingResult","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"owner","type":"address"},{"indexed":false,"internalType":"uint256","name":"claimTokenId","type":"uint256"}],"name":"SurpriseClaimed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"NFT_big_price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"NFT_small_price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_currentTokenId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"bigTeam","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokens","type":"uint256[]"},{"internalType":"uint8","name":"level","type":"uint8"}],"name":"checkOniLevel","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"currentRound","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"is_promotion","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"is_surprise","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"is_test_open","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"num","type":"uint256"},{"internalType":"address","name":"_to","type":"address"}],"name":"mintMany","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"oni","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokens","type":"uint256[]"}],"name":"oniTest","outputs":[],"stateMutability":"nonpayable","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":"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":"uri","type":"string"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"setBaseUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"big_price","type":"uint256"}],"name":"setBigPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setNextRound","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"val","type":"bool"}],"name":"setOpenTest","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"result","type":"bool"}],"name":"setPromotion","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"small_price","type":"uint256"}],"name":"setSmallPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"time","type":"uint256"}],"name":"setStartTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"result","type":"bool"}],"name":"setSurpriseMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"smallTeam","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"startTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"surpriseClaim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6000600b55612ee0600c556101a0604052605461012081815260809182919062003b3661014039815260200160405180608001604052806054815260200162003bde60549139815260200160405180608001604052806054815260200162003b8a60549139815260200160405180608001604052806054815260200162003ae260549139815260200160405180608001604052806054815260200162003a8e605491399052620000b490600d90600562000330565b5066d19c2ff9bf80006012556701ca4cd1080680006013556361a103546014556040805180820190915260088082526713db9a55dbdc9b1960c21b6020909201918252620001059160159162000387565b506040805180820190915260068082526513d39253919560d21b6020909201918252620001359160169162000387565b5060178054630100010163ffffffff199091161790556019805460ff191660041790553480156200016557600080fd5b506015805462000175906200048c565b80601f0160208091040260200160405190810160405280929190818152602001828054620001a3906200048c565b8015620001f45780601f10620001c857610100808354040283529160200191620001f4565b820191906000526020600020905b815481529060010190602001808311620001d657829003601f168201915b50505050506016805462000208906200048c565b80601f016020809104026020016040519081016040528092919081815260200182805462000236906200048c565b8015620002875780601f106200025b5761010080835404028352916020019162000287565b820191906000526020600020905b8154815290600101906020018083116200026957829003601f168201915b50508451620002a193506000925060208601915062000387565b508051620002b790600190602084019062000387565b505050620002d4620002ce620002da60201b60201c565b620002de565b620004c9565b3390565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b826005810192821562000375579160200282015b828111156200037557825180516200036491849160209091019062000387565b509160200191906001019062000344565b506200038392915062000412565b5090565b82805462000395906200048c565b90600052602060002090601f016020900481019282620003b9576000855562000404565b82601f10620003d457805160ff191683800117855562000404565b8280016001018555821562000404579182015b8281111562000404578251825591602001919060010190620003e7565b506200038392915062000433565b80821115620003835760006200042982826200044a565b5060010162000412565b5b8082111562000383576000815560010162000434565b50805462000458906200048c565b6000825580601f1062000469575050565b601f01602090049060005260206000209081019062000489919062000433565b50565b600181811c90821680620004a157607f821691505b60208210811415620004c357634e487b7160e01b600052602260045260246000fd5b50919050565b6135b580620004d96000396000f3fe6080604052600436106102675760003560e01c8063671bd5941161014457806396adf904116100b6578063c87b56dd1161007a578063c87b56dd146106f5578063c963483c14610715578063cfbdd20b1461072b578063e5d8700d1461074b578063e985e9c51461076b578063f2fde38b146107b457600080fd5b806396adf90414610656578063a22cb46514610675578063a689a91414610695578063b1d27e3f146106b5578063b88d4fde146106d557600080fd5b806378e979251161010857806378e97925146105ca5780638a19c8bc146105e05780638baa388a146106015780638da5cb5b1461061b5780639234b6d81461063957806395d89b411461064157600080fd5b8063671bd5941461054d5780636ee311181461056d57806370a0823114610575578063715018a61461059557806374897315146105aa57600080fd5b80633ccfd60b116101dd5780634a7bc108116101a15780634a7bc1081461048d5780634f6ccce7146104ad5780634f821a26146104cd5780635323df37146104ed5780636330643d1461050d5780636352211e1461052d57600080fd5b80633ccfd60b146103e15780633e0a322d146103f65780633e3609a81461041657806342842e0e1461042b5780634774a7171461044b57600080fd5b80630e914cab1161022f5780630e914cab1461034157806318160ddd14610361578063186940a71461037657806323b872dd1461038c5780632f745c59146103ac5780633c54d23c146103cc57600080fd5b806301ffc9a71461026c57806306fdde03146102a15780630721df66146102c3578063081812fc146102e7578063095ea7b31461031f575b600080fd5b34801561027857600080fd5b5061028c610287366004612e4a565b6107d4565b60405190151581526020015b60405180910390f35b3480156102ad57600080fd5b506102b66107ff565b6040516102989190612ebf565b3480156102cf57600080fd5b506102d960135481565b604051908152602001610298565b3480156102f357600080fd5b50610307610302366004612ed2565b610891565b6040516001600160a01b039091168152602001610298565b34801561032b57600080fd5b5061033f61033a366004612f07565b61092b565b005b34801561034d57600080fd5b5060175461028c9062010000900460ff1681565b34801561036d57600080fd5b506008546102d9565b34801561038257600080fd5b506102d960125481565b34801561039857600080fd5b5061033f6103a7366004612f31565b610a41565b3480156103b857600080fd5b506102d96103c7366004612f07565b610a72565b3480156103d857600080fd5b5061033f610b08565b3480156103ed57600080fd5b5061033f610bc4565b34801561040257600080fd5b5061033f610411366004612ed2565b610c2a565b34801561042257600080fd5b5061033f610c59565b34801561043757600080fd5b5061033f610446366004612f31565b610d66565b34801561045757600080fd5b5061047b610466366004612ed2565b60186020526000908152604090205460ff1681565b60405160ff9091168152602001610298565b34801561049957600080fd5b5061033f6104a8366004612f7d565b610d81565b3480156104b957600080fd5b506102d96104c8366004612ed2565b610dc7565b3480156104d957600080fd5b5061033f6104e8366004612f7d565b610e5a565b3480156104f957600080fd5b5061028c610508366004612fe4565b610e97565b34801561051957600080fd5b5061033f6105283660046130cd565b610f21565b34801561053957600080fd5b50610307610548366004612ed2565b610f73565b34801561055957600080fd5b5061033f610568366004612ed2565b610fea565b61033f611019565b34801561058157600080fd5b506102d9610590366004613126565b61106f565b3480156105a157600080fd5b5061033f6110f6565b3480156105b657600080fd5b5061033f6105c5366004613141565b61112a565b3480156105d657600080fd5b506102d960145481565b3480156105ec57600080fd5b5060175461047b906301000000900460ff1681565b34801561060d57600080fd5b5060175461028c9060ff1681565b34801561062757600080fd5b50600a546001600160a01b0316610307565b61033f611259565b34801561064d57600080fd5b506102b66112ad565b34801561066257600080fd5b5060175461028c90610100900460ff1681565b34801561068157600080fd5b5061033f61069036600461316d565b6112bc565b3480156106a157600080fd5b506102b66106b0366004612ed2565b611381565b3480156106c157600080fd5b5061033f6106d0366004612ed2565b611421565b3480156106e157600080fd5b5061033f6106f0366004613197565b611450565b34801561070157600080fd5b506102b6610710366004612ed2565b611488565b34801561072157600080fd5b506102d9600b5481565b34801561073757600080fd5b5061033f610746366004612f7d565b61160f565b34801561075757600080fd5b5061033f610766366004613213565b611653565b34801561077757600080fd5b5061028c610786366004613255565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b3480156107c057600080fd5b5061033f6107cf366004613126565b611ee5565b60006001600160e01b0319821663780e9d6360e01b14806107f957506107f982611f7d565b92915050565b60606000805461080e9061327f565b80601f016020809104026020016040519081016040528092919081815260200182805461083a9061327f565b80156108875780601f1061085c57610100808354040283529160200191610887565b820191906000526020600020905b81548152906001019060200180831161086a57829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b031661090f5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061093682610f73565b9050806001600160a01b0316836001600160a01b031614156109a45760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610906565b336001600160a01b03821614806109c057506109c08133610786565b610a325760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610906565b610a3c8383611fcd565b505050565b610a4b338261203b565b610a675760405162461bcd60e51b8152600401610906906132ba565b610a3c838383612132565b6000610a7d8361106f565b8210610adf5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610906565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600a546001600160a01b03163314610b325760405162461bcd60e51b81526004016109069061330b565b6017546003630100000090910460ff1610610b8f5760405162461bcd60e51b815260206004820152601e60248201527f576520617265206174207468652066696e616c20726f756e64206e6f772e00006044820152606401610906565b601780546301000000900460ff16906003610ba983613356565b91906101000a81548160ff021916908360ff16021790555050565b600a546001600160a01b03163314610bee5760405162461bcd60e51b81526004016109069061330b565b600a546040516001600160a01b03909116904780156108fc02916000818181858888f19350505050158015610c27573d6000803e3d6000fd5b50565b600a546001600160a01b03163314610c545760405162461bcd60e51b81526004016109069061330b565b601455565b60175460ff610100909104161515600114610cab5760405162461bcd60e51b815260206004820152601260248201527137379036b7b9329039bab9383934b9b2b99760711b6044820152606401610906565b610cb43361106f565b15610d0c5760405162461bcd60e51b815260206004820152602260248201527f596f75206861766520616c726561647920436c61696d65642046726565204e666044820152613a1760f11b6064820152608401610906565b610d1e335b610d196122dd565b6122f3565b610d26612441565b600b5460408051338152602081019290925280517f8e5bf85dab3bf7df82df3d391979de018e1389a2c2b8184b752e618695a3f4e99281900390910190a1565b610a3c83838360405180602001604052806000815250611450565b600a546001600160a01b03163314610dab5760405162461bcd60e51b81526004016109069061330b565b60178054911515620100000262ff000019909216919091179055565b6000610dd260085490565b8210610e355760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610906565b60088281548110610e4857610e48613376565b90600052602060002001549050919050565b600a546001600160a01b03163314610e845760405162461bcd60e51b81526004016109069061330b565b6017805460ff1916911515919091179055565b600080805b84811015610f01578360ff1660186000888885818110610ebe57610ebe613376565b602090810292909201358352508101919091526040016000205460ff161415610eef5781610eeb8161338c565b9250505b80610ef98161338c565b915050610e9c565b5083811415610f14576001915050610f1a565b60009150505b9392505050565b600a546001600160a01b03163314610f4b5760405162461bcd60e51b81526004016109069061330b565b81600d8260058110610f5f57610f5f613376565b019080519060200190610a3c929190612d9b565b6000818152600260205260408120546001600160a01b0316806107f95760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610906565b600a546001600160a01b031633146110145760405162461bcd60e51b81526004016109069061330b565b601355565b60135434146110635760405162461bcd60e51b81526020600482015260166024820152750a6cadce84082dadeeadce8409cdee8408adcdeeaced60531b6044820152606401610906565b61106d6003612468565b565b60006001600160a01b0382166110da5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610906565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b031633146111205760405162461bcd60e51b81526004016109069061330b565b61106d60006125c4565b600a546001600160a01b031633146111545760405162461bcd60e51b81526004016109069061330b565b600c5482600b5461116591906133a7565b106111a75760405162461bcd60e51b815260206004820152601260248201527113585e0814dd5c1c1b1e4814995858da195960721b6044820152606401610906565b60148211156111ea5760405162461bcd60e51b815260206004820152600f60248201526e26b0bc1019181020b63637bbb2b21760891b6044820152606401610906565b60005b82811015610a3c5761120182610d196122dd565b611209612441565b600b5460408051338152602081019290925280517fd127e7de43c27b5b6fead1b7445dd04ad7e50c0358179079286cac2b5066e74f9281900390910190a1806112518161338c565b9150506111ed565b60125434146112a35760405162461bcd60e51b81526020600482015260166024820152750a6cadce84082dadeeadce8409cdee8408adcdeeaced60531b6044820152606401610906565b61106d6001612468565b60606001805461080e9061327f565b6001600160a01b0382163314156113155760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610906565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600d816005811061139157600080fd5b0180549091506113a09061327f565b80601f01602080910402602001604051908101604052809291908181526020018280546113cc9061327f565b80156114195780601f106113ee57610100808354040283529160200191611419565b820191906000526020600020905b8154815290600101906020018083116113fc57829003601f168201915b505050505081565b600a546001600160a01b0316331461144b5760405162461bcd60e51b81526004016109069061330b565b601255565b61145a338361203b565b6114765760405162461bcd60e51b8152600401610906906132ba565b61148284848484612616565b50505050565b60008181526018602052604081205460609190600d9060ff16600581106114b1576114b1613376565b0180546114bd9061327f565b80601f01602080910402602001604051908101604052809291908181526020018280546114e99061327f565b80156115365780601f1061150b57610100808354040283529160200191611536565b820191906000526020600020905b81548152906001019060200180831161151957829003601f168201915b505060175493945050505060ff62010000909104166115dd57600d805461155c9061327f565b80601f01602080910402602001604051908101604052809291908181526020018280546115889061327f565b80156115d55780601f106115aa576101008083540402835291602001916115d5565b820191906000526020600020905b8154815290600101906020018083116115b857829003601f168201915b505050505090505b806115e784612649565b6040516020016115f89291906133bf565b604051602081830303815290604052915050919050565b600a546001600160a01b031633146116395760405162461bcd60e51b81526004016109069061330b565b601780549115156101000261ff0019909216919091179055565b818160008061166133612747565b90506000815167ffffffffffffffff81111561167f5761167f613041565b6040519080825280602002602001820160405280156116a8578160200160208202803683370190505b50905060005b8481101561179c5760005b8351811015611789578381815181106116d4576116d4613376565b60200260200101518787848181106116ee576116ee613376565b9050602002013514156117775782818151811061170d5761170d613376565b602002602001015187878481811061172757611727613376565b90506020020135146117775786868381811061174557611745613376565b9050602002013583828151811061175e5761175e613376565b6020908102919091010152846117738161338c565b9550505b806117818161338c565b9150506116b9565b50806117948161338c565b9150506116ae565b508284146118215760405162461bcd60e51b815260206004820152604660248201527f4f6e6c7920746865206f776e6572206f6620616c6c20746f6b656e7320616e6460448201527f206e6f206475706c69636174696f6e2063616e2075736520746869732066756e60648201526531ba34b7b71760d11b608482015260a401610906565b856118825760405162461bcd60e51b815260206004820152602b60248201527f506c656173652070726f76696465206174206c656173742031206f6e6920696e60448201526a1d1bc81d1a19481d195cdd60aa1b6064820152608401610906565b61188c87876127e9565b6118d85760405162461bcd60e51b815260206004820152601c60248201527f506c656173652070726f7669646520617661696c61626c65204f6e69000000006044820152606401610906565b60175462010000900460ff166119305760405162461bcd60e51b815260206004820152601760248201527f5468652070696c6772696d61676520697320636c6f73650000000000000000006044820152606401610906565b6002861015611b6357600061194361286c565b6017549091506301000000900460ff166001148015611969575061196988886000610e97565b8015611976575060288111155b156119a45761199f8888600081811061199157611991613376565b9050602002013560026128ba565b6119dc565b6119dc888860008181106119ba576119ba613376565b905060200201356000908152601860205260409020805460ff19166001179055565b6017546301000000900460ff1660021415611a82576119fd88886002610e97565b8015611a0a575060288111155b15611a3857611a3388886000818110611a2557611a25613376565b9050602002013560016128ba565b611a82565b611a4488886001610e97565b8015611a51575060108111155b15611a6c57611a338888600081811061199157611991613376565b611a82888860008181106119ba576119ba613376565b60175460ff63010000009091041660031415611b5d57611aa488886003610e97565b8015611ab1575060288111155b15611ad157611acc88886000818110611a2557611a25613376565b611b5d565b611add88886002610e97565b8015611aea575060108111155b15611b0557611acc8888600081811061199157611991613376565b611b1188886001610e97565b8015611b1e575060068111155b15611b4757611acc88886000818110611b3957611b39613376565b9050602002013560036128ba565b611b5d888860008181106119ba576119ba613376565b50611edc565b6017546301000000900460ff166001148015611b865750611b8687876000610e97565b15611c035760028614611bf75760405162461bcd60e51b815260206004820152603360248201527f5b524f554e4420315d204e6565642032204f6e692077697468206c6576656c2060448201527218103337b9103a3434b9903a32b9ba34b7339760691b6064820152608401610906565b611c03878760026129e8565b6017546301000000900460ff1660021415611d2a57611c2487876002610e97565b15611ca15760028614611c955760405162461bcd60e51b815260206004820152603360248201527f5b524f554e4420325d204e6565642032204f6e692077697468206c6576656c2060448201527219103337b9103a3434b9903a32b9ba34b7339760691b6064820152608401610906565b611ca1878760016129e8565b611cad87876000610e97565b15611d2a5760048614611d1e5760405162461bcd60e51b815260206004820152603360248201527f5b524f554e4420325d204e6565642034204f6e692077697468206c6576656c2060448201527218103337b9103a3434b9903a32b9ba34b7339760691b6064820152608401610906565b611d2a878760036129e8565b60175460ff63010000009091041660031415611edc57611d4c87876003610e97565b15611dc95760028614611dbd5760405162461bcd60e51b815260206004820152603360248201527f5b524f554e4420335d204e6565642032204f6e692077697468206c6576656c2060448201527219903337b9103a3434b9903a32b9ba34b7339760691b6064820152608401610906565b611dc9878760016129e8565b611dd587876002610e97565b15611e525760048614611e465760405162461bcd60e51b815260206004820152603360248201527f5b524f554e4420335d204e6565642034204f6e692077697468206c6576656c2060448201527219103337b9103a3434b9903a32b9ba34b7339760691b6064820152608401610906565b611e52878760026129e8565b611e5e87876000610e97565b15611edc5760088614611ed05760405162461bcd60e51b815260206004820152603460248201527f5b524f554e4420335d204e6565642038204f6e692077697468206c6576656c206044820152731810103337b9103a3434b9903a32b9ba34b7339760611b6064820152608401610906565b611edc878760046129e8565b50505050505050565b600a546001600160a01b03163314611f0f5760405162461bcd60e51b81526004016109069061330b565b6001600160a01b038116611f745760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610906565b610c27816125c4565b60006001600160e01b031982166380ac58cd60e01b1480611fae57506001600160e01b03198216635b5e139f60e01b145b806107f957506301ffc9a760e01b6001600160e01b03198316146107f9565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061200282610f73565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b03166120b45760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610906565b60006120bf83610f73565b9050806001600160a01b0316846001600160a01b031614806120fa5750836001600160a01b03166120ef84610891565b6001600160a01b0316145b8061212a57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b031661214582610f73565b6001600160a01b0316146121ad5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610906565b6001600160a01b03821661220f5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610906565b61221a838383612a3d565b612225600082611fcd565b6001600160a01b038316600090815260036020526040812080546001929061224e9084906133fe565b90915550506001600160a01b038216600090815260036020526040812080546001929061227c9084906133a7565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600b546000906122ee906001612af5565b905090565b6001600160a01b0382166123495760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610906565b6000818152600260205260409020546001600160a01b0316156123ae5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610906565b6123ba60008383612a3d565b6001600160a01b03821660009081526003602052604081208054600192906123e39084906133a7565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600c54600b541061245157600080fd5b600b80549060006124618361338c565b9190505550565b6014544210156124ae5760405162461bcd60e51b8152602060048201526011602482015270125d09dcc81b9bdd081d1a5b59481e595d607a1b6044820152606401610906565b60175460ff161515600114156124cc576124c9816002613415565b90505b6124d53361106f565b1580156124e95750601754610100900460ff165b156124fc576124f981600161343e565b90505b600c54600b5461250f9060ff8416612af5565b106125515760405162461bcd60e51b815260206004820152601260248201527113585e0814dd5c1c1b1e4814995858da195960721b6044820152606401610906565b60005b8160ff168110156125c05761256833610d11565b612570612441565b600b5460408051338152602081019290925280517fd127e7de43c27b5b6fead1b7445dd04ad7e50c0358179079286cac2b5066e74f9281900390910190a1806125b88161338c565b915050612554565b5050565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b612621848484612132565b61262d84848484612b01565b6114825760405162461bcd60e51b815260040161090690613463565b60608161266d5750506040805180820190915260018152600360fc1b602082015290565b8160005b811561269757806126818161338c565b91506126909050600a836134cb565b9150612671565b60008167ffffffffffffffff8111156126b2576126b2613041565b6040519080825280601f01601f1916602001820160405280156126dc576020820181803683370190505b5090505b841561212a576126f16001836133fe565b91506126fe600a866134df565b6127099060306133a7565b60f81b81838151811061271e5761271e613376565b60200101906001600160f81b031916908160001a905350612740600a866134cb565b94506126e0565b606060006127548361106f565b905060008167ffffffffffffffff81111561277157612771613041565b60405190808252806020026020018201604052801561279a578160200160208202803683370190505b50905060005b828110156127e1576127b28582610a72565b8282815181106127c4576127c4613376565b6020908102919091010152806127d98161338c565b9150506127a0565b509392505050565b600080805b83811015612851576018600086868481811061280c5761280c613376565b602090810292909201358352508101919091526040016000205460ff166001141561283f578161283b8161338c565b9250505b806128498161338c565b9150506127ee565b5080156128625760009150506107f9565b60019150506107f9565b60008061287842612649565b60405160200161288891906134f3565b60408051601f19818403018152919052805160209091012090506000610f1a60016128b4846064612bff565b90612af5565b60008281526018602052604090205460ff16600181141561291d5760405162461bcd60e51b815260206004820181905260248201527f4f6e6c7920746f6b656e2074686174207061737365642074686520746573742e6044820152606401610906565b60195460ff90811690821611156129765760405162461bcd60e51b815260206004820152601860248201527f546f6b656e206d6178206c6576656c20726561636865642e00000000000000006044820152606401610906565b612980828261343e565b600084815260186020908152604091829020805460ff191660ff948516908117909155825187815293851691840191909152908201527f71ecc19e915eeb0ea54095aca82e5276a8fe484836e069ed197e064e14d91a559060600160405180910390a1505050565b612a0b838360008181106129fe576129fe613376565b90506020020135826128ba565b60015b8281101561148257612a2b8484838181106119ba576119ba613376565b80612a358161338c565b915050612a0e565b6001600160a01b038316612a9857612a9381600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b612abb565b816001600160a01b0316836001600160a01b031614612abb57612abb8382612c0b565b6001600160a01b038216612ad257610a3c81612ca8565b826001600160a01b0316826001600160a01b031614610a3c57610a3c8282612d57565b6000610f1a82846133a7565b60006001600160a01b0384163b15612bf457604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612b4590339089908890889060040161350f565b6020604051808303816000875af1925050508015612b80575060408051601f3d908101601f19168201909252612b7d9181019061354c565b60015b612bda573d808015612bae576040519150601f19603f3d011682016040523d82523d6000602084013e612bb3565b606091505b508051612bd25760405162461bcd60e51b815260040161090690613463565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061212a565b506001949350505050565b6000610f1a82846134df565b60006001612c188461106f565b612c2291906133fe565b600083815260076020526040902054909150808214612c75576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b600854600090612cba906001906133fe565b60008381526009602052604081205460088054939450909284908110612ce257612ce2613376565b906000526020600020015490508060088381548110612d0357612d03613376565b6000918252602080832090910192909255828152600990915260408082208490558582528120556008805480612d3b57612d3b613569565b6001900381819060005260206000200160009055905550505050565b6000612d628361106f565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b828054612da79061327f565b90600052602060002090601f016020900481019282612dc95760008555612e0f565b82601f10612de257805160ff1916838001178555612e0f565b82800160010185558215612e0f579182015b82811115612e0f578251825591602001919060010190612df4565b50612e1b929150612e1f565b5090565b5b80821115612e1b5760008155600101612e20565b6001600160e01b031981168114610c2757600080fd5b600060208284031215612e5c57600080fd5b8135610f1a81612e34565b60005b83811015612e82578181015183820152602001612e6a565b838111156114825750506000910152565b60008151808452612eab816020860160208601612e67565b601f01601f19169290920160200192915050565b602081526000610f1a6020830184612e93565b600060208284031215612ee457600080fd5b5035919050565b80356001600160a01b0381168114612f0257600080fd5b919050565b60008060408385031215612f1a57600080fd5b612f2383612eeb565b946020939093013593505050565b600080600060608486031215612f4657600080fd5b612f4f84612eeb565b9250612f5d60208501612eeb565b9150604084013590509250925092565b80358015158114612f0257600080fd5b600060208284031215612f8f57600080fd5b610f1a82612f6d565b60008083601f840112612faa57600080fd5b50813567ffffffffffffffff811115612fc257600080fd5b6020830191508360208260051b8501011115612fdd57600080fd5b9250929050565b600080600060408486031215612ff957600080fd5b833567ffffffffffffffff81111561301057600080fd5b61301c86828701612f98565b909450925050602084013560ff8116811461303657600080fd5b809150509250925092565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561307257613072613041565b604051601f8501601f19908116603f0116810190828211818310171561309a5761309a613041565b816040528093508581528686860111156130b357600080fd5b858560208301376000602087830101525050509392505050565b600080604083850312156130e057600080fd5b823567ffffffffffffffff8111156130f757600080fd5b8301601f8101851361310857600080fd5b61311785823560208401613057565b95602094909401359450505050565b60006020828403121561313857600080fd5b610f1a82612eeb565b6000806040838503121561315457600080fd5b8235915061316460208401612eeb565b90509250929050565b6000806040838503121561318057600080fd5b61318983612eeb565b915061316460208401612f6d565b600080600080608085870312156131ad57600080fd5b6131b685612eeb565b93506131c460208601612eeb565b925060408501359150606085013567ffffffffffffffff8111156131e757600080fd5b8501601f810187136131f857600080fd5b61320787823560208401613057565b91505092959194509250565b6000806020838503121561322657600080fd5b823567ffffffffffffffff81111561323d57600080fd5b61324985828601612f98565b90969095509350505050565b6000806040838503121561326857600080fd5b61327183612eeb565b915061316460208401612eeb565b600181811c9082168061329357607f821691505b602082108114156132b457634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b600060ff821660ff81141561336d5761336d613340565b60010192915050565b634e487b7160e01b600052603260045260246000fd5b60006000198214156133a0576133a0613340565b5060010190565b600082198211156133ba576133ba613340565b500190565b600083516133d1818460208801612e67565b8351908301906133e5818360208801612e67565b64173539b7b760d91b9101908152600501949350505050565b60008282101561341057613410613340565b500390565b600060ff821660ff84168160ff048111821515161561343657613436613340565b029392505050565b600060ff821660ff84168060ff0382111561345b5761345b613340565b019392505050565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b634e487b7160e01b600052601260045260246000fd5b6000826134da576134da6134b5565b500490565b6000826134ee576134ee6134b5565b500690565b60008251613505818460208701612e67565b9190910192915050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061354290830184612e93565b9695505050505050565b60006020828403121561355e57600080fd5b8151610f1a81612e34565b634e487b7160e01b600052603160045260246000fdfea2646970667358221220818f48d9fc20b010e3b1a2ba28583d7076f3ca0c5ff7ebee18aebcf87dd063d164736f6c634300080a003368747470733a2f2f6f6e69776f726c642e6d7970696e6174612e636c6f75642f697066732f516d6473476f7339544e557054346d41596d6a347662594762336a76597948785a57715a71625853743278506d4b2f68747470733a2f2f6f6e69776f726c642e6d7970696e6174612e636c6f75642f697066732f516d4e6e68486733525364373261784d377836776d656279576a6d7a7969556450567962357369524353746a784a2f68747470733a2f2f6f6e69776f726c642e6d7970696e6174612e636c6f75642f697066732f516d623835566e486e36426b4c4133424241736e636e48483838346f7631387474694b6f4b634d384272483268522f68747470733a2f2f6f6e69776f726c642e6d7970696e6174612e636c6f75642f697066732f516d516444316b63616846747950394e514c437167596d54705662717a38786f7671624b743969723232356f32732f68747470733a2f2f6f6e69776f726c642e6d7970696e6174612e636c6f75642f697066732f516d64597a47656537523947587356426d5a42694e32374b664653727863344154656875506d5a454e3265726b7a2f

Deployed Bytecode

0x6080604052600436106102675760003560e01c8063671bd5941161014457806396adf904116100b6578063c87b56dd1161007a578063c87b56dd146106f5578063c963483c14610715578063cfbdd20b1461072b578063e5d8700d1461074b578063e985e9c51461076b578063f2fde38b146107b457600080fd5b806396adf90414610656578063a22cb46514610675578063a689a91414610695578063b1d27e3f146106b5578063b88d4fde146106d557600080fd5b806378e979251161010857806378e97925146105ca5780638a19c8bc146105e05780638baa388a146106015780638da5cb5b1461061b5780639234b6d81461063957806395d89b411461064157600080fd5b8063671bd5941461054d5780636ee311181461056d57806370a0823114610575578063715018a61461059557806374897315146105aa57600080fd5b80633ccfd60b116101dd5780634a7bc108116101a15780634a7bc1081461048d5780634f6ccce7146104ad5780634f821a26146104cd5780635323df37146104ed5780636330643d1461050d5780636352211e1461052d57600080fd5b80633ccfd60b146103e15780633e0a322d146103f65780633e3609a81461041657806342842e0e1461042b5780634774a7171461044b57600080fd5b80630e914cab1161022f5780630e914cab1461034157806318160ddd14610361578063186940a71461037657806323b872dd1461038c5780632f745c59146103ac5780633c54d23c146103cc57600080fd5b806301ffc9a71461026c57806306fdde03146102a15780630721df66146102c3578063081812fc146102e7578063095ea7b31461031f575b600080fd5b34801561027857600080fd5b5061028c610287366004612e4a565b6107d4565b60405190151581526020015b60405180910390f35b3480156102ad57600080fd5b506102b66107ff565b6040516102989190612ebf565b3480156102cf57600080fd5b506102d960135481565b604051908152602001610298565b3480156102f357600080fd5b50610307610302366004612ed2565b610891565b6040516001600160a01b039091168152602001610298565b34801561032b57600080fd5b5061033f61033a366004612f07565b61092b565b005b34801561034d57600080fd5b5060175461028c9062010000900460ff1681565b34801561036d57600080fd5b506008546102d9565b34801561038257600080fd5b506102d960125481565b34801561039857600080fd5b5061033f6103a7366004612f31565b610a41565b3480156103b857600080fd5b506102d96103c7366004612f07565b610a72565b3480156103d857600080fd5b5061033f610b08565b3480156103ed57600080fd5b5061033f610bc4565b34801561040257600080fd5b5061033f610411366004612ed2565b610c2a565b34801561042257600080fd5b5061033f610c59565b34801561043757600080fd5b5061033f610446366004612f31565b610d66565b34801561045757600080fd5b5061047b610466366004612ed2565b60186020526000908152604090205460ff1681565b60405160ff9091168152602001610298565b34801561049957600080fd5b5061033f6104a8366004612f7d565b610d81565b3480156104b957600080fd5b506102d96104c8366004612ed2565b610dc7565b3480156104d957600080fd5b5061033f6104e8366004612f7d565b610e5a565b3480156104f957600080fd5b5061028c610508366004612fe4565b610e97565b34801561051957600080fd5b5061033f6105283660046130cd565b610f21565b34801561053957600080fd5b50610307610548366004612ed2565b610f73565b34801561055957600080fd5b5061033f610568366004612ed2565b610fea565b61033f611019565b34801561058157600080fd5b506102d9610590366004613126565b61106f565b3480156105a157600080fd5b5061033f6110f6565b3480156105b657600080fd5b5061033f6105c5366004613141565b61112a565b3480156105d657600080fd5b506102d960145481565b3480156105ec57600080fd5b5060175461047b906301000000900460ff1681565b34801561060d57600080fd5b5060175461028c9060ff1681565b34801561062757600080fd5b50600a546001600160a01b0316610307565b61033f611259565b34801561064d57600080fd5b506102b66112ad565b34801561066257600080fd5b5060175461028c90610100900460ff1681565b34801561068157600080fd5b5061033f61069036600461316d565b6112bc565b3480156106a157600080fd5b506102b66106b0366004612ed2565b611381565b3480156106c157600080fd5b5061033f6106d0366004612ed2565b611421565b3480156106e157600080fd5b5061033f6106f0366004613197565b611450565b34801561070157600080fd5b506102b6610710366004612ed2565b611488565b34801561072157600080fd5b506102d9600b5481565b34801561073757600080fd5b5061033f610746366004612f7d565b61160f565b34801561075757600080fd5b5061033f610766366004613213565b611653565b34801561077757600080fd5b5061028c610786366004613255565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b3480156107c057600080fd5b5061033f6107cf366004613126565b611ee5565b60006001600160e01b0319821663780e9d6360e01b14806107f957506107f982611f7d565b92915050565b60606000805461080e9061327f565b80601f016020809104026020016040519081016040528092919081815260200182805461083a9061327f565b80156108875780601f1061085c57610100808354040283529160200191610887565b820191906000526020600020905b81548152906001019060200180831161086a57829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b031661090f5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061093682610f73565b9050806001600160a01b0316836001600160a01b031614156109a45760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610906565b336001600160a01b03821614806109c057506109c08133610786565b610a325760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610906565b610a3c8383611fcd565b505050565b610a4b338261203b565b610a675760405162461bcd60e51b8152600401610906906132ba565b610a3c838383612132565b6000610a7d8361106f565b8210610adf5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610906565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600a546001600160a01b03163314610b325760405162461bcd60e51b81526004016109069061330b565b6017546003630100000090910460ff1610610b8f5760405162461bcd60e51b815260206004820152601e60248201527f576520617265206174207468652066696e616c20726f756e64206e6f772e00006044820152606401610906565b601780546301000000900460ff16906003610ba983613356565b91906101000a81548160ff021916908360ff16021790555050565b600a546001600160a01b03163314610bee5760405162461bcd60e51b81526004016109069061330b565b600a546040516001600160a01b03909116904780156108fc02916000818181858888f19350505050158015610c27573d6000803e3d6000fd5b50565b600a546001600160a01b03163314610c545760405162461bcd60e51b81526004016109069061330b565b601455565b60175460ff610100909104161515600114610cab5760405162461bcd60e51b815260206004820152601260248201527137379036b7b9329039bab9383934b9b2b99760711b6044820152606401610906565b610cb43361106f565b15610d0c5760405162461bcd60e51b815260206004820152602260248201527f596f75206861766520616c726561647920436c61696d65642046726565204e666044820152613a1760f11b6064820152608401610906565b610d1e335b610d196122dd565b6122f3565b610d26612441565b600b5460408051338152602081019290925280517f8e5bf85dab3bf7df82df3d391979de018e1389a2c2b8184b752e618695a3f4e99281900390910190a1565b610a3c83838360405180602001604052806000815250611450565b600a546001600160a01b03163314610dab5760405162461bcd60e51b81526004016109069061330b565b60178054911515620100000262ff000019909216919091179055565b6000610dd260085490565b8210610e355760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610906565b60088281548110610e4857610e48613376565b90600052602060002001549050919050565b600a546001600160a01b03163314610e845760405162461bcd60e51b81526004016109069061330b565b6017805460ff1916911515919091179055565b600080805b84811015610f01578360ff1660186000888885818110610ebe57610ebe613376565b602090810292909201358352508101919091526040016000205460ff161415610eef5781610eeb8161338c565b9250505b80610ef98161338c565b915050610e9c565b5083811415610f14576001915050610f1a565b60009150505b9392505050565b600a546001600160a01b03163314610f4b5760405162461bcd60e51b81526004016109069061330b565b81600d8260058110610f5f57610f5f613376565b019080519060200190610a3c929190612d9b565b6000818152600260205260408120546001600160a01b0316806107f95760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610906565b600a546001600160a01b031633146110145760405162461bcd60e51b81526004016109069061330b565b601355565b60135434146110635760405162461bcd60e51b81526020600482015260166024820152750a6cadce84082dadeeadce8409cdee8408adcdeeaced60531b6044820152606401610906565b61106d6003612468565b565b60006001600160a01b0382166110da5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610906565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b031633146111205760405162461bcd60e51b81526004016109069061330b565b61106d60006125c4565b600a546001600160a01b031633146111545760405162461bcd60e51b81526004016109069061330b565b600c5482600b5461116591906133a7565b106111a75760405162461bcd60e51b815260206004820152601260248201527113585e0814dd5c1c1b1e4814995858da195960721b6044820152606401610906565b60148211156111ea5760405162461bcd60e51b815260206004820152600f60248201526e26b0bc1019181020b63637bbb2b21760891b6044820152606401610906565b60005b82811015610a3c5761120182610d196122dd565b611209612441565b600b5460408051338152602081019290925280517fd127e7de43c27b5b6fead1b7445dd04ad7e50c0358179079286cac2b5066e74f9281900390910190a1806112518161338c565b9150506111ed565b60125434146112a35760405162461bcd60e51b81526020600482015260166024820152750a6cadce84082dadeeadce8409cdee8408adcdeeaced60531b6044820152606401610906565b61106d6001612468565b60606001805461080e9061327f565b6001600160a01b0382163314156113155760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610906565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600d816005811061139157600080fd5b0180549091506113a09061327f565b80601f01602080910402602001604051908101604052809291908181526020018280546113cc9061327f565b80156114195780601f106113ee57610100808354040283529160200191611419565b820191906000526020600020905b8154815290600101906020018083116113fc57829003601f168201915b505050505081565b600a546001600160a01b0316331461144b5760405162461bcd60e51b81526004016109069061330b565b601255565b61145a338361203b565b6114765760405162461bcd60e51b8152600401610906906132ba565b61148284848484612616565b50505050565b60008181526018602052604081205460609190600d9060ff16600581106114b1576114b1613376565b0180546114bd9061327f565b80601f01602080910402602001604051908101604052809291908181526020018280546114e99061327f565b80156115365780601f1061150b57610100808354040283529160200191611536565b820191906000526020600020905b81548152906001019060200180831161151957829003601f168201915b505060175493945050505060ff62010000909104166115dd57600d805461155c9061327f565b80601f01602080910402602001604051908101604052809291908181526020018280546115889061327f565b80156115d55780601f106115aa576101008083540402835291602001916115d5565b820191906000526020600020905b8154815290600101906020018083116115b857829003601f168201915b505050505090505b806115e784612649565b6040516020016115f89291906133bf565b604051602081830303815290604052915050919050565b600a546001600160a01b031633146116395760405162461bcd60e51b81526004016109069061330b565b601780549115156101000261ff0019909216919091179055565b818160008061166133612747565b90506000815167ffffffffffffffff81111561167f5761167f613041565b6040519080825280602002602001820160405280156116a8578160200160208202803683370190505b50905060005b8481101561179c5760005b8351811015611789578381815181106116d4576116d4613376565b60200260200101518787848181106116ee576116ee613376565b9050602002013514156117775782818151811061170d5761170d613376565b602002602001015187878481811061172757611727613376565b90506020020135146117775786868381811061174557611745613376565b9050602002013583828151811061175e5761175e613376565b6020908102919091010152846117738161338c565b9550505b806117818161338c565b9150506116b9565b50806117948161338c565b9150506116ae565b508284146118215760405162461bcd60e51b815260206004820152604660248201527f4f6e6c7920746865206f776e6572206f6620616c6c20746f6b656e7320616e6460448201527f206e6f206475706c69636174696f6e2063616e2075736520746869732066756e60648201526531ba34b7b71760d11b608482015260a401610906565b856118825760405162461bcd60e51b815260206004820152602b60248201527f506c656173652070726f76696465206174206c656173742031206f6e6920696e60448201526a1d1bc81d1a19481d195cdd60aa1b6064820152608401610906565b61188c87876127e9565b6118d85760405162461bcd60e51b815260206004820152601c60248201527f506c656173652070726f7669646520617661696c61626c65204f6e69000000006044820152606401610906565b60175462010000900460ff166119305760405162461bcd60e51b815260206004820152601760248201527f5468652070696c6772696d61676520697320636c6f73650000000000000000006044820152606401610906565b6002861015611b6357600061194361286c565b6017549091506301000000900460ff166001148015611969575061196988886000610e97565b8015611976575060288111155b156119a45761199f8888600081811061199157611991613376565b9050602002013560026128ba565b6119dc565b6119dc888860008181106119ba576119ba613376565b905060200201356000908152601860205260409020805460ff19166001179055565b6017546301000000900460ff1660021415611a82576119fd88886002610e97565b8015611a0a575060288111155b15611a3857611a3388886000818110611a2557611a25613376565b9050602002013560016128ba565b611a82565b611a4488886001610e97565b8015611a51575060108111155b15611a6c57611a338888600081811061199157611991613376565b611a82888860008181106119ba576119ba613376565b60175460ff63010000009091041660031415611b5d57611aa488886003610e97565b8015611ab1575060288111155b15611ad157611acc88886000818110611a2557611a25613376565b611b5d565b611add88886002610e97565b8015611aea575060108111155b15611b0557611acc8888600081811061199157611991613376565b611b1188886001610e97565b8015611b1e575060068111155b15611b4757611acc88886000818110611b3957611b39613376565b9050602002013560036128ba565b611b5d888860008181106119ba576119ba613376565b50611edc565b6017546301000000900460ff166001148015611b865750611b8687876000610e97565b15611c035760028614611bf75760405162461bcd60e51b815260206004820152603360248201527f5b524f554e4420315d204e6565642032204f6e692077697468206c6576656c2060448201527218103337b9103a3434b9903a32b9ba34b7339760691b6064820152608401610906565b611c03878760026129e8565b6017546301000000900460ff1660021415611d2a57611c2487876002610e97565b15611ca15760028614611c955760405162461bcd60e51b815260206004820152603360248201527f5b524f554e4420325d204e6565642032204f6e692077697468206c6576656c2060448201527219103337b9103a3434b9903a32b9ba34b7339760691b6064820152608401610906565b611ca1878760016129e8565b611cad87876000610e97565b15611d2a5760048614611d1e5760405162461bcd60e51b815260206004820152603360248201527f5b524f554e4420325d204e6565642034204f6e692077697468206c6576656c2060448201527218103337b9103a3434b9903a32b9ba34b7339760691b6064820152608401610906565b611d2a878760036129e8565b60175460ff63010000009091041660031415611edc57611d4c87876003610e97565b15611dc95760028614611dbd5760405162461bcd60e51b815260206004820152603360248201527f5b524f554e4420335d204e6565642032204f6e692077697468206c6576656c2060448201527219903337b9103a3434b9903a32b9ba34b7339760691b6064820152608401610906565b611dc9878760016129e8565b611dd587876002610e97565b15611e525760048614611e465760405162461bcd60e51b815260206004820152603360248201527f5b524f554e4420335d204e6565642034204f6e692077697468206c6576656c2060448201527219103337b9103a3434b9903a32b9ba34b7339760691b6064820152608401610906565b611e52878760026129e8565b611e5e87876000610e97565b15611edc5760088614611ed05760405162461bcd60e51b815260206004820152603460248201527f5b524f554e4420335d204e6565642038204f6e692077697468206c6576656c206044820152731810103337b9103a3434b9903a32b9ba34b7339760611b6064820152608401610906565b611edc878760046129e8565b50505050505050565b600a546001600160a01b03163314611f0f5760405162461bcd60e51b81526004016109069061330b565b6001600160a01b038116611f745760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610906565b610c27816125c4565b60006001600160e01b031982166380ac58cd60e01b1480611fae57506001600160e01b03198216635b5e139f60e01b145b806107f957506301ffc9a760e01b6001600160e01b03198316146107f9565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061200282610f73565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b03166120b45760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610906565b60006120bf83610f73565b9050806001600160a01b0316846001600160a01b031614806120fa5750836001600160a01b03166120ef84610891565b6001600160a01b0316145b8061212a57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b031661214582610f73565b6001600160a01b0316146121ad5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610906565b6001600160a01b03821661220f5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610906565b61221a838383612a3d565b612225600082611fcd565b6001600160a01b038316600090815260036020526040812080546001929061224e9084906133fe565b90915550506001600160a01b038216600090815260036020526040812080546001929061227c9084906133a7565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600b546000906122ee906001612af5565b905090565b6001600160a01b0382166123495760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610906565b6000818152600260205260409020546001600160a01b0316156123ae5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610906565b6123ba60008383612a3d565b6001600160a01b03821660009081526003602052604081208054600192906123e39084906133a7565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600c54600b541061245157600080fd5b600b80549060006124618361338c565b9190505550565b6014544210156124ae5760405162461bcd60e51b8152602060048201526011602482015270125d09dcc81b9bdd081d1a5b59481e595d607a1b6044820152606401610906565b60175460ff161515600114156124cc576124c9816002613415565b90505b6124d53361106f565b1580156124e95750601754610100900460ff165b156124fc576124f981600161343e565b90505b600c54600b5461250f9060ff8416612af5565b106125515760405162461bcd60e51b815260206004820152601260248201527113585e0814dd5c1c1b1e4814995858da195960721b6044820152606401610906565b60005b8160ff168110156125c05761256833610d11565b612570612441565b600b5460408051338152602081019290925280517fd127e7de43c27b5b6fead1b7445dd04ad7e50c0358179079286cac2b5066e74f9281900390910190a1806125b88161338c565b915050612554565b5050565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b612621848484612132565b61262d84848484612b01565b6114825760405162461bcd60e51b815260040161090690613463565b60608161266d5750506040805180820190915260018152600360fc1b602082015290565b8160005b811561269757806126818161338c565b91506126909050600a836134cb565b9150612671565b60008167ffffffffffffffff8111156126b2576126b2613041565b6040519080825280601f01601f1916602001820160405280156126dc576020820181803683370190505b5090505b841561212a576126f16001836133fe565b91506126fe600a866134df565b6127099060306133a7565b60f81b81838151811061271e5761271e613376565b60200101906001600160f81b031916908160001a905350612740600a866134cb565b94506126e0565b606060006127548361106f565b905060008167ffffffffffffffff81111561277157612771613041565b60405190808252806020026020018201604052801561279a578160200160208202803683370190505b50905060005b828110156127e1576127b28582610a72565b8282815181106127c4576127c4613376565b6020908102919091010152806127d98161338c565b9150506127a0565b509392505050565b600080805b83811015612851576018600086868481811061280c5761280c613376565b602090810292909201358352508101919091526040016000205460ff166001141561283f578161283b8161338c565b9250505b806128498161338c565b9150506127ee565b5080156128625760009150506107f9565b60019150506107f9565b60008061287842612649565b60405160200161288891906134f3565b60408051601f19818403018152919052805160209091012090506000610f1a60016128b4846064612bff565b90612af5565b60008281526018602052604090205460ff16600181141561291d5760405162461bcd60e51b815260206004820181905260248201527f4f6e6c7920746f6b656e2074686174207061737365642074686520746573742e6044820152606401610906565b60195460ff90811690821611156129765760405162461bcd60e51b815260206004820152601860248201527f546f6b656e206d6178206c6576656c20726561636865642e00000000000000006044820152606401610906565b612980828261343e565b600084815260186020908152604091829020805460ff191660ff948516908117909155825187815293851691840191909152908201527f71ecc19e915eeb0ea54095aca82e5276a8fe484836e069ed197e064e14d91a559060600160405180910390a1505050565b612a0b838360008181106129fe576129fe613376565b90506020020135826128ba565b60015b8281101561148257612a2b8484838181106119ba576119ba613376565b80612a358161338c565b915050612a0e565b6001600160a01b038316612a9857612a9381600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b612abb565b816001600160a01b0316836001600160a01b031614612abb57612abb8382612c0b565b6001600160a01b038216612ad257610a3c81612ca8565b826001600160a01b0316826001600160a01b031614610a3c57610a3c8282612d57565b6000610f1a82846133a7565b60006001600160a01b0384163b15612bf457604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612b4590339089908890889060040161350f565b6020604051808303816000875af1925050508015612b80575060408051601f3d908101601f19168201909252612b7d9181019061354c565b60015b612bda573d808015612bae576040519150601f19603f3d011682016040523d82523d6000602084013e612bb3565b606091505b508051612bd25760405162461bcd60e51b815260040161090690613463565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061212a565b506001949350505050565b6000610f1a82846134df565b60006001612c188461106f565b612c2291906133fe565b600083815260076020526040902054909150808214612c75576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b600854600090612cba906001906133fe565b60008381526009602052604081205460088054939450909284908110612ce257612ce2613376565b906000526020600020015490508060088381548110612d0357612d03613376565b6000918252602080832090910192909255828152600990915260408082208490558582528120556008805480612d3b57612d3b613569565b6001900381819060005260206000200160009055905550505050565b6000612d628361106f565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b828054612da79061327f565b90600052602060002090601f016020900481019282612dc95760008555612e0f565b82601f10612de257805160ff1916838001178555612e0f565b82800160010185558215612e0f579182015b82811115612e0f578251825591602001919060010190612df4565b50612e1b929150612e1f565b5090565b5b80821115612e1b5760008155600101612e20565b6001600160e01b031981168114610c2757600080fd5b600060208284031215612e5c57600080fd5b8135610f1a81612e34565b60005b83811015612e82578181015183820152602001612e6a565b838111156114825750506000910152565b60008151808452612eab816020860160208601612e67565b601f01601f19169290920160200192915050565b602081526000610f1a6020830184612e93565b600060208284031215612ee457600080fd5b5035919050565b80356001600160a01b0381168114612f0257600080fd5b919050565b60008060408385031215612f1a57600080fd5b612f2383612eeb565b946020939093013593505050565b600080600060608486031215612f4657600080fd5b612f4f84612eeb565b9250612f5d60208501612eeb565b9150604084013590509250925092565b80358015158114612f0257600080fd5b600060208284031215612f8f57600080fd5b610f1a82612f6d565b60008083601f840112612faa57600080fd5b50813567ffffffffffffffff811115612fc257600080fd5b6020830191508360208260051b8501011115612fdd57600080fd5b9250929050565b600080600060408486031215612ff957600080fd5b833567ffffffffffffffff81111561301057600080fd5b61301c86828701612f98565b909450925050602084013560ff8116811461303657600080fd5b809150509250925092565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561307257613072613041565b604051601f8501601f19908116603f0116810190828211818310171561309a5761309a613041565b816040528093508581528686860111156130b357600080fd5b858560208301376000602087830101525050509392505050565b600080604083850312156130e057600080fd5b823567ffffffffffffffff8111156130f757600080fd5b8301601f8101851361310857600080fd5b61311785823560208401613057565b95602094909401359450505050565b60006020828403121561313857600080fd5b610f1a82612eeb565b6000806040838503121561315457600080fd5b8235915061316460208401612eeb565b90509250929050565b6000806040838503121561318057600080fd5b61318983612eeb565b915061316460208401612f6d565b600080600080608085870312156131ad57600080fd5b6131b685612eeb565b93506131c460208601612eeb565b925060408501359150606085013567ffffffffffffffff8111156131e757600080fd5b8501601f810187136131f857600080fd5b61320787823560208401613057565b91505092959194509250565b6000806020838503121561322657600080fd5b823567ffffffffffffffff81111561323d57600080fd5b61324985828601612f98565b90969095509350505050565b6000806040838503121561326857600080fd5b61327183612eeb565b915061316460208401612eeb565b600181811c9082168061329357607f821691505b602082108114156132b457634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b600060ff821660ff81141561336d5761336d613340565b60010192915050565b634e487b7160e01b600052603260045260246000fd5b60006000198214156133a0576133a0613340565b5060010190565b600082198211156133ba576133ba613340565b500190565b600083516133d1818460208801612e67565b8351908301906133e5818360208801612e67565b64173539b7b760d91b9101908152600501949350505050565b60008282101561341057613410613340565b500390565b600060ff821660ff84168160ff048111821515161561343657613436613340565b029392505050565b600060ff821660ff84168060ff0382111561345b5761345b613340565b019392505050565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b634e487b7160e01b600052601260045260246000fd5b6000826134da576134da6134b5565b500490565b6000826134ee576134ee6134b5565b500690565b60008251613505818460208701612e67565b9190910192915050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061354290830184612e93565b9695505050505050565b60006020828403121561355e57600080fd5b8151610f1a81612e34565b634e487b7160e01b600052603160045260246000fdfea2646970667358221220818f48d9fc20b010e3b1a2ba28583d7076f3ca0c5ff7ebee18aebcf87dd063d164736f6c634300080a0033

Deployed Bytecode Sourcemap

48198:12146:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41786:300;;;;;;;;;;-1:-1:-1;41786:300:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;41786:300:0;;;;;;;;29265:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;48997:42::-;;;;;;;;;;;;;;;;;;;1489:25:1;;;1477:2;1462:18;48997:42:0;1343:177:1;30958:308:0;;;;;;;;;;-1:-1:-1;30958:308:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1874:32:1;;;1856:51;;1844:2;1829:18;30958:308:0;1710:203:1;30481:411:0;;;;;;;;;;-1:-1:-1;30481:411:0;;;;;:::i;:::-;;:::i;:::-;;49276:32;;;;;;;;;;-1:-1:-1;49276:32:0;;;;;;;;;;;42589:113;;;;;;;;;;-1:-1:-1;42677:10:0;:17;42589:113;;48945:44;;;;;;;;;;;;;;;;32017:376;;;;;;;;;;-1:-1:-1;32017:376:0;;;;;:::i;:::-;;:::i;42170:343::-;;;;;;;;;;-1:-1:-1;42170:343:0;;;;;:::i;:::-;;:::i;53324:143::-;;;;;;;;;;;;;:::i;59172:106::-;;;;;;;;;;;;;:::i;57123:89::-;;;;;;;;;;-1:-1:-1;57123:89:0;;;;;:::i;:::-;;:::i;57479:332::-;;;;;;;;;;;;;:::i;32464:185::-;;;;;;;;;;-1:-1:-1;32464:185:0;;;;;:::i;:::-;;:::i;49363:36::-;;;;;;;;;;-1:-1:-1;49363:36:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;2860:4:1;2848:17;;;2830:36;;2818:2;2803:18;49363:36:0;2688:184:1;53537:85:0;;;;;;;;;;-1:-1:-1;53537:85:0;;;;;:::i;:::-;;:::i;42779:320::-;;;;;;;;;;-1:-1:-1;42779:320:0;;;;;:::i;:::-;;:::i;57018:93::-;;;;;;;;;;-1:-1:-1;57018:93:0;;;;;:::i;:::-;;:::i;51164:435::-;;;;;;;;;;-1:-1:-1;51164:435:0;;;;;:::i;:::-;;:::i;59878:117::-;;;;;;;;;;-1:-1:-1;59878:117:0;;;;;:::i;:::-;;:::i;28872:326::-;;;;;;;;;;-1:-1:-1;28872:326:0;;;;;:::i;:::-;;:::i;57346:102::-;;;;;;;;;;-1:-1:-1;57346:102:0;;;;;:::i;:::-;;:::i;57971:136::-;;;:::i;28515:295::-;;;;;;;;;;-1:-1:-1;28515:295:0;;;;;:::i;:::-;;:::i;26136:94::-;;;;;;;;;;;;;:::i;58781:385::-;;;;;;;;;;-1:-1:-1;58781:385:0;;;;;:::i;:::-;;:::i;49049:37::-;;;;;;;;;;;;;;;;49321:29;;;;;;;;;;-1:-1:-1;49321:29:0;;;;;;;;;;;49201:31;;;;;;;;;;-1:-1:-1;49201:31:0;;;;;;;;25485:87;;;;;;;;;;-1:-1:-1;25558:6:0;;-1:-1:-1;;;;;25558:6:0;25485:87;;57819:140;;;:::i;29434:104::-;;;;;;;;;;;;;:::i;49239:30::-;;;;;;;;;;-1:-1:-1;49239:30:0;;;;;;;;;;;31338:327;;;;;;;;;;-1:-1:-1;31338:327:0;;;;;:::i;:::-;;:::i;48400:528::-;;;;;;;;;;-1:-1:-1;48400:528:0;;;;;:::i;:::-;;:::i;57224:110::-;;;;;;;;;;-1:-1:-1;57224:110:0;;;;;:::i;:::-;;:::i;32720:365::-;;;;;;;;;;-1:-1:-1;32720:365:0;;;;;:::i;:::-;;:::i;60007:334::-;;;;;;;;;;-1:-1:-1;60007:334:0;;;;;:::i;:::-;;:::i;48317:34::-;;;;;;;;;;;;;;;;56915:95;;;;;;;;;;-1:-1:-1;56915:95:0;;;;;:::i;:::-;;:::i;53815:3070::-;;;;;;;;;;-1:-1:-1;53815:3070:0;;;;;:::i;:::-;;:::i;31736:214::-;;;;;;;;;;-1:-1:-1;31736:214:0;;;;;:::i;:::-;-1:-1:-1;;;;;31907:25:0;;;31878:4;31907:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;31736:214;26385:229;;;;;;;;;;-1:-1:-1;26385:229:0;;;;;:::i;:::-;;:::i;41786:300::-;41933:4;-1:-1:-1;;;;;;41975:50:0;;-1:-1:-1;;;41975:50:0;;:103;;;42042:36;42066:11;42042:23;:36::i;:::-;41955:123;41786:300;-1:-1:-1;;41786:300:0:o;29265:100::-;29319:13;29352:5;29345:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29265:100;:::o;30958:308::-;31079:7;34721:16;;;:7;:16;;;;;;-1:-1:-1;;;;;34721:16:0;31104:110;;;;-1:-1:-1;;;31104:110:0;;8170:2:1;31104:110:0;;;8152:21:1;8209:2;8189:18;;;8182:30;8248:34;8228:18;;;8221:62;-1:-1:-1;;;8299:18:1;;;8292:42;8351:19;;31104:110:0;;;;;;;;;-1:-1:-1;31234:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;31234:24:0;;30958:308::o;30481:411::-;30562:13;30578:23;30593:7;30578:14;:23::i;:::-;30562:39;;30626:5;-1:-1:-1;;;;;30620:11:0;:2;-1:-1:-1;;;;;30620:11:0;;;30612:57;;;;-1:-1:-1;;;30612:57:0;;8583:2:1;30612:57:0;;;8565:21:1;8622:2;8602:18;;;8595:30;8661:34;8641:18;;;8634:62;-1:-1:-1;;;8712:18:1;;;8705:31;8753:19;;30612:57:0;8381:397:1;30612:57:0;24925:10;-1:-1:-1;;;;;30704:21:0;;;;:62;;-1:-1:-1;30729:37:0;30746:5;24925:10;31736:214;:::i;30729:37::-;30682:168;;;;-1:-1:-1;;;30682:168:0;;8985:2:1;30682:168:0;;;8967:21:1;9024:2;9004:18;;;8997:30;9063:34;9043:18;;;9036:62;9134:26;9114:18;;;9107:54;9178:19;;30682:168:0;8783:420:1;30682:168:0;30863:21;30872:2;30876:7;30863:8;:21::i;:::-;30551:341;30481:411;;:::o;32017:376::-;32226:41;24925:10;32259:7;32226:18;:41::i;:::-;32204:140;;;;-1:-1:-1;;;32204:140:0;;;;;;;:::i;:::-;32357:28;32367:4;32373:2;32377:7;32357:9;:28::i;42170:343::-;42312:7;42367:23;42384:5;42367:16;:23::i;:::-;42359:5;:31;42337:124;;;;-1:-1:-1;;;42337:124:0;;9828:2:1;42337:124:0;;;9810:21:1;9867:2;9847:18;;;9840:30;9906:34;9886:18;;;9879:62;-1:-1:-1;;;9957:18:1;;;9950:41;10008:19;;42337:124:0;9626:407:1;42337:124:0;-1:-1:-1;;;;;;42479:19:0;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;42170:343::o;53324:143::-;25558:6;;-1:-1:-1;;;;;25558:6:0;24925:10;25705:23;25697:68;;;;-1:-1:-1;;;25697:68:0;;;;;;;:::i;:::-;53384:12:::1;::::0;53399:1:::1;53384:12:::0;;;::::1;;;:16;53376:58;;;::::0;-1:-1:-1;;;53376:58:0;;10601:2:1;53376:58:0::1;::::0;::::1;10583:21:1::0;10640:2;10620:18;;;10613:30;10679:32;10659:18;;;10652:60;10729:18;;53376:58:0::1;10399:354:1::0;53376:58:0::1;53445:12;:14:::0;;;;::::1;;;::::0;:12:::1;:14;::::0;::::1;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;53324:143::o:0;59172:106::-;25558:6;;-1:-1:-1;;;;;25558:6:0;24925:10;25705:23;25697:68;;;;-1:-1:-1;;;25697:68:0;;;;;;;:::i;:::-;25558:6;;59222:48:::1;::::0;-1:-1:-1;;;;;25558:6:0;;;;59248:21:::1;59222:48:::0;::::1;;;::::0;::::1;::::0;;;59248:21;25558:6;59222:48;::::1;;;;;;;;;;;;;::::0;::::1;;;;;;59172:106::o:0;57123:89::-;25558:6;;-1:-1:-1;;;;;25558:6:0;24925:10;25705:23;25697:68;;;;-1:-1:-1;;;25697:68:0;;;;;;;:::i;:::-;57188:9:::1;:16:::0;57123:89::o;57479:332::-;57532:11;;;;;;;;:19;;:11;:19;57524:50;;;;-1:-1:-1;;;57524:50:0;;11272:2:1;57524:50:0;;;11254:21:1;11311:2;11291:18;;;11284:30;-1:-1:-1;;;11330:18:1;;;11323:48;11388:18;;57524:50:0;11070:342:1;57524:50:0;57593:23;24925:10;28515:295;:::i;57593:23::-;:28;57585:75;;;;-1:-1:-1;;;57585:75:0;;11619:2:1;57585:75:0;;;11601:21:1;11658:2;11638:18;;;11631:30;11697:34;11677:18;;;11670:62;-1:-1:-1;;;11748:18:1;;;11741:32;11790:19;;57585:75:0;11417:398:1;57585:75:0;57671:38;24925:10;57677:12;57691:17;:15;:17::i;:::-;57671:5;:38::i;:::-;57720:19;:17;:19::i;:::-;57787:15;;57757:46;;;24925:10;11994:51:1;;12076:2;12061:18;;12054:34;;;;57757:46:0;;;;;;;;;;;;57479:332::o;32464:185::-;32602:39;32619:4;32625:2;32629:7;32602:39;;;;;;;;;;;;:16;:39::i;53537:85::-;25558:6;;-1:-1:-1;;;;;25558:6:0;24925:10;25705:23;25697:68;;;;-1:-1:-1;;;25697:68:0;;;;;;;:::i;:::-;53596:12:::1;:18:::0;;;::::1;;::::0;::::1;-1:-1:-1::0;;53596:18:0;;::::1;::::0;;;::::1;::::0;;53537:85::o;42779:320::-;42899:7;42954:30;42677:10;:17;;42589:113;42954:30;42946:5;:38;42924:132;;;;-1:-1:-1;;;42924:132:0;;12301:2:1;42924:132:0;;;12283:21:1;12340:2;12320:18;;;12313:30;12379:34;12359:18;;;12352:62;-1:-1:-1;;;12430:18:1;;;12423:42;12482:19;;42924:132:0;12099:408:1;42924:132:0;43074:10;43085:5;43074:17;;;;;;;;:::i;:::-;;;;;;;;;43067:24;;42779:320;;;:::o;57018:93::-;25558:6;;-1:-1:-1;;;;;25558:6:0;24925:10;25705:23;25697:68;;;;-1:-1:-1;;;25697:68:0;;;;;;;:::i;:::-;57082:12:::1;:21:::0;;-1:-1:-1;;57082:21:0::1;::::0;::::1;;::::0;;;::::1;::::0;;57018:93::o;51164:435::-;51247:4;;;51302:150;51322:17;;;51302:150;;;51382:5;51364:23;;:3;:14;51368:6;;51375:1;51368:9;;;;;;;:::i;:::-;;;;;;;;;;51364:14;;-1:-1:-1;51364:14:0;;;;;;;;-1:-1:-1;51364:14:0;;;;:23;51361:80;;;51408:17;;;;:::i;:::-;;;;51361:80;51341:3;;;;:::i;:::-;;;;51302:150;;;-1:-1:-1;51475:32:0;;;51472:120;;;51531:4;51524:11;;;;;51472:120;51575:5;51568:12;;;51164:435;;;;;;:::o;59878:117::-;25558:6;;-1:-1:-1;;;;;25558:6:0;24925:10;25705:23;25697:68;;;;-1:-1:-1;;;25697:68:0;;;;;;;:::i;:::-;59984:3:::1;59962:12;59975:5;59962:19;;;;;;;:::i;:::-;;:25;;;;;;;;;;;;:::i;28872:326::-:0;28989:7;29030:16;;;:7;:16;;;;;;-1:-1:-1;;;;;29030:16:0;29079:19;29057:110;;;;-1:-1:-1;;;29057:110:0;;12986:2:1;29057:110:0;;;12968:21:1;13025:2;13005:18;;;12998:30;13064:34;13044:18;;;13037:62;-1:-1:-1;;;13115:18:1;;;13108:39;13164:19;;29057:110:0;12784:405:1;57346:102:0;25558:6;;-1:-1:-1;;;;;25558:6:0;24925:10;25705:23;25697:68;;;;-1:-1:-1;;;25697:68:0;;;;;;;:::i;:::-;57415:13:::1;:25:::0;57346:102::o;57971:136::-;58037:13;;58024:9;:26;58016:61;;;;-1:-1:-1;;;58016:61:0;;13396:2:1;58016:61:0;;;13378:21:1;13435:2;13415:18;;;13408:30;-1:-1:-1;;;13454:18:1;;;13447:52;13516:18;;58016:61:0;13194:346:1;58016:61:0;58088:11;58097:1;58088:8;:11::i;:::-;57971:136::o;28515:295::-;28632:7;-1:-1:-1;;;;;28679:19:0;;28657:111;;;;-1:-1:-1;;;28657:111:0;;13747:2:1;28657:111:0;;;13729:21:1;13786:2;13766:18;;;13759:30;13825:34;13805:18;;;13798:62;-1:-1:-1;;;13876:18:1;;;13869:40;13926:19;;28657:111:0;13545:406:1;28657:111:0;-1:-1:-1;;;;;;28786:16:0;;;;;:9;:16;;;;;;;28515:295::o;26136:94::-;25558:6;;-1:-1:-1;;;;;25558:6:0;24925:10;25705:23;25697:68;;;;-1:-1:-1;;;25697:68:0;;;;;;;:::i;:::-;26201:21:::1;26219:1;26201:9;:21::i;58781:385::-:0;25558:6;;-1:-1:-1;;;;;25558:6:0;24925:10;25705:23;25697:68;;;;-1:-1:-1;;;25697:68:0;;;;;;;:::i;:::-;58885:10:::1;;58879:3;58861:15;;:21;;;;:::i;:::-;:34;58853:65;;;::::0;-1:-1:-1;;;58853:65:0;;14291:2:1;58853:65:0::1;::::0;::::1;14273:21:1::0;14330:2;14310:18;;;14303:30;-1:-1:-1;;;14349:18:1;;;14342:48;14407:18;;58853:65:0::1;14089:342:1::0;58853:65:0::1;58944:2;58937:3;:9;;58929:37;;;::::0;-1:-1:-1;;;58929:37:0;;14638:2:1;58929:37:0::1;::::0;::::1;14620:21:1::0;14677:2;14657:18;;;14650:30;-1:-1:-1;;;14696:18:1;;;14689:45;14751:18;;58929:37:0::1;14436:339:1::0;58929:37:0::1;58981:9;58977:182;58996:3;58994:1;:5;58977:182;;;59022:29;59028:3;59033:17;:15;:17::i;59022:29::-;59066:19;:17;:19::i;:::-;59131:15;::::0;59107:40:::1;::::0;;24925:10;11994:51:1;;12076:2;12061:18;;12054:34;;;;59107:40:0;;::::1;::::0;;;;;;;;::::1;59001:3:::0;::::1;::::0;::::1;:::i;:::-;;;;58977:182;;57819:140:::0;57887:15;;57874:9;:28;57866:63;;;;-1:-1:-1;;;57866:63:0;;13396:2:1;57866:63:0;;;13378:21:1;13435:2;13415:18;;;13408:30;-1:-1:-1;;;13454:18:1;;;13447:52;13516:18;;57866:63:0;13194:346:1;57866:63:0;57940:11;57949:1;57940:8;:11::i;29434:104::-;29490:13;29523:7;29516:14;;;;;:::i;31338:327::-;-1:-1:-1;;;;;31473:24:0;;24925:10;31473:24;;31465:62;;;;-1:-1:-1;;;31465:62:0;;14982:2:1;31465:62:0;;;14964:21:1;15021:2;15001:18;;;14994:30;15060:27;15040:18;;;15033:55;15105:18;;31465:62:0;14780:349:1;31465:62:0;24925:10;31540:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;31540:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;31540:53:0;;;;;;;;;;31609:48;;540:41:1;;;31540:42:0;;24925:10;31609:48;;513:18:1;31609:48:0;;;;;;;31338:327;;:::o;48400:528::-;;;;;;;;;;;;;;;;;-1:-1:-1;48400:528:0;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;57224:110::-;25558:6;;-1:-1:-1;;;;;25558:6:0;24925:10;25705:23;25697:68;;;;-1:-1:-1;;;25697:68:0;;;;;;;:::i;:::-;57297:15:::1;:29:::0;57224:110::o;32720:365::-;32909:41;24925:10;32942:7;32909:18;:41::i;:::-;32887:140;;;;-1:-1:-1;;;32887:140:0;;;;;;;:::i;:::-;33038:39;33052:4;33058:2;33062:7;33071:5;33038:13;:39::i;:::-;32720:365;;;;:::o;60007:334::-;60098:21;60135:12;;;:3;:12;;;;;;60072:13;;60098:21;60122:12;;60135;;60122:26;;;;;;;:::i;:::-;;60098:50;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;60162:12:0;;60098:50;;-1:-1:-1;;;;60162:12:0;;;;;;60159:78;;60210:12;60200:25;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;60159:78;60288:7;60297:25;60314:7;60297:16;:25::i;:::-;60271:61;;;;;;;;;:::i;:::-;;;;;;;;;;;;;60257:76;;;60007:334;;;:::o;56915:95::-;25558:6;;-1:-1:-1;;;;;25558:6:0;24925:10;25705:23;25697:68;;;;-1:-1:-1;;;25697:68:0;;;;;;;:::i;:::-;56982:11:::1;:21:::0;;;::::1;;;;-1:-1:-1::0;;56982:21:0;;::::1;::::0;;;::::1;::::0;;56915:95::o;53815:3070::-;53879:6;;49989:25;;50060:28;24925:10;50060:14;:28::i;:::-;50029:59;;50099:30;50146:11;:18;50132:33;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;50132:33:0;;50099:66;;50180:9;50176:417;50195:25;;;50176:417;;;50246:9;50242:340;50265:11;:18;50261:1;:22;50242:340;;;50333:11;50345:1;50333:14;;;;;;;;:::i;:::-;;;;;;;50312;;50327:1;50312:17;;;;;;;:::i;:::-;;;;;;;:35;50309:258;;;50396:13;50410:1;50396:16;;;;;;;;:::i;:::-;;;;;;;50375:14;;50390:1;50375:17;;;;;;;:::i;:::-;;;;;;;:37;50372:175;;50460:14;;50475:1;50460:17;;;;;;;:::i;:::-;;;;;;;50441:13;50455:1;50441:16;;;;;;;;:::i;:::-;;;;;;;;;;:36;50504:19;;;;:::i;:::-;;;;50372:175;50285:3;;;;:::i;:::-;;;;50242:340;;;-1:-1:-1;50222:3:0;;;;:::i;:::-;;;;50176:417;;;-1:-1:-1;50611:42:0;;;50603:125;;;;-1:-1:-1;;;50603:125:0;;15978:2:1;50603:125:0;;;15960:21:1;16017:2;15997:18;;;15990:30;16056:34;16036:18;;;16029:62;16127:34;16107:18;;;16100:62;-1:-1:-1;;;16178:19:1;;;16171:37;16225:19;;50603:125:0;15776:474:1;50603:125:0;53904:17;53896:73:::1;;;::::0;-1:-1:-1;;;53896:73:0;;16457:2:1;53896:73:0::1;::::0;::::1;16439:21:1::0;16496:2;16476:18;;;16469:30;16535:34;16515:18;;;16508:62;-1:-1:-1;;;16586:18:1;;;16579:41;16637:19;;53896:73:0::1;16255:407:1::0;53896:73:0::1;53986:20;53999:6;;53986:12;:20::i;:::-;53978:61;;;::::0;-1:-1:-1;;;53978:61:0;;16869:2:1;53978:61:0::1;::::0;::::1;16851:21:1::0;16908:2;16888:18;;;16881:30;16947;16927:18;;;16920:58;16995:18;;53978:61:0::1;16667:352:1::0;53978:61:0::1;54056:12;::::0;;;::::1;;;54048:48;;;::::0;-1:-1:-1;;;54048:48:0;;17226:2:1;54048:48:0::1;::::0;::::1;17208:21:1::0;17265:2;17245:18;;;17238:30;17304:25;17284:18;;;17277:53;17347:18;;54048:48:0::1;17024:347:1::0;54048:48:0::1;54132:1;54116:17:::0;::::1;54113:2765;;;54179:11;54193:18;:16;:18::i;:::-;54260:12;::::0;54179:32;;-1:-1:-1;54260:12:0;;::::1;;;54276:1;54260:17;:45:::0;::::1;;;;54281:24;54295:6;;54303:1;54281:13;:24::i;:::-;54260:61;;;;;54319:2;54309:6;:12;;54260:61;54257:191;;;54340:30;54357:6;;54364:1;54357:9;;;;;;;:::i;:::-;;;;;;;54368:1;54340:16;:30::i;:::-;54257:191;;;54407:27;54424:6;;54431:1;54424:9;;;;;;;:::i;:::-;;;;;;;53247:12:::0;;;;:3;:12;;;;;:16;;-1:-1:-1;;53247:16:0;53262:1;53247:16;;;53184:87;54407:27:::1;54496:12;::::0;;;::::1;;;54512:1;54496:17;54493:359;;;54535:24;54549:6;;54557:1;54535:13;:24::i;:::-;:40;;;;;54573:2;54563:6;:12;;54535:40;54532:307;;;54598:30;54615:6;;54622:1;54615:9;;;;;;;:::i;:::-;;;;;;;54626:1;54598:16;:30::i;:::-;54532:307;;;54656:24;54670:6;;54678:1;54656:13;:24::i;:::-;:40;;;;;54694:2;54684:6;:12;;54656:40;54652:187;;;54719:30;54736:6;;54743:1;54736:9;;;;;;;:::i;54652:187::-;54794:27;54811:6;;54818:1;54811:9;;;;;;;:::i;54794:27::-;54900:12;::::0;::::1;::::0;;;::::1;;;:17;54897:479;;;54939:24;54953:6;;54961:1;54939:13;:24::i;:::-;:40;;;;;54977:2;54967:6;:12;;54939:40;54936:427;;;55002:30;55019:6;;55026:1;55019:9;;;;;;;:::i;55002:30::-;54936:427;;;55060:24;55074:6;;55082:1;55060:13;:24::i;:::-;:40;;;;;55098:2;55088:6;:12;;55060:40;55056:307;;;55123:30;55140:6;;55147:1;55140:9;;;;;;;:::i;55056:307::-;55181:24;55195:6;;55203:1;55181:13;:24::i;:::-;:39;;;;;55219:1;55209:6;:11;;55181:39;55177:186;;;55243:30;55260:6;;55267:1;55260:9;;;;;;;:::i;:::-;;;;;;;55271:1;55243:16;:30::i;55177:186::-;55318:27;55335:6;;55342:1;55335:9;;;;;;;:::i;55318:27::-;54135:1257;54113:2765;;;55450:12;::::0;;;::::1;;;55466:1;55450:17;:45:::0;::::1;;;;55471:24;55485:6;;55493:1;55471:13;:24::i;:::-;55447:225;;;55563:1;55546:18:::0;::::1;55538:82;;;::::0;-1:-1:-1;;;55538:82:0;;17578:2:1;55538:82:0::1;::::0;::::1;17560:21:1::0;17617:2;17597:18;;;17590:30;17656:34;17636:18;;;17629:62;-1:-1:-1;;;17707:18:1;;;17700:49;17766:19;;55538:82:0::1;17376:415:1::0;55538:82:0::1;55636:23;55649:6;;55657:1;55636:12;:23::i;:::-;55697:12;::::0;;;::::1;;;55713:1;55697:17;55694:474;;;55760:24;55774:6;;55782:1;55760:13;:24::i;:::-;55757:191;;;55831:1;55814:18:::0;::::1;55806:82;;;::::0;-1:-1:-1;;;55806:82:0;;17998:2:1;55806:82:0::1;::::0;::::1;17980:21:1::0;18037:2;18017:18;;;18010:30;18076:34;18056:18;;;18049:62;-1:-1:-1;;;18127:18:1;;;18120:49;18186:19;;55806:82:0::1;17796:415:1::0;55806:82:0::1;55908:23;55921:6;;55929:1;55908:12;:23::i;:::-;55968:24;55982:6;;55990:1;55968:13;:24::i;:::-;55964:192;;;56039:1;56022:18:::0;::::1;56014:82;;;::::0;-1:-1:-1;;;56014:82:0;;18418:2:1;56014:82:0::1;::::0;::::1;18400:21:1::0;18457:2;18437:18;;;18430:30;18496:34;18476:18;;;18469:62;-1:-1:-1;;;18547:18:1;;;18540:49;18606:19;;56014:82:0::1;18216:415:1::0;56014:82:0::1;56116:23;56129:6;;56137:1;56116:12;:23::i;:::-;56193:12;::::0;::::1;::::0;;;::::1;;;:17;56190:679;;;56256:24;56270:6;;56278:1;56256:13;:24::i;:::-;56253:191;;;56327:1;56310:18:::0;::::1;56302:82;;;::::0;-1:-1:-1;;;56302:82:0;;18838:2:1;56302:82:0::1;::::0;::::1;18820:21:1::0;18877:2;18857:18;;;18850:30;18916:34;18896:18;;;18889:62;-1:-1:-1;;;18967:18:1;;;18960:49;19026:19;;56302:82:0::1;18636:415:1::0;56302:82:0::1;56404:23;56417:6;;56425:1;56404:12;:23::i;:::-;56462:24;56476:6;;56484:1;56462:13;:24::i;:::-;56459:191;;;56533:1;56516:18:::0;::::1;56508:82;;;::::0;-1:-1:-1;;;56508:82:0;;19258:2:1;56508:82:0::1;::::0;::::1;19240:21:1::0;19297:2;19277:18;;;19270:30;19336:34;19316:18;;;19309:62;-1:-1:-1;;;19387:18:1;;;19380:49;19446:19;;56508:82:0::1;19056:415:1::0;56508:82:0::1;56610:23;56623:6;;56631:1;56610:12;:23::i;:::-;56668:24;56682:6;;56690:1;56668:13;:24::i;:::-;56665:192;;;56739:1;56722:18:::0;::::1;56714:83;;;::::0;-1:-1:-1;;;56714:83:0;;19678:2:1;56714:83:0::1;::::0;::::1;19660:21:1::0;19717:2;19697:18;;;19690:30;19756:34;19736:18;;;19729:62;-1:-1:-1;;;19807:18:1;;;19800:50;19867:19;;56714:83:0::1;19476:416:1::0;56714:83:0::1;56817:23;56830:6;;56838:1;56817:12;:23::i;:::-;49978:770:::0;;;53815:3070;;;;:::o;26385:229::-;25558:6;;-1:-1:-1;;;;;25558:6:0;24925:10;25705:23;25697:68;;;;-1:-1:-1;;;25697:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;26488:22:0;::::1;26466:110;;;::::0;-1:-1:-1;;;26466:110:0;;20099:2:1;26466:110:0::1;::::0;::::1;20081:21:1::0;20138:2;20118:18;;;20111:30;20177:34;20157:18;;;20150:62;-1:-1:-1;;;20228:18:1;;;20221:36;20274:19;;26466:110:0::1;19897:402:1::0;26466:110:0::1;26587:19;26597:8;26587:9;:19::i;28096:355::-:0;28243:4;-1:-1:-1;;;;;;28285:40:0;;-1:-1:-1;;;28285:40:0;;:105;;-1:-1:-1;;;;;;;28342:48:0;;-1:-1:-1;;;28342:48:0;28285:105;:158;;;-1:-1:-1;;;;;;;;;;27066:40:0;;;28407:36;26907:207;38755:174;38830:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;38830:29:0;-1:-1:-1;;;;;38830:29:0;;;;;;;;:24;;38884:23;38830:24;38884:14;:23::i;:::-;-1:-1:-1;;;;;38875:46:0;;;;;;;;;;;38755:174;;:::o;34926:452::-;35055:4;34721:16;;;:7;:16;;;;;;-1:-1:-1;;;;;34721:16:0;35077:110;;;;-1:-1:-1;;;35077:110:0;;20506:2:1;35077:110:0;;;20488:21:1;20545:2;20525:18;;;20518:30;20584:34;20564:18;;;20557:62;-1:-1:-1;;;20635:18:1;;;20628:42;20687:19;;35077:110:0;20304:408:1;35077:110:0;35198:13;35214:23;35229:7;35214:14;:23::i;:::-;35198:39;;35267:5;-1:-1:-1;;;;;35256:16:0;:7;-1:-1:-1;;;;;35256:16:0;;:64;;;;35313:7;-1:-1:-1;;;;;35289:31:0;:20;35301:7;35289:11;:20::i;:::-;-1:-1:-1;;;;;35289:31:0;;35256:64;:113;;;-1:-1:-1;;;;;;31907:25:0;;;31878:4;31907:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;35337:32;35248:122;34926:452;-1:-1:-1;;;;34926:452:0:o;38022:615::-;38195:4;-1:-1:-1;;;;;38168:31:0;:23;38183:7;38168:14;:23::i;:::-;-1:-1:-1;;;;;38168:31:0;;38146:122;;;;-1:-1:-1;;;38146:122:0;;20919:2:1;38146:122:0;;;20901:21:1;20958:2;20938:18;;;20931:30;20997:34;20977:18;;;20970:62;-1:-1:-1;;;21048:18:1;;;21041:39;21097:19;;38146:122:0;20717:405:1;38146:122:0;-1:-1:-1;;;;;38287:16:0;;38279:65;;;;-1:-1:-1;;;38279:65:0;;21329:2:1;38279:65:0;;;21311:21:1;21368:2;21348:18;;;21341:30;21407:34;21387:18;;;21380:62;-1:-1:-1;;;21458:18:1;;;21451:34;21502:19;;38279:65:0;21127:400:1;38279:65:0;38357:39;38378:4;38384:2;38388:7;38357:20;:39::i;:::-;38461:29;38478:1;38482:7;38461:8;:29::i;:::-;-1:-1:-1;;;;;38503:15:0;;;;;;:9;:15;;;;;:20;;38522:1;;38503:15;:20;;38522:1;;38503:20;:::i;:::-;;;;-1:-1:-1;;;;;;;38534:13:0;;;;;;:9;:13;;;;;:18;;38551:1;;38534:13;:18;;38551:1;;38534:18;:::i;:::-;;;;-1:-1:-1;;38563:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;38563:21:0;-1:-1:-1;;;;;38563:21:0;;;;;;;;;38602:27;;38563:16;;38602:27;;;;;;;38022:615;;;:::o;59426:106::-;59502:15;;59475:7;;59502:22;;59522:1;59502:19;:22::i;:::-;59495:29;;59426:106;:::o;36714:382::-;-1:-1:-1;;;;;36794:16:0;;36786:61;;;;-1:-1:-1;;;36786:61:0;;21864:2:1;36786:61:0;;;21846:21:1;;;21883:18;;;21876:30;21942:34;21922:18;;;21915:62;21994:18;;36786:61:0;21662:356:1;36786:61:0;34697:4;34721:16;;;:7;:16;;;;;;-1:-1:-1;;;;;34721:16:0;:30;36858:58;;;;-1:-1:-1;;;36858:58:0;;22225:2:1;36858:58:0;;;22207:21:1;22264:2;22244:18;;;22237:30;22303;22283:18;;;22276:58;22351:18;;36858:58:0;22023:352:1;36858:58:0;36929:45;36958:1;36962:2;36966:7;36929:20;:45::i;:::-;-1:-1:-1;;;;;36987:13:0;;;;;;:9;:13;;;;;:18;;37004:1;;36987:13;:18;;37004:1;;36987:18;:::i;:::-;;;;-1:-1:-1;;37016:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;37016:21:0;-1:-1:-1;;;;;37016:21:0;;;;;;;;37055:33;;37016:16;;;37055:33;;37016:16;;37055:33;36714:382;;:::o;59745:123::-;59819:10;;59801:15;;:28;59793:37;;;;;;59843:15;:17;;;:15;:17;;;:::i;:::-;;;;;;59745:123::o;58119:594::-;58195:9;;58176:15;:28;;58168:58;;;;-1:-1:-1;;;58168:58:0;;22582:2:1;58168:58:0;;;22564:21:1;22621:2;22601:18;;;22594:30;-1:-1:-1;;;22640:18:1;;;22633:47;22697:18;;58168:58:0;22380:341:1;58168:58:0;58250:12;;;;:20;;:12;:20;58247:64;;;58292:7;:3;58298:1;58292:7;:::i;:::-;58286:13;;58247:64;58324:23;24925:10;28515:295;:::i;58324:23::-;:28;:43;;;;-1:-1:-1;58356:11:0;;;;;;;58324:43;58321:87;;;58389:7;:3;58395:1;58389:7;:::i;:::-;58383:13;;58321:87;58463:10;;58436:15;;:24;;;;;:19;:24::i;:::-;:37;58428:68;;;;-1:-1:-1;;;58428:68:0;;14291:2:1;58428:68:0;;;14273:21:1;14330:2;14310:18;;;14303:30;-1:-1:-1;;;14349:18:1;;;14342:48;14407:18;;58428:68:0;14089:342:1;58428:68:0;58521:9;58517:189;58536:3;58534:5;;:1;:5;58517:189;;;58560:38;24925:10;58566:12;24845:98;58560:38;58613:19;:17;:19::i;:::-;58678:15;;58654:40;;;24925:10;11994:51:1;;12076:2;12061:18;;12054:34;;;;58654:40:0;;;;;;;;;;;;58541:3;;;;:::i;:::-;;;;58517:189;;;;58119:594;:::o;26622:173::-;26697:6;;;-1:-1:-1;;;;;26714:17:0;;;-1:-1:-1;;;;;;26714:17:0;;;;;;;26747:40;;26697:6;;;26714:17;26697:6;;26747:40;;26678:16;;26747:40;26667:128;26622:173;:::o;33967:352::-;34124:28;34134:4;34140:2;34144:7;34124:9;:28::i;:::-;34185:48;34208:4;34214:2;34218:7;34227:5;34185:22;:48::i;:::-;34163:148;;;;-1:-1:-1;;;34163:148:0;;;;;;;:::i;6763:723::-;6819:13;7040:10;7036:53;;-1:-1:-1;;7067:10:0;;;;;;;;;;;;-1:-1:-1;;;7067:10:0;;;;;6763:723::o;7036:53::-;7114:5;7099:12;7155:78;7162:9;;7155:78;;7188:8;;;;:::i;:::-;;-1:-1:-1;7211:10:0;;-1:-1:-1;7219:2:0;7211:10;;:::i;:::-;;;7155:78;;;7243:19;7275:6;7265:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;7265:17:0;;7243:39;;7293:154;7300:10;;7293:154;;7327:11;7337:1;7327:11;;:::i;:::-;;-1:-1:-1;7396:10:0;7404:2;7396:5;:10;:::i;:::-;7383:24;;:2;:24;:::i;:::-;7370:39;;7353:6;7360;7353:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;7353:56:0;;;;;;;;-1:-1:-1;7424:11:0;7433:2;7424:11;;:::i;:::-;;;7293:154;;50760:349;50822:16;50851:18;50872:17;50882:6;50872:9;:17::i;:::-;50851:38;;50902:25;50944:10;50930:25;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;50930:25:0;;50902:53;;50970:9;50966:110;50989:10;50985:1;:14;50966:110;;;51034:30;51054:6;51062:1;51034:19;:30::i;:::-;51020:8;51029:1;51020:11;;;;;;;;:::i;:::-;;;;;;;;;;:44;51001:3;;;;:::i;:::-;;;;50966:110;;;-1:-1:-1;51093:8:0;50760:349;-1:-1:-1;;;50760:349:0:o;51667:375::-;51738:4;;;51781:136;51800:17;;;51781:136;;;51842:3;:14;51846:6;;51853:1;51846:9;;;;;;;:::i;:::-;;;;;;;;;;51842:14;;-1:-1:-1;51842:14:0;;;;;;;;-1:-1:-1;51842:14:0;;;;;:19;51839:67;;;51882:8;;;;:::i;:::-;;;;51839:67;51819:3;;;;:::i;:::-;;;;51781:136;;;-1:-1:-1;51940:10:0;;51937:98;;51974:5;51967:12;;;;;51937:98;52019:4;52012:11;;;;;52533:236;52583:7;52603:12;52653:33;52670:15;52653:16;:33::i;:::-;52636:51;;;;;;;;:::i;:::-;;;;-1:-1:-1;;52636:51:0;;;;;;;;;52626:62;;52636:51;52626:62;;;;;-1:-1:-1;52618:71:0;52717:20;52735:1;52717:13;52626:62;52726:3;52717:8;:13::i;:::-;:17;;:20::i;52089:385::-;52165:19;52187:12;;;:3;:12;;;;;;;;;52218:18;;;52210:63;;;;-1:-1:-1;;;52210:63:0;;24454:2:1;52210:63:0;;;24436:21:1;;;24473:18;;;24466:30;24532:34;24512:18;;;24505:62;24584:18;;52210:63:0;24252:356:1;52210:63:0;52309:8;;;;;;52292:25;;;;;52284:62;;;;-1:-1:-1;;;52284:62:0;;24815:2:1;52284:62:0;;;24797:21:1;24854:2;24834:18;;;24827:30;24893:26;24873:18;;;24866:54;24937:18;;52284:62:0;24613:348:1;52284:62:0;52372:21;52388:5;52372:13;:21;:::i;:::-;52357:12;;;;:3;:12;;;;;;;;;:36;;-1:-1:-1;;52357:36:0;;;;;;;;;;;52411:55;;25162:25:1;;;25223:17;;;25203:18;;;25196:45;;;;25257:18;;;25250:45;52411:55:0;;25150:2:1;25135:18;52411:55:0;;;;;;;52154:320;52089:385;;:::o;52876:232::-;52959:34;52976:6;;52983:1;52976:9;;;;;;;:::i;:::-;;;;;;;52987:5;52959:16;:34::i;:::-;53020:1;53004:97;53023:17;;;53004:97;;;53062:27;53079:6;;53086:1;53079:9;;;;;;;:::i;53062:27::-;53042:3;;;;:::i;:::-;;;;53004:97;;43712:589;-1:-1:-1;;;;;43918:18:0;;43914:187;;43953:40;43985:7;45128:10;:17;;45101:24;;;;:15;:24;;;;;:44;;;45156:24;;;;;;;;;;;;45024:164;43953:40;43914:187;;;44023:2;-1:-1:-1;;;;;44015:10:0;:4;-1:-1:-1;;;;;44015:10:0;;44011:90;;44042:47;44075:4;44081:7;44042:32;:47::i;:::-;-1:-1:-1;;;;;44115:16:0;;44111:183;;44148:45;44185:7;44148:36;:45::i;44111:183::-;44221:4;-1:-1:-1;;;;;44215:10:0;:2;-1:-1:-1;;;;;44215:10:0;;44211:83;;44242:40;44270:2;44274:7;44242:27;:40::i;2412:98::-;2470:7;2497:5;2501:1;2497;:5;:::i;39494:980::-;39649:4;-1:-1:-1;;;;;39670:13:0;;16678:20;16726:8;39666:801;;39723:175;;-1:-1:-1;;;39723:175:0;;-1:-1:-1;;;;;39723:36:0;;;;;:175;;24925:10;;39817:4;;39844:7;;39874:5;;39723:175;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;39723:175:0;;;;;;;;-1:-1:-1;;39723:175:0;;;;;;;;;;;;:::i;:::-;;;39702:710;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;40081:13:0;;40077:320;;40124:108;;-1:-1:-1;;;40124:108:0;;;;;;;:::i;40077:320::-;40347:6;40341:13;40332:6;40328:2;40324:15;40317:38;39702:710;-1:-1:-1;;;;;;39962:51:0;-1:-1:-1;;;39962:51:0;;-1:-1:-1;39955:58:0;;39666:801;-1:-1:-1;40451:4:0;39494:980;;;;;;:::o;4114:98::-;4172:7;4199:5;4203:1;4199;:5;:::i;45815:1002::-;46095:22;46145:1;46120:22;46137:4;46120:16;:22::i;:::-;:26;;;;:::i;:::-;46157:18;46178:26;;;:17;:26;;;;;;46095:51;;-1:-1:-1;46311:28:0;;;46307:328;;-1:-1:-1;;;;;46378:18:0;;46356:19;46378:18;;;:12;:18;;;;;;;;:34;;;;;;;;;46429:30;;;;;;:44;;;46546:30;;:17;:30;;;;;:43;;;46307:328;-1:-1:-1;46731:26:0;;;;:17;:26;;;;;;;;46724:33;;;-1:-1:-1;;;;;46775:18:0;;;;;:12;:18;;;;;:34;;;;;;;46768:41;45815:1002::o;47112:1079::-;47390:10;:17;47365:22;;47390:21;;47410:1;;47390:21;:::i;:::-;47422:18;47443:24;;;:15;:24;;;;;;47816:10;:26;;47365:46;;-1:-1:-1;47443:24:0;;47365:46;;47816:26;;;;;;:::i;:::-;;;;;;;;;47794:48;;47880:11;47855:10;47866;47855:22;;;;;;;;:::i;:::-;;;;;;;;;;;;:36;;;;47960:28;;;:15;:28;;;;;;;:41;;;48132:24;;;;;48125:31;48167:10;:16;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;47183:1008;;;47112:1079;:::o;44602:221::-;44687:14;44704:20;44721:2;44704:16;:20::i;:::-;-1:-1:-1;;;;;44735:16:0;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;44780:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;44602:221:0:o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:131:1;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:258::-;664:1;674:113;688:6;685:1;682:13;674:113;;;764:11;;;758:18;745:11;;;738:39;710:2;703:10;674:113;;;805:6;802:1;799:13;796:48;;;-1:-1:-1;;840:1:1;822:16;;815:27;592:258::o;855:::-;897:3;935:5;929:12;962:6;957:3;950:19;978:63;1034:6;1027:4;1022:3;1018:14;1011:4;1004:5;1000:16;978:63;:::i;:::-;1095:2;1074:15;-1:-1:-1;;1070:29:1;1061:39;;;;1102:4;1057:50;;855:258;-1:-1:-1;;855:258:1:o;1118:220::-;1267:2;1256:9;1249:21;1230:4;1287:45;1328:2;1317:9;1313:18;1305:6;1287:45;:::i;1525:180::-;1584:6;1637:2;1625:9;1616:7;1612:23;1608:32;1605:52;;;1653:1;1650;1643:12;1605:52;-1:-1:-1;1676:23:1;;1525:180;-1:-1:-1;1525:180:1:o;1918:173::-;1986:20;;-1:-1:-1;;;;;2035:31:1;;2025:42;;2015:70;;2081:1;2078;2071:12;2015:70;1918:173;;;:::o;2096:254::-;2164:6;2172;2225:2;2213:9;2204:7;2200:23;2196:32;2193:52;;;2241:1;2238;2231:12;2193:52;2264:29;2283:9;2264:29;:::i;:::-;2254:39;2340:2;2325:18;;;;2312:32;;-1:-1:-1;;;2096:254:1:o;2355:328::-;2432:6;2440;2448;2501:2;2489:9;2480:7;2476:23;2472:32;2469:52;;;2517:1;2514;2507:12;2469:52;2540:29;2559:9;2540:29;:::i;:::-;2530:39;;2588:38;2622:2;2611:9;2607:18;2588:38;:::i;:::-;2578:48;;2673:2;2662:9;2658:18;2645:32;2635:42;;2355:328;;;;;:::o;2877:160::-;2942:20;;2998:13;;2991:21;2981:32;;2971:60;;3027:1;3024;3017:12;3042:180;3098:6;3151:2;3139:9;3130:7;3126:23;3122:32;3119:52;;;3167:1;3164;3157:12;3119:52;3190:26;3206:9;3190:26;:::i;3227:367::-;3290:8;3300:6;3354:3;3347:4;3339:6;3335:17;3331:27;3321:55;;3372:1;3369;3362:12;3321:55;-1:-1:-1;3395:20:1;;3438:18;3427:30;;3424:50;;;3470:1;3467;3460:12;3424:50;3507:4;3499:6;3495:17;3483:29;;3567:3;3560:4;3550:6;3547:1;3543:14;3535:6;3531:27;3527:38;3524:47;3521:67;;;3584:1;3581;3574:12;3521:67;3227:367;;;;;:::o;3599:594::-;3692:6;3700;3708;3761:2;3749:9;3740:7;3736:23;3732:32;3729:52;;;3777:1;3774;3767:12;3729:52;3817:9;3804:23;3850:18;3842:6;3839:30;3836:50;;;3882:1;3879;3872:12;3836:50;3921:70;3983:7;3974:6;3963:9;3959:22;3921:70;:::i;:::-;4010:8;;-1:-1:-1;3895:96:1;-1:-1:-1;;4095:2:1;4080:18;;4067:32;4139:4;4128:16;;4118:27;;4108:55;;4159:1;4156;4149:12;4108:55;4182:5;4172:15;;;3599:594;;;;;:::o;4198:127::-;4259:10;4254:3;4250:20;4247:1;4240:31;4290:4;4287:1;4280:15;4314:4;4311:1;4304:15;4330:632;4395:5;4425:18;4466:2;4458:6;4455:14;4452:40;;;4472:18;;:::i;:::-;4547:2;4541:9;4515:2;4601:15;;-1:-1:-1;;4597:24:1;;;4623:2;4593:33;4589:42;4577:55;;;4647:18;;;4667:22;;;4644:46;4641:72;;;4693:18;;:::i;:::-;4733:10;4729:2;4722:22;4762:6;4753:15;;4792:6;4784;4777:22;4832:3;4823:6;4818:3;4814:16;4811:25;4808:45;;;4849:1;4846;4839:12;4808:45;4899:6;4894:3;4887:4;4879:6;4875:17;4862:44;4954:1;4947:4;4938:6;4930;4926:19;4922:30;4915:41;;;;4330:632;;;;;:::o;4967:523::-;5045:6;5053;5106:2;5094:9;5085:7;5081:23;5077:32;5074:52;;;5122:1;5119;5112:12;5074:52;5162:9;5149:23;5195:18;5187:6;5184:30;5181:50;;;5227:1;5224;5217:12;5181:50;5250:22;;5303:4;5295:13;;5291:27;-1:-1:-1;5281:55:1;;5332:1;5329;5322:12;5281:55;5355:76;5423:7;5418:2;5405:16;5398:4;5394:2;5390:13;5355:76;:::i;:::-;5345:86;5478:4;5463:20;;;;5450:34;;-1:-1:-1;;;;4967:523:1:o;5495:186::-;5554:6;5607:2;5595:9;5586:7;5582:23;5578:32;5575:52;;;5623:1;5620;5613:12;5575:52;5646:29;5665:9;5646:29;:::i;5686:254::-;5754:6;5762;5815:2;5803:9;5794:7;5790:23;5786:32;5783:52;;;5831:1;5828;5821:12;5783:52;5867:9;5854:23;5844:33;;5896:38;5930:2;5919:9;5915:18;5896:38;:::i;:::-;5886:48;;5686:254;;;;;:::o;5945:::-;6010:6;6018;6071:2;6059:9;6050:7;6046:23;6042:32;6039:52;;;6087:1;6084;6077:12;6039:52;6110:29;6129:9;6110:29;:::i;:::-;6100:39;;6158:35;6189:2;6178:9;6174:18;6158:35;:::i;6204:667::-;6299:6;6307;6315;6323;6376:3;6364:9;6355:7;6351:23;6347:33;6344:53;;;6393:1;6390;6383:12;6344:53;6416:29;6435:9;6416:29;:::i;:::-;6406:39;;6464:38;6498:2;6487:9;6483:18;6464:38;:::i;:::-;6454:48;;6549:2;6538:9;6534:18;6521:32;6511:42;;6604:2;6593:9;6589:18;6576:32;6631:18;6623:6;6620:30;6617:50;;;6663:1;6660;6653:12;6617:50;6686:22;;6739:4;6731:13;;6727:27;-1:-1:-1;6717:55:1;;6768:1;6765;6758:12;6717:55;6791:74;6857:7;6852:2;6839:16;6834:2;6830;6826:11;6791:74;:::i;:::-;6781:84;;;6204:667;;;;;;;:::o;6876:437::-;6962:6;6970;7023:2;7011:9;7002:7;6998:23;6994:32;6991:52;;;7039:1;7036;7029:12;6991:52;7079:9;7066:23;7112:18;7104:6;7101:30;7098:50;;;7144:1;7141;7134:12;7098:50;7183:70;7245:7;7236:6;7225:9;7221:22;7183:70;:::i;:::-;7272:8;;7157:96;;-1:-1:-1;6876:437:1;-1:-1:-1;;;;6876:437:1:o;7318:260::-;7386:6;7394;7447:2;7435:9;7426:7;7422:23;7418:32;7415:52;;;7463:1;7460;7453:12;7415:52;7486:29;7505:9;7486:29;:::i;:::-;7476:39;;7534:38;7568:2;7557:9;7553:18;7534:38;:::i;7583:380::-;7662:1;7658:12;;;;7705;;;7726:61;;7780:4;7772:6;7768:17;7758:27;;7726:61;7833:2;7825:6;7822:14;7802:18;7799:38;7796:161;;;7879:10;7874:3;7870:20;7867:1;7860:31;7914:4;7911:1;7904:15;7942:4;7939:1;7932:15;7796:161;;7583:380;;;:::o;9208:413::-;9410:2;9392:21;;;9449:2;9429:18;;;9422:30;9488:34;9483:2;9468:18;;9461:62;-1:-1:-1;;;9554:2:1;9539:18;;9532:47;9611:3;9596:19;;9208:413::o;10038:356::-;10240:2;10222:21;;;10259:18;;;10252:30;10318:34;10313:2;10298:18;;10291:62;10385:2;10370:18;;10038:356::o;10758:127::-;10819:10;10814:3;10810:20;10807:1;10800:31;10850:4;10847:1;10840:15;10874:4;10871:1;10864:15;10890:175;10927:3;10971:4;10964:5;10960:16;11000:4;10991:7;10988:17;10985:43;;;11008:18;;:::i;:::-;11057:1;11044:15;;10890:175;-1:-1:-1;;10890:175:1:o;12512:127::-;12573:10;12568:3;12564:20;12561:1;12554:31;12604:4;12601:1;12594:15;12628:4;12625:1;12618:15;12644:135;12683:3;-1:-1:-1;;12704:17:1;;12701:43;;;12724:18;;:::i;:::-;-1:-1:-1;12771:1:1;12760:13;;12644:135::o;13956:128::-;13996:3;14027:1;14023:6;14020:1;14017:13;14014:39;;;14033:18;;:::i;:::-;-1:-1:-1;14069:9:1;;13956:128::o;15134:637::-;15414:3;15452:6;15446:13;15468:53;15514:6;15509:3;15502:4;15494:6;15490:17;15468:53;:::i;:::-;15584:13;;15543:16;;;;15606:57;15584:13;15543:16;15640:4;15628:17;;15606:57;:::i;:::-;-1:-1:-1;;;15685:20:1;;15714:22;;;15763:1;15752:13;;15134:637;-1:-1:-1;;;;15134:637:1:o;21532:125::-;21572:4;21600:1;21597;21594:8;21591:34;;;21605:18;;:::i;:::-;-1:-1:-1;21642:9:1;;21532:125::o;22726:238::-;22764:7;22804:4;22801:1;22797:12;22836:4;22833:1;22829:12;22896:3;22890:4;22886:14;22881:3;22878:23;22871:3;22864:11;22857:19;22853:49;22850:75;;;22905:18;;:::i;:::-;22945:13;;22726:238;-1:-1:-1;;;22726:238:1:o;22969:204::-;23007:3;23043:4;23040:1;23036:12;23075:4;23072:1;23068:12;23110:3;23104:4;23100:14;23095:3;23092:23;23089:49;;;23118:18;;:::i;:::-;23154:13;;22969:204;-1:-1:-1;;;22969:204:1:o;23178:414::-;23380:2;23362:21;;;23419:2;23399:18;;;23392:30;23458:34;23453:2;23438:18;;23431:62;-1:-1:-1;;;23524:2:1;23509:18;;23502:48;23582:3;23567:19;;23178:414::o;23597:127::-;23658:10;23653:3;23649:20;23646:1;23639:31;23689:4;23686:1;23679:15;23713:4;23710:1;23703:15;23729:120;23769:1;23795;23785:35;;23800:18;;:::i;:::-;-1:-1:-1;23834:9:1;;23729:120::o;23854:112::-;23886:1;23912;23902:35;;23917:18;;:::i;:::-;-1:-1:-1;23951:9:1;;23854:112::o;23971:276::-;24102:3;24140:6;24134:13;24156:53;24202:6;24197:3;24190:4;24182:6;24178:17;24156:53;:::i;:::-;24225:16;;;;;23971:276;-1:-1:-1;;23971:276:1:o;25306:489::-;-1:-1:-1;;;;;25575:15:1;;;25557:34;;25627:15;;25622:2;25607:18;;25600:43;25674:2;25659:18;;25652:34;;;25722:3;25717:2;25702:18;;25695:31;;;25500:4;;25743:46;;25769:19;;25761:6;25743:46;:::i;:::-;25735:54;25306:489;-1:-1:-1;;;;;;25306:489:1:o;25800:249::-;25869:6;25922:2;25910:9;25901:7;25897:23;25893:32;25890:52;;;25938:1;25935;25928:12;25890:52;25970:9;25964:16;25989:30;26013:5;25989:30;:::i;26054:127::-;26115:10;26110:3;26106:20;26103:1;26096:31;26146:4;26143:1;26136:15;26170:4;26167:1;26160:15

Swarm Source

ipfs://818f48d9fc20b010e3b1a2ba28583d7076f3ca0c5ff7ebee18aebcf87dd063d1
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.