Token Buffer

Overview ERC-721

Total Supply:
0 BFR

Holders:
1 addresses

Profile Summary

 
Contract:
0x4fc7224096d58e3a9950c332c0871ac1ecd572240x4fc7224096D58e3A9950C332C0871ac1ECd57224

Balance
0 BFR
0x0000000000000000000000000000000000000000
Loading
[ Download CSV Export  ] 
Loading
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
BufferGenericBNBOptionsV2

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2022-01-31
*/

/**
 *Submitted for verification at BscScan.com on 2022-01-19
*/

// SPDX-License-Identifier: GPL-3.0-or-later

pragma solidity 0.8.4;



// Part: AggregatorV3Interface

interface AggregatorV3Interface {
    function decimals() external view returns (uint8);

    function description() external view returns (string memory);

    function version() external view returns (uint256);

    // getRoundData and latestRoundData should both raise "No data present"
    // if they do not have data to report, instead of returning unset values
    // which could be misinterpreted as actual reported values.
    function getRoundData(uint80 _roundId)
        external
        view
        returns (
            uint80 roundId,
            int256 answer,
            uint256 startedAt,
            uint256 updatedAt,
            uint80 answeredInRound
        );

    function latestRoundData()
        external
        view
        returns (
            uint80 roundId,
            int256 answer,
            uint256 startedAt,
            uint256 updatedAt,
            uint80 answeredInRound
        );
}

// Part: IBufferOptionsV2

interface IBufferOptionsV2 {
    event Create(
        uint256 indexed id,
        address indexed account,
        uint256 settlementFee,
        uint256 totalFee,
        string metadata
    );

    event Exercise(uint256 indexed id, uint256 profit);
    event Expire(uint256 indexed id, uint256 premium);
    event UpdateImpliedVolatility(uint256 value);
    event UpdateSettlementFeePercentage(uint256 value);
    event UpdateSettlementFeeRecipient(address account);
    event UpdateStakingFeePercentage(uint256 value);
    event UpdateReferralRewardPercentage(uint256 value);
    event UpdateOptionCollaterizationRatio(uint256 value);
    event UpdateNFTSaleRoyaltyPercentage(uint256 value);

    enum State {
        Inactive,
        Active,
        Exercised,
        Expired
    }
    enum OptionType {
        Invalid,
        Put,
        Call
    }
    enum PermittedTradingType {
        All,
        OnlyPut,
        OnlyCall,
        None
    }
    event UpdateTradingPermission(PermittedTradingType permissionType);
    event UpdateOptionCreationWindow(
        uint256 startHour,
        uint256 startMinute,
        uint256 endHour,
        uint256 endMinute
    );

    struct Option {
        State state;
        uint256 strike;
        uint256 amount;
        uint256 lockedAmount;
        uint256 premium;
        uint256 expiration;
        OptionType optionType;
    }

    struct OptionCreationWindow {
        uint256 startHour;
        uint256 startMinute;
        uint256 endHour;
        uint256 endMinute;
    }
}

// Part: IBufferStaking

interface IBufferStaking {
    event Claim(address indexed acount, uint256 amount);
    event Profit(uint256 amount);
    event Buy(address indexed acount, uint256 amount, uint256 transferAmount);
    event Sell(address indexed acount, uint256 amount, uint256 transferAmount);
    event UpdateRevertTransfersInLockUpPeriod(
        address indexed account,
        bool value
    );

    function claimProfit() external returns (uint256 profit);

    function buy(uint256 amountOfTokens) external;

    function sell(uint256 amountOfTokens) external;

    function profitOf(address account) external view returns (uint256);
}

// Part: ILiquidityPool

interface ILiquidityPool {
    struct LockedLiquidity {
        uint256 amount;
        uint256 premium;
        bool locked;
    }

    event Profit(uint256 indexed id, uint256 amount);
    event Loss(uint256 indexed id, uint256 amount);
    event Provide(address indexed account, uint256 amount, uint256 writeAmount);
    event Withdraw(
        address indexed account,
        uint256 amount,
        uint256 writeAmount
    );

    function unlock(uint256 id) external;

    function send(
        uint256 id,
        address payable account,
        uint256 amount
    ) external;

    function totalBalance() external view returns (uint256 amount);
    // function unlockPremium(uint256 amount) external;
}

// Part: OpenZeppelin/[email protected]/Address

/**
 * @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);
            }
        }
    }
}

// Part: OpenZeppelin/[email protected]/Context

/**
 * @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;
    }
}

// Part: OpenZeppelin/[email protected]/IAccessControl

/**
 * @dev External interface of AccessControl declared to support ERC165 detection.
 */
interface IAccessControl {
    /**
     * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`
     *
     * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite
     * {RoleAdminChanged} not being emitted signaling this.
     *
     * _Available since v3.1._
     */
    event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);

    /**
     * @dev Emitted when `account` is granted `role`.
     *
     * `sender` is the account that originated the contract call, an admin role
     * bearer except when using {AccessControl-_setupRole}.
     */
    event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Emitted when `account` is revoked `role`.
     *
     * `sender` is the account that originated the contract call:
     *   - if using `revokeRole`, it is the admin role bearer
     *   - if using `renounceRole`, it is the role bearer (i.e. `account`)
     */
    event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) external view returns (bool);

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {AccessControl-_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) external view returns (bytes32);

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been granted `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) external;
}

// Part: OpenZeppelin/[email protected]/IERC165

/**
 * @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);
}

// Part: OpenZeppelin/[email protected]/IERC20

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `sender` to `recipient` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) external returns (bool);

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);
}

// Part: OpenZeppelin/[email protected]/IERC721Receiver

/**
 * @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);
}

// Part: OpenZeppelin/[email protected]/ReentrancyGuard

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and make it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;

        _;

        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }
}

// Part: OpenZeppelin/[email protected]/Strings

/**
 * @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);
    }
}

// Part: IBNBLiquidityPool

interface IBNBLiquidityPool is ILiquidityPool {
    event UpdateRevertTransfersInLockUpPeriod(
        address indexed account,
        bool value
    );

    function lock(uint256 id, uint256 amount) external payable;
}

// Part: IBufferStakingBNB

interface IBufferStakingBNB is IBufferStaking {
    function sendProfit() external payable;
}

// Part: OpenZeppelin/[email protected]/ERC165

/**
 * @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;
    }
}

// Part: OpenZeppelin/[email protected]/IERC20Metadata

/**
 * @dev Interface for the optional metadata functions from the ERC20 standard.
 *
 * _Available since v4.1._
 */
interface IERC20Metadata is IERC20 {
    /**
     * @dev Returns the name of the token.
     */
    function name() external view returns (string memory);

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

    /**
     * @dev Returns the decimals places of the token.
     */
    function decimals() external view returns (uint8);
}

// Part: OpenZeppelin/[email protected]/IERC721

/**
 * @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;
}

// Part: OpenZeppelin/[email protected]/Ownable

/**
 * @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);
    }
}

// Part: OpenZeppelin/[email protected]/AccessControl

/**
 * @dev Contract module that allows children to implement role-based access
 * control mechanisms. This is a lightweight version that doesn't allow enumerating role
 * members except through off-chain means by accessing the contract event logs. Some
 * applications may benefit from on-chain enumerability, for those cases see
 * {AccessControlEnumerable}.
 *
 * Roles are referred to by their `bytes32` identifier. These should be exposed
 * in the external API and be unique. The best way to achieve this is by
 * using `public constant` hash digests:
 *
 * ```
 * bytes32 public constant MY_ROLE = keccak256("MY_ROLE");
 * ```
 *
 * Roles can be used to represent a set of permissions. To restrict access to a
 * function call, use {hasRole}:
 *
 * ```
 * function foo() public {
 *     require(hasRole(MY_ROLE, msg.sender));
 *     ...
 * }
 * ```
 *
 * Roles can be granted and revoked dynamically via the {grantRole} and
 * {revokeRole} functions. Each role has an associated admin role, and only
 * accounts that have a role's admin role can call {grantRole} and {revokeRole}.
 *
 * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means
 * that only accounts with this role will be able to grant or revoke other
 * roles. More complex role relationships can be created by using
 * {_setRoleAdmin}.
 *
 * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to
 * grant and revoke this role. Extra precautions should be taken to secure
 * accounts that have been granted it.
 */
abstract contract AccessControl is Context, IAccessControl, ERC165 {
    struct RoleData {
        mapping(address => bool) members;
        bytes32 adminRole;
    }

    mapping(bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

    /**
     * @dev Modifier that checks that an account has a specific role. Reverts
     * with a standardized message including the required role.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     *
     * _Available since v4.1._
     */
    modifier onlyRole(bytes32 role) {
        _checkRole(role, _msgSender());
        _;
    }

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

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) public view override returns (bool) {
        return _roles[role].members[account];
    }

    /**
     * @dev Revert with a standard message if `account` is missing `role`.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     */
    function _checkRole(bytes32 role, address account) internal view {
        if (!hasRole(role, account)) {
            revert(
                string(
                    abi.encodePacked(
                        "AccessControl: account ",
                        Strings.toHexString(uint160(account), 20),
                        " is missing role ",
                        Strings.toHexString(uint256(role), 32)
                    )
                )
            );
        }
    }

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) public view override returns (bytes32) {
        return _roles[role].adminRole;
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _grantRole(role, account);
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _revokeRole(role, account);
    }

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been granted `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) public virtual override {
        require(account == _msgSender(), "AccessControl: can only renounce roles for self");

        _revokeRole(role, account);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event. Note that unlike {grantRole}, this function doesn't perform any
     * checks on the calling account.
     *
     * [WARNING]
     * ====
     * This function should only be called from the constructor when setting
     * up the initial roles for the system.
     *
     * Using this function in any other way is effectively circumventing the admin
     * system imposed by {AccessControl}.
     * ====
     */
    function _setupRole(bytes32 role, address account) internal virtual {
        _grantRole(role, account);
    }

    /**
     * @dev Sets `adminRole` as ``role``'s admin role.
     *
     * Emits a {RoleAdminChanged} event.
     */
    function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {
        bytes32 previousAdminRole = getRoleAdmin(role);
        _roles[role].adminRole = adminRole;
        emit RoleAdminChanged(role, previousAdminRole, adminRole);
    }

    function _grantRole(bytes32 role, address account) private {
        if (!hasRole(role, account)) {
            _roles[role].members[account] = true;
            emit RoleGranted(role, account, _msgSender());
        }
    }

    function _revokeRole(bytes32 role, address account) private {
        if (hasRole(role, account)) {
            _roles[role].members[account] = false;
            emit RoleRevoked(role, account, _msgSender());
        }
    }
}

// Part: OpenZeppelin/[email protected]/ERC20

/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin Contracts guidelines: functions revert
 * instead returning `false` on failure. This behavior is nonetheless
 * conventional and does not conflict with the expectations of ERC20
 * applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20 is Context, IERC20, IERC20Metadata {
    mapping(address => uint256) private _balances;

    mapping(address => mapping(address => uint256)) private _allowances;

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * The default value of {decimals} is 18. To select a different value for
     * {decimals} you should overload it.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    /**
     * @dev Returns the name of the token.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5.05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the value {ERC20} uses, unless this function is
     * overridden;
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view virtual override returns (uint8) {
        return 18;
    }

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

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view virtual override returns (uint256) {
        return _balances[account];
    }

    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `recipient` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

    /**
     * @dev See {IERC20-allowance}.
     */
    function allowance(address owner, address spender) public view virtual override returns (uint256) {
        return _allowances[owner][spender];
    }

    /**
     * @dev See {IERC20-approve}.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        _approve(_msgSender(), spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * Requirements:
     *
     * - `sender` and `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     * - the caller must have allowance for ``sender``'s tokens of at least
     * `amount`.
     */
    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) public virtual override returns (bool) {
        _transfer(sender, recipient, amount);

        uint256 currentAllowance = _allowances[sender][_msgSender()];
        require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance");
        unchecked {
            _approve(sender, _msgSender(), currentAllowance - amount);
        }

        return true;
    }

    /**
     * @dev Atomically increases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender] + addedValue);
        return true;
    }

    /**
     * @dev Atomically decreases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `spender` must have allowance for the caller of at least
     * `subtractedValue`.
     */
    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
        uint256 currentAllowance = _allowances[_msgSender()][spender];
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        unchecked {
            _approve(_msgSender(), spender, currentAllowance - subtractedValue);
        }

        return true;
    }

    /**
     * @dev Moves `amount` of tokens from `sender` to `recipient`.
     *
     * This internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * Requirements:
     *
     * - `sender` cannot be the zero address.
     * - `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     */
    function _transfer(
        address sender,
        address recipient,
        uint256 amount
    ) internal virtual {
        require(sender != address(0), "ERC20: transfer from the zero address");
        require(recipient != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(sender, recipient, amount);

        uint256 senderBalance = _balances[sender];
        require(senderBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[sender] = senderBalance - amount;
        }
        _balances[recipient] += amount;

        emit Transfer(sender, recipient, amount);

        _afterTokenTransfer(sender, recipient, amount);
    }

    /** @dev Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply.
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");

        _beforeTokenTransfer(address(0), account, amount);

        _totalSupply += amount;
        _balances[account] += amount;
        emit Transfer(address(0), account, amount);

        _afterTokenTransfer(address(0), account, amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, reducing the
     * total supply.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens.
     */
    function _burn(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: burn from the zero address");

        _beforeTokenTransfer(account, address(0), amount);

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        unchecked {
            _balances[account] = accountBalance - amount;
        }
        _totalSupply -= amount;

        emit Transfer(account, address(0), amount);

        _afterTokenTransfer(account, address(0), amount);
    }

    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
     *
     * This internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     */
    function _approve(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");

        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }

    /**
     * @dev Hook that is called before any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * will be transferred to `to`.
     * - when `from` is zero, `amount` tokens will be minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens 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 amount
    ) internal virtual {}

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * has been transferred to `to`.
     * - when `from` is zero, `amount` tokens have been minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens have been 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 _afterTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}
}

// Part: OpenZeppelin/[email protected]/IERC721Enumerable

/**
 * @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);
}

// Part: OpenZeppelin/[email protected]/IERC721Metadata

/**
 * @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);
}

// Part: BufferBNBPool

/**
 * @author Heisenberg
 * @title Buffer BNB Liquidity Pool
 * @notice Accumulates liquidity in BNB from LPs and distributes P&L in BNB
 */
contract BufferBNBPool is
    AccessControl,
    ERC20("Buffer BNB LP Token", "rBFR-BNB"),
    IBNBLiquidityPool
{
    uint256 public constant ACCURACY = 1e3;
    uint256 public constant INITIAL_RATE = 1e3;
    uint256 public lockupPeriod = 2 weeks;
    uint256 public lockedAmount;
    uint256 public lockedPremium;
    uint256 public referralRewardPercentage = 0; // 0.5%

    mapping(address => uint256) public lastProvideTimestamp;
    mapping(address => bool) public _revertTransfersInLockUpPeriod;
    // LockedLiquidity[] public lockedLiquidity;
    mapping(address => LockedLiquidity[]) public lockedLiquidity;

    bytes32 public constant OPTION_ISSUER_ROLE =
        keccak256("OPTION_ISSUER_ROLE");

    constructor() {
        _setupRole(DEFAULT_ADMIN_ROLE, msg.sender);
    }

    /**
     * @notice Used for ...
     */
    function revertTransfersInLockUpPeriod(bool value) external {
        _revertTransfersInLockUpPeriod[msg.sender] = value;
        emit UpdateRevertTransfersInLockUpPeriod(msg.sender, value);
    }

    /*
     * @nonce A provider supplies BNB to the pool and receives rBFR-BNB tokens
     * @param referrer Address of referred by.
     * @param minMint Minimum amount of tokens that should be received by a provider.
                      Calling the provide function will require the minimum amount of tokens to be minted.
                      The actual amount that will be minted could vary but can only be higher (not lower) than the minimum value.
     * @return mint Amount of tokens to be received
     */
    function provide(uint256 minMint , address referrer) external payable returns (uint256 mint) {
        lastProvideTimestamp[msg.sender] = block.timestamp;
        uint256 supply = totalSupply();
        uint256 balance = totalBalance();

        uint256 amount = msg.value;

        if(referrer != address(0) && referrer != msg.sender && referrer != address(this)){
            uint256 referralReward = ((msg.value * referralRewardPercentage)/ACCURACY)/100;
            amount = msg.value - referralReward;      

            if (referralReward > 0){
                payable(referrer).transfer(referralReward);
            }                  
        }

        if (supply > 0 && balance > 0)
            mint = (amount * supply) / (balance - amount);
        else mint = amount * INITIAL_RATE;

        require(mint >= minMint, "Pool: Mint limit is too large");
        require(mint > 0, "Pool: Amount is too small");

        _mint(msg.sender, mint);

        emit Provide(msg.sender, amount, mint);
    }

    /*
     * @nonce Provider burns rBFR-BNB and receives BNB from the pool
     * @param amount Amount of BNB to receive
     * @return burn Amount of tokens to be burnt
     */
    function withdraw(uint256 amount, uint256 maxBurn)
        external
        returns (uint256 burn)
    {
        require(
            lastProvideTimestamp[msg.sender] + lockupPeriod <= block.timestamp,
            "Pool: Withdrawal is locked up"
        );
        require(
            amount <= availableBalance(),
            "Pool Error: Not enough funds on the pool contract. Please lower the amount."
        );

        burn = divCeil((amount * totalSupply()), totalBalance());

        require(burn <= maxBurn, "Pool: Burn limit is too small");
        require(burn <= balanceOf(msg.sender), "Pool: Amount is too large");
        require(burn > 0, "Pool: Amount is too small");

        _burn(msg.sender, burn);
        emit Withdraw(msg.sender, amount, burn);

        payable(msg.sender).transfer(amount);
    }

    /*
     * @nonce calls by BufferCallOptions to lock the funds
     * @param amount Amount of funds that should be locked in an option
     */
    function lock(uint256 id, uint256 amount) external payable override {
        require(
            hasRole(OPTION_ISSUER_ROLE, msg.sender),
            "msg.sender is not allowed to excute the option contract"
        );
        require(id == lockedLiquidity[msg.sender].length, "Wrong id");
        require(totalBalance() >= msg.value, "Insufficient balance");
        require(
            (lockedAmount + amount) <= ((totalBalance() - msg.value) * 8) / 10,
            "Pool Error: Amount is too large."
        );

        lockedLiquidity[msg.sender].push(LockedLiquidity(amount, msg.value, true));
        lockedPremium = lockedPremium + msg.value;
        lockedAmount = lockedAmount + amount;
    }

    /*
     * @nonce calls by BufferOptions to unlock the funds
     * @param id Id of LockedLiquidity that should be unlocked
     */
    function unlock(uint256 id) external override {
        require(
            hasRole(OPTION_ISSUER_ROLE, msg.sender),
            "msg.sender is not allowed to excute the option contract"
        );
        LockedLiquidity storage ll = lockedLiquidity[msg.sender][id];
        require(ll.locked, "LockedLiquidity with such id has already unlocked");
        ll.locked = false;

        lockedPremium = lockedPremium - ll.premium;
        lockedAmount = lockedAmount - ll.amount;

        emit Profit(id, ll.premium);
    }

    /*
     * @nonce calls by BufferCallOptions to send funds to liquidity providers after an option's expiration
     * @param to Provider
     * @param amount Funds that should be sent
     */
    function send(
        uint256 id,
        address payable to,
        uint256 amount
    ) external override {
        require(
            hasRole(OPTION_ISSUER_ROLE, msg.sender),
            "msg.sender is not allowed to excute the option contract"
        );
        LockedLiquidity storage ll = lockedLiquidity[msg.sender][id];
        require(ll.locked, "LockedLiquidity with such id has already unlocked");
        require(to != address(0));

        ll.locked = false;
        lockedPremium = lockedPremium - ll.premium;
        lockedAmount = lockedAmount - ll.amount;

        uint256 transferAmount = amount > ll.amount ? ll.amount : amount;
        to.transfer(transferAmount);

        if (transferAmount <= ll.premium)
            emit Profit(id, ll.premium - transferAmount);
        else emit Loss(id, transferAmount - ll.premium);
    }

    /*
     * @nonce Returns provider's share in BNB
     * @param account Provider's address
     * @return Provider's share in BNB
     */
    function shareOf(address account) external view returns (uint256 share) {
        if (totalSupply() > 0)
            share = (totalBalance() * balanceOf(account)) / totalSupply();
        else share = 0;
    }

    /*
     * @nonce Returns the amount of BNB available for withdrawals
     * @return balance Unlocked amount
     */
    function availableBalance() public view returns (uint256 balance) {
        return totalBalance() - lockedAmount;
    }

    /*
     * @nonce Returns the total balance of BNB provided to the pool
     * @return balance Pool balance
     */
    function totalBalance() public view override returns (uint256 balance) {
        return address(this).balance - lockedPremium;
    }

    function _beforeTokenTransfer(
        address from,
        address to,
        uint256
    ) internal override {
        if (
            lastProvideTimestamp[from] + lockupPeriod > block.timestamp &&
            lastProvideTimestamp[from] > lastProvideTimestamp[to]
        ) {
            require(
                !_revertTransfersInLockUpPeriod[to],
                "the recipient does not accept blocked funds"
            );
            lastProvideTimestamp[to] = lastProvideTimestamp[from];
        }
    }


    function divCeil(uint256 a, uint256 b) internal pure returns (uint256) {
        require(b > 0);
        uint256 c = a / b;
        if (a % b != 0) c = c + 1;
        return c;
    }
}

// Part: OpenZeppelin/[email protected]/ERC721

/**
 * @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 {}
}

// Part: OpenZeppelin/[email protected]/ERC721Burnable

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

// Part: OpenZeppelin/[email protected]/ERC721Enumerable

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

// Part: OpenZeppelin/[email protected]/ERC721URIStorage

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

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

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

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

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

        return super.tokenURI(tokenId);
    }

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

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId) internal virtual override {
        super._burn(tokenId);

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

// File: BufferGenericBNBOptionsV2.sol

/**
 * @author Heisenberg
 * @title Buffer BNB Bidirectional (Call and Put) Options
 * @notice Buffer BNB Options Contract
 */
contract BufferGenericBNBOptionsV2 is
    IBufferOptionsV2,
    Ownable,
    ERC721URIStorage,
    ERC721Enumerable,
    ERC721Burnable,
    AccessControl,
    ReentrancyGuard
{
    uint256 public nextTokenId = 0;

    IBufferStakingBNB public settlementFeeRecipient;
    mapping(uint256 => Option) public options;
    mapping(uint256 => uint256) public optionAssetAmounts;
    uint256 public impliedVolRate;
    uint256 public optionCollateralizationRatio = 100;
    uint256 public settlementFeePercentage = 1;
    uint256 public stakingFeePercentage = 50;
    uint256 public referralRewardPercentage = 25;
    uint256 public nftSaleRoyaltyPercentage = 5;
    uint256 internal constant PRICE_DECIMALS = 1e8;
    uint256 internal contractCreationTimestamp;
    PermittedTradingType public permittedTradingType;
    AggregatorV3Interface public priceProvider;
    AggregatorV3Interface public bnbPriceProvider;
    BufferBNBPool public pool;
    OptionCreationWindow public optionCreationWindow =
        OptionCreationWindow(0, 0, 0, 0);

    event PayReferralFee(address indexed referrer, uint256 amount);
    event PayAdminFee(address indexed owner, uint256 amount);

    /**
     * @param pp The address of ChainLink BNB/USD price feed contract
     */
    constructor(
        AggregatorV3Interface pp,
        AggregatorV3Interface bnbPP,
        IBufferStakingBNB staking,
        BufferBNBPool _pool
    ) ERC721("Buffer", "BFR") {
        pool = _pool;
        priceProvider = pp;
        bnbPriceProvider = bnbPP;
        settlementFeeRecipient = staking;
        impliedVolRate = 12500;
        contractCreationTimestamp = block.timestamp;
    }

    /**
     * @notice Used for adjusting the options prices while balancing asset's implied volatility rate
     * @param value New IVRate value
     */
    function setImpliedVolRate(uint256 value) external onlyOwner {
        require(value >= 100, "ImpliedVolRate limit is too small");
        impliedVolRate = value;
        emit UpdateImpliedVolatility(value);
    }

    function setTradingPermission(PermittedTradingType permissionType)
        external
        onlyOwner
    {
        permittedTradingType = permissionType;
        emit UpdateTradingPermission(permissionType);
    }

    /**
     * @notice Used for adjusting the settlement fee percentage
     * @param value New Settlement Fee Percentage
     */
    function setSettlementFeePercentage(uint256 value) external onlyOwner {
        require(value < 20, "SettlementFeePercentage is too high");
        settlementFeePercentage = value;
        emit UpdateSettlementFeePercentage(value);
    }

    /**
     * @notice Used for changing settlementFeeRecipient
     * @param recipient New settlementFee recipient address
     */
    function setSettlementFeeRecipient(IBufferStakingBNB recipient)
        external
        onlyOwner
    {
        require(address(recipient) != address(0));
        settlementFeeRecipient = recipient;
        emit UpdateSettlementFeeRecipient(address(recipient));
    }

    /**
     * @notice Used for adjusting the staking fee percentage
     * @param value New Staking Fee Percentage
     */
    function setStakingFeePercentage(uint256 value) external onlyOwner {
        require(value <= 100, "StakingFeePercentage is too high");
        stakingFeePercentage = value;
        emit UpdateStakingFeePercentage(value);
    }

    /**
     * @notice Used for adjusting the referral reward percentage
     * @param value New Referral Reward Percentage
     */
    function setReferralRewardPercentage(uint256 value) external onlyOwner {
        require(value <= 100, "ReferralRewardPercentage is too high");
        referralRewardPercentage = value;
        emit UpdateReferralRewardPercentage(value);
    }

    /**
     * @notice Used for changing option collateralization ratio
     * @param value New optionCollateralizationRatio value
     */
    function setOptionCollaterizationRatio(uint256 value) external onlyOwner {
        require(50 <= value && value <= 100, "wrong value");
        optionCollateralizationRatio = value;
        emit UpdateOptionCollaterizationRatio(value);
    }

    /**
     * @notice Used for changing nftSaleRoyaltyPercentage
     * @param value New nftSaleRoyaltyPercentage value
     */
    function setNFTSaleRoyaltyPercentage(uint256 value) external onlyOwner {
        require(value <= 10, "wrong value");
        nftSaleRoyaltyPercentage = value;
        emit UpdateNFTSaleRoyaltyPercentage(value);
    }

    /**
     * @notice Used for changing option creation window
     * @param startHour Starting hour of each day
     * @param startMinute Starting minute of each day
     * @param endHour Ending hour of each day
     * @param endMinute Ending minute of each day
     */
    function setOptionCreationWindow(
        uint256 startHour,
        uint256 startMinute,
        uint256 endHour,
        uint256 endMinute
    ) external onlyOwner {
        optionCreationWindow = OptionCreationWindow(
            startHour,
            startMinute,
            endHour,
            endMinute
        );
        emit UpdateOptionCreationWindow(
            startHour,
            startMinute,
            endHour,
            endMinute
        );
    }

    /**
     * @notice Check if the options can be created
     */
    function IsInOptionCreationWindow() public view returns (bool) {
        uint256 currentHour = (block.timestamp / 3600) % 24;
        uint256 currentMinute = (block.timestamp % 3600) / 60;

        // Allow default value of optionCreationWindow
        if (
            optionCreationWindow.startHour == 0 &&
            optionCreationWindow.startMinute == 0 &&
            optionCreationWindow.endHour == 0 &&
            optionCreationWindow.endMinute == 0
        ) {
            return true;
        }


        if (
            (
                (currentHour == optionCreationWindow.startHour &&
                currentMinute >= optionCreationWindow.startMinute) 
                ||
                currentHour > optionCreationWindow.startHour
            ) &&
            (
                currentHour < optionCreationWindow.endHour 
                ||
                (currentHour == optionCreationWindow.endHour &&
                currentMinute <= optionCreationWindow.endMinute)
            )
        ) {
            return true;
        }
        return false;
    }

    /**
     * @notice Creates a new option
     * @param period Option period in seconds (1 days <= period <= 90 days)
     * @param amount Option amount in BNB
     * @param optionAssetAmount Option amount in currency the option is being sold for
     * @param strike Strike price of the option
     * @param optionType Call or Put option type
     * @return optionID Created option's ID
     */
    function create(
        uint256 period,
        uint256 amount,
        uint256 optionAssetAmount,
        uint256 strike,
        OptionType optionType,
        address referrer,
        string memory metadata
    ) external payable nonReentrant returns (uint256 optionID) {
        (uint256 totalFee, uint256 settlementFee, uint256 strikeFee, ) = fees(
            period,
            amount,
            strike,
            optionType
        );
        require(IsInOptionCreationWindow(), "Creation isn't allowed in this time window");

        require(
            optionType == OptionType.Call || optionType == OptionType.Put,
            "Wrong option type"
        );
        if (optionType == OptionType.Call) {
            require(
                permittedTradingType == PermittedTradingType.All ||
                    permittedTradingType == PermittedTradingType.OnlyCall,
                "Owner has disabled option trading for call options"
            );
        } else if (optionType == OptionType.Put) {
            require(
                permittedTradingType == PermittedTradingType.All ||
                    permittedTradingType == PermittedTradingType.OnlyPut,
                "Owner has disabled option trading for put options"
            );
        }
        require(period >= 1 days, "Period is too short");
        require(period <= 90 days, "Period is too long");
        require(amount > strikeFee, "Price difference is too large");
        require(msg.value >= totalFee, "Wrong value");
        if (msg.value > totalFee) {
            payable(msg.sender).transfer(msg.value - totalFee);
        }

        uint256 strikeAmount = amount - strikeFee;
        uint256 lockedAmount = ((strikeAmount * optionCollateralizationRatio) /
            100) + strikeFee;

        Option memory option = Option(
            State.Active,
            strike,
            amount,
            lockedAmount,
            totalFee - settlementFee,
            block.timestamp + period,
            optionType
        );

        optionID = createOptionFor(msg.sender, metadata);
        options[optionID] = option;

        optionAssetAmounts[optionID] = optionAssetAmount;

        uint256 stakingAmount = distributeSettlementFee(
            settlementFee,
            referrer
        );

        pool.lock{value: option.premium}(optionID, option.lockedAmount);

        // Set User's Auto Close Status to True by default
        // Check if this is the user's first option from this contract
        if( !hasUserBoughtFirstOption[msg.sender] ){
            // if yes then set the auto close for the user to True
            if (!autoExerciseStatus[msg.sender]){
                autoExerciseStatus[msg.sender] = true;
                emit AutoExerciseStatusChange(msg.sender, true);
            }
            hasUserBoughtFirstOption[msg.sender] = true;
        }

        emit Create(optionID, msg.sender, stakingAmount, totalFee, metadata);
    }

    /**
     * @notice Check if the sender can exercise an active option
     * @param optionID ID of your option
     */
    function canExercise(uint256 optionID) internal view returns (bool) {
        require(
            _exists(optionID),
            "ERC721: operator query for nonexistent token"
        );

        address tokenOwner = ERC721.ownerOf(optionID);
        bool isAutoExerciseTrue = autoExerciseStatus[tokenOwner] &&
            msg.sender == owner();

        Option storage option = options[optionID];
        bool isWithinLastHalfHourOfExpiry = block.timestamp >
            (option.expiration - 30 minutes);

        return
            (tokenOwner == msg.sender) ||
            (isAutoExerciseTrue && isWithinLastHalfHourOfExpiry);
    }

    /**
     * @notice Exercises an active option
     * @param optionID ID of your option
     */
    function exercise(uint256 optionID) external {
        require(
            canExercise(optionID),
            "msg.sender is not eligible to exercise the option"
        );

        Option storage option = options[optionID];

        require(option.expiration >= block.timestamp, "Option has expired");
        require(option.state == State.Active, "Wrong state");

        option.state = State.Exercised;
        uint256 profit = payProfit(optionID);

        // Burn the option
        _burn(optionID);

        emit Exercise(optionID, profit);
    }

    /**
     * @notice Unlocks an array of options
     * @param optionIDs array of options
     */
    function unlockAll(uint256[] calldata optionIDs) external {
        uint256 arrayLength = optionIDs.length;
        for (uint256 i = 0; i < arrayLength; i++) {
            unlock(optionIDs[i]);
        }
    }

    /**
     * @notice Unlock funds locked in the expired options
     * @param optionID ID of the option
     */
    function unlock(uint256 optionID) public {
        Option storage option = options[optionID];
        require(
            option.expiration < block.timestamp,
            "Option has not expired yet"
        );
        require(option.state == State.Active, "Option is not active");
        option.state = State.Expired;
        pool.unlock(optionID);

        // Burn the option
        _burn(optionID);

        emit Expire(optionID, option.premium);
    }

    /**
     * @notice Sends profits in BNB from the BNB pool to an option holder's address
     * @param optionID A specific option contract id
     */
    function payProfit(uint256 optionID) internal returns (uint256 profit) {
        Option memory option = options[optionID];
        uint256 _optionAssetAmount = optionAssetAmounts[optionID];

        (, int256 latestPrice, , , ) = priceProvider.latestRoundData();
        uint256 currentPrice = uint256(latestPrice);

        (, int256 bnbLatestPrice, , , ) = bnbPriceProvider.latestRoundData();
        uint256 bnbCurrentPrice = uint256(bnbLatestPrice);

        if (option.optionType == OptionType.Call) {
            require(option.strike <= currentPrice, "Current price is too low");
            profit =
                ((currentPrice - option.strike) * _optionAssetAmount) /
                bnbCurrentPrice;
        } else {
            require(option.strike >= currentPrice, "Current price is too high");
            profit =
                ((option.strike - currentPrice) * _optionAssetAmount) /
                bnbCurrentPrice;
        }
        if (profit > option.lockedAmount) profit = option.lockedAmount;
        pool.send(optionID, payable(ownerOf(optionID)), profit);
    }

    function distributeSettlementFee(uint256 settlementFee, address referrer)
        internal
        returns (uint256 stakingAmount)
    {
        stakingAmount = ((settlementFee * stakingFeePercentage) / 100);

        // Incase the stakingAmount is 0
        if (stakingAmount > 0) {
            settlementFeeRecipient.sendProfit{value: stakingAmount}();
        }

        uint256 adminFee = settlementFee - stakingAmount;

        if (adminFee > 0) {
            if (
                referralRewardPercentage > 0 &&
                referrer != owner() &&
                referrer != msg.sender
            ) {
                uint256 referralReward = (adminFee * referralRewardPercentage) /
                    100;
                adminFee = adminFee - referralReward;
                payable(referrer).transfer(referralReward);
                emit PayReferralFee(referrer, referralReward);
            }
            payable(owner()).transfer(adminFee);
            emit PayAdminFee(owner(), adminFee);
        }
    }

    /**
     * @notice Used for getting the actual options prices
     * @param period Option period in seconds (1 days <= period <= 4 weeks)
     * @param amount Option amount
     * @param strike Strike price of the option
     * @return total Total price to be paid
     * @return settlementFee Amount to be distributed to the Buffer token holders
     * @return strikeFee Amount that covers the price difference in the ITM options
     * @return periodFee Option period fee amount
     */
    function fees(
        uint256 period,
        uint256 amount,
        uint256 strike,
        OptionType optionType
    )
        public
        view
        returns (
            uint256 total,
            uint256 settlementFee,
            uint256 strikeFee,
            uint256 periodFee
        )
    {
        (, int256 latestPrice, , , ) = priceProvider.latestRoundData();
        uint256 currentPrice = uint256(latestPrice);
        settlementFee = getSettlementFee(amount);
        periodFee = getPeriodFee(
            amount,
            period,
            strike,
            currentPrice,
            optionType
        );
        strikeFee = getStrikeFee(amount, strike, currentPrice, optionType);
        total = periodFee + strikeFee + settlementFee;
    }

    /**
     * @notice Calculates periodFee
     * @param amount Option amount
     * @param period Option period in seconds (1 days <= period <= 4 weeks)
     * @param strike Strike price of the option
     * @param currentPrice Current price of BNB
     * @return fee Period fee amount
     *
     * amount < 1e30        |
     * impliedVolRate < 1e10| => amount * impliedVolRate * strike < 1e60 < 2^uint256
     * strike < 1e20 ($1T)  |
     *
     * in case amount * impliedVolRate * strike >= 2^256
     * transaction will be reverted by the SafeMath
     */
    function getPeriodFee(
        uint256 amount,
        uint256 period,
        uint256 strike,
        uint256 currentPrice,
        OptionType optionType
    ) internal view returns (uint256 fee) {
        if (optionType == OptionType.Put)
            return
                (amount * sqrt(period) * impliedVolRate * strike) /
                (currentPrice * PRICE_DECIMALS);
        else
            return
                (amount * sqrt(period) * impliedVolRate * currentPrice) /
                (strike * PRICE_DECIMALS);
    }

    /**
     * @notice Calculates strikeFee
     * @param amount Option amount
     * @param strike Strike price of the option
     * @param currentPrice Current price of BNB
     * @return fee Strike fee amount
     */
    function getStrikeFee(
        uint256 amount,
        uint256 strike,
        uint256 currentPrice,
        OptionType optionType
    ) internal pure returns (uint256 fee) {
        if (strike > currentPrice && optionType == OptionType.Put)
            return ((strike - currentPrice) * amount) / currentPrice;
        if (strike < currentPrice && optionType == OptionType.Call)
            return ((currentPrice - strike) * amount) / currentPrice;
        return 0;
    }

    /**
     * @notice Calculates settlementFee
     * @param amount Option amount
     * @return fee Settlement fee amount
     */
    function getSettlementFee(uint256 amount)
        internal
        view
        returns (uint256 fee)
    {
        return (amount * settlementFeePercentage) / 100;
    }

    /**
     * @dev See EIP-165: ERC-165 Standard Interface Detection
     * https://eips.ethereum.org/EIPS/eip-165
     **/
    function createOptionFor(address holder, string memory metadata)
        internal
        returns (uint256 id)
    {
        id = nextTokenId++;
        _safeMint(holder, id);
        _setTokenURI(id, metadata);
    }

    /**
     * @dev Template code provided by OpenZepplin Code Wizard
     */
    function _setTokenURI(uint256 tokenId, string memory _tokenURI)
        internal
        override
    {
        return super._setTokenURI(tokenId, _tokenURI);
    }

    /**
     * @dev Template code provided by OpenZepplin Code Wizard
     */
    function _baseURI() internal pure override returns (string memory) {
        return "https://gateway.pinata.cloud/ipfs/";
    }

    /**
     * @dev Template code provided by OpenZepplin Code Wizard
     */
    function tokenURI(uint256 tokenId)
        public
        view
        override(ERC721, ERC721URIStorage)
        returns (string memory)
    {
        return super.tokenURI(tokenId);
    }

    /**
     * @dev Template code provided by OpenZepplin Code Wizard
     */
    function _burn(uint256 tokenId)
        internal
        override(ERC721, ERC721URIStorage)
    {
        return super._burn(tokenId);
    }
    
    // The following functions are overrides required by Solidity.

    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal override(ERC721, ERC721Enumerable) {
        super._beforeTokenTransfer(from, to, tokenId);
    }

    function supportsInterface(bytes4 interfaceId)
        public
        view
        override(ERC721, ERC721Enumerable, AccessControl)
        returns (bool)
    {
        return super.supportsInterface(interfaceId);
    }

    /**
     * @return result Square root of the number
     */
    function sqrt(uint256 x) internal pure returns (uint256 result) {
        result = x;
        uint256 k = (x / 2) + 1;
        while (k < result) (result, k) = (k, ((x / k) + k) / 2);
    }

    /**
     * Exercise Approval
     */

    // Mapping from owner to exerciser approvals
    mapping(address => bool) public autoExerciseStatus;
    mapping(address => bool) public hasUserBoughtFirstOption;

    event AutoExerciseStatusChange(address indexed account, bool status);

    function setAutoExerciseStatus(bool status) public {
        autoExerciseStatus[msg.sender] = status;
        emit AutoExerciseStatusChange(msg.sender, status);
    }
}

Contract ABI

[{"inputs":[{"internalType":"contract AggregatorV3Interface","name":"pp","type":"address"},{"internalType":"contract AggregatorV3Interface","name":"bnbPP","type":"address"},{"internalType":"contract IBufferStakingBNB","name":"staking","type":"address"},{"internalType":"contract BufferBNBPool","name":"_pool","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":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"status","type":"bool"}],"name":"AutoExerciseStatusChange","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"settlementFee","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"totalFee","type":"uint256"},{"indexed":false,"internalType":"string","name":"metadata","type":"string"}],"name":"Create","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"profit","type":"uint256"}],"name":"Exercise","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"premium","type":"uint256"}],"name":"Expire","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PayAdminFee","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"referrer","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PayReferralFee","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"UpdateImpliedVolatility","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"UpdateNFTSaleRoyaltyPercentage","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"UpdateOptionCollaterizationRatio","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"startHour","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"startMinute","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"endHour","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"endMinute","type":"uint256"}],"name":"UpdateOptionCreationWindow","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"UpdateReferralRewardPercentage","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"UpdateSettlementFeePercentage","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"UpdateSettlementFeeRecipient","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"UpdateStakingFeePercentage","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"enum IBufferOptionsV2.PermittedTradingType","name":"permissionType","type":"uint8"}],"name":"UpdateTradingPermission","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"IsInOptionCreationWindow","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"","type":"address"}],"name":"autoExerciseStatus","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"bnbPriceProvider","outputs":[{"internalType":"contract AggregatorV3Interface","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"period","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"optionAssetAmount","type":"uint256"},{"internalType":"uint256","name":"strike","type":"uint256"},{"internalType":"enum IBufferOptionsV2.OptionType","name":"optionType","type":"uint8"},{"internalType":"address","name":"referrer","type":"address"},{"internalType":"string","name":"metadata","type":"string"}],"name":"create","outputs":[{"internalType":"uint256","name":"optionID","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"optionID","type":"uint256"}],"name":"exercise","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"period","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"strike","type":"uint256"},{"internalType":"enum IBufferOptionsV2.OptionType","name":"optionType","type":"uint8"}],"name":"fees","outputs":[{"internalType":"uint256","name":"total","type":"uint256"},{"internalType":"uint256","name":"settlementFee","type":"uint256"},{"internalType":"uint256","name":"strikeFee","type":"uint256"},{"internalType":"uint256","name":"periodFee","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":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"hasUserBoughtFirstOption","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"impliedVolRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nextTokenId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nftSaleRoyaltyPercentage","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"optionAssetAmounts","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"optionCollateralizationRatio","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"optionCreationWindow","outputs":[{"internalType":"uint256","name":"startHour","type":"uint256"},{"internalType":"uint256","name":"startMinute","type":"uint256"},{"internalType":"uint256","name":"endHour","type":"uint256"},{"internalType":"uint256","name":"endMinute","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"options","outputs":[{"internalType":"enum IBufferOptionsV2.State","name":"state","type":"uint8"},{"internalType":"uint256","name":"strike","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"lockedAmount","type":"uint256"},{"internalType":"uint256","name":"premium","type":"uint256"},{"internalType":"uint256","name":"expiration","type":"uint256"},{"internalType":"enum IBufferOptionsV2.OptionType","name":"optionType","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"permittedTradingType","outputs":[{"internalType":"enum IBufferOptionsV2.PermittedTradingType","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pool","outputs":[{"internalType":"contract BufferBNBPool","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"priceProvider","outputs":[{"internalType":"contract AggregatorV3Interface","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"referralRewardPercentage","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"status","type":"bool"}],"name":"setAutoExerciseStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"value","type":"uint256"}],"name":"setImpliedVolRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"value","type":"uint256"}],"name":"setNFTSaleRoyaltyPercentage","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"value","type":"uint256"}],"name":"setOptionCollaterizationRatio","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"startHour","type":"uint256"},{"internalType":"uint256","name":"startMinute","type":"uint256"},{"internalType":"uint256","name":"endHour","type":"uint256"},{"internalType":"uint256","name":"endMinute","type":"uint256"}],"name":"setOptionCreationWindow","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"value","type":"uint256"}],"name":"setReferralRewardPercentage","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"value","type":"uint256"}],"name":"setSettlementFeePercentage","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IBufferStakingBNB","name":"recipient","type":"address"}],"name":"setSettlementFeeRecipient","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"value","type":"uint256"}],"name":"setStakingFeePercentage","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"enum IBufferOptionsV2.PermittedTradingType","name":"permissionType","type":"uint8"}],"name":"setTradingPermission","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"settlementFeePercentage","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"settlementFeeRecipient","outputs":[{"internalType":"contract IBufferStakingBNB","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"stakingFeePercentage","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"optionID","type":"uint256"}],"name":"unlock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"optionIDs","type":"uint256[]"}],"name":"unlockAll","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6000600e81905560646013556001601455603260155560196016556005601755610100604052608081905260a081905260c081905260e0819052601c819055601d819055601e819055601f553480156200005857600080fd5b5060405162004d8138038062004d818339810160408190526200007b9162000268565b60405180604001604052806006815260200165213ab33332b960d11b8152506040518060400160405280600381526020016221232960e91b815250620000d0620000ca6200016e60201b60201c565b62000172565b8151620000e5906001906020850190620001c2565b508051620000fb906002906020840190620001c2565b50506001600d5550601b80546001600160a01b03199081166001600160a01b039384161790915560198054610100600160a81b0319166101009684169690960295909517909455601a8054851693821693909317909255600f805490931691161790556130d46012554260185562000325565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b828054620001d090620002cf565b90600052602060002090601f016020900481019282620001f457600085556200023f565b82601f106200020f57805160ff19168380011785556200023f565b828001600101855582156200023f579182015b828111156200023f57825182559160200191906001019062000222565b506200024d92915062000251565b5090565b5b808211156200024d576000815560010162000252565b600080600080608085870312156200027e578384fd5b84516200028b816200030c565b60208601519094506200029e816200030c565b6040860151909350620002b1816200030c565b6060860151909250620002c4816200030c565b939692955090935050565b600181811c90821680620002e457607f821691505b602082108114156200030657634e487b7160e01b600052602260045260246000fd5b50919050565b6001600160a01b03811681146200032257600080fd5b50565b614a4c80620003356000396000f3fe60806040526004361061038c5760003560e01c8063715018a6116101dc578063c7c3b53f11610102578063e2bef754116100a0578063f12a04661161006f578063f12a046614610b07578063f2fde38b14610b2e578063f3fa349514610b4e578063ff0b025d14610b6457600080fd5b8063e2bef75414610a68578063e342b59814610a88578063e985e9c514610aa8578063ed0974c714610af157600080fd5b8063ceaeeba9116100dc578063ceaeeba9146109d9578063cedcc6da146109f9578063d547741f14610a19578063e11d1da214610a3957600080fd5b8063c7c3b53f14610983578063c87b56dd146109a3578063ca535c3b146109c357600080fd5b806395ee59691161017a578063b07f0a4111610149578063b07f0a41146108ee578063b7c9a6b01461090e578063b888879e1461093e578063b88d4fde1461096357600080fd5b806395ee59691461088457806396350a8514610899578063a217fddf146108b9578063a22cb465146108ce57600080fd5b80638da5cb5b116101b65780638da5cb5b1461081b57806391d1485414610839578063920a253e1461085957806395d89b411461086f57600080fd5b8063715018a6146107c3578063753d57de146107d857806375794a3c1461080557600080fd5b80632f2ff15d116102c157806342966c681161025f5780635ce6e26e1161022e5780635ce6e26e146107435780636198e339146107635780636352211e1461078357806370a08231146107a357600080fd5b806342966c68146106d05780634f6ccce7146106f057806359ae9378146107105780635cb6bc811461072357600080fd5b806333244de01161029b57806333244de01461060057806336568abe14610620578063409e22051461064057806342842e0e146106b057600080fd5b80632f2ff15d146105aa5780632f745c59146105ca578063302ce651146105ea57600080fd5b806318160ddd1161032e57806318f88e5b1161030857806318f88e5b146105245780631ec3ad1d1461053a57806323b872dd1461055a578063248a9ca31461057a57600080fd5b806318160ddd146104c5578063181731dc146104e457806318bf92ce1461050457600080fd5b8063095ea7b31161036a578063095ea7b3146104205780630a3a4c331461044257806316f0115b14610485578063180acf6e146104a557600080fd5b806301ffc9a71461039157806306fdde03146103c6578063081812fc146103e8575b600080fd5b34801561039d57600080fd5b506103b16103ac3660046143ef565b610b84565b60405190151581526020015b60405180910390f35b3480156103d257600080fd5b506103db610b95565b6040516103bd9190614702565b3480156103f457600080fd5b506104086104033660046143b3565b610c27565b6040516001600160a01b0390911681526020016103bd565b34801561042c57600080fd5b5061044061043b3660046142fe565b610cb4565b005b34801561044e57600080fd5b50601c54601d54601e54601f546104659392919084565b6040805194855260208501939093529183015260608201526080016103bd565b34801561049157600080fd5b50601b54610408906001600160a01b031681565b3480156104b157600080fd5b506104406104c03660046143b3565b610dca565b3480156104d157600080fd5b50600a545b6040519081526020016103bd565b3480156104f057600080fd5b50600f54610408906001600160a01b031681565b34801561051057600080fd5b50601a54610408906001600160a01b031681565b34801561053057600080fd5b506104d660125481565b34801561054657600080fd5b506104406105553660046143b3565b610e81565b34801561056657600080fd5b5061044061057536600461420d565b610f3c565b34801561058657600080fd5b506104d66105953660046143b3565b6000908152600c602052604090206001015490565b3480156105b657600080fd5b506104406105c53660046143cb565b610f6e565b3480156105d657600080fd5b506104d66105e53660046142fe565b610f94565b3480156105f657600080fd5b506104d660135481565b34801561060c57600080fd5b5061044061061b366004614484565b61102a565b34801561062c57600080fd5b5061044061063b3660046143cb565b6110d4565b34801561064c57600080fd5b5061069d61065b3660046143b3565b601060205260009081526040902080546001820154600283015460038401546004850154600586015460069096015460ff958616969495939492939192911687565b6040516103bd97969594939291906146b2565b3480156106bc57600080fd5b506104406106cb36600461420d565b611152565b3480156106dc57600080fd5b506104406106eb3660046143b3565b61116d565b3480156106fc57600080fd5b506104d661070b3660046143b3565b6111e7565b6104d661071e3660046144b5565b611288565b34801561072f57600080fd5b5061044061073e3660046143b3565b611a28565b34801561074f57600080fd5b5061044061075e366004614399565b611ac6565b34801561076f57600080fd5b5061044061077e3660046143b3565b611b19565b34801561078f57600080fd5b5061040861079e3660046143b3565b611c98565b3480156107af57600080fd5b506104d66107be3660046141b9565b611d0f565b3480156107cf57600080fd5b50610440611d96565b3480156107e457600080fd5b506104d66107f33660046143b3565b60116020526000908152604090205481565b34801561081157600080fd5b506104d6600e5481565b34801561082757600080fd5b506000546001600160a01b0316610408565b34801561084557600080fd5b506103b16108543660046143cb565b611dcc565b34801561086557600080fd5b506104d660165481565b34801561087b57600080fd5b506103db611df7565b34801561089057600080fd5b506103b1611e06565b3480156108a557600080fd5b506104406108b43660046141b9565b611ed1565b3480156108c557600080fd5b506104d6600081565b3480156108da57600080fd5b506104406108e93660046142ca565b611f5c565b3480156108fa57600080fd5b506104406109093660046143b3565b612021565b34801561091a57600080fd5b506103b16109293660046141b9565b60216020526000908152604090205460ff1681565b34801561094a57600080fd5b506019546104089061010090046001600160a01b031681565b34801561096f57600080fd5b5061044061097e36600461424d565b6121a7565b34801561098f57600080fd5b5061046561099e366004614446565b6121df565b3480156109af57600080fd5b506103db6109be3660046143b3565b6122c4565b3480156109cf57600080fd5b506104d660155481565b3480156109e557600080fd5b506104406109f43660046143b3565b6122cf565b348015610a0557600080fd5b50610440610a143660046143b3565b612389565b348015610a2557600080fd5b50610440610a343660046143cb565b612445565b348015610a4557600080fd5b506103b1610a543660046141b9565b602080526000908152604090205460ff1681565b348015610a7457600080fd5b50610440610a833660046143b3565b61246b565b348015610a9457600080fd5b50610440610aa3366004614329565b612516565b348015610ab457600080fd5b506103b1610ac33660046141d5565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b348015610afd57600080fd5b506104d660175481565b348015610b1357600080fd5b50601954610b219060ff1681565b6040516103bd919061469f565b348015610b3a57600080fd5b50610440610b493660046141b9565b612563565b348015610b5a57600080fd5b506104d660145481565b348015610b7057600080fd5b50610440610b7f366004614427565b6125fb565b6000610b8f82612686565b92915050565b606060018054610ba4906148fd565b80601f0160208091040260200160405190810160405280929190818152602001828054610bd0906148fd565b8015610c1d5780601f10610bf257610100808354040283529160200191610c1d565b820191906000526020600020905b815481529060010190602001808311610c0057829003601f168201915b5050505050905090565b6000610c32826126ab565b610c985760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600560205260409020546001600160a01b031690565b6000610cbf82611c98565b9050806001600160a01b0316836001600160a01b03161415610d2d5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610c8f565b336001600160a01b0382161480610d495750610d498133610ac3565b610dbb5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610c8f565b610dc583836126c8565b505050565b6000546001600160a01b03163314610df45760405162461bcd60e51b8152600401610c8f906147b3565b6064811115610e455760405162461bcd60e51b815260206004820181905260248201527f5374616b696e6746656550657263656e7461676520697320746f6f20686967686044820152606401610c8f565b60158190556040518181527f7ab3467fb06d3d8716698bece5f22a665374115bd3d0a43d6e11b76fcec1dfbb906020015b60405180910390a150565b6000546001600160a01b03163314610eab5760405162461bcd60e51b8152600401610c8f906147b3565b60148110610f075760405162461bcd60e51b815260206004820152602360248201527f536574746c656d656e7446656550657263656e7461676520697320746f6f20686044820152620d2ced60eb1b6064820152608401610c8f565b60148190556040518181527f803e7bbaebadbda418ec6dd788e57c29c1cf3faeb7e139d21247e624c9e6d11990602001610e76565b610f47335b82612736565b610f635760405162461bcd60e51b8152600401610c8f906147e8565b610dc58383836127db565b6000828152600c6020526040902060010154610f8a8133612986565b610dc583836129ea565b6000610f9f83611d0f565b82106110015760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610c8f565b506001600160a01b03919091166000908152600860209081526040808320938352929052205490565b6000546001600160a01b031633146110545760405162461bcd60e51b8152600401610c8f906147b3565b604080516080808201835286825260208083018790528284018690526060928301859052601c889055601d879055601e869055601f85905583518881529081018790529283018590529082018390527f8c02d8c8fb378cb3a4aeca74fc9ef549c367ce32a1213861b8e3f839efbc1154910160405180910390a150505050565b6001600160a01b03811633146111445760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b6064820152608401610c8f565b61114e8282612a70565b5050565b610dc5838383604051806020016040528060008152506121a7565b61117633610f41565b6111db5760405162461bcd60e51b815260206004820152603060248201527f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760448201526f1b995c881b9bdc88185c1c1c9bdd995960821b6064820152608401610c8f565b6111e481612ad7565b50565b60006111f2600a5490565b82106112555760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610c8f565b600a828154811061127657634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050919050565b60006002600d5414156112dd5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610c8f565b6002600d55600080806112f28b8b8a8a6121df565b50925092509250611301611e06565b6113605760405162461bcd60e51b815260206004820152602a60248201527f4372656174696f6e2069736e277420616c6c6f77656420696e20746869732074604482015269696d652077696e646f7760b01b6064820152608401610c8f565b600287600281111561138257634e487b7160e01b600052602160045260246000fd5b14806113ad575060018760028111156113ab57634e487b7160e01b600052602160045260246000fd5b145b6113ed5760405162461bcd60e51b815260206004820152601160248201527057726f6e67206f7074696f6e207479706560781b6044820152606401610c8f565b600287600281111561140f57634e487b7160e01b600052602160045260246000fd5b14156114d857600060195460ff16600381111561143c57634e487b7160e01b600052602160045260246000fd5b148061146c5750600260195460ff16600381111561146a57634e487b7160e01b600052602160045260246000fd5b145b6114d35760405162461bcd60e51b815260206004820152603260248201527f4f776e6572206861732064697361626c6564206f7074696f6e2074726164696e6044820152716720666f722063616c6c206f7074696f6e7360701b6064820152608401610c8f565b6115bd565b60018760028111156114fa57634e487b7160e01b600052602160045260246000fd5b14156115bd57600060195460ff16600381111561152757634e487b7160e01b600052602160045260246000fd5b14806115575750600160195460ff16600381111561155557634e487b7160e01b600052602160045260246000fd5b145b6115bd5760405162461bcd60e51b815260206004820152603160248201527f4f776e6572206861732064697361626c6564206f7074696f6e2074726164696e6044820152706720666f7220707574206f7074696f6e7360781b6064820152608401610c8f565b620151808b10156116065760405162461bcd60e51b815260206004820152601360248201527214195c9a5bd9081a5cc81d1bdbc81cda1bdc9d606a1b6044820152606401610c8f565b6276a7008b111561164e5760405162461bcd60e51b8152602060048201526012602482015271506572696f6420697320746f6f206c6f6e6760701b6044820152606401610c8f565b808a1161169d5760405162461bcd60e51b815260206004820152601d60248201527f507269636520646966666572656e636520697320746f6f206c617267650000006044820152606401610c8f565b823410156116db5760405162461bcd60e51b815260206004820152600b60248201526a57726f6e672076616c756560a81b6044820152606401610c8f565b8234111561171b57336108fc6116f185346148a3565b6040518115909202916000818181858888f19350505050158015611719573d6000803e3d6000fd5b505b6000611727828c6148a3565b905060008260646013548461173c9190614884565b6117469190614870565b6117509190614858565b905060006040518060e001604052806001600381111561178057634e487b7160e01b600052602160045260246000fd5b81526020018c81526020018e815260200183815260200186886117a391906148a3565b81526020018f426117b49190614858565b81526020018b60028111156117d957634e487b7160e01b600052602160045260246000fd5b905290506117e73389612ae0565b6000818152601060205260409020825181549299508392829060ff1916600183600381111561182657634e487b7160e01b600052602160045260246000fd5b02179055506020820151816001015560408201518160020155606082015181600301556080820151816004015560a0820151816005015560c08201518160060160006101000a81548160ff0219169083600281111561189557634e487b7160e01b600052602160045260246000fd5b0217905550505060008781526011602052604081208d90556118b7868b612b0b565b601b5460808401516060850151604051631338736f60e01b81529394506001600160a01b0390921692631338736f926118fe918d9190600401918252602082015260400190565b6000604051808303818588803b15801561191757600080fd5b505af115801561192b573d6000803e3d6000fd5b50503360009081526021602052604090205460ff1692506119ca9150505733600090815260208052604090205460ff166119af573360008181526020808052604091829020805460ff1916600190811790915591519182527f68d3d9b231e6283ecc485a9fb1e1d0a8c3feaa987c41cdb49c30fad64e5af997910160405180910390a25b336000908152602160205260409020805460ff191660011790555b336001600160a01b0316887f89f823a0225c73a75066e963ce2eea7708b57680ec86102773dbd244f5412892838a8d604051611a0893929190614839565b60405180910390a350506001600d5550939b9a5050505050505050505050565b6000546001600160a01b03163314611a525760405162461bcd60e51b8152600401610c8f906147b3565b600a811115611a915760405162461bcd60e51b815260206004820152600b60248201526a77726f6e672076616c756560a81b6044820152606401610c8f565b60178190556040518181527f8fb679aa627958fc7143b0829745d581e0f5e98599847e7097749ce89d8c88e090602001610e76565b3360008181526020808052604091829020805460ff191685151590811790915591519182527f68d3d9b231e6283ecc485a9fb1e1d0a8c3feaa987c41cdb49c30fad64e5af997910160405180910390a250565b600081815260106020526040902060058101544211611b7a5760405162461bcd60e51b815260206004820152601a60248201527f4f7074696f6e20686173206e6f742065787069726564207965740000000000006044820152606401610c8f565b6001815460ff166003811115611ba057634e487b7160e01b600052602160045260246000fd5b14611be45760405162461bcd60e51b81526020600482015260146024820152734f7074696f6e206973206e6f742061637469766560601b6044820152606401610c8f565b805460ff19166003178155601b54604051636198e33960e01b8152600481018490526001600160a01b0390911690636198e33990602401600060405180830381600087803b158015611c3557600080fd5b505af1158015611c49573d6000803e3d6000fd5b50505050611c5682612ad7565b817f5f36a4a575e512eb69d6d28c3b0ff98cca7ba50ad5bf04e14094ad1d425e0d318260040154604051611c8c91815260200190565b60405180910390a25050565b6000818152600360205260408120546001600160a01b031680610b8f5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610c8f565b60006001600160a01b038216611d7a5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610c8f565b506001600160a01b031660009081526004602052604090205490565b6000546001600160a01b03163314611dc05760405162461bcd60e51b8152600401610c8f906147b3565b611dca6000612d1e565b565b6000918252600c602090815260408084206001600160a01b0393909316845291905290205460ff1690565b606060028054610ba4906148fd565b6000806018611e17610e1042614870565b611e21919061494d565b90506000603c611e33610e104261494d565b611e3d9190614870565b601c54909150158015611e505750601d54155b8015611e5c5750601e54155b8015611e685750601f54155b15611e765760019250505090565b601c5482148015611e895750601d548110155b80611e955750601c5482115b8015611eba5750601e54821080611eba5750601e5482148015611eba5750601f548111155b15611ec85760019250505090565b60009250505090565b6000546001600160a01b03163314611efb5760405162461bcd60e51b8152600401610c8f906147b3565b6001600160a01b038116611f0e57600080fd5b600f80546001600160a01b0319166001600160a01b0383169081179091556040519081527f92f6c1e8df34c666f737a2407b4e63d3a77f133b69fdf70f01b5e3b8072551f690602001610e76565b6001600160a01b038216331415611fb55760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610c8f565b3360008181526006602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b61202a81612d6e565b6120905760405162461bcd60e51b815260206004820152603160248201527f6d73672e73656e646572206973206e6f7420656c696769626c6520746f20657860448201527032b931b4b9b2903a34329037b83a34b7b760791b6064820152608401610c8f565b600081815260106020526040902060058101544211156120e75760405162461bcd60e51b815260206004820152601260248201527113dc1d1a5bdb881a185cc8195e1c1a5c995960721b6044820152606401610c8f565b6001815460ff16600381111561210d57634e487b7160e01b600052602160045260246000fd5b146121485760405162461bcd60e51b815260206004820152600b60248201526a57726f6e6720737461746560a81b6044820152606401610c8f565b805460ff19166002178155600061215e83612e23565b905061216983612ad7565b827e84fe51c7cb34b132b7b6eb5d5a87a489f8d6d284758d00a0402c1bad9a0def8260405161219a91815260200190565b60405180910390a2505050565b6121b13383612736565b6121cd5760405162461bcd60e51b8152600401610c8f906147e8565b6121d9848484846131fc565b50505050565b6000806000806000601960019054906101000a90046001600160a01b03166001600160a01b031663feaf968c6040518163ffffffff1660e01b815260040160a06040518083038186803b15801561223557600080fd5b505afa158015612249573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061226d919061454d565b50505091505060008190506122818961322f565b9450612290898b8a848b61324b565b925061229e8989838a6132e3565b9350846122ab8585614858565b6122b59190614858565b95505050945094509450949050565b6060610b8f82613389565b6000546001600160a01b031633146122f95760405162461bcd60e51b8152600401610c8f906147b3565b60648110156123545760405162461bcd60e51b815260206004820152602160248201527f496d706c696564566f6c52617465206c696d697420697320746f6f20736d616c6044820152601b60fa1b6064820152608401610c8f565b60128190556040518181527f3e0c59249d1a9c5f08383bdbdfbc45517a71b76e72223ae649c576e4d125869690602001610e76565b6000546001600160a01b031633146123b35760405162461bcd60e51b8152600401610c8f906147b3565b60648111156124105760405162461bcd60e51b8152602060048201526024808201527f526566657272616c52657761726450657263656e7461676520697320746f6f206044820152630d0d2ced60e31b6064820152608401610c8f565b60168190556040518181527f0c089466003b94ffb5787d1d1affe1c743f8ca63f949d2296cfa4d7986601ade90602001610e76565b6000828152600c60205260409020600101546124618133612986565b610dc58383612a70565b6000546001600160a01b031633146124955760405162461bcd60e51b8152600401610c8f906147b3565b806032111580156124a7575060648111155b6124e15760405162461bcd60e51b815260206004820152600b60248201526a77726f6e672076616c756560a81b6044820152606401610c8f565b60138190556040518181527f66b26a0dfaa5fc9f5c7432381208aa4bd7f13f4489299b52f09f1af7669bb93b90602001610e76565b8060005b818110156121d95761255184848381811061254557634e487b7160e01b600052603260045260246000fd5b90506020020135611b19565b8061255b81614932565b91505061251a565b6000546001600160a01b0316331461258d5760405162461bcd60e51b8152600401610c8f906147b3565b6001600160a01b0381166125f25760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610c8f565b6111e481612d1e565b6000546001600160a01b031633146126255760405162461bcd60e51b8152600401610c8f906147b3565b6019805482919060ff1916600183600381111561265257634e487b7160e01b600052602160045260246000fd5b02179055507f75e98309d621801fc34e8ce7fa6eaa10b82599a58639171fe865e39bb4728d4881604051610e76919061469f565b60006001600160e01b03198216637965db0b60e01b1480610b8f5750610b8f826134eb565b6000908152600360205260409020546001600160a01b0316151590565b600081815260056020526040902080546001600160a01b0319166001600160a01b03841690811790915581906126fd82611c98565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000612741826126ab565b61275d5760405162461bcd60e51b8152600401610c8f90614767565b600061276883611c98565b9050806001600160a01b0316846001600160a01b031614806127a35750836001600160a01b031661279884610c27565b6001600160a01b0316145b806127d357506001600160a01b0380821660009081526006602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b03166127ee82611c98565b6001600160a01b0316146128565760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610c8f565b6001600160a01b0382166128b85760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610c8f565b6128c3838383613510565b6128ce6000826126c8565b6001600160a01b03831660009081526004602052604081208054600192906128f79084906148a3565b90915550506001600160a01b0382166000908152600460205260408120805460019290612925908490614858565b909155505060008181526003602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6129908282611dcc565b61114e576129a8816001600160a01b0316601461351b565b6129b383602061351b565b6040516020016129c49291906145f7565b60408051601f198184030181529082905262461bcd60e51b8252610c8f91600401614702565b6129f48282611dcc565b61114e576000828152600c602090815260408083206001600160a01b03851684529091529020805460ff19166001179055612a2c3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b612a7a8282611dcc565b1561114e576000828152600c602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6111e481613704565b600e805460009182612af183614932565b919050559050612b018382613744565b610b8f818361375e565b6000606460155484612b1d9190614884565b612b279190614870565b90508015612b9957600f60009054906101000a90046001600160a01b03166001600160a01b0316634d8e9425826040518263ffffffff1660e01b81526004016000604051808303818588803b158015612b7f57600080fd5b505af1158015612b93573d6000803e3d6000fd5b50505050505b6000612ba582856148a3565b90508015612d17576000601654118015612bcd57506000546001600160a01b03848116911614155b8015612be257506001600160a01b0383163314155b15612c8e576000606460165483612bf99190614884565b612c039190614870565b9050612c0f81836148a3565b6040519092506001600160a01b0385169082156108fc029083906000818181858888f19350505050158015612c48573d6000803e3d6000fd5b50836001600160a01b03167f2fc41b7d7df3272c17d9b581fcf235307bc027599c6ed68442c4100bd3a8419882604051612c8491815260200190565b60405180910390a2505b600080546040516001600160a01b039091169183156108fc02918491818181858888f19350505050158015612cc7573d6000803e3d6000fd5b506000546001600160a01b03166001600160a01b03167ff0f0487d8990103573e0e5cf4e87e101e2a1ba84c733c556b7a5807e570e5d4c82604051612d0e91815260200190565b60405180910390a25b5092915050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000612d79826126ab565b612d955760405162461bcd60e51b8152600401610c8f90614767565b6000612da083611c98565b6001600160a01b03811660009081526020805260408120549192509060ff168015612dd557506000546001600160a01b031633145b6000858152601060205260408120600581015492935091612df990610708906148a3565b421190506001600160a01b038416331480612e195750828015612e195750805b9695505050505050565b600081815260106020526040808220815160e08101909252805483929190829060ff166003811115612e6557634e487b7160e01b600052602160045260246000fd5b6003811115612e8457634e487b7160e01b600052602160045260246000fd5b81526001820154602082015260028083015460408301526003830154606083015260048301546080830152600583015460a0830152600683015460c09092019160ff1690811115612ee557634e487b7160e01b600052602160045260246000fd5b6002811115612f0457634e487b7160e01b600052602160045260246000fd5b905250600084815260116020526040808220546019548251633fabe5a360e21b8152925194955090936101009091046001600160a01b03169163feaf968c9160048083019260a0929190829003018186803b158015612f6257600080fd5b505afa158015612f76573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612f9a919061454d565b5050601a5460408051633fabe5a360e21b815290519395508594506000936001600160a01b03909216925063feaf968c9160048083019260a0929190829003018186803b158015612fea57600080fd5b505afa158015612ffe573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613022919061454d565b50919350839250600291506130349050565b8660c00151600281111561305857634e487b7160e01b600052602160045260246000fd5b14156130df5782866020015111156130b25760405162461bcd60e51b815260206004820152601860248201527f43757272656e7420707269636520697320746f6f206c6f7700000000000000006044820152606401610c8f565b80858760200151856130c491906148a3565b6130ce9190614884565b6130d89190614870565b965061315c565b82866020015110156131335760405162461bcd60e51b815260206004820152601960248201527f43757272656e7420707269636520697320746f6f2068696768000000000000006044820152606401610c8f565b808584886020015161314591906148a3565b61314f9190614884565b6131599190614870565b96505b856060015187111561317057856060015196505b601b546001600160a01b03166381b34f158961318b81611c98565b6040516001600160e01b031960e085901b16815260048101929092526001600160a01b03166024820152604481018a9052606401600060405180830381600087803b1580156131d957600080fd5b505af11580156131ed573d6000803e3d6000fd5b50505050505050505050919050565b6132078484846127db565b61321384848484613768565b6121d95760405162461bcd60e51b8152600401610c8f90614715565b60006064601454836132419190614884565b610b8f9190614870565b6000600182600281111561326f57634e487b7160e01b600052602160045260246000fd5b14156132bf576132836305f5e10084614884565b8460125461329088613872565b61329a908a614884565b6132a49190614884565b6132ae9190614884565b6132b89190614870565b90506132da565b6132cd6305f5e10085614884565b8360125461329088613872565b95945050505050565b600082841180156133135750600182600281111561331157634e487b7160e01b600052602160045260246000fd5b145b1561333f57828561332482876148a3565b61332e9190614884565b6133389190614870565b90506127d3565b828410801561336d5750600282600281111561336b57634e487b7160e01b600052602160045260246000fd5b145b1561337e57828561332486836148a3565b506000949350505050565b6060613394826126ab565b6133fa5760405162461bcd60e51b815260206004820152603160248201527f45524337323155524953746f726167653a2055524920717565727920666f72206044820152703737b732bc34b9ba32b73a103a37b5b2b760791b6064820152608401610c8f565b60008281526007602052604081208054613413906148fd565b80601f016020809104026020016040519081016040528092919081815260200182805461343f906148fd565b801561348c5780601f106134615761010080835404028352916020019161348c565b820191906000526020600020905b81548152906001019060200180831161346f57829003601f168201915b50505050509050600061349d6138c8565b90508051600014156134b0575092915050565b8151156134e25780826040516020016134ca9291906145c8565b60405160208183030381529060405292505050919050565b6127d3846138e8565b60006001600160e01b0319821663780e9d6360e01b1480610b8f5750610b8f826139b2565b610dc5838383613a02565b6060600061352a836002614884565b613535906002614858565b67ffffffffffffffff81111561355b57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015613585576020820181803683370190505b509050600360fc1b816000815181106135ae57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350600f60fb1b816001815181106135eb57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350600061360f846002614884565b61361a906001614858565b90505b60018111156136ae576f181899199a1a9b1b9c1cb0b131b232b360811b85600f166010811061365c57634e487b7160e01b600052603260045260246000fd5b1a60f81b82828151811061368057634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535060049490941c936136a7816148e6565b905061361d565b5083156136fd5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610c8f565b9392505050565b61370d81613aba565b60008181526007602052604090208054613726906148fd565b1590506111e45760008181526007602052604081206111e491614032565b61114e828260405180602001604052806000815250613b61565b61114e8282613b94565b60006001600160a01b0384163b1561386a57604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906137ac90339089908890889060040161466c565b602060405180830381600087803b1580156137c657600080fd5b505af19250505080156137f6575060408051601f3d908101601f191682019092526137f39181019061440b565b60015b613850573d808015613824576040519150601f19603f3d011682016040523d82523d6000602084013e613829565b606091505b5080516138485760405162461bcd60e51b8152600401610c8f90614715565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506127d3565b5060016127d3565b806000613880600283614870565b61388b906001614858565b90505b818110156138c257806002816138a48187614870565b6138ae9190614858565b6138b89190614870565b909250905061388e565b50919050565b60606040518060600160405280602281526020016149f560229139905090565b60606138f3826126ab565b6139575760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610c8f565b60006139616138c8565b9050600081511161398157604051806020016040528060008152506136fd565b8061398b84613c1f565b60405160200161399c9291906145c8565b6040516020818303038152906040529392505050565b60006001600160e01b031982166380ac58cd60e01b14806139e357506001600160e01b03198216635b5e139f60e01b145b80610b8f57506301ffc9a760e01b6001600160e01b0319831614610b8f565b6001600160a01b038316613a5d57613a5881600a80546000838152600b60205260408120829055600182018355919091527fc65a7bb8d6351c1cf70c95a316cc6a92839c986682d98bc35f958f4883f9d2a80155565b613a80565b816001600160a01b0316836001600160a01b031614613a8057613a808382613d39565b6001600160a01b038216613a9757610dc581613dd6565b826001600160a01b0316826001600160a01b031614610dc557610dc58282613eaf565b6000613ac582611c98565b9050613ad381600084613510565b613ade6000836126c8565b6001600160a01b0381166000908152600460205260408120805460019290613b079084906148a3565b909155505060008281526003602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b613b6b8383613ef3565b613b786000848484613768565b610dc55760405162461bcd60e51b8152600401610c8f90614715565b613b9d826126ab565b613c005760405162461bcd60e51b815260206004820152602e60248201527f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60448201526d32bc34b9ba32b73a103a37b5b2b760911b6064820152608401610c8f565b60008281526007602090815260409091208251610dc59284019061406c565b606081613c435750506040805180820190915260018152600360fc1b602082015290565b8160005b8115613c6d5780613c5781614932565b9150613c669050600a83614870565b9150613c47565b60008167ffffffffffffffff811115613c9657634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015613cc0576020820181803683370190505b5090505b84156127d357613cd56001836148a3565b9150613ce2600a8661494d565b613ced906030614858565b60f81b818381518110613d1057634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350613d32600a86614870565b9450613cc4565b60006001613d4684611d0f565b613d5091906148a3565b600083815260096020526040902054909150808214613da3576001600160a01b03841660009081526008602090815260408083208584528252808320548484528184208190558352600990915290208190555b5060009182526009602090815260408084208490556001600160a01b039094168352600881528383209183525290812055565b600a54600090613de8906001906148a3565b6000838152600b6020526040812054600a8054939450909284908110613e1e57634e487b7160e01b600052603260045260246000fd5b9060005260206000200154905080600a8381548110613e4d57634e487b7160e01b600052603260045260246000fd5b6000918252602080832090910192909255828152600b9091526040808220849055858252812055600a805480613e9357634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000613eba83611d0f565b6001600160a01b039093166000908152600860209081526040808320868452825280832085905593825260099052919091209190915550565b6001600160a01b038216613f495760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610c8f565b613f52816126ab565b15613f9f5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610c8f565b613fab60008383613510565b6001600160a01b0382166000908152600460205260408120805460019290613fd4908490614858565b909155505060008181526003602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b50805461403e906148fd565b6000825580601f1061404e575050565b601f0160209004906000526020600020908101906111e491906140f0565b828054614078906148fd565b90600052602060002090601f01602090048101928261409a57600085556140e0565b82601f106140b357805160ff19168380011785556140e0565b828001600101855582156140e0579182015b828111156140e05782518255916020019190600101906140c5565b506140ec9291506140f0565b5090565b5b808211156140ec57600081556001016140f1565b600067ffffffffffffffff80841115614120576141206149a3565b604051601f8501601f19908116603f01168101908282118183101715614148576141486149a3565b8160405280935085815286868601111561416157600080fd5b858560208301376000602087830101525050509392505050565b8035801515811461418b57600080fd5b919050565b80356003811061418b57600080fd5b805169ffffffffffffffffffff8116811461418b57600080fd5b6000602082840312156141ca578081fd5b81356136fd816149c9565b600080604083850312156141e7578081fd5b82356141f2816149c9565b91506020830135614202816149c9565b809150509250929050565b600080600060608486031215614221578081fd5b833561422c816149c9565b9250602084013561423c816149c9565b929592945050506040919091013590565b60008060008060808587031215614262578081fd5b843561426d816149c9565b9350602085013561427d816149c9565b925060408501359150606085013567ffffffffffffffff81111561429f578182fd5b8501601f810187136142af578182fd5b6142be87823560208401614105565b91505092959194509250565b600080604083850312156142dc578182fd5b82356142e7816149c9565b91506142f56020840161417b565b90509250929050565b60008060408385031215614310578182fd5b823561431b816149c9565b946020939093013593505050565b6000806020838503121561433b578182fd5b823567ffffffffffffffff80821115614352578384fd5b818501915085601f830112614365578384fd5b813581811115614373578485fd5b8660208260051b8501011115614387578485fd5b60209290920196919550909350505050565b6000602082840312156143aa578081fd5b6136fd8261417b565b6000602082840312156143c4578081fd5b5035919050565b600080604083850312156143dd578182fd5b823591506020830135614202816149c9565b600060208284031215614400578081fd5b81356136fd816149de565b60006020828403121561441c578081fd5b81516136fd816149de565b600060208284031215614438578081fd5b8135600481106136fd578182fd5b6000806000806080858703121561445b578182fd5b84359350602085013592506040850135915061447960608601614190565b905092959194509250565b60008060008060808587031215614499578182fd5b5050823594602084013594506040840135936060013592509050565b600080600080600080600060e0888a0312156144cf578485fd5b873596506020880135955060408801359450606088013593506144f460808901614190565b925060a0880135614504816149c9565b915060c088013567ffffffffffffffff81111561451f578182fd5b8801601f81018a1361452f578182fd5b61453e8a823560208401614105565b91505092959891949750929550565b600080600080600060a08688031215614564578283fd5b61456d8661419f565b94506020860151935060408601519250606086015191506145906080870161419f565b90509295509295909350565b600081518084526145b48160208601602086016148ba565b601f01601f19169290920160200192915050565b600083516145da8184602088016148ba565b8351908301906145ee8183602088016148ba565b01949350505050565b7f416363657373436f6e74726f6c3a206163636f756e742000000000000000000081526000835161462f8160178501602088016148ba565b7001034b99036b4b9b9b4b733903937b6329607d1b60179184019182015283516146608160288401602088016148ba565b01602801949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612e199083018461459c565b602081016146ac836149b9565b91905290565b60e081016146bf896149b9565b8882528760208301528660408301528560608301528460808301528360a0830152600383106146f0576146f061498d565b8260c083015298975050505050505050565b6020815260006136fd602083018461459c565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252602c908201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b8381528260208201526060604082015260006132da606083018461459c565b6000821982111561486b5761486b614961565b500190565b60008261487f5761487f614977565b500490565b600081600019048311821515161561489e5761489e614961565b500290565b6000828210156148b5576148b5614961565b500390565b60005b838110156148d55781810151838201526020016148bd565b838111156121d95750506000910152565b6000816148f5576148f5614961565b506000190190565b600181811c9082168061491157607f821691505b602082108114156138c257634e487b7160e01b600052602260045260246000fd5b600060001982141561494657614946614961565b5060010190565b60008261495c5761495c614977565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052602160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b600481106111e4576111e461498d565b6001600160a01b03811681146111e457600080fd5b6001600160e01b0319811681146111e457600080fdfe68747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066732fa26469706673582212206e713c59178faa28e1cead8d8af250fcb7dca77673c3aefc237cd9225b4d8b8764736f6c63430008040033000000000000000000000000c4a0639a5e9ec055bceac76c36b8d446afb94ae50000000000000000000000004eefc7ff09754793ad0f198163531696ff3c3d670000000000000000000000006a691d99cab37722df822bcdab34296b092678220000000000000000000000003a5289b8bff8f46686c848005c5d68f3d07d508c

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

000000000000000000000000c4a0639a5e9ec055bceac76c36b8d446afb94ae50000000000000000000000004eefc7ff09754793ad0f198163531696ff3c3d670000000000000000000000006a691d99cab37722df822bcdab34296b092678220000000000000000000000003a5289b8bff8f46686c848005c5d68f3d07d508c

-----Decoded View---------------
Arg [0] : pp (address): 0xc4a0639a5e9ec055bceac76c36b8d446afb94ae5
Arg [1] : bnbPP (address): 0x4eefc7ff09754793ad0f198163531696ff3c3d67
Arg [2] : staking (address): 0x6a691d99cab37722df822bcdab34296b09267822
Arg [3] : _pool (address): 0x3a5289b8bff8f46686c848005c5d68f3d07d508c

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 000000000000000000000000c4a0639a5e9ec055bceac76c36b8d446afb94ae5
Arg [1] : 0000000000000000000000004eefc7ff09754793ad0f198163531696ff3c3d67
Arg [2] : 0000000000000000000000006a691d99cab37722df822bcdab34296b09267822
Arg [3] : 0000000000000000000000003a5289b8bff8f46686c848005c5d68f3d07d508c


Deployed ByteCode Sourcemap

86296:20894:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;106220:227;;;;;;;;;;-1:-1:-1;106220:227:0;;;;;:::i;:::-;;:::i;:::-;;;11184:14:1;;11177:22;11159:41;;11147:2;11132:18;106220:227:0;;;;;;;;65366:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;66925:221::-;;;;;;;;;;-1:-1:-1;66925:221:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;10482:32:1;;;10464:51;;10452:2;10437:18;66925:221:0;10419:102:1;66448:411:0;;;;;;;;;;-1:-1:-1;66448:411:0;;;;;:::i;:::-;;:::i;:::-;;87267:92;;;;;;;;;;-1:-1:-1;87267:92:0;;;;;;;;;;;;;;;;;;;31733:25:1;;;31789:2;31774:18;;31767:34;;;;31817:18;;;31810:34;31875:2;31860:18;;31853:34;31720:3;31705:19;87267:92:0;31687:206:1;87235:25:0;;;;;;;;;;-1:-1:-1;87235:25:0;;;;-1:-1:-1;;;;;87235:25:0;;;89547:231;;;;;;;;;;-1:-1:-1;89547:231:0;;;;;:::i;:::-;;:::i;78733:113::-;;;;;;;;;;-1:-1:-1;78821:10:0;:17;78733:113;;;11357:25:1;;;11345:2;11330:18;78733:113:0;11312:76:1;86526:47:0;;;;;;;;;;-1:-1:-1;86526:47:0;;;;-1:-1:-1;;;;;86526:47:0;;;87183:45;;;;;;;;;;-1:-1:-1;87183:45:0;;;;-1:-1:-1;;;;;87183:45:0;;;86688:29;;;;;;;;;;;;;;;;88751:241;;;;;;;;;;-1:-1:-1;88751:241:0;;;;;:::i;:::-;;:::i;67815:339::-;;;;;;;;;;-1:-1:-1;67815:339:0;;;;;:::i;:::-;;:::i;38179:123::-;;;;;;;;;;-1:-1:-1;38179:123:0;;;;;:::i;:::-;38245:7;38272:12;;;:6;:12;;;;;:22;;;;38179:123;38564:147;;;;;;;;;;-1:-1:-1;38564:147:0;;;;;:::i;:::-;;:::i;78401:256::-;;;;;;;;;;-1:-1:-1;78401:256:0;;;;;:::i;:::-;;:::i;86724:49::-;;;;;;;;;;;;;;;;91214:489;;;;;;;;;;-1:-1:-1;91214:489:0;;;;;:::i;:::-;;:::i;39612:218::-;;;;;;;;;;-1:-1:-1;39612:218:0;;;;;:::i;:::-;;:::i;86580:41::-;;;;;;;;;;-1:-1:-1;86580:41:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;68225:185::-;;;;;;;;;;-1:-1:-1;68225:185:0;;;;;:::i;:::-;;:::i;76956:245::-;;;;;;;;;;-1:-1:-1;76956:245:0;;;;;:::i;:::-;;:::i;78923:233::-;;;;;;;;;;-1:-1:-1;78923:233:0;;;;;:::i;:::-;;:::i;93304:3043::-;;;;;;:::i;:::-;;:::i;90706:221::-;;;;;;;;;;-1:-1:-1;90706:221:0;;;;;:::i;:::-;;:::i;107018:169::-;;;;;;;;;;-1:-1:-1;107018:169:0;;;;;:::i;:::-;;:::i;98268:472::-;;;;;;;;;;-1:-1:-1;98268:472:0;;;;;:::i;:::-;;:::i;65060:239::-;;;;;;;;;;-1:-1:-1;65060:239:0;;;;;:::i;:::-;;:::i;64790:208::-;;;;;;;;;;-1:-1:-1;64790:208:0;;;;;:::i;:::-;;:::i;33656:94::-;;;;;;;;;;;;;:::i;86628:53::-;;;;;;;;;;-1:-1:-1;86628:53:0;;;;;:::i;:::-;;;;;;;;;;;;;;86487:30;;;;;;;;;;;;;;;;33005:87;;;;;;;;;;-1:-1:-1;33051:7:0;33078:6;-1:-1:-1;;;;;33078:6:0;33005:87;;37064:139;;;;;;;;;;-1:-1:-1;37064:139:0;;;;;:::i;:::-;;:::i;86876:44::-;;;;;;;;;;;;;;;;65535:104;;;;;;;;;;;;;:::i;91781:1108::-;;;;;;;;;;;;;:::i;89136:275::-;;;;;;;;;;-1:-1:-1;89136:275:0;;;;;:::i;:::-;;:::i;36155:49::-;;;;;;;;;;-1:-1:-1;36155:49:0;36200:4;36155:49;;67218:295;;;;;;;;;;-1:-1:-1;67218:295:0;;;;;:::i;:::-;;:::i;97245:571::-;;;;;;;;;;-1:-1:-1;97245:571:0;;;;;:::i;:::-;;:::i;106876:56::-;;;;;;;;;;-1:-1:-1;106876:56:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;87134:42;;;;;;;;;;-1:-1:-1;87134:42:0;;;;;;;-1:-1:-1;;;;;87134:42:0;;;68481:328;;;;;;;;;;-1:-1:-1;68481:328:0;;;;;:::i;:::-;;:::i;101586:800::-;;;;;;;;;;-1:-1:-1;101586:800:0;;;;;:::i;:::-;;:::i;105485:196::-;;;;;;;;;;-1:-1:-1;105485:196:0;;;;;:::i;:::-;;:::i;86829:40::-;;;;;;;;;;;;;;;;88164:217;;;;;;;;;;-1:-1:-1;88164:217:0;;;;;:::i;:::-;;:::i;89922:247::-;;;;;;;;;;-1:-1:-1;89922:247:0;;;;;:::i;:::-;;:::i;38956:149::-;;;;;;;;;;-1:-1:-1;38956:149:0;;;;;:::i;:::-;;:::i;106819:50::-;;;;;;;;;;-1:-1:-1;106819:50:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;90320:245;;;;;;;;;;-1:-1:-1;90320:245:0;;;;;:::i;:::-;;:::i;97928:214::-;;;;;;;;;;-1:-1:-1;97928:214:0;;;;;:::i;:::-;;:::i;67584:164::-;;;;;;;;;;-1:-1:-1;67584:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;67705:25:0;;;67681:4;67705:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;67584:164;86927:43;;;;;;;;;;;;;;;;87079:48;;;;;;;;;;-1:-1:-1;87079:48:0;;;;;;;;;;;;;;;:::i;33905:192::-;;;;;;;;;;-1:-1:-1;33905:192:0;;;;;:::i;:::-;;:::i;86780:42::-;;;;;;;;;;;;;;;;88389:220;;;;;;;;;;-1:-1:-1;88389:220:0;;;;;:::i;:::-;;:::i;106220:227::-;106374:4;106403:36;106427:11;106403:23;:36::i;:::-;106396:43;106220:227;-1:-1:-1;;106220:227:0:o;65366:100::-;65420:13;65453:5;65446:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;65366:100;:::o;66925:221::-;67001:7;67029:16;67037:7;67029;:16::i;:::-;67021:73;;;;-1:-1:-1;;;67021:73:0;;23474:2:1;67021:73:0;;;23456:21:1;23513:2;23493:18;;;23486:30;23552:34;23532:18;;;23525:62;-1:-1:-1;;;23603:18:1;;;23596:42;23655:19;;67021:73:0;;;;;;;;;-1:-1:-1;67114:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;67114:24:0;;66925:221::o;66448:411::-;66529:13;66545:23;66560:7;66545:14;:23::i;:::-;66529:39;;66593:5;-1:-1:-1;;;;;66587:11:0;:2;-1:-1:-1;;;;;66587:11:0;;;66579:57;;;;-1:-1:-1;;;66579:57:0;;25493:2:1;66579:57:0;;;25475:21:1;25532:2;25512:18;;;25505:30;25571:34;25551:18;;;25544:62;-1:-1:-1;;;25622:18:1;;;25615:31;25663:19;;66579:57:0;25465:223:1;66579:57:0;12982:10;-1:-1:-1;;;;;66671:21:0;;;;:62;;-1:-1:-1;66696:37:0;66713:5;12982:10;67584:164;:::i;66696:37::-;66649:168;;;;-1:-1:-1;;;66649:168:0;;20694:2:1;66649:168:0;;;20676:21:1;20733:2;20713:18;;;20706:30;20772:34;20752:18;;;20745:62;20843:26;20823:18;;;20816:54;20887:19;;66649:168:0;20666:246:1;66649:168:0;66830:21;66839:2;66843:7;66830:8;:21::i;:::-;66448:411;;;:::o;89547:231::-;33051:7;33078:6;-1:-1:-1;;;;;33078:6:0;12982:10;33225:23;33217:68;;;;-1:-1:-1;;;33217:68:0;;;;;;;:::i;:::-;89642:3:::1;89633:5;:12;;89625:57;;;::::0;-1:-1:-1;;;89625:57:0;;18419:2:1;89625:57:0::1;::::0;::::1;18401:21:1::0;;;18438:18;;;18431:30;18497:34;18477:18;;;18470:62;18549:18;;89625:57:0::1;18391:182:1::0;89625:57:0::1;89693:20;:28:::0;;;89737:33:::1;::::0;11357:25:1;;;89737:33:0::1;::::0;11345:2:1;11330:18;89737:33:0::1;;;;;;;;89547:231:::0;:::o;88751:241::-;33051:7;33078:6;-1:-1:-1;;;;;33078:6:0;12982:10;33225:23;33217:68;;;;-1:-1:-1;;;33217:68:0;;;;;;;:::i;:::-;88848:2:::1;88840:5;:10;88832:58;;;::::0;-1:-1:-1;;;88832:58:0;;20290:2:1;88832:58:0::1;::::0;::::1;20272:21:1::0;20329:2;20309:18;;;20302:30;20368:34;20348:18;;;20341:62;-1:-1:-1;;;20419:18:1;;;20412:33;20462:19;;88832:58:0::1;20262:225:1::0;88832:58:0::1;88901:23;:31:::0;;;88948:36:::1;::::0;11357:25:1;;;88948:36:0::1;::::0;11345:2:1;11330:18;88948:36:0::1;11312:76:1::0;67815:339:0;68010:41;12982:10;68029:12;68043:7;68010:18;:41::i;:::-;68002:103;;;;-1:-1:-1;;;68002:103:0;;;;;;;:::i;:::-;68118:28;68128:4;68134:2;68138:7;68118:9;:28::i;38564:147::-;38245:7;38272:12;;;:6;:12;;;;;:22;;;36646:30;36657:4;12982:10;36646;:30::i;:::-;38678:25:::1;38689:4;38695:7;38678:10;:25::i;78401:256::-:0;78498:7;78534:23;78551:5;78534:16;:23::i;:::-;78526:5;:31;78518:87;;;;-1:-1:-1;;;78518:87:0;;15009:2:1;78518:87:0;;;14991:21:1;15048:2;15028:18;;;15021:30;15087:34;15067:18;;;15060:62;-1:-1:-1;;;15138:18:1;;;15131:41;15189:19;;78518:87:0;14981:233:1;78518:87:0;-1:-1:-1;;;;;;78623:19:0;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;78401:256::o;91214:489::-;33051:7;33078:6;-1:-1:-1;;;;;33078:6:0;12982:10;33225:23;33217:68;;;;-1:-1:-1;;;33217:68:0;;;;;;;:::i;:::-;91419:127:::1;::::0;;::::1;::::0;;::::1;::::0;;;;;::::1;::::0;;::::1;::::0;;;;;;;;;;;;;;;;91396:20:::1;:150:::0;;;;;;;;;;;;;;;91562:133;;31733:25:1;;;31774:18;;;31767:34;;;31817:18;;;31810:34;;;31860:18;;;31853:34;;;91562:133:0::1;::::0;31705:19:1;91562:133:0::1;;;;;;;91214:489:::0;;;;:::o;39612:218::-;-1:-1:-1;;;;;39708:23:0;;12982:10;39708:23;39700:83;;;;-1:-1:-1;;;39700:83:0;;30121:2:1;39700:83:0;;;30103:21:1;30160:2;30140:18;;;30133:30;30199:34;30179:18;;;30172:62;-1:-1:-1;;;30250:18:1;;;30243:45;30305:19;;39700:83:0;30093:237:1;39700:83:0;39796:26;39808:4;39814:7;39796:11;:26::i;:::-;39612:218;;:::o;68225:185::-;68363:39;68380:4;68386:2;68390:7;68363:39;;;;;;;;;;;;:16;:39::i;76956:245::-;77074:41;12982:10;77093:12;12902:98;77074:41;77066:102;;;;-1:-1:-1;;;77066:102:0;;28591:2:1;77066:102:0;;;28573:21:1;28630:2;28610:18;;;28603:30;28669:34;28649:18;;;28642:62;-1:-1:-1;;;28720:18:1;;;28713:46;28776:19;;77066:102:0;28563:238:1;77066:102:0;77179:14;77185:7;77179:5;:14::i;:::-;76956:245;:::o;78923:233::-;78998:7;79034:30;78821:10;:17;;78733:113;79034:30;79026:5;:38;79018:95;;;;-1:-1:-1;;;79018:95:0;;26671:2:1;79018:95:0;;;26653:21:1;26710:2;26690:18;;;26683:30;26749:34;26729:18;;;26722:62;-1:-1:-1;;;26800:18:1;;;26793:42;26852:19;;79018:95:0;26643:234:1;79018:95:0;79131:10;79142:5;79131:17;;;;;;-1:-1:-1;;;79131:17:0;;;;;;;;;;;;;;;;;79124:24;;78923:233;;;:::o;93304:3043::-;93569:16;22344:1;22940:7;;:19;;22932:63;;;;-1:-1:-1;;;22932:63:0;;28231:2:1;22932:63:0;;;28213:21:1;28270:2;28250:18;;;28243:30;28309:33;28289:18;;;28282:61;28360:18;;22932:63:0;28203:181:1;22932:63:0;22344:1;23073:7;:18;93599:16:::1;::::0;;93663:103:::1;93682:6:::0;93703;93724;93745:10;93663:4:::1;:103::i;:::-;93598:168;;;;;;;93785:26;:24;:26::i;:::-;93777:81;;;::::0;-1:-1:-1;;;93777:81:0;;19879:2:1;93777:81:0::1;::::0;::::1;19861:21:1::0;19918:2;19898:18;;;19891:30;19957:34;19937:18;;;19930:62;-1:-1:-1;;;20008:18:1;;;20001:40;20058:19;;93777:81:0::1;19851:232:1::0;93777:81:0::1;93907:15;93893:10;:29;;;;;;-1:-1:-1::0;;;93893:29:0::1;;;;;;;;;;:61;;;-1:-1:-1::0;93940:14:0::1;93926:10;:28;;;;;;-1:-1:-1::0;;;93926:28:0::1;;;;;;;;;;93893:61;93871:128;;;::::0;-1:-1:-1;;;93871:128:0;;19120:2:1;93871:128:0::1;::::0;::::1;19102:21:1::0;19159:2;19139:18;;;19132:30;-1:-1:-1;;;19178:18:1;;;19171:47;19235:18;;93871:128:0::1;19092:167:1::0;93871:128:0::1;94028:15;94014:10;:29;;;;;;-1:-1:-1::0;;;94014:29:0::1;;;;;;;;;;94010:603;;;94110:24;94086:20;::::0;::::1;;:48;::::0;::::1;;;;-1:-1:-1::0;;;94086:48:0::1;;;;;;;;;;:126;;;-1:-1:-1::0;94183:29:0::1;94159:20;::::0;::::1;;:53;::::0;::::1;;;;-1:-1:-1::0;;;94159:53:0::1;;;;;;;;;;94086:126;94060:238;;;::::0;-1:-1:-1;;;94060:238:0;;24248:2:1;94060:238:0::1;::::0;::::1;24230:21:1::0;24287:2;24267:18;;;24260:30;24326:34;24306:18;;;24299:62;-1:-1:-1;;;24377:18:1;;;24370:48;24435:19;;94060:238:0::1;24220:240:1::0;94060:238:0::1;94010:603;;;94334:14;94320:10;:28;;;;;;-1:-1:-1::0;;;94320:28:0::1;;;;;;;;;;94316:297;;;94415:24;94391:20;::::0;::::1;;:48;::::0;::::1;;;;-1:-1:-1::0;;;94391:48:0::1;;;;;;;;;;:125;;;-1:-1:-1::0;94488:28:0::1;94464:20;::::0;::::1;;:52;::::0;::::1;;;;-1:-1:-1::0;;;94464:52:0::1;;;;;;;;;;94391:125;94365:236;;;::::0;-1:-1:-1;;;94365:236:0;;14242:2:1;94365:236:0::1;::::0;::::1;14224:21:1::0;14281:2;14261:18;;;14254:30;14320:34;14300:18;;;14293:62;-1:-1:-1;;;14371:18:1;;;14364:47;14428:19;;94365:236:0::1;14214:239:1::0;94365:236:0::1;94641:6;94631;:16;;94623:48;;;::::0;-1:-1:-1;;;94623:48:0;;29008:2:1;94623:48:0::1;::::0;::::1;28990:21:1::0;29047:2;29027:18;;;29020:30;-1:-1:-1;;;29066:18:1;;;29059:49;29125:18;;94623:48:0::1;28980:169:1::0;94623:48:0::1;94700:7;94690:6;:17;;94682:48;;;::::0;-1:-1:-1;;;94682:48:0;;29774:2:1;94682:48:0::1;::::0;::::1;29756:21:1::0;29813:2;29793:18;;;29786:30;-1:-1:-1;;;29832:18:1;;;29825:48;29890:18;;94682:48:0::1;29746:168:1::0;94682:48:0::1;94758:9;94749:6;:18;94741:60;;;::::0;-1:-1:-1;;;94741:60:0;;25895:2:1;94741:60:0::1;::::0;::::1;25877:21:1::0;25934:2;25914:18;;;25907:30;25973:31;25953:18;;;25946:59;26022:18;;94741:60:0::1;25867:179:1::0;94741:60:0::1;94833:8;94820:9;:21;;94812:45;;;::::0;-1:-1:-1;;;94812:45:0;;18780:2:1;94812:45:0::1;::::0;::::1;18762:21:1::0;18819:2;18799:18;;;18792:30;-1:-1:-1;;;18838:18:1;;;18831:41;18889:18;;94812:45:0::1;18752:161:1::0;94812:45:0::1;94884:8;94872:9;:20;94868:103;;;94917:10;94909:50;94938:20;94950:8:::0;94938:9:::1;:20;:::i;:::-;94909:50;::::0;;::::1;::::0;;::::1;::::0;::::1;::::0;;;;;;::::1;;;;;;;;;;;;;::::0;::::1;;;;;;94868:103;94983:20;95006:18;95015:9:::0;95006:6;:18:::1;:::i;:::-;94983:41;;95035:20;95127:9;95120:3;95075:28;;95060:12;:43;;;;:::i;:::-;95059:64;;;;:::i;:::-;95058:78;;;;:::i;:::-;95035:101;;95149:20;95172:216;;;;;;;;95193:12;95172:216;;;;;;-1:-1:-1::0;;;95172:216:0::1;;;;;;;;;;;;;95220:6;95172:216;;;;95241:6;95172:216;;;;95262:12;95172:216;;;;95300:13;95289:8;:24;;;;:::i;:::-;95172:216;;;;95346:6;95328:15;:24;;;;:::i;:::-;95172:216;;;;95367:10;95172:216;;;;;;-1:-1:-1::0;;;95172:216:0::1;;;;;;;;;::::0;;95149:239;-1:-1:-1;95412:37:0::1;95428:10;95440:8:::0;95412:15:::1;:37::i;:::-;95460:17;::::0;;;:7:::1;:17;::::0;;;;:26;;;;95401:48;;-1:-1:-1;95480:6:0;;95460:17;;-1:-1:-1;;95460:26:0::1;::::0;;::::1;::::0;::::1;;;;-1:-1:-1::0;;;95460:26:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1::0;;;95460:26:0::1;;;;;;;;;;;::::0;;-1:-1:-1;;;95499:28:0::1;::::0;;;:18:::1;:28;::::0;;;;:48;;;95584:85:::1;95622:13:::0;95650:8;95584:23:::1;:85::i;:::-;95682:4;::::0;95699:14:::1;::::0;::::1;::::0;95725:19:::1;::::0;::::1;::::0;95682:63:::1;::::0;-1:-1:-1;;;95682:63:0;;95560:109;;-1:-1:-1;;;;;;95682:4:0;;::::1;::::0;:9:::1;::::0;:63:::1;::::0;95715:8;;95725:19;95682:63:::1;;31057:25:1::0;;;31113:2;31098:18;;31091:34;31045:2;31030:18;;31012:119;95682:63:0::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;95920:10:0::1;95895:36;::::0;;;:24:::1;:36;::::0;;;;;::::1;;::::0;-1:-1:-1;95890:369:0::1;::::0;-1:-1:-1;;95890:369:0::1;96040:10;96021:30;::::0;;;:18:::1;:30:::0;;;;;;::::1;;96016:174;;96090:10;96071:30;::::0;;;:18:::1;:30:::0;;;;;;;;:37;;-1:-1:-1;;96071:37:0::1;96104:4;96071:37:::0;;::::1;::::0;;;96132:42;;11159:41:1;;;96132:42:0::1;::::0;11132:18:1;96132:42:0::1;;;;;;;96016:174;96229:10;96204:36;::::0;;;:24:::1;:36;::::0;;;;:43;;-1:-1:-1;;96204:43:0::1;96243:4;96204:43;::::0;;95890:369:::1;96293:10;-1:-1:-1::0;;;;;96276:63:0::1;96283:8;96276:63;96305:13;96320:8;96330;96276:63;;;;;;;;:::i;:::-;;;;;;;;-1:-1:-1::0;;22300:1:0;23252:7;:22;-1:-1:-1;93304:3043:0;;;-1:-1:-1;;;;;;;;;;;93304:3043:0:o;90706:221::-;33051:7;33078:6;-1:-1:-1;;;;;33078:6:0;12982:10;33225:23;33217:68;;;;-1:-1:-1;;;33217:68:0;;;;;;;:::i;:::-;90805:2:::1;90796:5;:11;;90788:35;;;::::0;-1:-1:-1;;;90788:35:0;;22355:2:1;90788:35:0::1;::::0;::::1;22337:21:1::0;22394:2;22374:18;;;22367:30;-1:-1:-1;;;22413:18:1;;;22406:41;22464:18;;90788:35:0::1;22327:161:1::0;90788:35:0::1;90834:24;:32:::0;;;90882:37:::1;::::0;11357:25:1;;;90882:37:0::1;::::0;11345:2:1;11330:18;90882:37:0::1;11312:76:1::0;107018:169:0;107099:10;107080:30;;;;:18;:30;;;;;;;;:39;;-1:-1:-1;;107080:39:0;;;;;;;;;;107135:44;;11159:41:1;;;107135:44:0;;11132:18:1;107135:44:0;;;;;;;107018:169;:::o;98268:472::-;98320:21;98344:17;;;:7;:17;;;;;98394;;;;98414:15;-1:-1:-1;98372:111:0;;;;-1:-1:-1;;;98372:111:0;;16958:2:1;98372:111:0;;;16940:21:1;16997:2;16977:18;;;16970:30;17036:28;17016:18;;;17009:56;17082:18;;98372:111:0;16930:176:1;98372:111:0;98518:12;98502;;;;:28;;;;;;-1:-1:-1;;;98502:28:0;;;;;;;;;;98494:61;;;;-1:-1:-1;;;98494:61:0;;14660:2:1;98494:61:0;;;14642:21:1;14699:2;14679:18;;;14672:30;-1:-1:-1;;;14718:18:1;;;14711:50;14778:18;;98494:61:0;14632:170:1;98494:61:0;98566:28;;-1:-1:-1;;98566:28:0;98581:13;98566:28;;;98605:4;;:21;;-1:-1:-1;;;98605:21:0;;;;;11357:25:1;;;-1:-1:-1;;;;;98605:4:0;;;;:11;;11330:18:1;;98605:21:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;98667:15;98673:8;98667:5;:15::i;:::-;98707:8;98700:32;98717:6;:14;;;98700:32;;;;11357:25:1;;11345:2;11330:18;;11312:76;98700:32:0;;;;;;;;98268:472;;:::o;65060:239::-;65132:7;65168:16;;;:7;:16;;;;;;-1:-1:-1;;;;;65168:16:0;65203:19;65195:73;;;;-1:-1:-1;;;65195:73:0;;21530:2:1;65195:73:0;;;21512:21:1;21569:2;21549:18;;;21542:30;21608:34;21588:18;;;21581:62;-1:-1:-1;;;21659:18:1;;;21652:39;21708:19;;65195:73:0;21502:231:1;64790:208:0;64862:7;-1:-1:-1;;;;;64890:19:0;;64882:74;;;;-1:-1:-1;;;64882:74:0;;21119:2:1;64882:74:0;;;21101:21:1;21158:2;21138:18;;;21131:30;21197:34;21177:18;;;21170:62;-1:-1:-1;;;21248:18:1;;;21241:40;21298:19;;64882:74:0;21091:232:1;64882:74:0;-1:-1:-1;;;;;;64974:16:0;;;;;:9;:16;;;;;;;64790:208::o;33656:94::-;33051:7;33078:6;-1:-1:-1;;;;;33078:6:0;12982:10;33225:23;33217:68;;;;-1:-1:-1;;;33217:68:0;;;;;;;:::i;:::-;33721:21:::1;33739:1;33721:9;:21::i;:::-;33656:94::o:0;37064:139::-;37142:4;37166:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;37166:29:0;;;;;;;;;;;;;;;37064:139::o;65535:104::-;65591:13;65624:7;65617:14;;;;;:::i;91781:1108::-;91838:4;;91904:2;91878:22;91896:4;91878:15;:22;:::i;:::-;91877:29;;;;:::i;:::-;91855:51;-1:-1:-1;91917:21:0;91968:2;91942:22;91960:4;91942:15;:22;:::i;:::-;91941:29;;;;:::i;:::-;92057:20;:30;91917:53;;-1:-1:-1;92057:35:0;:89;;;;-1:-1:-1;92109:32:0;;:37;92057:89;:139;;;;-1:-1:-1;92163:28:0;;:33;92057:139;:191;;;;-1:-1:-1;92213:30:0;;:35;92057:191;92039:259;;;92282:4;92275:11;;;;91781:1108;:::o;92039:259::-;92365:20;:30;92350:45;;:115;;;;-1:-1:-1;92433:32:0;;92416:49;;;92350:115;92349:200;;;-1:-1:-1;92519:20:0;:30;92505:44;;92349:200;92330:479;;;;-1:-1:-1;92614:28:0;;92600:42;;;:194;;-1:-1:-1;92697:28:0;;92682:43;;:111;;;;-1:-1:-1;92763:30:0;;92746:47;;;92682:111;92312:547;;;92843:4;92836:11;;;;91781:1108;:::o;92312:547::-;92876:5;92869:12;;;;91781:1108;:::o;89136:275::-;33051:7;33078:6;-1:-1:-1;;;;;33078:6:0;12982:10;33225:23;33217:68;;;;-1:-1:-1;;;33217:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;89261:32:0;::::1;89253:41;;;::::0;::::1;;89305:22;:34:::0;;-1:-1:-1;;;;;;89305:34:0::1;-1:-1:-1::0;;;;;89305:34:0;::::1;::::0;;::::1;::::0;;;89355:48:::1;::::0;10464:51:1;;;89355:48:0::1;::::0;10452:2:1;10437:18;89355:48:0::1;10419:102:1::0;67218:295:0;-1:-1:-1;;;;;67321:24:0;;12982:10;67321:24;;67313:62;;;;-1:-1:-1;;;67313:62:0;;18065:2:1;67313:62:0;;;18047:21:1;18104:2;18084:18;;;18077:30;18143:27;18123:18;;;18116:55;18188:18;;67313:62:0;18037:175:1;67313:62:0;12982:10;67388:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;67388:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;67388:53:0;;;;;;;;;;67457:48;;11159:41:1;;;67388:42:0;;12982:10;67457:48;;11132:18:1;67457:48:0;;;;;;;67218:295;;:::o;97245:571::-;97323:21;97335:8;97323:11;:21::i;:::-;97301:120;;;;-1:-1:-1;;;97301:120:0;;29356:2:1;97301:120:0;;;29338:21:1;29395:2;29375:18;;;29368:30;29434:34;29414:18;;;29407:62;-1:-1:-1;;;29485:18:1;;;29478:47;29542:19;;97301:120:0;29328:239:1;97301:120:0;97434:21;97458:17;;;:7;:17;;;;;97496;;;;97517:15;-1:-1:-1;97496:36:0;97488:67;;;;-1:-1:-1;;;97488:67:0;;17313:2:1;97488:67:0;;;17295:21:1;17352:2;17332:18;;;17325:30;-1:-1:-1;;;17371:18:1;;;17364:48;17429:18;;97488:67:0;17285:168:1;97488:67:0;97590:12;97574;;;;:28;;;;;;-1:-1:-1;;;97574:28:0;;;;;;;;;;97566:52;;;;-1:-1:-1;;;97566:52:0;;27084:2:1;97566:52:0;;;27066:21:1;27123:2;27103:18;;;27096:30;-1:-1:-1;;;27142:18:1;;;27135:41;27193:18;;97566:52:0;27056:161:1;97566:52:0;97631:30;;-1:-1:-1;;97631:30:0;97646:15;97631:30;;;-1:-1:-1;97689:19:0;97699:8;97689:9;:19::i;:::-;97672:36;;97749:15;97755:8;97749:5;:15::i;:::-;97791:8;97782:26;97801:6;97782:26;;;;11357:25:1;;11345:2;11330:18;;11312:76;97782:26:0;;;;;;;;97245:571;;;:::o;68481:328::-;68656:41;12982:10;68689:7;68656:18;:41::i;:::-;68648:103;;;;-1:-1:-1;;;68648:103:0;;;;;;;:::i;:::-;68762:39;68776:4;68782:2;68786:7;68795:5;68762:13;:39::i;:::-;68481:328;;;;:::o;101586:800::-;101776:13;101804:21;101840:17;101872;101920:18;101948:13;;;;;;;;;-1:-1:-1;;;;;101948:13:0;-1:-1:-1;;;;;101948:29:0;;:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;101917:62;;;;;;101990:20;102021:11;101990:43;;102060:24;102077:6;102060:16;:24::i;:::-;102044:40;;102107:138;102134:6;102155;102176;102197:12;102224:10;102107:12;:138::i;:::-;102095:150;;102268:54;102281:6;102289;102297:12;102311:10;102268:12;:54::i;:::-;102256:66;-1:-1:-1;102365:13:0;102341:21;102256:66;102341:9;:21;:::i;:::-;:37;;;;:::i;:::-;102333:45;;101586:800;;;;;;;;;;;:::o;105485:196::-;105612:13;105650:23;105665:7;105650:14;:23::i;88164:217::-;33051:7;33078:6;-1:-1:-1;;;;;33078:6:0;12982:10;33225:23;33217:68;;;;-1:-1:-1;;;33217:68:0;;;;;;;:::i;:::-;88253:3:::1;88244:5;:12;;88236:58;;;::::0;-1:-1:-1;;;88236:58:0;;27829:2:1;88236:58:0::1;::::0;::::1;27811:21:1::0;27868:2;27848:18;;;27841:30;27907:34;27887:18;;;27880:62;-1:-1:-1;;;27958:18:1;;;27951:31;27999:19;;88236:58:0::1;27801:223:1::0;88236:58:0::1;88305:14;:22:::0;;;88343:30:::1;::::0;11357:25:1;;;88343:30:0::1;::::0;11345:2:1;11330:18;88343:30:0::1;11312:76:1::0;89922:247:0;33051:7;33078:6;-1:-1:-1;;;;;33078:6:0;12982:10;33225:23;33217:68;;;;-1:-1:-1;;;33217:68:0;;;;;;;:::i;:::-;90021:3:::1;90012:5;:12;;90004:61;;;::::0;-1:-1:-1;;;90004:61:0;;27424:2:1;90004:61:0::1;::::0;::::1;27406:21:1::0;27463:2;27443:18;;;27436:30;27502:34;27482:18;;;27475:62;-1:-1:-1;;;27553:18:1;;;27546:34;27597:19;;90004:61:0::1;27396:226:1::0;90004:61:0::1;90076:24;:32:::0;;;90124:37:::1;::::0;11357:25:1;;;90124:37:0::1;::::0;11345:2:1;11330:18;90124:37:0::1;11312:76:1::0;38956:149:0;38245:7;38272:12;;;:6;:12;;;;;:22;;;36646:30;36657:4;12982:10;36646;:30::i;:::-;39071:26:::1;39083:4;39089:7;39071:11;:26::i;90320:245::-:0;33051:7;33078:6;-1:-1:-1;;;;;33078:6:0;12982:10;33225:23;33217:68;;;;-1:-1:-1;;;33217:68:0;;;;;;;:::i;:::-;90418:5:::1;90412:2;:11;;:27;;;;;90436:3;90427:5;:12;;90412:27;90404:51;;;::::0;-1:-1:-1;;;90404:51:0;;22355:2:1;90404:51:0::1;::::0;::::1;22337:21:1::0;22394:2;22374:18;;;22367:30;-1:-1:-1;;;22413:18:1;;;22406:41;22464:18;;90404:51:0::1;22327:161:1::0;90404:51:0::1;90466:28;:36:::0;;;90518:39:::1;::::0;11357:25:1;;;90518:39:0::1;::::0;11345:2:1;11330:18;90518:39:0::1;11312:76:1::0;97928:214:0;98019:9;97997:19;98046:89;98070:11;98066:1;:15;98046:89;;;98103:20;98110:9;;98120:1;98110:12;;;;;-1:-1:-1;;;98110:12:0;;;;;;;;;;;;;;;98103:6;:20::i;:::-;98083:3;;;;:::i;:::-;;;;98046:89;;33905:192;33051:7;33078:6;-1:-1:-1;;;;;33078:6:0;12982:10;33225:23;33217:68;;;;-1:-1:-1;;;33217:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;33994:22:0;::::1;33986:73;;;::::0;-1:-1:-1;;;33986:73:0;;15840:2:1;33986:73:0::1;::::0;::::1;15822:21:1::0;15879:2;15859:18;;;15852:30;15918:34;15898:18;;;15891:62;-1:-1:-1;;;15969:18:1;;;15962:36;16015:19;;33986:73:0::1;15812:228:1::0;33986:73:0::1;34070:19;34080:8;34070:9;:19::i;88389:220::-:0;33051:7;33078:6;-1:-1:-1;;;;;33078:6:0;12982:10;33225:23;33217:68;;;;-1:-1:-1;;;33217:68:0;;;;;;;:::i;:::-;88509:20:::1;:37:::0;;88532:14;;88509:20;-1:-1:-1;;88509:37:0::1;::::0;88532:14;88509:37:::1;::::0;::::1;;;;-1:-1:-1::0;;;88509:37:0::1;;;;;;;;;;;;;;88562:39;88586:14;88562:39;;;;;;:::i;36768:204::-:0;36853:4;-1:-1:-1;;;;;;36877:47:0;;-1:-1:-1;;;36877:47:0;;:87;;;36928:36;36952:11;36928:23;:36::i;70319:127::-;70384:4;70408:16;;;:7;:16;;;;;;-1:-1:-1;;;;;70408:16:0;:30;;;70319:127::o;74301:174::-;74376:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;74376:29:0;-1:-1:-1;;;;;74376:29:0;;;;;;;;:24;;74430:23;74376:24;74430:14;:23::i;:::-;-1:-1:-1;;;;;74421:46:0;;;;;;;;;;;74301:174;;:::o;70613:348::-;70706:4;70731:16;70739:7;70731;:16::i;:::-;70723:73;;;;-1:-1:-1;;;70723:73:0;;;;;;;:::i;:::-;70807:13;70823:23;70838:7;70823:14;:23::i;:::-;70807:39;;70876:5;-1:-1:-1;;;;;70865:16:0;:7;-1:-1:-1;;;;;70865:16:0;;:51;;;;70909:7;-1:-1:-1;;;;;70885:31:0;:20;70897:7;70885:11;:20::i;:::-;-1:-1:-1;;;;;70885:31:0;;70865:51;:87;;;-1:-1:-1;;;;;;67705:25:0;;;67681:4;67705:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;70920:32;70857:96;70613:348;-1:-1:-1;;;;70613:348:0:o;73605:578::-;73764:4;-1:-1:-1;;;;;73737:31:0;:23;73752:7;73737:14;:23::i;:::-;-1:-1:-1;;;;;73737:31:0;;73729:85;;;;-1:-1:-1;;;73729:85:0;;24667:2:1;73729:85:0;;;24649:21:1;24706:2;24686:18;;;24679:30;24745:34;24725:18;;;24718:62;-1:-1:-1;;;24796:18:1;;;24789:39;24845:19;;73729:85:0;24639:231:1;73729:85:0;-1:-1:-1;;;;;73833:16:0;;73825:65;;;;-1:-1:-1;;;73825:65:0;;17660:2:1;73825:65:0;;;17642:21:1;17699:2;17679:18;;;17672:30;17738:34;17718:18;;;17711:62;-1:-1:-1;;;17789:18:1;;;17782:34;17833:19;;73825:65:0;17632:226:1;73825:65:0;73903:39;73924:4;73930:2;73934:7;73903:20;:39::i;:::-;74007:29;74024:1;74028:7;74007:8;:29::i;:::-;-1:-1:-1;;;;;74049:15:0;;;;;;:9;:15;;;;;:20;;74068:1;;74049:15;:20;;74068:1;;74049:20;:::i;:::-;;;;-1:-1:-1;;;;;;;74080:13:0;;;;;;:9;:13;;;;;:18;;74097:1;;74080:13;:18;;74097:1;;74080:18;:::i;:::-;;;;-1:-1:-1;;74109:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;74109:21:0;-1:-1:-1;;;;;74109:21:0;;;;;;;;;74148:27;;74109:16;;74148:27;;;;;;;73605:578;;;:::o;37493:497::-;37574:22;37582:4;37588:7;37574;:22::i;:::-;37569:414;;37762:41;37790:7;-1:-1:-1;;;;;37762:41:0;37800:2;37762:19;:41::i;:::-;37876:38;37904:4;37911:2;37876:19;:38::i;:::-;37667:270;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;37667:270:0;;;;;;;;;;-1:-1:-1;;;37613:358:0;;;;;;;:::i;40916:229::-;40991:22;40999:4;41005:7;40991;:22::i;:::-;40986:152;;41030:12;;;;:6;:12;;;;;;;;-1:-1:-1;;;;;41030:29:0;;;;;;;;;:36;;-1:-1:-1;;41030:36:0;41062:4;41030:36;;;41113:12;12982:10;;12902:98;41113:12;-1:-1:-1;;;;;41086:40:0;41104:7;-1:-1:-1;;;;;41086:40:0;41098:4;41086:40;;;;;;;;;;40916:229;;:::o;41153:230::-;41228:22;41236:4;41242:7;41228;:22::i;:::-;41224:152;;;41299:5;41267:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;41267:29:0;;;;;;;;;;:37;;-1:-1:-1;;41267:37:0;;;41324:40;12982:10;;41267:12;;41324:40;;41299:5;41324:40;41153:230;;:::o;105770:145::-;105887:20;105899:7;105887:11;:20::i;104696:224::-;104830:11;:13;;104797:10;;;104830:13;;;:::i;:::-;;;;;104825:18;;104854:21;104864:6;104872:2;104854:9;:21::i;:::-;104886:26;104899:2;104903:8;104886:12;:26::i;100025:1050::-;100135:21;100232:3;100208:20;;100192:13;:36;;;;:::i;:::-;100191:44;;;;:::i;:::-;100174:62;-1:-1:-1;100295:17:0;;100291:107;;100329:22;;;;;;;;;-1:-1:-1;;;;;100329:22:0;-1:-1:-1;;;;;100329:33:0;;100370:13;100329:57;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;100291:107;100410:16;100429:29;100445:13;100429;:29;:::i;:::-;100410:48;-1:-1:-1;100475:12:0;;100471:597;;100553:1;100526:24;;:28;:68;;;;-1:-1:-1;33051:7:0;33078:6;-1:-1:-1;;;;;100575:19:0;;;33078:6;;100575:19;;100526:68;:111;;;;-1:-1:-1;;;;;;100615:22:0;;100627:10;100615:22;;100526:111;100504:453;;;100672:22;100758:3;100709:24;;100698:8;:35;;;;:::i;:::-;100697:64;;;;:::i;:::-;100672:89;-1:-1:-1;100791:25:0;100672:89;100791:8;:25;:::i;:::-;100835:42;;100780:36;;-1:-1:-1;;;;;;100835:26:0;;;:42;;;;;100862:14;;100835:42;;;;100862:14;100835:26;:42;;;;;;;;;;;;;;;;;;;;;100916:8;-1:-1:-1;;;;;100901:40:0;;100926:14;100901:40;;;;11357:25:1;;11345:2;11330:18;;11312:76;100901:40:0;;;;;;;;100504:453;;33051:7;33078:6;;100971:35;;-1:-1:-1;;;;;33078:6:0;;;;100971:35;;;;;100997:8;;100971:35;33051:7;100971:35;100997:8;33078:6;100971:35;;;;;;;;;;;;;;;;;;;;-1:-1:-1;33051:7:0;33078:6;-1:-1:-1;;;;;33078:6:0;-1:-1:-1;;;;;101026:30:0;;101047:8;101026:30;;;;11357:25:1;;11345:2;11330:18;;11312:76;101026:30:0;;;;;;;;100471:597;100025:1050;;;;;:::o;34105:173::-;34161:16;34180:6;;-1:-1:-1;;;;;34197:17:0;;;-1:-1:-1;;;;;;34197:17:0;;;;;;34230:40;;34180:6;;;;;;;34230:40;;34161:16;34230:40;34105:173;;:::o;96481:653::-;96543:4;96582:17;96590:8;96582:7;:17::i;:::-;96560:111;;;;-1:-1:-1;;;96560:111:0;;;;;;;:::i;:::-;96684:18;96705:24;96720:8;96705:14;:24::i;:::-;-1:-1:-1;;;;;96766:30:0;;96740:23;96766:30;;;:18;:30;;;;;;96684:45;;-1:-1:-1;96740:23:0;96766:30;;:68;;;;-1:-1:-1;33051:7:0;33078:6;-1:-1:-1;;;;;33078:6:0;96813:10;:21;96766:68;96847:21;96871:17;;;:7;:17;;;;;96967;;;;96740:94;;-1:-1:-1;96871:17:0;96967:30;;96987:10;;96967:30;:::i;:::-;96935:15;:63;;-1:-1:-1;;;;;;97032:24:0;;97046:10;97032:24;;97031:95;;;97075:18;:50;;;;;97097:28;97075:50;97011:115;96481:653;-1:-1:-1;;;;;;96481:653:0:o;98905:1112::-;98960:14;99010:17;;;:7;:17;;;;;;98987:40;;;;;;;;;;98960:14;;98987:40;99010:17;98987:40;;;;;;;;;;-1:-1:-1;;;98987:40:0;;;;;;;;;;;;;;;-1:-1:-1;;;98987:40:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;98987:40:0;;;;;;;;;;;;;;;-1:-1:-1;;;98987:40:0;;;;;;;;;;;-1:-1:-1;99038:26:0;99067:28;;;:18;:28;;;;;;;99139:13;;:31;;-1:-1:-1;;;99139:31:0;;;;98987:40;;-1:-1:-1;99067:28:0;;99139:13;;;;-1:-1:-1;;;;;99139:13:0;;:29;;:31;;;;;;;;;;;;;;:13;:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;99271:16:0;;:34;;;-1:-1:-1;;;99271:34:0;;;;99108:62;;-1:-1:-1;99108:62:0;;-1:-1:-1;99181:20:0;;-1:-1:-1;;;;;99271:16:0;;;;-1:-1:-1;99271:32:0;;:34;;;;;;;;;;;;;;:16;:34;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;99237:68:0;;-1:-1:-1;99237:68:0;;-1:-1:-1;99403:15:0;;-1:-1:-1;99382:36:0;;-1:-1:-1;99382:36:0;;:6;:17;;;:36;;;;;;-1:-1:-1;;;99382:36:0;;;;;;;;;;99378:493;;;99460:12;99443:6;:13;;;:29;;99435:66;;;;-1:-1:-1;;;99435:66:0;;13889:2:1;99435:66:0;;;13871:21:1;13928:2;13908:18;;;13901:30;13967:26;13947:18;;;13940:54;14011:18;;99435:66:0;13861:174:1;99435:66:0;99615:15;99576:18;99559:6;:13;;;99544:12;:28;;;;:::i;:::-;99543:51;;;;:::i;:::-;99542:88;;;;:::i;:::-;99516:114;;99378:493;;;99688:12;99671:6;:13;;;:29;;99663:67;;;;-1:-1:-1;;;99663:67:0;;16247:2:1;99663:67:0;;;16229:21:1;16286:2;16266:18;;;16259:30;16325:27;16305:18;;;16298:55;16370:18;;99663:67:0;16219:175:1;99663:67:0;99844:15;99805:18;99789:12;99773:6;:13;;;:28;;;;:::i;:::-;99772:51;;;;:::i;:::-;99771:88;;;;:::i;:::-;99745:114;;99378:493;99894:6;:19;;;99885:6;:28;99881:62;;;99924:6;:19;;;99915:28;;99881:62;99954:4;;-1:-1:-1;;;;;99954:4:0;:9;99964:8;99982:17;99964:8;99982:7;:17::i;:::-;99954:55;;-1:-1:-1;;;;;;99954:55:0;;;;;;;;;;30735:25:1;;;;-1:-1:-1;;;;;30796:32:1;30776:18;;;30769:60;30845:18;;;30838:34;;;30708:18;;99954:55:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;98905:1112;;;;;;;;;:::o;69691:315::-;69848:28;69858:4;69864:2;69868:7;69848:9;:28::i;:::-;69895:48;69918:4;69924:2;69928:7;69937:5;69895:22;:48::i;:::-;69887:111;;;;-1:-1:-1;;;69887:111:0;;;;;;;:::i;104383:176::-;104475:11;104548:3;104521:23;;104512:6;:32;;;;:::i;:::-;104511:40;;;;:::i;102973:546::-;103163:11;103205:14;103191:10;:28;;;;;;-1:-1:-1;;;103191:28:0;;;;;;;;;;103187:324;;;103328:29;87020:3;103328:12;:29;:::i;:::-;103300:6;103283:14;;103268:12;103273:6;103268:4;:12::i;:::-;103259:21;;:6;:21;:::i;:::-;:38;;;;:::i;:::-;:47;;;;:::i;:::-;103258:100;;;;:::i;:::-;103234:124;;;;103187:324;103487:23;87020:3;103487:6;:23;:::i;:::-;103453:12;103436:14;;103421:12;103426:6;103421:4;:12::i;103187:324::-;102973:546;;;;;;;:::o;103754:484::-;103919:11;103956:12;103947:6;:21;:53;;;;-1:-1:-1;103986:14:0;103972:10;:28;;;;;;-1:-1:-1;;;103972:28:0;;;;;;;;;;103947:53;103943:128;;;104059:12;104049:6;104024:21;104059:12;104024:6;:21;:::i;:::-;104023:32;;;;:::i;:::-;104022:49;;;;:::i;:::-;104015:56;;;;103943:128;104095:12;104086:6;:21;:54;;;;-1:-1:-1;104125:15:0;104111:10;:29;;;;;;-1:-1:-1;;;104111:29:0;;;;;;;;;;104086:54;104082:129;;;104199:12;104189:6;104164:21;104179:6;104199:12;104164:21;:::i;104082:129::-;-1:-1:-1;104229:1:0;103754:484;;;;;;:::o;84628:679::-;84701:13;84735:16;84743:7;84735;:16::i;:::-;84727:78;;;;-1:-1:-1;;;84727:78:0;;23056:2:1;84727:78:0;;;23038:21:1;23095:2;23075:18;;;23068:30;23134:34;23114:18;;;23107:62;-1:-1:-1;;;23185:18:1;;;23178:47;23242:19;;84727:78:0;23028:239:1;84727:78:0;84818:23;84844:19;;;:10;:19;;;;;84818:45;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;84874:18;84895:10;:8;:10::i;:::-;84874:31;;84987:4;84981:18;85003:1;84981:23;84977:72;;;-1:-1:-1;85028:9:0;84628:679;-1:-1:-1;;84628:679:0:o;84977:72::-;85153:23;;:27;85149:108;;85228:4;85234:9;85211:33;;;;;;;;;:::i;:::-;;;;;;;;;;;;;85197:48;;;;84628:679;;;:::o;85149:108::-;85276:23;85291:7;85276:14;:23::i;78093:224::-;78195:4;-1:-1:-1;;;;;;78219:50:0;;-1:-1:-1;;;78219:50:0;;:90;;;78273:36;78297:11;78273:23;:36::i;105997:215::-;106159:45;106186:4;106192:2;106196:7;106159:26;:45::i;24878:451::-;24953:13;24979:19;25011:10;25015:6;25011:1;:10;:::i;:::-;:14;;25024:1;25011:14;:::i;:::-;25001:25;;;;;;-1:-1:-1;;;25001:25:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;25001:25:0;;24979:47;;-1:-1:-1;;;25037:6:0;25044:1;25037:9;;;;;;-1:-1:-1;;;25037:9:0;;;;;;;;;;;;:15;-1:-1:-1;;;;;25037:15:0;;;;;;;;;-1:-1:-1;;;25063:6:0;25070:1;25063:9;;;;;;-1:-1:-1;;;25063:9:0;;;;;;;;;;;;:15;-1:-1:-1;;;;;25063:15:0;;;;;;;;-1:-1:-1;25094:9:0;25106:10;25110:6;25106:1;:10;:::i;:::-;:14;;25119:1;25106:14;:::i;:::-;25094:26;;25089:135;25126:1;25122;:5;25089:135;;;-1:-1:-1;;;25174:5:0;25182:3;25174:11;25161:25;;;;;-1:-1:-1;;;25161:25:0;;;;;;;;;;;;25149:6;25156:1;25149:9;;;;;;-1:-1:-1;;;25149:9:0;;;;;;;;;;;;:37;-1:-1:-1;;;;;25149:37:0;;;;;;;;-1:-1:-1;25211:1:0;25201:11;;;;;25129:3;;;:::i;:::-;;;25089:135;;;-1:-1:-1;25242:10:0;;25234:55;;;;-1:-1:-1;;;25234:55:0;;13528:2:1;25234:55:0;;;13510:21:1;;;13547:18;;;13540:30;13606:34;13586:18;;;13579:62;13658:18;;25234:55:0;13500:182:1;25234:55:0;25314:6;24878:451;-1:-1:-1;;;24878:451:0:o;85909:206::-;85978:20;85990:7;85978:11;:20::i;:::-;86021:19;;;;:10;:19;;;;;86015:33;;;;;:::i;:::-;:38;;-1:-1:-1;86011:97:0;;86077:19;;;;:10;:19;;;;;86070:26;;;:::i;71303:110::-;71379:26;71389:2;71393:7;71379:26;;;;;;;;;;;;:9;:26::i;105009:169::-;105132:38;105151:7;105160:9;105132:18;:38::i;75040:799::-;75195:4;-1:-1:-1;;;;;75216:13:0;;5292:20;5340:8;75212:620;;75252:72;;-1:-1:-1;;;75252:72:0;;-1:-1:-1;;;;;75252:36:0;;;;;:72;;12982:10;;75303:4;;75309:7;;75318:5;;75252:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;75252:72:0;;;;;;;;-1:-1:-1;;75252:72:0;;;;;;;;;;;;:::i;:::-;;;75248:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;75494:13:0;;75490:272;;75537:60;;-1:-1:-1;;;75537:60:0;;;;;;;:::i;75490:272::-;75712:6;75706:13;75697:6;75693:2;75689:15;75682:38;75248:529;-1:-1:-1;;;;;;75375:51:0;-1:-1:-1;;;75375:51:0;;-1:-1:-1;75368:58:0;;75212:620;-1:-1:-1;75816:4:0;75809:11;;106522:193;106606:1;106570:14;106631:5;106635:1;106606;106631:5;:::i;:::-;106630:11;;106640:1;106630:11;:::i;:::-;106618:23;;106652:55;106663:6;106659:1;:10;106652:55;;;106686:1;106705;106686;106691:5;106686:1;106691;:5;:::i;:::-;106690:11;;;;:::i;:::-;106689:17;;;;:::i;:::-;106671:36;;-1:-1:-1;106671:36:0;-1:-1:-1;106652:55:0;;;106522:193;;;;:::o;105267:129::-;105319:13;105345:43;;;;;;;;;;;;;;;;;;;105267:129;:::o;65710:334::-;65783:13;65817:16;65825:7;65817;:16::i;:::-;65809:76;;;;-1:-1:-1;;;65809:76:0;;25077:2:1;65809:76:0;;;25059:21:1;25116:2;25096:18;;;25089:30;25155:34;25135:18;;;25128:62;-1:-1:-1;;;25206:18:1;;;25199:45;25261:19;;65809:76:0;25049:237:1;65809:76:0;65898:21;65922:10;:8;:10::i;:::-;65898:34;;65974:1;65956:7;65950:21;:25;:86;;;;;;;;;;;;;;;;;66002:7;66011:18;:7;:16;:18::i;:::-;65985:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;65943:93;65710:334;-1:-1:-1;;;65710:334:0:o;64421:305::-;64523:4;-1:-1:-1;;;;;;64560:40:0;;-1:-1:-1;;;64560:40:0;;:105;;-1:-1:-1;;;;;;;64617:48:0;;-1:-1:-1;;;64617:48:0;64560:105;:158;;;-1:-1:-1;;;;;;;;;;26594:40:0;;;64682:36;26485:157;79769:589;-1:-1:-1;;;;;79975:18:0;;79971:187;;80010:40;80042:7;81185:10;:17;;81158:24;;;;:15;:24;;;;;:44;;;81213:24;;;;;;;;;;;;81081:164;80010:40;79971:187;;;80080:2;-1:-1:-1;;;;;80072:10:0;:4;-1:-1:-1;;;;;80072:10:0;;80068:90;;80099:47;80132:4;80138:7;80099:32;:47::i;:::-;-1:-1:-1;;;;;80172:16:0;;80168:183;;80205:45;80242:7;80205:36;:45::i;80168:183::-;80278:4;-1:-1:-1;;;;;80272:10:0;:2;-1:-1:-1;;;;;80272:10:0;;80268:83;;80299:40;80327:2;80331:7;80299:27;:40::i;72908:360::-;72968:13;72984:23;72999:7;72984:14;:23::i;:::-;72968:39;;73020:48;73041:5;73056:1;73060:7;73020:20;:48::i;:::-;73109:29;73126:1;73130:7;73109:8;:29::i;:::-;-1:-1:-1;;;;;73151:16:0;;;;;;:9;:16;;;;;:21;;73171:1;;73151:16;:21;;73171:1;;73151:21;:::i;:::-;;;;-1:-1:-1;;73190:16:0;;;;:7;:16;;;;;;73183:23;;-1:-1:-1;;;;;;73183:23:0;;;73224:36;73198:7;;73190:16;-1:-1:-1;;;;;73224:36:0;;;;;73190:16;;73224:36;72908:360;;:::o;71640:321::-;71770:18;71776:2;71780:7;71770:5;:18::i;:::-;71821:54;71852:1;71856:2;71860:7;71869:5;71821:22;:54::i;:::-;71799:154;;;;-1:-1:-1;;;71799:154:0;;;;;;;:::i;85463:217::-;85563:16;85571:7;85563;:16::i;:::-;85555:75;;;;-1:-1:-1;;;85555:75:0;;21940:2:1;85555:75:0;;;21922:21:1;21979:2;21959:18;;;21952:30;22018:34;21998:18;;;21991:62;-1:-1:-1;;;22069:18:1;;;22062:44;22123:19;;85555:75:0;21912:236:1;85555:75:0;85641:19;;;;:10;:19;;;;;;;;:31;;;;;;;;:::i;23577:723::-;23633:13;23854:10;23850:53;;-1:-1:-1;;23881:10:0;;;;;;;;;;;;-1:-1:-1;;;23881:10:0;;;;;23577:723::o;23850:53::-;23928:5;23913:12;23969:78;23976:9;;23969:78;;24002:8;;;;:::i;:::-;;-1:-1:-1;24025:10:0;;-1:-1:-1;24033:2:0;24025:10;;:::i;:::-;;;23969:78;;;24057:19;24089:6;24079:17;;;;;;-1:-1:-1;;;24079:17:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;24079:17:0;;24057:39;;24107:154;24114:10;;24107:154;;24141:11;24151:1;24141:11;;:::i;:::-;;-1:-1:-1;24210:10:0;24218:2;24210:5;:10;:::i;:::-;24197:24;;:2;:24;:::i;:::-;24184:39;;24167:6;24174;24167:14;;;;;;-1:-1:-1;;;24167:14:0;;;;;;;;;;;;:56;-1:-1:-1;;;;;24167:56:0;;;;;;;;-1:-1:-1;24238:11:0;24247:2;24238:11;;:::i;:::-;;;24107:154;;81872:988;82138:22;82188:1;82163:22;82180:4;82163:16;:22::i;:::-;:26;;;;:::i;:::-;82200:18;82221:26;;;:17;:26;;;;;;82138:51;;-1:-1:-1;82354:28:0;;;82350:328;;-1:-1:-1;;;;;82421:18:0;;82399:19;82421:18;;;:12;:18;;;;;;;;:34;;;;;;;;;82472:30;;;;;;:44;;;82589:30;;:17;:30;;;;;:43;;;82350:328;-1:-1:-1;82774:26:0;;;;:17;:26;;;;;;;;82767:33;;;-1:-1:-1;;;;;82818:18:0;;;;;:12;:18;;;;;:34;;;;;;;82811:41;81872:988::o;83155:1079::-;83433:10;:17;83408:22;;83433:21;;83453:1;;83433:21;:::i;:::-;83465:18;83486:24;;;:15;:24;;;;;;83859:10;:26;;83408:46;;-1:-1:-1;83486:24:0;;83408:46;;83859:26;;;;-1:-1:-1;;;83859:26:0;;;;;;;;;;;;;;;;;83837:48;;83923:11;83898:10;83909;83898:22;;;;;;-1:-1:-1;;;83898:22:0;;;;;;;;;;;;;;;;;;;;:36;;;;84003:28;;;:15;:28;;;;;;;:41;;;84175:24;;;;;84168:31;84210:10;:16;;;;;-1:-1:-1;;;84210:16:0;;;;;;;;;;;;;;;;;;;;;;;;;;83155:1079;;;;:::o;80659:221::-;80744:14;80761:20;80778:2;80761:16;:20::i;:::-;-1:-1:-1;;;;;80792:16:0;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;80837:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;80659:221:0:o;72297:382::-;-1:-1:-1;;;;;72377:16:0;;72369:61;;;;-1:-1:-1;;;72369:61:0;;22695:2:1;72369:61:0;;;22677:21:1;;;22714:18;;;22707:30;22773:34;22753:18;;;22746:62;22825:18;;72369:61:0;22667:182:1;72369:61:0;72450:16;72458:7;72450;:16::i;:::-;72449:17;72441:58;;;;-1:-1:-1;;;72441:58:0;;16601:2:1;72441:58:0;;;16583:21:1;16640:2;16620:18;;;16613:30;16679;16659:18;;;16652:58;16727:18;;72441:58:0;16573:178:1;72441:58:0;72512:45;72541:1;72545:2;72549:7;72512:20;:45::i;:::-;-1:-1:-1;;;;;72570:13:0;;;;;;:9;:13;;;;;:18;;72587:1;;72570:13;:18;;72587:1;;72570:18;:::i;:::-;;;;-1:-1:-1;;72599:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;72599:21:0;-1:-1:-1;;;;;72599:21:0;;;;;;;;72638:33;;72599:16;;;72638:33;;72599:16;;72638:33;72297:382;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:631:1;78:5;108:18;149:2;141:6;138:14;135:2;;;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:2;;;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:2;;;532:1;529;522:12;491:2;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;;;;88:557;;;;;:::o;650:160::-;715:20;;771:13;;764:21;754:32;;744:2;;800:1;797;790:12;744:2;696:114;;;:::o;815:151::-;891:20;;940:1;930:12;;920:2;;956:1;953;946:12;971:179;1049:13;;1102:22;1091:34;;1081:45;;1071:2;;1140:1;1137;1130:12;1155:257;1214:6;1267:2;1255:9;1246:7;1242:23;1238:32;1235:2;;;1288:6;1280;1273:22;1235:2;1332:9;1319:23;1351:31;1376:5;1351:31;:::i;1417:398::-;1485:6;1493;1546:2;1534:9;1525:7;1521:23;1517:32;1514:2;;;1567:6;1559;1552:22;1514:2;1611:9;1598:23;1630:31;1655:5;1630:31;:::i;:::-;1680:5;-1:-1:-1;1737:2:1;1722:18;;1709:32;1750:33;1709:32;1750:33;:::i;:::-;1802:7;1792:17;;;1504:311;;;;;:::o;1820:466::-;1897:6;1905;1913;1966:2;1954:9;1945:7;1941:23;1937:32;1934:2;;;1987:6;1979;1972:22;1934:2;2031:9;2018:23;2050:31;2075:5;2050:31;:::i;:::-;2100:5;-1:-1:-1;2157:2:1;2142:18;;2129:32;2170:33;2129:32;2170:33;:::i;:::-;1924:362;;2222:7;;-1:-1:-1;;;2276:2:1;2261:18;;;;2248:32;;1924:362::o;2291:824::-;2386:6;2394;2402;2410;2463:3;2451:9;2442:7;2438:23;2434:33;2431:2;;;2485:6;2477;2470:22;2431:2;2529:9;2516:23;2548:31;2573:5;2548:31;:::i;:::-;2598:5;-1:-1:-1;2655:2:1;2640:18;;2627:32;2668:33;2627:32;2668:33;:::i;:::-;2720:7;-1:-1:-1;2774:2:1;2759:18;;2746:32;;-1:-1:-1;2829:2:1;2814:18;;2801:32;2856:18;2845:30;;2842:2;;;2893:6;2885;2878:22;2842:2;2921:22;;2974:4;2966:13;;2962:27;-1:-1:-1;2952:2:1;;3008:6;3000;2993:22;2952:2;3036:73;3101:7;3096:2;3083:16;3078:2;3074;3070:11;3036:73;:::i;:::-;3026:83;;;2421:694;;;;;;;:::o;3120:325::-;3185:6;3193;3246:2;3234:9;3225:7;3221:23;3217:32;3214:2;;;3267:6;3259;3252:22;3214:2;3311:9;3298:23;3330:31;3355:5;3330:31;:::i;:::-;3380:5;-1:-1:-1;3404:35:1;3435:2;3420:18;;3404:35;:::i;:::-;3394:45;;3204:241;;;;;:::o;3450:325::-;3518:6;3526;3579:2;3567:9;3558:7;3554:23;3550:32;3547:2;;;3600:6;3592;3585:22;3547:2;3644:9;3631:23;3663:31;3688:5;3663:31;:::i;:::-;3713:5;3765:2;3750:18;;;;3737:32;;-1:-1:-1;;;3537:238:1:o;3780:665::-;3866:6;3874;3927:2;3915:9;3906:7;3902:23;3898:32;3895:2;;;3948:6;3940;3933:22;3895:2;3993:9;3980:23;4022:18;4063:2;4055:6;4052:14;4049:2;;;4084:6;4076;4069:22;4049:2;4127:6;4116:9;4112:22;4102:32;;4172:7;4165:4;4161:2;4157:13;4153:27;4143:2;;4199:6;4191;4184:22;4143:2;4244;4231:16;4270:2;4262:6;4259:14;4256:2;;;4291:6;4283;4276:22;4256:2;4349:7;4344:2;4334:6;4331:1;4327:14;4323:2;4319:23;4315:32;4312:45;4309:2;;;4375:6;4367;4360:22;4309:2;4411;4403:11;;;;;4433:6;;-1:-1:-1;3885:560:1;;-1:-1:-1;;;;3885:560:1:o;4450:190::-;4506:6;4559:2;4547:9;4538:7;4534:23;4530:32;4527:2;;;4580:6;4572;4565:22;4527:2;4608:26;4624:9;4608:26;:::i;4645:190::-;4704:6;4757:2;4745:9;4736:7;4732:23;4728:32;4725:2;;;4778:6;4770;4763:22;4725:2;-1:-1:-1;4806:23:1;;4715:120;-1:-1:-1;4715:120:1:o;4840:325::-;4908:6;4916;4969:2;4957:9;4948:7;4944:23;4940:32;4937:2;;;4990:6;4982;4975:22;4937:2;5031:9;5018:23;5008:33;;5091:2;5080:9;5076:18;5063:32;5104:31;5129:5;5104:31;:::i;5170:255::-;5228:6;5281:2;5269:9;5260:7;5256:23;5252:32;5249:2;;;5302:6;5294;5287:22;5249:2;5346:9;5333:23;5365:30;5389:5;5365:30;:::i;5430:259::-;5499:6;5552:2;5540:9;5531:7;5527:23;5523:32;5520:2;;;5573:6;5565;5558:22;5520:2;5610:9;5604:16;5629:30;5653:5;5629:30;:::i;5982:300::-;6065:6;6118:2;6106:9;6097:7;6093:23;6089:32;6086:2;;;6139:6;6131;6124:22;6086:2;6183:9;6170:23;6222:1;6215:5;6212:12;6202:2;;6243:6;6235;6228:22;6482:423;6582:6;6590;6598;6606;6659:3;6647:9;6638:7;6634:23;6630:33;6627:2;;;6681:6;6673;6666:22;6627:2;6722:9;6709:23;6699:33;;6779:2;6768:9;6764:18;6751:32;6741:42;;6830:2;6819:9;6815:18;6802:32;6792:42;;6853:46;6895:2;6884:9;6880:18;6853:46;:::i;:::-;6843:56;;6617:288;;;;;;;:::o;6910:395::-;6996:6;7004;7012;7020;7073:3;7061:9;7052:7;7048:23;7044:33;7041:2;;;7095:6;7087;7080:22;7041:2;-1:-1:-1;;7123:23:1;;;7193:2;7178:18;;7165:32;;-1:-1:-1;7244:2:1;7229:18;;7216:32;;7295:2;7280:18;7267:32;;-1:-1:-1;7031:274:1;-1:-1:-1;7031:274:1:o;7310:987::-;7447:6;7455;7463;7471;7479;7487;7495;7548:3;7536:9;7527:7;7523:23;7519:33;7516:2;;;7570:6;7562;7555:22;7516:2;7611:9;7598:23;7588:33;;7668:2;7657:9;7653:18;7640:32;7630:42;;7719:2;7708:9;7704:18;7691:32;7681:42;;7770:2;7759:9;7755:18;7742:32;7732:42;;7793:47;7835:3;7824:9;7820:19;7793:47;:::i;:::-;7783:57;;7890:3;7879:9;7875:19;7862:33;7904:31;7929:5;7904:31;:::i;:::-;7954:5;-1:-1:-1;8010:3:1;7995:19;;7982:33;8038:18;8027:30;;8024:2;;;8075:6;8067;8060:22;8024:2;8103:22;;8156:4;8148:13;;8144:27;-1:-1:-1;8134:2:1;;8190:6;8182;8175:22;8134:2;8218:73;8283:7;8278:2;8265:16;8260:2;8256;8252:11;8218:73;:::i;:::-;8208:83;;;7506:791;;;;;;;;;;:::o;8302:483::-;8405:6;8413;8421;8429;8437;8490:3;8478:9;8469:7;8465:23;8461:33;8458:2;;;8512:6;8504;8497:22;8458:2;8540:39;8569:9;8540:39;:::i;:::-;8530:49;;8619:2;8608:9;8604:18;8598:25;8588:35;;8663:2;8652:9;8648:18;8642:25;8632:35;;8707:2;8696:9;8692:18;8686:25;8676:35;;8730:49;8774:3;8763:9;8759:19;8730:49;:::i;:::-;8720:59;;8448:337;;;;;;;;:::o;8790:257::-;8831:3;8869:5;8863:12;8896:6;8891:3;8884:19;8912:63;8968:6;8961:4;8956:3;8952:14;8945:4;8938:5;8934:16;8912:63;:::i;:::-;9029:2;9008:15;-1:-1:-1;;9004:29:1;8995:39;;;;9036:4;8991:50;;8839:208;-1:-1:-1;;8839:208:1:o;9052:470::-;9231:3;9269:6;9263:13;9285:53;9331:6;9326:3;9319:4;9311:6;9307:17;9285:53;:::i;:::-;9401:13;;9360:16;;;;9423:57;9401:13;9360:16;9457:4;9445:17;;9423:57;:::i;:::-;9496:20;;9239:283;-1:-1:-1;;;;9239:283:1:o;9527:786::-;9938:25;9933:3;9926:38;9908:3;9993:6;9987:13;10009:62;10064:6;10059:2;10054:3;10050:12;10043:4;10035:6;10031:17;10009:62;:::i;:::-;-1:-1:-1;;;10130:2:1;10090:16;;;10122:11;;;10115:40;10180:13;;10202:63;10180:13;10251:2;10243:11;;10236:4;10224:17;;10202:63;:::i;:::-;10285:17;10304:2;10281:26;;9916:397;-1:-1:-1;;;;9916:397:1:o;10526:488::-;-1:-1:-1;;;;;10795:15:1;;;10777:34;;10847:15;;10842:2;10827:18;;10820:43;10894:2;10879:18;;10872:34;;;10942:3;10937:2;10922:18;;10915:31;;;10720:4;;10963:45;;10988:19;;10980:6;10963:45;:::i;12093:258::-;12249:2;12234:18;;12261:50;12304:6;12261:50;:::i;:::-;12320:25;;;12216:135;:::o;12356:741::-;12677:3;12662:19;;12690:50;12733:6;12690:50;:::i;:::-;12767:6;12756:9;12749:25;12810:6;12805:2;12794:9;12790:18;12783:34;12853:6;12848:2;12837:9;12833:18;12826:34;12896:6;12891:2;12880:9;12876:18;12869:34;12940:6;12934:3;12923:9;12919:19;12912:35;12984:6;12978:3;12967:9;12963:19;12956:35;13021:1;13013:6;13010:13;13000:2;;13027:18;;:::i;:::-;13084:6;13078:3;13067:9;13063:19;13056:35;12644:453;;;;;;;;;;:::o;13102:219::-;13251:2;13240:9;13233:21;13214:4;13271:44;13311:2;13300:9;13296:18;13288:6;13271:44;:::i;15219:414::-;15421:2;15403:21;;;15460:2;15440:18;;;15433:30;15499:34;15494:2;15479:18;;15472:62;-1:-1:-1;;;15565:2:1;15550:18;;15543:48;15623:3;15608:19;;15393:240::o;19264:408::-;19466:2;19448:21;;;19505:2;19485:18;;;19478:30;19544:34;19539:2;19524:18;;19517:62;-1:-1:-1;;;19610:2:1;19595:18;;19588:42;19662:3;19647:19;;19438:234::o;23685:356::-;23887:2;23869:21;;;23906:18;;;23899:30;23965:34;23960:2;23945:18;;23938:62;24032:2;24017:18;;23859:182::o;26051:413::-;26253:2;26235:21;;;26292:2;26272:18;;;26265:30;26331:34;26326:2;26311:18;;26304:62;-1:-1:-1;;;26397:2:1;26382:18;;26375:47;26454:3;26439:19;;26225:239::o;31136:361::-;31341:6;31330:9;31323:25;31384:6;31379:2;31368:9;31364:18;31357:34;31427:2;31422;31411:9;31407:18;31400:30;31304:4;31447:44;31487:2;31476:9;31472:18;31464:6;31447:44;:::i;31898:128::-;31938:3;31969:1;31965:6;31962:1;31959:13;31956:2;;;31975:18;;:::i;:::-;-1:-1:-1;32011:9:1;;31946:80::o;32031:120::-;32071:1;32097;32087:2;;32102:18;;:::i;:::-;-1:-1:-1;32136:9:1;;32077:74::o;32156:168::-;32196:7;32262:1;32258;32254:6;32250:14;32247:1;32244:21;32239:1;32232:9;32225:17;32221:45;32218:2;;;32269:18;;:::i;:::-;-1:-1:-1;32309:9:1;;32208:116::o;32329:125::-;32369:4;32397:1;32394;32391:8;32388:2;;;32402:18;;:::i;:::-;-1:-1:-1;32439:9:1;;32378:76::o;32459:258::-;32531:1;32541:113;32555:6;32552:1;32549:13;32541:113;;;32631:11;;;32625:18;32612:11;;;32605:39;32577:2;32570:10;32541:113;;;32672:6;32669:1;32666:13;32663:2;;;-1:-1:-1;;32707:1:1;32689:16;;32682:27;32512:205::o;32722:136::-;32761:3;32789:5;32779:2;;32798:18;;:::i;:::-;-1:-1:-1;;;32834:18:1;;32769:89::o;32863:380::-;32942:1;32938:12;;;;32985;;;33006:2;;33060:4;33052:6;33048:17;33038:27;;33006:2;33113;33105:6;33102:14;33082:18;33079:38;33076:2;;;33159:10;33154:3;33150:20;33147:1;33140:31;33194:4;33191:1;33184:15;33222:4;33219:1;33212:15;33248:135;33287:3;-1:-1:-1;;33308:17:1;;33305:2;;;33328:18;;:::i;:::-;-1:-1:-1;33375:1:1;33364:13;;33295:88::o;33388:112::-;33420:1;33446;33436:2;;33451:18;;:::i;:::-;-1:-1:-1;33485:9:1;;33426:74::o;33505:127::-;33566:10;33561:3;33557:20;33554:1;33547:31;33597:4;33594:1;33587:15;33621:4;33618:1;33611:15;33637:127;33698:10;33693:3;33689:20;33686:1;33679:31;33729:4;33726:1;33719:15;33753:4;33750:1;33743:15;33769:127;33830:10;33825:3;33821:20;33818:1;33811:31;33861:4;33858:1;33851:15;33885:4;33882:1;33875:15;33901:127;33962:10;33957:3;33953:20;33950:1;33943:31;33993:4;33990:1;33983:15;34017:4;34014:1;34007:15;34033:125;34126:1;34119:5;34116:12;34106:2;;34132:18;;:::i;34163:131::-;-1:-1:-1;;;;;34238:31:1;;34228:42;;34218:2;;34284:1;34281;34274:12;34299:131;-1:-1:-1;;;;;;34373:32:1;;34363:43;;34353:2;;34420:1;34417;34410:12

Swarm Source

ipfs://6e713c59178faa28e1cead8d8af250fcb7dca77673c3aefc237cd9225b4d8b87
Loading