BNB Price: $719.03 (+1.82%)
Gas: 1 GWei
 

Overview

Max Total Supply

0BFR

Holders

0

Total Transfers

-

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information

Contract Source Code Verified (Exact Match)

Contract Name:
BufferBNBOptions

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 BscScan.com on 2021-10-08
*/

// 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: IBufferOptions

interface IBufferOptions {
    event Create(
        uint256 indexed id,
        address indexed account,
        uint256 settlementFee,
        uint256 totalFee
    );

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

    enum State {Inactive, Active, Exercised, Expired}
    enum OptionType {Invalid, Put, Call}

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

// 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

/**
 * Buffer
 * Copyright (C) 2020 Buffer Protocol
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

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: IBNBLiquidityPool

interface IBNBLiquidityPool is ILiquidityPool {

    event UpdateRevertTransfersInLockUpPeriod(address indexed account, bool value);

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


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

// File: BufferBNBOptions.sol

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

    IBufferStakingBNB public settlementFeeRecipient;
    mapping(uint256 => Option) public options;
    uint256 public impliedVolRate;
    uint256 public optionCollateralizationRatio = 100;
    uint256 public settlementFeePercentage = 4;
    uint256 public stakingFeePercentage = 50;
    uint256 public referralRewardPercentage = 25;
    uint256 internal constant PRICE_DECIMALS = 1e8;
    uint256 internal contractCreationTimestamp;
    AggregatorV3Interface public priceProvider;
    BufferBNBPool public pool;

    /**
     * @param pp The address of ChainLink BNB/USD price feed contract
     */
    constructor(
        AggregatorV3Interface pp,
        IBufferStakingBNB staking,
        BufferBNBPool _pool
    ) ERC721("Buffer", "BFR") {
        pool = _pool;
        priceProvider = pp;
        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 >= 1000, "ImpliedVolRate limit is too small");
        impliedVolRate = value;
        emit UpdateImpliedVolatility(value);
    }

    /**
     * @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 Creates a new option
     * @param period Option period in seconds (1 days <= period <= 90 days)
     * @param amount Option amount
     * @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 strike,
        OptionType optionType,
        address referrer
    ) external payable nonReentrant returns (uint256 optionID) {
        (uint256 totalFee, uint256 settlementFee, uint256 strikeFee, ) = fees(
            period,
            amount,
            strike,
            optionType
        );

        require(
            optionType == OptionType.Call || optionType == OptionType.Put,
            "Wrong option type"
        );
        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);
        options[optionID] = option;

        uint256 stakingAmount = distributeSettlementFee(settlementFee, referrer);

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

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

    /**
     * @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];
        (, int256 latestPrice, , , ) = priceProvider.latestRoundData();
        uint256 currentPrice = uint256(latestPrice);
        if (option.optionType == OptionType.Call) {
            require(option.strike <= currentPrice, "Current price is too low");
            profit =
                ((currentPrice - option.strike) * option.amount) /
                currentPrice;
        } else {
            require(option.strike >= currentPrice, "Current price is too high");
            profit =
                ((option.strike - currentPrice) * option.amount) /
                currentPrice;
        }
        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);
            }
            payable(owner()).transfer(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) internal returns (uint256 id) {
        id = nextTokenId++;
        _safeMint(holder, id);
    }

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

    // 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;

    event AutoExerciseStatusChange(address indexed account, bool status);

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

}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"contract AggregatorV3Interface","name":"pp","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"}],"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":"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":"UpdateOptionCollaterizationRatio","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"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"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":[{"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":"strike","type":"uint256"},{"internalType":"enum IBufferOptions.OptionType","name":"optionType","type":"uint8"},{"internalType":"address","name":"referrer","type":"address"}],"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 IBufferOptions.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":[],"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":"optionCollateralizationRatio","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"options","outputs":[{"internalType":"enum IBufferOptions.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 IBufferOptions.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":"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":"setOptionCollaterizationRatio","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":[],"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"}]

60806040526000600d5560646011556004601255603260135560196014553480156200002a57600080fd5b5060405162004043380380620040438339810160408190526200004d916200021a565b60405180604001604052806006815260200165213ab33332b960d11b8152506040518060400160405280600381526020016221232960e91b815250620000a26200009c6200012060201b60201c565b62000124565b8151620000b790600190602085019062000174565b508051620000cd90600290602084019062000174565b50506001600c5550601780546001600160a01b03199081166001600160a01b039384161790915560168054821694831694909417909355600e805490931691161790556130d460105542601555620002c3565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b82805462000182906200026d565b90600052602060002090601f016020900481019282620001a65760008555620001f1565b82601f10620001c157805160ff1916838001178555620001f1565b82800160010185558215620001f1579182015b82811115620001f1578251825591602001919060010190620001d4565b50620001ff92915062000203565b5090565b5b80821115620001ff576000815560010162000204565b6000806000606084860312156200022f578283fd5b83516200023c81620002aa565b60208501519093506200024f81620002aa565b60408501519092506200026281620002aa565b809150509250925092565b600181811c908216806200028257607f821691505b60208210811415620002a457634e487b7160e01b600052602260045260246000fd5b50919050565b6001600160a01b0381168114620002c057600080fd5b50565b613d7080620002d36000396000f3fe6080604052600436106102ae5760003560e01c8063715018a611610175578063c7c3b53f116100dc578063e11d1da211610095578063e985e9c51161006f578063e985e9c5146108be578063ecfad46414610907578063f2fde38b1461091a578063f3fa34951461093a57600080fd5b8063e11d1da21461084e578063e2bef7541461087e578063e342b5981461089e57600080fd5b8063c7c3b53f14610778578063c87b56dd146107b8578063ca535c3b146107d8578063ceaeeba9146107ee578063cedcc6da1461080e578063d547741f1461082e57600080fd5b806396350a851161012e57806396350a85146106c3578063a217fddf146106e3578063a22cb465146106f8578063b07f0a4114610718578063b888879e14610738578063b88d4fde1461075857600080fd5b8063715018a61461062f57806375794a3c146106445780638da5cb5b1461065a57806391d1485414610678578063920a253e1461069857806395d89b41146106ae57600080fd5b80632f2ff15d1161021957806342966c68116101d257806342966c681461056f5780634f6ccce71461058f5780635ce6e26e146105af5780636198e339146105cf5780636352211e146105ef57806370a082311461060f57600080fd5b80632f2ff15d146104695780632f745c5914610489578063302ce651146104a957806336568abe146104bf578063409e2205146104df57806342842e0e1461054f57600080fd5b806318160ddd1161026b57806318160ddd146103a4578063181731dc146103c357806318f88e5b146103e35780631ec3ad1d146103f957806323b872dd14610419578063248a9ca31461043957600080fd5b806301ffc9a7146102b357806306fdde03146102e8578063081812fc1461030a578063095ea7b31461034257806316f0115b14610364578063180acf6e14610384575b600080fd5b3480156102bf57600080fd5b506102d36102ce366004613805565b610950565b60405190151581526020015b60405180910390f35b3480156102f457600080fd5b506102fd610961565b6040516102df9190613a77565b34801561031657600080fd5b5061032a6103253660046137c9565b6109f3565b6040516001600160a01b0390911681526020016102df565b34801561034e57600080fd5b5061036261035d366004613714565b610a8d565b005b34801561037057600080fd5b5060175461032a906001600160a01b031681565b34801561039057600080fd5b5061036261039f3660046137c9565b610ba3565b3480156103b057600080fd5b506009545b6040519081526020016102df565b3480156103cf57600080fd5b50600e5461032a906001600160a01b031681565b3480156103ef57600080fd5b506103b560105481565b34801561040557600080fd5b506103626104143660046137c9565b610c5a565b34801561042557600080fd5b506103626104343660046135c7565b610d15565b34801561044557600080fd5b506103b56104543660046137c9565b6000908152600b602052604090206001015490565b34801561047557600080fd5b506103626104843660046137e1565b610d47565b34801561049557600080fd5b506103b56104a4366004613714565b610d6d565b3480156104b557600080fd5b506103b560115481565b3480156104cb57600080fd5b506103626104da3660046137e1565b610e03565b3480156104eb57600080fd5b5061053c6104fa3660046137c9565b600f60205260009081526040902080546001820154600283015460038401546004850154600586015460069096015460ff958616969495939492939192911687565b6040516102df9796959493929190613a20565b34801561055b57600080fd5b5061036261056a3660046135c7565b610e81565b34801561057b57600080fd5b5061036261058a3660046137c9565b610e9c565b34801561059b57600080fd5b506103b56105aa3660046137c9565b610f16565b3480156105bb57600080fd5b506103626105ca3660046137af565b610fb7565b3480156105db57600080fd5b506103626105ea3660046137c9565b61100c565b3480156105fb57600080fd5b5061032a61060a3660046137c9565b61118b565b34801561061b57600080fd5b506103b561062a366004613573565b611202565b34801561063b57600080fd5b50610362611289565b34801561065057600080fd5b506103b5600d5481565b34801561066657600080fd5b506000546001600160a01b031661032a565b34801561068457600080fd5b506102d36106933660046137e1565b6112bf565b3480156106a457600080fd5b506103b560145481565b3480156106ba57600080fd5b506102fd6112ea565b3480156106cf57600080fd5b506103626106de366004613573565b6112f9565b3480156106ef57600080fd5b506103b5600081565b34801561070457600080fd5b506103626107133660046136e0565b611384565b34801561072457600080fd5b506103626107333660046137c9565b611449565b34801561074457600080fd5b5060165461032a906001600160a01b031681565b34801561076457600080fd5b50610362610773366004613607565b6115cf565b34801561078457600080fd5b5061079861079336600461383d565b611607565b6040805194855260208501939093529183015260608201526080016102df565b3480156107c457600080fd5b506102fd6107d33660046137c9565b6116ec565b3480156107e457600080fd5b506103b560135481565b3480156107fa57600080fd5b506103626108093660046137c9565b6117f2565b34801561081a57600080fd5b506103626108293660046137c9565b6118ad565b34801561083a57600080fd5b506103626108493660046137e1565b611969565b34801561085a57600080fd5b506102d3610869366004613573565b60186020526000908152604090205460ff1681565b34801561088a57600080fd5b506103626108993660046137c9565b61198f565b3480156108aa57600080fd5b506103626108b936600461373f565b611a3a565b3480156108ca57600080fd5b506102d36108d936600461358f565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b6103b561091536600461387b565b611a87565b34801561092657600080fd5b50610362610935366004613573565b611f3b565b34801561094657600080fd5b506103b560125481565b600061095b82611fd3565b92915050565b60606001805461097090613c53565b80601f016020809104026020016040519081016040528092919081815260200182805461099c90613c53565b80156109e95780601f106109be576101008083540402835291602001916109e9565b820191906000526020600020905b8154815290600101906020018083116109cc57829003601f168201915b5050505050905090565b6000818152600360205260408120546001600160a01b0316610a715760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600560205260409020546001600160a01b031690565b6000610a988261118b565b9050806001600160a01b0316836001600160a01b03161415610b065760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610a68565b336001600160a01b0382161480610b225750610b2281336108d9565b610b945760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610a68565b610b9e8383611ff8565b505050565b6000546001600160a01b03163314610bcd5760405162461bcd60e51b8152600401610a6890613b28565b6064811115610c1e5760405162461bcd60e51b815260206004820181905260248201527f5374616b696e6746656550657263656e7461676520697320746f6f20686967686044820152606401610a68565b60138190556040518181527f7ab3467fb06d3d8716698bece5f22a665374115bd3d0a43d6e11b76fcec1dfbb906020015b60405180910390a150565b6000546001600160a01b03163314610c845760405162461bcd60e51b8152600401610a6890613b28565b60148110610ce05760405162461bcd60e51b815260206004820152602360248201527f536574746c656d656e7446656550657263656e7461676520697320746f6f20686044820152620d2ced60eb1b6064820152608401610a68565b60128190556040518181527f803e7bbaebadbda418ec6dd788e57c29c1cf3faeb7e139d21247e624c9e6d11990602001610c4f565b610d20335b82612066565b610d3c5760405162461bcd60e51b8152600401610a6890613b5d565b610b9e838383612118565b6000828152600b6020526040902060010154610d6381336122c3565b610b9e8383612327565b6000610d7883611202565b8210610dda5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610a68565b506001600160a01b03919091166000908152600760209081526040808320938352929052205490565b6001600160a01b0381163314610e735760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b6064820152608401610a68565b610e7d82826123ad565b5050565b610b9e838383604051806020016040528060008152506115cf565b610ea533610d1a565b610f0a5760405162461bcd60e51b815260206004820152603060248201527f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760448201526f1b995c881b9bdc88185c1c1c9bdd995960821b6064820152608401610a68565b610f1381612414565b50565b6000610f2160095490565b8210610f845760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610a68565b60098281548110610fa557634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050919050565b33600081815260186020908152604091829020805460ff191685151590811790915591519182527f68d3d9b231e6283ecc485a9fb1e1d0a8c3feaa987c41cdb49c30fad64e5af997910160405180910390a250565b6000818152600f602052604090206005810154421161106d5760405162461bcd60e51b815260206004820152601a60248201527f4f7074696f6e20686173206e6f742065787069726564207965740000000000006044820152606401610a68565b6001815460ff16600381111561109357634e487b7160e01b600052602160045260246000fd5b146110d75760405162461bcd60e51b81526020600482015260146024820152734f7074696f6e206973206e6f742061637469766560601b6044820152606401610a68565b805460ff19166003178155601754604051636198e33960e01b8152600481018490526001600160a01b0390911690636198e33990602401600060405180830381600087803b15801561112857600080fd5b505af115801561113c573d6000803e3d6000fd5b5050505061114982612414565b817f5f36a4a575e512eb69d6d28c3b0ff98cca7ba50ad5bf04e14094ad1d425e0d31826004015460405161117f91815260200190565b60405180910390a25050565b6000818152600360205260408120546001600160a01b03168061095b5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610a68565b60006001600160a01b03821661126d5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610a68565b506001600160a01b031660009081526004602052604090205490565b6000546001600160a01b031633146112b35760405162461bcd60e51b8152600401610a6890613b28565b6112bd60006124bb565b565b6000918252600b602090815260408084206001600160a01b0393909316845291905290205460ff1690565b60606002805461097090613c53565b6000546001600160a01b031633146113235760405162461bcd60e51b8152600401610a6890613b28565b6001600160a01b03811661133657600080fd5b600e80546001600160a01b0319166001600160a01b0383169081179091556040519081527f92f6c1e8df34c666f737a2407b4e63d3a77f133b69fdf70f01b5e3b8072551f690602001610c4f565b6001600160a01b0382163314156113dd5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610a68565b3360008181526006602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6114528161250b565b6114b85760405162461bcd60e51b815260206004820152603160248201527f6d73672e73656e646572206973206e6f7420656c696769626c6520746f20657860448201527032b931b4b9b2903a34329037b83a34b7b760791b6064820152608401610a68565b6000818152600f60205260409020600581015442111561150f5760405162461bcd60e51b815260206004820152601260248201527113dc1d1a5bdb881a185cc8195e1c1a5c995960721b6044820152606401610a68565b6001815460ff16600381111561153557634e487b7160e01b600052602160045260246000fd5b146115705760405162461bcd60e51b815260206004820152600b60248201526a57726f6e6720737461746560a81b6044820152606401610a68565b805460ff191660021781556000611586836125ce565b905061159183612414565b827e84fe51c7cb34b132b7b6eb5d5a87a489f8d6d284758d00a0402c1bad9a0def826040516115c291815260200190565b60405180910390a2505050565b6115d93383612066565b6115f55760405162461bcd60e51b8152600401610a6890613b5d565b6116018484848461291c565b50505050565b6000806000806000601660009054906101000a90046001600160a01b03166001600160a01b031663feaf968c6040518163ffffffff1660e01b815260040160a06040518083038186803b15801561165d57600080fd5b505afa158015611671573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061169591906138ce565b50505091505060008190506116a98961294f565b94506116b8898b8a848b61296b565b92506116c68989838a612a03565b9350846116d38585613bae565b6116dd9190613bae565b95505050945094509450949050565b6000818152600360205260409020546060906001600160a01b031661176b5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610a68565b60006117a060408051808201909152601681527568747470733a2f2f6275666665722e66696e616e636560501b602082015290565b905060008151116117c057604051806020016040528060008152506117eb565b806117ca84612aa9565b6040516020016117db929190613949565b6040516020818303038152906040525b9392505050565b6000546001600160a01b0316331461181c5760405162461bcd60e51b8152600401610a6890613b28565b6103e88110156118785760405162461bcd60e51b815260206004820152602160248201527f496d706c696564566f6c52617465206c696d697420697320746f6f20736d616c6044820152601b60fa1b6064820152608401610a68565b60108190556040518181527f3e0c59249d1a9c5f08383bdbdfbc45517a71b76e72223ae649c576e4d125869690602001610c4f565b6000546001600160a01b031633146118d75760405162461bcd60e51b8152600401610a6890613b28565b60648111156119345760405162461bcd60e51b8152602060048201526024808201527f526566657272616c52657761726450657263656e7461676520697320746f6f206044820152630d0d2ced60e31b6064820152608401610a68565b60148190556040518181527f0c089466003b94ffb5787d1d1affe1c743f8ca63f949d2296cfa4d7986601ade90602001610c4f565b6000828152600b602052604090206001015461198581336122c3565b610b9e83836123ad565b6000546001600160a01b031633146119b95760405162461bcd60e51b8152600401610a6890613b28565b806032111580156119cb575060648111155b611a055760405162461bcd60e51b815260206004820152600b60248201526a77726f6e672076616c756560a81b6044820152606401610a68565b60118190556040518181527f66b26a0dfaa5fc9f5c7432381208aa4bd7f13f4489299b52f09f1af7669bb93b90602001610c4f565b8060005b8181101561160157611a75848483818110611a6957634e487b7160e01b600052603260045260246000fd5b9050602002013561100c565b80611a7f81613c88565b915050611a3e565b60006002600c541415611adc5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610a68565b6002600c5560008080611af189898989611607565b50919450925090506002866002811115611b1b57634e487b7160e01b600052602160045260246000fd5b1480611b4657506001866002811115611b4457634e487b7160e01b600052602160045260246000fd5b145b611b865760405162461bcd60e51b815260206004820152601160248201527057726f6e67206f7074696f6e207479706560781b6044820152606401610a68565b62015180891015611bcf5760405162461bcd60e51b815260206004820152601360248201527214195c9a5bd9081a5cc81d1bdbc81cda1bdc9d606a1b6044820152606401610a68565b6276a700891115611c175760405162461bcd60e51b8152602060048201526012602482015271506572696f6420697320746f6f206c6f6e6760701b6044820152606401610a68565b808811611c665760405162461bcd60e51b815260206004820152601d60248201527f507269636520646966666572656e636520697320746f6f206c617267650000006044820152606401610a68565b82341015611ca45760405162461bcd60e51b815260206004820152600b60248201526a57726f6e672076616c756560a81b6044820152606401610a68565b82341115611ce457336108fc611cba8534613bf9565b6040518115909202916000818181858888f19350505050158015611ce2573d6000803e3d6000fd5b505b6000611cf0828a613bf9565b9050600082606460115484611d059190613bda565b611d0f9190613bc6565b611d199190613bae565b905060006040518060e0016040528060016003811115611d4957634e487b7160e01b600052602160045260246000fd5b81526020018b81526020018c81526020018381526020018688611d6c9190613bf9565b8152602001611d7b8e42613bae565b81526020018a6002811115611da057634e487b7160e01b600052602160045260246000fd5b90529050611dad33612bc3565b6000818152600f60205260409020825181549299508392829060ff19166001836003811115611dec57634e487b7160e01b600052602160045260246000fd5b02179055506020820151816001015560408201518160020155606082015181600301556080820151816004015560a0820151816005015560c08201518160060160006101000a81548160ff02191690836002811115611e5b57634e487b7160e01b600052602160045260246000fd5b02179055509050506000611e6f868a612be9565b60175460808401516060850151604051631338736f60e01b81529394506001600160a01b0390921692631338736f92611eb6918d9190600401918252602082015260400190565b6000604051808303818588803b158015611ecf57600080fd5b505af1158015611ee3573d6000803e3d6000fd5b505060408051858152602081018c90523394508c93507f9acccf962da4ed9c3db3a1beedb70b0d4c3f6a69c170baca7198a74548b5ef4e92500160405180910390a350506001600c5550939998505050505050505050565b6000546001600160a01b03163314611f655760405162461bcd60e51b8152600401610a6890613b28565b6001600160a01b038116611fca5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a68565b610f13816124bb565b60006001600160e01b03198216637965db0b60e01b148061095b575061095b82612d6b565b600081815260056020526040902080546001600160a01b0319166001600160a01b038416908117909155819061202d8261118b565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600360205260408120546001600160a01b031661209a5760405162461bcd60e51b8152600401610a6890613adc565b60006120a58361118b565b9050806001600160a01b0316846001600160a01b031614806120e05750836001600160a01b03166120d5846109f3565b6001600160a01b0316145b8061211057506001600160a01b0380821660009081526006602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b031661212b8261118b565b6001600160a01b0316146121935760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610a68565b6001600160a01b0382166121f55760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610a68565b612200838383612d90565b61220b600082611ff8565b6001600160a01b0383166000908152600460205260408120805460019290612234908490613bf9565b90915550506001600160a01b0382166000908152600460205260408120805460019290612262908490613bae565b909155505060008181526003602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6122cd82826112bf565b610e7d576122e5816001600160a01b03166014612d9b565b6122f0836020612d9b565b604051602001612301929190613978565b60408051601f198184030181529082905262461bcd60e51b8252610a6891600401613a77565b61233182826112bf565b610e7d576000828152600b602090815260408083206001600160a01b03851684529091529020805460ff191660011790556123693390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6123b782826112bf565b15610e7d576000828152600b602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b600061241f8261118b565b905061242d81600084612d90565b612438600083611ff8565b6001600160a01b0381166000908152600460205260408120805460019290612461908490613bf9565b909155505060008281526003602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000818152600360205260408120546001600160a01b031661253f5760405162461bcd60e51b8152600401610a6890613adc565b600061254a8361118b565b6001600160a01b0381166000908152601860205260408120549192509060ff16801561258057506000546001600160a01b031633145b6000858152600f602052604081206005810154929350916125a49061070890613bf9565b421190506001600160a01b0384163314806125c457508280156125c45750805b9695505050505050565b6000818152600f6020526040808220815160e08101909252805483929190829060ff16600381111561261057634e487b7160e01b600052602160045260246000fd5b600381111561262f57634e487b7160e01b600052602160045260246000fd5b81526001820154602082015260028083015460408301526003830154606083015260048301546080830152600583015460a0830152600683015460c09092019160ff169081111561269057634e487b7160e01b600052602160045260246000fd5b60028111156126af57634e487b7160e01b600052602160045260246000fd5b8152505090506000601660009054906101000a90046001600160a01b03166001600160a01b031663feaf968c6040518163ffffffff1660e01b815260040160a06040518083038186803b15801561270557600080fd5b505afa158015612719573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061273d91906138ce565b509193508392506002915061274f9050565b8360c00151600281111561277357634e487b7160e01b600052602160045260246000fd5b14156127fe5780836020015111156127cd5760405162461bcd60e51b815260206004820152601860248201527f43757272656e7420707269636520697320746f6f206c6f7700000000000000006044820152606401610a68565b8083604001518460200151836127e39190613bf9565b6127ed9190613bda565b6127f79190613bc6565b935061287f565b80836020015110156128525760405162461bcd60e51b815260206004820152601960248201527f43757272656e7420707269636520697320746f6f2068696768000000000000006044820152606401610a68565b8083604001518285602001516128689190613bf9565b6128729190613bda565b61287c9190613bc6565b93505b826060015184111561289357826060015193505b6017546001600160a01b03166381b34f15866128ae8161118b565b6040516001600160e01b031960e085901b16815260048101929092526001600160a01b0316602482015260448101879052606401600060405180830381600087803b1580156128fc57600080fd5b505af1158015612910573d6000803e3d6000fd5b50505050505050919050565b612927848484612118565b61293384848484612f7d565b6116015760405162461bcd60e51b8152600401610a6890613a8a565b60006064601254836129619190613bda565b61095b9190613bc6565b6000600182600281111561298f57634e487b7160e01b600052602160045260246000fd5b14156129df576129a36305f5e10084613bda565b846010546129b088613087565b6129ba908a613bda565b6129c49190613bda565b6129ce9190613bda565b6129d89190613bc6565b90506129fa565b6129ed6305f5e10085613bda565b836010546129b088613087565b95945050505050565b60008284118015612a3357506001826002811115612a3157634e487b7160e01b600052602160045260246000fd5b145b15612a5f578285612a448287613bf9565b612a4e9190613bda565b612a589190613bc6565b9050612110565b8284108015612a8d57506002826002811115612a8b57634e487b7160e01b600052602160045260246000fd5b145b15612a9e578285612a448683613bf9565b506000949350505050565b606081612acd5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115612af75780612ae181613c88565b9150612af09050600a83613bc6565b9150612ad1565b60008167ffffffffffffffff811115612b2057634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612b4a576020820181803683370190505b5090505b841561211057612b5f600183613bf9565b9150612b6c600a86613ca3565b612b77906030613bae565b60f81b818381518110612b9a57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350612bbc600a86613bc6565b9450612b4e565b600d805460009182612bd483613c88565b919050559050612be482826130dd565b919050565b6000606460135484612bfb9190613bda565b612c059190613bc6565b90508015612c7757600e60009054906101000a90046001600160a01b03166001600160a01b0316634d8e9425826040518263ffffffff1660e01b81526004016000604051808303818588803b158015612c5d57600080fd5b505af1158015612c71573d6000803e3d6000fd5b50505050505b6000612c838285613bf9565b90508015612d64576000601454118015612cab57506000546001600160a01b03848116911614155b8015612cc057506001600160a01b0383163314155b15612d29576000606460145483612cd79190613bda565b612ce19190613bc6565b9050612ced8183613bf9565b6040519092506001600160a01b0385169082156108fc029083906000818181858888f19350505050158015612d26573d6000803e3d6000fd5b50505b600080546040516001600160a01b039091169183156108fc02918491818181858888f19350505050158015612d62573d6000803e3d6000fd5b505b5092915050565b60006001600160e01b0319821663780e9d6360e01b148061095b575061095b826130f7565b610b9e838383613147565b60606000612daa836002613bda565b612db5906002613bae565b67ffffffffffffffff811115612ddb57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612e05576020820181803683370190505b509050600360fc1b81600081518110612e2e57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110612e6b57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a9053506000612e8f846002613bda565b612e9a906001613bae565b90505b6001811115612f2e576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110612edc57634e487b7160e01b600052603260045260246000fd5b1a60f81b828281518110612f0057634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535060049490941c93612f2781613c3c565b9050612e9d565b5083156117eb5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610a68565b60006001600160a01b0384163b1561307f57604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612fc19033908990889088906004016139ed565b602060405180830381600087803b158015612fdb57600080fd5b505af192505050801561300b575060408051601f3d908101601f1916820190925261300891810190613821565b60015b613065573d808015613039576040519150601f19603f3d011682016040523d82523d6000602084013e61303e565b606091505b50805161305d5760405162461bcd60e51b8152600401610a6890613a8a565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050612110565b506001612110565b806000613095600283613bc6565b6130a0906001613bae565b90505b818110156130d757806002816130b98187613bc6565b6130c39190613bae565b6130cd9190613bc6565b90925090506130a3565b50919050565b610e7d8282604051806020016040528060008152506131ff565b60006001600160e01b031982166380ac58cd60e01b148061312857506001600160e01b03198216635b5e139f60e01b145b8061095b57506301ffc9a760e01b6001600160e01b031983161461095b565b6001600160a01b0383166131a25761319d81600980546000838152600a60205260408120829055600182018355919091527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af0155565b6131c5565b816001600160a01b0316836001600160a01b0316146131c5576131c58382613232565b6001600160a01b0382166131dc57610b9e816132cf565b826001600160a01b0316826001600160a01b031614610b9e57610b9e82826133a8565b61320983836133ec565b6132166000848484612f7d565b610b9e5760405162461bcd60e51b8152600401610a6890613a8a565b6000600161323f84611202565b6132499190613bf9565b60008381526008602052604090205490915080821461329c576001600160a01b03841660009081526007602090815260408083208584528252808320548484528184208190558352600890915290208190555b5060009182526008602090815260408084208490556001600160a01b039094168352600781528383209183525290812055565b6009546000906132e190600190613bf9565b6000838152600a60205260408120546009805493945090928490811061331757634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050806009838154811061334657634e487b7160e01b600052603260045260246000fd5b6000918252602080832090910192909255828152600a9091526040808220849055858252812055600980548061338c57634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b60006133b383611202565b6001600160a01b039093166000908152600760209081526040808320868452825280832085905593825260089052919091209190915550565b6001600160a01b0382166134425760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610a68565b6000818152600360205260409020546001600160a01b0316156134a75760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610a68565b6134b360008383612d90565b6001600160a01b03821660009081526004602052604081208054600192906134dc908490613bae565b909155505060008181526003602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b80358015158114612be457600080fd5b803560038110612be457600080fd5b805169ffffffffffffffffffff81168114612be457600080fd5b600060208284031215613584578081fd5b81356117eb81613d0f565b600080604083850312156135a1578081fd5b82356135ac81613d0f565b915060208301356135bc81613d0f565b809150509250929050565b6000806000606084860312156135db578081fd5b83356135e681613d0f565b925060208401356135f681613d0f565b929592945050506040919091013590565b6000806000806080858703121561361c578081fd5b843561362781613d0f565b9350602085013561363781613d0f565b925060408501359150606085013567ffffffffffffffff8082111561365a578283fd5b818701915087601f83011261366d578283fd5b81358181111561367f5761367f613cf9565b604051601f8201601f19908116603f011681019083821181831017156136a7576136a7613cf9565b816040528281528a60208487010111156136bf578586fd5b82602086016020830137918201602001949094529598949750929550505050565b600080604083850312156136f2578182fd5b82356136fd81613d0f565b915061370b6020840161353a565b90509250929050565b60008060408385031215613726578182fd5b823561373181613d0f565b946020939093013593505050565b60008060208385031215613751578182fd5b823567ffffffffffffffff80821115613768578384fd5b818501915085601f83011261377b578384fd5b813581811115613789578485fd5b8660208260051b850101111561379d578485fd5b60209290920196919550909350505050565b6000602082840312156137c0578081fd5b6117eb8261353a565b6000602082840312156137da578081fd5b5035919050565b600080604083850312156137f3578182fd5b8235915060208301356135bc81613d0f565b600060208284031215613816578081fd5b81356117eb81613d24565b600060208284031215613832578081fd5b81516117eb81613d24565b60008060008060808587031215613852578182fd5b8435935060208501359250604085013591506138706060860161354a565b905092959194509250565b600080600080600060a08688031215613892578283fd5b8535945060208601359350604086013592506138b06060870161354a565b915060808601356138c081613d0f565b809150509295509295909350565b600080600080600060a086880312156138e5578283fd5b6138ee86613559565b945060208601519350604086015192506060860151915061391160808701613559565b90509295509295909350565b60008151808452613935816020860160208601613c10565b601f01601f19169290920160200192915050565b6000835161395b818460208801613c10565b83519083019061396f818360208801613c10565b01949350505050565b7f416363657373436f6e74726f6c3a206163636f756e74200000000000000000008152600083516139b0816017850160208801613c10565b7001034b99036b4b9b9b4b733903937b6329607d1b60179184019182015283516139e1816028840160208801613c10565b01602801949350505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906125c49083018461391d565b60e0810160048910613a3457613a34613ce3565b8882528760208301528660408301528560608301528460808301528360a083015260038310613a6557613a65613ce3565b8260c083015298975050505050505050565b6020815260006117eb602083018461391d565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252602c908201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b60008219821115613bc157613bc1613cb7565b500190565b600082613bd557613bd5613ccd565b500490565b6000816000190483118215151615613bf457613bf4613cb7565b500290565b600082821015613c0b57613c0b613cb7565b500390565b60005b83811015613c2b578181015183820152602001613c13565b838111156116015750506000910152565b600081613c4b57613c4b613cb7565b506000190190565b600181811c90821680613c6757607f821691505b602082108114156130d757634e487b7160e01b600052602260045260246000fd5b6000600019821415613c9c57613c9c613cb7565b5060010190565b600082613cb257613cb2613ccd565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052602160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114610f1357600080fd5b6001600160e01b031981168114610f1357600080fdfea2646970667358221220e8f9838db92c632a7c73d87b6162f37bf27d4cb7297d87c786104c019741b54264736f6c634300080400330000000000000000000000000567f2323251f0aab15c8dfb1967e4e8a7d42aee000000000000000000000000e6c2cdd466eb1fa6bdfdb8af1bd072d4a57734c20000000000000000000000007338ee5535f1e0f1a210a6ef6db34f5357eb9860

Deployed Bytecode

0x6080604052600436106102ae5760003560e01c8063715018a611610175578063c7c3b53f116100dc578063e11d1da211610095578063e985e9c51161006f578063e985e9c5146108be578063ecfad46414610907578063f2fde38b1461091a578063f3fa34951461093a57600080fd5b8063e11d1da21461084e578063e2bef7541461087e578063e342b5981461089e57600080fd5b8063c7c3b53f14610778578063c87b56dd146107b8578063ca535c3b146107d8578063ceaeeba9146107ee578063cedcc6da1461080e578063d547741f1461082e57600080fd5b806396350a851161012e57806396350a85146106c3578063a217fddf146106e3578063a22cb465146106f8578063b07f0a4114610718578063b888879e14610738578063b88d4fde1461075857600080fd5b8063715018a61461062f57806375794a3c146106445780638da5cb5b1461065a57806391d1485414610678578063920a253e1461069857806395d89b41146106ae57600080fd5b80632f2ff15d1161021957806342966c68116101d257806342966c681461056f5780634f6ccce71461058f5780635ce6e26e146105af5780636198e339146105cf5780636352211e146105ef57806370a082311461060f57600080fd5b80632f2ff15d146104695780632f745c5914610489578063302ce651146104a957806336568abe146104bf578063409e2205146104df57806342842e0e1461054f57600080fd5b806318160ddd1161026b57806318160ddd146103a4578063181731dc146103c357806318f88e5b146103e35780631ec3ad1d146103f957806323b872dd14610419578063248a9ca31461043957600080fd5b806301ffc9a7146102b357806306fdde03146102e8578063081812fc1461030a578063095ea7b31461034257806316f0115b14610364578063180acf6e14610384575b600080fd5b3480156102bf57600080fd5b506102d36102ce366004613805565b610950565b60405190151581526020015b60405180910390f35b3480156102f457600080fd5b506102fd610961565b6040516102df9190613a77565b34801561031657600080fd5b5061032a6103253660046137c9565b6109f3565b6040516001600160a01b0390911681526020016102df565b34801561034e57600080fd5b5061036261035d366004613714565b610a8d565b005b34801561037057600080fd5b5060175461032a906001600160a01b031681565b34801561039057600080fd5b5061036261039f3660046137c9565b610ba3565b3480156103b057600080fd5b506009545b6040519081526020016102df565b3480156103cf57600080fd5b50600e5461032a906001600160a01b031681565b3480156103ef57600080fd5b506103b560105481565b34801561040557600080fd5b506103626104143660046137c9565b610c5a565b34801561042557600080fd5b506103626104343660046135c7565b610d15565b34801561044557600080fd5b506103b56104543660046137c9565b6000908152600b602052604090206001015490565b34801561047557600080fd5b506103626104843660046137e1565b610d47565b34801561049557600080fd5b506103b56104a4366004613714565b610d6d565b3480156104b557600080fd5b506103b560115481565b3480156104cb57600080fd5b506103626104da3660046137e1565b610e03565b3480156104eb57600080fd5b5061053c6104fa3660046137c9565b600f60205260009081526040902080546001820154600283015460038401546004850154600586015460069096015460ff958616969495939492939192911687565b6040516102df9796959493929190613a20565b34801561055b57600080fd5b5061036261056a3660046135c7565b610e81565b34801561057b57600080fd5b5061036261058a3660046137c9565b610e9c565b34801561059b57600080fd5b506103b56105aa3660046137c9565b610f16565b3480156105bb57600080fd5b506103626105ca3660046137af565b610fb7565b3480156105db57600080fd5b506103626105ea3660046137c9565b61100c565b3480156105fb57600080fd5b5061032a61060a3660046137c9565b61118b565b34801561061b57600080fd5b506103b561062a366004613573565b611202565b34801561063b57600080fd5b50610362611289565b34801561065057600080fd5b506103b5600d5481565b34801561066657600080fd5b506000546001600160a01b031661032a565b34801561068457600080fd5b506102d36106933660046137e1565b6112bf565b3480156106a457600080fd5b506103b560145481565b3480156106ba57600080fd5b506102fd6112ea565b3480156106cf57600080fd5b506103626106de366004613573565b6112f9565b3480156106ef57600080fd5b506103b5600081565b34801561070457600080fd5b506103626107133660046136e0565b611384565b34801561072457600080fd5b506103626107333660046137c9565b611449565b34801561074457600080fd5b5060165461032a906001600160a01b031681565b34801561076457600080fd5b50610362610773366004613607565b6115cf565b34801561078457600080fd5b5061079861079336600461383d565b611607565b6040805194855260208501939093529183015260608201526080016102df565b3480156107c457600080fd5b506102fd6107d33660046137c9565b6116ec565b3480156107e457600080fd5b506103b560135481565b3480156107fa57600080fd5b506103626108093660046137c9565b6117f2565b34801561081a57600080fd5b506103626108293660046137c9565b6118ad565b34801561083a57600080fd5b506103626108493660046137e1565b611969565b34801561085a57600080fd5b506102d3610869366004613573565b60186020526000908152604090205460ff1681565b34801561088a57600080fd5b506103626108993660046137c9565b61198f565b3480156108aa57600080fd5b506103626108b936600461373f565b611a3a565b3480156108ca57600080fd5b506102d36108d936600461358f565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b6103b561091536600461387b565b611a87565b34801561092657600080fd5b50610362610935366004613573565b611f3b565b34801561094657600080fd5b506103b560125481565b600061095b82611fd3565b92915050565b60606001805461097090613c53565b80601f016020809104026020016040519081016040528092919081815260200182805461099c90613c53565b80156109e95780601f106109be576101008083540402835291602001916109e9565b820191906000526020600020905b8154815290600101906020018083116109cc57829003601f168201915b5050505050905090565b6000818152600360205260408120546001600160a01b0316610a715760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600560205260409020546001600160a01b031690565b6000610a988261118b565b9050806001600160a01b0316836001600160a01b03161415610b065760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610a68565b336001600160a01b0382161480610b225750610b2281336108d9565b610b945760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610a68565b610b9e8383611ff8565b505050565b6000546001600160a01b03163314610bcd5760405162461bcd60e51b8152600401610a6890613b28565b6064811115610c1e5760405162461bcd60e51b815260206004820181905260248201527f5374616b696e6746656550657263656e7461676520697320746f6f20686967686044820152606401610a68565b60138190556040518181527f7ab3467fb06d3d8716698bece5f22a665374115bd3d0a43d6e11b76fcec1dfbb906020015b60405180910390a150565b6000546001600160a01b03163314610c845760405162461bcd60e51b8152600401610a6890613b28565b60148110610ce05760405162461bcd60e51b815260206004820152602360248201527f536574746c656d656e7446656550657263656e7461676520697320746f6f20686044820152620d2ced60eb1b6064820152608401610a68565b60128190556040518181527f803e7bbaebadbda418ec6dd788e57c29c1cf3faeb7e139d21247e624c9e6d11990602001610c4f565b610d20335b82612066565b610d3c5760405162461bcd60e51b8152600401610a6890613b5d565b610b9e838383612118565b6000828152600b6020526040902060010154610d6381336122c3565b610b9e8383612327565b6000610d7883611202565b8210610dda5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610a68565b506001600160a01b03919091166000908152600760209081526040808320938352929052205490565b6001600160a01b0381163314610e735760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b6064820152608401610a68565b610e7d82826123ad565b5050565b610b9e838383604051806020016040528060008152506115cf565b610ea533610d1a565b610f0a5760405162461bcd60e51b815260206004820152603060248201527f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760448201526f1b995c881b9bdc88185c1c1c9bdd995960821b6064820152608401610a68565b610f1381612414565b50565b6000610f2160095490565b8210610f845760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610a68565b60098281548110610fa557634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050919050565b33600081815260186020908152604091829020805460ff191685151590811790915591519182527f68d3d9b231e6283ecc485a9fb1e1d0a8c3feaa987c41cdb49c30fad64e5af997910160405180910390a250565b6000818152600f602052604090206005810154421161106d5760405162461bcd60e51b815260206004820152601a60248201527f4f7074696f6e20686173206e6f742065787069726564207965740000000000006044820152606401610a68565b6001815460ff16600381111561109357634e487b7160e01b600052602160045260246000fd5b146110d75760405162461bcd60e51b81526020600482015260146024820152734f7074696f6e206973206e6f742061637469766560601b6044820152606401610a68565b805460ff19166003178155601754604051636198e33960e01b8152600481018490526001600160a01b0390911690636198e33990602401600060405180830381600087803b15801561112857600080fd5b505af115801561113c573d6000803e3d6000fd5b5050505061114982612414565b817f5f36a4a575e512eb69d6d28c3b0ff98cca7ba50ad5bf04e14094ad1d425e0d31826004015460405161117f91815260200190565b60405180910390a25050565b6000818152600360205260408120546001600160a01b03168061095b5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610a68565b60006001600160a01b03821661126d5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610a68565b506001600160a01b031660009081526004602052604090205490565b6000546001600160a01b031633146112b35760405162461bcd60e51b8152600401610a6890613b28565b6112bd60006124bb565b565b6000918252600b602090815260408084206001600160a01b0393909316845291905290205460ff1690565b60606002805461097090613c53565b6000546001600160a01b031633146113235760405162461bcd60e51b8152600401610a6890613b28565b6001600160a01b03811661133657600080fd5b600e80546001600160a01b0319166001600160a01b0383169081179091556040519081527f92f6c1e8df34c666f737a2407b4e63d3a77f133b69fdf70f01b5e3b8072551f690602001610c4f565b6001600160a01b0382163314156113dd5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610a68565b3360008181526006602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6114528161250b565b6114b85760405162461bcd60e51b815260206004820152603160248201527f6d73672e73656e646572206973206e6f7420656c696769626c6520746f20657860448201527032b931b4b9b2903a34329037b83a34b7b760791b6064820152608401610a68565b6000818152600f60205260409020600581015442111561150f5760405162461bcd60e51b815260206004820152601260248201527113dc1d1a5bdb881a185cc8195e1c1a5c995960721b6044820152606401610a68565b6001815460ff16600381111561153557634e487b7160e01b600052602160045260246000fd5b146115705760405162461bcd60e51b815260206004820152600b60248201526a57726f6e6720737461746560a81b6044820152606401610a68565b805460ff191660021781556000611586836125ce565b905061159183612414565b827e84fe51c7cb34b132b7b6eb5d5a87a489f8d6d284758d00a0402c1bad9a0def826040516115c291815260200190565b60405180910390a2505050565b6115d93383612066565b6115f55760405162461bcd60e51b8152600401610a6890613b5d565b6116018484848461291c565b50505050565b6000806000806000601660009054906101000a90046001600160a01b03166001600160a01b031663feaf968c6040518163ffffffff1660e01b815260040160a06040518083038186803b15801561165d57600080fd5b505afa158015611671573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061169591906138ce565b50505091505060008190506116a98961294f565b94506116b8898b8a848b61296b565b92506116c68989838a612a03565b9350846116d38585613bae565b6116dd9190613bae565b95505050945094509450949050565b6000818152600360205260409020546060906001600160a01b031661176b5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610a68565b60006117a060408051808201909152601681527568747470733a2f2f6275666665722e66696e616e636560501b602082015290565b905060008151116117c057604051806020016040528060008152506117eb565b806117ca84612aa9565b6040516020016117db929190613949565b6040516020818303038152906040525b9392505050565b6000546001600160a01b0316331461181c5760405162461bcd60e51b8152600401610a6890613b28565b6103e88110156118785760405162461bcd60e51b815260206004820152602160248201527f496d706c696564566f6c52617465206c696d697420697320746f6f20736d616c6044820152601b60fa1b6064820152608401610a68565b60108190556040518181527f3e0c59249d1a9c5f08383bdbdfbc45517a71b76e72223ae649c576e4d125869690602001610c4f565b6000546001600160a01b031633146118d75760405162461bcd60e51b8152600401610a6890613b28565b60648111156119345760405162461bcd60e51b8152602060048201526024808201527f526566657272616c52657761726450657263656e7461676520697320746f6f206044820152630d0d2ced60e31b6064820152608401610a68565b60148190556040518181527f0c089466003b94ffb5787d1d1affe1c743f8ca63f949d2296cfa4d7986601ade90602001610c4f565b6000828152600b602052604090206001015461198581336122c3565b610b9e83836123ad565b6000546001600160a01b031633146119b95760405162461bcd60e51b8152600401610a6890613b28565b806032111580156119cb575060648111155b611a055760405162461bcd60e51b815260206004820152600b60248201526a77726f6e672076616c756560a81b6044820152606401610a68565b60118190556040518181527f66b26a0dfaa5fc9f5c7432381208aa4bd7f13f4489299b52f09f1af7669bb93b90602001610c4f565b8060005b8181101561160157611a75848483818110611a6957634e487b7160e01b600052603260045260246000fd5b9050602002013561100c565b80611a7f81613c88565b915050611a3e565b60006002600c541415611adc5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610a68565b6002600c5560008080611af189898989611607565b50919450925090506002866002811115611b1b57634e487b7160e01b600052602160045260246000fd5b1480611b4657506001866002811115611b4457634e487b7160e01b600052602160045260246000fd5b145b611b865760405162461bcd60e51b815260206004820152601160248201527057726f6e67206f7074696f6e207479706560781b6044820152606401610a68565b62015180891015611bcf5760405162461bcd60e51b815260206004820152601360248201527214195c9a5bd9081a5cc81d1bdbc81cda1bdc9d606a1b6044820152606401610a68565b6276a700891115611c175760405162461bcd60e51b8152602060048201526012602482015271506572696f6420697320746f6f206c6f6e6760701b6044820152606401610a68565b808811611c665760405162461bcd60e51b815260206004820152601d60248201527f507269636520646966666572656e636520697320746f6f206c617267650000006044820152606401610a68565b82341015611ca45760405162461bcd60e51b815260206004820152600b60248201526a57726f6e672076616c756560a81b6044820152606401610a68565b82341115611ce457336108fc611cba8534613bf9565b6040518115909202916000818181858888f19350505050158015611ce2573d6000803e3d6000fd5b505b6000611cf0828a613bf9565b9050600082606460115484611d059190613bda565b611d0f9190613bc6565b611d199190613bae565b905060006040518060e0016040528060016003811115611d4957634e487b7160e01b600052602160045260246000fd5b81526020018b81526020018c81526020018381526020018688611d6c9190613bf9565b8152602001611d7b8e42613bae565b81526020018a6002811115611da057634e487b7160e01b600052602160045260246000fd5b90529050611dad33612bc3565b6000818152600f60205260409020825181549299508392829060ff19166001836003811115611dec57634e487b7160e01b600052602160045260246000fd5b02179055506020820151816001015560408201518160020155606082015181600301556080820151816004015560a0820151816005015560c08201518160060160006101000a81548160ff02191690836002811115611e5b57634e487b7160e01b600052602160045260246000fd5b02179055509050506000611e6f868a612be9565b60175460808401516060850151604051631338736f60e01b81529394506001600160a01b0390921692631338736f92611eb6918d9190600401918252602082015260400190565b6000604051808303818588803b158015611ecf57600080fd5b505af1158015611ee3573d6000803e3d6000fd5b505060408051858152602081018c90523394508c93507f9acccf962da4ed9c3db3a1beedb70b0d4c3f6a69c170baca7198a74548b5ef4e92500160405180910390a350506001600c5550939998505050505050505050565b6000546001600160a01b03163314611f655760405162461bcd60e51b8152600401610a6890613b28565b6001600160a01b038116611fca5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a68565b610f13816124bb565b60006001600160e01b03198216637965db0b60e01b148061095b575061095b82612d6b565b600081815260056020526040902080546001600160a01b0319166001600160a01b038416908117909155819061202d8261118b565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600360205260408120546001600160a01b031661209a5760405162461bcd60e51b8152600401610a6890613adc565b60006120a58361118b565b9050806001600160a01b0316846001600160a01b031614806120e05750836001600160a01b03166120d5846109f3565b6001600160a01b0316145b8061211057506001600160a01b0380821660009081526006602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b031661212b8261118b565b6001600160a01b0316146121935760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610a68565b6001600160a01b0382166121f55760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610a68565b612200838383612d90565b61220b600082611ff8565b6001600160a01b0383166000908152600460205260408120805460019290612234908490613bf9565b90915550506001600160a01b0382166000908152600460205260408120805460019290612262908490613bae565b909155505060008181526003602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6122cd82826112bf565b610e7d576122e5816001600160a01b03166014612d9b565b6122f0836020612d9b565b604051602001612301929190613978565b60408051601f198184030181529082905262461bcd60e51b8252610a6891600401613a77565b61233182826112bf565b610e7d576000828152600b602090815260408083206001600160a01b03851684529091529020805460ff191660011790556123693390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6123b782826112bf565b15610e7d576000828152600b602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b600061241f8261118b565b905061242d81600084612d90565b612438600083611ff8565b6001600160a01b0381166000908152600460205260408120805460019290612461908490613bf9565b909155505060008281526003602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000818152600360205260408120546001600160a01b031661253f5760405162461bcd60e51b8152600401610a6890613adc565b600061254a8361118b565b6001600160a01b0381166000908152601860205260408120549192509060ff16801561258057506000546001600160a01b031633145b6000858152600f602052604081206005810154929350916125a49061070890613bf9565b421190506001600160a01b0384163314806125c457508280156125c45750805b9695505050505050565b6000818152600f6020526040808220815160e08101909252805483929190829060ff16600381111561261057634e487b7160e01b600052602160045260246000fd5b600381111561262f57634e487b7160e01b600052602160045260246000fd5b81526001820154602082015260028083015460408301526003830154606083015260048301546080830152600583015460a0830152600683015460c09092019160ff169081111561269057634e487b7160e01b600052602160045260246000fd5b60028111156126af57634e487b7160e01b600052602160045260246000fd5b8152505090506000601660009054906101000a90046001600160a01b03166001600160a01b031663feaf968c6040518163ffffffff1660e01b815260040160a06040518083038186803b15801561270557600080fd5b505afa158015612719573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061273d91906138ce565b509193508392506002915061274f9050565b8360c00151600281111561277357634e487b7160e01b600052602160045260246000fd5b14156127fe5780836020015111156127cd5760405162461bcd60e51b815260206004820152601860248201527f43757272656e7420707269636520697320746f6f206c6f7700000000000000006044820152606401610a68565b8083604001518460200151836127e39190613bf9565b6127ed9190613bda565b6127f79190613bc6565b935061287f565b80836020015110156128525760405162461bcd60e51b815260206004820152601960248201527f43757272656e7420707269636520697320746f6f2068696768000000000000006044820152606401610a68565b8083604001518285602001516128689190613bf9565b6128729190613bda565b61287c9190613bc6565b93505b826060015184111561289357826060015193505b6017546001600160a01b03166381b34f15866128ae8161118b565b6040516001600160e01b031960e085901b16815260048101929092526001600160a01b0316602482015260448101879052606401600060405180830381600087803b1580156128fc57600080fd5b505af1158015612910573d6000803e3d6000fd5b50505050505050919050565b612927848484612118565b61293384848484612f7d565b6116015760405162461bcd60e51b8152600401610a6890613a8a565b60006064601254836129619190613bda565b61095b9190613bc6565b6000600182600281111561298f57634e487b7160e01b600052602160045260246000fd5b14156129df576129a36305f5e10084613bda565b846010546129b088613087565b6129ba908a613bda565b6129c49190613bda565b6129ce9190613bda565b6129d89190613bc6565b90506129fa565b6129ed6305f5e10085613bda565b836010546129b088613087565b95945050505050565b60008284118015612a3357506001826002811115612a3157634e487b7160e01b600052602160045260246000fd5b145b15612a5f578285612a448287613bf9565b612a4e9190613bda565b612a589190613bc6565b9050612110565b8284108015612a8d57506002826002811115612a8b57634e487b7160e01b600052602160045260246000fd5b145b15612a9e578285612a448683613bf9565b506000949350505050565b606081612acd5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115612af75780612ae181613c88565b9150612af09050600a83613bc6565b9150612ad1565b60008167ffffffffffffffff811115612b2057634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612b4a576020820181803683370190505b5090505b841561211057612b5f600183613bf9565b9150612b6c600a86613ca3565b612b77906030613bae565b60f81b818381518110612b9a57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350612bbc600a86613bc6565b9450612b4e565b600d805460009182612bd483613c88565b919050559050612be482826130dd565b919050565b6000606460135484612bfb9190613bda565b612c059190613bc6565b90508015612c7757600e60009054906101000a90046001600160a01b03166001600160a01b0316634d8e9425826040518263ffffffff1660e01b81526004016000604051808303818588803b158015612c5d57600080fd5b505af1158015612c71573d6000803e3d6000fd5b50505050505b6000612c838285613bf9565b90508015612d64576000601454118015612cab57506000546001600160a01b03848116911614155b8015612cc057506001600160a01b0383163314155b15612d29576000606460145483612cd79190613bda565b612ce19190613bc6565b9050612ced8183613bf9565b6040519092506001600160a01b0385169082156108fc029083906000818181858888f19350505050158015612d26573d6000803e3d6000fd5b50505b600080546040516001600160a01b039091169183156108fc02918491818181858888f19350505050158015612d62573d6000803e3d6000fd5b505b5092915050565b60006001600160e01b0319821663780e9d6360e01b148061095b575061095b826130f7565b610b9e838383613147565b60606000612daa836002613bda565b612db5906002613bae565b67ffffffffffffffff811115612ddb57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612e05576020820181803683370190505b509050600360fc1b81600081518110612e2e57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110612e6b57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a9053506000612e8f846002613bda565b612e9a906001613bae565b90505b6001811115612f2e576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110612edc57634e487b7160e01b600052603260045260246000fd5b1a60f81b828281518110612f0057634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535060049490941c93612f2781613c3c565b9050612e9d565b5083156117eb5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610a68565b60006001600160a01b0384163b1561307f57604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612fc19033908990889088906004016139ed565b602060405180830381600087803b158015612fdb57600080fd5b505af192505050801561300b575060408051601f3d908101601f1916820190925261300891810190613821565b60015b613065573d808015613039576040519150601f19603f3d011682016040523d82523d6000602084013e61303e565b606091505b50805161305d5760405162461bcd60e51b8152600401610a6890613a8a565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050612110565b506001612110565b806000613095600283613bc6565b6130a0906001613bae565b90505b818110156130d757806002816130b98187613bc6565b6130c39190613bae565b6130cd9190613bc6565b90925090506130a3565b50919050565b610e7d8282604051806020016040528060008152506131ff565b60006001600160e01b031982166380ac58cd60e01b148061312857506001600160e01b03198216635b5e139f60e01b145b8061095b57506301ffc9a760e01b6001600160e01b031983161461095b565b6001600160a01b0383166131a25761319d81600980546000838152600a60205260408120829055600182018355919091527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af0155565b6131c5565b816001600160a01b0316836001600160a01b0316146131c5576131c58382613232565b6001600160a01b0382166131dc57610b9e816132cf565b826001600160a01b0316826001600160a01b031614610b9e57610b9e82826133a8565b61320983836133ec565b6132166000848484612f7d565b610b9e5760405162461bcd60e51b8152600401610a6890613a8a565b6000600161323f84611202565b6132499190613bf9565b60008381526008602052604090205490915080821461329c576001600160a01b03841660009081526007602090815260408083208584528252808320548484528184208190558352600890915290208190555b5060009182526008602090815260408084208490556001600160a01b039094168352600781528383209183525290812055565b6009546000906132e190600190613bf9565b6000838152600a60205260408120546009805493945090928490811061331757634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050806009838154811061334657634e487b7160e01b600052603260045260246000fd5b6000918252602080832090910192909255828152600a9091526040808220849055858252812055600980548061338c57634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b60006133b383611202565b6001600160a01b039093166000908152600760209081526040808320868452825280832085905593825260089052919091209190915550565b6001600160a01b0382166134425760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610a68565b6000818152600360205260409020546001600160a01b0316156134a75760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610a68565b6134b360008383612d90565b6001600160a01b03821660009081526004602052604081208054600192906134dc908490613bae565b909155505060008181526003602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b80358015158114612be457600080fd5b803560038110612be457600080fd5b805169ffffffffffffffffffff81168114612be457600080fd5b600060208284031215613584578081fd5b81356117eb81613d0f565b600080604083850312156135a1578081fd5b82356135ac81613d0f565b915060208301356135bc81613d0f565b809150509250929050565b6000806000606084860312156135db578081fd5b83356135e681613d0f565b925060208401356135f681613d0f565b929592945050506040919091013590565b6000806000806080858703121561361c578081fd5b843561362781613d0f565b9350602085013561363781613d0f565b925060408501359150606085013567ffffffffffffffff8082111561365a578283fd5b818701915087601f83011261366d578283fd5b81358181111561367f5761367f613cf9565b604051601f8201601f19908116603f011681019083821181831017156136a7576136a7613cf9565b816040528281528a60208487010111156136bf578586fd5b82602086016020830137918201602001949094529598949750929550505050565b600080604083850312156136f2578182fd5b82356136fd81613d0f565b915061370b6020840161353a565b90509250929050565b60008060408385031215613726578182fd5b823561373181613d0f565b946020939093013593505050565b60008060208385031215613751578182fd5b823567ffffffffffffffff80821115613768578384fd5b818501915085601f83011261377b578384fd5b813581811115613789578485fd5b8660208260051b850101111561379d578485fd5b60209290920196919550909350505050565b6000602082840312156137c0578081fd5b6117eb8261353a565b6000602082840312156137da578081fd5b5035919050565b600080604083850312156137f3578182fd5b8235915060208301356135bc81613d0f565b600060208284031215613816578081fd5b81356117eb81613d24565b600060208284031215613832578081fd5b81516117eb81613d24565b60008060008060808587031215613852578182fd5b8435935060208501359250604085013591506138706060860161354a565b905092959194509250565b600080600080600060a08688031215613892578283fd5b8535945060208601359350604086013592506138b06060870161354a565b915060808601356138c081613d0f565b809150509295509295909350565b600080600080600060a086880312156138e5578283fd5b6138ee86613559565b945060208601519350604086015192506060860151915061391160808701613559565b90509295509295909350565b60008151808452613935816020860160208601613c10565b601f01601f19169290920160200192915050565b6000835161395b818460208801613c10565b83519083019061396f818360208801613c10565b01949350505050565b7f416363657373436f6e74726f6c3a206163636f756e74200000000000000000008152600083516139b0816017850160208801613c10565b7001034b99036b4b9b9b4b733903937b6329607d1b60179184019182015283516139e1816028840160208801613c10565b01602801949350505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906125c49083018461391d565b60e0810160048910613a3457613a34613ce3565b8882528760208301528660408301528560608301528460808301528360a083015260038310613a6557613a65613ce3565b8260c083015298975050505050505050565b6020815260006117eb602083018461391d565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252602c908201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b60008219821115613bc157613bc1613cb7565b500190565b600082613bd557613bd5613ccd565b500490565b6000816000190483118215151615613bf457613bf4613cb7565b500290565b600082821015613c0b57613c0b613cb7565b500390565b60005b83811015613c2b578181015183820152602001613c13565b838111156116015750506000910152565b600081613c4b57613c4b613cb7565b506000190190565b600181811c90821680613c6757607f821691505b602082108114156130d757634e487b7160e01b600052602260045260246000fd5b6000600019821415613c9c57613c9c613cb7565b5060010190565b600082613cb257613cb2613ccd565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052602160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114610f1357600080fd5b6001600160e01b031981168114610f1357600080fdfea2646970667358221220e8f9838db92c632a7c73d87b6162f37bf27d4cb7297d87c786104c019741b54264736f6c63430008040033

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

0000000000000000000000000567f2323251f0aab15c8dfb1967e4e8a7d42aee000000000000000000000000e6c2cdd466eb1fa6bdfdb8af1bd072d4a57734c20000000000000000000000007338ee5535f1e0f1a210a6ef6db34f5357eb9860

-----Decoded View---------------
Arg [0] : pp (address): 0x0567F2323251f0Aab15c8dFb1967E4e8A7D42aeE
Arg [1] : staking (address): 0xE6C2cDD466Eb1Fa6bDFDb8af1BD072d4A57734C2
Arg [2] : _pool (address): 0x7338ee5535F1E0f1a210a6Ef6dB34f5357EB9860

-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 0000000000000000000000000567f2323251f0aab15c8dfb1967e4e8a7d42aee
Arg [1] : 000000000000000000000000e6c2cdd466eb1fa6bdfdb8af1bd072d4a57734c2
Arg [2] : 0000000000000000000000007338ee5535f1e0f1a210a6ef6db34f5357eb9860


Deployed Bytecode Sourcemap

84356:14820:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;98267:227;;;;;;;;;;-1:-1:-1;98267:227:0;;;;;:::i;:::-;;:::i;:::-;;;9902:14:1;;9895:22;9877:41;;9865:2;9850:18;98267:227:0;;;;;;;;65316:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;66875:221::-;;;;;;;;;;-1:-1:-1;66875:221:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;9200:32:1;;;9182:51;;9170:2;9155:18;66875:221:0;9137:102:1;66398:411:0;;;;;;;;;;-1:-1:-1;66398:411:0;;;;;:::i;:::-;;:::i;:::-;;85057:25;;;;;;;;;;-1:-1:-1;85057:25:0;;;;-1:-1:-1;;;;;85057:25:0;;;86836:231;;;;;;;;;;-1:-1:-1;86836:231:0;;;;;:::i;:::-;;:::i;78683:113::-;;;;;;;;;;-1:-1:-1;78771:10:0;:17;78683:113;;;10075:25:1;;;10063:2;10048:18;78683:113:0;10030:76:1;84565:47:0;;;;;;;;;;-1:-1:-1;84565:47:0;;;;-1:-1:-1;;;;;84565:47:0;;;84667:29;;;;;;;;;;;;;;;;86040:241;;;;;;;;;;-1:-1:-1;86040:241:0;;;;;:::i;:::-;;:::i;67765:339::-;;;;;;;;;;-1:-1:-1;67765:339:0;;;;;:::i;:::-;;:::i;50128:123::-;;;;;;;;;;-1:-1:-1;50128:123:0;;;;;:::i;:::-;50194:7;50221:12;;;:6;:12;;;;;:22;;;;50128:123;50513:147;;;;;;;;;;-1:-1:-1;50513:147:0;;;;;:::i;:::-;;:::i;78351:256::-;;;;;;;;;;-1:-1:-1;78351:256:0;;;;;:::i;:::-;;:::i;84703:49::-;;;;;;;;;;;;;;;;51561:218;;;;;;;;;;-1:-1:-1;51561:218:0;;;;;:::i;:::-;;:::i;84619:41::-;;;;;;;;;;-1:-1:-1;84619:41:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;68175:185::-;;;;;;;;;;-1:-1:-1;68175:185:0;;;;;:::i;:::-;;:::i;76906:245::-;;;;;;;;;;-1:-1:-1;76906:245:0;;;;;:::i;:::-;;:::i;78873:233::-;;;;;;;;;;-1:-1:-1;78873:233:0;;;;;:::i;:::-;;:::i;99002:169::-;;;;;;;;;;-1:-1:-1;99002:169:0;;;;;:::i;:::-;;:::i;91642:472::-;;;;;;;;;;-1:-1:-1;91642:472:0;;;;;:::i;:::-;;:::i;65010:239::-;;;;;;;;;;-1:-1:-1;65010:239:0;;;;;:::i;:::-;;:::i;64740:208::-;;;;;;;;;;-1:-1:-1;64740:208:0;;;;;:::i;:::-;;:::i;45605:94::-;;;;;;;;;;;;;:::i;84526:30::-;;;;;;;;;;;;;;;;44954:87;;;;;;;;;;-1:-1:-1;45000:7:0;45027:6;-1:-1:-1;;;;;45027:6:0;44954:87;;49013:139;;;;;;;;;;-1:-1:-1;49013:139:0;;;;;:::i;:::-;;:::i;84855:44::-;;;;;;;;;;;;;;;;65485:104;;;;;;;;;;;;;:::i;86425:275::-;;;;;;;;;;-1:-1:-1;86425:275:0;;;;;:::i;:::-;;:::i;48104:49::-;;;;;;;;;;-1:-1:-1;48104:49:0;48149:4;48104:49;;67168:295;;;;;;;;;;-1:-1:-1;67168:295:0;;;;;:::i;:::-;;:::i;90619:571::-;;;;;;;;;;-1:-1:-1;90619:571:0;;;;;:::i;:::-;;:::i;85008:42::-;;;;;;;;;;-1:-1:-1;85008:42:0;;;;-1:-1:-1;;;;;85008:42:0;;;68431:328;;;;;;;;;;-1:-1:-1;68431:328:0;;;;;:::i;:::-;;:::i;94508:800::-;;;;;;;;;;-1:-1:-1;94508:800:0;;;;;:::i;:::-;;:::i;:::-;;;;27737:25:1;;;27793:2;27778:18;;27771:34;;;;27821:18;;;27814:34;27879:2;27864:18;;27857:34;27724:3;27709:19;94508:800:0;27691:206:1;65660:334:0;;;;;;;;;;-1:-1:-1;65660:334:0;;;;;:::i;:::-;;:::i;84808:40::-;;;;;;;;;;;;;;;;85680:218;;;;;;;;;;-1:-1:-1;85680:218:0;;;;;:::i;:::-;;:::i;87211:247::-;;;;;;;;;;-1:-1:-1;87211:247:0;;;;;:::i;:::-;;:::i;50905:149::-;;;;;;;;;;-1:-1:-1;50905:149:0;;;;;:::i;:::-;;:::i;98866:50::-;;;;;;;;;;-1:-1:-1;98866:50:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;87609:245;;;;;;;;;;-1:-1:-1;87609:245:0;;;;;:::i;:::-;;:::i;91302:214::-;;;;;;;;;;-1:-1:-1;91302:214:0;;;;;:::i;:::-;;:::i;67534:164::-;;;;;;;;;;-1:-1:-1;67534:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;67655:25:0;;;67631:4;67655:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;67534:164;88178:1625;;;;;;:::i;:::-;;:::i;45854:192::-;;;;;;;;;;-1:-1:-1;45854:192:0;;;;;:::i;:::-;;:::i;84759:42::-;;;;;;;;;;;;;;;;98267:227;98421:4;98450:36;98474:11;98450:23;:36::i;:::-;98443:43;98267:227;-1:-1:-1;;98267:227:0:o;65316:100::-;65370:13;65403:5;65396:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;65316:100;:::o;66875:221::-;66951:7;70358:16;;;:7;:16;;;;;;-1:-1:-1;;;;;70358:16:0;66971:73;;;;-1:-1:-1;;;66971:73:0;;20263:2:1;66971:73:0;;;20245:21:1;20302:2;20282:18;;;20275:30;20341:34;20321:18;;;20314:62;-1:-1:-1;;;20392:18:1;;;20385:42;20444:19;;66971:73:0;;;;;;;;;-1:-1:-1;67064:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;67064:24:0;;66875:221::o;66398:411::-;66479:13;66495:23;66510:7;66495:14;:23::i;:::-;66479:39;;66543:5;-1:-1:-1;;;;;66537:11:0;:2;-1:-1:-1;;;;;66537:11:0;;;66529:57;;;;-1:-1:-1;;;66529:57:0;;21863:2:1;66529:57:0;;;21845:21:1;21902:2;21882:18;;;21875:30;21941:34;21921:18;;;21914:62;-1:-1:-1;;;21992:18:1;;;21985:31;22033:19;;66529:57:0;21835:223:1;66529:57:0;13189:10;-1:-1:-1;;;;;66621:21:0;;;;:62;;-1:-1:-1;66646:37:0;66663:5;13189:10;67534:164;:::i;66646:37::-;66599:168;;;;-1:-1:-1;;;66599:168:0;;18316:2:1;66599:168:0;;;18298:21:1;18355:2;18335:18;;;18328:30;18394:34;18374:18;;;18367:62;18465:26;18445:18;;;18438:54;18509:19;;66599:168:0;18288:246:1;66599:168:0;66780:21;66789:2;66793:7;66780:8;:21::i;:::-;66398:411;;;:::o;86836:231::-;45000:7;45027:6;-1:-1:-1;;;;;45027:6:0;13189:10;45174:23;45166:68;;;;-1:-1:-1;;;45166:68:0;;;;;;;:::i;:::-;86931:3:::1;86922:5;:12;;86914:57;;;::::0;-1:-1:-1;;;86914:57:0;;16452:2:1;86914:57:0::1;::::0;::::1;16434:21:1::0;;;16471:18;;;16464:30;16530:34;16510:18;;;16503:62;16582:18;;86914:57:0::1;16424:182:1::0;86914:57:0::1;86982:20;:28:::0;;;87026:33:::1;::::0;10075:25:1;;;87026:33:0::1;::::0;10063:2:1;10048:18;87026:33:0::1;;;;;;;;86836:231:::0;:::o;86040:241::-;45000:7;45027:6;-1:-1:-1;;;;;45027:6:0;13189:10;45174:23;45166:68;;;;-1:-1:-1;;;45166:68:0;;;;;;;:::i;:::-;86137:2:::1;86129:5;:10;86121:58;;;::::0;-1:-1:-1;;;86121:58:0;;17912:2:1;86121:58:0::1;::::0;::::1;17894:21:1::0;17951:2;17931:18;;;17924:30;17990:34;17970:18;;;17963:62;-1:-1:-1;;;18041:18:1;;;18034:33;18084:19;;86121:58:0::1;17884:225:1::0;86121:58:0::1;86190:23;:31:::0;;;86237:36:::1;::::0;10075:25:1;;;86237:36:0::1;::::0;10063:2:1;10048:18;86237:36:0::1;10030:76:1::0;67765:339:0;67960:41;13189:10;67979:12;67993:7;67960:18;:41::i;:::-;67952:103;;;;-1:-1:-1;;;67952:103:0;;;;;;;:::i;:::-;68068:28;68078:4;68084:2;68088:7;68068:9;:28::i;50513:147::-;50194:7;50221:12;;;:6;:12;;;;;:22;;;48595:30;48606:4;13189:10;48595;:30::i;:::-;50627:25:::1;50638:4;50644:7;50627:10;:25::i;78351:256::-:0;78448:7;78484:23;78501:5;78484:16;:23::i;:::-;78476:5;:31;78468:87;;;;-1:-1:-1;;;78468:87:0;;13042:2:1;78468:87:0;;;13024:21:1;13081:2;13061:18;;;13054:30;13120:34;13100:18;;;13093:62;-1:-1:-1;;;13171:18:1;;;13164:41;13222:19;;78468:87:0;13014:233:1;78468:87:0;-1:-1:-1;;;;;;78573:19:0;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;78351:256::o;51561:218::-;-1:-1:-1;;;;;51657:23:0;;13189:10;51657:23;51649:83;;;;-1:-1:-1;;;51649:83:0;;26491:2:1;51649:83:0;;;26473:21:1;26530:2;26510:18;;;26503:30;26569:34;26549:18;;;26542:62;-1:-1:-1;;;26620:18:1;;;26613:45;26675:19;;51649:83:0;26463:237:1;51649:83:0;51745:26;51757:4;51763:7;51745:11;:26::i;:::-;51561:218;;:::o;68175:185::-;68313:39;68330:4;68336:2;68340:7;68313:39;;;;;;;;;;;;:16;:39::i;76906:245::-;77024:41;13189:10;77043:12;13109:98;77024:41;77016:102;;;;-1:-1:-1;;;77016:102:0;;24961:2:1;77016:102:0;;;24943:21:1;25000:2;24980:18;;;24973:30;25039:34;25019:18;;;25012:62;-1:-1:-1;;;25090:18:1;;;25083:46;25146:19;;77016:102:0;24933:238:1;77016:102:0;77129:14;77135:7;77129:5;:14::i;:::-;76906:245;:::o;78873:233::-;78948:7;78984:30;78771:10;:17;;78683:113;78984:30;78976:5;:38;78968:95;;;;-1:-1:-1;;;78968:95:0;;23041:2:1;78968:95:0;;;23023:21:1;23080:2;23060:18;;;23053:30;23119:34;23099:18;;;23092:62;-1:-1:-1;;;23170:18:1;;;23163:42;23222:19;;78968:95:0;23013:234:1;78968:95:0;79081:10;79092:5;79081:17;;;;;;-1:-1:-1;;;79081:17:0;;;;;;;;;;;;;;;;;79074:24;;78873:233;;;:::o;99002:169::-;99083:10;99064:30;;;;:18;:30;;;;;;;;;:39;;-1:-1:-1;;99064:39:0;;;;;;;;;;99119:44;;9877:41:1;;;99119:44:0;;9850:18:1;99119:44:0;;;;;;;99002:169;:::o;91642:472::-;91694:21;91718:17;;;:7;:17;;;;;91768;;;;91788:15;-1:-1:-1;91746:111:0;;;;-1:-1:-1;;;91746:111:0;;14991:2:1;91746:111:0;;;14973:21:1;15030:2;15010:18;;;15003:30;15069:28;15049:18;;;15042:56;15115:18;;91746:111:0;14963:176:1;91746:111:0;91892:12;91876;;;;:28;;;;;;-1:-1:-1;;;91876:28:0;;;;;;;;;;91868:61;;;;-1:-1:-1;;;91868:61:0;;12693:2:1;91868:61:0;;;12675:21:1;12732:2;12712:18;;;12705:30;-1:-1:-1;;;12751:18:1;;;12744:50;12811:18;;91868:61:0;12665:170:1;91868:61:0;91940:28;;-1:-1:-1;;91940:28:0;91955:13;91940:28;;;91979:4;;:21;;-1:-1:-1;;;91979:21:0;;;;;10075:25:1;;;-1:-1:-1;;;;;91979:4:0;;;;:11;;10048:18:1;;91979:21:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;92041:15;92047:8;92041:5;:15::i;:::-;92081:8;92074:32;92091:6;:14;;;92074:32;;;;10075:25:1;;10063:2;10048:18;;10030:76;92074:32:0;;;;;;;;91642:472;;:::o;65010:239::-;65082:7;65118:16;;;:7;:16;;;;;;-1:-1:-1;;;;;65118:16:0;65153:19;65145:73;;;;-1:-1:-1;;;65145:73:0;;19152:2:1;65145:73:0;;;19134:21:1;19191:2;19171:18;;;19164:30;19230:34;19210:18;;;19203:62;-1:-1:-1;;;19281:18:1;;;19274:39;19330:19;;65145:73:0;19124:231:1;64740:208:0;64812:7;-1:-1:-1;;;;;64840:19:0;;64832:74;;;;-1:-1:-1;;;64832:74:0;;18741:2:1;64832:74:0;;;18723:21:1;18780:2;18760:18;;;18753:30;18819:34;18799:18;;;18792:62;-1:-1:-1;;;18870:18:1;;;18863:40;18920:19;;64832:74:0;18713:232:1;64832:74:0;-1:-1:-1;;;;;;64924:16:0;;;;;:9;:16;;;;;;;64740:208::o;45605:94::-;45000:7;45027:6;-1:-1:-1;;;;;45027:6:0;13189:10;45174:23;45166:68;;;;-1:-1:-1;;;45166:68:0;;;;;;;:::i;:::-;45670:21:::1;45688:1;45670:9;:21::i;:::-;45605:94::o:0;49013:139::-;49091:4;49115:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;49115:29:0;;;;;;;;;;;;;;;49013:139::o;65485:104::-;65541:13;65574:7;65567:14;;;;;:::i;86425:275::-;45000:7;45027:6;-1:-1:-1;;;;;45027:6:0;13189:10;45174:23;45166:68;;;;-1:-1:-1;;;45166:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;86550:32:0;::::1;86542:41;;;::::0;::::1;;86594:22;:34:::0;;-1:-1:-1;;;;;;86594:34:0::1;-1:-1:-1::0;;;;;86594:34:0;::::1;::::0;;::::1;::::0;;;86644:48:::1;::::0;9182:51:1;;;86644:48:0::1;::::0;9170:2:1;9155:18;86644:48:0::1;9137:102:1::0;67168:295:0;-1:-1:-1;;;;;67271:24:0;;13189:10;67271:24;;67263:62;;;;-1:-1:-1;;;67263:62:0;;16098:2:1;67263:62:0;;;16080:21:1;16137:2;16117:18;;;16110:30;16176:27;16156:18;;;16149:55;16221:18;;67263:62:0;16070:175:1;67263:62:0;13189:10;67338:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;67338:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;67338:53:0;;;;;;;;;;67407:48;;9877:41:1;;;67338:42:0;;13189:10;67407:48;;9850:18:1;67407:48:0;;;;;;;67168:295;;:::o;90619:571::-;90697:21;90709:8;90697:11;:21::i;:::-;90675:120;;;;-1:-1:-1;;;90675:120:0;;25726:2:1;90675:120:0;;;25708:21:1;25765:2;25745:18;;;25738:30;25804:34;25784:18;;;25777:62;-1:-1:-1;;;25855:18:1;;;25848:47;25912:19;;90675:120:0;25698:239:1;90675:120:0;90808:21;90832:17;;;:7;:17;;;;;90870;;;;90891:15;-1:-1:-1;90870:36:0;90862:67;;;;-1:-1:-1;;;90862:67:0;;15346:2:1;90862:67:0;;;15328:21:1;15385:2;15365:18;;;15358:30;-1:-1:-1;;;15404:18:1;;;15397:48;15462:18;;90862:67:0;15318:168:1;90862:67:0;90964:12;90948;;;;:28;;;;;;-1:-1:-1;;;90948:28:0;;;;;;;;;;90940:52;;;;-1:-1:-1;;;90940:52:0;;23454:2:1;90940:52:0;;;23436:21:1;23493:2;23473:18;;;23466:30;-1:-1:-1;;;23512:18:1;;;23505:41;23563:18;;90940:52:0;23426:161:1;90940:52:0;91005:30;;-1:-1:-1;;91005:30:0;91020:15;91005:30;;;-1:-1:-1;91063:19:0;91073:8;91063:9;:19::i;:::-;91046:36;;91123:15;91129:8;91123:5;:15::i;:::-;91165:8;91156:26;91175:6;91156:26;;;;10075:25:1;;10063:2;10048:18;;10030:76;91156:26:0;;;;;;;;90619:571;;;:::o;68431:328::-;68606:41;13189:10;68639:7;68606:18;:41::i;:::-;68598:103;;;;-1:-1:-1;;;68598:103:0;;;;;;;:::i;:::-;68712:39;68726:4;68732:2;68736:7;68745:5;68712:13;:39::i;:::-;68431:328;;;;:::o;94508:800::-;94698:13;94726:21;94762:17;94794;94842:18;94870:13;;;;;;;;;-1:-1:-1;;;;;94870:13:0;-1:-1:-1;;;;;94870:29:0;;:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;94839:62;;;;;;94912:20;94943:11;94912:43;;94982:24;94999:6;94982:16;:24::i;:::-;94966:40;;95029:138;95056:6;95077;95098;95119:12;95146:10;95029:12;:138::i;:::-;95017:150;;95190:54;95203:6;95211;95219:12;95233:10;95190:12;:54::i;:::-;95178:66;-1:-1:-1;95287:13:0;95263:21;95178:66;95263:9;:21;:::i;:::-;:37;;;;:::i;:::-;95255:45;;94508:800;;;;;;;;;;;:::o;65660:334::-;70334:4;70358:16;;;:7;:16;;;;;;65733:13;;-1:-1:-1;;;;;70358:16:0;65759:76;;;;-1:-1:-1;;;65759:76:0;;21447:2:1;65759:76:0;;;21429:21:1;21486:2;21466:18;;;21459:30;21525:34;21505:18;;;21498:62;-1:-1:-1;;;21576:18:1;;;21569:45;21631:19;;65759:76:0;21419:237:1;65759:76:0;65848:21;65872:10;97927:31;;;;;;;;;;;;-1:-1:-1;;;97927:31:0;;;;;97849:117;65872:10;65848:34;;65924:1;65906:7;65900:21;:25;:86;;;;;;;;;;;;;;;;;65952:7;65961:18;:7;:16;:18::i;:::-;65935:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;65900:86;65893:93;65660:334;-1:-1:-1;;;65660:334:0:o;85680:218::-;45000:7;45027:6;-1:-1:-1;;;;;45027:6:0;13189:10;45174:23;45166:68;;;;-1:-1:-1;;;45166:68:0;;;;;;;:::i;:::-;85769:4:::1;85760:5;:13;;85752:59;;;::::0;-1:-1:-1;;;85752:59:0;;24199:2:1;85752:59:0::1;::::0;::::1;24181:21:1::0;24238:2;24218:18;;;24211:30;24277:34;24257:18;;;24250:62;-1:-1:-1;;;24328:18:1;;;24321:31;24369:19;;85752:59:0::1;24171:223:1::0;85752:59:0::1;85822:14;:22:::0;;;85860:30:::1;::::0;10075:25:1;;;85860:30:0::1;::::0;10063:2:1;10048:18;85860:30:0::1;10030:76:1::0;87211:247:0;45000:7;45027:6;-1:-1:-1;;;;;45027:6:0;13189:10;45174:23;45166:68;;;;-1:-1:-1;;;45166:68:0;;;;;;;:::i;:::-;87310:3:::1;87301:5;:12;;87293:61;;;::::0;-1:-1:-1;;;87293:61:0;;23794:2:1;87293:61:0::1;::::0;::::1;23776:21:1::0;23833:2;23813:18;;;23806:30;23872:34;23852:18;;;23845:62;-1:-1:-1;;;23923:18:1;;;23916:34;23967:19;;87293:61:0::1;23766:226:1::0;87293:61:0::1;87365:24;:32:::0;;;87413:37:::1;::::0;10075:25:1;;;87413:37:0::1;::::0;10063:2:1;10048:18;87413:37:0::1;10030:76:1::0;50905:149:0;50194:7;50221:12;;;:6;:12;;;;;:22;;;48595:30;48606:4;13189:10;48595;:30::i;:::-;51020:26:::1;51032:4;51038:7;51020:11;:26::i;87609:245::-:0;45000:7;45027:6;-1:-1:-1;;;;;45027:6:0;13189:10;45174:23;45166:68;;;;-1:-1:-1;;;45166:68:0;;;;;;;:::i;:::-;87707:5:::1;87701:2;:11;;:27;;;;;87725:3;87716:5;:12;;87701:27;87693:51;;;::::0;-1:-1:-1;;;87693:51:0;;19562:2:1;87693:51:0::1;::::0;::::1;19544:21:1::0;19601:2;19581:18;;;19574:30;-1:-1:-1;;;19620:18:1;;;19613:41;19671:18;;87693:51:0::1;19534:161:1::0;87693:51:0::1;87755:28;:36:::0;;;87807:39:::1;::::0;10075:25:1;;;87807:39:0::1;::::0;10063:2:1;10048:18;87807:39:0::1;10030:76:1::0;91302:214:0;91393:9;91371:19;91420:89;91444:11;91440:1;:15;91420:89;;;91477:20;91484:9;;91494:1;91484:12;;;;;-1:-1:-1;;;91484:12:0;;;;;;;;;;;;;;;91477:6;:20::i;:::-;91457:3;;;;:::i;:::-;;;;91420:89;;88178:1625;88374:16;35169:1;35765:7;;:19;;35757:63;;;;-1:-1:-1;;;35757:63:0;;24601:2:1;35757:63:0;;;24583:21:1;24640:2;24620:18;;;24613:30;24679:33;24659:18;;;24652:61;24730:18;;35757:63:0;24573:181:1;35757:63:0;35169:1;35898:7;:18;88404:16:::1;::::0;;88468:103:::1;88487:6:::0;88508;88529;88550:10;88468:4:::1;:103::i;:::-;-1:-1:-1::0;88403:168:0;;-1:-1:-1;88403:168:0;-1:-1:-1;88403:168:0;-1:-1:-1;88620:15:0::1;88606:10;:29;;;;;;-1:-1:-1::0;;;88606:29:0::1;;;;;;;;;;:61;;;-1:-1:-1::0;88653:14:0::1;88639:10;:28;;;;;;-1:-1:-1::0;;;88639:28:0::1;;;;;;;;;;88606:61;88584:128;;;::::0;-1:-1:-1;;;88584:128:0;;17153:2:1;88584:128:0::1;::::0;::::1;17135:21:1::0;17192:2;17172:18;;;17165:30;-1:-1:-1;;;17211:18:1;;;17204:47;17268:18;;88584:128:0::1;17125:167:1::0;88584:128:0::1;88741:6;88731;:16;;88723:48;;;::::0;-1:-1:-1;;;88723:48:0;;25378:2:1;88723:48:0::1;::::0;::::1;25360:21:1::0;25417:2;25397:18;;;25390:30;-1:-1:-1;;;25436:18:1;;;25429:49;25495:18;;88723:48:0::1;25350:169:1::0;88723:48:0::1;88800:7;88790:6;:17;;88782:48;;;::::0;-1:-1:-1;;;88782:48:0;;26144:2:1;88782:48:0::1;::::0;::::1;26126:21:1::0;26183:2;26163:18;;;26156:30;-1:-1:-1;;;26202:18:1;;;26195:48;26260:18;;88782:48:0::1;26116:168:1::0;88782:48:0::1;88858:9;88849:6;:18;88841:60;;;::::0;-1:-1:-1;;;88841:60:0;;22265:2:1;88841:60:0::1;::::0;::::1;22247:21:1::0;22304:2;22284:18;;;22277:30;22343:31;22323:18;;;22316:59;22392:18;;88841:60:0::1;22237:179:1::0;88841:60:0::1;88933:8;88920:9;:21;;88912:45;;;::::0;-1:-1:-1;;;88912:45:0;;16813:2:1;88912:45:0::1;::::0;::::1;16795:21:1::0;16852:2;16832:18;;;16825:30;-1:-1:-1;;;16871:18:1;;;16864:41;16922:18;;88912:45:0::1;16785:161:1::0;88912:45:0::1;88984:8;88972:9;:20;88968:103;;;89017:10;89009:50;89038:20;89050:8:::0;89038:9:::1;:20;:::i;:::-;89009:50;::::0;;::::1;::::0;;::::1;::::0;::::1;::::0;;;;;;::::1;;;;;;;;;;;;;::::0;::::1;;;;;;88968:103;89083:20;89106:18;89115:9:::0;89106:6;:18:::1;:::i;:::-;89083:41;;89135:20;89214:9;89207:3;89175:28;;89160:12;:43;;;;:::i;:::-;89159:51;;;;:::i;:::-;89158:65;;;;:::i;:::-;89135:88;;89236:20;89259:216;;;;;;;;89280:12;89259:216;;;;;;-1:-1:-1::0;;;89259:216:0::1;;;;;;;;;;;;;89307:6;89259:216;;;;89328:6;89259:216;;;;89349:12;89259:216;;;;89387:13;89376:8;:24;;;;:::i;:::-;89259:216:::0;;::::1;;89415:24;89433:6:::0;89415:15:::1;:24;:::i;:::-;89259:216;;;;89454:10;89259:216;;;;;;-1:-1:-1::0;;;89259:216:0::1;;;;;;;;;::::0;;89236:239;-1:-1:-1;89499:27:0::1;89515:10;89499:15;:27::i;:::-;89537:17;::::0;;;:7:::1;:17;::::0;;;;:26;;;;89488:38;;-1:-1:-1;89557:6:0;;89537:17;;-1:-1:-1;;89537:26:0::1;::::0;;::::1;::::0;::::1;;;;-1:-1:-1::0;;;89537:26:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1::0;;;89537:26:0::1;;;;;;;;;;;;;;;;;89576:21;89600:48;89624:13;89639:8;89600:23;:48::i;:::-;89661:4;::::0;89678:14:::1;::::0;::::1;::::0;89704:19:::1;::::0;::::1;::::0;89661:63:::1;::::0;-1:-1:-1;;;89661:63:0;;89576:72;;-1:-1:-1;;;;;;89661:4:0;;::::1;::::0;:9:::1;::::0;:63:::1;::::0;89694:8;;89704:19;89661:63:::1;;27427:25:1::0;;;27483:2;27468:18;;27461:34;27415:2;27400:18;;27382:119;89661:63:0::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;89742:53:0::1;::::0;;27427:25:1;;;27483:2;27468:18;;27461:34;;;89759:10:0::1;::::0;-1:-1:-1;89749:8:0;;-1:-1:-1;89742:53:0::1;::::0;-1:-1:-1;27400:18:1;89742:53:0::1;;;;;;;-1:-1:-1::0;;35125:1:0;36077:7;:22;-1:-1:-1;88178:1625:0;;;-1:-1:-1;;;;;;;;;88178:1625:0:o;45854:192::-;45000:7;45027:6;-1:-1:-1;;;;;45027:6:0;13189:10;45174:23;45166:68;;;;-1:-1:-1;;;45166:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;45943:22:0;::::1;45935:73;;;::::0;-1:-1:-1;;;45935:73:0;;13873:2:1;45935:73:0::1;::::0;::::1;13855:21:1::0;13912:2;13892:18;;;13885:30;13951:34;13931:18;;;13924:62;-1:-1:-1;;;14002:18:1;;;13995:36;14048:19;;45935:73:0::1;13845:228:1::0;45935:73:0::1;46019:19;46029:8;46019:9;:19::i;48717:204::-:0;48802:4;-1:-1:-1;;;;;;48826:47:0;;-1:-1:-1;;;48826:47:0;;:87;;;48877:36;48901:11;48877:23;:36::i;74251:174::-;74326:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;74326:29:0;-1:-1:-1;;;;;74326:29:0;;;;;;;;:24;;74380:23;74326:24;74380:14;:23::i;:::-;-1:-1:-1;;;;;74371:46:0;;;;;;;;;;;74251:174;;:::o;70563:348::-;70656:4;70358:16;;;:7;:16;;;;;;-1:-1:-1;;;;;70358:16:0;70673:73;;;;-1:-1:-1;;;70673:73:0;;;;;;;:::i;:::-;70757:13;70773:23;70788:7;70773:14;:23::i;:::-;70757:39;;70826:5;-1:-1:-1;;;;;70815:16:0;:7;-1:-1:-1;;;;;70815:16:0;;:51;;;;70859:7;-1:-1:-1;;;;;70835:31:0;:20;70847:7;70835:11;:20::i;:::-;-1:-1:-1;;;;;70835:31:0;;70815:51;:87;;;-1:-1:-1;;;;;;67655:25:0;;;67631:4;67655:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;70870:32;70807:96;70563:348;-1:-1:-1;;;;70563:348:0:o;73555:578::-;73714:4;-1:-1:-1;;;;;73687:31:0;:23;73702:7;73687:14;:23::i;:::-;-1:-1:-1;;;;;73687:31:0;;73679:85;;;;-1:-1:-1;;;73679:85:0;;21037:2:1;73679:85:0;;;21019:21:1;21076:2;21056:18;;;21049:30;21115:34;21095:18;;;21088:62;-1:-1:-1;;;21166:18:1;;;21159:39;21215:19;;73679:85:0;21009:231:1;73679:85:0;-1:-1:-1;;;;;73783:16:0;;73775:65;;;;-1:-1:-1;;;73775:65:0;;15693:2:1;73775:65:0;;;15675:21:1;15732:2;15712:18;;;15705:30;15771:34;15751:18;;;15744:62;-1:-1:-1;;;15822:18:1;;;15815:34;15866:19;;73775:65:0;15665:226:1;73775:65:0;73853:39;73874:4;73880:2;73884:7;73853:20;:39::i;:::-;73957:29;73974:1;73978:7;73957:8;:29::i;:::-;-1:-1:-1;;;;;73999:15:0;;;;;;:9;:15;;;;;:20;;74018:1;;73999:15;:20;;74018:1;;73999:20;:::i;:::-;;;;-1:-1:-1;;;;;;;74030:13:0;;;;;;:9;:13;;;;;:18;;74047:1;;74030:13;:18;;74047:1;;74030:18;:::i;:::-;;;;-1:-1:-1;;74059:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;74059:21:0;-1:-1:-1;;;;;74059:21:0;;;;;;;;;74098:27;;74059:16;;74098:27;;;;;;;73555:578;;;:::o;49442:497::-;49523:22;49531:4;49537:7;49523;:22::i;:::-;49518:414;;49711:41;49739:7;-1:-1:-1;;;;;49711:41:0;49749:2;49711:19;:41::i;:::-;49825:38;49853:4;49860:2;49825:19;:38::i;:::-;49616:270;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;49616:270:0;;;;;;;;;;-1:-1:-1;;;49562:358:0;;;;;;;:::i;52865:229::-;52940:22;52948:4;52954:7;52940;:22::i;:::-;52935:152;;52979:12;;;;:6;:12;;;;;;;;-1:-1:-1;;;;;52979:29:0;;;;;;;;;:36;;-1:-1:-1;;52979:36:0;53011:4;52979:36;;;53062:12;13189:10;;13109:98;53062:12;-1:-1:-1;;;;;53035:40:0;53053:7;-1:-1:-1;;;;;53035:40:0;53047:4;53035:40;;;;;;;;;;52865:229;;:::o;53102:230::-;53177:22;53185:4;53191:7;53177;:22::i;:::-;53173:152;;;53248:5;53216:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;53216:29:0;;;;;;;;;;:37;;-1:-1:-1;;53216:37:0;;;53273:40;13189:10;;53216:12;;53273:40;;53248:5;53273:40;53102:230;;:::o;72858:360::-;72918:13;72934:23;72949:7;72934:14;:23::i;:::-;72918:39;;72970:48;72991:5;73006:1;73010:7;72970:20;:48::i;:::-;73059:29;73076:1;73080:7;73059:8;:29::i;:::-;-1:-1:-1;;;;;73101:16:0;;;;;;:9;:16;;;;;:21;;73121:1;;73101:16;:21;;73121:1;;73101:21;:::i;:::-;;;;-1:-1:-1;;73140:16:0;;;;:7;:16;;;;;;73133:23;;-1:-1:-1;;;;;;73133:23:0;;;73174:36;73148:7;;73140:16;-1:-1:-1;;;;;73174:36:0;;;;;73140:16;;73174:36;72858:360;;:::o;46054:173::-;46110:16;46129:6;;-1:-1:-1;;;;;46146:17:0;;;-1:-1:-1;;;;;;46146:17:0;;;;;;46179:40;;46129:6;;;;;;;46179:40;;46110:16;46179:40;46054:173;;:::o;89937:571::-;89999:4;70358:16;;;:7;:16;;;;;;-1:-1:-1;;;;;70358:16:0;90015:74;;;;-1:-1:-1;;;90015:74:0;;;;;;;:::i;:::-;90102:18;90123:24;90138:8;90123:14;:24::i;:::-;-1:-1:-1;;;;;90184:30:0;;90158:23;90184:30;;;:18;:30;;;;;;90102:45;;-1:-1:-1;90158:23:0;90184:30;;:55;;;;-1:-1:-1;45000:7:0;45027:6;-1:-1:-1;;;;;45027:6:0;90218:10;:21;90184:55;90252:21;90276:17;;;:7;:17;;;;;90359;;;;90158:81;;-1:-1:-1;90276:17:0;90359:30;;90379:10;;90359:30;:::i;:::-;90340:15;:50;;-1:-1:-1;;;;;;90419:24:0;;90433:10;90419:24;;90418:82;;;90449:18;:50;;;;;90471:28;90449:50;90411:89;89937:571;-1:-1:-1;;;;;;89937:571:0:o;92279:883::-;92334:14;92384:17;;;:7;:17;;;;;;92361:40;;;;;;;;;;92334:14;;92361:40;92384:17;92361:40;;;;;;;;;;-1:-1:-1;;;92361:40:0;;;;;;;;;;;;;;;-1:-1:-1;;;92361:40:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;92361:40:0;;;;;;;;;;;;;;;-1:-1:-1;;;92361:40:0;;;;;;;;;;;;;;;92415:18;92443:13;;;;;;;;;-1:-1:-1;;;;;92443:13:0;-1:-1:-1;;;;;92443:29:0;;:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;92412:62:0;;-1:-1:-1;92412:62:0;;-1:-1:-1;92564:15:0;;-1:-1:-1;92543:36:0;;-1:-1:-1;92543:36:0;;:6;:17;;;:36;;;;;;-1:-1:-1;;;92543:36:0;;;;;;;;;;92539:477;;;92621:12;92604:6;:13;;;:29;;92596:66;;;;-1:-1:-1;;;92596:66:0;;12340:2:1;92596:66:0;;;12322:21:1;12379:2;12359:18;;;12352:30;12418:26;12398:18;;;12391:54;12462:18;;92596:66:0;12312:174:1;92596:66:0;92771:12;92737:6;:13;;;92720:6;:13;;;92705:12;:28;;;;:::i;:::-;92704:46;;;;:::i;:::-;92703:80;;;;:::i;:::-;92677:106;;92539:477;;;92841:12;92824:6;:13;;;:29;;92816:67;;;;-1:-1:-1;;;92816:67:0;;14280:2:1;92816:67:0;;;14262:21:1;14319:2;14299:18;;;14292:30;14358:27;14338:18;;;14331:55;14403:18;;92816:67:0;14252:175:1;92816:67:0;92992:12;92958:6;:13;;;92942:12;92926:6;:13;;;:28;;;;:::i;:::-;92925:46;;;;:::i;:::-;92924:80;;;;:::i;:::-;92898:106;;92539:477;93039:6;:19;;;93030:6;:28;93026:62;;;93069:6;:19;;;93060:28;;93026:62;93099:4;;-1:-1:-1;;;;;93099:4:0;:9;93109:8;93127:17;93109:8;93127:7;:17::i;:::-;93099:55;;-1:-1:-1;;;;;;93099:55:0;;;;;;;;;;27105:25:1;;;;-1:-1:-1;;;;;27166:32:1;27146:18;;;27139:60;27215:18;;;27208:34;;;27078:18;;93099:55:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;92279:883;;;;;;:::o;69641:315::-;69798:28;69808:4;69814:2;69818:7;69798:9;:28::i;:::-;69845:48;69868:4;69874:2;69878:7;69887:5;69845:22;:48::i;:::-;69837:111;;;;-1:-1:-1;;;69837:111:0;;;;;;;:::i;97307:176::-;97399:11;97472:3;97445:23;;97436:6;:32;;;;:::i;:::-;97435:40;;;;:::i;95897:546::-;96087:11;96129:14;96115:10;:28;;;;;;-1:-1:-1;;;96115:28:0;;;;;;;;;;96111:324;;;96252:29;84949:3;96252:12;:29;:::i;:::-;96224:6;96207:14;;96192:12;96197:6;96192:4;:12::i;:::-;96183:21;;:6;:21;:::i;:::-;:38;;;;:::i;:::-;:47;;;;:::i;:::-;96182:100;;;;:::i;:::-;96158:124;;;;96111:324;96411:23;84949:3;96411:6;:23;:::i;:::-;96377:12;96360:14;;96345:12;96350:6;96345:4;:12::i;96111:324::-;95897:546;;;;;;;:::o;96678:484::-;96843:11;96880:12;96871:6;:21;:53;;;;-1:-1:-1;96910:14:0;96896:10;:28;;;;;;-1:-1:-1;;;96896:28:0;;;;;;;;;;96871:53;96867:128;;;96983:12;96973:6;96948:21;96983:12;96948:6;:21;:::i;:::-;96947:32;;;;:::i;:::-;96946:49;;;;:::i;:::-;96939:56;;;;96867:128;97019:12;97010:6;:21;:54;;;;-1:-1:-1;97049:15:0;97035:10;:29;;;;;;-1:-1:-1;;;97035:29:0;;;;;;;;;;97010:54;97006:129;;;97123:12;97113:6;97088:21;97103:6;97123:12;97088:21;:::i;97006:129::-;-1:-1:-1;97153:1:0;96678:484;;;;;;:::o;36402:723::-;36458:13;36679:10;36675:53;;-1:-1:-1;;36706:10:0;;;;;;;;;;;;-1:-1:-1;;;36706:10:0;;;;;36402:723::o;36675:53::-;36753:5;36738:12;36794:78;36801:9;;36794:78;;36827:8;;;;:::i;:::-;;-1:-1:-1;36850:10:0;;-1:-1:-1;36858:2:0;36850:10;;:::i;:::-;;;36794:78;;;36882:19;36914:6;36904:17;;;;;;-1:-1:-1;;;36904:17:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;36904:17:0;;36882:39;;36932:154;36939:10;;36932:154;;36966:11;36976:1;36966:11;;:::i;:::-;;-1:-1:-1;37035:10:0;37043:2;37035:5;:10;:::i;:::-;37022:24;;:2;:24;:::i;:::-;37009:39;;36992:6;36999;36992:14;;;;;;-1:-1:-1;;;36992:14:0;;;;;;;;;;;;:56;-1:-1:-1;;;;;36992:56:0;;;;;;;;-1:-1:-1;37063:11:0;37072:2;37063:11;;:::i;:::-;;;36932:154;;97620:140;97707:11;:13;;97679:10;;;97707:13;;;:::i;:::-;;;;;97702:18;;97731:21;97741:6;97749:2;97731:9;:21::i;:::-;97620:140;;;:::o;93172:825::-;93264:21;93355:3;93331:20;;93315:13;:36;;;;:::i;:::-;93314:44;;;;:::i;:::-;93297:62;-1:-1:-1;93425:17:0;;93422:105;;93458:22;;;;;;;;;-1:-1:-1;;;;;93458:22:0;-1:-1:-1;;;;;93458:33:0;;93499:13;93458:57;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;93422:105;93539:16;93558:29;93574:13;93558;:29;:::i;:::-;93539:48;-1:-1:-1;93603:12:0;;93600:390;;93661:1;93634:24;;:28;:51;;;;-1:-1:-1;45000:7:0;45027:6;-1:-1:-1;;;;;93666:19:0;;;45027:6;;93666:19;;93634:51;:77;;;;-1:-1:-1;;;;;;93689:22:0;;93701:10;93689:22;;93634:77;93631:298;;;93731:22;93794:3;93768:24;;93757:8;:35;;;;:::i;:::-;93756:41;;;;:::i;:::-;93731:66;-1:-1:-1;93827:25:0;93731:66;93827:8;:25;:::i;:::-;93871:42;;93816:36;;-1:-1:-1;;;;;;93871:26:0;;;:42;;;;;93898:14;;93871:42;;;;93898:14;93871:26;:42;;;;;;;;;;;;;;;;;;;;;93631:298;;45000:7;45027:6;;93943:35;;-1:-1:-1;;;;;45027:6:0;;;;93943:35;;;;;93969:8;;93943:35;45000:7;93943:35;93969:8;45027:6;93943:35;;;;;;;;;;;;;;;;;;;;;93600:390;93172:825;;;;;:::o;78043:224::-;78145:4;-1:-1:-1;;;;;;78169:50:0;;-1:-1:-1;;;78169:50:0;;:90;;;78223:36;78247:11;78223:23;:36::i;98044:215::-;98206:45;98233:4;98239:2;98243:7;98206:26;:45::i;37703:451::-;37778:13;37804:19;37836:10;37840:6;37836:1;:10;:::i;:::-;:14;;37849:1;37836:14;:::i;:::-;37826:25;;;;;;-1:-1:-1;;;37826:25:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;37826:25:0;;37804:47;;-1:-1:-1;;;37862:6:0;37869:1;37862:9;;;;;;-1:-1:-1;;;37862:9:0;;;;;;;;;;;;:15;-1:-1:-1;;;;;37862:15:0;;;;;;;;;-1:-1:-1;;;37888:6:0;37895:1;37888:9;;;;;;-1:-1:-1;;;37888:9:0;;;;;;;;;;;;:15;-1:-1:-1;;;;;37888:15:0;;;;;;;;-1:-1:-1;37919:9:0;37931:10;37935:6;37931:1;:10;:::i;:::-;:14;;37944:1;37931:14;:::i;:::-;37919:26;;37914:135;37951:1;37947;:5;37914:135;;;-1:-1:-1;;;37999:5:0;38007:3;37999:11;37986:25;;;;;-1:-1:-1;;;37986:25:0;;;;;;;;;;;;37974:6;37981:1;37974:9;;;;;;-1:-1:-1;;;37974:9:0;;;;;;;;;;;;:37;-1:-1:-1;;;;;37974:37:0;;;;;;;;-1:-1:-1;38036:1:0;38026:11;;;;;37954:3;;;:::i;:::-;;;37914:135;;;-1:-1:-1;38067:10:0;;38059:55;;;;-1:-1:-1;;;38059:55:0;;11979:2:1;38059:55:0;;;11961:21:1;;;11998:18;;;11991:30;12057:34;12037:18;;;12030:62;12109:18;;38059:55:0;11951:182:1;74990:799:0;75145:4;-1:-1:-1;;;;;75166:13:0;;5499:20;5547:8;75162:620;;75202:72;;-1:-1:-1;;;75202:72:0;;-1:-1:-1;;;;;75202:36:0;;;;;:72;;13189:10;;75253:4;;75259:7;;75268:5;;75202:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;75202:72:0;;;;;;;;-1:-1:-1;;75202:72:0;;;;;;;;;;;;:::i;:::-;;;75198:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;75444:13:0;;75440:272;;75487:60;;-1:-1:-1;;;75487:60:0;;;;;;;:::i;75440:272::-;75662:6;75656:13;75647:6;75643:2;75639:15;75632:38;75198:529;-1:-1:-1;;;;;;75325:51:0;-1:-1:-1;;;75325:51:0;;-1:-1:-1;75318:58:0;;75162:620;-1:-1:-1;75766:4:0;75759:11;;98569:193;98653:1;98617:14;98678:5;98682:1;98653;98678:5;:::i;:::-;98677:11;;98687:1;98677:11;:::i;:::-;98665:23;;98699:55;98710:6;98706:1;:10;98699:55;;;98733:1;98752;98733;98738:5;98733:1;98738;:5;:::i;:::-;98737:11;;;;:::i;:::-;98736:17;;;;:::i;:::-;98718:36;;-1:-1:-1;98718:36:0;-1:-1:-1;98699:55:0;;;98569:193;;;;:::o;71253:110::-;71329:26;71339:2;71343:7;71329:26;;;;;;;;;;;;:9;:26::i;64371:305::-;64473:4;-1:-1:-1;;;;;;64510:40:0;;-1:-1:-1;;;64510:40:0;;:105;;-1:-1:-1;;;;;;;64567:48:0;;-1:-1:-1;;;64567:48:0;64510:105;:158;;;-1:-1:-1;;;;;;;;;;39158:40:0;;;64632:36;39049:157;79719:589;-1:-1:-1;;;;;79925:18:0;;79921:187;;79960:40;79992:7;81135:10;:17;;81108:24;;;;:15;:24;;;;;:44;;;81163:24;;;;;;;;;;;;81031:164;79960:40;79921:187;;;80030:2;-1:-1:-1;;;;;80022:10:0;:4;-1:-1:-1;;;;;80022:10:0;;80018:90;;80049:47;80082:4;80088:7;80049:32;:47::i;:::-;-1:-1:-1;;;;;80122:16:0;;80118:183;;80155:45;80192:7;80155:36;:45::i;80118:183::-;80228:4;-1:-1:-1;;;;;80222:10:0;:2;-1:-1:-1;;;;;80222:10:0;;80218:83;;80249:40;80277:2;80281:7;80249:27;:40::i;71590:321::-;71720:18;71726:2;71730:7;71720:5;:18::i;:::-;71771:54;71802:1;71806:2;71810:7;71819:5;71771:22;:54::i;:::-;71749:154;;;;-1:-1:-1;;;71749:154:0;;;;;;;:::i;81822:988::-;82088:22;82138:1;82113:22;82130:4;82113:16;:22::i;:::-;:26;;;;:::i;:::-;82150:18;82171:26;;;:17;:26;;;;;;82088:51;;-1:-1:-1;82304:28:0;;;82300:328;;-1:-1:-1;;;;;82371:18:0;;82349:19;82371:18;;;:12;:18;;;;;;;;:34;;;;;;;;;82422:30;;;;;;:44;;;82539:30;;:17;:30;;;;;:43;;;82300:328;-1:-1:-1;82724:26:0;;;;:17;:26;;;;;;;;82717:33;;;-1:-1:-1;;;;;82768:18:0;;;;;:12;:18;;;;;:34;;;;;;;82761:41;81822:988::o;83105:1079::-;83383:10;:17;83358:22;;83383:21;;83403:1;;83383:21;:::i;:::-;83415:18;83436:24;;;:15;:24;;;;;;83809:10;:26;;83358:46;;-1:-1:-1;83436:24:0;;83358:46;;83809:26;;;;-1:-1:-1;;;83809:26:0;;;;;;;;;;;;;;;;;83787:48;;83873:11;83848:10;83859;83848:22;;;;;;-1:-1:-1;;;83848:22:0;;;;;;;;;;;;;;;;;;;;:36;;;;83953:28;;;:15;:28;;;;;;;:41;;;84125:24;;;;;84118:31;84160:10;:16;;;;;-1:-1:-1;;;84160:16:0;;;;;;;;;;;;;;;;;;;;;;;;;;83105:1079;;;;:::o;80609:221::-;80694:14;80711:20;80728:2;80711:16;:20::i;:::-;-1:-1:-1;;;;;80742:16:0;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;80787:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;80609:221:0:o;72247:382::-;-1:-1:-1;;;;;72327:16:0;;72319:61;;;;-1:-1:-1;;;72319:61:0;;19902:2:1;72319:61:0;;;19884:21:1;;;19921:18;;;19914:30;19980:34;19960:18;;;19953:62;20032:18;;72319:61:0;19874:182:1;72319:61:0;70334:4;70358:16;;;:7;:16;;;;;;-1:-1:-1;;;;;70358:16:0;:30;72391:58;;;;-1:-1:-1;;;72391:58:0;;14634:2:1;72391:58:0;;;14616:21:1;14673:2;14653:18;;;14646:30;14712;14692:18;;;14685:58;14760:18;;72391:58:0;14606:178:1;72391:58:0;72462:45;72491:1;72495:2;72499:7;72462:20;:45::i;:::-;-1:-1:-1;;;;;72520:13:0;;;;;;:9;:13;;;;;:18;;72537:1;;72520:13;:18;;72537:1;;72520:18;:::i;:::-;;;;-1:-1:-1;;72549:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;72549:21:0;-1:-1:-1;;;;;72549:21:0;;;;;;;;72588:33;;72549:16;;;72588:33;;72549:16;;72588:33;72247:382;;:::o;14:160:1:-;79:20;;135:13;;128:21;118:32;;108:2;;164:1;161;154:12;179:151;255:20;;304:1;294:12;;284:2;;320:1;317;310:12;335:179;413:13;;466:22;455:34;;445:45;;435:2;;504:1;501;494:12;519:257;578:6;631:2;619:9;610:7;606:23;602:32;599:2;;;652:6;644;637:22;599:2;696:9;683:23;715:31;740:5;715:31;:::i;781:398::-;849:6;857;910:2;898:9;889:7;885:23;881:32;878:2;;;931:6;923;916:22;878:2;975:9;962:23;994:31;1019:5;994:31;:::i;:::-;1044:5;-1:-1:-1;1101:2:1;1086:18;;1073:32;1114:33;1073:32;1114:33;:::i;:::-;1166:7;1156:17;;;868:311;;;;;:::o;1184:466::-;1261:6;1269;1277;1330:2;1318:9;1309:7;1305:23;1301:32;1298:2;;;1351:6;1343;1336:22;1298:2;1395:9;1382:23;1414:31;1439:5;1414:31;:::i;:::-;1464:5;-1:-1:-1;1521:2:1;1506:18;;1493:32;1534:33;1493:32;1534:33;:::i;:::-;1288:362;;1586:7;;-1:-1:-1;;;1640:2:1;1625:18;;;;1612:32;;1288:362::o;1655:1311::-;1750:6;1758;1766;1774;1827:3;1815:9;1806:7;1802:23;1798:33;1795:2;;;1849:6;1841;1834:22;1795:2;1893:9;1880:23;1912:31;1937:5;1912:31;:::i;:::-;1962:5;-1:-1:-1;2019:2:1;2004:18;;1991:32;2032:33;1991:32;2032:33;:::i;:::-;2084:7;-1:-1:-1;2138:2:1;2123:18;;2110:32;;-1:-1:-1;2193:2:1;2178:18;;2165:32;2216:18;2246:14;;;2243:2;;;2278:6;2270;2263:22;2243:2;2321:6;2310:9;2306:22;2296:32;;2366:7;2359:4;2355:2;2351:13;2347:27;2337:2;;2393:6;2385;2378:22;2337:2;2434;2421:16;2456:2;2452;2449:10;2446:2;;;2462:18;;:::i;:::-;2537:2;2531:9;2505:2;2591:13;;-1:-1:-1;;2587:22:1;;;2611:2;2583:31;2579:40;2567:53;;;2635:18;;;2655:22;;;2632:46;2629:2;;;2681:18;;:::i;:::-;2721:10;2717:2;2710:22;2756:2;2748:6;2741:18;2796:7;2791:2;2786;2782;2778:11;2774:20;2771:33;2768:2;;;2822:6;2814;2807:22;2768:2;2883;2878;2874;2870:11;2865:2;2857:6;2853:15;2840:46;2906:15;;;2923:2;2902:24;2895:40;;;;1785:1181;;;;-1:-1:-1;1785:1181:1;;-1:-1:-1;;;;1785:1181:1:o;2971:325::-;3036:6;3044;3097:2;3085:9;3076:7;3072:23;3068:32;3065:2;;;3118:6;3110;3103:22;3065:2;3162:9;3149:23;3181:31;3206:5;3181:31;:::i;:::-;3231:5;-1:-1:-1;3255:35:1;3286:2;3271:18;;3255:35;:::i;:::-;3245:45;;3055:241;;;;;:::o;3301:325::-;3369:6;3377;3430:2;3418:9;3409:7;3405:23;3401:32;3398:2;;;3451:6;3443;3436:22;3398:2;3495:9;3482:23;3514:31;3539:5;3514:31;:::i;:::-;3564:5;3616:2;3601:18;;;;3588:32;;-1:-1:-1;;;3388:238:1:o;3631:665::-;3717:6;3725;3778:2;3766:9;3757:7;3753:23;3749:32;3746:2;;;3799:6;3791;3784:22;3746:2;3844:9;3831:23;3873:18;3914:2;3906:6;3903:14;3900:2;;;3935:6;3927;3920:22;3900:2;3978:6;3967:9;3963:22;3953:32;;4023:7;4016:4;4012:2;4008:13;4004:27;3994:2;;4050:6;4042;4035:22;3994:2;4095;4082:16;4121:2;4113:6;4110:14;4107:2;;;4142:6;4134;4127:22;4107:2;4200:7;4195:2;4185:6;4182:1;4178:14;4174:2;4170:23;4166:32;4163:45;4160:2;;;4226:6;4218;4211:22;4160:2;4262;4254:11;;;;;4284:6;;-1:-1:-1;3736:560:1;;-1:-1:-1;;;;3736:560:1:o;4301:190::-;4357:6;4410:2;4398:9;4389:7;4385:23;4381:32;4378:2;;;4431:6;4423;4416:22;4378:2;4459:26;4475:9;4459:26;:::i;4496:190::-;4555:6;4608:2;4596:9;4587:7;4583:23;4579:32;4576:2;;;4629:6;4621;4614:22;4576:2;-1:-1:-1;4657:23:1;;4566:120;-1:-1:-1;4566:120:1:o;4691:325::-;4759:6;4767;4820:2;4808:9;4799:7;4795:23;4791:32;4788:2;;;4841:6;4833;4826:22;4788:2;4882:9;4869:23;4859:33;;4942:2;4931:9;4927:18;4914:32;4955:31;4980:5;4955:31;:::i;5021:255::-;5079:6;5132:2;5120:9;5111:7;5107:23;5103:32;5100:2;;;5153:6;5145;5138:22;5100:2;5197:9;5184:23;5216:30;5240:5;5216:30;:::i;5281:259::-;5350:6;5403:2;5391:9;5382:7;5378:23;5374:32;5371:2;;;5424:6;5416;5409:22;5371:2;5461:9;5455:16;5480:30;5504:5;5480:30;:::i;6028:423::-;6128:6;6136;6144;6152;6205:3;6193:9;6184:7;6180:23;6176:33;6173:2;;;6227:6;6219;6212:22;6173:2;6268:9;6255:23;6245:33;;6325:2;6314:9;6310:18;6297:32;6287:42;;6376:2;6365:9;6361:18;6348:32;6338:42;;6399:46;6441:2;6430:9;6426:18;6399:46;:::i;:::-;6389:56;;6163:288;;;;;;;:::o;6456:559::-;6565:6;6573;6581;6589;6597;6650:3;6638:9;6629:7;6625:23;6621:33;6618:2;;;6672:6;6664;6657:22;6618:2;6713:9;6700:23;6690:33;;6770:2;6759:9;6755:18;6742:32;6732:42;;6821:2;6810:9;6806:18;6793:32;6783:42;;6844:46;6886:2;6875:9;6871:18;6844:46;:::i;:::-;6834:56;;6940:3;6929:9;6925:19;6912:33;6954:31;6979:5;6954:31;:::i;:::-;7004:5;6994:15;;;6608:407;;;;;;;;:::o;7020:483::-;7123:6;7131;7139;7147;7155;7208:3;7196:9;7187:7;7183:23;7179:33;7176:2;;;7230:6;7222;7215:22;7176:2;7258:39;7287:9;7258:39;:::i;:::-;7248:49;;7337:2;7326:9;7322:18;7316:25;7306:35;;7381:2;7370:9;7366:18;7360:25;7350:35;;7425:2;7414:9;7410:18;7404:25;7394:35;;7448:49;7492:3;7481:9;7477:19;7448:49;:::i;:::-;7438:59;;7166:337;;;;;;;;:::o;7508:257::-;7549:3;7587:5;7581:12;7614:6;7609:3;7602:19;7630:63;7686:6;7679:4;7674:3;7670:14;7663:4;7656:5;7652:16;7630:63;:::i;:::-;7747:2;7726:15;-1:-1:-1;;7722:29:1;7713:39;;;;7754:4;7709:50;;7557:208;-1:-1:-1;;7557:208:1:o;7770:470::-;7949:3;7987:6;7981:13;8003:53;8049:6;8044:3;8037:4;8029:6;8025:17;8003:53;:::i;:::-;8119:13;;8078:16;;;;8141:57;8119:13;8078:16;8175:4;8163:17;;8141:57;:::i;:::-;8214:20;;7957:283;-1:-1:-1;;;;7957:283:1:o;8245:786::-;8656:25;8651:3;8644:38;8626:3;8711:6;8705:13;8727:62;8782:6;8777:2;8772:3;8768:12;8761:4;8753:6;8749:17;8727:62;:::i;:::-;-1:-1:-1;;;8848:2:1;8808:16;;;8840:11;;;8833:40;8898:13;;8920:63;8898:13;8969:2;8961:11;;8954:4;8942:17;;8920:63;:::i;:::-;9003:17;9022:2;8999:26;;8634:397;-1:-1:-1;;;;8634:397:1:o;9244:488::-;-1:-1:-1;;;;;9513:15:1;;;9495:34;;9565:15;;9560:2;9545:18;;9538:43;9612:2;9597:18;;9590:34;;;9660:3;9655:2;9640:18;;9633:31;;;9438:4;;9681:45;;9706:19;;9698:6;9681:45;:::i;10811:737::-;11131:3;11116:19;;11165:1;11154:13;;11144:2;;11171:18;;:::i;:::-;11218:6;11207:9;11200:25;11261:6;11256:2;11245:9;11241:18;11234:34;11304:6;11299:2;11288:9;11284:18;11277:34;11347:6;11342:2;11331:9;11327:18;11320:34;11391:6;11385:3;11374:9;11370:19;11363:35;11435:6;11429:3;11418:9;11414:19;11407:35;11472:1;11464:6;11461:13;11451:2;;11478:18;;:::i;:::-;11535:6;11529:3;11518:9;11514:19;11507:35;11098:450;;;;;;;;;;:::o;11553:219::-;11702:2;11691:9;11684:21;11665:4;11722:44;11762:2;11751:9;11747:18;11739:6;11722:44;:::i;13252:414::-;13454:2;13436:21;;;13493:2;13473:18;;;13466:30;13532:34;13527:2;13512:18;;13505:62;-1:-1:-1;;;13598:2:1;13583:18;;13576:48;13656:3;13641:19;;13426:240::o;17297:408::-;17499:2;17481:21;;;17538:2;17518:18;;;17511:30;17577:34;17572:2;17557:18;;17550:62;-1:-1:-1;;;17643:2:1;17628:18;;17621:42;17695:3;17680:19;;17471:234::o;20474:356::-;20676:2;20658:21;;;20695:18;;;20688:30;20754:34;20749:2;20734:18;;20727:62;20821:2;20806:18;;20648:182::o;22421:413::-;22623:2;22605:21;;;22662:2;22642:18;;;22635:30;22701:34;22696:2;22681:18;;22674:62;-1:-1:-1;;;22767:2:1;22752:18;;22745:47;22824:3;22809:19;;22595:239::o;27902:128::-;27942:3;27973:1;27969:6;27966:1;27963:13;27960:2;;;27979:18;;:::i;:::-;-1:-1:-1;28015:9:1;;27950:80::o;28035:120::-;28075:1;28101;28091:2;;28106:18;;:::i;:::-;-1:-1:-1;28140:9:1;;28081:74::o;28160:168::-;28200:7;28266:1;28262;28258:6;28254:14;28251:1;28248:21;28243:1;28236:9;28229:17;28225:45;28222:2;;;28273:18;;:::i;:::-;-1:-1:-1;28313:9:1;;28212:116::o;28333:125::-;28373:4;28401:1;28398;28395:8;28392:2;;;28406:18;;:::i;:::-;-1:-1:-1;28443:9:1;;28382:76::o;28463:258::-;28535:1;28545:113;28559:6;28556:1;28553:13;28545:113;;;28635:11;;;28629:18;28616:11;;;28609:39;28581:2;28574:10;28545:113;;;28676:6;28673:1;28670:13;28667:2;;;-1:-1:-1;;28711:1:1;28693:16;;28686:27;28516:205::o;28726:136::-;28765:3;28793:5;28783:2;;28802:18;;:::i;:::-;-1:-1:-1;;;28838:18:1;;28773:89::o;28867:380::-;28946:1;28942:12;;;;28989;;;29010:2;;29064:4;29056:6;29052:17;29042:27;;29010:2;29117;29109:6;29106:14;29086:18;29083:38;29080:2;;;29163:10;29158:3;29154:20;29151:1;29144:31;29198:4;29195:1;29188:15;29226:4;29223:1;29216:15;29252:135;29291:3;-1:-1:-1;;29312:17:1;;29309:2;;;29332:18;;:::i;:::-;-1:-1:-1;29379:1:1;29368:13;;29299:88::o;29392:112::-;29424:1;29450;29440:2;;29455:18;;:::i;:::-;-1:-1:-1;29489:9:1;;29430:74::o;29509:127::-;29570:10;29565:3;29561:20;29558:1;29551:31;29601:4;29598:1;29591:15;29625:4;29622:1;29615:15;29641:127;29702:10;29697:3;29693:20;29690:1;29683:31;29733:4;29730:1;29723:15;29757:4;29754:1;29747:15;29773:127;29834:10;29829:3;29825:20;29822:1;29815:31;29865:4;29862:1;29855:15;29889:4;29886:1;29879:15;29905:127;29966:10;29961:3;29957:20;29954:1;29947:31;29997:4;29994:1;29987:15;30021:4;30018:1;30011:15;30037:131;-1:-1:-1;;;;;30112:31:1;;30102:42;;30092:2;;30158:1;30155;30148:12;30173:131;-1:-1:-1;;;;;;30247:32:1;;30237:43;;30227:2;;30294:1;30291;30284:12

Swarm Source

ipfs://e8f9838db92c632a7c73d87b6162f37bf27d4cb7297d87c786104c019741b542
Loading...
Loading
[ Download: CSV Export  ]

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