ETH Price: $3,445.92 (-1.00%)
Gas: 12 Gwei

Token

BitKoi (BITKOI)
 

Overview

Max Total Supply

209 BITKOI

Holders

138

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
0xtruls.eth
Balance
1 BITKOI
0xaf442257d853a2cbe6f266f6637fdce1a56a629c
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:
BitKoiCore

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2021-10-27
*/

// File: contracts/common/Initializable.sol



pragma solidity ^0.8.0;

contract Initializable {
    bool inited = false;

    modifier initializer() {
        require(!inited, "already inited");
        _;
        inited = true;
    }
}

// File: contracts/common/EIP712Base.sol



pragma solidity ^0.8.0;


contract EIP712Base is Initializable {
    struct EIP712Domain {
        string name;
        string version;
        address verifyingContract;
        bytes32 salt;
    }

    string constant public ERC712_VERSION = "1";

    bytes32 internal constant EIP712_DOMAIN_TYPEHASH = keccak256(
        bytes(
            "EIP712Domain(string name,string version,address verifyingContract,bytes32 salt)"
        )
    );
    bytes32 internal domainSeperator;

    // supposed to be called once while initializing.
    // one of the contracts that inherits this contract follows proxy pattern
    // so it is not possible to do this in a constructor
    function _initializeEIP712(
        string memory name
    )
        internal
        initializer
    {
        _setDomainSeperator(name);
    }

    function _setDomainSeperator(string memory name) internal {
        domainSeperator = keccak256(
            abi.encode(
                EIP712_DOMAIN_TYPEHASH,
                keccak256(bytes(name)),
                keccak256(bytes(ERC712_VERSION)),
                address(this),
                bytes32(getChainId())
            )
        );
    }

    function getDomainSeperator() public view returns (bytes32) {
        return domainSeperator;
    }

    function getChainId() public view returns (uint256) {
        uint256 id;
        assembly {
            id := chainid()
        }
        return id;
    }

    /**
     * Accept message hash and returns hash message in EIP712 compatible form
     * So that it can be used to recover signer from signature signed using EIP712 formatted data
     * https://eips.ethereum.org/EIPS/eip-712
     * "\\x19" makes the encoding deterministic
     * "\\x01" is the version byte to make it compatible to EIP-191
     */
    function toTypedMessageHash(bytes32 messageHash)
        internal
        view
        returns (bytes32)
    {
        return
            keccak256(
                abi.encodePacked("\x19\x01", getDomainSeperator(), messageHash)
            );
    }
}

// File: contracts/common/ContextMixin.sol



pragma solidity ^0.8.0;

abstract contract ContextMixin {
    function msgSender()
        internal
        view
        returns (address payable sender)
    {
        if (msg.sender == address(this)) {
            bytes memory array = msg.data;
            uint256 index = msg.data.length;
            assembly {
                // Load the 32 bytes word from memory with the address on the lower 20 bytes, and mask those.
                sender := and(
                    mload(add(array, index)),
                    0xffffffffffffffffffffffffffffffffffffffff
                )
            }
        } else {
            sender = payable(msg.sender);
        }
        return sender;
    }
}
// File: @openzeppelin/contracts/utils/math/SafeMath.sol



pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. 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;
        }
    }
}

// File: contracts/common/NativeMetaTransaction.sol



pragma solidity ^0.8.0;



contract NativeMetaTransaction is EIP712Base {
    using SafeMath for uint256;
    bytes32 private constant META_TRANSACTION_TYPEHASH = keccak256(
        bytes(
            "MetaTransaction(uint256 nonce,address from,bytes functionSignature)"
        )
    );
    event MetaTransactionExecuted(
        address userAddress,
        address payable relayerAddress,
        bytes functionSignature
    );
    mapping(address => uint256) nonces;

    /*
     * Meta transaction structure.
     * No point of including value field here as if user is doing value transfer then he has the funds to pay for gas
     * He should call the desired function directly in that case.
     */
    struct MetaTransaction {
        uint256 nonce;
        address from;
        bytes functionSignature;
    }

    function executeMetaTransaction(
        address userAddress,
        bytes memory functionSignature,
        bytes32 sigR,
        bytes32 sigS,
        uint8 sigV
    ) public payable returns (bytes memory) {
        MetaTransaction memory metaTx = MetaTransaction({
            nonce: nonces[userAddress],
            from: userAddress,
            functionSignature: functionSignature
        });

        require(
            verify(userAddress, metaTx, sigR, sigS, sigV),
            "Signer and signature do not match"
        );

        // increase nonce for user (to avoid re-use)
        nonces[userAddress] = nonces[userAddress].add(1);

        emit MetaTransactionExecuted(
            userAddress,
            payable(msg.sender),
            functionSignature
        );

        // Append userAddress and relayer address at the end to extract it from calling context
        (bool success, bytes memory returnData) = address(this).call(
            abi.encodePacked(functionSignature, userAddress)
        );
        require(success, "Function call not successful");

        return returnData;
    }

    function hashMetaTransaction(MetaTransaction memory metaTx)
        internal
        pure
        returns (bytes32)
    {
        return
            keccak256(
                abi.encode(
                    META_TRANSACTION_TYPEHASH,
                    metaTx.nonce,
                    metaTx.from,
                    keccak256(metaTx.functionSignature)
                )
            );
    }

    function getNonce(address user) public view returns (uint256 nonce) {
        nonce = nonces[user];
    }

    function verify(
        address signer,
        MetaTransaction memory metaTx,
        bytes32 sigR,
        bytes32 sigS,
        uint8 sigV
    ) internal view returns (bool) {
        require(signer != address(0), "NativeMetaTransaction: INVALID_SIGNER");
        return
            signer ==
            ecrecover(
                toTypedMessageHash(hashMetaTransaction(metaTx)),
                sigV,
                sigR,
                sigS
            );
    }
}

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



pragma solidity ^0.8.0;

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

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

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

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

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

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



pragma solidity ^0.8.0;

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

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

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



pragma solidity ^0.8.0;


/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _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);
    }
}

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



pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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



pragma solidity ^0.8.0;

/**
 * @title ERC721 token receiver interface
 * @dev Interface for any contract that wants to support safeTransfers
 * from ERC721 asset contracts.
 */
interface IERC721Receiver {
    /**
     * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
     * by `operator` from `from`, this function is called.
     *
     * It must return its Solidity selector to confirm the token transfer.
     * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.
     *
     * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

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



pragma solidity ^0.8.0;

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

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



pragma solidity ^0.8.0;


/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
 * for the additional interface id that will be supported. For example:
 *
 * ```solidity
 * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
 *     return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
 * }
 * ```
 *
 * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
 */
abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}

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



pragma solidity ^0.8.0;


/**
 * @dev Required interface of an ERC721 compliant contract.
 */
interface IERC721 is IERC165 {
    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
     */
    event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.
     */
    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);

    /**
     * @dev Returns the number of tokens in ``owner``'s account.
     */
    function balanceOf(address owner) external view returns (uint256 balance);

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) external view returns (address owner);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Transfers `tokenId` token from `from` to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Gives permission to `to` to transfer `tokenId` token to another account.
     * The approval is cleared when the token is transferred.
     *
     * Only a single account can be approved at a time, so approving the zero address clears previous approvals.
     *
     * Requirements:
     *
     * - The caller must own the token or be an approved operator.
     * - `tokenId` must exist.
     *
     * Emits an {Approval} event.
     */
    function approve(address to, uint256 tokenId) external;

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

    /**
     * @dev Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool _approved) external;

    /**
     * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
     *
     * See {setApprovalForAll}
     */
    function isApprovedForAll(address owner, address operator) external view returns (bool);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes calldata data
    ) external;
}

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



pragma solidity ^0.8.0;


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

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

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

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



pragma solidity ^0.8.0;


/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Metadata is IERC721 {
    /**
     * @dev Returns the token collection name.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the token collection symbol.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    function tokenURI(uint256 tokenId) external view returns (string memory);
}

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



pragma solidity ^0.8.0;








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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        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 {}
}

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



pragma solidity ^0.8.0;



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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// File: contracts/ERC721Tradable.sol



pragma solidity ^0.8.0;








contract OwnableDelegateProxy {}

contract ProxyRegistry {
    mapping(address => OwnableDelegateProxy) public proxies;
}

/**
 * @title ERC721Tradable
 * ERC721Tradable - ERC721 contract that whitelists a trading address, and has minting functionality.
 */
abstract contract ERC721Tradable is ContextMixin, ERC721Enumerable, NativeMetaTransaction, Ownable {
    using SafeMath for uint256;

    address proxyRegistryAddress;
    uint256 private _currentTokenId = 0;

    constructor(
        string memory _name,
        string memory _symbol,
        address _proxyRegistryAddress
    ) ERC721(_name, _symbol) {
        proxyRegistryAddress = _proxyRegistryAddress;
        _initializeEIP712(_name);
    }

    /**
     * Override isApprovedForAll to whitelist user's OpenSea proxy accounts to enable gas-less listings.
     */
    function isApprovedForAll(address owner, address operator)
        override
        public
        view
        returns (bool)
    {
        // Whitelist OpenSea proxy contract for easy trading.
        ProxyRegistry proxyRegistry = ProxyRegistry(proxyRegistryAddress);
        if (address(proxyRegistry.proxies(owner)) == operator) {
            return true;
        }

        return super.isApprovedForAll(owner, operator);
    }

    /**
     * This is used instead of msg.sender as transactions won't be sent by the original token owner, but by OpenSea.
     */
    function _msgSender()
        internal
        override
        view
        returns (address sender)
    {
        return ContextMixin.msgSender();
    }
}

// File: contracts/BitKoi.sol



pragma solidity ^0.8.0;

/**
 * @title BitKoi
 * BitKoi - a blockchain game at scale
 */

/// @title mix up two fish and find out which traits they should have
abstract contract BitKoiTraitInterface {
    /// @dev simply a boolean to indicate this is the contract we expect to be
    function isBitKoiTraits() virtual public pure returns (bool);

    ///mix up the "genes" of the fish to see which genes our new fish will have
    function smooshFish(uint256 genes1, uint256 genes2, uint256 targetBlock) virtual public returns (uint256);
}

/// @title A facet of BitKoiCore that manages special access privileges.
/// Based on work from Axiom Zen (https://www.axiomzen.co)
contract BitKoiAccessControl {

    // The addresses of the accounts (or contracts) that can execute actions within each roles.
    address public ceoAddress;
    address public cfoAddress;
    address public cooAddress;

    // @dev Keeps track whether the contract is paused.
    bool public paused = false;

    modifier onlyCEO() {
        require(msg.sender == ceoAddress);
        _;
    }

    modifier onlyCFO() {
        require(msg.sender == cfoAddress);
        _;
    }

    modifier onlyCOO() {
        require(msg.sender == cooAddress);
        _;
    }

    modifier onlyCLevel() {
        require(
            msg.sender == cooAddress ||
            msg.sender == ceoAddress ||
            msg.sender == cfoAddress
        );
        _;
    }

    /// @dev Assigns a new address to act as the CEO. Only available to the current CEO.
    /// @param _newCEO The address of the new CEO
    function setCEO(address _newCEO) external onlyCEO {
        require(_newCEO != address(0));

        ceoAddress = _newCEO;
    }

    /// @dev Assigns a new address to act as the CFO. Only available to the current CEO.
    /// @param _newCFO The address of the new CFO
    function setCFO(address payable _newCFO) external onlyCEO {
        require(_newCFO != address(0));

        cfoAddress = _newCFO;
    }

    /// @dev Assigns a new address to act as the COO. Only available to the current CEO.
    /// @param _newCOO The address of the new COO
    function setCOO(address _newCOO) external onlyCEO {
        require(_newCOO != address(0));

        cooAddress = _newCOO;
    }

    /*** Pausable functionality adapted from OpenZeppelin ***/

    /// @dev Modifier to allow actions only when the contract IS NOT paused
    modifier whenNotPaused() {
        require(!paused);
        _;
    }

    /// @dev Modifier to allow actions only when the contract IS paused
    modifier whenPaused {
        require(paused);
        _;
    }

    /// @dev Called by any "C-level" role to pause the contract. Used only when
    ///  a bug or exploit is detected and we need to limit damage.
    function pause() external onlyCLevel whenNotPaused {
        paused = true;
    }

    /// @dev Unpauses the smart contract. Can only be called by the CEO, since
    ///  one reason we may pause the contract is when CFO or COO accounts are
    ///  compromised.
    /// @notice This is public rather than external so it can be called by
    ///  derived contracts.
    function unpause() virtual public onlyCEO whenPaused {
        // can't unpause if contract was upgraded
        paused = false;
    }
}

/// @title Base contract for KoiPond. Holds all common structs, events and base variables.
/// based on code written for CK by Axiom Zen (https://www.axiomzen.co)
abstract contract BitKoiBase is BitKoiAccessControl, ERC721Tradable {
    /*** EVENTS ***/

    /// @dev The Spawn event is fired whenever a new fish comes into existence. This obviously
    ///  includes any time a fish is created through the spawnFish method, but it is also called
    ///  when a new gen0 fish is created.
    event Spawn(address owner, uint256 koiFishId, uint256 parent1Id, uint256 parent2Id, uint256 genes, uint16 generation, uint64 timestamp);

    event BreedingSuccessful(address owner, uint256 newFishId, uint256 parent1Id, uint256 parent2Id, uint64 cooldownEndBlock);

    /*** DATA TYPES ***/

    struct BitKoi {
        // The fish's genetic code - this will never change for any fish.
        uint256 genes;

        // The timestamp from the block when this fish came into existence.
        uint64 spawnTime;

        // The minimum timestamp after which this fish can engage in spawning
        // activities again.
        uint64 cooldownEndBlock;

        // The ID of the parents of this fish, set to 0 for gen0 fish.
        // With uint32 there's a limit of 4 billion fish
        uint32 parent1Id;
        uint32 parent2Id;

        // Set to the index in the cooldown array (see below) that represents
        // the current cooldown duration for this fish. This starts at zero
        // for gen0 fish, and is initialized to floor(generation/2) for others.
        // Incremented by one for each successful breeding action.
        uint16 cooldownIndex;

        // The "generation number" of this fish. Fish minted by the KP contract
        // for sale are called "gen0" and have a generation number of 0. The
        // generation number of all other fish is the larger of the two generation
        // numbers of their parents, plus one.
        uint16 generation;
    }

    /*** CONSTANTS ***/

    /// @dev A lookup table indicating the cooldown duration after any successful
    ///  breeding action, called "cooldown" Designed such that the cooldown roughly
    ///  doubles each time a fish is bred, encouraging owners not to just keep breeding the same fish over
    ///  and over again. Caps out at one week (a fish can breed an unbounded number
    ///  of times, and the maximum cooldown is always seven days).
    uint32[14] public cooldowns = [
        uint32(1 minutes),
        uint32(2 minutes),
        uint32(5 minutes),
        uint32(10 minutes),
        uint32(30 minutes),
        uint32(1 hours),
        uint32(2 hours),
        uint32(4 hours),
        uint32(8 hours),
        uint32(16 hours),
        uint32(1 days),
        uint32(2 days),
        uint32(4 days),
        uint32(7 days)
    ];

    // An approximation of currently how many seconds are in between blocks.
    uint256 public secondsPerBlock = 15;

    /*** STORAGE ***/

    /// @dev An array containing the KoiFish struct for all KoiFish in existence. The ID
    /// of each fish is actually an index into this array. Fish 0 has an invalid genetic
    /// code and can't be used to produce offspring.
    BitKoi[] bitKoi;

    /// @dev A mapping from fish IDs to the address that owns them. All fish have
    ///  some valid owner address, even gen0 fish are created with a non-zero owner.
    mapping (uint256 => address) bitKoiIndexToOwner;

    // @dev A mapping from owner address to count of tokens that address owns.
    //  Used internally inside balanceOf() to resolve ownership count.
    mapping (address => uint256) ownershipTokenCount;

    /// @dev A mapping from KoiFishIDs to an address that has been approved to call
    ///  transferFrom(). Each KoiFish can only have one approved address for transfer
    ///  at any time. A zero value means no approval is outstanding.
    mapping (uint256 => address) bitKoiIndexToApproved;

    // /// @dev Assigns ownership of a specific KoiFish to an address.
    function _transfer(address _from, address _to, uint256 _tokenId) override internal {
        require(ownerOf(_tokenId) == _from, "ERC721: transfer of token that is not own");
        require(_to != address(0), "ERC721: transfer to the zero address");
        // Since the number of fish is capped to 2^32 we can't overflow this
        ownershipTokenCount[_to]++;
        ownershipTokenCount[_from]--;

        _beforeTokenTransfer(_from, _to, _tokenId);

        // actually transfer ownership
        bitKoiIndexToOwner[_tokenId] = _to;

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

        emit Transfer(_from, _to, _tokenId);

    }

    /// @notice Returns the address currently assigned ownership of a given BitKoi.
    /// @dev Required for ERC-721 compliance.
    function ownerOf(uint256 _tokenId)
        override
        public
        view
        returns (address owner)
    {
        owner = bitKoiIndexToOwner[_tokenId];
        require(owner != address(0));
    }

     function balanceOf(address owner) public view override returns (uint256) {
        require(owner != address(0), "ERC721: balance query for the zero address");
        return ownershipTokenCount[owner];
    }

    /// @notice Returns a list of all KoiFish IDs assigned to an address.
    /// @param _owner The owner whose KoiFish we are interested in.
    /// @dev This method MUST NEVER be called by smart contract code. First, it's fairly
    ///  expensive (it walks the entire KoiFish array looking for fish belonging to owner),
    ///  but it also returns a dynamic array, which is only supported for web3 calls, and
    ///  not contract-to-contract calls.
    function tokensOfOwner(address _owner) external view returns(uint256[] memory ownerTokens) {
        uint256 tokenCount = balanceOf(_owner);

        if (tokenCount == 0) {
            // Return an empty array
            return new uint256[](0);
        } else {
            uint256[] memory result = new uint256[](tokenCount);
            uint256 totalBitKoi = totalSupply();
            uint256 resultIndex = 0;

            // We count on the fact that all fish have IDs starting at 1 and increasing
            // sequentially up to the totalKoi count.
            uint256 bitKoiId;

            for (bitKoiId = 1; bitKoiId <= totalBitKoi; bitKoiId++) {
                if (bitKoiIndexToOwner[bitKoiId] == _owner) {
                    result[resultIndex] = bitKoiId;
                    resultIndex++;
                }
            }
            return result;
        }
    }
    
    function _mintNewKoi(address _to, uint256 _tokenId) internal {
        _mint(_to, _tokenId);

        // Since the number of fish is capped to 2^32 we can't overflow this
        ownershipTokenCount[_to]++;

        // transfer ownership
        bitKoiIndexToOwner[_tokenId] = _to;
    }

    // Any C-level can fix how many seconds per blocks are currently observed.
    function setSecondsPerBlock(uint256 secs) external onlyCLevel {
        require(secs < cooldowns[0]);
        secondsPerBlock = secs;
    }
}

abstract contract BitKoiOwnership is BitKoiBase {
    /// @dev Returns true if the claimant owns the token.
    /// @param _claimant - Address claiming to own the token.
    /// @param _tokenId - ID of token whose ownership to verify.
    function _owns(
        address _claimant,
        uint256 _tokenId
    )
        internal
        view
        returns (bool) {

        return (ownerOf(_tokenId) == _claimant);
    }

    /// @dev Checks if a given address currently has transferApproval for a particular KoiFish.
    /// @param _claimant the address we are confirming fish is approved for.
    /// @param _tokenId fish id, only valid when > 0
    function _approvedFor(
        address _claimant,
        uint256 _tokenId
    )
        internal
        view
        returns (bool) {

        return bitKoiIndexToApproved[_tokenId] == _claimant;
    }

    /// @dev Marks an address as being approved for transferFrom(), overwriting any previous
    ///  approval. Setting _approved to address(0) clears all transfer approval.
    ///  NOTE: _approve() does NOT send the Approval event. This is intentional because
    ///  _approve() and transferFrom() are used together for putting KoiFish on sale, and
    ///  there is no value in spamming the log with Approval events in that case.
    function _approve(
        uint256 _tokenId,
        address _approved
    )
        internal {

        bitKoiIndexToApproved[_tokenId] = _approved;
    }

    function transfer(
        address _to,
        uint256 _tokenId
    )
        external
        whenNotPaused
    {
        // Safety check to prevent against an unexpected 0x0 default.
        require(_to != address(0));
        // Disallow transfers to this contract to prevent accidental misuse.
        // The contract should never own any fish (except very briefly
        // after a gen0 fish is created and before it goes on sale).
        require(_to != address(this));
        // Disallow transfers to the sale contracts to prevent accidental
        // misuse. Sale contracts should only take ownership of fish
        // through the allow + transferFrom flow.

        // You can only send your own fish
        require(_owns(msg.sender, _tokenId));

        // Reassign ownership, clear pending approvals, emit Transfer event.
        _transfer(msg.sender, _to, _tokenId);
    }

}

abstract contract BitKoiBreeding is BitKoiOwnership {
    event Hatch(address owner, uint256 fishId, uint256 genes);

    uint256 public breedFee = 0 wei;

    uint256 public hatchFee = 0 wei;

    /// @dev The address of the sibling contract that is used to implement the genetic combination algorithm.
    BitKoiTraitInterface public bitKoiTraits;

    /// @dev Update the address of the genetic contract, can only be called by the CEO.
    /// @param _address An address of a GeneScience contract instance to be used from this point forward.
    function setBitKoiTraitAddress(address _address) external onlyCEO {
        BitKoiTraitInterface candidateContract = BitKoiTraitInterface(_address);

        // NOTE: verify that a contract is what we expect - https://github.com/Lunyr/crowdsale-contracts/blob/cfadd15986c30521d8ba7d5b6f57b4fefcc7ac38/contracts/LunyrToken.sol#L117
        require(candidateContract.isBitKoiTraits());

        // Set the new contract address
        bitKoiTraits = candidateContract;
    }
    
    /// @dev Checks to see if a given fish is ready to hatch after the gestation period has passed.
    function _isReadyToHatch(uint256 _fishId) private view returns (bool) {
        BitKoi storage fishToHatch = bitKoi[_fishId];
        return fishToHatch.cooldownEndBlock <= uint64(block.number);
    }

    /// @dev Checks that a given fish is able to breed. Requires that the
    ///  current cooldown is finished
    function _isReadyToBreed(BitKoi storage _fish) internal view returns (bool) {
        // In addition to checking the cooldownEndBlock, we also need to check to see if
        // the fish has a pending birth; there can be some period of time between the end
        // of the pregnacy timer and the spawn event.
        return _fish.cooldownEndBlock <= uint64(block.number);
    }

    /// @dev Set the cooldownEndTime for the given fish based on its current cooldownIndex.
    ///  Also increments the cooldownIndex (unless it has hit the cap).
    /// @param _koiFish A reference to the KoiFish in storage which needs its timer started.
    function _triggerCooldown(BitKoi storage _koiFish) internal {
        // Compute an estimation of the cooldown time in blocks (based on current cooldownIndex).
        _koiFish.cooldownEndBlock = uint64((cooldowns[_koiFish.cooldownIndex]/secondsPerBlock) + block.number);

        // Increment the breeding count, clamping it at 13, which is the length of the
        // cooldowns array. We could check the array size dynamically, but hard-coding
        // this as a constant saves gas. Yay, Solidity!
        if (_koiFish.cooldownIndex < 13) {
            _koiFish.cooldownIndex += 1;
        }
    }

    // @dev Updates the minimum payment required for calling breedWith(). Can only
    ///  be called by the COO address. (This fee is used to offset the gas cost incurred
    ///  by the autobirth daemon).
    function setBreedFee(uint256 val) external onlyCEO {
        breedFee = val;
    }

    // @dev Updates the minimum payment required for calling hatchFish(). Can only
    ///  be called by the COO address. (This fee is used to offset the gas cost incurred
    ///  by the autobirth daemon).
    function setHatchFee(uint256 val) external onlyCEO {
        hatchFee = val;
    }
    
    /// @notice Checks that a given fish is able to hatch (i.e. it is not
    ///  in the middle of a cooldown).
    /// @param _koiId reference the id of the fish, any user can inquire about it
    function isReadyToHatch(uint256 _koiId)
        public
        view
        returns (bool)
    {
        require(_koiId > 0);
        return _isReadyToHatch(_koiId);
    }

    /// @notice Checks that a given fish is able to breed (i.e. it is not
    ///  in the middle of a cooldown).
    /// @param _koiId reference the id of the fish, any user can inquire about it
    function isReadyToBreed(uint256 _koiId)
        public
        view
        returns (bool)
    {
        require(_koiId > 0);
        BitKoi storage fish = bitKoi[_koiId];
        return _isReadyToBreed(fish);
    }

    /// @dev Internal check to see if a the parents are a valid mating pair. DOES NOT
    ///  check ownership permissions (that is up to the caller).
    /// @param _parent1 A reference to the Fish struct of the potential first parent
    /// @param _parent1Id The first parent's ID.
    /// @param _parent2 A reference to the Fish struct of the potential second parent
    /// @param _parent2Id The second parent's ID.
    function _isValidMatingPair(
        BitKoi storage _parent1,
        uint256 _parent1Id,
        BitKoi storage _parent2,
        uint256 _parent2Id
    )
        private
        view
        returns(bool)
    {
        // A Fish can't breed with itself!
        if (_parent1Id == _parent2Id) {
            return false;
        }

        //the fish have to have genes
        if (_parent1.genes == 0 || _parent2.genes == 0) {
            return false;
        }

        // Fish can't breed with their parents.
        if (_parent1.parent1Id == _parent2Id || _parent1.parent2Id == _parent2Id) {
            return false;
        }
        if (_parent2.parent1Id == _parent1Id || _parent2.parent2Id == _parent1Id) {
            return false;
        }

        // OK the tx if either fish is gen zero (no parent found).
        if (_parent2.parent1Id == 0 || _parent1.parent1Id == 0) {
            return true;
        }

        // Fish can't breed with full or half siblings.
        if (_parent2.parent1Id == _parent1.parent1Id || _parent2.parent1Id == _parent1.parent2Id) {
            return false;
        }
        
        if (_parent2.parent2Id == _parent1.parent1Id || _parent2.parent2Id == _parent1.parent2Id) {
            return false;
        }

        // gtg
        return true;
    }

    /// @notice Checks to see if two BitKoi can breed together, including checks for
    ///     ownership. Doesn't check that both BitKoi are ready for
    ///     breeding (i.e. breedWith could still fail until the cooldowns are finished).
    /// @param _parent1Id The ID of the proposed first parent.
    /// @param _parent2Id The ID of the proposed second parent.
    function canBreedWith(uint256 _parent1Id, uint256 _parent2Id)
        external
        view
        returns(bool)
    {
        require(_parent1Id > 0);
        require(_parent2Id > 0);
        BitKoi storage parent1 = bitKoi[_parent1Id];
        BitKoi storage parent2 = bitKoi[_parent2Id];
        return _isValidMatingPair(parent1, _parent1Id, parent2, _parent2Id);
    }

    /// @dev Internal utility function to initiate breeding, assumes that all breeding
    ///     requirements have been checked.
    function _breedWith(uint256 _parent1Id, uint256 _parent2Id) internal returns(uint256) {
        // Grab a reference to the Koi from storage.
        BitKoi storage parent1 = bitKoi[_parent1Id];
        BitKoi storage parent2 = bitKoi[_parent2Id];

        // Determine the higher generation number of the two parents
        uint16 parentGen = parent1.generation;
        if (parent2.generation > parent1.generation) {
            parentGen = parent2.generation;
        }

        uint256 bitKoiCoProceeds = msg.value;

        //transfer the breed fee less the pond cut to the CFO contract
        payable(address(cfoAddress)).transfer(bitKoiCoProceeds);

        // Make the new fish!
        address owner = bitKoiIndexToOwner[_parent1Id];
        uint256 newFishId = _createBitKoi(_parent1Id, _parent2Id, parentGen + 1, 0, owner);

        // Trigger the cooldown for both parents.
        _triggerCooldown(parent1);
        _triggerCooldown(parent2);

        // Emit the breeding event.
        emit BreedingSuccessful(bitKoiIndexToOwner[_parent1Id], newFishId, _parent1Id, _parent2Id, parent1.cooldownEndBlock);

        return newFishId;
    }

    function breedWith(uint256 _parent1Id, uint256 _parent2Id)
        external
        payable
        whenNotPaused
    {
        // Checks for payment.
        require(msg.value >= breedFee);
        
        ///check to see if the caller owns both fish
        require(_owns(msg.sender, _parent1Id));
        require(_owns(msg.sender, _parent2Id));

        // Grab a reference to the first parent
        BitKoi storage parent1 = bitKoi[_parent1Id];

        // Make sure enough time has passed since the last time this fish was bred
        require(_isReadyToBreed(parent1));

        // Grab a reference to the second parent
        BitKoi storage parent2 = bitKoi[_parent2Id];

        // Make sure enough time has passed since the last time this fish was bred
        require(_isReadyToBreed(parent2));

        // Test that these fish are a valid mating pair.
        require(_isValidMatingPair(
            parent1,
            _parent1Id,
            parent2,
            _parent2Id
        ));

        // All checks passed, make a new fish!!
        _breedWith(_parent1Id, _parent2Id);
    }

    /// @dev An internal method that creates a new fish and stores it. This
    ///  method doesn't do any checking and should only be called when the
    ///  input data is known to be valid. Will generate both a Birth event
    ///  and a Transfer event.
    /// @param _parent1Id The fish ID of the first parent (zero for gen0)
    /// @param _parent2Id The fish ID of the second parent (zero for gen0)
    /// @param _generation The generation number of this fish, must be computed by caller.
    /// @param _genes The fish's genetic code.
    /// @param _owner The inital owner of this fish, must be non-zero (except for fish ID 0)
    function _createBitKoi(
        uint256 _parent1Id,
        uint256 _parent2Id,
        uint256 _generation,
        uint256 _genes,
        address _owner
    )
        internal
        returns (uint)
    {
        // These requires are not strictly necessary, our calling code should make
        // sure that these conditions are never broken. However! _createKoiFish() is already
        // an expensive call (for storage), and it doesn't hurt to be especially careful
        // to ensure our data structures are always valid.
        require(_parent1Id == uint256(uint32(_parent1Id)));
        require(_parent2Id == uint256(uint32(_parent2Id)));
        require(_generation == uint256(uint16(_generation)));

        // New fish starts with the same cooldown as parent gen/2
        uint16 cooldownIndex = uint16(_generation / 2);
        if (cooldownIndex > 13) {
            cooldownIndex = 13;
        }

        BitKoi memory _bitKoi = BitKoi({
            genes: _genes,
            spawnTime: uint64(block.timestamp),
            cooldownEndBlock: 0,
            parent1Id: uint32(_parent1Id),
            parent2Id: uint32(_parent2Id),
            cooldownIndex: cooldownIndex,
            generation: uint16(_generation)
        });

        uint256 newBitKoiId = bitKoi.length;
        bitKoi.push(_bitKoi);

        // It's probably never going to happen, 4 billion fish is A LOT, but
        // let's just be 100% sure we never let this happen.
        require(newBitKoiId == uint256(uint32(newBitKoiId)));

        // This will assign ownership, and also emit the Transfer event as
        // per ERC721 draft
        _mintNewKoi(_owner, newBitKoiId);
        
        BitKoi storage brandNewKoi = bitKoi[newBitKoiId];
        _triggerCooldown(brandNewKoi);

        // emit the spawn event
        emit Spawn(
            _owner,
            newBitKoiId,
            uint256(_bitKoi.parent1Id),
            uint256(_bitKoi.parent2Id),
            _bitKoi.genes,
            uint16(_generation),
            uint64(block.timestamp)
        );

        return newBitKoiId;
    }

    function hatchFish(uint256 _fishId, uint256 _geneSet1, uint256 _geneSet2)
        external
        payable
        whenNotPaused
    {
        // Checks for payment.
        require(msg.value >= hatchFee);
        
        //ensure the caller owns the egg they want to hatch
        require(_owns(msg.sender, _fishId));
        
        _hatchFish(_fishId, _geneSet1, _geneSet2);
    }

    function _hatchFish(uint256 _fishId, uint256 _geneSet1, uint256 _geneSet2) internal {
        BitKoi storage fishToHatch = bitKoi[_fishId];

        BitKoi storage parent1 = bitKoi[fishToHatch.parent1Id];
        BitKoi storage parent2 = bitKoi[fishToHatch.parent2Id];

        uint256 genes1 = 0;
        uint256 genes2 = 0;

        if (fishToHatch.parent1Id > 0){
            genes1 = parent1.genes;
        } else {
            genes1 = _geneSet1;
        }

        if (fishToHatch.parent2Id > 0){
            genes2 = parent2.genes;
        } else {
            genes2 = _geneSet2;
        }

        // Check that the parent is a valid fish
        require(parent1.spawnTime != 0 && parent2.spawnTime != 0);

        // Make sure this fish doesn't already have genes
        require(fishToHatch.genes == 0);

        // next, let's get new genes for the fish we're about to hatch
        uint256 newFishGenes = bitKoiTraits.smooshFish(genes1, genes2, fishToHatch.cooldownEndBlock - 1);

        fishToHatch.genes = uint256(newFishGenes);
        
        //transfer the hatch fee less the pond cut to the CFO contract
        payable(address(cfoAddress)).transfer(msg.value);

        emit Hatch(msg.sender, _fishId, newFishGenes);
    }

}

abstract contract BitKoiSale is BitKoiBreeding {
        struct Sale {
            // Current owner of NFT
            address seller;
            // Price (in wei) at beginning of sale
            uint128 price;
            // timestamp 
            uint256 startedAt;
        }

        // Cut contract owner takes on each sale, measured in basis points (1/100 of a percent).
        // Values 0-10,000 map to 0%-100%
        uint256 public ownerCut = 250;

        /// @param _ownerCut - update the percent cut the contract owner takes on each breed or hatch event, must be
        ///  between 0-10,000.
        function setOwnerCut(uint256 _ownerCut) external onlyCLevel {
            require(_ownerCut <= 10000);
            ownerCut = _ownerCut;
        }

        // Map from token ID to their corresponding sale.
        mapping (uint256 => Sale) tokenIdToSale;

        event SaleCreated(address sellerId, uint256 tokenId, uint256 price, uint256 startedAt);
        event SaleSuccessful(uint256 tokenId, uint256 price, address buyer);
        event SaleCancelled(uint256 tokenId);

        /// @dev adds a sale to the list of open sales. Also fires the SaleCreated event.
        /// @param _tokenId The ID of the token to be put on sale.
        /// @param _sale Sale to add.
        function _addSale(address _sellerId, uint256 _tokenId, Sale memory _sale, uint256 _saleStarted) internal {
            tokenIdToSale[_tokenId] = _sale;

            emit SaleCreated(
                address(_sellerId),
                uint256(_tokenId),
                uint256(_sale.price),
                uint256(_saleStarted)
            );
        }

        /// @dev Cancels a sale unconditionally.
        function _cancelSale(uint256 _tokenId) internal {
            _removeSale(_tokenId);
            emit SaleCancelled(_tokenId);
        }

        /// @dev Computes the price and transfers winnings.
        /// Does NOT transfer ownership of token.
        function _bid(uint256 _tokenId, uint256 _offerAmount)
            internal
            returns (uint256)
        {
            // Get a reference to the sale struct
            Sale storage sale = tokenIdToSale[_tokenId];

            // Explicitly check that this sale is currently live.
            // (Because of how Ethereum mappings work, we can't just count
            // on the lookup above failing. An invalid _tokenId will just
            // return an sale object that is all zeros.)
            require(_isOnSale(sale));
            
            address seller = address(uint160(sale.seller));
            uint160 price  = sale.price;

            // Check that the bid is greater than or equal to the current price
            require(_offerAmount >= price);

            // The bid is good! Remove the auction before sending the fees
            // to the sender so we can't have a reentrancy attack.
            _removeSale(_tokenId);

            // Transfer proceeds to seller (if there are any!)
            if (price > 0) {
                // Calculate the contract's cut.
                // (NOTE: _computeCut() is guaranteed to return a
                // value <= price, so this subtraction can't go negative.)
                uint256 contractCut = _computeCut(price);
                uint256 sellerProceeds = price - contractCut;

                // NOTE: Doing a transfer() in the middle of a complex
                // method like this is generally discouraged because of
                // reentrancy attacks and DoS attacks if the seller is
                // a contract with an invalid fallback function. We explicitly
                // guard against reentrancy attacks by removing the sale
                // before calling transfer(), and the only thing the seller
                // can DoS is the sale of their own asset! (And if it's an
                // accident, they can call cancelSale(). )

                payable(cfoAddress).transfer(contractCut);
                payable(seller).transfer(sellerProceeds);
            }

            // Calculate any excess funds included with the bid. If the excess
            // is anything worth worrying about, transfer it back to bidder.
            // NOTE: We checked above that the bid amount is greater than or
            // equal to the price so this cannot underflow.
            uint256 bidExcess = _offerAmount - price;

            // Return the funds. Similar to the previous transfer, this is
            // not susceptible to a re-entry attack because the sale is
            // removed before any transfers occur.

            payable(msg.sender).transfer(bidExcess);

            // Tell the world!
            emit SaleSuccessful(_tokenId, price, msg.sender);

            return price;
        }

        /// @dev Removes a sale from the list of open sales
        /// @param _tokenId - ID of NFT on sale.
        function _removeSale(uint256 _tokenId) internal {
            delete tokenIdToSale[_tokenId];
        }

        /// @dev Returns true if the NFT is on sale.
        /// @param _sale - Sale to check.
        function _isOnSale(Sale storage _sale) internal view returns (bool) {
            return (_sale.startedAt > 0);
        }

        /// @dev Computes owner's cut of a sale.
        /// @param _price - Sale price of NFT.
        function _computeCut(uint256 _price) internal view returns (uint256) {
            // NOTE: We don't use SafeMath (or similar) in this function because
            //  all of our entry functions carefully cap the maximum values for
            //  currency (at 128-bits), and ownerCut <= 10000. The result of this
            //  function is always guaranteed to be <= _price.
            return _price * ownerCut / 10000;
        }

        /// @dev Creates and begins a new sale.
        /// @param _tokenId - ID of token to sale, sender must be owner.
        /// @param _price - Price of item (in wei)
        /// @param _seller - Seller, if not the message sender
        function createSale(
            uint256 _tokenId,
            uint256 _price,
            address _seller
        )
            external
            whenNotPaused
        {
            // Sanity check that no inputs overflow how many bits we've allocated
            // to store them in the sale struct.
            require(_price == uint256(uint128(_price)));
            require(msg.sender == bitKoiIndexToOwner[_tokenId]);

            Sale memory sale = Sale(
                address(_seller),
                uint128(_price),
                uint64(block.timestamp)
            );
            _addSale(_seller, _tokenId, sale, block.timestamp);
        }

        function bid(uint256 _tokenId)
            external
            payable
            whenNotPaused
        {
            // _bid will throw if the bid or funds transfer fails
            // _bid verifies token ID size
            address seller = tokenIdToSale[_tokenId].seller;
            
            _bid(_tokenId, msg.value);
            _transfer(seller, msg.sender, _tokenId);
        }

        /// @dev Cancels a sale that hasn't been completed.
        ///  Returns the NFT to original owner.
        /// @notice This is a state-modifying function that can
        ///  be called while the contract is paused.
        /// @param _tokenId - ID of token on sale
    function cancelSale(uint256 _tokenId)
        external
    {
        Sale storage sale = tokenIdToSale[_tokenId];
        require(_isOnSale(sale));
        address seller = sale.seller;
        require(msg.sender == seller);
        _cancelSale(_tokenId);
    }

    /// @dev Cancels a sale when the contract is paused.
    ///  Only the owner may do this, and NFTs are returned to
    ///  the seller. This should only be used in emergencies.
    /// @param _tokenId - ID of the NFT on sale to cancel.
    function cancelSaleWhenPaused(uint256 _tokenId)
        whenPaused
        onlyOwner
        external
    {
        Sale storage sale = tokenIdToSale[_tokenId];
        require(_isOnSale(sale));
        _cancelSale(_tokenId);
    }

    /// @dev Returns sale info for an NFT on sale.
    /// @param _tokenId - ID of NFT on sale.
    function getSale(uint256 _tokenId)
        external
        view
        returns
    (
        address seller,
        uint256 price,
        uint256 startedAt
    ) {
        Sale storage sale = tokenIdToSale[_tokenId];
        require(_isOnSale(sale));
        return (
            sale.seller,
            sale.price,
            sale.startedAt
        );
    }

    /// @dev Returns the current price of a sale.
    /// @param _tokenId - ID of the token price we are checking.
    function getCurrentPrice(uint256 _tokenId)
        external
        view
        returns (uint256)
    {
        Sale storage sale = tokenIdToSale[_tokenId];
        require(_isOnSale(sale));
        return sale.price;
    }
}

/// @title all functions related to creating fish (and their eggs)
abstract contract BitKoiMinting is BitKoiSale {

    // Limits the number of fish the contract owner can ever create.
    uint256 public constant PROMO_CREATION_LIMIT = 5000;
    uint256 public constant GEN0_EGG_CREATION_LIMIT = 45000;

    // Counts the number of fish the contract owner has created.
    uint256 public promoCreatedCount;
    uint256 public gen0CreatedCount;
    
    // Direct sale is not live to start
    bool public directSalePaused = true;
    
    //determine the price for minting a new BitKoi gen0 egg
    uint256 public gen0PromoPrice = 0 wei;
    
    //number we're currently allowing to be minted
    uint256 public currentGen0Cap = 100;
    
    uint16 public currentMintCap = 2;
    
    
    mapping (address => uint16) tokensMinted;
    
    // allow direct sales of gen0 eggs
    function pauseDirectSale() external onlyCLevel {
        directSalePaused = true;
    }
    
    // stop direct sales of gen0 eggs
    function unpauseDirectSale() external onlyCLevel {
        directSalePaused = false;
    }
    
    // set current cap for sale - this can be raised later so new sales can be started w/ limits
    function setCurrentGen0Cap(uint256 val) external onlyCEO {
        currentGen0Cap = val;
    }
    
    // @dev Updates the minimum payment required for calling mintGen0Egg(). Can only
    ///  be called by the CEO address.
    function setGen0PromoPrice(uint256 val) external onlyCEO {
        gen0PromoPrice = val;
    }
    
    // @dev Updates the max number of items an address can mint in the given period. Can only
    ///  be called by the CEO address.
    function setMintCap(uint16 val) external onlyCEO {
        currentMintCap = val;
    }
    
    function mintGen0Egg() external payable {
        require (!directSalePaused);
        require (msg.value >= gen0PromoPrice);
        require (gen0CreatedCount < currentGen0Cap);
        require (gen0CreatedCount < GEN0_EGG_CREATION_LIMIT);
        require (tokensMinted[msg.sender] < currentMintCap);
        
        //transfer the sale price less the pond cut to the CFO contract
        payable(address(cfoAddress)).transfer(msg.value);

        gen0CreatedCount++;
        tokensMinted[msg.sender]++;
        
        _createBitKoi(0, 0, 0, 0, msg.sender);
        
    }
    
    /// @dev we can create promo fish, up to a limit. Only callable by COO
    /// @param _genes the encoded genes of the fish to be created, any value is accepted
    /// @param _owner the future owner of the created fish. Default to contract COO
    function createPromoFish(uint256 _genes, address _owner) external onlyCOO {
        address bitKoiOwner = _owner;
        
        if (bitKoiOwner == address(0)) {
             bitKoiOwner = cooAddress;
        }
        
        require(promoCreatedCount < PROMO_CREATION_LIMIT);

        promoCreatedCount++;
 
        _createBitKoi(0, 0, 0, _genes, bitKoiOwner);
    }

}

contract BitKoiCore is BitKoiMinting {
    constructor(address _proxyRegistryAddress) ERC721Tradable("BitKoi", "BITKOI", _proxyRegistryAddress) {
        // Starts paused.
        paused = true;

        // the creator of the contract is the initial CEO
        ceoAddress = msg.sender;

        // the creator of the contract is also the initial COO
        cooAddress = msg.sender;

        // the creator of the contract is also the initial COO
        cfoAddress = msg.sender;

        //start with an initial fish
        _createBitKoi(0, 0, 0, type(uint256).max, address(msg.sender));

    }

    string baseURI = "https://www.bitkoi.co/api/nft/";
    string contractMainURI = "https://www.bitkoi.co";

    function baseTokenURI() public view returns (string memory) {
        return baseURI;
    }

    function setBaseTokenURI(string memory _newBaseURI) public onlyCEO {
        baseURI = _newBaseURI;
    }

    function setContractURI(string memory _newContractURI) public onlyCEO {
        contractMainURI = _newContractURI;
    }

    function tokenURI(uint256 _tokenId) override public view returns (string memory) {
        return string(abi.encodePacked(baseTokenURI(), Strings.toString(_tokenId)));
    }

    function contractURI() public view returns (string memory) {
        return contractMainURI;
    }

    function unpause() override public onlyCEO whenPaused {
        require(address(bitKoiTraits) != address(0));

        // Actually unpause the contract.
        super.unpause();
    }
    
    function withdrawBalance() external onlyCFO {
        payable(cfoAddress).transfer(address(this).balance);
    }

    /// @notice Returns all the relevant information about a specific fish.
    /// @param _id The ID of the fish we're looking up
    function getBitKoi(uint256 _id)
        external
        view
        returns (
        bool isReady,
        uint256 cooldownIndex,
        uint256 nextActionAt,
        uint256 spawnTime,
        uint256 parent1Id,
        uint256 parent2Id,
        uint256 generation,
        uint256 cooldownEndBlock,
        uint256 genes
    ) {
        BitKoi storage fish = bitKoi[_id];
        isReady = (fish.cooldownEndBlock <= block.number);
        cooldownIndex = uint256(fish.cooldownIndex);
        nextActionAt = uint256(fish.cooldownEndBlock);
        spawnTime = uint256(fish.spawnTime);
        parent1Id = uint256(fish.parent1Id);
        parent2Id = uint256(fish.parent2Id);
        generation = uint256(fish.generation);
        cooldownEndBlock = uint256(fish.cooldownEndBlock);
        genes = fish.genes;
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_proxyRegistryAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"owner","type":"address"},{"indexed":false,"internalType":"uint256","name":"newFishId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"parent1Id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"parent2Id","type":"uint256"},{"indexed":false,"internalType":"uint64","name":"cooldownEndBlock","type":"uint64"}],"name":"BreedingSuccessful","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"owner","type":"address"},{"indexed":false,"internalType":"uint256","name":"fishId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"genes","type":"uint256"}],"name":"Hatch","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"userAddress","type":"address"},{"indexed":false,"internalType":"address payable","name":"relayerAddress","type":"address"},{"indexed":false,"internalType":"bytes","name":"functionSignature","type":"bytes"}],"name":"MetaTransactionExecuted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"SaleCancelled","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"sellerId","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"price","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"startedAt","type":"uint256"}],"name":"SaleCreated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"price","type":"uint256"},{"indexed":false,"internalType":"address","name":"buyer","type":"address"}],"name":"SaleSuccessful","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"owner","type":"address"},{"indexed":false,"internalType":"uint256","name":"koiFishId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"parent1Id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"parent2Id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"genes","type":"uint256"},{"indexed":false,"internalType":"uint16","name":"generation","type":"uint16"},{"indexed":false,"internalType":"uint64","name":"timestamp","type":"uint64"}],"name":"Spawn","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":"ERC712_VERSION","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"GEN0_EGG_CREATION_LIMIT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PROMO_CREATION_LIMIT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"bid","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"bitKoiTraits","outputs":[{"internalType":"contract BitKoiTraitInterface","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"breedFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_parent1Id","type":"uint256"},{"internalType":"uint256","name":"_parent2Id","type":"uint256"}],"name":"breedWith","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_parent1Id","type":"uint256"},{"internalType":"uint256","name":"_parent2Id","type":"uint256"}],"name":"canBreedWith","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"cancelSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"cancelSaleWhenPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"ceoAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cfoAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cooAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"cooldowns","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_genes","type":"uint256"},{"internalType":"address","name":"_owner","type":"address"}],"name":"createPromoFish","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_price","type":"uint256"},{"internalType":"address","name":"_seller","type":"address"}],"name":"createSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"currentGen0Cap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"currentMintCap","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"directSalePaused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"userAddress","type":"address"},{"internalType":"bytes","name":"functionSignature","type":"bytes"},{"internalType":"bytes32","name":"sigR","type":"bytes32"},{"internalType":"bytes32","name":"sigS","type":"bytes32"},{"internalType":"uint8","name":"sigV","type":"uint8"}],"name":"executeMetaTransaction","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"gen0CreatedCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"gen0PromoPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"}],"name":"getBitKoi","outputs":[{"internalType":"bool","name":"isReady","type":"bool"},{"internalType":"uint256","name":"cooldownIndex","type":"uint256"},{"internalType":"uint256","name":"nextActionAt","type":"uint256"},{"internalType":"uint256","name":"spawnTime","type":"uint256"},{"internalType":"uint256","name":"parent1Id","type":"uint256"},{"internalType":"uint256","name":"parent2Id","type":"uint256"},{"internalType":"uint256","name":"generation","type":"uint256"},{"internalType":"uint256","name":"cooldownEndBlock","type":"uint256"},{"internalType":"uint256","name":"genes","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getChainId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"getCurrentPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getDomainSeperator","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"getNonce","outputs":[{"internalType":"uint256","name":"nonce","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"getSale","outputs":[{"internalType":"address","name":"seller","type":"address"},{"internalType":"uint256","name":"price","type":"uint256"},{"internalType":"uint256","name":"startedAt","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"hatchFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_fishId","type":"uint256"},{"internalType":"uint256","name":"_geneSet1","type":"uint256"},{"internalType":"uint256","name":"_geneSet2","type":"uint256"}],"name":"hatchFish","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_koiId","type":"uint256"}],"name":"isReadyToBreed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_koiId","type":"uint256"}],"name":"isReadyToHatch","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintGen0Egg","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ownerCut","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"owner","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"pauseDirectSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"promoCreatedCount","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":[],"name":"secondsPerBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"setBitKoiTraitAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"val","type":"uint256"}],"name":"setBreedFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newCEO","type":"address"}],"name":"setCEO","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"_newCFO","type":"address"}],"name":"setCFO","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newCOO","type":"address"}],"name":"setCOO","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newContractURI","type":"string"}],"name":"setContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"val","type":"uint256"}],"name":"setCurrentGen0Cap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"val","type":"uint256"}],"name":"setGen0PromoPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"val","type":"uint256"}],"name":"setHatchFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"val","type":"uint16"}],"name":"setMintCap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_ownerCut","type":"uint256"}],"name":"setOwnerCut","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"secs","type":"uint256"}],"name":"setSecondsPerBlock","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":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"ownerTokens","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"transfer","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":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpauseDirectSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawBalance","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6002805460ff60a01b19169055600d805460ff191690556000601255610240604052603c6080908152607860a05261012c60c05261025860e05261070861010052610e1061012052611c2061014052613840610160526170806101805261e1006101a052620151806101c0526202a3006101e052620546006102005262093a80610220526200009390601390600e62000cce565b50600f6015556000601a819055601b81905560fa601d556021805460ff1916600117905560225560646023556024805461ffff1916600217905560408051808201909152601e8082527f68747470733a2f2f7777772e6269746b6f692e636f2f6170692f6e66742f00006020909201918252620001139160269162000d71565b506040805180820190915260158082527f68747470733a2f2f7777772e6269746b6f692e636f000000000000000000000060209092019182526200015a9160279162000d71565b503480156200016857600080fd5b50604051620057dc380380620057dc8339810160408190526200018b9162000e05565b604051806040016040528060068152602001654269744b6f6960d01b815250604051806040016040528060068152602001654249544b4f4960d01b8152508282828160039080519060200190620001e492919062000d71565b508051620001fa90600490602084019062000d71565b50505062000217620002116200029860201b60201c565b620002b4565b601180546001600160a01b0319166001600160a01b0383161790556200023d8362000306565b505060028054600080546001600160a01b03199081163390811783556001600160a81b03199093168317600160a01b1790935560018054909316821790925562000290925081908190600019906200036b565b505062000f55565b6000620002af6200060060201b620025241760201c565b905090565b601080546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600d5460ff1615620003505760405162461bcd60e51b815260206004820152600e60248201526d185b1c9958591e481a5b9a5d195960921b60448201526064015b60405180910390fd5b6200035b816200065f565b50600d805460ff19166001179055565b60008563ffffffff1686146200038057600080fd5b8463ffffffff1685146200039357600080fd5b8361ffff168414620003a457600080fd5b6000620003b360028662000e7b565b9050600d8161ffff161115620003c75750600d5b6040805160e0810182528581526001600160401b0342811660208301908152600093830184815263ffffffff808d16606086019081528c82166080870190815261ffff808a1660a089019081528e821660c08a01908152601680546001810182559b52895160028c027fd833147d7dc355ba459fc788f669e58cfaf9dc25ddcd0702e87d69c7b512428981019190915597517fd833147d7dc355ba459fc788f669e58cfaf9dc25ddcd0702e87d69c7b512428a9098018054975195519451925191518416600160d01b0261ffff60d01b1992909416600160c01b029190911663ffffffff60c01b19928716600160a01b0263ffffffff60a01b19958816600160801b0295909516600160801b600160c01b0319968b1668010000000000000000026001600160801b031990991699909a169890981796909617939093169690961717169290921792909217909155909190811681146200052657600080fd5b62000532858262000701565b6000601682815481106200054a576200054a62000f3f565b906000526020600020906002020190506200056b816200076660201b60201c565b6060808401516080808601518651604080516001600160a01b038d1681526020810189905263ffffffff95861691810191909152919093169381019390935282015261ffff891660a08201526001600160401b03421660c08201527f9bf9fe90189516a96fd2554df7e10f0e2e5d2f38f76040e4e8b55d5dbf8868469060e00160405180910390a15098975050505050505050565b6000333014156200065957600080368080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152505050503601516001600160a01b031691506200065c9050565b50335b90565b6040518060800160405280604f81526020016200578d604f9139805160209182012082519282019290922060408051808201825260018152603160f81b90840152805180840194909452838101919091527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608401523060808401524660a0808501919091528151808503909101815260c090930190528151910120600e55565b6200070d828262000856565b6001600160a01b0382166000908152601860205260408120805491620007338362000ef5565b9091555050600090815260176020526040902080546001600160a01b0319166001600160a01b0392909216919091179055565b6015546001820154439190601390600160c01b900461ffff16600e811062000792576200079262000f3f565b600891828204019190066004029054906101000a900463ffffffff1663ffffffff16620007c0919062000e7b565b620007cc919062000e60565b600182018054600160401b600160801b031916680100000000000000006001600160401b0393909316929092029190911790819055600d600160c01b90910461ffff16101562000853576001818101805460189062000838908490600160c01b900461ffff1662000e37565b92506101000a81548161ffff021916908361ffff1602179055505b50565b6001600160a01b038216620008ae5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640162000347565b6000818152600560205260409020546001600160a01b031615620009155760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640162000347565b6200092360008383620009ac565b6001600160a01b03821660009081526006602052604081208054600192906200094e90849062000e60565b909155505060008181526005602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b620009c483838362000a6260201b620010781760201c565b6001600160a01b03831662000a225762000a1c81600b80546000838152600c60205260408120829055600182018355919091527f0175b7a638427703f0dbe7bb9bbf987a2551717b34e79f33b5b1008d1fa01db90155565b62000a48565b816001600160a01b0316836001600160a01b03161462000a485762000a48838262000a8d565b6001600160a01b03821662000a675762000a628162000b3a565b505050565b826001600160a01b0316826001600160a01b03161462000a625762000a62828262000bf4565b6000600162000aa78462000c4560201b620025811760201c565b62000ab3919062000e9e565b6000838152600a602052604090205490915080821462000b07576001600160a01b03841660009081526009602090815260408083208584528252808320548484528184208190558352600a90915290208190555b506000918252600a602090815260408084208490556001600160a01b039094168352600981528383209183525290812055565b600b5460009062000b4e9060019062000e9e565b6000838152600c6020526040812054600b805493945090928490811062000b795762000b7962000f3f565b9060005260206000200154905080600b838154811062000b9d5762000b9d62000f3f565b6000918252602080832090910192909255828152600c9091526040808220849055858252812055600b80548062000bd85762000bd862000f29565b6001900381819060005260206000200160009055905550505050565b600062000c0c8362000c4560201b620025811760201c565b6001600160a01b0390931660009081526009602090815260408083208684528252808320859055938252600a9052919091209190915550565b60006001600160a01b03821662000cb25760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b606482015260840162000347565b506001600160a01b031660009081526006602052604090205490565b60028301918390821562000d5f5791602002820160005b8382111562000d2b57835183826101000a81548163ffffffff021916908363ffffffff160217905550926020019260040160208160030104928301926001030262000ce5565b801562000d5d5782816101000a81549063ffffffff021916905560040160208160030104928301926001030262000d2b565b505b5062000d6d92915062000dee565b5090565b82805462000d7f9062000eb8565b90600052602060002090601f01602090048101928262000da3576000855562000d5f565b82601f1062000dbe57805160ff191683800117855562000d5f565b8280016001018555821562000d5f579182015b8281111562000d5f57825182559160200191906001019062000dd1565b5b8082111562000d6d576000815560010162000def565b60006020828403121562000e1857600080fd5b81516001600160a01b038116811462000e3057600080fd5b9392505050565b600061ffff80831681851680830382111562000e575762000e5762000f13565b01949350505050565b6000821982111562000e765762000e7662000f13565b500190565b60008262000e9957634e487b7160e01b600052601260045260246000fd5b500490565b60008282101562000eb35762000eb362000f13565b500390565b600181811c9082168062000ecd57607f821691505b6020821081141562000eef57634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141562000f0c5762000f0c62000f13565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b6148288062000f656000396000f3fe60806040526004361061045d5760003560e01c80637004fb841161023f578063b88d4fde11610139578063dd022892116100b6578063f1ca94101161007a578063f1ca941014610d56578063f2fde38b14610d6c578063fab620d014610d8c578063fc537fd614610dac578063fd03082714610dc257600080fd5b8063dd02289214610c85578063defb958414610ca5578063e8a3d48514610cbb578063e985e9c514610cd0578063f1c1395c14610cf057600080fd5b8063d547cfb7116100fd578063d547cfb714610bd2578063d71b3cee14610be7578063d755645814610bfd578063d8f6d59614610c2b578063d922341114610c7057600080fd5b8063b88d4fde14610b32578063bd94b00514610b52578063c55d0f5614610b72578063c87b56dd14610b92578063d3e6f49f14610bb257600080fd5b80638da5cb5b116101c75780639d6fac6f1161018b5780639d6fac6f14610a955780639e323a3514610aca578063a22cb46514610ad2578063a9059cbb14610af2578063b047fb5014610b1257600080fd5b80638da5cb5b14610a02578063934fedf114610a20578063938e3d7b14610a4057806395d89b4114610a60578063995cd65314610a7557600080fd5b80637a7d49371161020e5780637a7d4937146109745780637c2096881461098a57806383b5ff8b146109aa5780638456cb59146109c05780638462151c146109d557600080fd5b80637004fb841461090c57806370a082311461091f578063715018a61461093f578063757de5731461095457600080fd5b806327d7874c1161035b57806346d22c70116102d85780635c975abb1161029c5780635c975abb1461088d5780635dbd1f58146108ae5780635fd8c710146108c45780636352211e146108d957806367d1d348146108f957600080fd5b806346d22c70146107ed5780634e0a33791461080d5780634f6ccce71461082d5780634f8c79f81461084d5780635663896e1461086d57600080fd5b806330176e131161031f57806330176e13146107725780633408e470146107925780633f4ba83a146107a557806342842e0e146107ba578063454a2ab3146107da57600080fd5b806327d7874c146106c75780632ba73c15146106e75780632d0335ab146107075780632d3f81441461073d5780632f745c591461075257600080fd5b80630c53c51c116103e95780631d94885c116103ad5780631d94885c1461063857806320379ee514610658578063207269ea1461066d57806323b872dd1461068757806323edfb89146106a757600080fd5b80630c53c51c146105ad5780630f7e5970146105c057806318160ddd146105ed5780631817d87e146106025780631bb8a4c61461061857600080fd5b806305e455461161043057806305e455461461051557806306fdde031461052b578063081812fc1461054d578063095ea7b31461056d5780630a0f81681461058d57600080fd5b806301ffc9a7146104625780630480329c1461049757806304c4ef20146104b95780630519ce79146104dd575b600080fd5b34801561046e57600080fd5b5061048261047d366004614167565b610de2565b60405190151581526020015b60405180910390f35b3480156104a357600080fd5b506104b76104b236600461422a565b610e0d565b005b3480156104c557600080fd5b506104cf61afc881565b60405190815260200161048e565b3480156104e957600080fd5b506001546104fd906001600160a01b031681565b6040516001600160a01b03909116815260200161048e565b34801561052157600080fd5b506104cf601f5481565b34801561053757600080fd5b50610540610e29565b60405161048e9190614463565b34801561055957600080fd5b506104fd61056836600461422a565b610ebb565b34801561057957600080fd5b506104b761058836600461411e565b610f55565b34801561059957600080fd5b506000546104fd906001600160a01b031681565b6105406105bb3660046140a1565b61107d565b3480156105cc57600080fd5b50610540604051806040016040528060018152602001603160f81b81525081565b3480156105f957600080fd5b50600b546104cf565b34801561060e57600080fd5b506104cf601a5481565b34801561062457600080fd5b506104b7610633366004614206565b611267565b34801561064457600080fd5b506104b761065336600461422a565b611296565b34801561066457600080fd5b50600e546104cf565b34801561067957600080fd5b506021546104829060ff1681565b34801561069357600080fd5b506104b76106a2366004613fc7565b6112b2565b3480156106b357600080fd5b506104b76106c236600461422a565b6112ea565b3480156106d357600080fd5b506104b76106e2366004613f71565b611372565b3480156106f357600080fd5b506104b7610702366004613f71565b6113be565b34801561071357600080fd5b506104cf610722366004613f71565b6001600160a01b03166000908152600f602052604090205490565b34801561074957600080fd5b506104b761140a565b34801561075e57600080fd5b506104cf61076d36600461411e565b611457565b34801561077e57600080fd5b506104b761078d3660046141be565b6114ed565b34801561079e57600080fd5b50466104cf565b3480156107b157600080fd5b506104b7611517565b3480156107c657600080fd5b506104b76107d5366004613fc7565b611563565b6104b76107e836600461422a565b61157e565b3480156107f957600080fd5b50610482610808366004614281565b6115c3565b34801561081957600080fd5b506104b7610828366004613f71565b61163d565b34801561083957600080fd5b506104cf61084836600461422a565b611689565b34801561085957600080fd5b506104b761086836600461422a565b61171c565b34801561087957600080fd5b506104b761088836600461422a565b611738565b34801561089957600080fd5b5060025461048290600160a01b900460ff1681565b3480156108ba57600080fd5b506104cf60235481565b3480156108d057600080fd5b506104b7611792565b3480156108e557600080fd5b506104fd6108f436600461422a565b6117e5565b6104b76109073660046142dc565b61180c565b6104b761091a366004614281565b611850565b34801561092b57600080fd5b506104cf61093a366004613f71565b611960565b34801561094b57600080fd5b506104b76119a4565b34801561096057600080fd5b506104b761096f36600461422a565b6119f7565b34801561098057600080fd5b506104cf60155481565b34801561099657600080fd5b506104826109a536600461422a565b611a4c565b3480156109b657600080fd5b506104cf601d5481565b3480156109cc57600080fd5b506104b7611a63565b3480156109e157600080fd5b506109f56109f0366004613f71565b611ad0565b60405161048e919061441f565b348015610a0e57600080fd5b506010546001600160a01b03166104fd565b348015610a2c57600080fd5b506104b7610a3b36600461422a565b611bca565b348015610a4c57600080fd5b506104b7610a5b3660046141be565b611be6565b348015610a6c57600080fd5b50610540611c10565b348015610a8157600080fd5b506104b7610a903660046142a3565b611c1f565b348015610aa157600080fd5b50610ab5610ab036600461422a565b611cba565b60405163ffffffff909116815260200161048e565b6104b7611cea565b348015610ade57600080fd5b506104b7610aed366004614073565b611de6565b348015610afe57600080fd5b506104b7610b0d36600461411e565b611ee8565b348015610b1e57600080fd5b506002546104fd906001600160a01b031681565b348015610b3e57600080fd5b506104b7610b4d366004614008565b611f46565b348015610b5e57600080fd5b506104b7610b6d36600461422a565b611f7f565b348015610b7e57600080fd5b506104cf610b8d36600461422a565b611fbb565b348015610b9e57600080fd5b50610540610bad36600461422a565b611fea565b348015610bbe57600080fd5b50610482610bcd36600461422a565b612024565b348015610bde57600080fd5b5061054061207f565b348015610bf357600080fd5b506104cf60225481565b348015610c0957600080fd5b50602454610c189061ffff1681565b60405161ffff909116815260200161048e565b348015610c3757600080fd5b50610c4b610c4636600461422a565b61208e565b604080516001600160a01b03909416845260208401929092529082015260600161048e565b348015610c7c57600080fd5b506104b76120db565b348015610c9157600080fd5b506104b7610ca0366004613f71565b61212b565b348015610cb157600080fd5b506104cf61138881565b348015610cc757600080fd5b506105406121e4565b348015610cdc57600080fd5b50610482610ceb366004613f8e565b6121f3565b348015610cfc57600080fd5b50610d10610d0b36600461422a565b6122c3565b604080519915158a5260208a0198909852968801959095526060870193909352608086019190915260a085015260c084015260e08301526101008201526101200161048e565b348015610d6257600080fd5b506104cf60205481565b348015610d7857600080fd5b506104b7610d87366004613f71565b612405565b348015610d9857600080fd5b506104b7610da736600461425c565b6124bc565b348015610db857600080fd5b506104cf601b5481565b348015610dce57600080fd5b50601c546104fd906001600160a01b031681565b60006001600160e01b0319821663780e9d6360e01b1480610e075750610e07826125c5565b92915050565b6000546001600160a01b03163314610e2457600080fd5b602355565b606060038054610e3890614682565b80601f0160208091040260200160405190810160405280929190818152602001828054610e6490614682565b8015610eb15780601f10610e8657610100808354040283529160200191610eb1565b820191906000526020600020905b815481529060010190602001808311610e9457829003601f168201915b5050505050905090565b6000818152600560205260408120546001600160a01b0316610f395760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600760205260409020546001600160a01b031690565b6000610f6082612615565b9050806001600160a01b0316836001600160a01b03161415610fce5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610f30565b806001600160a01b0316610fe061268c565b6001600160a01b03161480610ffc5750610ffc81610ceb61268c565b61106e5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610f30565b611078838361269b565b505050565b60408051606081810183526001600160a01b0388166000818152600f6020908152908590205484528301529181018690526110bb8782878787612709565b6111115760405162461bcd60e51b815260206004820152602160248201527f5369676e657220616e64207369676e617475726520646f206e6f74206d6174636044820152600d60fb1b6064820152608401610f30565b6001600160a01b0387166000908152600f60205260409020546111359060016127f9565b6001600160a01b0388166000908152600f60205260409081902091909155517f5845892132946850460bff5a0083f71031bc5bf9aadcd40f1de79423eac9b10b9061118590899033908a906143b6565b60405180910390a1600080306001600160a01b0316888a6040516020016111ad929190614350565b60408051601f19818403018152908290526111c791614334565b6000604051808303816000865af19150503d8060008114611204576040519150601f19603f3d011682016040523d82523d6000602084013e611209565b606091505b50915091508161125b5760405162461bcd60e51b815260206004820152601c60248201527f46756e6374696f6e2063616c6c206e6f74207375636365737366756c000000006044820152606401610f30565b98975050505050505050565b6000546001600160a01b0316331461127e57600080fd5b6024805461ffff191661ffff92909216919091179055565b6000546001600160a01b031633146112ad57600080fd5b602255565b6112c36112bd61268c565b82612805565b6112df5760405162461bcd60e51b8152600401610f3090614547565b6110788383836128d4565b600254600160a01b900460ff1661130057600080fd5b61130861268c565b6001600160a01b03166113236010546001600160a01b031690565b6001600160a01b0316146113495760405162461bcd60e51b8152600401610f3090614512565b6000818152601e60205260409020600281015461136557600080fd5b61136e82612a85565b5050565b6000546001600160a01b0316331461138957600080fd5b6001600160a01b03811661139c57600080fd5b600080546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b031633146113d557600080fd5b6001600160a01b0381166113e857600080fd5b600280546001600160a01b0319166001600160a01b0392909216919091179055565b6002546001600160a01b031633148061142d57506000546001600160a01b031633145b8061144257506001546001600160a01b031633145b61144b57600080fd5b6021805460ff19169055565b600061146283612581565b82106114c45760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610f30565b506001600160a01b03919091166000908152600960209081526040808320938352929052205490565b6000546001600160a01b0316331461150457600080fd5b805161136e906026906020840190613e43565b6000546001600160a01b0316331461152e57600080fd5b600254600160a01b900460ff1661154457600080fd5b601c546001600160a01b031661155957600080fd5b611561612ac4565b565b61107883838360405180602001604052806000815250611f46565b600254600160a01b900460ff161561159557600080fd5b6000818152601e60205260409020546001600160a01b03166115b78234612b00565b5061136e8133846128d4565b60008083116115d157600080fd5b600082116115de57600080fd5b6000601684815481106115f3576115f361474a565b906000526020600020906002020190506000601684815481106116185761161861474a565b9060005260206000209060020201905061163482868387612c9e565b95945050505050565b6000546001600160a01b0316331461165457600080fd5b6001600160a01b03811661166757600080fd5b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6000611694600b5490565b82106116f75760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610f30565b600b828154811061170a5761170a61474a565b90600052602060002001549050919050565b6000546001600160a01b0316331461173357600080fd5b601b55565b6002546001600160a01b031633148061175b57506000546001600160a01b031633145b8061177057506001546001600160a01b031633145b61177957600080fd5b60135463ffffffff16811061178d57600080fd5b601555565b6001546001600160a01b031633146117a957600080fd5b6001546040516001600160a01b03909116904780156108fc02916000818181858888f193505050501580156117e2573d6000803e3d6000fd5b50565b6000818152601760205260409020546001600160a01b03168061180757600080fd5b919050565b600254600160a01b900460ff161561182357600080fd5b601b5434101561183257600080fd5b61183c3384612e37565b61184557600080fd5b611078838383612e5d565b600254600160a01b900460ff161561186757600080fd5b601a5434101561187657600080fd5b6118803383612e37565b61188957600080fd5b6118933382612e37565b61189c57600080fd5b6000601683815481106118b1576118b161474a565b906000526020600020906002020190506118e281600101546001600160401b03438116600160401b90920416111590565b6118eb57600080fd5b6000601683815481106119005761190061474a565b9060005260206000209060020201905061193181600101546001600160401b03438116600160401b90920416111590565b61193a57600080fd5b61194682858386612c9e565b61194f57600080fd5b61195984846130d2565b5050505050565b60006001600160a01b0382166119885760405162461bcd60e51b8152600401610f30906144c8565b506001600160a01b031660009081526018602052604090205490565b6119ac61268c565b6001600160a01b03166119c76010546001600160a01b031690565b6001600160a01b0316146119ed5760405162461bcd60e51b8152600401610f3090614512565b6115616000613264565b6002546001600160a01b0316331480611a1a57506000546001600160a01b031633145b80611a2f57506001546001600160a01b031633145b611a3857600080fd5b612710811115611a4757600080fd5b601d55565b6000808211611a5a57600080fd5b610e07826132b6565b6002546001600160a01b0316331480611a8657506000546001600160a01b031633145b80611a9b57506001546001600160a01b031633145b611aa457600080fd5b600254600160a01b900460ff1615611abb57600080fd5b6002805460ff60a01b1916600160a01b179055565b60606000611add83611960565b905080611afa575050604080516000815260208101909152919050565b6000816001600160401b03811115611b1457611b14614760565b604051908082528060200260200182016040528015611b3d578160200160208202803683370190505b5090506000611b4b600b5490565b9050600060015b828111611bb9576000818152601760205260409020546001600160a01b0388811691161415611ba75780848381518110611b8e57611b8e61474a565b602090810291909101015281611ba3816146d9565b9250505b80611bb1816146d9565b915050611b52565b509195945050505050565b50919050565b6000546001600160a01b03163314611be157600080fd5b601a55565b6000546001600160a01b03163314611bfd57600080fd5b805161136e906027906020840190613e43565b606060048054610e3890614682565b600254600160a01b900460ff1615611c3657600080fd5b816001600160801b03168214611c4b57600080fd5b6000838152601760205260409020546001600160a01b03163314611c6e57600080fd5b60006040518060600160405280836001600160a01b03168152602001846001600160801b03168152602001426001600160401b03168152509050611cb4828583426132fd565b50505050565b601381600e8110611cca57600080fd5b60089182820401919006600402915054906101000a900463ffffffff1681565b60215460ff1615611cfa57600080fd5b602254341015611d0957600080fd5b60235460205410611d1957600080fd5b61afc860205410611d2957600080fd5b6024543360009081526025602052604090205461ffff918216911610611d4e57600080fd5b6001546040516001600160a01b03909116903480156108fc02916000818181858888f19350505050158015611d87573d6000803e3d6000fd5b5060208054906000611d98836146d9565b9091555050336000908152602560205260408120805461ffff1691611dbc836146b7565b91906101000a81548161ffff021916908361ffff160217905550506117e2600080600080336133aa565b611dee61268c565b6001600160a01b0316826001600160a01b03161415611e4f5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610f30565b8060086000611e5c61268c565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff191692151592909217909155611ea061268c565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611edc911515815260200190565b60405180910390a35050565b600254600160a01b900460ff1615611eff57600080fd5b6001600160a01b038216611f1257600080fd5b6001600160a01b038216301415611f2857600080fd5b611f323382612e37565b611f3b57600080fd5b61136e3383836128d4565b611f57611f5161268c565b83612805565b611f735760405162461bcd60e51b8152600401610f3090614547565b611cb484848484613627565b6000818152601e602052604090206002810154611f9b57600080fd5b80546001600160a01b0316338114611fb257600080fd5b61107883612a85565b6000818152601e602052604081206002810154611fd757600080fd5b600101546001600160801b031692915050565b6060611ff461207f565b611ffd8361365a565b60405160200161200e929190614387565b6040516020818303038152906040529050919050565b600080821161203257600080fd5b6000601683815481106120475761204761474a565b9060005260206000209060020201905061207881600101546001600160401b03438116600160401b90920416111590565b9392505050565b606060268054610e3890614682565b6000818152601e602052604081206002810154829182916120ae57600080fd5b805460018201546002909201546001600160a01b03909116966001600160801b0390921695509350915050565b6002546001600160a01b03163314806120fe57506000546001600160a01b031633145b8061211357506001546001600160a01b031633145b61211c57600080fd5b6021805460ff19166001179055565b6000546001600160a01b0316331461214257600080fd5b6000819050806001600160a01b031663f4bd77d76040518163ffffffff1660e01b815260040160206040518083038186803b15801561218057600080fd5b505afa158015612194573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121b8919061414a565b6121c157600080fd5b601c80546001600160a01b0319166001600160a01b039290921691909117905550565b606060278054610e3890614682565b60115460405163c455279160e01b81526001600160a01b03848116600483015260009281169190841690829063c45527919060240160206040518083038186803b15801561224057600080fd5b505afa158015612254573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061227891906141a1565b6001600160a01b03161415612291576001915050610e07565b6001600160a01b0380851660009081526008602090815260408083209387168352929052205460ff165b949350505050565b60008060008060008060008060008060168b815481106122e5576122e561474a565b90600052602060002090600202019050438160010160089054906101000a90046001600160401b03166001600160401b0316111599508060010160189054906101000a900461ffff1661ffff1698508060010160089054906101000a90046001600160401b03166001600160401b031697508060010160009054906101000a90046001600160401b03166001600160401b031696508060010160109054906101000a900463ffffffff1663ffffffff1695508060010160149054906101000a900463ffffffff1663ffffffff16945080600101601a9054906101000a900461ffff1661ffff1693508060010160089054906101000a90046001600160401b03166001600160401b0316925080600001549150509193959799909294969850565b61240d61268c565b6001600160a01b03166124286010546001600160a01b031690565b6001600160a01b03161461244e5760405162461bcd60e51b8152600401610f3090614512565b6001600160a01b0381166124b35760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610f30565b6117e281613264565b6002546001600160a01b031633146124d357600080fd5b806001600160a01b0381166124f057506002546001600160a01b03165b611388601f541061250057600080fd5b601f8054906000612510836146d9565b9190505550611cb4600080600086856133aa565b60003330141561257b57600080368080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152505050503601516001600160a01b0316915061257e9050565b50335b90565b60006001600160a01b0382166125a95760405162461bcd60e51b8152600401610f30906144c8565b506001600160a01b031660009081526006602052604090205490565b60006001600160e01b031982166380ac58cd60e01b14806125f657506001600160e01b03198216635b5e139f60e01b145b80610e0757506301ffc9a760e01b6001600160e01b0319831614610e07565b6000818152600560205260408120546001600160a01b031680610e075760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610f30565b6000612696612524565b905090565b600081815260076020526040902080546001600160a01b0319166001600160a01b03841690811790915581906126d082612615565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006001600160a01b03861661276f5760405162461bcd60e51b815260206004820152602560248201527f4e61746976654d6574615472616e73616374696f6e3a20494e56414c49445f5360448201526424a3a722a960d91b6064820152608401610f30565b600161278261277d87613757565b6137d4565b6040805160008152602081018083529290925260ff851690820152606081018690526080810185905260a0016020604051602081039080840390855afa1580156127d0573d6000803e3d6000fd5b505050602060405103516001600160a01b0316866001600160a01b031614905095945050505050565b600061207882846145b5565b6000818152600560205260408120546001600160a01b031661287e5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610f30565b600061288983612615565b9050806001600160a01b0316846001600160a01b031614806128c45750836001600160a01b03166128b984610ebb565b6001600160a01b0316145b806122bb57506122bb81856121f3565b826001600160a01b03166128e7826117e5565b6001600160a01b03161461294f5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610f30565b6001600160a01b0382166129b15760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610f30565b6001600160a01b03821660009081526018602052604081208054916129d5836146d9565b90915550506001600160a01b03831660009081526018602052604081208054916129fe8361466b565b9190505550612a0e838383613804565b600081815260176020526040812080546001600160a01b0319166001600160a01b038516179055612a3f908261269b565b80826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b612a8e816138bc565b6040518181527f2c56893f6f6026d19bd17b7d05c9f15c522de1ae2b1c3a825f91a73c799321f29060200160405180910390a150565b6000546001600160a01b03163314612adb57600080fd5b600254600160a01b900460ff16612af157600080fd5b6002805460ff60a01b19169055565b6000828152601e602052604081206002810154612b1c57600080fd5b805460018201546001600160a01b03909116906001600160801b031680851015612b4557600080fd5b612b4e866138bc565b6001600160a01b03811615612bfe576000612b71826001600160a01b03166138f0565b90506000612b88826001600160a01b038516614600565b6001546040519192506001600160a01b03169083156108fc029084906000818181858888f19350505050158015612bc3573d6000803e3d6000fd5b506040516001600160a01b0385169082156108fc029083906000818181858888f19350505050158015612bfa573d6000803e3d6000fd5b5050505b6000612c136001600160a01b03831687614600565b604051909150339082156108fc029083906000818181858888f19350505050158015612c43573d6000803e3d6000fd5b50604080518881526001600160a01b0384166020820152338183015290517f9f2881bde82d4b6e9c19bec262dbbdba7266ff214c4c822aa94035f21b263f339181900360600190a1506001600160a01b031695945050505050565b600081841415612cb0575060006122bb565b84541580612cbd57508254155b15612cca575060006122bb565b6001850154600160801b900463ffffffff16821480612cf957506001850154600160a01b900463ffffffff1682145b15612d06575060006122bb565b6001830154600160801b900463ffffffff16841480612d3557506001830154600160a01b900463ffffffff1684145b15612d42575060006122bb565b6001830154600160801b900463ffffffff161580612d6f57506001850154600160801b900463ffffffff16155b15612d7c575060016122bb565b60018581015490840154600160801b9182900463ffffffff90811692909104161480612dc7575060018086015490840154600160801b900463ffffffff908116600160a01b90920416145b15612dd4575060006122bb565b60018086015490840154600160a01b900463ffffffff908116600160801b909204161480612e1f575060018581015490840154600160a01b9182900463ffffffff9081169290910416145b15612e2c575060006122bb565b506001949350505050565b6000826001600160a01b0316612e4c836117e5565b6001600160a01b0316149392505050565b600060168481548110612e7257612e7261474a565b90600052602060002090600202019050600060168260010160109054906101000a900463ffffffff1663ffffffff1681548110612eb157612eb161474a565b90600052602060002090600202019050600060168360010160149054906101000a900463ffffffff1663ffffffff1681548110612ef057612ef061474a565b60009182526020822060018601546002909202019250819063ffffffff600160801b9091041615612f245783549150612f28565b8691505b6001850154600160a01b900463ffffffff1615612f4757508154612f4a565b50845b60018401546001600160401b031615801590612f72575060018301546001600160401b031615155b612f7b57600080fd5b845415612f8757600080fd5b601c546001868101546000926001600160a01b03169163851c9e2b9186918691612fc19190600160401b90046001600160401b0316614617565b6040516001600160e01b031960e086901b168152600481019390935260248301919091526001600160401b03166044820152606401602060405180830381600087803b15801561301057600080fd5b505af1158015613024573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906130489190614243565b8087556001546040519192506001600160a01b0316903480156108fc02916000818181858888f19350505050158015613085573d6000803e3d6000fd5b5060408051338152602081018b90529081018290527fb38ba9b1c21d14e92c6b24ace95218359ca7727f16a3e622617817dd9f38305c9060600160405180910390a1505050505050505050565b600080601684815481106130e8576130e861474a565b9060005260206000209060020201905060006016848154811061310d5761310d61474a565b6000918252602090912060018085015460029093029091019081015490925061ffff600160d01b928390048116929091041681101561315857506001810154600160d01b900461ffff165b60015460405134916001600160a01b03169082156108fc029083906000818181858888f19350505050158015613192573d6000803e3d6000fd5b506000878152601760205260408120546001600160a01b0316906131c889896131bc876001614598565b61ffff166000866133aa565b90506131d38661390d565b6131dc8561390d565b60008981526017602090815260409182902054600189015483516001600160a01b0390921682529181018490529182018b9052606082018a9052600160401b90046001600160401b031660808201527f2257b42f89acde8ceea38e863df4cb1ed40dc32b9469264383a7577eeda61ac09060a00160405180910390a198975050505050505050565b601080546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600080601683815481106132cc576132cc61474a565b60009182526020909120600160029092020101546001600160401b03438116600160401b9092041611159392505050565b6000838152601e6020908152604091829020845181546001600160a01b0319166001600160a01b03918216178255858301516001830180546001600160801b0319166001600160801b039092169182179055868501516002909301929092558351908816815291820186905291810191909152606081018290527f2cd2dfcdeb2b58c4b80527e9df5e12da537fa4f6c958a4fb623a83ab74eeab639060800160405180910390a150505050565b60008563ffffffff1686146133be57600080fd5b8463ffffffff1685146133d057600080fd5b8361ffff1684146133e057600080fd5b60006133ed6002866145cd565b9050600d8161ffff1611156134005750600d5b6040805160e0810182528581526001600160401b0342811660208301908152600093830184815263ffffffff808d16606086019081528c82166080870190815261ffff808a1660a089019081528e821660c08a01908152601680546001810182559b52895160028c027fd833147d7dc355ba459fc788f669e58cfaf9dc25ddcd0702e87d69c7b512428981019190915597517fd833147d7dc355ba459fc788f669e58cfaf9dc25ddcd0702e87d69c7b512428a9098018054975195519451925191518416600160d01b0261ffff60d01b1992909416600160c01b029190911663ffffffff60c01b19928716600160a01b0263ffffffff60a01b19958816600160801b029590951667ffffffffffffffff60801b19968b16600160401b026001600160801b031990991699909a1698909817969096179390931696909617171692909217929092179091559091908116811461355a57600080fd5b61356485826139f3565b6000601682815481106135795761357961474a565b906000526020600020906002020190506135928161390d565b6060808401516080808601518651604080516001600160a01b038d1681526020810189905263ffffffff95861691810191909152919093169381019390935282015261ffff891660a08201526001600160401b03421660c08201527f9bf9fe90189516a96fd2554df7e10f0e2e5d2f38f76040e4e8b55d5dbf8868469060e00160405180910390a15098975050505050505050565b6136328484846128d4565b61363e84848484613a54565b611cb45760405162461bcd60e51b8152600401610f3090614476565b60608161367e5750506040805180820190915260018152600360fc1b602082015290565b8160005b81156136a85780613692816146d9565b91506136a19050600a836145cd565b9150613682565b6000816001600160401b038111156136c2576136c2614760565b6040519080825280601f01601f1916602001820160405280156136ec576020820181803683370190505b5090505b84156122bb57613701600183614600565b915061370e600a866146f4565b6137199060306145b5565b60f81b81838151811061372e5761372e61474a565b60200101906001600160f81b031916908160001a905350613750600a866145cd565b94506136f0565b60006040518060800160405280604381526020016147b060439139805160209182012083518483015160408087015180519086012090516137b7950193845260208401929092526001600160a01b03166040830152606082015260800190565b604051602081830303815290604052805190602001209050919050565b60006137df600e5490565b60405161190160f01b60208201526022810191909152604281018390526062016137b7565b6001600160a01b03831661385f5761385a81600b80546000838152600c60205260408120829055600182018355919091527f0175b7a638427703f0dbe7bb9bbf987a2551717b34e79f33b5b1008d1fa01db90155565b613882565b816001600160a01b0316836001600160a01b031614613882576138828382613b65565b6001600160a01b0382166138995761107881613c02565b826001600160a01b0316826001600160a01b031614611078576110788282613cb1565b6000908152601e6020526040812080546001600160a01b03191681556001810180546001600160801b031916905560020155565b6000612710601d548361390391906145e1565b610e0791906145cd565b6015546001820154439190601390600160c01b900461ffff16600e81106139365761393661474a565b600891828204019190066004029054906101000a900463ffffffff1663ffffffff1661396291906145cd565b61396c91906145b5565b6001820180546fffffffffffffffff00000000000000001916600160401b6001600160401b0393909316929092029190911790819055600d600160c01b90910461ffff1610156117e257600181810180546018906139d6908490600160c01b900461ffff16614598565b92506101000a81548161ffff021916908361ffff16021790555050565b6139fd8282613cf5565b6001600160a01b0382166000908152601860205260408120805491613a21836146d9565b9091555050600090815260176020526040902080546001600160a01b0319166001600160a01b0392909216919091179055565b60006001600160a01b0384163b15613b5d57836001600160a01b031663150b7a02613a7d61268c565b8786866040518563ffffffff1660e01b8152600401613a9f94939291906143e2565b602060405180830381600087803b158015613ab957600080fd5b505af1925050508015613ae9575060408051601f3d908101601f19168201909252613ae691810190614184565b60015b613b43573d808015613b17576040519150601f19603f3d011682016040523d82523d6000602084013e613b1c565b606091505b508051613b3b5760405162461bcd60e51b8152600401610f3090614476565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506122bb565b5060016122bb565b60006001613b7284612581565b613b7c9190614600565b6000838152600a6020526040902054909150808214613bcf576001600160a01b03841660009081526009602090815260408083208584528252808320548484528184208190558352600a90915290208190555b506000918252600a602090815260408084208490556001600160a01b039094168352600981528383209183525290812055565b600b54600090613c1490600190614600565b6000838152600c6020526040812054600b8054939450909284908110613c3c57613c3c61474a565b9060005260206000200154905080600b8381548110613c5d57613c5d61474a565b6000918252602080832090910192909255828152600c9091526040808220849055858252812055600b805480613c9557613c95614734565b6001900381819060005260206000200160009055905550505050565b6000613cbc83612581565b6001600160a01b0390931660009081526009602090815260408083208684528252808320859055938252600a9052919091209190915550565b6001600160a01b038216613d4b5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610f30565b6000818152600560205260409020546001600160a01b031615613db05760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610f30565b613dbc60008383613804565b6001600160a01b0382166000908152600660205260408120805460019290613de59084906145b5565b909155505060008181526005602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b828054613e4f90614682565b90600052602060002090601f016020900481019282613e715760008555613eb7565b82601f10613e8a57805160ff1916838001178555613eb7565b82800160010185558215613eb7579182015b82811115613eb7578251825591602001919060010190613e9c565b50613ec3929150613ec7565b5090565b5b80821115613ec35760008155600101613ec8565b60006001600160401b0380841115613ef657613ef6614760565b604051601f8501601f19908116603f01168101908282118183101715613f1e57613f1e614760565b81604052809350858152868686011115613f3757600080fd5b858560208301376000602087830101525050509392505050565b600082601f830112613f6257600080fd5b61207883833560208501613edc565b600060208284031215613f8357600080fd5b813561207881614776565b60008060408385031215613fa157600080fd5b8235613fac81614776565b91506020830135613fbc81614776565b809150509250929050565b600080600060608486031215613fdc57600080fd5b8335613fe781614776565b92506020840135613ff781614776565b929592945050506040919091013590565b6000806000806080858703121561401e57600080fd5b843561402981614776565b9350602085013561403981614776565b92506040850135915060608501356001600160401b0381111561405b57600080fd5b61406787828801613f51565b91505092959194509250565b6000806040838503121561408657600080fd5b823561409181614776565b91506020830135613fbc8161478b565b600080600080600060a086880312156140b957600080fd5b85356140c481614776565b945060208601356001600160401b038111156140df57600080fd5b6140eb88828901613f51565b9450506040860135925060608601359150608086013560ff8116811461411057600080fd5b809150509295509295909350565b6000806040838503121561413157600080fd5b823561413c81614776565b946020939093013593505050565b60006020828403121561415c57600080fd5b81516120788161478b565b60006020828403121561417957600080fd5b813561207881614799565b60006020828403121561419657600080fd5b815161207881614799565b6000602082840312156141b357600080fd5b815161207881614776565b6000602082840312156141d057600080fd5b81356001600160401b038111156141e657600080fd5b8201601f810184136141f757600080fd5b6122bb84823560208401613edc565b60006020828403121561421857600080fd5b813561ffff8116811461207857600080fd5b60006020828403121561423c57600080fd5b5035919050565b60006020828403121561425557600080fd5b5051919050565b6000806040838503121561426f57600080fd5b823591506020830135613fbc81614776565b6000806040838503121561429457600080fd5b50508035926020909101359150565b6000806000606084860312156142b857600080fd5b833592506020840135915060408401356142d181614776565b809150509250925092565b6000806000606084860312156142f157600080fd5b505081359360208301359350604090920135919050565b6000815180845261432081602086016020860161463f565b601f01601f19169290920160200192915050565b6000825161434681846020870161463f565b9190910192915050565b6000835161436281846020880161463f565b60609390931b6bffffffffffffffffffffffff19169190920190815260140192915050565b6000835161439981846020880161463f565b8351908301906143ad81836020880161463f565b01949350505050565b6001600160a01b0384811682528316602082015260606040820181905260009061163490830184614308565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061441590830184614308565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b818110156144575783518352928401929184019160010161443b565b50909695505050505050565b6020815260006120786020830184614308565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252602a908201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604082015269726f206164647265737360b01b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b600061ffff8083168185168083038211156143ad576143ad614708565b600082198211156145c8576145c8614708565b500190565b6000826145dc576145dc61471e565b500490565b60008160001904831182151516156145fb576145fb614708565b500290565b60008282101561461257614612614708565b500390565b60006001600160401b038381169083168181101561463757614637614708565b039392505050565b60005b8381101561465a578181015183820152602001614642565b83811115611cb45750506000910152565b60008161467a5761467a614708565b506000190190565b600181811c9082168061469657607f821691505b60208210811415611bc457634e487b7160e01b600052602260045260246000fd5b600061ffff808316818114156146cf576146cf614708565b6001019392505050565b60006000198214156146ed576146ed614708565b5060010190565b6000826147035761470361471e565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b03811681146117e257600080fd5b80151581146117e257600080fd5b6001600160e01b0319811681146117e257600080fdfe4d6574615472616e73616374696f6e2875696e74323536206e6f6e63652c616464726573732066726f6d2c62797465732066756e6374696f6e5369676e617475726529a264697066735822122044e53b1da4ef3c1bded7f2cc51d064418e15767c66bad303f838cdf393896b0264736f6c63430008070033454950373132446f6d61696e28737472696e67206e616d652c737472696e672076657273696f6e2c6164647265737320766572696679696e67436f6e74726163742c627974657333322073616c7429000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1

Deployed Bytecode

0x60806040526004361061045d5760003560e01c80637004fb841161023f578063b88d4fde11610139578063dd022892116100b6578063f1ca94101161007a578063f1ca941014610d56578063f2fde38b14610d6c578063fab620d014610d8c578063fc537fd614610dac578063fd03082714610dc257600080fd5b8063dd02289214610c85578063defb958414610ca5578063e8a3d48514610cbb578063e985e9c514610cd0578063f1c1395c14610cf057600080fd5b8063d547cfb7116100fd578063d547cfb714610bd2578063d71b3cee14610be7578063d755645814610bfd578063d8f6d59614610c2b578063d922341114610c7057600080fd5b8063b88d4fde14610b32578063bd94b00514610b52578063c55d0f5614610b72578063c87b56dd14610b92578063d3e6f49f14610bb257600080fd5b80638da5cb5b116101c75780639d6fac6f1161018b5780639d6fac6f14610a955780639e323a3514610aca578063a22cb46514610ad2578063a9059cbb14610af2578063b047fb5014610b1257600080fd5b80638da5cb5b14610a02578063934fedf114610a20578063938e3d7b14610a4057806395d89b4114610a60578063995cd65314610a7557600080fd5b80637a7d49371161020e5780637a7d4937146109745780637c2096881461098a57806383b5ff8b146109aa5780638456cb59146109c05780638462151c146109d557600080fd5b80637004fb841461090c57806370a082311461091f578063715018a61461093f578063757de5731461095457600080fd5b806327d7874c1161035b57806346d22c70116102d85780635c975abb1161029c5780635c975abb1461088d5780635dbd1f58146108ae5780635fd8c710146108c45780636352211e146108d957806367d1d348146108f957600080fd5b806346d22c70146107ed5780634e0a33791461080d5780634f6ccce71461082d5780634f8c79f81461084d5780635663896e1461086d57600080fd5b806330176e131161031f57806330176e13146107725780633408e470146107925780633f4ba83a146107a557806342842e0e146107ba578063454a2ab3146107da57600080fd5b806327d7874c146106c75780632ba73c15146106e75780632d0335ab146107075780632d3f81441461073d5780632f745c591461075257600080fd5b80630c53c51c116103e95780631d94885c116103ad5780631d94885c1461063857806320379ee514610658578063207269ea1461066d57806323b872dd1461068757806323edfb89146106a757600080fd5b80630c53c51c146105ad5780630f7e5970146105c057806318160ddd146105ed5780631817d87e146106025780631bb8a4c61461061857600080fd5b806305e455461161043057806305e455461461051557806306fdde031461052b578063081812fc1461054d578063095ea7b31461056d5780630a0f81681461058d57600080fd5b806301ffc9a7146104625780630480329c1461049757806304c4ef20146104b95780630519ce79146104dd575b600080fd5b34801561046e57600080fd5b5061048261047d366004614167565b610de2565b60405190151581526020015b60405180910390f35b3480156104a357600080fd5b506104b76104b236600461422a565b610e0d565b005b3480156104c557600080fd5b506104cf61afc881565b60405190815260200161048e565b3480156104e957600080fd5b506001546104fd906001600160a01b031681565b6040516001600160a01b03909116815260200161048e565b34801561052157600080fd5b506104cf601f5481565b34801561053757600080fd5b50610540610e29565b60405161048e9190614463565b34801561055957600080fd5b506104fd61056836600461422a565b610ebb565b34801561057957600080fd5b506104b761058836600461411e565b610f55565b34801561059957600080fd5b506000546104fd906001600160a01b031681565b6105406105bb3660046140a1565b61107d565b3480156105cc57600080fd5b50610540604051806040016040528060018152602001603160f81b81525081565b3480156105f957600080fd5b50600b546104cf565b34801561060e57600080fd5b506104cf601a5481565b34801561062457600080fd5b506104b7610633366004614206565b611267565b34801561064457600080fd5b506104b761065336600461422a565b611296565b34801561066457600080fd5b50600e546104cf565b34801561067957600080fd5b506021546104829060ff1681565b34801561069357600080fd5b506104b76106a2366004613fc7565b6112b2565b3480156106b357600080fd5b506104b76106c236600461422a565b6112ea565b3480156106d357600080fd5b506104b76106e2366004613f71565b611372565b3480156106f357600080fd5b506104b7610702366004613f71565b6113be565b34801561071357600080fd5b506104cf610722366004613f71565b6001600160a01b03166000908152600f602052604090205490565b34801561074957600080fd5b506104b761140a565b34801561075e57600080fd5b506104cf61076d36600461411e565b611457565b34801561077e57600080fd5b506104b761078d3660046141be565b6114ed565b34801561079e57600080fd5b50466104cf565b3480156107b157600080fd5b506104b7611517565b3480156107c657600080fd5b506104b76107d5366004613fc7565b611563565b6104b76107e836600461422a565b61157e565b3480156107f957600080fd5b50610482610808366004614281565b6115c3565b34801561081957600080fd5b506104b7610828366004613f71565b61163d565b34801561083957600080fd5b506104cf61084836600461422a565b611689565b34801561085957600080fd5b506104b761086836600461422a565b61171c565b34801561087957600080fd5b506104b761088836600461422a565b611738565b34801561089957600080fd5b5060025461048290600160a01b900460ff1681565b3480156108ba57600080fd5b506104cf60235481565b3480156108d057600080fd5b506104b7611792565b3480156108e557600080fd5b506104fd6108f436600461422a565b6117e5565b6104b76109073660046142dc565b61180c565b6104b761091a366004614281565b611850565b34801561092b57600080fd5b506104cf61093a366004613f71565b611960565b34801561094b57600080fd5b506104b76119a4565b34801561096057600080fd5b506104b761096f36600461422a565b6119f7565b34801561098057600080fd5b506104cf60155481565b34801561099657600080fd5b506104826109a536600461422a565b611a4c565b3480156109b657600080fd5b506104cf601d5481565b3480156109cc57600080fd5b506104b7611a63565b3480156109e157600080fd5b506109f56109f0366004613f71565b611ad0565b60405161048e919061441f565b348015610a0e57600080fd5b506010546001600160a01b03166104fd565b348015610a2c57600080fd5b506104b7610a3b36600461422a565b611bca565b348015610a4c57600080fd5b506104b7610a5b3660046141be565b611be6565b348015610a6c57600080fd5b50610540611c10565b348015610a8157600080fd5b506104b7610a903660046142a3565b611c1f565b348015610aa157600080fd5b50610ab5610ab036600461422a565b611cba565b60405163ffffffff909116815260200161048e565b6104b7611cea565b348015610ade57600080fd5b506104b7610aed366004614073565b611de6565b348015610afe57600080fd5b506104b7610b0d36600461411e565b611ee8565b348015610b1e57600080fd5b506002546104fd906001600160a01b031681565b348015610b3e57600080fd5b506104b7610b4d366004614008565b611f46565b348015610b5e57600080fd5b506104b7610b6d36600461422a565b611f7f565b348015610b7e57600080fd5b506104cf610b8d36600461422a565b611fbb565b348015610b9e57600080fd5b50610540610bad36600461422a565b611fea565b348015610bbe57600080fd5b50610482610bcd36600461422a565b612024565b348015610bde57600080fd5b5061054061207f565b348015610bf357600080fd5b506104cf60225481565b348015610c0957600080fd5b50602454610c189061ffff1681565b60405161ffff909116815260200161048e565b348015610c3757600080fd5b50610c4b610c4636600461422a565b61208e565b604080516001600160a01b03909416845260208401929092529082015260600161048e565b348015610c7c57600080fd5b506104b76120db565b348015610c9157600080fd5b506104b7610ca0366004613f71565b61212b565b348015610cb157600080fd5b506104cf61138881565b348015610cc757600080fd5b506105406121e4565b348015610cdc57600080fd5b50610482610ceb366004613f8e565b6121f3565b348015610cfc57600080fd5b50610d10610d0b36600461422a565b6122c3565b604080519915158a5260208a0198909852968801959095526060870193909352608086019190915260a085015260c084015260e08301526101008201526101200161048e565b348015610d6257600080fd5b506104cf60205481565b348015610d7857600080fd5b506104b7610d87366004613f71565b612405565b348015610d9857600080fd5b506104b7610da736600461425c565b6124bc565b348015610db857600080fd5b506104cf601b5481565b348015610dce57600080fd5b50601c546104fd906001600160a01b031681565b60006001600160e01b0319821663780e9d6360e01b1480610e075750610e07826125c5565b92915050565b6000546001600160a01b03163314610e2457600080fd5b602355565b606060038054610e3890614682565b80601f0160208091040260200160405190810160405280929190818152602001828054610e6490614682565b8015610eb15780601f10610e8657610100808354040283529160200191610eb1565b820191906000526020600020905b815481529060010190602001808311610e9457829003601f168201915b5050505050905090565b6000818152600560205260408120546001600160a01b0316610f395760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600760205260409020546001600160a01b031690565b6000610f6082612615565b9050806001600160a01b0316836001600160a01b03161415610fce5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610f30565b806001600160a01b0316610fe061268c565b6001600160a01b03161480610ffc5750610ffc81610ceb61268c565b61106e5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610f30565b611078838361269b565b505050565b60408051606081810183526001600160a01b0388166000818152600f6020908152908590205484528301529181018690526110bb8782878787612709565b6111115760405162461bcd60e51b815260206004820152602160248201527f5369676e657220616e64207369676e617475726520646f206e6f74206d6174636044820152600d60fb1b6064820152608401610f30565b6001600160a01b0387166000908152600f60205260409020546111359060016127f9565b6001600160a01b0388166000908152600f60205260409081902091909155517f5845892132946850460bff5a0083f71031bc5bf9aadcd40f1de79423eac9b10b9061118590899033908a906143b6565b60405180910390a1600080306001600160a01b0316888a6040516020016111ad929190614350565b60408051601f19818403018152908290526111c791614334565b6000604051808303816000865af19150503d8060008114611204576040519150601f19603f3d011682016040523d82523d6000602084013e611209565b606091505b50915091508161125b5760405162461bcd60e51b815260206004820152601c60248201527f46756e6374696f6e2063616c6c206e6f74207375636365737366756c000000006044820152606401610f30565b98975050505050505050565b6000546001600160a01b0316331461127e57600080fd5b6024805461ffff191661ffff92909216919091179055565b6000546001600160a01b031633146112ad57600080fd5b602255565b6112c36112bd61268c565b82612805565b6112df5760405162461bcd60e51b8152600401610f3090614547565b6110788383836128d4565b600254600160a01b900460ff1661130057600080fd5b61130861268c565b6001600160a01b03166113236010546001600160a01b031690565b6001600160a01b0316146113495760405162461bcd60e51b8152600401610f3090614512565b6000818152601e60205260409020600281015461136557600080fd5b61136e82612a85565b5050565b6000546001600160a01b0316331461138957600080fd5b6001600160a01b03811661139c57600080fd5b600080546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b031633146113d557600080fd5b6001600160a01b0381166113e857600080fd5b600280546001600160a01b0319166001600160a01b0392909216919091179055565b6002546001600160a01b031633148061142d57506000546001600160a01b031633145b8061144257506001546001600160a01b031633145b61144b57600080fd5b6021805460ff19169055565b600061146283612581565b82106114c45760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610f30565b506001600160a01b03919091166000908152600960209081526040808320938352929052205490565b6000546001600160a01b0316331461150457600080fd5b805161136e906026906020840190613e43565b6000546001600160a01b0316331461152e57600080fd5b600254600160a01b900460ff1661154457600080fd5b601c546001600160a01b031661155957600080fd5b611561612ac4565b565b61107883838360405180602001604052806000815250611f46565b600254600160a01b900460ff161561159557600080fd5b6000818152601e60205260409020546001600160a01b03166115b78234612b00565b5061136e8133846128d4565b60008083116115d157600080fd5b600082116115de57600080fd5b6000601684815481106115f3576115f361474a565b906000526020600020906002020190506000601684815481106116185761161861474a565b9060005260206000209060020201905061163482868387612c9e565b95945050505050565b6000546001600160a01b0316331461165457600080fd5b6001600160a01b03811661166757600080fd5b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6000611694600b5490565b82106116f75760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610f30565b600b828154811061170a5761170a61474a565b90600052602060002001549050919050565b6000546001600160a01b0316331461173357600080fd5b601b55565b6002546001600160a01b031633148061175b57506000546001600160a01b031633145b8061177057506001546001600160a01b031633145b61177957600080fd5b60135463ffffffff16811061178d57600080fd5b601555565b6001546001600160a01b031633146117a957600080fd5b6001546040516001600160a01b03909116904780156108fc02916000818181858888f193505050501580156117e2573d6000803e3d6000fd5b50565b6000818152601760205260409020546001600160a01b03168061180757600080fd5b919050565b600254600160a01b900460ff161561182357600080fd5b601b5434101561183257600080fd5b61183c3384612e37565b61184557600080fd5b611078838383612e5d565b600254600160a01b900460ff161561186757600080fd5b601a5434101561187657600080fd5b6118803383612e37565b61188957600080fd5b6118933382612e37565b61189c57600080fd5b6000601683815481106118b1576118b161474a565b906000526020600020906002020190506118e281600101546001600160401b03438116600160401b90920416111590565b6118eb57600080fd5b6000601683815481106119005761190061474a565b9060005260206000209060020201905061193181600101546001600160401b03438116600160401b90920416111590565b61193a57600080fd5b61194682858386612c9e565b61194f57600080fd5b61195984846130d2565b5050505050565b60006001600160a01b0382166119885760405162461bcd60e51b8152600401610f30906144c8565b506001600160a01b031660009081526018602052604090205490565b6119ac61268c565b6001600160a01b03166119c76010546001600160a01b031690565b6001600160a01b0316146119ed5760405162461bcd60e51b8152600401610f3090614512565b6115616000613264565b6002546001600160a01b0316331480611a1a57506000546001600160a01b031633145b80611a2f57506001546001600160a01b031633145b611a3857600080fd5b612710811115611a4757600080fd5b601d55565b6000808211611a5a57600080fd5b610e07826132b6565b6002546001600160a01b0316331480611a8657506000546001600160a01b031633145b80611a9b57506001546001600160a01b031633145b611aa457600080fd5b600254600160a01b900460ff1615611abb57600080fd5b6002805460ff60a01b1916600160a01b179055565b60606000611add83611960565b905080611afa575050604080516000815260208101909152919050565b6000816001600160401b03811115611b1457611b14614760565b604051908082528060200260200182016040528015611b3d578160200160208202803683370190505b5090506000611b4b600b5490565b9050600060015b828111611bb9576000818152601760205260409020546001600160a01b0388811691161415611ba75780848381518110611b8e57611b8e61474a565b602090810291909101015281611ba3816146d9565b9250505b80611bb1816146d9565b915050611b52565b509195945050505050565b50919050565b6000546001600160a01b03163314611be157600080fd5b601a55565b6000546001600160a01b03163314611bfd57600080fd5b805161136e906027906020840190613e43565b606060048054610e3890614682565b600254600160a01b900460ff1615611c3657600080fd5b816001600160801b03168214611c4b57600080fd5b6000838152601760205260409020546001600160a01b03163314611c6e57600080fd5b60006040518060600160405280836001600160a01b03168152602001846001600160801b03168152602001426001600160401b03168152509050611cb4828583426132fd565b50505050565b601381600e8110611cca57600080fd5b60089182820401919006600402915054906101000a900463ffffffff1681565b60215460ff1615611cfa57600080fd5b602254341015611d0957600080fd5b60235460205410611d1957600080fd5b61afc860205410611d2957600080fd5b6024543360009081526025602052604090205461ffff918216911610611d4e57600080fd5b6001546040516001600160a01b03909116903480156108fc02916000818181858888f19350505050158015611d87573d6000803e3d6000fd5b5060208054906000611d98836146d9565b9091555050336000908152602560205260408120805461ffff1691611dbc836146b7565b91906101000a81548161ffff021916908361ffff160217905550506117e2600080600080336133aa565b611dee61268c565b6001600160a01b0316826001600160a01b03161415611e4f5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610f30565b8060086000611e5c61268c565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff191692151592909217909155611ea061268c565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611edc911515815260200190565b60405180910390a35050565b600254600160a01b900460ff1615611eff57600080fd5b6001600160a01b038216611f1257600080fd5b6001600160a01b038216301415611f2857600080fd5b611f323382612e37565b611f3b57600080fd5b61136e3383836128d4565b611f57611f5161268c565b83612805565b611f735760405162461bcd60e51b8152600401610f3090614547565b611cb484848484613627565b6000818152601e602052604090206002810154611f9b57600080fd5b80546001600160a01b0316338114611fb257600080fd5b61107883612a85565b6000818152601e602052604081206002810154611fd757600080fd5b600101546001600160801b031692915050565b6060611ff461207f565b611ffd8361365a565b60405160200161200e929190614387565b6040516020818303038152906040529050919050565b600080821161203257600080fd5b6000601683815481106120475761204761474a565b9060005260206000209060020201905061207881600101546001600160401b03438116600160401b90920416111590565b9392505050565b606060268054610e3890614682565b6000818152601e602052604081206002810154829182916120ae57600080fd5b805460018201546002909201546001600160a01b03909116966001600160801b0390921695509350915050565b6002546001600160a01b03163314806120fe57506000546001600160a01b031633145b8061211357506001546001600160a01b031633145b61211c57600080fd5b6021805460ff19166001179055565b6000546001600160a01b0316331461214257600080fd5b6000819050806001600160a01b031663f4bd77d76040518163ffffffff1660e01b815260040160206040518083038186803b15801561218057600080fd5b505afa158015612194573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121b8919061414a565b6121c157600080fd5b601c80546001600160a01b0319166001600160a01b039290921691909117905550565b606060278054610e3890614682565b60115460405163c455279160e01b81526001600160a01b03848116600483015260009281169190841690829063c45527919060240160206040518083038186803b15801561224057600080fd5b505afa158015612254573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061227891906141a1565b6001600160a01b03161415612291576001915050610e07565b6001600160a01b0380851660009081526008602090815260408083209387168352929052205460ff165b949350505050565b60008060008060008060008060008060168b815481106122e5576122e561474a565b90600052602060002090600202019050438160010160089054906101000a90046001600160401b03166001600160401b0316111599508060010160189054906101000a900461ffff1661ffff1698508060010160089054906101000a90046001600160401b03166001600160401b031697508060010160009054906101000a90046001600160401b03166001600160401b031696508060010160109054906101000a900463ffffffff1663ffffffff1695508060010160149054906101000a900463ffffffff1663ffffffff16945080600101601a9054906101000a900461ffff1661ffff1693508060010160089054906101000a90046001600160401b03166001600160401b0316925080600001549150509193959799909294969850565b61240d61268c565b6001600160a01b03166124286010546001600160a01b031690565b6001600160a01b03161461244e5760405162461bcd60e51b8152600401610f3090614512565b6001600160a01b0381166124b35760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610f30565b6117e281613264565b6002546001600160a01b031633146124d357600080fd5b806001600160a01b0381166124f057506002546001600160a01b03165b611388601f541061250057600080fd5b601f8054906000612510836146d9565b9190505550611cb4600080600086856133aa565b60003330141561257b57600080368080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152505050503601516001600160a01b0316915061257e9050565b50335b90565b60006001600160a01b0382166125a95760405162461bcd60e51b8152600401610f30906144c8565b506001600160a01b031660009081526006602052604090205490565b60006001600160e01b031982166380ac58cd60e01b14806125f657506001600160e01b03198216635b5e139f60e01b145b80610e0757506301ffc9a760e01b6001600160e01b0319831614610e07565b6000818152600560205260408120546001600160a01b031680610e075760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610f30565b6000612696612524565b905090565b600081815260076020526040902080546001600160a01b0319166001600160a01b03841690811790915581906126d082612615565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006001600160a01b03861661276f5760405162461bcd60e51b815260206004820152602560248201527f4e61746976654d6574615472616e73616374696f6e3a20494e56414c49445f5360448201526424a3a722a960d91b6064820152608401610f30565b600161278261277d87613757565b6137d4565b6040805160008152602081018083529290925260ff851690820152606081018690526080810185905260a0016020604051602081039080840390855afa1580156127d0573d6000803e3d6000fd5b505050602060405103516001600160a01b0316866001600160a01b031614905095945050505050565b600061207882846145b5565b6000818152600560205260408120546001600160a01b031661287e5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610f30565b600061288983612615565b9050806001600160a01b0316846001600160a01b031614806128c45750836001600160a01b03166128b984610ebb565b6001600160a01b0316145b806122bb57506122bb81856121f3565b826001600160a01b03166128e7826117e5565b6001600160a01b03161461294f5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610f30565b6001600160a01b0382166129b15760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610f30565b6001600160a01b03821660009081526018602052604081208054916129d5836146d9565b90915550506001600160a01b03831660009081526018602052604081208054916129fe8361466b565b9190505550612a0e838383613804565b600081815260176020526040812080546001600160a01b0319166001600160a01b038516179055612a3f908261269b565b80826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b612a8e816138bc565b6040518181527f2c56893f6f6026d19bd17b7d05c9f15c522de1ae2b1c3a825f91a73c799321f29060200160405180910390a150565b6000546001600160a01b03163314612adb57600080fd5b600254600160a01b900460ff16612af157600080fd5b6002805460ff60a01b19169055565b6000828152601e602052604081206002810154612b1c57600080fd5b805460018201546001600160a01b03909116906001600160801b031680851015612b4557600080fd5b612b4e866138bc565b6001600160a01b03811615612bfe576000612b71826001600160a01b03166138f0565b90506000612b88826001600160a01b038516614600565b6001546040519192506001600160a01b03169083156108fc029084906000818181858888f19350505050158015612bc3573d6000803e3d6000fd5b506040516001600160a01b0385169082156108fc029083906000818181858888f19350505050158015612bfa573d6000803e3d6000fd5b5050505b6000612c136001600160a01b03831687614600565b604051909150339082156108fc029083906000818181858888f19350505050158015612c43573d6000803e3d6000fd5b50604080518881526001600160a01b0384166020820152338183015290517f9f2881bde82d4b6e9c19bec262dbbdba7266ff214c4c822aa94035f21b263f339181900360600190a1506001600160a01b031695945050505050565b600081841415612cb0575060006122bb565b84541580612cbd57508254155b15612cca575060006122bb565b6001850154600160801b900463ffffffff16821480612cf957506001850154600160a01b900463ffffffff1682145b15612d06575060006122bb565b6001830154600160801b900463ffffffff16841480612d3557506001830154600160a01b900463ffffffff1684145b15612d42575060006122bb565b6001830154600160801b900463ffffffff161580612d6f57506001850154600160801b900463ffffffff16155b15612d7c575060016122bb565b60018581015490840154600160801b9182900463ffffffff90811692909104161480612dc7575060018086015490840154600160801b900463ffffffff908116600160a01b90920416145b15612dd4575060006122bb565b60018086015490840154600160a01b900463ffffffff908116600160801b909204161480612e1f575060018581015490840154600160a01b9182900463ffffffff9081169290910416145b15612e2c575060006122bb565b506001949350505050565b6000826001600160a01b0316612e4c836117e5565b6001600160a01b0316149392505050565b600060168481548110612e7257612e7261474a565b90600052602060002090600202019050600060168260010160109054906101000a900463ffffffff1663ffffffff1681548110612eb157612eb161474a565b90600052602060002090600202019050600060168360010160149054906101000a900463ffffffff1663ffffffff1681548110612ef057612ef061474a565b60009182526020822060018601546002909202019250819063ffffffff600160801b9091041615612f245783549150612f28565b8691505b6001850154600160a01b900463ffffffff1615612f4757508154612f4a565b50845b60018401546001600160401b031615801590612f72575060018301546001600160401b031615155b612f7b57600080fd5b845415612f8757600080fd5b601c546001868101546000926001600160a01b03169163851c9e2b9186918691612fc19190600160401b90046001600160401b0316614617565b6040516001600160e01b031960e086901b168152600481019390935260248301919091526001600160401b03166044820152606401602060405180830381600087803b15801561301057600080fd5b505af1158015613024573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906130489190614243565b8087556001546040519192506001600160a01b0316903480156108fc02916000818181858888f19350505050158015613085573d6000803e3d6000fd5b5060408051338152602081018b90529081018290527fb38ba9b1c21d14e92c6b24ace95218359ca7727f16a3e622617817dd9f38305c9060600160405180910390a1505050505050505050565b600080601684815481106130e8576130e861474a565b9060005260206000209060020201905060006016848154811061310d5761310d61474a565b6000918252602090912060018085015460029093029091019081015490925061ffff600160d01b928390048116929091041681101561315857506001810154600160d01b900461ffff165b60015460405134916001600160a01b03169082156108fc029083906000818181858888f19350505050158015613192573d6000803e3d6000fd5b506000878152601760205260408120546001600160a01b0316906131c889896131bc876001614598565b61ffff166000866133aa565b90506131d38661390d565b6131dc8561390d565b60008981526017602090815260409182902054600189015483516001600160a01b0390921682529181018490529182018b9052606082018a9052600160401b90046001600160401b031660808201527f2257b42f89acde8ceea38e863df4cb1ed40dc32b9469264383a7577eeda61ac09060a00160405180910390a198975050505050505050565b601080546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600080601683815481106132cc576132cc61474a565b60009182526020909120600160029092020101546001600160401b03438116600160401b9092041611159392505050565b6000838152601e6020908152604091829020845181546001600160a01b0319166001600160a01b03918216178255858301516001830180546001600160801b0319166001600160801b039092169182179055868501516002909301929092558351908816815291820186905291810191909152606081018290527f2cd2dfcdeb2b58c4b80527e9df5e12da537fa4f6c958a4fb623a83ab74eeab639060800160405180910390a150505050565b60008563ffffffff1686146133be57600080fd5b8463ffffffff1685146133d057600080fd5b8361ffff1684146133e057600080fd5b60006133ed6002866145cd565b9050600d8161ffff1611156134005750600d5b6040805160e0810182528581526001600160401b0342811660208301908152600093830184815263ffffffff808d16606086019081528c82166080870190815261ffff808a1660a089019081528e821660c08a01908152601680546001810182559b52895160028c027fd833147d7dc355ba459fc788f669e58cfaf9dc25ddcd0702e87d69c7b512428981019190915597517fd833147d7dc355ba459fc788f669e58cfaf9dc25ddcd0702e87d69c7b512428a9098018054975195519451925191518416600160d01b0261ffff60d01b1992909416600160c01b029190911663ffffffff60c01b19928716600160a01b0263ffffffff60a01b19958816600160801b029590951667ffffffffffffffff60801b19968b16600160401b026001600160801b031990991699909a1698909817969096179390931696909617171692909217929092179091559091908116811461355a57600080fd5b61356485826139f3565b6000601682815481106135795761357961474a565b906000526020600020906002020190506135928161390d565b6060808401516080808601518651604080516001600160a01b038d1681526020810189905263ffffffff95861691810191909152919093169381019390935282015261ffff891660a08201526001600160401b03421660c08201527f9bf9fe90189516a96fd2554df7e10f0e2e5d2f38f76040e4e8b55d5dbf8868469060e00160405180910390a15098975050505050505050565b6136328484846128d4565b61363e84848484613a54565b611cb45760405162461bcd60e51b8152600401610f3090614476565b60608161367e5750506040805180820190915260018152600360fc1b602082015290565b8160005b81156136a85780613692816146d9565b91506136a19050600a836145cd565b9150613682565b6000816001600160401b038111156136c2576136c2614760565b6040519080825280601f01601f1916602001820160405280156136ec576020820181803683370190505b5090505b84156122bb57613701600183614600565b915061370e600a866146f4565b6137199060306145b5565b60f81b81838151811061372e5761372e61474a565b60200101906001600160f81b031916908160001a905350613750600a866145cd565b94506136f0565b60006040518060800160405280604381526020016147b060439139805160209182012083518483015160408087015180519086012090516137b7950193845260208401929092526001600160a01b03166040830152606082015260800190565b604051602081830303815290604052805190602001209050919050565b60006137df600e5490565b60405161190160f01b60208201526022810191909152604281018390526062016137b7565b6001600160a01b03831661385f5761385a81600b80546000838152600c60205260408120829055600182018355919091527f0175b7a638427703f0dbe7bb9bbf987a2551717b34e79f33b5b1008d1fa01db90155565b613882565b816001600160a01b0316836001600160a01b031614613882576138828382613b65565b6001600160a01b0382166138995761107881613c02565b826001600160a01b0316826001600160a01b031614611078576110788282613cb1565b6000908152601e6020526040812080546001600160a01b03191681556001810180546001600160801b031916905560020155565b6000612710601d548361390391906145e1565b610e0791906145cd565b6015546001820154439190601390600160c01b900461ffff16600e81106139365761393661474a565b600891828204019190066004029054906101000a900463ffffffff1663ffffffff1661396291906145cd565b61396c91906145b5565b6001820180546fffffffffffffffff00000000000000001916600160401b6001600160401b0393909316929092029190911790819055600d600160c01b90910461ffff1610156117e257600181810180546018906139d6908490600160c01b900461ffff16614598565b92506101000a81548161ffff021916908361ffff16021790555050565b6139fd8282613cf5565b6001600160a01b0382166000908152601860205260408120805491613a21836146d9565b9091555050600090815260176020526040902080546001600160a01b0319166001600160a01b0392909216919091179055565b60006001600160a01b0384163b15613b5d57836001600160a01b031663150b7a02613a7d61268c565b8786866040518563ffffffff1660e01b8152600401613a9f94939291906143e2565b602060405180830381600087803b158015613ab957600080fd5b505af1925050508015613ae9575060408051601f3d908101601f19168201909252613ae691810190614184565b60015b613b43573d808015613b17576040519150601f19603f3d011682016040523d82523d6000602084013e613b1c565b606091505b508051613b3b5760405162461bcd60e51b8152600401610f3090614476565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506122bb565b5060016122bb565b60006001613b7284612581565b613b7c9190614600565b6000838152600a6020526040902054909150808214613bcf576001600160a01b03841660009081526009602090815260408083208584528252808320548484528184208190558352600a90915290208190555b506000918252600a602090815260408084208490556001600160a01b039094168352600981528383209183525290812055565b600b54600090613c1490600190614600565b6000838152600c6020526040812054600b8054939450909284908110613c3c57613c3c61474a565b9060005260206000200154905080600b8381548110613c5d57613c5d61474a565b6000918252602080832090910192909255828152600c9091526040808220849055858252812055600b805480613c9557613c95614734565b6001900381819060005260206000200160009055905550505050565b6000613cbc83612581565b6001600160a01b0390931660009081526009602090815260408083208684528252808320859055938252600a9052919091209190915550565b6001600160a01b038216613d4b5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610f30565b6000818152600560205260409020546001600160a01b031615613db05760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610f30565b613dbc60008383613804565b6001600160a01b0382166000908152600660205260408120805460019290613de59084906145b5565b909155505060008181526005602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b828054613e4f90614682565b90600052602060002090601f016020900481019282613e715760008555613eb7565b82601f10613e8a57805160ff1916838001178555613eb7565b82800160010185558215613eb7579182015b82811115613eb7578251825591602001919060010190613e9c565b50613ec3929150613ec7565b5090565b5b80821115613ec35760008155600101613ec8565b60006001600160401b0380841115613ef657613ef6614760565b604051601f8501601f19908116603f01168101908282118183101715613f1e57613f1e614760565b81604052809350858152868686011115613f3757600080fd5b858560208301376000602087830101525050509392505050565b600082601f830112613f6257600080fd5b61207883833560208501613edc565b600060208284031215613f8357600080fd5b813561207881614776565b60008060408385031215613fa157600080fd5b8235613fac81614776565b91506020830135613fbc81614776565b809150509250929050565b600080600060608486031215613fdc57600080fd5b8335613fe781614776565b92506020840135613ff781614776565b929592945050506040919091013590565b6000806000806080858703121561401e57600080fd5b843561402981614776565b9350602085013561403981614776565b92506040850135915060608501356001600160401b0381111561405b57600080fd5b61406787828801613f51565b91505092959194509250565b6000806040838503121561408657600080fd5b823561409181614776565b91506020830135613fbc8161478b565b600080600080600060a086880312156140b957600080fd5b85356140c481614776565b945060208601356001600160401b038111156140df57600080fd5b6140eb88828901613f51565b9450506040860135925060608601359150608086013560ff8116811461411057600080fd5b809150509295509295909350565b6000806040838503121561413157600080fd5b823561413c81614776565b946020939093013593505050565b60006020828403121561415c57600080fd5b81516120788161478b565b60006020828403121561417957600080fd5b813561207881614799565b60006020828403121561419657600080fd5b815161207881614799565b6000602082840312156141b357600080fd5b815161207881614776565b6000602082840312156141d057600080fd5b81356001600160401b038111156141e657600080fd5b8201601f810184136141f757600080fd5b6122bb84823560208401613edc565b60006020828403121561421857600080fd5b813561ffff8116811461207857600080fd5b60006020828403121561423c57600080fd5b5035919050565b60006020828403121561425557600080fd5b5051919050565b6000806040838503121561426f57600080fd5b823591506020830135613fbc81614776565b6000806040838503121561429457600080fd5b50508035926020909101359150565b6000806000606084860312156142b857600080fd5b833592506020840135915060408401356142d181614776565b809150509250925092565b6000806000606084860312156142f157600080fd5b505081359360208301359350604090920135919050565b6000815180845261432081602086016020860161463f565b601f01601f19169290920160200192915050565b6000825161434681846020870161463f565b9190910192915050565b6000835161436281846020880161463f565b60609390931b6bffffffffffffffffffffffff19169190920190815260140192915050565b6000835161439981846020880161463f565b8351908301906143ad81836020880161463f565b01949350505050565b6001600160a01b0384811682528316602082015260606040820181905260009061163490830184614308565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061441590830184614308565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b818110156144575783518352928401929184019160010161443b565b50909695505050505050565b6020815260006120786020830184614308565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252602a908201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604082015269726f206164647265737360b01b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b600061ffff8083168185168083038211156143ad576143ad614708565b600082198211156145c8576145c8614708565b500190565b6000826145dc576145dc61471e565b500490565b60008160001904831182151516156145fb576145fb614708565b500290565b60008282101561461257614612614708565b500390565b60006001600160401b038381169083168181101561463757614637614708565b039392505050565b60005b8381101561465a578181015183820152602001614642565b83811115611cb45750506000910152565b60008161467a5761467a614708565b506000190190565b600181811c9082168061469657607f821691505b60208210811415611bc457634e487b7160e01b600052602260045260246000fd5b600061ffff808316818114156146cf576146cf614708565b6001019392505050565b60006000198214156146ed576146ed614708565b5060010190565b6000826147035761470361471e565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b03811681146117e257600080fd5b80151581146117e257600080fd5b6001600160e01b0319811681146117e257600080fdfe4d6574615472616e73616374696f6e2875696e74323536206e6f6e63652c616464726573732066726f6d2c62797465732066756e6374696f6e5369676e617475726529a264697066735822122044e53b1da4ef3c1bded7f2cc51d064418e15767c66bad303f838cdf393896b0264736f6c63430008070033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1

-----Decoded View---------------
Arg [0] : _proxyRegistryAddress (address): 0xa5409ec958C83C3f309868babACA7c86DCB077c1

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1


Deployed Bytecode Sourcemap

97100:2674:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50222:224;;;;;;;;;;-1:-1:-1;50222:224:0;;;;;:::i;:::-;;:::i;:::-;;;13541:14:1;;13534:22;13516:41;;13504:2;13489:18;50222:224:0;;;;;;;;95277:96;;;;;;;;;;-1:-1:-1;95277:96:0;;;;;:::i;:::-;;:::i;:::-;;94278:55;;;;;;;;;;;;94328:5;94278:55;;;;;14480:25:1;;;14468:2;14453:18;94278:55:0;14334:177:1;58970:25:0;;;;;;;;;;-1:-1:-1;58970:25:0;;;;-1:-1:-1;;;;;58970:25:0;;;;;;-1:-1:-1;;;;;9805:32:1;;;9787:51;;9775:2;9760:18;58970:25:0;9641:203:1;94408:32:0;;;;;;;;;;;;;;;;38114:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;39673:221::-;;;;;;;;;;-1:-1:-1;39673:221:0;;;;;:::i;:::-;;:::i;39196:411::-;;;;;;;;;;-1:-1:-1;39196:411:0;;;;;:::i;:::-;;:::i;58938:25::-;;;;;;;;;;-1:-1:-1;58938:25:0;;;;-1:-1:-1;;;;;58938:25:0;;;11070:1151;;;;;;:::i;:::-;;:::i;518:43::-;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;518:43:0;;;;;50862:113;;;;;;;;;;-1:-1:-1;50950:10:0;:17;50862:113;;71347:31;;;;;;;;;;;;;;;;95754:88;;;;;;;;;;-1:-1:-1;95754:88:0;;;;;:::i;:::-;;:::i;95511:96::-;;;;;;;;;;-1:-1:-1;95511:96:0;;;;;:::i;:::-;;:::i;1527:101::-;;;;;;;;;;-1:-1:-1;1605:15:0;;1527:101;;94532:35;;;;;;;;;;-1:-1:-1;94532:35:0;;;;;;;;40563:339;;;;;;;;;;-1:-1:-1;40563:339:0;;;;;:::i;:::-;;:::i;92938:239::-;;;;;;;;;;-1:-1:-1;92938:239:0;;;;;:::i;:::-;;:::i;59742:132::-;;;;;;;;;;-1:-1:-1;59742:132:0;;;;;:::i;:::-;;:::i;60312:::-;;;;;;;;;;-1:-1:-1;60312:132:0;;;;;:::i;:::-;;:::i;12647:107::-;;;;;;;;;;-1:-1:-1;12647:107:0;;;;;:::i;:::-;-1:-1:-1;;;;;12734:12:0;12700:13;12734:12;;;:6;:12;;;;;;;12647:107;95075:92;;;;;;;;;;;;;:::i;50530:256::-;;;;;;;;;;-1:-1:-1;50530:256:0;;;;;:::i;:::-;;:::i;97936:107::-;;;;;;;;;;-1:-1:-1;97936:107:0;;;;;:::i;:::-;;:::i;1636:161::-;;;;;;;;;;-1:-1:-1;1750:9:0;1636:161;;98472:188;;;;;;;;;;;;;:::i;40973:185::-;;;;;;;;;;-1:-1:-1;40973:185:0;;;;;:::i;:::-;;:::i;91726:403::-;;;;;;:::i;:::-;;:::i;77550:384::-;;;;;;;;;;-1:-1:-1;77550:384:0;;;;;:::i;:::-;;:::i;60023:140::-;;;;;;;;;;-1:-1:-1;60023:140:0;;;;;:::i;:::-;;:::i;51052:233::-;;;;;;;;;;-1:-1:-1;51052:233:0;;;;;:::i;:::-;;:::i;74485:84::-;;;;;;;;;;-1:-1:-1;74485:84:0;;;;;:::i;:::-;;:::i;68650:142::-;;;;;;;;;;-1:-1:-1;68650:142:0;;;;;:::i;:::-;;:::i;59093:26::-;;;;;;;;;;-1:-1:-1;59093:26:0;;;;-1:-1:-1;;;59093:26:0;;;;;;94743:35;;;;;;;;;;;;;;;;98672:114;;;;;;;;;;;;;:::i;66448:215::-;;;;;;;;;;-1:-1:-1;66448:215:0;;;;;:::i;:::-;;:::i;83215:397::-;;;;;;:::i;:::-;;:::i;79263:1135::-;;;;;;:::i;:::-;;:::i;66672:210::-;;;;;;;;;;-1:-1:-1;66672:210:0;;;;;:::i;:::-;;:::i;17813:94::-;;;;;;;;;;;;;:::i;85541:149::-;;;;;;;;;;-1:-1:-1;85541:149:0;;;;;:::i;:::-;;:::i;64474:35::-;;;;;;;;;;;;;;;;74779:178;;;;;;;;;;-1:-1:-1;74779:178:0;;;;;:::i;:::-;;:::i;85349:29::-;;;;;;;;;;;;;;;;60971:83;;;;;;;;;;;;;:::i;67350:905::-;;;;;;;;;;-1:-1:-1;67350:905:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;17162:87::-;;;;;;;;;;-1:-1:-1;17235:6:0;;-1:-1:-1;;;;;17235:6:0;17162:87;;74183:84;;;;;;;;;;-1:-1:-1;74183:84:0;;;;;:::i;:::-;;:::i;98051:122::-;;;;;;;;;;-1:-1:-1;98051:122:0;;;;;:::i;:::-;;:::i;38283:104::-;;;;;;;;;;;;;:::i;91035:679::-;;;;;;;;;;-1:-1:-1;91035:679:0;;;;;:::i;:::-;;:::i;63977:410::-;;;;;;;;;;-1:-1:-1;63977:410:0;;;;;:::i;:::-;;:::i;:::-;;;25257:10:1;25245:23;;;25227:42;;25215:2;25200:18;63977:410:0;25083:192:1;95854:591:0;;;:::i;39966:295::-;;;;;;;;;;-1:-1:-1;39966:295:0;;;;;:::i;:::-;;:::i;70301:912::-;;;;;;;;;;-1:-1:-1;70301:912:0;;;;;:::i;:::-;;:::i;59002:25::-;;;;;;;;;;-1:-1:-1;59002:25:0;;;;-1:-1:-1;;;;;59002:25:0;;;41229:328;;;;;;;;;;-1:-1:-1;41229:328:0;;;;;:::i;:::-;;:::i;92417:269::-;;;;;;;;;;-1:-1:-1;92417:269:0;;;;;:::i;:::-;;:::i;93788:232::-;;;;;;;;;;-1:-1:-1;93788:232:0;;;;;:::i;:::-;;:::i;98181:175::-;;;;;;;;;;-1:-1:-1;98181:175:0;;;;;:::i;:::-;;:::i;75163:223::-;;;;;;;;;;-1:-1:-1;75163:223:0;;;;;:::i;:::-;;:::i;97835:93::-;;;;;;;;;;;;;:::i;94641:37::-;;;;;;;;;;;;;;;;94791:32;;;;;;;;;;-1:-1:-1;94791:32:0;;;;;;;;;;;24154:6:1;24142:19;;;24124:38;;24112:2;24097:18;94791:32:0;23980:188:1;93283:380:0;;;;;;;;;;-1:-1:-1;93283:380:0;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;10998:32:1;;;10980:51;;11062:2;11047:18;;11040:34;;;;11090:18;;;11083:34;10968:2;10953:18;93283:380:0;10778:345:1;94935:89:0;;;;;;;;;;;;;:::i;71783:480::-;;;;;;;;;;-1:-1:-1;71783:480:0;;;;;:::i;:::-;;:::i;94220:51::-;;;;;;;;;;;;94267:4;94220:51;;98364:100;;;;;;;;;;;;;:::i;57318:445::-;;;;;;;;;;-1:-1:-1;57318:445:0;;;;;:::i;:::-;;:::i;98927:844::-;;;;;;;;;;-1:-1:-1;98927:844:0;;;;;:::i;:::-;;:::i;:::-;;;;13958:14:1;;13951:22;13933:41;;14005:2;13990:18;;13983:34;;;;14033:18;;;14026:34;;;;14091:2;14076:18;;14069:34;;;;14134:3;14119:19;;14112:35;;;;14178:3;14163:19;;14156:35;14222:3;14207:19;;14200:35;14266:3;14251:19;;14244:35;14310:3;14295:19;;14288:35;13920:3;13905:19;98927:844:0;13568:761:1;94447:31:0;;;;;;;;;;;;;;;;18062:192;;;;;;;;;;-1:-1:-1;18062:192:0;;;;;:::i;:::-;;:::i;96708:383::-;;;;;;;;;;-1:-1:-1;96708:383:0;;;;;:::i;:::-;;:::i;71387:31::-;;;;;;;;;;;;;;;;71538:40;;;;;;;;;;-1:-1:-1;71538:40:0;;;;-1:-1:-1;;;;;71538:40:0;;;50222:224;50324:4;-1:-1:-1;;;;;;50348:50:0;;-1:-1:-1;;;50348:50:0;;:90;;;50402:36;50426:11;50402:23;:36::i;:::-;50341:97;50222:224;-1:-1:-1;;50222:224:0:o;95277:96::-;59180:10;;-1:-1:-1;;;;;59180:10:0;59166;:24;59158:33;;;;;;95345:14:::1;:20:::0;95277:96::o;38114:100::-;38168:13;38201:5;38194:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38114:100;:::o;39673:221::-;39749:7;43156:16;;;:7;:16;;;;;;-1:-1:-1;;;;;43156:16:0;39769:73;;;;-1:-1:-1;;;39769:73:0;;21363:2:1;39769:73:0;;;21345:21:1;21402:2;21382:18;;;21375:30;21441:34;21421:18;;;21414:62;-1:-1:-1;;;21492:18:1;;;21485:42;21544:19;;39769:73:0;;;;;;;;;-1:-1:-1;39862:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;39862:24:0;;39673:221::o;39196:411::-;39277:13;39293:23;39308:7;39293:14;:23::i;:::-;39277:39;;39341:5;-1:-1:-1;;;;;39335:11:0;:2;-1:-1:-1;;;;;39335:11:0;;;39327:57;;;;-1:-1:-1;;;39327:57:0;;22949:2:1;39327:57:0;;;22931:21:1;22988:2;22968:18;;;22961:30;23027:34;23007:18;;;23000:62;-1:-1:-1;;;23078:18:1;;;23071:31;23119:19;;39327:57:0;22747:397:1;39327:57:0;39435:5;-1:-1:-1;;;;;39419:21:0;:12;:10;:12::i;:::-;-1:-1:-1;;;;;39419:21:0;;:62;;;;39444:37;39461:5;39468:12;:10;:12::i;39444:37::-;39397:168;;;;-1:-1:-1;;;39397:168:0;;19756:2:1;39397:168:0;;;19738:21:1;19795:2;19775:18;;;19768:30;19834:34;19814:18;;;19807:62;19905:26;19885:18;;;19878:54;19949:19;;39397:168:0;19554:420:1;39397:168:0;39578:21;39587:2;39591:7;39578:8;:21::i;:::-;39266:341;39196:411;;:::o;11070:1151::-;11328:152;;;11271:12;11328:152;;;;;-1:-1:-1;;;;;11366:19:0;;11296:29;11366:19;;;:6;:19;;;;;;;;;11328:152;;;;;;;;;;;11515:45;11373:11;11328:152;11543:4;11549;11555;11515:6;:45::i;:::-;11493:128;;;;-1:-1:-1;;;11493:128:0;;22547:2:1;11493:128:0;;;22529:21:1;22586:2;22566:18;;;22559:30;22625:34;22605:18;;;22598:62;-1:-1:-1;;;22676:18:1;;;22669:31;22717:19;;11493:128:0;22345:397:1;11493:128:0;-1:-1:-1;;;;;11710:19:0;;;;;;:6;:19;;;;;;:26;;11734:1;11710:23;:26::i;:::-;-1:-1:-1;;;;;11688:19:0;;;;;;:6;:19;;;;;;;:48;;;;11754:126;;;;;11695:11;;11826:10;;11852:17;;11754:126;:::i;:::-;;;;;;;;11991:12;12005:23;12040:4;-1:-1:-1;;;;;12032:18:0;12082:17;12101:11;12065:48;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;12065:48:0;;;;;;;;;;12032:92;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11990:134;;;;12143:7;12135:48;;;;-1:-1:-1;;;12135:48:0;;17464:2:1;12135:48:0;;;17446:21:1;17503:2;17483:18;;;17476:30;17542;17522:18;;;17515:58;17590:18;;12135:48:0;17262:352:1;12135:48:0;12203:10;11070:1151;-1:-1:-1;;;;;;;;11070:1151:0:o;95754:88::-;59180:10;;-1:-1:-1;;;;;59180:10:0;59166;:24;59158:33;;;;;;95814:14:::1;:20:::0;;-1:-1:-1;;95814:20:0::1;;::::0;;;::::1;::::0;;;::::1;::::0;;95754:88::o;95511:96::-;59180:10;;-1:-1:-1;;;;;59180:10:0;59166;:24;59158:33;;;;;;95579:14:::1;:20:::0;95511:96::o;40563:339::-;40758:41;40777:12;:10;:12::i;:::-;40791:7;40758:18;:41::i;:::-;40750:103;;;;-1:-1:-1;;;40750:103:0;;;;;;;:::i;:::-;40866:28;40876:4;40882:2;40886:7;40866:9;:28::i;92938:239::-;60787:6;;-1:-1:-1;;;60787:6:0;;;;60779:15;;;;;;17393:12:::1;:10;:12::i;:::-;-1:-1:-1::0;;;;;17382:23:0::1;:7;17235:6:::0;;-1:-1:-1;;;;;17235:6:0;;17162:87;17382:7:::1;-1:-1:-1::0;;;;;17382:23:0::1;;17374:68;;;;-1:-1:-1::0;;;17374:68:0::1;;;;;;;:::i;:::-;93059:17:::2;93079:23:::0;;;:13:::2;:23;::::0;;;;90204:15;;;;93113:24:::2;;;::::0;::::2;;93148:21;93160:8;93148:11;:21::i;:::-;93048:129;92938:239:::0;:::o;59742:132::-;59180:10;;-1:-1:-1;;;;;59180:10:0;59166;:24;59158:33;;;;;;-1:-1:-1;;;;;59811:21:0;::::1;59803:30;;;::::0;::::1;;59846:10;:20:::0;;-1:-1:-1;;;;;;59846:20:0::1;-1:-1:-1::0;;;;;59846:20:0;;;::::1;::::0;;;::::1;::::0;;59742:132::o;60312:::-;59180:10;;-1:-1:-1;;;;;59180:10:0;59166;:24;59158:33;;;;;;-1:-1:-1;;;;;60381:21:0;::::1;60373:30;;;::::0;::::1;;60416:10;:20:::0;;-1:-1:-1;;;;;;60416:20:0::1;-1:-1:-1::0;;;;;60416:20:0;;;::::1;::::0;;;::::1;::::0;;60312:132::o;95075:92::-;59470:10;;-1:-1:-1;;;;;59470:10:0;59456;:24;;:65;;-1:-1:-1;59511:10:0;;-1:-1:-1;;;;;59511:10:0;59497;:24;59456:65;:106;;;-1:-1:-1;59552:10:0;;-1:-1:-1;;;;;59552:10:0;59538;:24;59456:106;59434:139;;;;;;95135:16:::1;:24:::0;;-1:-1:-1;;95135:24:0::1;::::0;;95075:92::o;50530:256::-;50627:7;50663:23;50680:5;50663:16;:23::i;:::-;50655:5;:31;50647:87;;;;-1:-1:-1;;;50647:87:0;;16226:2:1;50647:87:0;;;16208:21:1;16265:2;16245:18;;;16238:30;16304:34;16284:18;;;16277:62;-1:-1:-1;;;16355:18:1;;;16348:41;16406:19;;50647:87:0;16024:407:1;50647:87:0;-1:-1:-1;;;;;;50752:19:0;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;50530:256::o;97936:107::-;59180:10;;-1:-1:-1;;;;;59180:10:0;59166;:24;59158:33;;;;;;98014:21;;::::1;::::0;:7:::1;::::0;:21:::1;::::0;::::1;::::0;::::1;:::i;98472:188::-:0;59180:10;;-1:-1:-1;;;;;59180:10:0;59166;:24;59158:33;;;;;;60787:6:::1;::::0;-1:-1:-1;;;60787:6:0;::::1;;;60779:15;;;::::0;::::1;;98553:12:::2;::::0;-1:-1:-1;;;;;98553:12:0::2;98537:44;;;::::0;::::2;;98637:15;:13;:15::i;:::-;98472:188::o:0;40973:185::-;41111:39;41128:4;41134:2;41138:7;41111:39;;;;;;;;;;;;:16;:39::i;91726:403::-;60640:6;;-1:-1:-1;;;60640:6:0;;;;60639:7;60631:16;;;;;;91962:14:::1;91979:23:::0;;;:13:::1;:23;::::0;;;;:30;-1:-1:-1;;;;;91979:30:0::1;92038:25;91993:8:::0;92053:9:::1;92038:4;:25::i;:::-;;92078:39;92088:6;92096:10;92108:8;92078:9;:39::i;77550:384::-:0;77661:4;77704:1;77691:10;:14;77683:23;;;;;;77738:1;77725:10;:14;77717:23;;;;;;77751:22;77776:6;77783:10;77776:18;;;;;;;;:::i;:::-;;;;;;;;;;;77751:43;;77805:22;77830:6;77837:10;77830:18;;;;;;;;:::i;:::-;;;;;;;;;;;77805:43;;77866:60;77885:7;77894:10;77906:7;77915:10;77866:18;:60::i;:::-;77859:67;77550:384;-1:-1:-1;;;;;77550:384:0:o;60023:140::-;59180:10;;-1:-1:-1;;;;;59180:10:0;59166;:24;59158:33;;;;;;-1:-1:-1;;;;;60100:21:0;::::1;60092:30;;;::::0;::::1;;60135:10;:20:::0;;-1:-1:-1;;;;;;60135:20:0::1;-1:-1:-1::0;;;;;60135:20:0;;;::::1;::::0;;;::::1;::::0;;60023:140::o;51052:233::-;51127:7;51163:30;50950:10;:17;;50862:113;51163:30;51155:5;:38;51147:95;;;;-1:-1:-1;;;51147:95:0;;23769:2:1;51147:95:0;;;23751:21:1;23808:2;23788:18;;;23781:30;23847:34;23827:18;;;23820:62;-1:-1:-1;;;23898:18:1;;;23891:42;23950:19;;51147:95:0;23567:408:1;51147:95:0;51260:10;51271:5;51260:17;;;;;;;;:::i;:::-;;;;;;;;;51253:24;;51052:233;;;:::o;74485:84::-;59180:10;;-1:-1:-1;;;;;59180:10:0;59166;:24;59158:33;;;;;;74547:8:::1;:14:::0;74485:84::o;68650:142::-;59470:10;;-1:-1:-1;;;;;59470:10:0;59456;:24;;:65;;-1:-1:-1;59511:10:0;;-1:-1:-1;;;;;59511:10:0;59497;:24;59456:65;:106;;;-1:-1:-1;59552:10:0;;-1:-1:-1;;;;;59552:10:0;59538;:24;59456:106;59434:139;;;;;;68738:9:::1;:12:::0;::::1;;68731:19:::0;::::1;68723:28;;;::::0;::::1;;68762:15;:22:::0;68650:142::o;98672:114::-;59271:10;;-1:-1:-1;;;;;59271:10:0;59257;:24;59249:33;;;;;;98735:10:::1;::::0;98727:51:::1;::::0;-1:-1:-1;;;;;98735:10:0;;::::1;::::0;98756:21:::1;98727:51:::0;::::1;;;::::0;98735:10:::1;98727:51:::0;98735:10;98727:51;98756:21;98735:10;98727:51;::::1;;;;;;;;;;;;;::::0;::::1;;;;;;98672:114::o:0;66448:215::-;66549:13;66588:28;;;:18;:28;;;;;;-1:-1:-1;;;;;66588:28:0;66635:19;66627:28;;;;;;66448:215;;;:::o;83215:397::-;60640:6;;-1:-1:-1;;;60640:6:0;;;;60639:7;60631:16;;;;;;83416:8:::1;;83403:9;:21;;83395:30;;;::::0;::::1;;83515:26;83521:10;83533:7;83515:5;:26::i;:::-;83507:35;;;::::0;::::1;;83563:41;83574:7;83583:9;83594;83563:10;:41::i;79263:1135::-:0;60640:6;;-1:-1:-1;;;60640:6:0;;;;60639:7;60631:16;;;;;;79449:8:::1;;79436:9;:21;;79428:30;;;::::0;::::1;;79541:29;79547:10;79559;79541:5;:29::i;:::-;79533:38;;;::::0;::::1;;79590:29;79596:10;79608;79590:5;:29::i;:::-;79582:38;;;::::0;::::1;;79682:22;79707:6;79714:10;79707:18;;;;;;;;:::i;:::-;;;;;;;;;;;79682:43;;79830:24;79846:7;73031:22:::0;;;-1:-1:-1;;;;;73064:12:0;73031:46;;-1:-1:-1;;;73031:22:0;;;;:46;;;72701:384;79830:24:::1;79822:33;;;::::0;::::1;;79918:22;79943:6;79950:10;79943:18;;;;;;;;:::i;:::-;;;;;;;;;;;79918:43;;80066:24;80082:7;73031:22:::0;;;-1:-1:-1;;;;;73064:12:0;73031:46;;-1:-1:-1;;;73031:22:0;;;;:46;;;72701:384;80066:24:::1;80058:33;;;::::0;::::1;;80170:123;80203:7;80225:10;80250:7;80272:10;80170:18;:123::i;:::-;80162:132;;;::::0;::::1;;80356:34;80367:10;80379;80356;:34::i;:::-;;79385:1013;;79263:1135:::0;;:::o;66672:210::-;66736:7;-1:-1:-1;;;;;66764:19:0;;66756:74;;;;-1:-1:-1;;;66756:74:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;;66848:26:0;;;;;:19;:26;;;;;;;66672:210::o;17813:94::-;17393:12;:10;:12::i;:::-;-1:-1:-1;;;;;17382:23:0;:7;17235:6;;-1:-1:-1;;;;;17235:6:0;;17162:87;17382:7;-1:-1:-1;;;;;17382:23:0;;17374:68;;;;-1:-1:-1;;;17374:68:0;;;;;;;:::i;:::-;17878:21:::1;17896:1;17878:9;:21::i;85541:149::-:0;59470:10;;-1:-1:-1;;;;;59470:10:0;59456;:24;;:65;;-1:-1:-1;59511:10:0;;-1:-1:-1;;;;;59511:10:0;59497;:24;59456:65;:106;;;-1:-1:-1;59552:10:0;;-1:-1:-1;;;;;59552:10:0;59538;:24;59456:106;59434:139;;;;;;85637:5:::1;85624:9;:18;;85616:27;;;::::0;::::1;;85658:8;:20:::0;85541:149::o;74779:178::-;74867:4;74906:1;74897:6;:10;74889:19;;;;;;74926:23;74942:6;74926:15;:23::i;60971:83::-;59470:10;;-1:-1:-1;;;;;59470:10:0;59456;:24;;:65;;-1:-1:-1;59511:10:0;;-1:-1:-1;;;;;59511:10:0;59497;:24;59456:65;:106;;;-1:-1:-1;59552:10:0;;-1:-1:-1;;;;;59552:10:0;59538;:24;59456:106;59434:139;;;;;;60640:6:::1;::::0;-1:-1:-1;;;60640:6:0;::::1;;;60639:7;60631:16;;;::::0;::::1;;61033:6:::2;:13:::0;;-1:-1:-1;;;;61033:13:0::2;-1:-1:-1::0;;;61033:13:0::2;::::0;;60971:83::o;67350:905::-;67411:28;67452:18;67473:17;67483:6;67473:9;:17::i;:::-;67452:38;-1:-1:-1;67507:15:0;67503:745;;-1:-1:-1;;67584:16:0;;;67598:1;67584:16;;;;;;;;;67577:23;-1:-1:-1;67350:905:0:o;67503:745::-;67633:23;67673:10;-1:-1:-1;;;;;67659:25:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;67659:25:0;;67633:51;;67699:19;67721:13;50950:10;:17;;50862:113;67721:13;67699:35;-1:-1:-1;67749:19:0;67982:1;67966:243;67997:11;67985:8;:23;67966:243;;68045:28;;;;:18;:28;;;;;;-1:-1:-1;;;;;68045:38:0;;;:28;;:38;68041:153;;;68130:8;68108:6;68115:11;68108:19;;;;;;;;:::i;:::-;;;;;;;;;;:30;68161:13;;;;:::i;:::-;;;;68041:153;68010:10;;;;:::i;:::-;;;;67966:243;;;-1:-1:-1;68230:6:0;;67350:905;-1:-1:-1;;;;;67350:905:0:o;67503:745::-;67441:814;67350:905;;;:::o;74183:84::-;59180:10;;-1:-1:-1;;;;;59180:10:0;59166;:24;59158:33;;;;;;74245:8:::1;:14:::0;74183:84::o;98051:122::-;59180:10;;-1:-1:-1;;;;;59180:10:0;59166;:24;59158:33;;;;;;98132;;::::1;::::0;:15:::1;::::0;:33:::1;::::0;::::1;::::0;::::1;:::i;38283:104::-:0;38339:13;38372:7;38365:14;;;;;:::i;91035:679::-;60640:6;;-1:-1:-1;;;60640:6:0;;;;60639:7;60631:16;;;;;;91396:6:::1;-1:-1:-1::0;;;;;91380:24:0::1;91370:6;:34;91362:43;;;::::0;::::1;;91442:28;::::0;;;:18:::1;:28;::::0;;;;;-1:-1:-1;;;;;91442:28:0::1;91428:10;:42;91420:51;;;::::0;::::1;;91488:16;91507:130;;;;;;;;91538:7;-1:-1:-1::0;;;;;91507:130:0::1;;;;;91573:6;-1:-1:-1::0;;;;;91507:130:0::1;;;;;91606:15;-1:-1:-1::0;;;;;91507:130:0::1;;;::::0;91488:149:::1;;91652:50;91661:7;91670:8;91680:4;91686:15;91652:8;:50::i;:::-;91214:500;91035:679:::0;;;:::o;63977:410::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;95854:591::-;95915:16;;;;95914:17;95905:27;;;;;;95965:14;;95952:9;:27;;95943:37;;;;;;96019:14;;96000:16;;:33;95991:43;;;;;;94328:5;96054:16;;:42;96045:52;;;;;;96144:14;;96130:10;96144:14;96117:24;;;:12;:24;;;;;;96144:14;;;;96117:24;;:41;96108:51;;;;;;96269:10;;96253:48;;-1:-1:-1;;;;;96269:10:0;;;;96291:9;96253:48;;;;;96269:10;96253:48;96269:10;96253:48;96291:9;96269:10;96253:48;;;;;;;;;;;;;;;;;;;;-1:-1:-1;96314:16:0;:18;;;:16;:18;;;:::i;:::-;;;;-1:-1:-1;;96356:10:0;96343:24;;;;:12;:24;;;;;:26;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;96390:37;96404:1;96407;96410;96413;96416:10;96390:13;:37::i;39966:295::-;40081:12;:10;:12::i;:::-;-1:-1:-1;;;;;40069:24:0;:8;-1:-1:-1;;;;;40069:24:0;;;40061:62;;;;-1:-1:-1;;;40061:62:0;;18583:2:1;40061:62:0;;;18565:21:1;18622:2;18602:18;;;18595:30;18661:27;18641:18;;;18634:55;18706:18;;40061:62:0;18381:349:1;40061:62:0;40181:8;40136:18;:32;40155:12;:10;:12::i;:::-;-1:-1:-1;;;;;40136:32:0;;;;;;;;;;;;;;;;;-1:-1:-1;40136:32:0;;;:42;;;;;;;;;;;;:53;;-1:-1:-1;;40136:53:0;;;;;;;;;;;40220:12;:10;:12::i;:::-;-1:-1:-1;;;;;40205:48:0;;40244:8;40205:48;;;;13541:14:1;13534:22;13516:41;;13504:2;13489:18;;13376:187;40205:48:0;;;;;;;;39966:295;;:::o;70301:912::-;60640:6;;-1:-1:-1;;;60640:6:0;;;;60639:7;60631:16;;;;;;-1:-1:-1;;;;;70511:17:0;::::1;70503:26;;;::::0;::::1;;-1:-1:-1::0;;;;;70768:20:0;::::1;70783:4;70768:20;;70760:29;;;::::0;::::1;;71050:27;71056:10;71068:8;71050:5;:27::i;:::-;71042:36;;;::::0;::::1;;71169;71179:10;71191:3;71196:8;71169:9;:36::i;41229:328::-:0;41404:41;41423:12;:10;:12::i;:::-;41437:7;41404:18;:41::i;:::-;41396:103;;;;-1:-1:-1;;;41396:103:0;;;;;;;:::i;:::-;41510:39;41524:4;41530:2;41534:7;41543:5;41510:13;:39::i;92417:269::-;92489:17;92509:23;;;:13;:23;;;;;90204:15;;;;92543:24;;;;;;92595:11;;-1:-1:-1;;;;;92595:11:0;92625:10;:20;;92617:29;;;;;;92657:21;92669:8;92657:11;:21::i;93788:232::-;93881:7;93926:23;;;:13;:23;;;;;90204:15;;;;93960:24;;;;;;94002:10;;;-1:-1:-1;;;;;94002:10:0;;93788:232;-1:-1:-1;;93788:232:0:o;98181:175::-;98247:13;98304:14;:12;:14::i;:::-;98320:26;98337:8;98320:16;:26::i;:::-;98287:60;;;;;;;;;:::i;:::-;;;;;;;;;;;;;98273:75;;98181:175;;;:::o;75163:223::-;75251:4;75290:1;75281:6;:10;75273:19;;;;;;75303;75325:6;75332;75325:14;;;;;;;;:::i;:::-;;;;;;;;;;;75303:36;;75357:21;75373:4;73031:22;;;-1:-1:-1;;;;;73064:12:0;73031:46;;-1:-1:-1;;;73031:22:0;;;;:46;;;72701:384;75357:21;75350:28;75163:223;-1:-1:-1;;;75163:223:0:o;97835:93::-;97880:13;97913:7;97906:14;;;;;:::i;93283:380::-;93383:14;93488:23;;;:13;:23;;;;;90204:15;;;;93383:14;;;;93522:24;;;;;;93579:11;;;93605:10;;;93630:14;;;;;-1:-1:-1;;;;;93579:11:0;;;;-1:-1:-1;;;;;93605:10:0;;;;-1:-1:-1;93630:14:0;-1:-1:-1;93283:380:0;-1:-1:-1;;93283:380:0:o;94935:89::-;59470:10;;-1:-1:-1;;;;;59470:10:0;59456;:24;;:65;;-1:-1:-1;59511:10:0;;-1:-1:-1;;;;;59511:10:0;59497;:24;59456:65;:106;;;-1:-1:-1;59552:10:0;;-1:-1:-1;;;;;59552:10:0;59538;:24;59456:106;59434:139;;;;;;94993:16:::1;:23:::0;;-1:-1:-1;;94993:23:0::1;95012:4;94993:23;::::0;;94935:89::o;71783:480::-;59180:10;;-1:-1:-1;;;;;59180:10:0;59166;:24;59158:33;;;;;;71860:38:::1;71922:8;71860:71;;72134:17;-1:-1:-1::0;;;;;72134:32:0::1;;:34;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;72126:43;;;::::0;::::1;;72223:12;:32:::0;;-1:-1:-1;;;;;;72223:32:0::1;-1:-1:-1::0;;;;;72223:32:0;;;::::1;::::0;;;::::1;::::0;;-1:-1:-1;71783:480:0:o;98364:100::-;98408:13;98441:15;98434:22;;;;;:::i;57318:445::-;57572:20;;57616:28;;-1:-1:-1;;;57616:28:0;;-1:-1:-1;;;;;9805:32:1;;;57616:28:0;;;9787:51:1;57443:4:0;;57572:20;;;57608:49;;;;57572:20;;57616:21;;9760:18:1;;57616:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;57608:49:0;;57604:93;;;57681:4;57674:11;;;;;57604:93;-1:-1:-1;;;;;40453:25:0;;;40429:4;40453:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;57716:39;57709:46;57318:445;-1:-1:-1;;;;57318:445:0:o;98927:844::-;99019:12;99042:21;99074:20;99105:17;99133;99161;99189:18;99218:24;99253:13;99285:19;99307:6;99314:3;99307:11;;;;;;;;:::i;:::-;;;;;;;;;;;99285:33;;99365:12;99340:4;:21;;;;;;;;;;-1:-1:-1;;;;;99340:21:0;-1:-1:-1;;;;;99340:37:0;;;99329:49;;99413:4;:18;;;;;;;;;;;;99405:27;;99389:43;;99466:4;:21;;;;;;;;;;-1:-1:-1;;;;;99466:21:0;-1:-1:-1;;;;;99458:30:0;99443:45;;99519:4;:14;;;;;;;;;;-1:-1:-1;;;;;99519:14:0;-1:-1:-1;;;;;99511:23:0;99499:35;;99565:4;:14;;;;;;;;;;;;99557:23;;99545:35;;99611:4;:14;;;;;;;;;;;;99603:23;;99591:35;;99658:4;:15;;;;;;;;;;;;99650:24;;99637:37;;99712:4;:21;;;;;;;;;;-1:-1:-1;;;;;99712:21:0;-1:-1:-1;;;;;99704:30:0;99685:49;;99753:4;:10;;;99745:18;;99274:497;98927:844;;;;;;;;;;;:::o;18062:192::-;17393:12;:10;:12::i;:::-;-1:-1:-1;;;;;17382:23:0;:7;17235:6;;-1:-1:-1;;;;;17235:6:0;;17162:87;17382:7;-1:-1:-1;;;;;17382:23:0;;17374:68;;;;-1:-1:-1;;;17374:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;18151:22:0;::::1;18143:73;;;::::0;-1:-1:-1;;;18143:73:0;;17057:2:1;18143:73:0::1;::::0;::::1;17039:21:1::0;17096:2;17076:18;;;17069:30;17135:34;17115:18;;;17108:62;-1:-1:-1;;;17186:18:1;;;17179:36;17232:19;;18143:73:0::1;16855:402:1::0;18143:73:0::1;18227:19;18237:8;18227:9;:19::i;96708:383::-:0;59362:10;;-1:-1:-1;;;;;59362:10:0;59348;:24;59340:33;;;;;;96815:6;-1:-1:-1;;;;;96846:25:0;::::1;96842:83;;-1:-1:-1::0;96903:10:0::1;::::0;-1:-1:-1;;;;;96903:10:0::1;96842:83;94267:4;96953:17;;:40;96945:49;;;::::0;::::1;;97007:17;:19:::0;;;:17:::1;:19;::::0;::::1;:::i;:::-;;;;;;97040:43;97054:1;97057::::0;97060::::1;97063:6;97071:11;97040:13;:43::i;2546:650::-:0;2617:22;2661:10;2683:4;2661:27;2657:508;;;2705:18;2726:8;;2705:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;2765:8:0;2976:17;2970:24;-1:-1:-1;;;;;2944:134:0;;-1:-1:-1;2657:508:0;;-1:-1:-1;2657:508:0;;-1:-1:-1;3142:10:0;2657:508;2546:650;:::o;37538:208::-;37610:7;-1:-1:-1;;;;;37638:19:0;;37630:74;;;;-1:-1:-1;;;37630:74:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;;37722:16:0;;;;;:9;:16;;;;;;;37538:208::o;37169:305::-;37271:4;-1:-1:-1;;;;;;37308:40:0;;-1:-1:-1;;;37308:40:0;;:105;;-1:-1:-1;;;;;;;37365:48:0;;-1:-1:-1;;;37365:48:0;37308:105;:158;;;-1:-1:-1;;;;;;;;;;29257:40:0;;;37430:36;29148:157;37808:239;37880:7;37916:16;;;:7;:16;;;;;;-1:-1:-1;;;;;37916:16:0;37951:19;37943:73;;;;-1:-1:-1;;;37943:73:0;;20592:2:1;37943:73:0;;;20574:21:1;20631:2;20611:18;;;20604:30;20670:34;20650:18;;;20643:62;-1:-1:-1;;;20721:18:1;;;20714:39;20770:19;;37943:73:0;20390:405:1;57907:161:0;57997:14;58036:24;:22;:24::i;:::-;58029:31;;57907:161;:::o;47049:174::-;47124:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;47124:29:0;-1:-1:-1;;;;;47124:29:0;;;;;;;;:24;;47178:23;47124:24;47178:14;:23::i;:::-;-1:-1:-1;;;;;47169:46:0;;;;;;;;;;;47049:174;;:::o;12762:486::-;12940:4;-1:-1:-1;;;;;12965:20:0;;12957:70;;;;-1:-1:-1;;;12957:70:0;;19350:2:1;12957:70:0;;;19332:21:1;19389:2;19369:18;;;19362:30;19428:34;19408:18;;;19401:62;-1:-1:-1;;;19479:18:1;;;19472:35;19524:19;;12957:70:0;19148:401:1;12957:70:0;13081:159;13109:47;13128:27;13148:6;13128:19;:27::i;:::-;13109:18;:47::i;:::-;13081:159;;;;;;;;;;;;15165:25:1;;;;15238:4;15226:17;;15206:18;;;15199:45;15260:18;;;15253:34;;;15303:18;;;15296:34;;;15137:19;;13081:159:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;13058:182:0;:6;-1:-1:-1;;;;;13058:182:0;;13038:202;;12762:486;;;;;;;:::o;5993:98::-;6051:7;6078:5;6082:1;6078;:5;:::i;43361:348::-;43454:4;43156:16;;;:7;:16;;;;;;-1:-1:-1;;;;;43156:16:0;43471:73;;;;-1:-1:-1;;;43471:73:0;;18937:2:1;43471:73:0;;;18919:21:1;18976:2;18956:18;;;18949:30;19015:34;18995:18;;;18988:62;-1:-1:-1;;;19066:18:1;;;19059:42;19118:19;;43471:73:0;18735:408:1;43471:73:0;43555:13;43571:23;43586:7;43571:14;:23::i;:::-;43555:39;;43624:5;-1:-1:-1;;;;;43613:16:0;:7;-1:-1:-1;;;;;43613:16:0;;:51;;;;43657:7;-1:-1:-1;;;;;43633:31:0;:20;43645:7;43633:11;:20::i;:::-;-1:-1:-1;;;;;43633:31:0;;43613:51;:87;;;;43668:32;43685:5;43692:7;43668:16;:32::i;65608:700::-;65731:5;-1:-1:-1;;;;;65710:26:0;:17;65718:8;65710:7;:17::i;:::-;-1:-1:-1;;;;;65710:26:0;;65702:80;;;;-1:-1:-1;;;65702:80:0;;22137:2:1;65702:80:0;;;22119:21:1;22176:2;22156:18;;;22149:30;22215:34;22195:18;;;22188:62;-1:-1:-1;;;22266:18:1;;;22259:39;22315:19;;65702:80:0;21935:405:1;65702:80:0;-1:-1:-1;;;;;65801:17:0;;65793:66;;;;-1:-1:-1;;;65793:66:0;;18178:2:1;65793:66:0;;;18160:21:1;18217:2;18197:18;;;18190:30;18256:34;18236:18;;;18229:62;-1:-1:-1;;;18307:18:1;;;18300:34;18351:19;;65793:66:0;17976:400:1;65793:66:0;-1:-1:-1;;;;;65948:24:0;;;;;;:19;:24;;;;;:26;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;;;65985:26:0;;;;;;:19;:26;;;;;:28;;;;;;:::i;:::-;;;;;;66026:42;66047:5;66054:3;66059:8;66026:20;:42::i;:::-;66121:28;;;;:18;:28;;;;;:34;;-1:-1:-1;;;;;;66121:34:0;-1:-1:-1;;;;;66121:34:0;;;;;66220:30;;66121:28;66220:8;:30::i;:::-;66289:8;66284:3;-1:-1:-1;;;;;66268:30:0;66277:5;-1:-1:-1;;;;;66268:30:0;;;;;;;;;;;65608:700;;;:::o;86660:139::-;86723:21;86735:8;86723:11;:21::i;:::-;86764:23;;14480:25:1;;;86764:23:0;;14468:2:1;14453:18;86764:23:0;;;;;;;86660:139;:::o;61349:137::-;59180:10;;-1:-1:-1;;;;;59180:10:0;59166;:24;59158:33;;;;;;60787:6:::1;::::0;-1:-1:-1;;;60787:6:0;::::1;;;60779:15;;;::::0;::::1;;61464:6:::2;:14:::0;;-1:-1:-1;;;;61464:14:0::2;::::0;;61349:137::o;86923:2853::-;87021:7;87125:23;;;:13;:23;;;;;90204:15;;;;87441:24;;;;;;87527:11;;;87572:10;;;-1:-1:-1;;;;;87527:11:0;;;;-1:-1:-1;;;;;87572:10:0;87688:21;;;;87680:30;;;;;;87871:21;87883:8;87871:11;:21::i;:::-;-1:-1:-1;;;;;87977:9:0;;;87973:1053;;88200:19;88222:18;88234:5;-1:-1:-1;;;;;88222:18:0;:11;:18::i;:::-;88200:40;-1:-1:-1;88259:22:0;88284:19;88200:40;-1:-1:-1;;;;;88284:19:0;;;:::i;:::-;88918:10;;88910:41;;88259:44;;-1:-1:-1;;;;;;88918:10:0;;88910:41;;;;;88939:11;;88918:10;88910:41;88918:10;88910:41;88939:11;88918:10;88910:41;;;;;;;;;;;;;;;;;;;;-1:-1:-1;88970:40:0;;-1:-1:-1;;;;;88970:24:0;;;:40;;;;;88995:14;;88970:40;;;;88995:14;88970:24;:40;;;;;;;;;;;;;;;;;;;;;87988:1038;;87973:1053;89339:17;89359:20;-1:-1:-1;;;;;89359:20:0;;:12;:20;:::i;:::-;89599:39;;89339:40;;-1:-1:-1;89607:10:0;;89599:39;;;;;89339:40;;89599:39;;;;89339:40;89607:10;89599:39;;;;;;;;;;;;;;;;;;;;-1:-1:-1;89692:43:0;;;24557:25:1;;;-1:-1:-1;;;;;24656:15:1;;24651:2;24636:18;;24629:43;89724:10:0;24688:18:1;;;24681:43;89692::0;;;;;;;24545:2:1;89692:43:0;;;-1:-1:-1;;;;;;89752:12:0;;86923:2853;-1:-1:-1;;;;;86923:2853:0:o;75821:1347::-;76030:4;76114:10;76100;:24;76096:69;;;-1:-1:-1;76148:5:0;76141:12;;76096:69;76220:14;;:19;;:42;;-1:-1:-1;76243:14:0;;:19;76220:42;76216:87;;;-1:-1:-1;76286:5:0;76279:12;;76216:87;76368:18;;;;-1:-1:-1;;;76368:18:0;;;;:32;;;:68;;-1:-1:-1;76404:18:0;;;;-1:-1:-1;;;76404:18:0;;;;:32;;76368:68;76364:113;;;-1:-1:-1;76460:5:0;76453:12;;76364:113;76491:18;;;;-1:-1:-1;;;76491:18:0;;;;:32;;;:68;;-1:-1:-1;76527:18:0;;;;-1:-1:-1;;;76527:18:0;;;;:32;;76491:68;76487:113;;;-1:-1:-1;76583:5:0;76576:12;;76487:113;76684:18;;;;-1:-1:-1;;;76684:18:0;;;;:23;;:50;;-1:-1:-1;76711:18:0;;;;-1:-1:-1;;;76711:18:0;;;;:23;76684:50;76680:94;;;-1:-1:-1;76758:4:0;76751:11;;76680:94;76869:18;;;;;76847;;;;-1:-1:-1;;;76869:18:0;;;;;;;;76847;;;;;:40;;:84;;-1:-1:-1;76913:18:0;;;;;76891;;;;-1:-1:-1;;;76891:18:0;;76913;76891;;;-1:-1:-1;;;76913:18:0;;;;76891:40;76847:84;76843:129;;;-1:-1:-1;76955:5:0;76948:12;;76843:129;77018:18;;;;;76996;;;;-1:-1:-1;;;76996:18:0;;77018;76996;;;-1:-1:-1;;;77018:18:0;;;;76996:40;;:84;;-1:-1:-1;77062:18:0;;;;;77040;;;;-1:-1:-1;;;77062:18:0;;;;;;;;77040;;;;;:40;76996:84;76992:129;;;-1:-1:-1;77104:5:0;77097:12;;76992:129;-1:-1:-1;77156:4:0;75821:1347;;;;;;:::o;69042:193::-;69169:4;69217:9;-1:-1:-1;;;;;69196:30:0;:17;69204:8;69196:7;:17::i;:::-;-1:-1:-1;;;;;69196:30:0;;;69042:193;-1:-1:-1;;;69042:193:0:o;83620:1280::-;83715:26;83744:6;83751:7;83744:15;;;;;;;;:::i;:::-;;;;;;;;;;;83715:44;;83772:22;83797:6;83804:11;:21;;;;;;;;;;;;83797:29;;;;;;;;;;:::i;:::-;;;;;;;;;;;83772:54;;83837:22;83862:6;83869:11;:21;;;;;;;;;;;;83862:29;;;;;;;;;;:::i;:::-;;;;;;;;83968:21;;;;83862:29;;;;;;-1:-1:-1;83862:29:0;;83968:21;-1:-1:-1;;;83968:21:0;;;;:25;83964:130;;84018:13;;;-1:-1:-1;83964:130:0;;;84073:9;84064:18;;83964:130;84110:21;;;;-1:-1:-1;;;84110:21:0;;;;:25;84106:130;;-1:-1:-1;84160:13:0;;84106:130;;;-1:-1:-1;84215:9:0;84106:130;84306:17;;;;-1:-1:-1;;;;;84306:17:0;:22;;;;:48;;-1:-1:-1;84332:17:0;;;;-1:-1:-1;;;;;84332:17:0;:22;;84306:48;84298:57;;;;;;84435:17;;:22;84427:31;;;;;;84566:12;;;84606:28;;;;84543:20;;-1:-1:-1;;;;;84566:12:0;;:23;;84590:6;;84598;;84606:32;;84566:12;-1:-1:-1;;;84606:28:0;;-1:-1:-1;;;;;84606:28:0;:32;:::i;:::-;84566:73;;-1:-1:-1;;;;;;84566:73:0;;;;;;;;;;24936:25:1;;;;24977:18;;;24970:34;;;;-1:-1:-1;;;;;25040:31:1;25020:18;;;25013:59;24909:18;;84566:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;84652:41;;;84802:10;;84786:48;;84543:96;;-1:-1:-1;;;;;;84802:10:0;;84824:9;84786:48;;;;;84652:17;84786:48;84652:17;84786:48;84824:9;84802:10;84786:48;;;;;;;;;;;;;;;;;;;;-1:-1:-1;84852:40:0;;;84858:10;10980:51:1;;11062:2;11047:18;;11040:34;;;11090:18;;;11083:34;;;84852:40:0;;10968:2:1;10953:18;84852:40:0;;;;;;;83704:1196;;;;;;83620:1280;;;:::o;78075:1180::-;78152:7;78226:22;78251:6;78258:10;78251:18;;;;;;;;:::i;:::-;;;;;;;;;;;78226:43;;78280:22;78305:6;78312:10;78305:18;;;;;;;;:::i;:::-;;;;;;;;;78425;;;;;78305;;;;;;;78458;;;;78305;;-1:-1:-1;78425:18:0;-1:-1:-1;;;78425:18:0;;;;;;;78458;;;;:39;-1:-1:-1;78454:102:0;;;-1:-1:-1;78526:18:0;;;;-1:-1:-1;;;78526:18:0;;;;78454:102;78705:10;;78689:55;;78595:9;;-1:-1:-1;;;;;78705:10:0;;78689:55;;;;;78595:9;;78568:24;78689:55;78568:24;78689:55;78595:9;78705:10;78689:55;;;;;;;;;;;;;;;;;;;;-1:-1:-1;78788:13:0;78804:30;;;:18;:30;;;;;;-1:-1:-1;;;;;78804:30:0;;78865:62;78823:10;78891;78903:13;:9;78804:30;78903:13;:::i;:::-;78865:62;;78918:1;78921:5;78865:13;:62::i;:::-;78845:82;;78991:25;79008:7;78991:16;:25::i;:::-;79027;79044:7;79027:16;:25::i;:::-;79126:30;;;;:18;:30;;;;;;;;;;;79193:24;;;79107:111;;-1:-1:-1;;;;;79126:30:0;;;12479:51:1;;12546:18;;;12539:34;;;12589:18;;;12582:34;;;12647:2;12632:18;;12625:34;;;-1:-1:-1;;;79193:24:0;;-1:-1:-1;;;;;79193:24:0;12690:3:1;12675:19;;12668:60;79107:111:0;;12466:3:1;12451:19;79107:111:0;;;;;;;79238:9;78075:1180;-1:-1:-1;;;;;;;;78075:1180:0:o;18262:173::-;18337:6;;;-1:-1:-1;;;;;18354:17:0;;;-1:-1:-1;;;;;;18354:17:0;;;;;;;18387:40;;18337:6;;;18354:17;18337:6;;18387:40;;18318:16;;18387:40;18307:128;18262:173;:::o;72376:203::-;72440:4;72457:26;72486:6;72493:7;72486:15;;;;;;;;:::i;:::-;;;;;;;;;72519:28;72486:15;;;;;72519:28;;-1:-1:-1;;;;;72558:12:0;72519:52;;-1:-1:-1;;;72519:28:0;;;;:52;;;72376:203;-1:-1:-1;;;72376:203:0:o;86235:363::-;86355:23;;;;:13;:23;;;;;;;;;:31;;;;-1:-1:-1;;;;;;86355:31:0;-1:-1:-1;;;;;86355:31:0;;;;;;;;;;-1:-1:-1;86355:31:0;;;;-1:-1:-1;;;;;;86355:31:0;-1:-1:-1;;;;;86355:31:0;;;;;;;;;;;;;;;;;;;;86408:178;;11377:32:1;;;11359:51;;11426:18;;;11419:34;;;11469:18;;;11462:34;;;;11527:2;11512:18;;11505:34;;;86408:178:0;;11346:3:1;11331:19;86408:178:0;;;;;;;86235:363;;;;:::o;81052:2155::-;81256:4;81643:10;81628:27;;81614:10;:41;81606:50;;;;;;81704:10;81689:27;;81675:10;:41;81667:50;;;;;;81766:11;81751:28;;81736:11;:43;81728:52;;;;;;81860:20;81890:15;81904:1;81890:11;:15;:::i;:::-;81860:46;;81937:2;81921:13;:18;;;81917:69;;;-1:-1:-1;81972:2:0;81917:69;82022:307;;;;;;;;;;;-1:-1:-1;;;;;82090:15:0;82022:307;;;;;;;;81998:21;82022:307;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;82364:6;:13;;82388:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;82388:20:0;-1:-1:-1;;;;82388:20:0;;;;-1:-1:-1;;;82388:20:0;;;;;-1:-1:-1;;;;82388:20:0;;;-1:-1:-1;;;82388:20:0;-1:-1:-1;;;;82388:20:0;;;-1:-1:-1;;;82388:20:0;;;;;-1:-1:-1;;;;82388:20:0;;;-1:-1:-1;;;82388:20:0;-1:-1:-1;;;;;;82388:20:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;82022:307;;82364:13;82584:28;;82569:43;;82561:52;;;;;;82731:32;82743:6;82751:11;82731;:32::i;:::-;82784:26;82813:6;82820:11;82813:19;;;;;;;;:::i;:::-;;;;;;;;;;;82784:48;;82843:29;82860:11;82843:16;:29::i;:::-;82998:17;;;;;83039;;;;;83072:13;;82923:245;;;-1:-1:-1;;;;;11879:32:1;;11861:51;;11943:2;11928:18;;11921:34;;;82990:26:0;;;;11971:18:1;;;11964:34;;;;83031:26:0;;;;12014:18:1;;;12007:34;;;;12057:19;;12050:35;12134:6;12122:19;;11899:3;12101:19;;12094:48;-1:-1:-1;;;;;83141:15:0;12179:31:1;12173:3;12158:19;;12151:60;82923:245:0;;11848:3:1;11833:19;82923:245:0;;;;;;;-1:-1:-1;83188:11:0;81052:2155;-1:-1:-1;;;;;;;;81052:2155:0:o;42439:315::-;42596:28;42606:4;42612:2;42616:7;42596:9;:28::i;:::-;42643:48;42666:4;42672:2;42676:7;42685:5;42643:22;:48::i;:::-;42635:111;;;;-1:-1:-1;;;42635:111:0;;;;;;;:::i;13566:723::-;13622:13;13843:10;13839:53;;-1:-1:-1;;13870:10:0;;;;;;;;;;;;-1:-1:-1;;;13870:10:0;;;;;13566:723::o;13839:53::-;13917:5;13902:12;13958:78;13965:9;;13958:78;;13991:8;;;;:::i;:::-;;-1:-1:-1;14014:10:0;;-1:-1:-1;14022:2:0;14014:10;;:::i;:::-;;;13958:78;;;14046:19;14078:6;-1:-1:-1;;;;;14068:17:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;14068:17:0;;14046:39;;14096:154;14103:10;;14096:154;;14130:11;14140:1;14130:11;;:::i;:::-;;-1:-1:-1;14199:10:0;14207:2;14199:5;:10;:::i;:::-;14186:24;;:2;:24;:::i;:::-;14173:39;;14156:6;14163;14156:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;14156:56:0;;;;;;;;-1:-1:-1;14227:11:0;14236:2;14227:11;;:::i;:::-;;;14096:154;;12229:410;12339:7;10406:100;;;;;;;;;;;;;;;;;10386:127;;;;;;;12493:12;;12528:11;;;;12572:24;;;;;12562:35;;;;;;12412:204;;;;;14747:25:1;;;14803:2;14788:18;;14781:34;;;;-1:-1:-1;;;;;14851:32:1;14846:2;14831:18;;14824:60;14915:2;14900:18;;14893:34;14734:3;14719:19;;14516:417;12412:204:0;;;;;;;;;;;;;12384:247;;;;;;12364:267;;12229:410;;;:::o;2166:258::-;2265:7;2367:20;1605:15;;;1527:101;2367:20;2338:63;;-1:-1:-1;;;2338:63:0;;;9502:27:1;9545:11;;;9538:27;;;;9581:12;;;9574:28;;;9618:12;;2338:63:0;9244:392:1;51898:589:0;-1:-1:-1;;;;;52104:18:0;;52100:187;;52139:40;52171:7;53314:10;:17;;53287:24;;;;:15;:24;;;;;:44;;;53342:24;;;;;;;;;;;;53210:164;52139:40;52100:187;;;52209:2;-1:-1:-1;;;;;52201:10:0;:4;-1:-1:-1;;;;;52201:10:0;;52197:90;;52228:47;52261:4;52267:7;52228:32;:47::i;:::-;-1:-1:-1;;;;;52301:16:0;;52297:183;;52334:45;52371:7;52334:36;:45::i;52297:183::-;52407:4;-1:-1:-1;;;;;52401:10:0;:2;-1:-1:-1;;;;;52401:10:0;;52397:83;;52428:40;52456:2;52460:7;52428:27;:40::i;89899:105::-;89969:23;;;;:13;:23;;;;;89962:30;;-1:-1:-1;;;;;;89962:30:0;;;;;;;;-1:-1:-1;;;;;;89962:30:0;;;;;;89899:105::o;90346:438::-;90406:7;90767:5;90756:8;;90747:6;:17;;;;:::i;:::-;:25;;;;:::i;73353:612::-;73593:15;;73569:22;;;;73612:12;;73593:15;73559:9;;-1:-1:-1;;;73569:22:0;;;;73559:33;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;:49;;;;;;:::i;:::-;73558:66;;;;:::i;:::-;73523:25;;;:102;;-1:-1:-1;;73523:102:0;-1:-1:-1;;;;;;;;73523:102:0;;;;;;;;;;;;;;;;73900:2;-1:-1:-1;;;73875:22:0;;;;;:27;73871:87;;;73945:1;73919:22;;;:27;;:22;;:27;;73945:1;;-1:-1:-1;;;73919:27:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;73353:612;:::o;68267:295::-;68339:20;68345:3;68350:8;68339:5;:20::i;:::-;-1:-1:-1;;;;;68450:24:0;;;;;;:19;:24;;;;;:26;;;;;;:::i;:::-;;;;-1:-1:-1;;68520:28:0;;;;:18;:28;;;;;:34;;-1:-1:-1;;;;;;68520:34:0;-1:-1:-1;;;;;68520:34:0;;;;;;;;;;68267:295::o;47788:799::-;47943:4;-1:-1:-1;;;;;47964:13:0;;19531:20;19579:8;47960:620;;48016:2;-1:-1:-1;;;;;48000:36:0;;48037:12;:10;:12::i;:::-;48051:4;48057:7;48066:5;48000:72;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;48000:72:0;;;;;;;;-1:-1:-1;;48000:72:0;;;;;;;;;;;;:::i;:::-;;;47996:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;48242:13:0;;48238:272;;48285:60;;-1:-1:-1;;;48285:60:0;;;;;;;:::i;48238:272::-;48460:6;48454:13;48445:6;48441:2;48437:15;48430:38;47996:529;-1:-1:-1;;;;;;48123:51:0;-1:-1:-1;;;48123:51:0;;-1:-1:-1;48116:58:0;;47960:620;-1:-1:-1;48564:4:0;48557:11;;54001:988;54267:22;54317:1;54292:22;54309:4;54292:16;:22::i;:::-;:26;;;;:::i;:::-;54329:18;54350:26;;;:17;:26;;;;;;54267:51;;-1:-1:-1;54483:28:0;;;54479:328;;-1:-1:-1;;;;;54550:18:0;;54528:19;54550:18;;;:12;:18;;;;;;;;:34;;;;;;;;;54601:30;;;;;;:44;;;54718:30;;:17;:30;;;;;:43;;;54479:328;-1:-1:-1;54903:26:0;;;;:17;:26;;;;;;;;54896:33;;;-1:-1:-1;;;;;54947:18:0;;;;;:12;:18;;;;;:34;;;;;;;54940:41;54001:988::o;55284:1079::-;55562:10;:17;55537:22;;55562:21;;55582:1;;55562:21;:::i;:::-;55594:18;55615:24;;;:15;:24;;;;;;55988:10;:26;;55537:46;;-1:-1:-1;55615:24:0;;55537:46;;55988:26;;;;;;:::i;:::-;;;;;;;;;55966:48;;56052:11;56027:10;56038;56027:22;;;;;;;;:::i;:::-;;;;;;;;;;;;:36;;;;56132:28;;;:15;:28;;;;;;;:41;;;56304:24;;;;;56297:31;56339:10;:16;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;55355:1008;;;55284:1079;:::o;52788:221::-;52873:14;52890:20;52907:2;52890:16;:20::i;:::-;-1:-1:-1;;;;;52921:16:0;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;52966:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;52788:221:0:o;45045:382::-;-1:-1:-1;;;;;45125:16:0;;45117:61;;;;-1:-1:-1;;;45117:61:0;;21002:2:1;45117:61:0;;;20984:21:1;;;21021:18;;;21014:30;21080:34;21060:18;;;21053:62;21132:18;;45117:61:0;20800:356:1;45117:61:0;43132:4;43156:16;;;:7;:16;;;;;;-1:-1:-1;;;;;43156:16:0;:30;45189:58;;;;-1:-1:-1;;;45189:58:0;;17821:2:1;45189:58:0;;;17803:21:1;17860:2;17840:18;;;17833:30;17899;17879:18;;;17872:58;17947:18;;45189:58:0;17619:352:1;45189:58:0;45260:45;45289:1;45293:2;45297:7;45260:20;:45::i;:::-;-1:-1:-1;;;;;45318:13:0;;;;;;:9;:13;;;;;:18;;45335:1;;45318:13;:18;;45335:1;;45318:18;:::i;:::-;;;;-1:-1:-1;;45347:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;45347:21:0;-1:-1:-1;;;;;45347:21:0;;;;;;;;45386:33;;45347:16;;;45386:33;;45347:16;;45386:33;45045:382;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:631:1;78:5;-1:-1:-1;;;;;149:2:1;141:6;138:14;135:40;;;155:18;;:::i;:::-;230:2;224:9;198:2;284:15;;-1:-1:-1;;280:24:1;;;306:2;276:33;272:42;260:55;;;330:18;;;350:22;;;327:46;324:72;;;376:18;;:::i;:::-;416:10;412:2;405:22;445:6;436:15;;475:6;467;460:22;515:3;506:6;501:3;497:16;494:25;491:45;;;532:1;529;522:12;491:45;582:6;577:3;570:4;562:6;558:17;545:44;637:1;630:4;621:6;613;609:19;605:30;598:41;;;;14:631;;;;;:::o;650:220::-;692:5;745:3;738:4;730:6;726:17;722:27;712:55;;763:1;760;753:12;712:55;785:79;860:3;851:6;838:20;831:4;823:6;819:17;785:79;:::i;875:247::-;934:6;987:2;975:9;966:7;962:23;958:32;955:52;;;1003:1;1000;993:12;955:52;1042:9;1029:23;1061:31;1086:5;1061:31;:::i;1387:388::-;1455:6;1463;1516:2;1504:9;1495:7;1491:23;1487:32;1484:52;;;1532:1;1529;1522:12;1484:52;1571:9;1558:23;1590:31;1615:5;1590:31;:::i;:::-;1640:5;-1:-1:-1;1697:2:1;1682:18;;1669:32;1710:33;1669:32;1710:33;:::i;:::-;1762:7;1752:17;;;1387:388;;;;;:::o;1780:456::-;1857:6;1865;1873;1926:2;1914:9;1905:7;1901:23;1897:32;1894:52;;;1942:1;1939;1932:12;1894:52;1981:9;1968:23;2000:31;2025:5;2000:31;:::i;:::-;2050:5;-1:-1:-1;2107:2:1;2092:18;;2079:32;2120:33;2079:32;2120:33;:::i;:::-;1780:456;;2172:7;;-1:-1:-1;;;2226:2:1;2211:18;;;;2198:32;;1780:456::o;2241:665::-;2336:6;2344;2352;2360;2413:3;2401:9;2392:7;2388:23;2384:33;2381:53;;;2430:1;2427;2420:12;2381:53;2469:9;2456:23;2488:31;2513:5;2488:31;:::i;:::-;2538:5;-1:-1:-1;2595:2:1;2580:18;;2567:32;2608:33;2567:32;2608:33;:::i;:::-;2660:7;-1:-1:-1;2714:2:1;2699:18;;2686:32;;-1:-1:-1;2769:2:1;2754:18;;2741:32;-1:-1:-1;;;;;2785:30:1;;2782:50;;;2828:1;2825;2818:12;2782:50;2851:49;2892:7;2883:6;2872:9;2868:22;2851:49;:::i;:::-;2841:59;;;2241:665;;;;;;;:::o;2911:382::-;2976:6;2984;3037:2;3025:9;3016:7;3012:23;3008:32;3005:52;;;3053:1;3050;3043:12;3005:52;3092:9;3079:23;3111:31;3136:5;3111:31;:::i;:::-;3161:5;-1:-1:-1;3218:2:1;3203:18;;3190:32;3231:30;3190:32;3231:30;:::i;3298:758::-;3400:6;3408;3416;3424;3432;3485:3;3473:9;3464:7;3460:23;3456:33;3453:53;;;3502:1;3499;3492:12;3453:53;3541:9;3528:23;3560:31;3585:5;3560:31;:::i;:::-;3610:5;-1:-1:-1;3666:2:1;3651:18;;3638:32;-1:-1:-1;;;;;3682:30:1;;3679:50;;;3725:1;3722;3715:12;3679:50;3748:49;3789:7;3780:6;3769:9;3765:22;3748:49;:::i;:::-;3738:59;;;3844:2;3833:9;3829:18;3816:32;3806:42;;3895:2;3884:9;3880:18;3867:32;3857:42;;3951:3;3940:9;3936:19;3923:33;4000:4;3991:7;3987:18;3978:7;3975:31;3965:59;;4020:1;4017;4010:12;3965:59;4043:7;4033:17;;;3298:758;;;;;;;;:::o;4061:315::-;4129:6;4137;4190:2;4178:9;4169:7;4165:23;4161:32;4158:52;;;4206:1;4203;4196:12;4158:52;4245:9;4232:23;4264:31;4289:5;4264:31;:::i;:::-;4314:5;4366:2;4351:18;;;;4338:32;;-1:-1:-1;;;4061:315:1:o;4381:245::-;4448:6;4501:2;4489:9;4480:7;4476:23;4472:32;4469:52;;;4517:1;4514;4507:12;4469:52;4549:9;4543:16;4568:28;4590:5;4568:28;:::i;4631:245::-;4689:6;4742:2;4730:9;4721:7;4717:23;4713:32;4710:52;;;4758:1;4755;4748:12;4710:52;4797:9;4784:23;4816:30;4840:5;4816:30;:::i;4881:249::-;4950:6;5003:2;4991:9;4982:7;4978:23;4974:32;4971:52;;;5019:1;5016;5009:12;4971:52;5051:9;5045:16;5070:30;5094:5;5070:30;:::i;5135:280::-;5234:6;5287:2;5275:9;5266:7;5262:23;5258:32;5255:52;;;5303:1;5300;5293:12;5255:52;5335:9;5329:16;5354:31;5379:5;5354:31;:::i;5420:450::-;5489:6;5542:2;5530:9;5521:7;5517:23;5513:32;5510:52;;;5558:1;5555;5548:12;5510:52;5598:9;5585:23;-1:-1:-1;;;;;5623:6:1;5620:30;5617:50;;;5663:1;5660;5653:12;5617:50;5686:22;;5739:4;5731:13;;5727:27;-1:-1:-1;5717:55:1;;5768:1;5765;5758:12;5717:55;5791:73;5856:7;5851:2;5838:16;5833:2;5829;5825:11;5791:73;:::i;5875:272::-;5933:6;5986:2;5974:9;5965:7;5961:23;5957:32;5954:52;;;6002:1;5999;5992:12;5954:52;6041:9;6028:23;6091:6;6084:5;6080:18;6073:5;6070:29;6060:57;;6113:1;6110;6103:12;6152:180;6211:6;6264:2;6252:9;6243:7;6239:23;6235:32;6232:52;;;6280:1;6277;6270:12;6232:52;-1:-1:-1;6303:23:1;;6152:180;-1:-1:-1;6152:180:1:o;6337:184::-;6407:6;6460:2;6448:9;6439:7;6435:23;6431:32;6428:52;;;6476:1;6473;6466:12;6428:52;-1:-1:-1;6499:16:1;;6337:184;-1:-1:-1;6337:184:1:o;6526:315::-;6594:6;6602;6655:2;6643:9;6634:7;6630:23;6626:32;6623:52;;;6671:1;6668;6661:12;6623:52;6707:9;6694:23;6684:33;;6767:2;6756:9;6752:18;6739:32;6780:31;6805:5;6780:31;:::i;6846:248::-;6914:6;6922;6975:2;6963:9;6954:7;6950:23;6946:32;6943:52;;;6991:1;6988;6981:12;6943:52;-1:-1:-1;;7014:23:1;;;7084:2;7069:18;;;7056:32;;-1:-1:-1;6846:248:1:o;7099:383::-;7176:6;7184;7192;7245:2;7233:9;7224:7;7220:23;7216:32;7213:52;;;7261:1;7258;7251:12;7213:52;7297:9;7284:23;7274:33;;7354:2;7343:9;7339:18;7326:32;7316:42;;7408:2;7397:9;7393:18;7380:32;7421:31;7446:5;7421:31;:::i;:::-;7471:5;7461:15;;;7099:383;;;;;:::o;7487:316::-;7564:6;7572;7580;7633:2;7621:9;7612:7;7608:23;7604:32;7601:52;;;7649:1;7646;7639:12;7601:52;-1:-1:-1;;7672:23:1;;;7742:2;7727:18;;7714:32;;-1:-1:-1;7793:2:1;7778:18;;;7765:32;;7487:316;-1:-1:-1;7487:316:1:o;7808:257::-;7849:3;7887:5;7881:12;7914:6;7909:3;7902:19;7930:63;7986:6;7979:4;7974:3;7970:14;7963:4;7956:5;7952:16;7930:63;:::i;:::-;8047:2;8026:15;-1:-1:-1;;8022:29:1;8013:39;;;;8054:4;8009:50;;7808:257;-1:-1:-1;;7808:257:1:o;8070:274::-;8199:3;8237:6;8231:13;8253:53;8299:6;8294:3;8287:4;8279:6;8275:17;8253:53;:::i;:::-;8322:16;;;;;8070:274;-1:-1:-1;;8070:274:1:o;8349:415::-;8506:3;8544:6;8538:13;8560:53;8606:6;8601:3;8594:4;8586:6;8582:17;8560:53;:::i;:::-;8682:2;8678:15;;;;-1:-1:-1;;8674:53:1;8635:16;;;;8660:68;;;8755:2;8744:14;;8349:415;-1:-1:-1;;8349:415:1:o;8769:470::-;8948:3;8986:6;8980:13;9002:53;9048:6;9043:3;9036:4;9028:6;9024:17;9002:53;:::i;:::-;9118:13;;9077:16;;;;9140:57;9118:13;9077:16;9174:4;9162:17;;9140:57;:::i;:::-;9213:20;;8769:470;-1:-1:-1;;;;8769:470:1:o;9849:431::-;-1:-1:-1;;;;;10106:15:1;;;10088:34;;10158:15;;10153:2;10138:18;;10131:43;10210:2;10205;10190:18;;10183:30;;;10031:4;;10230:44;;10255:18;;10247:6;10230:44;:::i;10285:488::-;-1:-1:-1;;;;;10554:15:1;;;10536:34;;10606:15;;10601:2;10586:18;;10579:43;10653:2;10638:18;;10631:34;;;10701:3;10696:2;10681:18;;10674:31;;;10479:4;;10722:45;;10747:19;;10739:6;10722:45;:::i;:::-;10714:53;10285:488;-1:-1:-1;;;;;;10285:488:1:o;12739:632::-;12910:2;12962:21;;;13032:13;;12935:18;;;13054:22;;;12881:4;;12910:2;13133:15;;;;13107:2;13092:18;;;12881:4;13176:169;13190:6;13187:1;13184:13;13176:169;;;13251:13;;13239:26;;13320:15;;;;13285:12;;;;13212:1;13205:9;13176:169;;;-1:-1:-1;13362:3:1;;12739:632;-1:-1:-1;;;;;;12739:632:1:o;15341:217::-;15488:2;15477:9;15470:21;15451:4;15508:44;15548:2;15537:9;15533:18;15525:6;15508:44;:::i;16436:414::-;16638:2;16620:21;;;16677:2;16657:18;;;16650:30;16716:34;16711:2;16696:18;;16689:62;-1:-1:-1;;;16782:2:1;16767:18;;16760:48;16840:3;16825:19;;16436:414::o;19979:406::-;20181:2;20163:21;;;20220:2;20200:18;;;20193:30;20259:34;20254:2;20239:18;;20232:62;-1:-1:-1;;;20325:2:1;20310:18;;20303:40;20375:3;20360:19;;19979:406::o;21574:356::-;21776:2;21758:21;;;21795:18;;;21788:30;21854:34;21849:2;21834:18;;21827:62;21921:2;21906:18;;21574:356::o;23149:413::-;23351:2;23333:21;;;23390:2;23370:18;;;23363:30;23429:34;23424:2;23409:18;;23402:62;-1:-1:-1;;;23495:2:1;23480:18;;23473:47;23552:3;23537:19;;23149:413::o;25280:224::-;25319:3;25347:6;25380:2;25377:1;25373:10;25410:2;25407:1;25403:10;25441:3;25437:2;25433:12;25428:3;25425:21;25422:47;;;25449:18;;:::i;25509:128::-;25549:3;25580:1;25576:6;25573:1;25570:13;25567:39;;;25586:18;;:::i;:::-;-1:-1:-1;25622:9:1;;25509:128::o;25642:120::-;25682:1;25708;25698:35;;25713:18;;:::i;:::-;-1:-1:-1;25747:9:1;;25642:120::o;25767:168::-;25807:7;25873:1;25869;25865:6;25861:14;25858:1;25855:21;25850:1;25843:9;25836:17;25832:45;25829:71;;;25880:18;;:::i;:::-;-1:-1:-1;25920:9:1;;25767:168::o;25940:125::-;25980:4;26008:1;26005;26002:8;25999:34;;;26013:18;;:::i;:::-;-1:-1:-1;26050:9:1;;25940:125::o;26070:229::-;26109:4;-1:-1:-1;;;;;26206:10:1;;;;26176;;26228:12;;;26225:38;;;26243:18;;:::i;:::-;26280:13;;26070:229;-1:-1:-1;;;26070:229:1:o;26304:258::-;26376:1;26386:113;26400:6;26397:1;26394:13;26386:113;;;26476:11;;;26470:18;26457:11;;;26450:39;26422:2;26415:10;26386:113;;;26517:6;26514:1;26511:13;26508:48;;;-1:-1:-1;;26552:1:1;26534:16;;26527:27;26304:258::o;26567:136::-;26606:3;26634:5;26624:39;;26643:18;;:::i;:::-;-1:-1:-1;;;26679:18:1;;26567:136::o;26708:380::-;26787:1;26783:12;;;;26830;;;26851:61;;26905:4;26897:6;26893:17;26883:27;;26851:61;26958:2;26950:6;26947:14;26927:18;26924:38;26921:161;;;27004:10;26999:3;26995:20;26992:1;26985:31;27039:4;27036:1;27029:15;27067:4;27064:1;27057:15;27093:197;27131:3;27159:6;27200:2;27193:5;27189:14;27227:2;27218:7;27215:15;27212:41;;;27233:18;;:::i;:::-;27282:1;27269:15;;27093:197;-1:-1:-1;;;27093:197:1:o;27295:135::-;27334:3;-1:-1:-1;;27355:17:1;;27352:43;;;27375:18;;:::i;:::-;-1:-1:-1;27422:1:1;27411:13;;27295:135::o;27435:112::-;27467:1;27493;27483:35;;27498:18;;:::i;:::-;-1:-1:-1;27532:9:1;;27435:112::o;27552:127::-;27613:10;27608:3;27604:20;27601:1;27594:31;27644:4;27641:1;27634:15;27668:4;27665:1;27658:15;27684:127;27745:10;27740:3;27736:20;27733:1;27726:31;27776:4;27773:1;27766:15;27800:4;27797:1;27790:15;27816:127;27877:10;27872:3;27868:20;27865:1;27858:31;27908:4;27905:1;27898:15;27932:4;27929:1;27922:15;27948:127;28009:10;28004:3;28000:20;27997:1;27990:31;28040:4;28037:1;28030:15;28064:4;28061:1;28054:15;28080:127;28141:10;28136:3;28132:20;28129:1;28122:31;28172:4;28169:1;28162:15;28196:4;28193:1;28186:15;28212:131;-1:-1:-1;;;;;28287:31:1;;28277:42;;28267:70;;28333:1;28330;28323:12;28348:118;28434:5;28427:13;28420:21;28413:5;28410:32;28400:60;;28456:1;28453;28446:12;28471:131;-1:-1:-1;;;;;;28545:32:1;;28535:43;;28525:71;;28592:1;28589;28582:12

Swarm Source

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