ETH Price: $2,670.42 (+1.09%)

Token

Ordinal Bored Apes (OBAYC)
 

Overview

Max Total Supply

505 OBAYC

Holders

79

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Balance
50 OBAYC
0xc4352b124b32e928cc0f18ff2da77367c6e81d31
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:
OBAYC

Compiler Version
v0.8.20+commit.a1b79de6

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

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

//SPDX-License-Identifier: UNLICENSED

pragma solidity 0.8.20;

library Counters {
    struct Counter {
        // This variable should never be directly accessed by users of the library: interactions must be restricted to
        // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
        // this feature: see https://github.com/ethereum/solidity/issues/4637
        uint256 _value; // default: 0
    }

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

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

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

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

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);
    }
}

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);
    }
}

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);
            }
        }
    }
}

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);
}

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);
}

abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(
        bytes4 interfaceId
    ) public view virtual override returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}

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);
}

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();
    }
}

interface IOperatorFilterRegistry {

    function isOperatorAllowed(
        address registrant,
        address operator
    ) external view returns (bool);

    function register(address registrant) external;

    function registerAndSubscribe(
        address registrant,
        address subscription
    ) external;

    function registerAndCopyEntries(
        address registrant,
        address registrantToCopy
    ) external;

    function unregister(address addr) external;

    function updateOperator(
        address registrant,
        address operator,
        bool filtered
    ) external;

    function updateOperators(
        address registrant,
        address[] calldata operators,
        bool filtered
    ) external;

    function updateCodeHash(
        address registrant,
        bytes32 codehash,
        bool filtered
    ) external;

    function updateCodeHashes(
        address registrant,
        bytes32[] calldata codeHashes,
        bool filtered
    ) external;

    function subscribe(
        address registrant,
        address registrantToSubscribe
    ) external;

    function unsubscribe(address registrant, bool copyExistingEntries) external;

    function subscriptionOf(address addr) external returns (address registrant);

    function subscribers(
        address registrant
    ) external returns (address[] memory);

    function subscriberAt(
        address registrant,
        uint256 index
    ) external returns (address);

    function copyEntriesOf(
        address registrant,
        address registrantToCopy
    ) external;

    function isOperatorFiltered(
        address registrant,
        address operator
    ) external returns (bool);

    function isCodeHashOfFiltered(
        address registrant,
        address operatorWithCode
    ) external returns (bool);

    function isCodeHashFiltered(
        address registrant,
        bytes32 codeHash
    ) external returns (bool);

    function filteredOperators(
        address addr
    ) external returns (address[] memory);

    function filteredCodeHashes(
        address addr
    ) external returns (bytes32[] memory);

    function filteredOperatorAt(
        address registrant,
        uint256 index
    ) external returns (address);

    function filteredCodeHashAt(
        address registrant,
        uint256 index
    ) external returns (bytes32);

    function isRegistered(address addr) external returns (bool);

    function codeHashOf(address addr) external returns (bytes32);
}

address constant CANONICAL_OPERATOR_FILTER_REGISTRY_ADDRESS = 0x000000000000AAeB6D7670E522A718067333cd4E;
address constant CANONICAL_CORI_SUBSCRIPTION = 0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6;

abstract contract OperatorFilterer {
   
    error OperatorNotAllowed(address operator);

    IOperatorFilterRegistry public constant OPERATOR_FILTER_REGISTRY =
        IOperatorFilterRegistry(CANONICAL_OPERATOR_FILTER_REGISTRY_ADDRESS);

    constructor(address subscriptionOrRegistrantToCopy, bool subscribe) {
        if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) {
            if (subscribe) {
                OPERATOR_FILTER_REGISTRY.registerAndSubscribe(
                    address(this),
                    subscriptionOrRegistrantToCopy
                );
            } else {
                if (subscriptionOrRegistrantToCopy != address(0)) {
                    OPERATOR_FILTER_REGISTRY.registerAndCopyEntries(
                        address(this),
                        subscriptionOrRegistrantToCopy
                    );
                } else {
                    OPERATOR_FILTER_REGISTRY.register(address(this));
                }
            }
        }
    }

    modifier onlyAllowedOperator(address from) virtual {
        if (from != msg.sender) {
            _checkFilterOperator(msg.sender);
        }
        _;
    }

    modifier onlyAllowedOperatorApproval(address operator) virtual {
        _checkFilterOperator(operator);
        _;
    }

    function _checkFilterOperator(address operator) internal view virtual {
        // Check registry code length to facilitate testing in environments without a deployed registry.
        if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) {
             if (
                !OPERATOR_FILTER_REGISTRY.isOperatorAllowed(
                    address(this),
                    operator
                )
            ) {
                revert OperatorNotAllowed(operator);
            }
        }
    }
}

abstract contract DefaultOperatorFilterer is OperatorFilterer {
    constructor() OperatorFilterer(CANONICAL_CORI_SUBSCRIPTION, true) {}
}

contract OBAYC is DefaultOperatorFilterer, ERC721Enumerable, Ownable {
    using Strings for uint256;
    using SafeMath for uint256;
    using Counters for Counters.Counter;

    // Constants
    string public baseExtension = ".json";

    uint256[9] public prices = [
        0.025 ether,
        0.03 ether,
        0.036 ether,
        0.043 ether,
        0.052 ether,
        0.062 ether,
        0.075 ether,
        0.08 ether,
        0.1 ether
    ];

    // Supply
    uint256 public maxSupply = 900;
    uint256 public lastSupply = maxSupply;
    uint256 public maxMintAmount = 10;

    // Reflection
    uint256 public reflectionBalance;
    uint256 public totalDividend;

    // Lists
    uint256[900] public remainingIds;
    mapping(uint256 => address) public minters;

    // Params
    bool public paused = true;
    string private _baseTokenURI;
    address private _wallet;

    address public FeeReceiver = 0xfc218608D5182FC1b1f610ba6bF6fD304A8212E7;

    // Constructor
    constructor() ERC721("Ordinal Bored Apes", "OBAYC") {
        _baseTokenURI = "ipfs://bafybeihqfdbrk7tzwwlv3czyepbdxzqd2it3kf6n2gpjc5icvjzh2b2jpq/";
        _wallet = msg.sender;
    }

    // URI Handling
    function _baseURI() internal view virtual override returns (string memory) {
        return _baseTokenURI;
    }

    // Setters
    function setBaseURI(string memory baseURI) external onlyOwner {
        _baseTokenURI = baseURI;
    }

    function cost() public view returns (uint256) {
        uint256 price = prices[8];
        uint256 supply = totalSupply();
        if (supply <= 800 && supply > 700) {
            price = prices[7];
        } else if (supply <= 700 && supply > 600) {
            price = prices[6];
        } else if (supply <= 600 && supply > 500) {
            price = prices[5];
        } else if (supply <= 500 && supply > 400) {
            price = prices[4];
        } else if (supply <= 400 && supply > 300) {
            price = prices[3];
        } else if (supply <= 300 && supply > 200) {
            price = prices[2];
        } else if (supply <= 200 && supply > 100) {
            price = prices[1];
        } else if (supply <= 100) {
            price = prices[0];
        } else {
            price = prices[8];
        }
        return price;
    }

    function setPrices(uint256[9] memory _newPrices) public onlyOwner {
        prices = _newPrices;
    }

    function setmaxMintAmount(uint256 _newmaxMintAmount) public onlyOwner {
        maxMintAmount = _newmaxMintAmount;
    }

    function setBaseExtension(
        string memory _newBaseExtension
    ) public onlyOwner {
        baseExtension = _newBaseExtension;
    }

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

    function setFeeReceiver(address _newFeeReceiver) public onlyOwner {
        FeeReceiver = _newFeeReceiver;
    }

    // Minting
    function mint(uint256 _mintAmount) public payable {
        // Checks
        require(!paused, "OBAYC: minting has not started yet");
        require(_mintAmount > 0, "OBAYC: you have to mint at least one");
        require(
            _mintAmount <= maxMintAmount,
            "OBAYC: you can only mint 10 at a time"
        );
        require(lastSupply >= _mintAmount, "OBAYC: the collection is sold out");
        if (msg.sender != owner()) {
            require(
                msg.value >= cost() * _mintAmount,
                "OBAYC: total cost isn't match"
            );
        }
        // Minting
        for (uint256 i = 1; i <= _mintAmount; i++) {
            // Mint for caller
            _randomMint(msg.sender);
            // Split cost
        }
        handleMintReward(msg.value);
    }

    // Give a random NFT to a contest winner
    function randomGiveaway(
        address _winner,
        uint256 _amount
    ) external onlyOwner {
        // Checks
        require(_winner != address(0), "OBAYC: zero address");
        require(_amount > 0, "OBAYC: you have to mint at least one");
        require(lastSupply != 0, "OBAYC: the collection is sold out");
        // Mint random NFTs for a winner
        for (uint256 i = 1; i <= _amount; i++) {
            _randomMint(_winner);
        }
    }

    // Random mint
    function _randomMint(address _target) internal returns (uint256) {
        // Get Random id to mint
        uint256 _index = _getRandom() % lastSupply;
        uint256 _realIndex = getValue(_index) + 1;
        // Reduce supply
        lastSupply--;
        // Replace used id by last
        remainingIds[_index] = getValue(lastSupply);
        // Mint
        _safeMint(_target, _realIndex);
        // Save Original minters
        minters[_realIndex] = msg.sender;
        return _realIndex;
    }

    // Mint for reserved spots
    function _regularMint() internal returns (uint256) {
        // Get Actual id to mint
        uint256 _index = totalSupply();
        uint256 _realIndex = getValue(_index) + 1;
        // Reduce supply
        lastSupply--;
        // Replace used id by last
        remainingIds[_index] = getValue(lastSupply);
        // Mint
        _safeMint(msg.sender, _realIndex);
        // Save Original minters
        minters[_realIndex] = msg.sender;
        return _realIndex;
    }

    // Get Token List
    function getTokenIds(
        address _owner
    ) public view returns (uint256[] memory) {
        // Count owned Token
        uint256 ownerTokenCount = balanceOf(_owner);
        uint256[] memory tokenIds = new uint256[](ownerTokenCount);
        // Get ids of owned Token
        for (uint256 i; i < ownerTokenCount; i++) {
            tokenIds[i] = tokenOfOwnerByIndex(_owner, i);
        }
        return tokenIds;
    }

    // Return compiled Token URI
    function tokenURI(
        uint256 _id
    ) public view virtual override returns (string memory) {
        require(_exists(_id), "OBAYC: URI query for nonexistent token");
        string memory currentBaseURI = _baseURI();
        return
            bytes(currentBaseURI).length > 0
                ? string(
                    abi.encodePacked(
                        currentBaseURI,
                        _id.toString(),
                        baseExtension
                    )
                )
                : "";
    }

    // Reflections
    function handleMintReward(uint256 _amount) private {
        // Split payment
        uint256 devShare = _amount;
        // Send owner share
        payable(FeeReceiver).transfer(devShare);
    }

    // Get value from a remaining id node
    function getValue(uint256 _index) internal view returns (uint256) {
        if (remainingIds[_index] != 0) return remainingIds[_index];
        else return _index;
    }

    // Create a random id for minting
    function _getRandom() internal view returns (uint256) {
        return
            uint256(
                keccak256(
                    abi.encodePacked(
                        block.prevrandao,
                        block.timestamp,
                        lastSupply
                    )
                )
            );
    }
 
    function withdraw() public onlyOwner {
        uint256 balance = address(this).balance;
        payable(msg.sender).transfer(balance);
    }

    function setApprovalForAll(
        address operator,
        bool approved
    ) public override(IERC721, ERC721) onlyAllowedOperatorApproval(operator) {
        super.setApprovalForAll(operator, approved);
    }

    function approve(
        address operator,
        uint256 tokenId
    ) public override(IERC721, ERC721) onlyAllowedOperatorApproval(operator) {
        super.approve(operator, tokenId);
    }

    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public override(IERC721, ERC721) onlyAllowedOperator(from) {
        super.transferFrom(from, to, tokenId);
    }

    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public override(IERC721, ERC721) onlyAllowedOperator(from) {
        super.safeTransferFrom(from, to, tokenId);
    }

    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory data
    ) public override(IERC721, ERC721) onlyAllowedOperator(from) {
        super.safeTransferFrom(from, to, tokenId, data);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"FeeReceiver","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OPERATOR_FILTER_REGISTRY","outputs":[{"internalType":"contract IOperatorFilterRegistry","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseExtension","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"getTokenIds","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"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":"lastSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"minters","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"prices","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_winner","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"randomGiveaway","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reflectionBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"remainingIds","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseExtension","type":"string"}],"name":"setBaseExtension","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newFeeReceiver","type":"address"}],"name":"setFeeReceiver","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[9]","name":"_newPrices","type":"uint256[9]"}],"name":"setPrices","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newmaxMintAmount","type":"uint256"}],"name":"setmaxMintAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"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":"_id","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalDividend","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60c06040526005608090815264173539b7b760d91b60a052600b906200002690826200047e565b5060408051610120810182526658d15e176280008152666a94d74f4300006020820152667fe5cf2bea0000918101919091526698c445ad578000606082015266b8bdb978520000608082015266dc44abe813000060a082015267010a741a4627800060c082015267011c37937e08000060e082015267016345785d8a0000610100820152620000ba90600c9060096200037a565b506103846015819055601655600a60175561039f805460ff191660011790556103a280546001600160a01b03191673fc218608d5182fc1b1f610ba6bf6fd304a8212e71790553480156200010c575f80fd5b5060408051808201825260128152714f7264696e616c20426f726564204170657360701b602080830191909152825180840190935260058352644f4241594360d81b9083015290733cc6cdda760b79bafa08df41ecfa224f810dceb660016daaeb6d7670e522a718067333cd4e3b15620002a5578015620001f857604051633e9f1edf60e11b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e90637d3e3dbe906044015b5f604051808303815f87803b158015620001db575f80fd5b505af1158015620001ee573d5f803e3d5ffd5b50505050620002a5565b6001600160a01b03821615620002495760405163a0af290360e01b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e9063a0af290390604401620001c3565b604051632210724360e11b81523060048201526daaeb6d7670e522a718067333cd4e90634420e486906024015f604051808303815f87803b1580156200028d575f80fd5b505af1158015620002a0573d5f803e3d5ffd5b505050505b505f9050620002b583826200047e565b506001620002c482826200047e565b505050620002e1620002db6200032560201b60201c565b62000329565b60405180608001604052806043815260200162002fe0604391396103a0906200030b90826200047e565b506103a180546001600160a01b0319163317905562000546565b3390565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b8260098101928215620003b6579160200282015b82811115620003b657825182906001600160401b03169055916020019190600101906200038e565b50620003c4929150620003c8565b5090565b5b80821115620003c4575f8155600101620003c9565b634e487b7160e01b5f52604160045260245ffd5b600181811c908216806200040757607f821691505b6020821081036200042657634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111562000479575f81815260208120601f850160051c81016020861015620004545750805b601f850160051c820191505b81811015620004755782815560010162000460565b5050505b505050565b81516001600160401b038111156200049a576200049a620003de565b620004b281620004ab8454620003f2565b846200042c565b602080601f831160018114620004e8575f8415620004d05750858301515b5f19600386901b1c1916600185901b17855562000475565b5f85815260208120601f198616915b828110156200051857888601518255948401946001909101908401620004f7565b50858210156200053657878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b612a8c80620005545f395ff3fe608060405260043610610248575f3560e01c806370a0823111610134578063bc31c1c1116100b3578063da3ef23f11610078578063da3ef23f14610690578063e985e9c5146106af578063ee6d9d6d146106f6578063efdcd97414610715578063f2fde38b14610734578063f75b8c5f14610753575f80fd5b8063bc31c1c1146105fd578063c66828621461061c578063c87b56dd14610630578063d004b0361461064f578063d5abeb011461067b575f80fd5b806395d89b41116100f957806395d89b4114610579578063a0712d681461058d578063a22cb465146105a0578063b3ef77f2146105bf578063b88d4fde146105de575f80fd5b806370a08231146104d5578063715018a6146104f45780637f00c7a6146105085780638623ec7b146105275780638da5cb5b1461055c575f80fd5b80632f745c59116101cb5780634b6acafb116101905780634b6acafb1461042a5780634f6ccce71461043f57806355f804b31461045e5780635c975abb1461047d5780636352211e1461049757806370424ef4146104b6575f80fd5b80632f745c59146103a25780633ccfd60b146103c15780634131ff99146103d557806341f43434146103ea57806342842e0e1461040b575f80fd5b8063095ea7b311610211578063095ea7b31461031957806313faede61461033857806318160ddd1461035a578063239c70ae1461036e57806323b872dd14610383575f80fd5b80620251641461024c57806301ffc9a71461028957806302329a29146102b857806306fdde03146102d9578063081812fc146102fa575b5f80fd5b348015610257575f80fd5b506103a25461026c906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b348015610294575f80fd5b506102a86102a3366004612221565b610768565b6040519015158152602001610280565b3480156102c3575f80fd5b506102d76102d2366004612249565b610792565b005b3480156102e4575f80fd5b506102ed6107d9565b60405161028091906122b1565b348015610305575f80fd5b5061026c6103143660046122c3565b610868565b348015610324575f80fd5b506102d76103333660046122f0565b6108fb565b348015610343575f80fd5b5061034c610914565b604051908152602001610280565b348015610365575f80fd5b5060085461034c565b348015610379575f80fd5b5061034c60175481565b34801561038e575f80fd5b506102d761039d366004612318565b610a22565b3480156103ad575f80fd5b5061034c6103bc3660046122f0565b610a4d565b3480156103cc575f80fd5b506102d7610ae1565b3480156103e0575f80fd5b5061034c60185481565b3480156103f5575f80fd5b5061026c6daaeb6d7670e522a718067333cd4e81565b348015610416575f80fd5b506102d7610425366004612318565b610b3b565b348015610435575f80fd5b5061034c60195481565b34801561044a575f80fd5b5061034c6104593660046122c3565b610b60565b348015610469575f80fd5b506102d76104783660046123d8565b610bf0565b348015610488575f80fd5b5061039f546102a89060ff1681565b3480156104a2575f80fd5b5061026c6104b13660046122c3565b610c27565b3480156104c1575f80fd5b506102d76104d036600461241d565b610c9d565b3480156104e0575f80fd5b5061034c6104ef366004612498565b610cd4565b3480156104ff575f80fd5b506102d7610d59565b348015610513575f80fd5b506102d76105223660046122c3565b610d8e565b348015610532575f80fd5b5061026c6105413660046122c3565b61039e6020525f90815260409020546001600160a01b031681565b348015610567575f80fd5b50600a546001600160a01b031661026c565b348015610584575f80fd5b506102ed610dbd565b6102d761059b3660046122c3565b610dcc565b3480156105ab575f80fd5b506102d76105ba3660046124b1565b610f73565b3480156105ca575f80fd5b506102d76105d93660046122f0565b610f87565b3480156105e9575f80fd5b506102d76105f83660046124e6565b611063565b348015610608575f80fd5b5061034c6106173660046122c3565b611090565b348015610627575f80fd5b506102ed6110a6565b34801561063b575f80fd5b506102ed61064a3660046122c3565b611132565b34801561065a575f80fd5b5061066e610669366004612498565b611203565b604051610280919061255d565b348015610686575f80fd5b5061034c60155481565b34801561069b575f80fd5b506102d76106aa3660046123d8565b6112a2565b3480156106ba575f80fd5b506102a86106c93660046125a0565b6001600160a01b039182165f90815260056020908152604080832093909416825291909152205460ff1690565b348015610701575f80fd5b5061034c6107103660046122c3565b6112d8565b348015610720575f80fd5b506102d761072f366004612498565b6112e8565b34801561073f575f80fd5b506102d761074e366004612498565b611335565b34801561075e575f80fd5b5061034c60165481565b5f6001600160e01b0319821663780e9d6360e01b148061078c575061078c826113cd565b92915050565b600a546001600160a01b031633146107c55760405162461bcd60e51b81526004016107bc906125d1565b60405180910390fd5b61039f805460ff1916911515919091179055565b60605f80546107e790612606565b80601f016020809104026020016040519081016040528092919081815260200182805461081390612606565b801561085e5780601f106108355761010080835404028352916020019161085e565b820191905f5260205f20905b81548152906001019060200180831161084157829003601f168201915b5050505050905090565b5f818152600260205260408120546001600160a01b03166108e05760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016107bc565b505f908152600460205260409020546001600160a01b031690565b816109058161141c565b61090f83836114d3565b505050565b6014546008545f9190610320811115801561093057506102bc81115b1561094357600c60075b01549150610a1c565b6102bc8111158015610956575061025881115b1561096457600c600661093a565b610258811115801561097757506101f481115b1561098557600c600561093a565b6101f48111158015610998575061019081115b156109a657600c600461093a565b61019081111580156109b9575061012c81115b156109c757600c600361093a565b61012c81111580156109d9575060c881115b156109e757600c600261093a565b60c881111580156109f85750606481115b15610a0657600c600161093a565b60648111610a1657600c5f61093a565b60145491505b50919050565b826001600160a01b0381163314610a3c57610a3c3361141c565b610a478484846115e2565b50505050565b5f610a5783610cd4565b8210610ab95760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016107bc565b506001600160a01b03919091165f908152600660209081526040808320938352929052205490565b600a546001600160a01b03163314610b0b5760405162461bcd60e51b81526004016107bc906125d1565b6040514790339082156108fc029083905f818181858888f19350505050158015610b37573d5f803e3d5ffd5b5050565b826001600160a01b0381163314610b5557610b553361141c565b610a47848484611613565b5f610b6a60085490565b8210610bcd5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b60648201526084016107bc565b60088281548110610be057610be0612638565b905f5260205f2001549050919050565b600a546001600160a01b03163314610c1a5760405162461bcd60e51b81526004016107bc906125d1565b6103a0610b378282612699565b5f818152600260205260408120546001600160a01b03168061078c5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016107bc565b600a546001600160a01b03163314610cc75760405162461bcd60e51b81526004016107bc906125d1565b610b37600c8260096121c3565b5f6001600160a01b038216610d3e5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016107bc565b506001600160a01b03165f9081526003602052604090205490565b600a546001600160a01b03163314610d835760405162461bcd60e51b81526004016107bc906125d1565b610d8c5f61162d565b565b600a546001600160a01b03163314610db85760405162461bcd60e51b81526004016107bc906125d1565b601755565b6060600180546107e790612606565b61039f5460ff1615610e2b5760405162461bcd60e51b815260206004820152602260248201527f4f424159433a206d696e74696e6720686173206e6f7420737461727465642079604482015261195d60f21b60648201526084016107bc565b5f8111610e4a5760405162461bcd60e51b81526004016107bc90612755565b601754811115610eaa5760405162461bcd60e51b815260206004820152602560248201527f4f424159433a20796f752063616e206f6e6c79206d696e7420313020617420616044820152642074696d6560d81b60648201526084016107bc565b806016541015610ecc5760405162461bcd60e51b81526004016107bc90612799565b600a546001600160a01b03163314610f405780610ee7610914565b610ef191906127ee565b341015610f405760405162461bcd60e51b815260206004820152601d60248201527f4f424159433a20746f74616c20636f73742069736e2774206d6174636800000060448201526064016107bc565b60015b818111610f6657610f533361167e565b5080610f5e81612805565b915050610f43565b50610f703461173e565b50565b81610f7d8161141c565b61090f8383611776565b600a546001600160a01b03163314610fb15760405162461bcd60e51b81526004016107bc906125d1565b6001600160a01b038216610ffd5760405162461bcd60e51b81526020600482015260136024820152724f424159433a207a65726f206164647265737360681b60448201526064016107bc565b5f811161101c5760405162461bcd60e51b81526004016107bc90612755565b6016545f0361103d5760405162461bcd60e51b81526004016107bc90612799565b60015b81811161090f576110508361167e565b508061105b81612805565b915050611040565b836001600160a01b038116331461107d5761107d3361141c565b61108985858585611839565b5050505050565b600c816009811061109f575f80fd5b0154905081565b600b80546110b390612606565b80601f01602080910402602001604051908101604052809291908181526020018280546110df90612606565b801561112a5780601f106111015761010080835404028352916020019161112a565b820191905f5260205f20905b81548152906001019060200180831161110d57829003601f168201915b505050505081565b5f818152600260205260409020546060906001600160a01b03166111a75760405162461bcd60e51b815260206004820152602660248201527f4f424159433a2055524920717565727920666f72206e6f6e6578697374656e74604482015265103a37b5b2b760d11b60648201526084016107bc565b5f6111b061186b565b90505f8151116111ce5760405180602001604052805f8152506111fc565b806111d88461187b565b600b6040516020016111ec9392919061281d565b6040516020818303038152906040525b9392505050565b60605f61120f83610cd4565b90505f8167ffffffffffffffff81111561122b5761122b612351565b604051908082528060200260200182016040528015611254578160200160208202803683370190505b5090505f5b8281101561129a5761126b8582610a4d565b82828151811061127d5761127d612638565b60209081029190910101528061129281612805565b915050611259565b509392505050565b600a546001600160a01b031633146112cc5760405162461bcd60e51b81526004016107bc906125d1565b600b610b378282612699565b601a81610384811061109f575f80fd5b600a546001600160a01b031633146113125760405162461bcd60e51b81526004016107bc906125d1565b6103a280546001600160a01b0319166001600160a01b0392909216919091179055565b600a546001600160a01b0316331461135f5760405162461bcd60e51b81526004016107bc906125d1565b6001600160a01b0381166113c45760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107bc565b610f708161162d565b5f6001600160e01b031982166380ac58cd60e01b14806113fd57506001600160e01b03198216635b5e139f60e01b145b8061078c57506301ffc9a760e01b6001600160e01b031983161461078c565b6daaeb6d7670e522a718067333cd4e3b15610f7057604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015611487573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114ab91906128b8565b610f7057604051633b79c77360e21b81526001600160a01b03821660048201526024016107bc565b5f6114dd82610c27565b9050806001600160a01b0316836001600160a01b03160361154a5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016107bc565b336001600160a01b0382161480611566575061156681336106c9565b6115d85760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016107bc565b61090f8383611980565b6115ec33826119ed565b6116085760405162461bcd60e51b81526004016107bc906128d3565b61090f838383611add565b61090f83838360405180602001604052805f815250611063565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b60165460408051446020808301919091524282840152606080830185905283518084039091018152608090920190925280519101205f9182916116c19190612938565b90505f6116cd82611c84565b6116d890600161294b565b601680549192505f6116e98361295e565b91905055506116f9601654611c84565b601a83610384811061170d5761170d612638565b01556117198482611cc5565b5f81815261039e6020526040902080546001600160a01b031916331790559392505050565b6103a25460405182916001600160a01b03169082156108fc029083905f818181858888f1935050505015801561090f573d5f803e3d5ffd5b336001600160a01b038316036117ce5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016107bc565b335f8181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b61184333836119ed565b61185f5760405162461bcd60e51b81526004016107bc906128d3565b610a4784848484611cde565b60606103a080546107e790612606565b6060815f036118a15750506040805180820190915260018152600360fc1b602082015290565b815f5b81156118ca57806118b481612805565b91506118c39050600a83612973565b91506118a4565b5f8167ffffffffffffffff8111156118e4576118e4612351565b6040519080825280601f01601f19166020018201604052801561190e576020820181803683370190505b5090505b841561197857611923600183612986565b9150611930600a86612938565b61193b90603061294b565b60f81b81838151811061195057611950612638565b60200101906001600160f81b03191690815f1a905350611971600a86612973565b9450611912565b949350505050565b5f81815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906119b482610c27565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b5f818152600260205260408120546001600160a01b0316611a655760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016107bc565b5f611a6f83610c27565b9050806001600160a01b0316846001600160a01b03161480611aaa5750836001600160a01b0316611a9f84610868565b6001600160a01b0316145b8061197857506001600160a01b038082165f9081526005602090815260408083209388168352929052205460ff16611978565b826001600160a01b0316611af082610c27565b6001600160a01b031614611b585760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b60648201526084016107bc565b6001600160a01b038216611bba5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016107bc565b611bc5838383611d11565b611bcf5f82611980565b6001600160a01b0383165f908152600360205260408120805460019290611bf7908490612986565b90915550506001600160a01b0382165f908152600360205260408120805460019290611c2490849061294b565b90915550505f8181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b5f601a826103848110611c9957611c99612638565b015415611cbc57601a826103848110611cb457611cb4612638565b015492915050565b5090565b919050565b610b37828260405180602001604052805f815250611dc8565b611ce9848484611add565b611cf584848484611dfa565b610a475760405162461bcd60e51b81526004016107bc90612999565b6001600160a01b038316611d6b57611d6681600880545f838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b611d8e565b816001600160a01b0316836001600160a01b031614611d8e57611d8e8382611ef7565b6001600160a01b038216611da55761090f81611f90565b826001600160a01b0316826001600160a01b03161461090f5761090f8282612037565b611dd28383612079565b611dde5f848484611dfa565b61090f5760405162461bcd60e51b81526004016107bc90612999565b5f6001600160a01b0384163b15611eec57604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611e3d9033908990889088906004016129eb565b6020604051808303815f875af1925050508015611e77575060408051601f3d908101601f19168201909252611e7491810190612a27565b60015b611ed2573d808015611ea4576040519150601f19603f3d011682016040523d82523d5f602084013e611ea9565b606091505b5080515f03611eca5760405162461bcd60e51b81526004016107bc90612999565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611978565b506001949350505050565b5f6001611f0384610cd4565b611f0d9190612986565b5f83815260076020526040902054909150808214611f5e576001600160a01b0384165f9081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b505f9182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b6008545f90611fa190600190612986565b5f8381526009602052604081205460088054939450909284908110611fc857611fc8612638565b905f5260205f20015490508060088381548110611fe757611fe7612638565b5f91825260208083209091019290925582815260099091526040808220849055858252812055600880548061201e5761201e612a42565b600190038181905f5260205f20015f9055905550505050565b5f61204183610cd4565b6001600160a01b039093165f908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b0382166120cf5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016107bc565b5f818152600260205260409020546001600160a01b0316156121335760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016107bc565b61213e5f8383611d11565b6001600160a01b0382165f90815260036020526040812080546001929061216690849061294b565b90915550505f8181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b82600981019282156121f1579160200282015b828111156121f15782518255916020019190600101906121d6565b50611cbc9291505b80821115611cbc575f81556001016121f9565b6001600160e01b031981168114610f70575f80fd5b5f60208284031215612231575f80fd5b81356111fc8161220c565b8015158114610f70575f80fd5b5f60208284031215612259575f80fd5b81356111fc8161223c565b5f5b8381101561227e578181015183820152602001612266565b50505f910152565b5f815180845261229d816020860160208601612264565b601f01601f19169290920160200192915050565b602081525f6111fc6020830184612286565b5f602082840312156122d3575f80fd5b5035919050565b80356001600160a01b0381168114611cc0575f80fd5b5f8060408385031215612301575f80fd5b61230a836122da565b946020939093013593505050565b5f805f6060848603121561232a575f80fd5b612333846122da565b9250612341602085016122da565b9150604084013590509250925092565b634e487b7160e01b5f52604160045260245ffd5b5f67ffffffffffffffff8084111561237f5761237f612351565b604051601f8501601f19908116603f011681019082821181831017156123a7576123a7612351565b816040528093508581528686860111156123bf575f80fd5b858560208301375f602087830101525050509392505050565b5f602082840312156123e8575f80fd5b813567ffffffffffffffff8111156123fe575f80fd5b8201601f8101841361240e575f80fd5b61197884823560208401612365565b5f61012080838503121561242f575f80fd5b83601f84011261243d575f80fd5b60405181810181811067ffffffffffffffff8211171561245f5761245f612351565b604052908301908085831115612473575f80fd5b845b8381101561248d578035825260209182019101612475565b509095945050505050565b5f602082840312156124a8575f80fd5b6111fc826122da565b5f80604083850312156124c2575f80fd5b6124cb836122da565b915060208301356124db8161223c565b809150509250929050565b5f805f80608085870312156124f9575f80fd5b612502856122da565b9350612510602086016122da565b925060408501359150606085013567ffffffffffffffff811115612532575f80fd5b8501601f81018713612542575f80fd5b61255187823560208401612365565b91505092959194509250565b602080825282518282018190525f9190848201906040850190845b8181101561259457835183529284019291840191600101612578565b50909695505050505050565b5f80604083850312156125b1575f80fd5b6125ba836122da565b91506125c8602084016122da565b90509250929050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600181811c9082168061261a57607f821691505b602082108103610a1c57634e487b7160e01b5f52602260045260245ffd5b634e487b7160e01b5f52603260045260245ffd5b601f82111561090f575f81815260208120601f850160051c810160208610156126725750805b601f850160051c820191505b818110156126915782815560010161267e565b505050505050565b815167ffffffffffffffff8111156126b3576126b3612351565b6126c7816126c18454612606565b8461264c565b602080601f8311600181146126fa575f84156126e35750858301515b5f19600386901b1c1916600185901b178555612691565b5f85815260208120601f198616915b8281101561272857888601518255948401946001909101908401612709565b508582101561274557878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b60208082526024908201527f4f424159433a20796f75206861766520746f206d696e74206174206c65617374604082015263206f6e6560e01b606082015260800190565b60208082526021908201527f4f424159433a2074686520636f6c6c656374696f6e20697320736f6c64206f756040820152601d60fa1b606082015260800190565b634e487b7160e01b5f52601160045260245ffd5b808202811582820484141761078c5761078c6127da565b5f60018201612816576128166127da565b5060010190565b5f8451602061282f8285838a01612264565b8551918401916128428184848a01612264565b85549201915f9061285281612606565b6001828116801561286a576001811461287f576128a8565b60ff19841687528215158302870194506128a8565b895f52855f205f5b848110156128a057815489820152908301908701612887565b505082870194505b50929a9950505050505050505050565b5f602082840312156128c8575f80fd5b81516111fc8161223c565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b634e487b7160e01b5f52601260045260245ffd5b5f8261294657612946612924565b500690565b8082018082111561078c5761078c6127da565b5f8161296c5761296c6127da565b505f190190565b5f8261298157612981612924565b500490565b8181038181111561078c5761078c6127da565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6001600160a01b03858116825284166020820152604081018390526080606082018190525f90612a1d90830184612286565b9695505050505050565b5f60208284031215612a37575f80fd5b81516111fc8161220c565b634e487b7160e01b5f52603160045260245ffdfea2646970667358221220b531e923eb0d7506e3dc0e21b49164363aa5417613260453cfde326e814000b264736f6c63430008140033697066733a2f2f626166796265696871666462726b37747a77776c7633637a7965706264787a7164326974336b66366e3267706a63356963766a7a683262326a70712f

Deployed Bytecode

0x608060405260043610610248575f3560e01c806370a0823111610134578063bc31c1c1116100b3578063da3ef23f11610078578063da3ef23f14610690578063e985e9c5146106af578063ee6d9d6d146106f6578063efdcd97414610715578063f2fde38b14610734578063f75b8c5f14610753575f80fd5b8063bc31c1c1146105fd578063c66828621461061c578063c87b56dd14610630578063d004b0361461064f578063d5abeb011461067b575f80fd5b806395d89b41116100f957806395d89b4114610579578063a0712d681461058d578063a22cb465146105a0578063b3ef77f2146105bf578063b88d4fde146105de575f80fd5b806370a08231146104d5578063715018a6146104f45780637f00c7a6146105085780638623ec7b146105275780638da5cb5b1461055c575f80fd5b80632f745c59116101cb5780634b6acafb116101905780634b6acafb1461042a5780634f6ccce71461043f57806355f804b31461045e5780635c975abb1461047d5780636352211e1461049757806370424ef4146104b6575f80fd5b80632f745c59146103a25780633ccfd60b146103c15780634131ff99146103d557806341f43434146103ea57806342842e0e1461040b575f80fd5b8063095ea7b311610211578063095ea7b31461031957806313faede61461033857806318160ddd1461035a578063239c70ae1461036e57806323b872dd14610383575f80fd5b80620251641461024c57806301ffc9a71461028957806302329a29146102b857806306fdde03146102d9578063081812fc146102fa575b5f80fd5b348015610257575f80fd5b506103a25461026c906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b348015610294575f80fd5b506102a86102a3366004612221565b610768565b6040519015158152602001610280565b3480156102c3575f80fd5b506102d76102d2366004612249565b610792565b005b3480156102e4575f80fd5b506102ed6107d9565b60405161028091906122b1565b348015610305575f80fd5b5061026c6103143660046122c3565b610868565b348015610324575f80fd5b506102d76103333660046122f0565b6108fb565b348015610343575f80fd5b5061034c610914565b604051908152602001610280565b348015610365575f80fd5b5060085461034c565b348015610379575f80fd5b5061034c60175481565b34801561038e575f80fd5b506102d761039d366004612318565b610a22565b3480156103ad575f80fd5b5061034c6103bc3660046122f0565b610a4d565b3480156103cc575f80fd5b506102d7610ae1565b3480156103e0575f80fd5b5061034c60185481565b3480156103f5575f80fd5b5061026c6daaeb6d7670e522a718067333cd4e81565b348015610416575f80fd5b506102d7610425366004612318565b610b3b565b348015610435575f80fd5b5061034c60195481565b34801561044a575f80fd5b5061034c6104593660046122c3565b610b60565b348015610469575f80fd5b506102d76104783660046123d8565b610bf0565b348015610488575f80fd5b5061039f546102a89060ff1681565b3480156104a2575f80fd5b5061026c6104b13660046122c3565b610c27565b3480156104c1575f80fd5b506102d76104d036600461241d565b610c9d565b3480156104e0575f80fd5b5061034c6104ef366004612498565b610cd4565b3480156104ff575f80fd5b506102d7610d59565b348015610513575f80fd5b506102d76105223660046122c3565b610d8e565b348015610532575f80fd5b5061026c6105413660046122c3565b61039e6020525f90815260409020546001600160a01b031681565b348015610567575f80fd5b50600a546001600160a01b031661026c565b348015610584575f80fd5b506102ed610dbd565b6102d761059b3660046122c3565b610dcc565b3480156105ab575f80fd5b506102d76105ba3660046124b1565b610f73565b3480156105ca575f80fd5b506102d76105d93660046122f0565b610f87565b3480156105e9575f80fd5b506102d76105f83660046124e6565b611063565b348015610608575f80fd5b5061034c6106173660046122c3565b611090565b348015610627575f80fd5b506102ed6110a6565b34801561063b575f80fd5b506102ed61064a3660046122c3565b611132565b34801561065a575f80fd5b5061066e610669366004612498565b611203565b604051610280919061255d565b348015610686575f80fd5b5061034c60155481565b34801561069b575f80fd5b506102d76106aa3660046123d8565b6112a2565b3480156106ba575f80fd5b506102a86106c93660046125a0565b6001600160a01b039182165f90815260056020908152604080832093909416825291909152205460ff1690565b348015610701575f80fd5b5061034c6107103660046122c3565b6112d8565b348015610720575f80fd5b506102d761072f366004612498565b6112e8565b34801561073f575f80fd5b506102d761074e366004612498565b611335565b34801561075e575f80fd5b5061034c60165481565b5f6001600160e01b0319821663780e9d6360e01b148061078c575061078c826113cd565b92915050565b600a546001600160a01b031633146107c55760405162461bcd60e51b81526004016107bc906125d1565b60405180910390fd5b61039f805460ff1916911515919091179055565b60605f80546107e790612606565b80601f016020809104026020016040519081016040528092919081815260200182805461081390612606565b801561085e5780601f106108355761010080835404028352916020019161085e565b820191905f5260205f20905b81548152906001019060200180831161084157829003601f168201915b5050505050905090565b5f818152600260205260408120546001600160a01b03166108e05760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016107bc565b505f908152600460205260409020546001600160a01b031690565b816109058161141c565b61090f83836114d3565b505050565b6014546008545f9190610320811115801561093057506102bc81115b1561094357600c60075b01549150610a1c565b6102bc8111158015610956575061025881115b1561096457600c600661093a565b610258811115801561097757506101f481115b1561098557600c600561093a565b6101f48111158015610998575061019081115b156109a657600c600461093a565b61019081111580156109b9575061012c81115b156109c757600c600361093a565b61012c81111580156109d9575060c881115b156109e757600c600261093a565b60c881111580156109f85750606481115b15610a0657600c600161093a565b60648111610a1657600c5f61093a565b60145491505b50919050565b826001600160a01b0381163314610a3c57610a3c3361141c565b610a478484846115e2565b50505050565b5f610a5783610cd4565b8210610ab95760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016107bc565b506001600160a01b03919091165f908152600660209081526040808320938352929052205490565b600a546001600160a01b03163314610b0b5760405162461bcd60e51b81526004016107bc906125d1565b6040514790339082156108fc029083905f818181858888f19350505050158015610b37573d5f803e3d5ffd5b5050565b826001600160a01b0381163314610b5557610b553361141c565b610a47848484611613565b5f610b6a60085490565b8210610bcd5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b60648201526084016107bc565b60088281548110610be057610be0612638565b905f5260205f2001549050919050565b600a546001600160a01b03163314610c1a5760405162461bcd60e51b81526004016107bc906125d1565b6103a0610b378282612699565b5f818152600260205260408120546001600160a01b03168061078c5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016107bc565b600a546001600160a01b03163314610cc75760405162461bcd60e51b81526004016107bc906125d1565b610b37600c8260096121c3565b5f6001600160a01b038216610d3e5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016107bc565b506001600160a01b03165f9081526003602052604090205490565b600a546001600160a01b03163314610d835760405162461bcd60e51b81526004016107bc906125d1565b610d8c5f61162d565b565b600a546001600160a01b03163314610db85760405162461bcd60e51b81526004016107bc906125d1565b601755565b6060600180546107e790612606565b61039f5460ff1615610e2b5760405162461bcd60e51b815260206004820152602260248201527f4f424159433a206d696e74696e6720686173206e6f7420737461727465642079604482015261195d60f21b60648201526084016107bc565b5f8111610e4a5760405162461bcd60e51b81526004016107bc90612755565b601754811115610eaa5760405162461bcd60e51b815260206004820152602560248201527f4f424159433a20796f752063616e206f6e6c79206d696e7420313020617420616044820152642074696d6560d81b60648201526084016107bc565b806016541015610ecc5760405162461bcd60e51b81526004016107bc90612799565b600a546001600160a01b03163314610f405780610ee7610914565b610ef191906127ee565b341015610f405760405162461bcd60e51b815260206004820152601d60248201527f4f424159433a20746f74616c20636f73742069736e2774206d6174636800000060448201526064016107bc565b60015b818111610f6657610f533361167e565b5080610f5e81612805565b915050610f43565b50610f703461173e565b50565b81610f7d8161141c565b61090f8383611776565b600a546001600160a01b03163314610fb15760405162461bcd60e51b81526004016107bc906125d1565b6001600160a01b038216610ffd5760405162461bcd60e51b81526020600482015260136024820152724f424159433a207a65726f206164647265737360681b60448201526064016107bc565b5f811161101c5760405162461bcd60e51b81526004016107bc90612755565b6016545f0361103d5760405162461bcd60e51b81526004016107bc90612799565b60015b81811161090f576110508361167e565b508061105b81612805565b915050611040565b836001600160a01b038116331461107d5761107d3361141c565b61108985858585611839565b5050505050565b600c816009811061109f575f80fd5b0154905081565b600b80546110b390612606565b80601f01602080910402602001604051908101604052809291908181526020018280546110df90612606565b801561112a5780601f106111015761010080835404028352916020019161112a565b820191905f5260205f20905b81548152906001019060200180831161110d57829003601f168201915b505050505081565b5f818152600260205260409020546060906001600160a01b03166111a75760405162461bcd60e51b815260206004820152602660248201527f4f424159433a2055524920717565727920666f72206e6f6e6578697374656e74604482015265103a37b5b2b760d11b60648201526084016107bc565b5f6111b061186b565b90505f8151116111ce5760405180602001604052805f8152506111fc565b806111d88461187b565b600b6040516020016111ec9392919061281d565b6040516020818303038152906040525b9392505050565b60605f61120f83610cd4565b90505f8167ffffffffffffffff81111561122b5761122b612351565b604051908082528060200260200182016040528015611254578160200160208202803683370190505b5090505f5b8281101561129a5761126b8582610a4d565b82828151811061127d5761127d612638565b60209081029190910101528061129281612805565b915050611259565b509392505050565b600a546001600160a01b031633146112cc5760405162461bcd60e51b81526004016107bc906125d1565b600b610b378282612699565b601a81610384811061109f575f80fd5b600a546001600160a01b031633146113125760405162461bcd60e51b81526004016107bc906125d1565b6103a280546001600160a01b0319166001600160a01b0392909216919091179055565b600a546001600160a01b0316331461135f5760405162461bcd60e51b81526004016107bc906125d1565b6001600160a01b0381166113c45760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107bc565b610f708161162d565b5f6001600160e01b031982166380ac58cd60e01b14806113fd57506001600160e01b03198216635b5e139f60e01b145b8061078c57506301ffc9a760e01b6001600160e01b031983161461078c565b6daaeb6d7670e522a718067333cd4e3b15610f7057604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015611487573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114ab91906128b8565b610f7057604051633b79c77360e21b81526001600160a01b03821660048201526024016107bc565b5f6114dd82610c27565b9050806001600160a01b0316836001600160a01b03160361154a5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016107bc565b336001600160a01b0382161480611566575061156681336106c9565b6115d85760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016107bc565b61090f8383611980565b6115ec33826119ed565b6116085760405162461bcd60e51b81526004016107bc906128d3565b61090f838383611add565b61090f83838360405180602001604052805f815250611063565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b60165460408051446020808301919091524282840152606080830185905283518084039091018152608090920190925280519101205f9182916116c19190612938565b90505f6116cd82611c84565b6116d890600161294b565b601680549192505f6116e98361295e565b91905055506116f9601654611c84565b601a83610384811061170d5761170d612638565b01556117198482611cc5565b5f81815261039e6020526040902080546001600160a01b031916331790559392505050565b6103a25460405182916001600160a01b03169082156108fc029083905f818181858888f1935050505015801561090f573d5f803e3d5ffd5b336001600160a01b038316036117ce5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016107bc565b335f8181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b61184333836119ed565b61185f5760405162461bcd60e51b81526004016107bc906128d3565b610a4784848484611cde565b60606103a080546107e790612606565b6060815f036118a15750506040805180820190915260018152600360fc1b602082015290565b815f5b81156118ca57806118b481612805565b91506118c39050600a83612973565b91506118a4565b5f8167ffffffffffffffff8111156118e4576118e4612351565b6040519080825280601f01601f19166020018201604052801561190e576020820181803683370190505b5090505b841561197857611923600183612986565b9150611930600a86612938565b61193b90603061294b565b60f81b81838151811061195057611950612638565b60200101906001600160f81b03191690815f1a905350611971600a86612973565b9450611912565b949350505050565b5f81815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906119b482610c27565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b5f818152600260205260408120546001600160a01b0316611a655760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016107bc565b5f611a6f83610c27565b9050806001600160a01b0316846001600160a01b03161480611aaa5750836001600160a01b0316611a9f84610868565b6001600160a01b0316145b8061197857506001600160a01b038082165f9081526005602090815260408083209388168352929052205460ff16611978565b826001600160a01b0316611af082610c27565b6001600160a01b031614611b585760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b60648201526084016107bc565b6001600160a01b038216611bba5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016107bc565b611bc5838383611d11565b611bcf5f82611980565b6001600160a01b0383165f908152600360205260408120805460019290611bf7908490612986565b90915550506001600160a01b0382165f908152600360205260408120805460019290611c2490849061294b565b90915550505f8181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b5f601a826103848110611c9957611c99612638565b015415611cbc57601a826103848110611cb457611cb4612638565b015492915050565b5090565b919050565b610b37828260405180602001604052805f815250611dc8565b611ce9848484611add565b611cf584848484611dfa565b610a475760405162461bcd60e51b81526004016107bc90612999565b6001600160a01b038316611d6b57611d6681600880545f838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b611d8e565b816001600160a01b0316836001600160a01b031614611d8e57611d8e8382611ef7565b6001600160a01b038216611da55761090f81611f90565b826001600160a01b0316826001600160a01b03161461090f5761090f8282612037565b611dd28383612079565b611dde5f848484611dfa565b61090f5760405162461bcd60e51b81526004016107bc90612999565b5f6001600160a01b0384163b15611eec57604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611e3d9033908990889088906004016129eb565b6020604051808303815f875af1925050508015611e77575060408051601f3d908101601f19168201909252611e7491810190612a27565b60015b611ed2573d808015611ea4576040519150601f19603f3d011682016040523d82523d5f602084013e611ea9565b606091505b5080515f03611eca5760405162461bcd60e51b81526004016107bc90612999565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611978565b506001949350505050565b5f6001611f0384610cd4565b611f0d9190612986565b5f83815260076020526040902054909150808214611f5e576001600160a01b0384165f9081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b505f9182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b6008545f90611fa190600190612986565b5f8381526009602052604081205460088054939450909284908110611fc857611fc8612638565b905f5260205f20015490508060088381548110611fe757611fe7612638565b5f91825260208083209091019290925582815260099091526040808220849055858252812055600880548061201e5761201e612a42565b600190038181905f5260205f20015f9055905550505050565b5f61204183610cd4565b6001600160a01b039093165f908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b0382166120cf5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016107bc565b5f818152600260205260409020546001600160a01b0316156121335760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016107bc565b61213e5f8383611d11565b6001600160a01b0382165f90815260036020526040812080546001929061216690849061294b565b90915550505f8181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b82600981019282156121f1579160200282015b828111156121f15782518255916020019190600101906121d6565b50611cbc9291505b80821115611cbc575f81556001016121f9565b6001600160e01b031981168114610f70575f80fd5b5f60208284031215612231575f80fd5b81356111fc8161220c565b8015158114610f70575f80fd5b5f60208284031215612259575f80fd5b81356111fc8161223c565b5f5b8381101561227e578181015183820152602001612266565b50505f910152565b5f815180845261229d816020860160208601612264565b601f01601f19169290920160200192915050565b602081525f6111fc6020830184612286565b5f602082840312156122d3575f80fd5b5035919050565b80356001600160a01b0381168114611cc0575f80fd5b5f8060408385031215612301575f80fd5b61230a836122da565b946020939093013593505050565b5f805f6060848603121561232a575f80fd5b612333846122da565b9250612341602085016122da565b9150604084013590509250925092565b634e487b7160e01b5f52604160045260245ffd5b5f67ffffffffffffffff8084111561237f5761237f612351565b604051601f8501601f19908116603f011681019082821181831017156123a7576123a7612351565b816040528093508581528686860111156123bf575f80fd5b858560208301375f602087830101525050509392505050565b5f602082840312156123e8575f80fd5b813567ffffffffffffffff8111156123fe575f80fd5b8201601f8101841361240e575f80fd5b61197884823560208401612365565b5f61012080838503121561242f575f80fd5b83601f84011261243d575f80fd5b60405181810181811067ffffffffffffffff8211171561245f5761245f612351565b604052908301908085831115612473575f80fd5b845b8381101561248d578035825260209182019101612475565b509095945050505050565b5f602082840312156124a8575f80fd5b6111fc826122da565b5f80604083850312156124c2575f80fd5b6124cb836122da565b915060208301356124db8161223c565b809150509250929050565b5f805f80608085870312156124f9575f80fd5b612502856122da565b9350612510602086016122da565b925060408501359150606085013567ffffffffffffffff811115612532575f80fd5b8501601f81018713612542575f80fd5b61255187823560208401612365565b91505092959194509250565b602080825282518282018190525f9190848201906040850190845b8181101561259457835183529284019291840191600101612578565b50909695505050505050565b5f80604083850312156125b1575f80fd5b6125ba836122da565b91506125c8602084016122da565b90509250929050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600181811c9082168061261a57607f821691505b602082108103610a1c57634e487b7160e01b5f52602260045260245ffd5b634e487b7160e01b5f52603260045260245ffd5b601f82111561090f575f81815260208120601f850160051c810160208610156126725750805b601f850160051c820191505b818110156126915782815560010161267e565b505050505050565b815167ffffffffffffffff8111156126b3576126b3612351565b6126c7816126c18454612606565b8461264c565b602080601f8311600181146126fa575f84156126e35750858301515b5f19600386901b1c1916600185901b178555612691565b5f85815260208120601f198616915b8281101561272857888601518255948401946001909101908401612709565b508582101561274557878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b60208082526024908201527f4f424159433a20796f75206861766520746f206d696e74206174206c65617374604082015263206f6e6560e01b606082015260800190565b60208082526021908201527f4f424159433a2074686520636f6c6c656374696f6e20697320736f6c64206f756040820152601d60fa1b606082015260800190565b634e487b7160e01b5f52601160045260245ffd5b808202811582820484141761078c5761078c6127da565b5f60018201612816576128166127da565b5060010190565b5f8451602061282f8285838a01612264565b8551918401916128428184848a01612264565b85549201915f9061285281612606565b6001828116801561286a576001811461287f576128a8565b60ff19841687528215158302870194506128a8565b895f52855f205f5b848110156128a057815489820152908301908701612887565b505082870194505b50929a9950505050505050505050565b5f602082840312156128c8575f80fd5b81516111fc8161223c565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b634e487b7160e01b5f52601260045260245ffd5b5f8261294657612946612924565b500690565b8082018082111561078c5761078c6127da565b5f8161296c5761296c6127da565b505f190190565b5f8261298157612981612924565b500490565b8181038181111561078c5761078c6127da565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6001600160a01b03858116825284166020820152604081018390526080606082018190525f90612a1d90830184612286565b9695505050505050565b5f60208284031215612a37575f80fd5b81516111fc8161220c565b634e487b7160e01b5f52603160045260245ffdfea2646970667358221220b531e923eb0d7506e3dc0e21b49164363aa5417613260453cfde326e814000b264736f6c63430008140033

Deployed Bytecode Sourcemap

53117:8643:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54054:71;;;;;;;;;;-1:-1:-1;54054:71:0;;;;-1:-1:-1;;;;;54054:71:0;;;;;;-1:-1:-1;;;;;178:32:1;;;160:51;;148:2;133:18;54054:71:0;;;;;;;;41970:266;;;;;;;;;;-1:-1:-1;41970:266:0;;;;;:::i;:::-;;:::i;:::-;;;773:14:1;;766:22;748:41;;736:2;721:18;41970:266:0;608:187:1;55894:79:0;;;;;;;;;;-1:-1:-1;55894:79:0;;;;;:::i;:::-;;:::i;:::-;;29563:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;31222:274::-;;;;;;;;;;-1:-1:-1;31222:274:0;;;;;:::i;:::-;;:::i;60842:199::-;;;;;;;;;;-1:-1:-1;60842:199:0;;;;;:::i;:::-;;:::i;54620:872::-;;;;;;;;;;;;;:::i;:::-;;;2693:25:1;;;2681:2;2666:18;54620:872:0;2547:177:1;42714:113:0;;;;;;;;;;-1:-1:-1;42802:10:0;:17;42714:113;;53699:33;;;;;;;;;;;;;;;;61049:214;;;;;;;;;;-1:-1:-1;61049:214:0;;;;;:::i;:::-;;:::i;42320:318::-;;;;;;;;;;-1:-1:-1;42320:318:0;;;;;:::i;:::-;;:::i;60465:143::-;;;;;;;;;;;;;:::i;53760:32::-;;;;;;;;;;;;;;;;51222:143;;;;;;;;;;;;50985:42;51222:143;;61271:222;;;;;;;;;;-1:-1:-1;61271:222:0;;;;;:::i;:::-;;:::i;53799:28::-;;;;;;;;;;;;;;;;42904:286;;;;;;;;;;-1:-1:-1;42904:286:0;;;;;:::i;:::-;;:::i;54508:104::-;;;;;;;;;;-1:-1:-1;54508:104:0;;;;;:::i;:::-;;:::i;53955:25::-;;;;;;;;;;-1:-1:-1;53955:25:0;;;;;;;;29204:292;;;;;;;;;;-1:-1:-1;29204:292:0;;;;;:::i;:::-;;:::i;55500:104::-;;;;;;;;;;-1:-1:-1;55500:104:0;;;;;:::i;:::-;;:::i;28881:261::-;;;;;;;;;;-1:-1:-1;28881:261:0;;;;;:::i;:::-;;:::i;11011:94::-;;;;;;;;;;;;;:::i;55612:122::-;;;;;;;;;;-1:-1:-1;55612:122:0;;;;;:::i;:::-;;:::i;53889:42::-;;;;;;;;;;-1:-1:-1;53889:42:0;;;;;:::i;:::-;;;;;;;;;;;;-1:-1:-1;;;;;53889:42:0;;;10360:87;;;;;;;;;;-1:-1:-1;10433:6:0;;-1:-1:-1;;;;;10433:6:0;10360:87;;29732:104;;;;;;;;;;;;;:::i;56119:833::-;;;;;;:::i;:::-;;:::i;60616:218::-;;;;;;;;;;-1:-1:-1;60616:218:0;;;;;:::i;:::-;;:::i;57006:474::-;;;;;;;;;;-1:-1:-1;57006:474:0;;;;;:::i;:::-;;:::i;61501:256::-;;;;;;;;;;-1:-1:-1;61501:256:0;;;;;:::i;:::-;;:::i;53366:228::-;;;;;;;;;;-1:-1:-1;53366:228:0;;;;;:::i;:::-;;:::i;53320:37::-;;;;;;;;;;;;;:::i;59063:548::-;;;;;;;;;;-1:-1:-1;59063:548:0;;;;;:::i;:::-;;:::i;58584:437::-;;;;;;;;;;-1:-1:-1;58584:437:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;53618:30::-;;;;;;;;;;;;;;;;55742:144;;;;;;;;;;-1:-1:-1;55742:144:0;;;;;:::i;:::-;;:::i;31959:189::-;;;;;;;;;;-1:-1:-1;31959:189:0;;;;;:::i;:::-;-1:-1:-1;;;;;32105:25:0;;;32081:4;32105:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;31959:189;53850:32;;;;;;;;;;-1:-1:-1;53850:32:0;;;;;:::i;:::-;;:::i;55981:114::-;;;;;;;;;;-1:-1:-1;55981:114:0;;;;;:::i;:::-;;:::i;11260:229::-;;;;;;;;;;-1:-1:-1;11260:229:0;;;;;:::i;:::-;;:::i;53655:37::-;;;;;;;;;;;;;;;;41970:266;42088:4;-1:-1:-1;;;;;;42125:50:0;;-1:-1:-1;;;42125:50:0;;:103;;;42192:36;42216:11;42192:23;:36::i;:::-;42105:123;41970:266;-1:-1:-1;;41970:266:0:o;55894:79::-;10433:6;;-1:-1:-1;;;;;10433:6:0;9798:10;10580:23;10572:68;;;;-1:-1:-1;;;10572:68:0;;;;;;;:::i;:::-;;;;;;;;;55950:6:::1;:15:::0;;-1:-1:-1;;55950:15:0::1;::::0;::::1;;::::0;;;::::1;::::0;;55894:79::o;29563:100::-;29617:13;29650:5;29643:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29563:100;:::o;31222:274::-;31314:7;34919:16;;;:7;:16;;;;;;-1:-1:-1;;;;;34919:16:0;31334:110;;;;-1:-1:-1;;;31334:110:0;;8345:2:1;31334:110:0;;;8327:21:1;8384:2;8364:18;;;8357:30;8423:34;8403:18;;;8396:62;-1:-1:-1;;;8474:18:1;;;8467:42;8526:19;;31334:110:0;8143:408:1;31334:110:0;-1:-1:-1;31464:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;31464:24:0;;31222:274::o;60842:199::-;60980:8;52395:30;52416:8;52395:20;:30::i;:::-;61001:32:::1;61015:8;61025:7;61001:13;:32::i;:::-;60842:199:::0;;;:::o;54620:872::-;54693:9;;54700:1;42802:17;54657:7;;54693:9;54768:3;54758:6;:13;;:29;;;;;54784:3;54775:6;:12;54758:29;54754:708;;;54812:6;54819:1;54812:9;;;54804:17;;54754:708;;;54853:3;54843:6;:13;;:29;;;;;54869:3;54860:6;:12;54843:29;54839:623;;;54897:6;54904:1;54897:9;;54839:623;54938:3;54928:6;:13;;:29;;;;;54954:3;54945:6;:12;54928:29;54924:538;;;54982:6;54989:1;54982:9;;54924:538;55023:3;55013:6;:13;;:29;;;;;55039:3;55030:6;:12;55013:29;55009:453;;;55067:6;55074:1;55067:9;;55009:453;55108:3;55098:6;:13;;:29;;;;;55124:3;55115:6;:12;55098:29;55094:368;;;55152:6;55159:1;55152:9;;55094:368;55193:3;55183:6;:13;;:29;;;;;55209:3;55200:6;:12;55183:29;55179:283;;;55237:6;55244:1;55237:9;;55179:283;55278:3;55268:6;:13;;:29;;;;;55294:3;55285:6;:12;55268:29;55264:198;;;55322:6;55329:1;55322:9;;55264:198;55363:3;55353:6;:13;55349:113;;55391:6;55398:1;55391:9;;55349:113;55441:9;;;-1:-1:-1;55349:113:0;-1:-1:-1;55479:5:0;54620:872;-1:-1:-1;54620:872:0:o;61049:214::-;61201:4;-1:-1:-1;;;;;52215:18:0;;52223:10;52215:18;52211:83;;52250:32;52271:10;52250:20;:32::i;:::-;61218:37:::1;61237:4;61243:2;61247:7;61218:18;:37::i;:::-;61049:214:::0;;;;:::o;42320:318::-;42442:7;42492:23;42509:5;42492:16;:23::i;:::-;42484:5;:31;42462:124;;;;-1:-1:-1;;;42462:124:0;;8890:2:1;42462:124:0;;;8872:21:1;8929:2;8909:18;;;8902:30;8968:34;8948:18;;;8941:62;-1:-1:-1;;;9019:18:1;;;9012:41;9070:19;;42462:124:0;8688:407:1;42462:124:0;-1:-1:-1;;;;;;42604:19:0;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;42320:318::o;60465:143::-;10433:6;;-1:-1:-1;;;;;10433:6:0;9798:10;10580:23;10572:68;;;;-1:-1:-1;;;10572:68:0;;;;;;;:::i;:::-;60563:37:::1;::::0;60531:21:::1;::::0;60571:10:::1;::::0;60563:37;::::1;;;::::0;60531:21;;60513:15:::1;60563:37:::0;60513:15;60563:37;60531:21;60571:10;60563:37;::::1;;;;;;;;;;;;;::::0;::::1;;;;;;60502:106;60465:143::o:0;61271:222::-;61427:4;-1:-1:-1;;;;;52215:18:0;;52223:10;52215:18;52211:83;;52250:32;52271:10;52250:20;:32::i;:::-;61444:41:::1;61467:4;61473:2;61477:7;61444:22;:41::i;42904:286::-:0;42995:7;43045:30;42802:10;:17;;42714:113;43045:30;43037:5;:38;43015:132;;;;-1:-1:-1;;;43015:132:0;;9302:2:1;43015:132:0;;;9284:21:1;9341:2;9321:18;;;9314:30;9380:34;9360:18;;;9353:62;-1:-1:-1;;;9431:18:1;;;9424:42;9483:19;;43015:132:0;9100:408:1;43015:132:0;43165:10;43176:5;43165:17;;;;;;;;:::i;:::-;;;;;;;;;43158:24;;42904:286;;;:::o;54508:104::-;10433:6;;-1:-1:-1;;;;;10433:6:0;9798:10;10580:23;10572:68;;;;-1:-1:-1;;;10572:68:0;;;;;;;:::i;:::-;54581:13:::1;:23;54597:7:::0;54581:13;:23:::1;:::i;29204:292::-:0;29292:7;29328:16;;;:7;:16;;;;;;-1:-1:-1;;;;;29328:16:0;;29355:110;;;;-1:-1:-1;;;29355:110:0;;11919:2:1;29355:110:0;;;11901:21:1;11958:2;11938:18;;;11931:30;11997:34;11977:18;;;11970:62;-1:-1:-1;;;12048:18:1;;;12041:39;12097:19;;29355:110:0;11717:405:1;55500:104:0;10433:6;;-1:-1:-1;;;;;10433:6:0;9798:10;10580:23;10572:68;;;;-1:-1:-1;;;10572:68:0;;;;;;;:::i;:::-;55577:19:::1;:6;55586:10:::0;55577:19:::1;;:::i;28881:261::-:0;28969:7;-1:-1:-1;;;;;29011:19:0;;28989:111;;;;-1:-1:-1;;;28989:111:0;;12329:2:1;28989:111:0;;;12311:21:1;12368:2;12348:18;;;12341:30;12407:34;12387:18;;;12380:62;-1:-1:-1;;;12458:18:1;;;12451:40;12508:19;;28989:111:0;12127:406:1;28989:111:0;-1:-1:-1;;;;;;29118:16:0;;;;;:9;:16;;;;;;;28881:261::o;11011:94::-;10433:6;;-1:-1:-1;;;;;10433:6:0;9798:10;10580:23;10572:68;;;;-1:-1:-1;;;10572:68:0;;;;;;;:::i;:::-;11076:21:::1;11094:1;11076:9;:21::i;:::-;11011:94::o:0;55612:122::-;10433:6;;-1:-1:-1;;;;;10433:6:0;9798:10;10580:23;10572:68;;;;-1:-1:-1;;;10572:68:0;;;;;;;:::i;:::-;55693:13:::1;:33:::0;55612:122::o;29732:104::-;29788:13;29821:7;29814:14;;;;;:::i;56119:833::-;56208:6;;;;56207:7;56199:54;;;;-1:-1:-1;;;56199:54:0;;12740:2:1;56199:54:0;;;12722:21:1;12779:2;12759:18;;;12752:30;12818:34;12798:18;;;12791:62;-1:-1:-1;;;12869:18:1;;;12862:32;12911:19;;56199:54:0;12538:398:1;56199:54:0;56286:1;56272:11;:15;56264:64;;;;-1:-1:-1;;;56264:64:0;;;;;;;:::i;:::-;56376:13;;56361:11;:28;;56339:115;;;;-1:-1:-1;;;56339:115:0;;13548:2:1;56339:115:0;;;13530:21:1;13587:2;13567:18;;;13560:30;13626:34;13606:18;;;13599:62;-1:-1:-1;;;13677:18:1;;;13670:35;13722:19;;56339:115:0;13346:401:1;56339:115:0;56487:11;56473:10;;:25;;56465:71;;;;-1:-1:-1;;;56465:71:0;;;;;;;:::i;:::-;10433:6;;-1:-1:-1;;;;;10433:6:0;56551:10;:21;56547:178;;56637:11;56628:6;:4;:6::i;:::-;:20;;;;:::i;:::-;56615:9;:33;;56589:124;;;;-1:-1:-1;;;56589:124:0;;14661:2:1;56589:124:0;;;14643:21:1;14700:2;14680:18;;;14673:30;14739:31;14719:18;;;14712:59;14788:18;;56589:124:0;14459:353:1;56589:124:0;56772:1;56755:152;56780:11;56775:1;:16;56755:152;;56845:23;56857:10;56845:11;:23::i;:::-;-1:-1:-1;56793:3:0;;;;:::i;:::-;;;;56755:152;;;;56917:27;56934:9;56917:16;:27::i;:::-;56119:833;:::o;60616:218::-;60762:8;52395:30;52416:8;52395:20;:30::i;:::-;60783:43:::1;60807:8;60817;60783:23;:43::i;57006:474::-:0;10433:6;;-1:-1:-1;;;;;10433:6:0;9798:10;10580:23;10572:68;;;;-1:-1:-1;;;10572:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;57146:21:0;::::1;57138:53;;;::::0;-1:-1:-1;;;57138:53:0;;15159:2:1;57138:53:0::1;::::0;::::1;15141:21:1::0;15198:2;15178:18;;;15171:30;-1:-1:-1;;;15217:18:1;;;15210:49;15276:18;;57138:53:0::1;14957:343:1::0;57138:53:0::1;57220:1;57210:7;:11;57202:60;;;;-1:-1:-1::0;;;57202:60:0::1;;;;;;;:::i;:::-;57281:10;;57295:1;57281:15:::0;57273:61:::1;;;;-1:-1:-1::0;;;57273:61:0::1;;;;;;;:::i;:::-;57404:1;57387:86;57412:7;57407:1;:12;57387:86;;57441:20;57453:7;57441:11;:20::i;:::-;-1:-1:-1::0;57421:3:0;::::1;::::0;::::1;:::i;:::-;;;;57387:86;;61501:256:::0;61685:4;-1:-1:-1;;;;;52215:18:0;;52223:10;52215:18;52211:83;;52250:32;52271:10;52250:20;:32::i;:::-;61702:47:::1;61725:4;61731:2;61735:7;61744:4;61702:22;:47::i;:::-;61501:256:::0;;;;;:::o;53366:228::-;;;;;;;;;;;;;;;-1:-1:-1;53366:228:0;:::o;53320:37::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;59063:548::-;34895:4;34919:16;;;:7;:16;;;;;;59148:13;;-1:-1:-1;;;;;34919:16:0;59174:63;;;;-1:-1:-1;;;59174:63:0;;15507:2:1;59174:63:0;;;15489:21:1;15546:2;15526:18;;;15519:30;15585:34;15565:18;;;15558:62;-1:-1:-1;;;15636:18:1;;;15629:36;15682:19;;59174:63:0;15305:402:1;59174:63:0;59248:28;59279:10;:8;:10::i;:::-;59248:41;;59351:1;59326:14;59320:28;:32;:283;;;;;;;;;;;;;;;;;59444:14;59485;:3;:12;:14::i;:::-;59526:13;59401:161;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;59320:283;59300:303;59063:548;-1:-1:-1;;;59063:548:0:o;58584:437::-;58658:16;58717:23;58743:17;58753:6;58743:9;:17::i;:::-;58717:43;;58771:25;58813:15;58799:30;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;58799:30:0;;58771:58;;58880:9;58875:113;58895:15;58891:1;:19;58875:113;;;58946:30;58966:6;58974:1;58946:19;:30::i;:::-;58932:8;58941:1;58932:11;;;;;;;;:::i;:::-;;;;;;;;;;:44;58912:3;;;;:::i;:::-;;;;58875:113;;;-1:-1:-1;59005:8:0;58584:437;-1:-1:-1;;;58584:437:0:o;55742:144::-;10433:6;;-1:-1:-1;;;;;10433:6:0;9798:10;10580:23;10572:68;;;;-1:-1:-1;;;10572:68:0;;;;;;;:::i;:::-;55845:13:::1;:33;55861:17:::0;55845:13;:33:::1;:::i;53850:32::-:0;;;;;;;;;;;55981:114;10433:6;;-1:-1:-1;;;;;10433:6:0;9798:10;10580:23;10572:68;;;;-1:-1:-1;;;10572:68:0;;;;;;;:::i;:::-;56058:11:::1;:29:::0;;-1:-1:-1;;;;;;56058:29:0::1;-1:-1:-1::0;;;;;56058:29:0;;;::::1;::::0;;;::::1;::::0;;55981:114::o;11260:229::-;10433:6;;-1:-1:-1;;;;;10433:6:0;9798:10;10580:23;10572:68;;;;-1:-1:-1;;;10572:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;11363:22:0;::::1;11341:110;;;::::0;-1:-1:-1;;;11341:110:0;;17175:2:1;11341:110:0::1;::::0;::::1;17157:21:1::0;17214:2;17194:18;;;17187:30;17253:34;17233:18;;;17226:62;-1:-1:-1;;;17304:18:1;;;17297:36;17350:19;;11341:110:0::1;16973:402:1::0;11341:110:0::1;11462:19;11472:8;11462:9;:19::i;28496:321::-:0;28614:4;-1:-1:-1;;;;;;28651:40:0;;-1:-1:-1;;;28651:40:0;;:105;;-1:-1:-1;;;;;;;28708:48:0;;-1:-1:-1;;;28708:48:0;28651:105;:158;;;-1:-1:-1;;;;;;;;;;21479:40:0;;;28773:36;21354:173;52453:513;50985:42;52644:45;:49;52640:319;;52734:128;;-1:-1:-1;;;52734:128:0;;52807:4;52734:128;;;17592:34:1;-1:-1:-1;;;;;17662:15:1;;17642:18;;;17635:43;50985:42:0;;52734;;17527:18:1;;52734:128:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;52711:237;;52904:28;;-1:-1:-1;;;52904:28:0;;-1:-1:-1;;;;;178:32:1;;52904:28:0;;;160:51:1;133:18;;52904:28:0;14:203:1;30745:411:0;30826:13;30842:23;30857:7;30842:14;:23::i;:::-;30826:39;;30890:5;-1:-1:-1;;;;;30884:11:0;:2;-1:-1:-1;;;;;30884:11:0;;30876:57;;;;-1:-1:-1;;;30876:57:0;;18141:2:1;30876:57:0;;;18123:21:1;18180:2;18160:18;;;18153:30;18219:34;18199:18;;;18192:62;-1:-1:-1;;;18270:18:1;;;18263:31;18311:19;;30876:57:0;17939:397:1;30876:57:0;9798:10;-1:-1:-1;;;;;30968:21:0;;;;:62;;-1:-1:-1;30993:37:0;31010:5;9798:10;31959:189;:::i;30993:37::-;30946:168;;;;-1:-1:-1;;;30946:168:0;;18543:2:1;30946:168:0;;;18525:21:1;18582:2;18562:18;;;18555:30;18621:34;18601:18;;;18594:62;18692:26;18672:18;;;18665:54;18736:19;;30946:168:0;18341:420:1;30946:168:0;31127:21;31136:2;31140:7;31127:8;:21::i;32215:376::-;32424:41;9798:10;32457:7;32424:18;:41::i;:::-;32402:140;;;;-1:-1:-1;;;32402:140:0;;;;;;;:::i;:::-;32555:28;32565:4;32571:2;32575:7;32555:9;:28::i;32662:185::-;32800:39;32817:4;32823:2;32827:7;32800:39;;;;;;;;;;;;:16;:39::i;11497:173::-;11572:6;;;-1:-1:-1;;;;;11589:17:0;;;-1:-1:-1;;;;;;11589:17:0;;;;;;;11622:40;;11572:6;;;11589:17;11572:6;;11622:40;;11553:16;;11622:40;11542:128;11497:173;:::o;57508:514::-;57650:10;;60253:161;;;60296:16;60253:161;;;;21729:19:1;;;;60339:15:0;21764:12:1;;;21757:28;21801:12;;;;21794:28;;;60253:161:0;;;;;;;;;;21838:12:1;;;;60253:161:0;;;60221:212;;;;;57564:7;;;;57635:25;;;;:::i;:::-;57618:42;;57671:18;57692:16;57701:6;57692:8;:16::i;:::-;:20;;57711:1;57692:20;:::i;:::-;57749:10;:12;;57671:41;;-1:-1:-1;57749:10:0;:12;;;:::i;:::-;;;;;;57831:20;57840:10;;57831:8;:20::i;:::-;57808:12;57821:6;57808:20;;;;;;;:::i;:::-;;:43;57879:30;57889:7;57898:10;57879:9;:30::i;:::-;57954:19;;;;:7;:19;;;;;:32;;-1:-1:-1;;;;;;57954:32:0;57976:10;57954:32;;;57962:10;57508:514;-1:-1:-1;;;57508:514:0:o;59639:201::-;59801:11;;59793:39;;59746:7;;-1:-1:-1;;;;;59801:11:0;;59793:39;;;;;59746:7;;59727:16;59793:39;59727:16;59793:39;59746:7;59801:11;59793:39;;;;;;;;;;;;;;;;;;;31568:320;9798:10;-1:-1:-1;;;;;31696:24:0;;;31688:62;;;;-1:-1:-1;;;31688:62:0;;19906:2:1;31688:62:0;;;19888:21:1;19945:2;19925:18;;;19918:30;19984:27;19964:18;;;19957:55;20029:18;;31688:62:0;19704:349:1;31688:62:0;9798:10;31763:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;31763:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;31763:53:0;;;;;;;;;;31832:48;;748:41:1;;;31763:42:0;;9798:10;31832:48;;721:18:1;31832:48:0;;;;;;;31568:320;;:::o;32918:365::-;33107:41;9798:10;33140:7;33107:18;:41::i;:::-;33085:140;;;;-1:-1:-1;;;33085:140:0;;;;;;;:::i;:::-;33236:39;33250:4;33256:2;33260:7;33269:5;33236:13;:39::i;54370:114::-;54430:13;54463;54456:20;;;;;:::i;7901:723::-;7957:13;8178:5;8187:1;8178:10;8174:53;;-1:-1:-1;;8205:10:0;;;;;;;;;;;;-1:-1:-1;;;8205:10:0;;;;;7901:723::o;8174:53::-;8252:5;8237:12;8293:78;8300:9;;8293:78;;8326:8;;;;:::i;:::-;;-1:-1:-1;8349:10:0;;-1:-1:-1;8357:2:0;8349:10;;:::i;:::-;;;8293:78;;;8381:19;8413:6;8403:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;8403:17:0;;8381:39;;8431:154;8438:10;;8431:154;;8465:11;8475:1;8465:11;;:::i;:::-;;-1:-1:-1;8534:10:0;8542:2;8534:5;:10;:::i;:::-;8521:24;;:2;:24;:::i;:::-;8508:39;;8491:6;8498;8491:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;8491:56:0;;;;;;;;-1:-1:-1;8562:11:0;8571:2;8562:11;;:::i;:::-;;;8431:154;;;8609:6;7901:723;-1:-1:-1;;;;7901:723:0:o;38937:174::-;39012:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;39012:29:0;-1:-1:-1;;;;;39012:29:0;;;;;;;;:24;;39066:23;39012:24;39066:14;:23::i;:::-;-1:-1:-1;;;;;39057:46:0;;;;;;;;;;;38937:174;;:::o;35124:436::-;35242:4;34919:16;;;:7;:16;;;;;;-1:-1:-1;;;;;34919:16:0;35259:110;;;;-1:-1:-1;;;35259:110:0;;20518:2:1;35259:110:0;;;20500:21:1;20557:2;20537:18;;;20530:30;20596:34;20576:18;;;20569:62;-1:-1:-1;;;20647:18:1;;;20640:42;20699:19;;35259:110:0;20316:408:1;35259:110:0;35380:13;35396:23;35411:7;35396:14;:23::i;:::-;35380:39;;35449:5;-1:-1:-1;;;;;35438:16:0;:7;-1:-1:-1;;;;;35438:16:0;;:64;;;;35495:7;-1:-1:-1;;;;;35471:31:0;:20;35483:7;35471:11;:20::i;:::-;-1:-1:-1;;;;;35471:31:0;;35438:64;:113;;;-1:-1:-1;;;;;;32105:25:0;;;32081:4;32105:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;35519:32;31959:189;38204:615;38377:4;-1:-1:-1;;;;;38350:31:0;:23;38365:7;38350:14;:23::i;:::-;-1:-1:-1;;;;;38350:31:0;;38328:122;;;;-1:-1:-1;;;38328:122:0;;20931:2:1;38328:122:0;;;20913:21:1;20970:2;20950:18;;;20943:30;21009:34;20989:18;;;20982:62;-1:-1:-1;;;21060:18:1;;;21053:39;21109:19;;38328:122:0;20729:405:1;38328:122:0;-1:-1:-1;;;;;38469:16:0;;38461:65;;;;-1:-1:-1;;;38461:65:0;;21341:2:1;38461:65:0;;;21323:21:1;21380:2;21360:18;;;21353:30;21419:34;21399:18;;;21392:62;-1:-1:-1;;;21470:18:1;;;21463:34;21514:19;;38461:65:0;21139:400:1;38461:65:0;38539:39;38560:4;38566:2;38570:7;38539:20;:39::i;:::-;38643:29;38660:1;38664:7;38643:8;:29::i;:::-;-1:-1:-1;;;;;38685:15:0;;;;;;:9;:15;;;;;:20;;38704:1;;38685:15;:20;;38704:1;;38685:20;:::i;:::-;;;;-1:-1:-1;;;;;;;38716:13:0;;;;;;:9;:13;;;;;:18;;38733:1;;38716:13;:18;;38733:1;;38716:18;:::i;:::-;;;;-1:-1:-1;;38745:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;38745:21:0;-1:-1:-1;;;;;38745:21:0;;;;;;;;;38784:27;;38745:16;;38784:27;;;;;;;38204:615;;;:::o;59891:172::-;59948:7;59972:12;59985:6;59972:20;;;;;;;:::i;:::-;;;:25;59968:87;;60006:12;60019:6;60006:20;;;;;;;:::i;:::-;;;;59891:172;-1:-1:-1;;59891:172:0:o;59968:87::-;-1:-1:-1;60049:6:0;59891:172::o;59968:87::-;59891:172;;;:::o;35902:110::-;35978:26;35988:2;35992:7;35978:26;;;;;;;;;;;;:9;:26::i;34165:352::-;34322:28;34332:4;34338:2;34342:7;34322:9;:28::i;:::-;34383:48;34406:4;34412:2;34416:7;34425:5;34383:22;:48::i;:::-;34361:148;;;;-1:-1:-1;;;34361:148:0;;;;;;;:::i;43803:589::-;-1:-1:-1;;;;;44009:18:0;;44005:187;;44044:40;44076:7;45219:10;:17;;45192:24;;;;:15;:24;;;;;:44;;;45247:24;;;;;;;;;;;;45115:164;44044:40;44005:187;;;44114:2;-1:-1:-1;;;;;44106:10:0;:4;-1:-1:-1;;;;;44106:10:0;;44102:90;;44133:47;44166:4;44172:7;44133:32;:47::i;:::-;-1:-1:-1;;;;;44206:16:0;;44202:183;;44239:45;44276:7;44239:36;:45::i;44202:183::-;44312:4;-1:-1:-1;;;;;44306:10:0;:2;-1:-1:-1;;;;;44306:10:0;;44302:83;;44333:40;44361:2;44365:7;44333:27;:40::i;36239:321::-;36369:18;36375:2;36379:7;36369:5;:18::i;:::-;36420:54;36451:1;36455:2;36459:7;36468:5;36420:22;:54::i;:::-;36398:154;;;;-1:-1:-1;;;36398:154:0;;;;;;;:::i;39676:980::-;39831:4;-1:-1:-1;;;;;39852:13:0;;12610:20;12658:8;39848:801;;39905:175;;-1:-1:-1;;;39905:175:0;;-1:-1:-1;;;;;39905:36:0;;;;;:175;;9798:10;;39999:4;;40026:7;;40056:5;;39905:175;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;39905:175:0;;;;;;;;-1:-1:-1;;39905:175:0;;;;;;;;;;;;:::i;:::-;;;39884:710;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40263:6;:13;40280:1;40263:18;40259:320;;40306:108;;-1:-1:-1;;;40306:108:0;;;;;;;:::i;40259:320::-;40529:6;40523:13;40514:6;40510:2;40506:15;40499:38;39884:710;-1:-1:-1;;;;;;40144:51:0;-1:-1:-1;;;40144:51:0;;-1:-1:-1;40137:58:0;;39848:801;-1:-1:-1;40633:4:0;39676:980;;;;;;:::o;45906:1013::-;46197:22;46247:1;46222:22;46239:4;46222:16;:22::i;:::-;:26;;;;:::i;:::-;46259:18;46280:26;;;:17;:26;;;;;;46197:51;;-1:-1:-1;46413:28:0;;;46409:328;;-1:-1:-1;;;;;46480:18:0;;46458:19;46480:18;;;:12;:18;;;;;;;;:34;;;;;;;;;46531:30;;;;;;:44;;;46648:30;;:17;:30;;;;;:43;;;46409:328;-1:-1:-1;46833:26:0;;;;:17;:26;;;;;;;;46826:33;;;-1:-1:-1;;;;;46877:18:0;;;;;:12;:18;;;;;:34;;;;;;;46870:41;45906:1013::o;47214:1079::-;47492:10;:17;47467:22;;47492:21;;47512:1;;47492:21;:::i;:::-;47524:18;47545:24;;;:15;:24;;;;;;47918:10;:26;;47467:46;;-1:-1:-1;47545:24:0;;47467:46;;47918:26;;;;;;:::i;:::-;;;;;;;;;47896:48;;47982:11;47957:10;47968;47957:22;;;;;;;;:::i;:::-;;;;;;;;;;;;:36;;;;48062:28;;;:15;:28;;;;;;;:41;;;48234:24;;;;;48227:31;48269:10;:16;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;47285:1008;;;47214:1079;:::o;44693:221::-;44778:14;44795:20;44812:2;44795:16;:20::i;:::-;-1:-1:-1;;;;;44826:16:0;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;44871:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;44693:221:0:o;36896:382::-;-1:-1:-1;;;;;36976:16:0;;36968:61;;;;-1:-1:-1;;;36968:61:0;;23362:2:1;36968:61:0;;;23344:21:1;;;23381:18;;;23374:30;23440:34;23420:18;;;23413:62;23492:18;;36968:61:0;23160:356:1;36968:61:0;34895:4;34919:16;;;:7;:16;;;;;;-1:-1:-1;;;;;34919:16:0;:30;37040:58;;;;-1:-1:-1;;;37040:58:0;;23723:2:1;37040:58:0;;;23705:21:1;23762:2;23742:18;;;23735:30;23801;23781:18;;;23774:58;23849:18;;37040:58:0;23521:352:1;37040:58:0;37111:45;37140:1;37144:2;37148:7;37111:20;:45::i;:::-;-1:-1:-1;;;;;37169:13:0;;;;;;:9;:13;;;;;:18;;37186:1;;37169:13;:18;;37186:1;;37169:18;:::i;:::-;;;;-1:-1:-1;;37198:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;37198:21:0;-1:-1:-1;;;;;37198:21:0;;;;;;;;37237:33;;37198:16;;;37237:33;;37198:16;;37237:33;36896:382;;:::o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;222:131:1;-1:-1:-1;;;;;;296:32:1;;286:43;;276:71;;343:1;340;333:12;358:245;416:6;469:2;457:9;448:7;444:23;440:32;437:52;;;485:1;482;475:12;437:52;524:9;511:23;543:30;567:5;543:30;:::i;800:118::-;886:5;879:13;872:21;865:5;862:32;852:60;;908:1;905;898:12;923:241;979:6;1032:2;1020:9;1011:7;1007:23;1003:32;1000:52;;;1048:1;1045;1038:12;1000:52;1087:9;1074:23;1106:28;1128:5;1106:28;:::i;1169:250::-;1254:1;1264:113;1278:6;1275:1;1272:13;1264:113;;;1354:11;;;1348:18;1335:11;;;1328:39;1300:2;1293:10;1264:113;;;-1:-1:-1;;1411:1:1;1393:16;;1386:27;1169:250::o;1424:271::-;1466:3;1504:5;1498:12;1531:6;1526:3;1519:19;1547:76;1616:6;1609:4;1604:3;1600:14;1593:4;1586:5;1582:16;1547:76;:::i;:::-;1677:2;1656:15;-1:-1:-1;;1652:29:1;1643:39;;;;1684:4;1639:50;;1424:271;-1:-1:-1;;1424:271:1:o;1700:220::-;1849:2;1838:9;1831:21;1812:4;1869:45;1910:2;1899:9;1895:18;1887:6;1869:45;:::i;1925:180::-;1984:6;2037:2;2025:9;2016:7;2012:23;2008:32;2005:52;;;2053:1;2050;2043:12;2005:52;-1:-1:-1;2076:23:1;;1925:180;-1:-1:-1;1925:180:1:o;2110:173::-;2178:20;;-1:-1:-1;;;;;2227:31:1;;2217:42;;2207:70;;2273:1;2270;2263:12;2288:254;2356:6;2364;2417:2;2405:9;2396:7;2392:23;2388:32;2385:52;;;2433:1;2430;2423:12;2385:52;2456:29;2475:9;2456:29;:::i;:::-;2446:39;2532:2;2517:18;;;;2504:32;;-1:-1:-1;;;2288:254:1:o;2729:328::-;2806:6;2814;2822;2875:2;2863:9;2854:7;2850:23;2846:32;2843:52;;;2891:1;2888;2881:12;2843:52;2914:29;2933:9;2914:29;:::i;:::-;2904:39;;2962:38;2996:2;2985:9;2981:18;2962:38;:::i;:::-;2952:48;;3047:2;3036:9;3032:18;3019:32;3009:42;;2729:328;;;;;:::o;3302:127::-;3363:10;3358:3;3354:20;3351:1;3344:31;3394:4;3391:1;3384:15;3418:4;3415:1;3408:15;3434:632;3499:5;3529:18;3570:2;3562:6;3559:14;3556:40;;;3576:18;;:::i;:::-;3651:2;3645:9;3619:2;3705:15;;-1:-1:-1;;3701:24:1;;;3727:2;3697:33;3693:42;3681:55;;;3751:18;;;3771:22;;;3748:46;3745:72;;;3797:18;;:::i;:::-;3837:10;3833:2;3826:22;3866:6;3857:15;;3896:6;3888;3881:22;3936:3;3927:6;3922:3;3918:16;3915:25;3912:45;;;3953:1;3950;3943:12;3912:45;4003:6;3998:3;3991:4;3983:6;3979:17;3966:44;4058:1;4051:4;4042:6;4034;4030:19;4026:30;4019:41;;;;3434:632;;;;;:::o;4071:451::-;4140:6;4193:2;4181:9;4172:7;4168:23;4164:32;4161:52;;;4209:1;4206;4199:12;4161:52;4249:9;4236:23;4282:18;4274:6;4271:30;4268:50;;;4314:1;4311;4304:12;4268:50;4337:22;;4390:4;4382:13;;4378:27;-1:-1:-1;4368:55:1;;4419:1;4416;4409:12;4368:55;4442:74;4508:7;4503:2;4490:16;4485:2;4481;4477:11;4442:74;:::i;4527:780::-;4609:6;4640:3;4684:2;4672:9;4663:7;4659:23;4655:32;4652:52;;;4700:1;4697;4690:12;4652:52;4749:7;4742:4;4731:9;4727:20;4723:34;4713:62;;4771:1;4768;4761:12;4713:62;4804:2;4798:9;4846:2;4838:6;4834:15;4915:6;4903:10;4900:22;4879:18;4867:10;4864:34;4861:62;4858:88;;;4926:18;;:::i;:::-;4962:2;4955:22;5026:18;;;;4997:6;5056:19;;;5053:39;;;5088:1;5085;5078:12;5053:39;5112:9;5130:146;5146:6;5141:3;5138:15;5130:146;;;5214:17;;5202:30;;5261:4;5252:14;;;;5163;5130:146;;;-1:-1:-1;5295:6:1;;4527:780;-1:-1:-1;;;;;4527:780:1:o;5312:186::-;5371:6;5424:2;5412:9;5403:7;5399:23;5395:32;5392:52;;;5440:1;5437;5430:12;5392:52;5463:29;5482:9;5463:29;:::i;5503:315::-;5568:6;5576;5629:2;5617:9;5608:7;5604:23;5600:32;5597:52;;;5645:1;5642;5635:12;5597:52;5668:29;5687:9;5668:29;:::i;:::-;5658:39;;5747:2;5736:9;5732:18;5719:32;5760:28;5782:5;5760:28;:::i;:::-;5807:5;5797:15;;;5503:315;;;;;:::o;5823:667::-;5918:6;5926;5934;5942;5995:3;5983:9;5974:7;5970:23;5966:33;5963:53;;;6012:1;6009;6002:12;5963:53;6035:29;6054:9;6035:29;:::i;:::-;6025:39;;6083:38;6117:2;6106:9;6102:18;6083:38;:::i;:::-;6073:48;;6168:2;6157:9;6153:18;6140:32;6130:42;;6223:2;6212:9;6208:18;6195:32;6250:18;6242:6;6239:30;6236:50;;;6282:1;6279;6272:12;6236:50;6305:22;;6358:4;6350:13;;6346:27;-1:-1:-1;6336:55:1;;6387:1;6384;6377:12;6336:55;6410:74;6476:7;6471:2;6458:16;6453:2;6449;6445:11;6410:74;:::i;:::-;6400:84;;;5823:667;;;;;;;:::o;6495:632::-;6666:2;6718:21;;;6788:13;;6691:18;;;6810:22;;;6637:4;;6666:2;6889:15;;;;6863:2;6848:18;;;6637:4;6932:169;6946:6;6943:1;6940:13;6932:169;;;7007:13;;6995:26;;7076:15;;;;7041:12;;;;6968:1;6961:9;6932:169;;;-1:-1:-1;7118:3:1;;6495:632;-1:-1:-1;;;;;;6495:632:1:o;7132:260::-;7200:6;7208;7261:2;7249:9;7240:7;7236:23;7232:32;7229:52;;;7277:1;7274;7267:12;7229:52;7300:29;7319:9;7300:29;:::i;:::-;7290:39;;7348:38;7382:2;7371:9;7367:18;7348:38;:::i;:::-;7338:48;;7132:260;;;;;:::o;7397:356::-;7599:2;7581:21;;;7618:18;;;7611:30;7677:34;7672:2;7657:18;;7650:62;7744:2;7729:18;;7397:356::o;7758:380::-;7837:1;7833:12;;;;7880;;;7901:61;;7955:4;7947:6;7943:17;7933:27;;7901:61;8008:2;8000:6;7997:14;7977:18;7974:38;7971:161;;8054:10;8049:3;8045:20;8042:1;8035:31;8089:4;8086:1;8079:15;8117:4;8114:1;8107:15;8556:127;8617:10;8612:3;8608:20;8605:1;8598:31;8648:4;8645:1;8638:15;8672:4;8669:1;8662:15;9639:545;9741:2;9736:3;9733:11;9730:448;;;9777:1;9802:5;9798:2;9791:17;9847:4;9843:2;9833:19;9917:2;9905:10;9901:19;9898:1;9894:27;9888:4;9884:38;9953:4;9941:10;9938:20;9935:47;;;-1:-1:-1;9976:4:1;9935:47;10031:2;10026:3;10022:12;10019:1;10015:20;10009:4;10005:31;9995:41;;10086:82;10104:2;10097:5;10094:13;10086:82;;;10149:17;;;10130:1;10119:13;10086:82;;;10090:3;;;9639:545;;;:::o;10360:1352::-;10486:3;10480:10;10513:18;10505:6;10502:30;10499:56;;;10535:18;;:::i;:::-;10564:97;10654:6;10614:38;10646:4;10640:11;10614:38;:::i;:::-;10608:4;10564:97;:::i;:::-;10716:4;;10780:2;10769:14;;10797:1;10792:663;;;;11499:1;11516:6;11513:89;;;-1:-1:-1;11568:19:1;;;11562:26;11513:89;-1:-1:-1;;10317:1:1;10313:11;;;10309:24;10305:29;10295:40;10341:1;10337:11;;;10292:57;11615:81;;10762:944;;10792:663;9586:1;9579:14;;;9623:4;9610:18;;-1:-1:-1;;10828:20:1;;;10946:236;10960:7;10957:1;10954:14;10946:236;;;11049:19;;;11043:26;11028:42;;11141:27;;;;11109:1;11097:14;;;;10976:19;;10946:236;;;10950:3;11210:6;11201:7;11198:19;11195:201;;;11271:19;;;11265:26;-1:-1:-1;;11354:1:1;11350:14;;;11366:3;11346:24;11342:37;11338:42;11323:58;11308:74;;11195:201;-1:-1:-1;;;;;11442:1:1;11426:14;;;11422:22;11409:36;;-1:-1:-1;10360:1352:1:o;12941:400::-;13143:2;13125:21;;;13182:2;13162:18;;;13155:30;13221:34;13216:2;13201:18;;13194:62;-1:-1:-1;;;13287:2:1;13272:18;;13265:34;13331:3;13316:19;;12941:400::o;13752:397::-;13954:2;13936:21;;;13993:2;13973:18;;;13966:30;14032:34;14027:2;14012:18;;14005:62;-1:-1:-1;;;14098:2:1;14083:18;;14076:31;14139:3;14124:19;;13752:397::o;14154:127::-;14215:10;14210:3;14206:20;14203:1;14196:31;14246:4;14243:1;14236:15;14270:4;14267:1;14260:15;14286:168;14359:9;;;14390;;14407:15;;;14401:22;;14387:37;14377:71;;14428:18;;:::i;14817:135::-;14856:3;14877:17;;;14874:43;;14897:18;;:::i;:::-;-1:-1:-1;14944:1:1;14933:13;;14817:135::o;15712:1256::-;15936:3;15974:6;15968:13;16000:4;16013:64;16070:6;16065:3;16060:2;16052:6;16048:15;16013:64;:::i;:::-;16140:13;;16099:16;;;;16162:68;16140:13;16099:16;16197:15;;;16162:68;:::i;:::-;16319:13;;16252:20;;;16292:1;;16357:36;16319:13;16357:36;:::i;:::-;16412:1;16429:18;;;16456:141;;;;16611:1;16606:337;;;;16422:521;;16456:141;-1:-1:-1;;16491:24:1;;16477:39;;16568:16;;16561:24;16547:39;;16536:51;;;-1:-1:-1;16456:141:1;;16606:337;16637:6;16634:1;16627:17;16685:2;16682:1;16672:16;16710:1;16724:169;16738:8;16735:1;16732:15;16724:169;;;16820:14;;16805:13;;;16798:37;16863:16;;;;16755:10;;16724:169;;;16728:3;;16924:8;16917:5;16913:20;16906:27;;16422:521;-1:-1:-1;16959:3:1;;15712:1256;-1:-1:-1;;;;;;;;;;15712:1256:1:o;17689:245::-;17756:6;17809:2;17797:9;17788:7;17784:23;17780:32;17777:52;;;17825:1;17822;17815:12;17777:52;17857:9;17851:16;17876:28;17898:5;17876:28;:::i;18766:413::-;18968:2;18950:21;;;19007:2;18987:18;;;18980:30;19046:34;19041:2;19026:18;;19019:62;-1:-1:-1;;;19112:2:1;19097:18;;19090:47;19169:3;19154:19;;18766:413::o;19184:127::-;19245:10;19240:3;19236:20;19233:1;19226:31;19276:4;19273:1;19266:15;19300:4;19297:1;19290:15;19316:112;19348:1;19374;19364:35;;19379:18;;:::i;:::-;-1:-1:-1;19413:9:1;;19316:112::o;19433:125::-;19498:9;;;19519:10;;;19516:36;;;19532:18;;:::i;19563:136::-;19602:3;19630:5;19620:39;;19639:18;;:::i;:::-;-1:-1:-1;;;19675:18:1;;19563:136::o;20058:120::-;20098:1;20124;20114:35;;20129:18;;:::i;:::-;-1:-1:-1;20163:9:1;;20058:120::o;20183:128::-;20250:9;;;20271:11;;;20268:37;;;20285:18;;:::i;21861:414::-;22063:2;22045:21;;;22102:2;22082:18;;;22075:30;22141:34;22136:2;22121:18;;22114:62;-1:-1:-1;;;22207:2:1;22192:18;;22185:48;22265:3;22250:19;;21861:414::o;22280:489::-;-1:-1:-1;;;;;22549:15:1;;;22531:34;;22601:15;;22596:2;22581:18;;22574:43;22648:2;22633:18;;22626:34;;;22696:3;22691:2;22676:18;;22669:31;;;22474:4;;22717:46;;22743:19;;22735:6;22717:46;:::i;:::-;22709:54;22280:489;-1:-1:-1;;;;;;22280:489:1:o;22774:249::-;22843:6;22896:2;22884:9;22875:7;22871:23;22867:32;22864:52;;;22912:1;22909;22902:12;22864:52;22944:9;22938:16;22963:30;22987:5;22963:30;:::i;23028:127::-;23089:10;23084:3;23080:20;23077:1;23070:31;23120:4;23117:1;23110:15;23144:4;23141:1;23134:15

Swarm Source

ipfs://b531e923eb0d7506e3dc0e21b49164363aa5417613260453cfde326e814000b2
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.