Contract 0x2907497F8Eafcbdfe803685420b43C71c617d5A7 3

 

Contract Overview

Balance:
0 MATIC

MATIC Value:
$0.00

Token:
 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x783442f789420c04f38bbd0d630e7f2b3947e1aa8be3ffe44ccc29a8e32ff1d2Deposit316693802022-08-08 19:44:1414 hrs 40 mins ago0xe66448ef0a870b0a5130adeb6bcfeb9ca6502cfe IN  0x2907497f8eafcbdfe803685420b43c71c617d5a70 MATIC0.004296885147 30.079700019
0xe82f300d595b429d55dc4031228bf7e539f734a172055ee59408f233ffaf42f0Deposit316693762022-08-08 19:44:0614 hrs 40 mins ago0xe66448ef0a870b0a5130adeb6bcfeb9ca6502cfe IN  0x2907497f8eafcbdfe803685420b43c71c617d5a70 MATIC0.004297546901 30.079700019
0xe6637b55c352a4192b27a241a33b947b892836759c962d427c4f8a41d00ded85Deposit316693752022-08-08 19:44:0014 hrs 40 mins ago0xe66448ef0a870b0a5130adeb6bcfeb9ca6502cfe IN  0x2907497f8eafcbdfe803685420b43c71c617d5a70 MATIC0.004656277403 30.079700017
0x3736830f8ee2426b2581199ea753c32769b8c9b4115edc74ad66b9f18bc2b42bDeposit315569942022-08-05 18:02:153 days 16 hrs ago0xe66448ef0a870b0a5130adeb6bcfeb9ca6502cfe IN  0x2907497f8eafcbdfe803685420b43c71c617d5a70 MATIC0.004578486496 32.051008023
0x25ea3ba2d4120ddb89ca45962980516e09626e36d4b0256a530135f934572111Deposit315569892022-08-05 18:01:553 days 16 hrs ago0xe66448ef0a870b0a5130adeb6bcfeb9ca6502cfe IN  0x2907497f8eafcbdfe803685420b43c71c617d5a70 MATIC0.004368325419 31.723956918
0xf2feec6d8a1f8afbd4c5e83e8a4c192e39aa97b05c7c9d3e472cf698aed2e0faDeposit315569852022-08-05 18:01:473 days 16 hrs ago0xe66448ef0a870b0a5130adeb6bcfeb9ca6502cfe IN  0x2907497f8eafcbdfe803685420b43c71c617d5a70 MATIC0.005120703724 32.01000003
0x7d21fca58a79e3eb8a85e4b35a750b862a57257537deb184ad8de085769af958Deposit311360902022-07-25 22:33:4014 days 11 hrs ago0xe66448ef0a870b0a5130adeb6bcfeb9ca6502cfe IN  0x2907497f8eafcbdfe803685420b43c71c617d5a70 MATIC0.006837562261 49.656220578
0xb785c0853d9aaa744f5e3ffb46294b7b93f716219b9c76818c40ce19e8d0c0f6Deposit311360842022-07-25 22:33:2814 days 11 hrs ago0xe66448ef0a870b0a5130adeb6bcfeb9ca6502cfe IN  0x2907497f8eafcbdfe803685420b43c71c617d5a70 MATIC0.004777641345 33.445161674
0xff6cae2a4b56e3aa57c0d4ae07b3f55cf73dc07f8f920000f23fb5122cff2380Deposit311360702022-07-25 22:33:0014 days 11 hrs ago0xe66448ef0a870b0a5130adeb6bcfeb9ca6502cfe IN  0x2907497f8eafcbdfe803685420b43c71c617d5a70 MATIC0.005576450753 34.858917518
0xbf6b9ee0b676df7a2f994a09ca43cb45bb5432fd9130fb3efcf1607ec230f14bDeposit310251522022-07-22 21:16:5417 days 13 hrs ago0x9bdbdb4a8f7f816c87a67f5281484ed902c6b942 IN  0x2907497f8eafcbdfe803685420b43c71c617d5a70 MATIC0.009067740001 66.000000013
0x030a004ec7cb1a257830797a1df412ace0c92664127054f8a402d2999a1b06caDeposit310251182022-07-22 21:15:4217 days 13 hrs ago0x9bdbdb4a8f7f816c87a67f5281484ed902c6b942 IN  0x2907497f8eafcbdfe803685420b43c71c617d5a70 MATIC0.010558152004 66.000000027
0x019048d7a8e2044391ee2235e192a822fc845239b3b3906b474671cc05e04cc8Deposit308749472022-07-18 21:39:3321 days 12 hrs ago0xe66448ef0a870b0a5130adeb6bcfeb9ca6502cfe IN  0x2907497f8eafcbdfe803685420b43c71c617d5a70 MATIC0.016648830099 30.000000179
0xd6e2616ba1cf01e030f7c337276991673492d710f123635542b4a367f8be32a4Deposit308748982022-07-18 21:37:5121 days 12 hrs ago0xe66448ef0a870b0a5130adeb6bcfeb9ca6502cfe IN  0x2907497f8eafcbdfe803685420b43c71c617d5a70 MATIC0.009166500502 30.555001674
0xd29ddabee9642382939fe1e4b568b8326462c88ef989605779a747a5ef0bb852Deposit308693712022-07-18 18:00:0321 days 16 hrs ago0xe66448ef0a870b0a5130adeb6bcfeb9ca6502cfe IN  0x2907497f8eafcbdfe803685420b43c71c617d5a70 MATIC0.013039085917 94.69335733
0xbbfd5fca9a083c3a346f2322668342c9992a62f136376cabc49fca2fe8574191Deposit308693492022-07-18 17:59:1921 days 16 hrs ago0xe66448ef0a870b0a5130adeb6bcfeb9ca6502cfe IN  0x2907497f8eafcbdfe803685420b43c71c617d5a70 MATIC0.017611251595 123.284925418
0x012741adbb6f274b99a08b65c2324e6a12d81dd1c959450ed166c327d54c0404Deposit307961072022-07-16 18:58:1823 days 15 hrs ago0xe66448ef0a870b0a5130adeb6bcfeb9ca6502cfe IN  0x2907497f8eafcbdfe803685420b43c71c617d5a70 MATIC0.018076021389 30.000201467
0x44181bd09d9a643550e75a6eba13719d5213b1b8fb71af9ef0216b4eaed2cd7cDeposit307960522022-07-16 18:54:5823 days 15 hrs ago0xe66448ef0a870b0a5130adeb6bcfeb9ca6502cfe IN  0x2907497f8eafcbdfe803685420b43c71c617d5a70 MATIC0.01874160149 30.000146451
0x33961668fd7a7a27c284407951dfd9e46acdae39e747ba4f0723a5434f08f4e7Deposit307960452022-07-16 18:54:3023 days 15 hrs ago0xe66448ef0a870b0a5130adeb6bcfeb9ca6502cfe IN  0x2907497f8eafcbdfe803685420b43c71c617d5a70 MATIC0.022638103446 32.34014778
0x3436d4efa8c997dc933df5c05aa787070f7d2b735ba33367e6895ab4d0d52007Deposit307959902022-07-16 18:52:0823 days 15 hrs ago0xe66448ef0a870b0a5130adeb6bcfeb9ca6502cfe IN  0x2907497f8eafcbdfe803685420b43c71c617d5a70 MATIC0.017124453941 34.920000451
0x477e9c10a02c6ab5f992b038eba27c23d067c79ad492b988b4b194a0c3de37ecDeposit307959812022-07-16 18:51:5023 days 15 hrs ago0xe66448ef0a870b0a5130adeb6bcfeb9ca6502cfe IN  0x2907497f8eafcbdfe803685420b43c71c617d5a70 MATIC0.016975000244 33.950000488
0x3a31407896724e41ad50ea00832ea00fa08c08da563ac3d31fd88eef82f2aed8Deposit307958612022-07-16 18:47:4223 days 15 hrs ago0xe66448ef0a870b0a5130adeb6bcfeb9ca6502cfe IN  0x2907497f8eafcbdfe803685420b43c71c617d5a70 MATIC0.016489998498 32.979996997
0x9c6aef462655181265596776ed6e022a97595c0d9e1495cbed54a6f05d9ffd47Deposit307549442022-07-15 14:34:4424 days 19 hrs ago0x70c5a0307e288d1418297c461d9ac74d63d3df81 IN  0x2907497f8eafcbdfe803685420b43c71c617d5a70 MATIC0.02358709043 147.445118088
0x2b746a028ac54e4ba73c28ffe42b3cb75ea2d5ef745d785a25cb78aeed804af0Deposit307257822022-07-14 20:08:2025 days 14 hrs ago0xe66448ef0a870b0a5130adeb6bcfeb9ca6502cfe IN  0x2907497f8eafcbdfe803685420b43c71c617d5a70 MATIC0.004563136831 31.943555001
0xf374f638bb350818bee0bfcad1646b0be8f97e5491b1faff852b3485833efe9bDeposit307257762022-07-14 20:08:0825 days 14 hrs ago0xe66448ef0a870b0a5130adeb6bcfeb9ca6502cfe IN  0x2907497f8eafcbdfe803685420b43c71c617d5a70 MATIC0.004944798427 31.943555002
0xb14a460038668a71a2b84e6f437789423ab358348385b4c9d9116bcb3a5fd720Deposit306175922022-07-11 21:43:2228 days 12 hrs ago0xe66448ef0a870b0a5130adeb6bcfeb9ca6502cfe IN  0x2907497f8eafcbdfe803685420b43c71c617d5a70 MATIC0.004275481592 31.049700014
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
MasterChef

Compiler Version
v0.7.6+commit.7338295f

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at polygonscan.com on 2021-06-09
*/

// File: @openzeppelin/[email protected]/math/SafeMath.sol

// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        uint256 c = a + b;
        if (c < a) return (false, 0);
        return (true, c);
    }

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

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

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

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

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

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

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

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        require(b > 0, "SafeMath: division by zero");
        return a / b;
    }

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

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

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryDiv}.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        return a % b;
    }
}


// File: @openzeppelin/[email protected]/utils/Context.sol


pragma solidity >=0.6.0 <0.8.0;

/*
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with GSN 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 payable) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes memory) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

// File: IUniswapV2Factory.sol

pragma solidity >=0.5.0;
// File: @openzeppelin/[email protected]/utils/Address.sol


pragma solidity >=0.6.2 <0.8.0;

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

        uint256 size;
        // solhint-disable-next-line no-inline-assembly
        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");

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (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");

        // solhint-disable-next-line avoid-low-level-calls
        (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");

        // solhint-disable-next-line avoid-low-level-calls
        (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");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private 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

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

// File: @openzeppelin/[email protected]/token/ERC20/SafeERC20.sol


pragma solidity >=0.6.0 <0.8.0;




/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
    using SafeMath for uint256;
    using Address for address;

    function safeTransfer(IERC20 token, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
    }

    /**
     * @dev Deprecated. This function has issues similar to the ones found in
     * {IERC20-approve}, and its usage is discouraged.
     *
     * Whenever possible, use {safeIncreaseAllowance} and
     * {safeDecreaseAllowance} instead.
     */
    function safeApprove(IERC20 token, address spender, uint256 value) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        // solhint-disable-next-line max-line-length
        require((value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

    function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 newAllowance = token.allowance(address(this), spender).add(value);
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 newAllowance = token.allowance(address(this), spender).sub(value, "SafeERC20: decreased allowance below zero");
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function _callOptionalReturn(IERC20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that
        // the target address contains contract code and also asserts for success in the low-level call.

        bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
        if (returndata.length > 0) { // Return data is optional
            // solhint-disable-next-line max-line-length
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}

// File: @openzeppelin/[email protected]/token/ERC20/IERC20.sol


pragma solidity >=0.6.0 <0.8.0;

/**
 * @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);
}
interface IUniswapV2Factory {
    event PairCreated(address indexed token0, address indexed token1, address pair, uint);

    function feeTo() external view returns (address);
    function feeToSetter() external view returns (address);

    function getPair(address tokenA, address tokenB) external view returns (address pair);
    function allPairs(uint) external view returns (address pair);
    function allPairsLength() external view returns (uint);

    function createPair(address tokenA, address tokenB) external returns (address pair);

    function setFeeTo(address) external;
    function setFeeToSetter(address) external;
}

// File: QuickswapHandler.sol

pragma solidity >= 0.7.4 < 0.8.0;







//Should probably come up with a better name, but whatever. Contract could probably be written better too.
//In this contract you'll find the functions and methods which has to do with token buyback
//Basically, instead of just burning our tokens, we add them to quickswap liquidity pool
//This way, we ACTUALLY create a price floor instead of "faking" it. 

contract QuickswapHandler {
    using SafeMath for uint256;

    // Bamboo token
    Bamboo public bamboo;
    
    //Quickswap addresses
    address public qsRouter;
    address public qsPairAddress;
    address public usdc = 0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174;
    address public qsFactory;
    
    //acceptedSlippage = 15%
    //10 000 - 8500 = 1500
    uint acceptedSlippage = 8500;
    
    
    event Log (string log, uint256 num);
    
    //This is for single-asset tokens
    function buybackToLpSingle(bool _isChef, uint256 _amount, address _token) external {
        
        emit Log("Buyback to lp single-asset: ", _amount);
        
        IERC20(_token).approve(qsRouter, _amount);
        
        require(IERC20(_token).allowance(address(this), qsRouter) >= _amount, "Not enough allowance for Quickswap Router to buyback LP");
        
        //Split token in half. We sell half to USDC, which we need to provide for tokens.
        // ex. 2 bamboos at $1 each. We sell 1, now we have 1 bamboo, 1 USDC. 
        // Then we provide 1-1 Bamboo/USDC liquidity pair to quickswap pools.
        uint256 halfToken = _amount.div(2);
        uint256 otherHalf = _amount.sub(halfToken);
        
        address[] memory path;
        
        //if token is NOT equal to bamboo address, swap half to bamboo.  
        if(_token != address(bamboo)){
            path = findPath(_token, address(bamboo));
            (, halfToken) = swap(_isChef, _token, address (bamboo), halfToken, 0, address(this), path);
        }
        
        //if token is NOT USDC, swap to USDC.
        if(_token != usdc){
            path = findPathUSDC(_token);
            (,otherHalf) = swap(_isChef, _token, usdc, otherHalf, 0, address(this), path);
        }

        emit Log("Adding to lp, tokenA amount: ", otherHalf);
        emit Log("Adding to lp, tokenB amount: ", halfToken);
        
        //Then we actually add token A and token B to liquidity pool.
        //This should always be Bamboo/USDC
        permaAddToLp(address (bamboo), usdc, halfToken, otherHalf);
        
    }
    
    //This is for liquidity pairs
    function buybackToLp(bool _isChef, uint256 _amount, address _pair) external {
        
        IERC20(_pair).approve(qsRouter, _amount);
        
        require(IERC20(_pair).allowance(address(this), qsRouter) >= _amount, "Not enough allowance for Quickswap Router to buyback LP");
        
        //get the quickswap pair of LP
        IUniswapV2Pair pair = IUniswapV2Pair(_pair);
        
        //get Token A and token B of pair
        //e.g BAMBOO/USDC - bamboo is A, USDC is B
        address tokenA = pair.token0();
        address tokenB = pair.token1();
        
        //Split the tokens from the pair
        //uint A is the amount of token A, uint B is the amount of token B
        (uint256 a, uint256 b) = removeLiquidity(tokenA, tokenB, _amount);
        
        //If token A is not equals to bamboo token, swap to bamboo
        if(tokenA != address (bamboo)){
            (address newTokenA, uint amountA) = swap(_isChef, tokenA, address (bamboo), a, 0, address(this), findPath(tokenA, address(bamboo)));
            tokenA = newTokenA;
            a = amountA;
        }
        
        //if token B is not equals to USDC, swap to USDC
        if(tokenB != usdc){
            (address newTokenB, uint newAmountB) = swap(_isChef, tokenB, usdc, b, 0, address(this), findPath(tokenB, usdc));
            tokenB = newTokenB;
            b = newAmountB;
        }
        
        //Add token A and token B to LP, this will always be Bamboo/USDC
        permaAddToLp(tokenA, tokenB, a, b);
        
    }
    
    //adds liquidity to pool
    function permaAddToLp(address _tokenA, address _newEth, uint256 _amountA, uint256 _amountB) internal {
        IERC20(_tokenA).approve(qsRouter, _amountA);
        IERC20(_newEth).approve(qsRouter, _amountB);

        
        
        IUniswapV2Router01(qsRouter).addLiquidity(_tokenA, _newEth, _amountA, _amountB, 0, 0, address(this), block.timestamp);
    }
    
    //This is a function which simplifies swapping
    //Basically, we need to swap into the LP pool tokens before locking them (unless they are the correct pair already)
    function swap(bool isChef, address _tokenIn, address _tokenOut, uint256 _amountIn, uint256 _amountOut, address _to, address[] memory path) internal returns (address newTokenAddress, uint256 amountReturned) {
        emit Log("Swap, amount in: ", _amountIn);
        address _wethAddress = IUniswapV2Router01(qsRouter).WETH();

        if(isChef){
            require(IERC20(_tokenIn).balanceOf(address(this)) >= _amountIn, "Not enough tokens in contract to cover swap");
        } else {
            require(IERC20(_tokenIn).balanceOf(msg.sender) >= _amountIn, "Not enough tokens to cover swap");
            require(IERC20(_tokenIn).allowance(msg.sender, address(this)) >= _amountIn, "Not enough allowance of swap");
        }
        
        IERC20(_tokenIn).approve(qsRouter, _amountIn);
        
        if(_amountOut == 0){
            uint[] memory amounts = IUniswapV2Router02(qsRouter).getAmountsOut(_amountIn, path);
            
            try IUniswapV2Router02(qsRouter).swapExactTokensForTokensSupportingFeeOnTransferTokens(_amountIn, calculateFee(amounts[amounts.length - 1], acceptedSlippage), path, _to, block.timestamp) {
                    
            } catch {
                IUniswapV2Router02(qsRouter).swapExactTokensForTokensSupportingFeeOnTransferTokens(_amountIn, calculateFee(amounts[amounts.length - 1], acceptedSlippage), path, _to, block.timestamp);
            }
            
            _amountOut = amounts[amounts.length - 1];
        } else {
            try IUniswapV2Router02(qsRouter).swapExactTokensForTokensSupportingFeeOnTransferTokens(_amountIn, calculateFee(_amountOut, acceptedSlippage), path, _to, block.timestamp) {
                    
            } catch {
                IUniswapV2Router02(qsRouter).swapExactTokensForTokensSupportingFeeOnTransferTokens(_amountIn, calculateFee(_amountOut, acceptedSlippage), path, _to, block.timestamp);
            }
        }

        
        emit Log("Swap, amount out: ", _amountOut);
        
        return (_tokenOut, _amountOut);
    }
    
    function removeLiquidity(address _tokenA, address _tokenB, uint256 _amount) internal returns (uint256 a, uint256 b){
        return IUniswapV2Router01(qsRouter).removeLiquidity(
        _tokenA,
        _tokenB,
        _amount,
        0,
        0,
        address(this),
        block.timestamp);
    }
    
    function getLiquidityReserves(address tokenA, address tokenB) view internal returns (uint112 a, uint112 b) {
       (uint112 _a, uint112 _b,) = IUniswapV2Pair(IUniswapV2Factory(qsFactory).getPair(tokenA, tokenB)).getReserves();
       return (_a, _b);
    }
    
    function findPathUSDC(address _tokenIn) internal returns (address[] memory path){
            address _wethAddress = IUniswapV2Router01(qsRouter).WETH();

            if (_tokenIn == _wethAddress) {
                path = new address[](2);
                path[0] = _tokenIn;
                path[1] = usdc;
            } else {
                (,uint112 reserve) = getLiquidityReserves(_tokenIn, _wethAddress);
                
                if(reserve > 1000 ether){
                    path = new address[](3);
                    path[0] = _tokenIn;
                    path[1] = _wethAddress;
                    path[2] = usdc;
                } else {
                    path = new address[](2);
                    path[0] = _tokenIn;
                    path[1] = usdc;
                }
            }
            
            return path;
    }
    
    function findPath(address _tokenIn, address _tokenOut) internal returns (address[] memory path){
            address _wethAddress = IUniswapV2Router01(qsRouter).WETH();

            if (_tokenOut == _wethAddress || _tokenIn == address(bamboo) || _tokenOut == usdc || _tokenIn == usdc) {
                path = new address[](2);
                path[0] = _tokenIn;
                path[1] = _tokenOut;
            } else if(_tokenIn == _wethAddress){
                path = new address[](2);
                path[0] = _tokenIn;
                path[1] = usdc;
                path[2] = _tokenOut;
            } else {
                (,uint112 reserve) = getLiquidityReserves(_tokenIn, _wethAddress);
                
                if(reserve > 1000 ether){
                    path = new address[](4);
                    path[0] = _tokenIn;
                    path[1] = _wethAddress;
                    path[2] = usdc;
                    path[3] = _tokenOut;
                } else {
                    path = new address[](3);
                    path[0] = _tokenIn;
                    path[1] = usdc;
                    path[2] = _tokenOut;
                }
            }
            
            return path;
    }
    function calculateFee(uint amount, uint feePercent) internal pure returns (uint){
        return (amount / 10000) * feePercent;
    }
}
// File: IUniswapV2Router01.sol


pragma solidity >=0.7.4 <0.8.0;

interface IUniswapV2Router01 {
    function factory() external pure returns (address);
    function WETH() external pure returns (address);

    function addLiquidity(
        address tokenA,
        address tokenB,
        uint amountADesired,
        uint amountBDesired,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) external returns (uint amountA, uint amountB, uint liquidity);
    function addLiquidityETH(
        address token,
        uint amountTokenDesired,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external payable returns (uint amountToken, uint amountETH, uint liquidity);
    function removeLiquidity(
        address tokenA,
        address tokenB,
        uint liquidity,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) external returns (uint amountA, uint amountB);
    function removeLiquidityETH(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external returns (uint amountToken, uint amountETH);
    function removeLiquidityWithPermit(
        address tokenA,
        address tokenB,
        uint liquidity,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountA, uint amountB);
    function removeLiquidityETHWithPermit(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountToken, uint amountETH);
    function swapExactTokensForTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns (uint[] memory amounts);
    function swapTokensForExactTokens(
        uint amountOut,
        uint amountInMax,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns (uint[] memory amounts);
    function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline)
        external
        payable
        returns (uint[] memory amounts);
    function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline)
        external
        returns (uint[] memory amounts);
    function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline)
        external
        returns (uint[] memory amounts);
    function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline)
        external
        payable
        returns (uint[] memory amounts);

    function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB);
    function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut);
    function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn);
    function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts);
    function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts);
}
// File: uniswap/interfaces/IUniswapV2Pair.sol

pragma solidity >=0.5.0;

interface IUniswapV2Pair {
    event Approval(address indexed owner, address indexed spender, uint value);
    event Transfer(address indexed from, address indexed to, uint value);

    function name() external pure returns (string memory);
    function symbol() external pure returns (string memory);
    function decimals() external pure returns (uint8);
    function totalSupply() external view returns (uint);
    function balanceOf(address owner) external view returns (uint);
    function allowance(address owner, address spender) external view returns (uint);

    function approve(address spender, uint value) external returns (bool);
    function transfer(address to, uint value) external returns (bool);
    function transferFrom(address from, address to, uint value) external returns (bool);

    function DOMAIN_SEPARATOR() external view returns (bytes32);
    function PERMIT_TYPEHASH() external pure returns (bytes32);
    function nonces(address owner) external view returns (uint);

    function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external;

    event Mint(address indexed sender, uint amount0, uint amount1);
    event Burn(address indexed sender, uint amount0, uint amount1, address indexed to);
    event Swap(
        address indexed sender,
        uint amount0In,
        uint amount1In,
        uint amount0Out,
        uint amount1Out,
        address indexed to
    );
    event Sync(uint112 reserve0, uint112 reserve1);

    function MINIMUM_LIQUIDITY() external pure returns (uint);
    function factory() external view returns (address);
    function token0() external view returns (address);
    function token1() external view returns (address);
    function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast);
    function price0CumulativeLast() external view returns (uint);
    function price1CumulativeLast() external view returns (uint);
    function kLast() external view returns (uint);

    function mint(address to) external returns (uint liquidity);
    function burn(address to) external returns (uint amount0, uint amount1);
    function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external;
    function skim(address to) external;
    function sync() external;

    function initialize(address, address) external;
}

// File: @openzeppelin/[email protected]/utils/ReentrancyGuard.sol


pragma solidity >=0.6.0 <0.8.0;

/**
 * @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 () internal {
        _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;
    }
}
// File: IUniswapV2Router02.sol

pragma solidity >=0.6.2;


interface IUniswapV2Router02 is IUniswapV2Router01 {
    function removeLiquidityETHSupportingFeeOnTransferTokens(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external returns (uint amountETH);
    function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountETH);

    function swapExactTokensForTokensSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external;
    function swapExactETHForTokensSupportingFeeOnTransferTokens(
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external payable;
    function swapExactTokensForETHSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external;
}

// File: @openzeppelin/[email protected]/access/Ownable.sol


pragma solidity >=0.6.0 <0.8.0;

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

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor () internal {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), 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 {
        emit OwnershipTransferred(_owner, address(0));
        _owner = 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");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}
// File: @openzeppelin/[email protected]/token/ERC20/ERC20.sol


pragma solidity >=0.6.0 <0.8.0;




/**
 * @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 guidelines: functions revert instead
 * of 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 {
    using SafeMath for uint256;

    mapping (address => uint256) private _balances;

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;
    uint8 private _decimals;

    /**
     * @dev Sets the values for {name} and {symbol}, initializes {decimals} with
     * a default value of 18.
     *
     * To select a different value for {decimals}, use {_setupDecimals}.
     *
     * All three of these values are immutable: they can only be set once during
     * construction.
     */
    constructor (string memory name_, string memory symbol_) public {
        _name = name_;
        _symbol = symbol_;
        _decimals = 18;
    }

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

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual 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 {_setupDecimals} is
     * called.
     *
     * 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 returns (uint8) {
        return _decimals;
    }

    /**
     * @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);
        _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance"));
        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].add(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) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero"));
        return true;
    }

    /**
     * @dev Moves tokens `amount` from `sender` to `recipient`.
     *
     * This is 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);

        _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance");
        _balances[recipient] = _balances[recipient].add(amount);
        emit Transfer(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:
     *
     * - `to` 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 = _totalSupply.add(amount);
        _balances[account] = _balances[account].add(amount);
        emit Transfer(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);

        _balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance");
        _totalSupply = _totalSupply.sub(amount);
        emit Transfer(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 Sets {decimals} to a value other than the default one of 18.
     *
     * WARNING: This function should only be called from the constructor. Most
     * applications that interact with token contracts will not expect
     * {decimals} to ever change, and may work incorrectly if it does.
     */
    function _setupDecimals(uint8 decimals_) internal virtual {
        _decimals = decimals_;
    }

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

// File: ERC20Burnable.sol


pragma solidity >=0.6.0 <0.8.0;



/**
 * @dev Extension of {ERC20} that allows token holders to destroy both their own
 * tokens and those that they have an allowance for, in a way that can be
 * recognized off-chain (via event analysis).
 */
 
abstract contract ERC20Burnable is Context, ERC20 {
    /**
     * @dev Destroys `amount` tokens from the caller.
     *
     * See {ERC20-_burn}.
     */
    function burn(uint256 amount) public virtual {
        _burn(_msgSender(), amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, deducting from the caller's
     * allowance.
     *
     * See {ERC20-_burn} and {ERC20-allowance}.
     *
     * Requirements:
     *
     * - the caller must have allowance for ``accounts``'s tokens of at least
     * `amount`.
     */
    function burnFrom(address account, uint256 amount) public virtual {
        uint256 currentAllowance = allowance(account, _msgSender());
        require(currentAllowance >= amount, "ERC20: burn amount exceeds allowance");
        _approve(account, _msgSender(), currentAllowance - amount);
        _burn(account, amount);
    }
}
// File: PolyPanda.sol


pragma solidity >=0.6.0 <0.8.0;





contract Bamboo is ERC20("trash", "trash"), ERC20Burnable, Ownable {

    constructor (){
    }

    function mint(address _to, uint256 _amount) public onlyOwner {
        _mint(_to, _amount);
    }
}

// File: MasterChef.sol


pragma solidity >=0.7.4 <0.8.0;









//Credits

contract MasterChef is Ownable, ReentrancyGuard, QuickswapHandler {
    using SafeMath for uint256;
    using SafeERC20 for IERC20;

    // Info of each user.
    struct UserInfo {
        uint256 amount;         // How many LP tokens the user has provided.
        uint256 rewardDebt;     // Reward debt. See explanation below.
        //
        // We do some fancy math here. Basically, any point in time, the amount of Bamboos
        // entitled to a user but is pending to be distributed is:
        //
        //   pending reward = (user.amount * pool.accBambooPerShare) - user.rewardDebt
        //
        // Whenever a user deposits or withdraws LP tokens to a pool. Here's what happens:
        //   1. The pool's `accBambooPerShare` (and `lastRewardBlock`) gets updated.
        //   2. User receives the pending reward sent to his/her address.
        //   3. User's `amount` gets updated.
        //   4. User's `rewardDebt` gets updated.
    }

    // Info of each pool.
    struct PoolInfo {
        IERC20 lpToken;           // Address of LP token contract.
        uint256 allocPoint;       // How many allocation points assigned to this pool. Bamboos to distribute per block.
        uint256 lastRewardBlock;  // Last block number that Bamboos distribution occurs.
        uint256 accBambooPerShare;   // Accumulated Bamboos per share, times 1e12. See below.
        uint16 depositFeeBP;      // Deposit fee in basis points
        bool isLp;
    }

    // Dev address.
    address public devaddr;
    // Deposit Fee address
    address public blackHoleAddress;
    //This address is in case auto-add LP doesn't work due to slippage or any other uniswap issues
    address public manualLpAddress;
    
    //Maxmimum amount of bamboos per block
    uint256 public maxBamboosPerBlock;
    // Bamboo tokens created per block.
    uint256 public bambooPerBlock;
    // Bonus muliplier for early bamboo makers.
    uint256 public constant BONUS_MULTIPLIER = 1;
    // Total allocation points. Must be the sum of all allocation points in all pools.
    uint256 public totalAllocPoint = 0;
    // The block number when Bamboo mining starts.
    uint256 public startBlock;
    //This is accumulated amount of bamboo to buyback
    uint256 public bambooToBuyback;
    //Minimum amount of bamboo needed to buyback
    uint256 public minBambooToBuyback = 10 ether;
    
    //Whether or not to disable or enable buyback
    bool public buybackEnabled = false;
    bool public buybackFeeEnabled = false;

    // Info of each pool.
    PoolInfo[] public poolInfo;
    // Info of each user that stakes LP tokens.
    mapping(uint256 => mapping(address => UserInfo)) public userInfo;


    event Deposit(address indexed user, uint256 indexed pid, uint256 amount);
    event Withdraw(address indexed user, uint256 indexed pid, uint256 amount);
    event EmergencyWithdraw(address indexed user, uint256 indexed pid, uint256 amount);
    event SetBlackHoleAddress(address indexed user, address indexed newAddress);
    event SetDevAddress(address indexed user, address indexed newAddress);
    event SetManualLpAddress(address indexed user, address indexed newAddress);
    event UpdateEmissionRate(address indexed user, uint256 goosePerBlock);

    constructor(
        Bamboo _bamboo,
        address _devaddr,
        address _blackHoleAddress,
        address _manualLpAddress,
        address _qsRouter,
        address _qsPairAddress,
        address _qsFactoryAddress,
        uint256 _maxBamboosPerBlock,
        uint256 _bambooPerBlock,
        uint256 _startBlock
    ) public {
        bamboo = _bamboo;
        devaddr = _devaddr;
        blackHoleAddress = _blackHoleAddress;
        manualLpAddress = _manualLpAddress;
        qsRouter = _qsRouter;
        qsPairAddress = _qsPairAddress;
        qsFactory = _qsFactoryAddress;
        maxBamboosPerBlock = _maxBamboosPerBlock;
        bambooPerBlock = _bambooPerBlock;
        startBlock = _startBlock;
    }

    function poolLength() external view returns (uint256) {
        return poolInfo.length;
    }

    mapping(IERC20 => bool) public poolExistence;
    
    modifier nonDuplicated(IERC20 _lpToken) {
        require(poolExistence[_lpToken] == false, "nonDuplicated: duplicated");
        _;
    }
    
    modifier poolExists(uint256 pid) {
        require(pid < poolInfo.length, "pool does not exist");
        _;
    }
    
    // Add a new lp to the pool. Can only be called by the owner.
    function add(uint256 _allocPoint, IERC20 _lpToken, uint16 _depositFeeBP, bool _withUpdate, bool _isLp) public onlyOwner nonDuplicated(_lpToken) {
        require(_depositFeeBP <= 10000, "add: invalid deposit fee basis points");
        
        if (_withUpdate) {
            massUpdatePools();
        }
        
        uint256 lastRewardBlock = block.number > startBlock ? block.number : startBlock;
        
        totalAllocPoint = totalAllocPoint.add(_allocPoint);
        
        poolExistence[_lpToken] = true;
        
        poolInfo.push(PoolInfo({
        lpToken : _lpToken,
        allocPoint : _allocPoint,
        lastRewardBlock : lastRewardBlock,
        accBambooPerShare : 0,
        depositFeeBP : _depositFeeBP,
        isLp : _isLp
        }));
    }

    // Update the given pool's Bamboo allocation point and deposit fee. Can only be called by the owner.
    function set(uint256 _pid, uint256 _allocPoint, uint16 _depositFeeBP, bool _withUpdate, bool _isLp) public onlyOwner {
        require(_depositFeeBP <= 10000, "set: invalid deposit fee basis points");
        
        if (_withUpdate) {
            massUpdatePools();
        }
        
        totalAllocPoint = totalAllocPoint.sub(poolInfo[_pid].allocPoint).add(_allocPoint);
        
        poolInfo[_pid].allocPoint = _allocPoint;
        
        poolInfo[_pid].depositFeeBP = _depositFeeBP;
        
        poolInfo[_pid].isLp = _isLp;
    }

    // Return reward multiplier over the given _from to _to block.
    function getMultiplier(uint256 _from, uint256 _to) public view returns (uint256) {
        return _to.sub(_from).mul(BONUS_MULTIPLIER);
    }

    // View function to see pending Bamboos on frontend.
    function pendingBamboo(uint256 _pid, address _user) external view returns (uint256) {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][_user];
        
        uint256 accBambooPerShare = pool.accBambooPerShare;
        uint256 lpSupply = pool.lpToken.balanceOf(address(this));
        
        if (block.number > pool.lastRewardBlock && lpSupply != 0) {
            uint256 multiplier = getMultiplier(pool.lastRewardBlock, block.number);
            uint256 bambooReward = multiplier.mul(bambooPerBlock).mul(pool.allocPoint).div(totalAllocPoint);
            
            accBambooPerShare = accBambooPerShare.add(bambooReward.mul(1e12).div(lpSupply));
        }
        
        return user.amount.mul(accBambooPerShare).div(1e12).sub(user.rewardDebt);
    }

    // Update reward variables for all pools. Be careful of gas spending!
    function massUpdatePools() public {
        uint256 length = poolInfo.length;
        emit Log("Mass updating pools ", length);
        for (uint256 pid = 0; pid < length; ++pid) {
            updatePool(pid);
        }
    }

    //event LogUpdatePool(string msg, uint256 num, )

    // Update reward variables of the given pool to be up-to-date.
    function updatePool(uint256 _pid) public {
        emit Log("Updating pool ID: ", _pid);
        
        PoolInfo storage pool = poolInfo[_pid];

        if (block.number <= pool.lastRewardBlock) {
            return;
        }
        
        uint256 lpSupply = pool.lpToken.balanceOf(address(this));
        
        if (lpSupply == 0 || pool.allocPoint == 0) {
            pool.lastRewardBlock = block.number;
            return;
        }
        
        uint256 multiplier = getMultiplier(pool.lastRewardBlock, block.number);
        

        uint256 bambooRewardInitial = multiplier.mul(bambooPerBlock).mul(pool.allocPoint).div(totalAllocPoint);
        

        uint256 bambooReward = bambooRewardInitial;
        
        uint256 fees = bambooRewardInitial.div(10);

        bambooToBuyback = bambooToBuyback.add(fees);

        //dev fee mint
        bamboo.mint(devaddr, fees);
        //Mint 10% for buyback to lp
        if(buybackEnabled)
            bamboo.mint(address(this), fees);
        //Mint 10% for blackhole lottery.
        bamboo.mint(blackHoleAddress, fees);
        
        //subtract 30% of fees from reward.
        bambooReward = bambooReward.sub(fees.mul(3));
        
        //Mint user rewards
        bamboo.mint(address(this), bambooReward);
        
        if(bambooToBuyback >= minBambooToBuyback && buybackEnabled){
            uint256 bambooAccumulated = bambooToBuyback;
            bambooToBuyback = 0;
            //buys back bamboo token and permanently locks it as liquidity pair
            this.buybackToLpSingle(true, bambooAccumulated, address(bamboo));
        }
        
        pool.accBambooPerShare = pool.accBambooPerShare.add(bambooReward.mul(1e12).div(lpSupply));
        pool.lastRewardBlock = block.number;
    }

    // Deposit LP tokens to MasterChef for Bamboo allocation.
    function deposit(uint256 _pid, uint256 _amount) public nonReentrant poolExists (_pid) {
        
        emit Log("Starting deposit, pid: ", _pid);
        
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][msg.sender];
        
        updatePool(_pid);
        if (user.amount > 0) {
        require(user.amount > 0, "User.amount is empty");
            
            //Amount of bamboo that is currently pending for this specific user
            uint256 pending = user.amount.mul(pool.accBambooPerShare).div(1e12).sub(user.rewardDebt);
            if (pending > 0) {
                safeBambooTransfer(msg.sender, pending);
            }
        }
        
        if (_amount > 0) {
            require(pool.lpToken.balanceOf(msg.sender) >= _amount, "User does not have enough tokens");
            require(pool.lpToken.allowance(msg.sender, address(this)) >= _amount, "Deposit: Not enough allowance. Please approve LP token before transacting");
            pool.lpToken.safeTransferFrom(msg.sender, address(this), _amount);
            
            //if the pool has any deposit fees, make sure to take fee into account
            if (pool.depositFeeBP > 0) {
                uint256 depositFee = _amount.mul(pool.depositFeeBP).div(10000);
                if(pool.isLp){
                    if(buybackFeeEnabled){
                        //We'll try to automatically buyback and add to LP
                        try this.buybackToLp(true, depositFee.div(2), address(pool.lpToken)) {
                    } catch {
                        //If it doesn't work, transfer to a team-controlled wallet so we can add it manually
                        //This sacrifices some decentralization and should only be an issue in the early hours of a farm
                            pool.lpToken.safeTransfer(manualLpAddress, depositFee.div(2));
                        }
                    }
                    pool.lpToken.safeTransfer(devaddr, depositFee.div(2));
                } else {
                    if(address(pool.lpToken) != address(bamboo)){
                        if(buybackFeeEnabled){
                            try this.buybackToLpSingle(true, depositFee.div(2), address(pool.lpToken)) {
                            } catch {
                                pool.lpToken.safeTransfer(manualLpAddress, depositFee.div(2));
                            }
                        }
                        pool.lpToken.safeTransfer(devaddr, depositFee.div(2));
                    } else {
                        bamboo.burn(depositFee.div(2));
                        safeBambooTransfer(devaddr, depositFee.div(2));
                    }
                }
                user.amount = user.amount.add(_amount).sub(depositFee);
            } else {
                user.amount = user.amount.add(_amount);
            }
        }
        user.rewardDebt = user.amount.mul(pool.accBambooPerShare).div(1e12);
        
        emit Deposit(msg.sender, _pid, _amount);
    }

    // Withdraw LP tokens from MasterChef.
    function withdraw(uint256 _pid, uint256 _amount) public nonReentrant {
        
        PoolInfo storage pool = poolInfo[_pid];
        
        UserInfo storage user = userInfo[_pid][msg.sender];
        
        require(user.amount >= _amount, "withdraw: not enough LP tokens in pool");
        
        updatePool(_pid);
        
        uint256 pending = user.amount.mul(pool.accBambooPerShare).div(1e12).sub(user.rewardDebt);
        
        if (pending > 0) {
            safeBambooTransfer(msg.sender, pending);
        }
        if (_amount > 0) {
            user.amount = user.amount.sub(_amount);
            
            pool.lpToken.safeTransfer(address(msg.sender), _amount);
        }
        user.rewardDebt = user.amount.mul(pool.accBambooPerShare).div(1e12);
        
        emit Withdraw(msg.sender, _pid, _amount);
    }

    // Withdraw without caring about rewards. EMERGENCY ONLY.
    function emergencyWithdraw(uint256 _pid) public nonReentrant {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][msg.sender];
        
        uint256 amount = user.amount;
        
        user.amount = 0;
        user.rewardDebt = 0;
        
        pool.lpToken.safeTransfer(address(msg.sender), amount);
        
        emit EmergencyWithdraw(msg.sender, _pid, amount);
    }

    // Safe Bamboo transfer function, just in case if rounding error causes pool to not have enough Bamboos.
    function safeBambooTransfer(address _to, uint256 _amount) internal {
        uint256 bambooBal = bamboo.balanceOf(address(this));
        
        bool transferSuccess = false;
        
        if (_amount > bambooBal) {
            transferSuccess = bamboo.transfer(_to, bambooBal);
        } else {
            transferSuccess = bamboo.transfer(_to, _amount);
        }
        
        require(transferSuccess, "safeBambooTransfer: transfer failed");
    }
    
    // Update dev address by the previous dev.
    function dev(address _devaddr) public {
        require(msg.sender == devaddr, "dev: wut?");
        devaddr = _devaddr;
        emit SetDevAddress(msg.sender, _devaddr);
    }

    function setBlackHoleAddress(address _blackHoleAddress) public {
        require(msg.sender == devaddr, "blackHoleAddress: FORBIDDEN");
        blackHoleAddress = _blackHoleAddress;
        emit SetBlackHoleAddress(msg.sender, _blackHoleAddress);
    }
    
    function setManualLpAddress(address _manualLpAddress) public {
        require(msg.sender == devaddr, "blackHoleAddress: FORBIDDEN");
        manualLpAddress = _manualLpAddress;
        emit SetManualLpAddress(msg.sender, _manualLpAddress);
    }
    
    function setQsRouterAddress(address _qsRouterAddress) public onlyOwner {
        qsRouter = _qsRouterAddress;
    }
    
    function setQsPairAddress(address _qsPairAddress) public onlyOwner {
        qsPairAddress = _qsPairAddress;
    }
    
    function enableBuybackMint(bool _enabled) public onlyOwner {
        buybackEnabled = _enabled;
    }
    
    function enableBuybackFee(bool _enabled) public onlyOwner {
        buybackFeeEnabled = _enabled;
    }
    
    //Pancake has to add hidden dummy pools inorder to alter the emission, here we make it simple and transparent to all.
    function updateEmissionRate(uint256 _bambooPerBlock) public onlyOwner {
        massUpdatePools();
        
        //To make sure emission rate cannot be abused, here we check if amount of bamboos produced per block
        //is bigger than the pre-determined maximum amount of bamboos per block
        if(_bambooPerBlock > maxBamboosPerBlock){
            _bambooPerBlock = maxBamboosPerBlock;
        } else {
            //if not, maxBamboosPerBlock is equals to new emission level
            maxBamboosPerBlock = _bambooPerBlock;
        }
        
        bambooPerBlock = _bambooPerBlock;
        emit UpdateEmissionRate(msg.sender, _bambooPerBlock);
    }

    //Only update before start of farm
    function updateStartBlock(uint256 _startBlock) public onlyOwner {
        startBlock = _startBlock;
    }
    
        //Only update before start of farm
    function updateMinBambooToBuyback(uint256 _amount) public onlyOwner {
        minBambooToBuyback = _amount;
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"contract Bamboo","name":"_bamboo","type":"address"},{"internalType":"address","name":"_devaddr","type":"address"},{"internalType":"address","name":"_blackHoleAddress","type":"address"},{"internalType":"address","name":"_manualLpAddress","type":"address"},{"internalType":"address","name":"_qsRouter","type":"address"},{"internalType":"address","name":"_qsPairAddress","type":"address"},{"internalType":"address","name":"_qsFactoryAddress","type":"address"},{"internalType":"uint256","name":"_maxBamboosPerBlock","type":"uint256"},{"internalType":"uint256","name":"_bambooPerBlock","type":"uint256"},{"internalType":"uint256","name":"_startBlock","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"EmergencyWithdraw","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"log","type":"string"},{"indexed":false,"internalType":"uint256","name":"num","type":"uint256"}],"name":"Log","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"address","name":"newAddress","type":"address"}],"name":"SetBlackHoleAddress","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"address","name":"newAddress","type":"address"}],"name":"SetDevAddress","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"address","name":"newAddress","type":"address"}],"name":"SetManualLpAddress","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"goosePerBlock","type":"uint256"}],"name":"UpdateEmissionRate","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdraw","type":"event"},{"inputs":[],"name":"BONUS_MULTIPLIER","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_allocPoint","type":"uint256"},{"internalType":"contract IERC20","name":"_lpToken","type":"address"},{"internalType":"uint16","name":"_depositFeeBP","type":"uint16"},{"internalType":"bool","name":"_withUpdate","type":"bool"},{"internalType":"bool","name":"_isLp","type":"bool"}],"name":"add","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"bamboo","outputs":[{"internalType":"contract Bamboo","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"bambooPerBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"bambooToBuyback","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"blackHoleAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buybackEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buybackFeeEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"_isChef","type":"bool"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"address","name":"_pair","type":"address"}],"name":"buybackToLp","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_isChef","type":"bool"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"address","name":"_token","type":"address"}],"name":"buybackToLpSingle","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_devaddr","type":"address"}],"name":"dev","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"devaddr","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"emergencyWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_enabled","type":"bool"}],"name":"enableBuybackFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_enabled","type":"bool"}],"name":"enableBuybackMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_from","type":"uint256"},{"internalType":"uint256","name":"_to","type":"uint256"}],"name":"getMultiplier","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"manualLpAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"massUpdatePools","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"maxBamboosPerBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minBambooToBuyback","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"address","name":"_user","type":"address"}],"name":"pendingBamboo","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"name":"poolExistence","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"poolInfo","outputs":[{"internalType":"contract IERC20","name":"lpToken","type":"address"},{"internalType":"uint256","name":"allocPoint","type":"uint256"},{"internalType":"uint256","name":"lastRewardBlock","type":"uint256"},{"internalType":"uint256","name":"accBambooPerShare","type":"uint256"},{"internalType":"uint16","name":"depositFeeBP","type":"uint16"},{"internalType":"bool","name":"isLp","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"poolLength","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"qsFactory","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"qsPairAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"qsRouter","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_allocPoint","type":"uint256"},{"internalType":"uint16","name":"_depositFeeBP","type":"uint16"},{"internalType":"bool","name":"_withUpdate","type":"bool"},{"internalType":"bool","name":"_isLp","type":"bool"}],"name":"set","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_blackHoleAddress","type":"address"}],"name":"setBlackHoleAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_manualLpAddress","type":"address"}],"name":"setManualLpAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_qsPairAddress","type":"address"}],"name":"setQsPairAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_qsRouterAddress","type":"address"}],"name":"setQsRouterAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalAllocPoint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_bambooPerBlock","type":"uint256"}],"name":"updateEmissionRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"updateMinBambooToBuyback","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"updatePool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_startBlock","type":"uint256"}],"name":"updateStartBlock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"usdc","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"address","name":"","type":"address"}],"name":"userInfo","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"rewardDebt","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052600580546001600160a01b031916732791bca1f2de4661ed88a30c99a7a9449aa841741790556121346007556000600d55678ac7230489e800006010556011805461ffff191690553480156200005957600080fd5b50604051620046293803806200462983398181016040526101408110156200008057600080fd5b508051602082015160408301516060840151608085015160a086015160c087015160e088015161010089015161012090990151979896979596949593949293919290916000620000cf620001ae565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35060018055600280546001600160a01b03199081166001600160a01b039c8d16179091556008805482169a8c169a909a17909955600980548a16988b1698909817909755600a80548916968a1696909617909555600380548816948916949094179093556004805487169288169290921790915560068054909516951694909417909255600b92909255600c55600e55620001b2565b3390565b61446780620001c26000396000f3fe608060405234801561001057600080fd5b506004361061027f5760003560e01c8063715018a61161015c578063cbd258b5116100ce578063dd4ed37011610087578063dd4ed370146106b7578063de86b677146106d4578063e2bbb15814610700578063f2fde38b14610723578063f9a349f014610749578063fac2b9ba146107515761027f565b8063cbd258b5146105ff578063ce7410bd14610625578063cf4981321461062d578063d49e77cd14610661578063da35e1ab14610669578063dc9464b9146106715761027f565b80638dbb1e3a116101205780638dbb1e3a1461055957806390afc0f31461057c57806393f1a40b1461058457806399f7db7d146105c9578063b12c9dd3146105d1578063bfa2d2e4146105f75761027f565b8063715018a61461051357806383b42c5b1461051b5780638aa28550146105235780638d88a90e1461052b5780638da5cb5b146105515761027f565b80634623eff0116101f55780635312ea8e116101b95780635312ea8e146104645780635a4b8f72146104815780635d4cd911146104be578063630b5ba1146104dd578063674c337c146104e557806368632db21461050b5761027f565b80634623eff01461042757806347bb24201461042f57806348cd4cb1146104375780634e3f05e41461043f57806351eb05a6146104475761027f565b8063160d0da511610247578063160d0da51461036957806317caf6f114610385578063216a50aa1461038d578063395d0d31146103ac5780633e413bee146103e0578063441a3e70146104045761027f565b8063081e3eda146102845780630ba84cd21461029e5780630ce817b3146102bd57806312c5cc26146102e35780631526fe2714610309575b600080fd5b61028c61076e565b60408051918252519081900360200190f35b6102bb600480360360208110156102b457600080fd5b5035610774565b005b6102bb600480360360208110156102d357600080fd5b50356001600160a01b0316610835565b6102bb600480360360208110156102f957600080fd5b50356001600160a01b03166108e0565b6103266004803603602081101561031f57600080fd5b503561098b565b604080516001600160a01b039097168752602087019590955285850193909352606085019190915261ffff166080840152151560a0830152519081900360c00190f35b6103716109e5565b604080519115158252519081900360200190f35b61028c6109ee565b6102bb600480360360208110156103a357600080fd5b503515156109f4565b6102bb600480360360608110156103c257600080fd5b508035151590602081013590604001356001600160a01b0316610a70565b6103e8610d85565b604080516001600160a01b039092168252519081900360200190f35b6102bb6004803603604081101561041a57600080fd5b5080359060200135610d94565b6103e8610f4c565b61028c610f5b565b61028c610f61565b6103e8610f67565b6102bb6004803603602081101561045d57600080fd5b5035610f76565b6102bb6004803603602081101561047a57600080fd5b503561139c565b6102bb600480360360a081101561049757600080fd5b5080359060208101359061ffff60408201351690606081013515159060800135151561149c565b6102bb600480360360208110156104d457600080fd5b5035151561162d565b6102bb6116a2565b6102bb600480360360208110156104fb57600080fd5b50356001600160a01b0316611710565b6103e8611794565b6102bb6117a3565b6103e861184f565b61028c61185e565b6102bb6004803603602081101561054157600080fd5b50356001600160a01b0316611863565b6103e86118fa565b61028c6004803603604081101561056f57600080fd5b5080359060200135611909565b610371611923565b6105b06004803603604081101561059a57600080fd5b50803590602001356001600160a01b0316611931565b6040805192835260208301919091528051918290030190f35b6103e8611955565b6102bb600480360360208110156105e757600080fd5b50356001600160a01b0316611964565b6103e86119e8565b6103716004803603602081101561061557600080fd5b50356001600160a01b03166119f7565b61028c611a0c565b6102bb6004803603606081101561064357600080fd5b508035151590602081013590604001356001600160a01b0316611a12565b6103e8611ce4565b61028c611cf3565b6102bb600480360360a081101561068757600080fd5b508035906001600160a01b036020820135169061ffff604082013516906060810135151590608001351515611cf9565b6102bb600480360360208110156106cd57600080fd5b5035611fb4565b61028c600480360360408110156106ea57600080fd5b50803590602001356001600160a01b031661201b565b6102bb6004803603604081101561071657600080fd5b5080359060200135612179565b6102bb6004803603602081101561073957600080fd5b50356001600160a01b0316612759565b61028c61285b565b6102bb6004803603602081101561076757600080fd5b5035612861565b60125490565b61077c6128c8565b6001600160a01b031661078d6118fa565b6001600160a01b0316146107d6576040805162461bcd60e51b8152602060048201819052602482015260008051602061437c833981519152604482015290519081900360640190fd5b6107de6116a2565b600b548111156107f15750600b546107f7565b600b8190555b600c81905560408051828152905133917fe2492e003bbe8afa53088b406f0c1cb5d9e280370fc72a74cf116ffd343c4053919081900360200190a250565b6008546001600160a01b03163314610894576040805162461bcd60e51b815260206004820152601b60248201527f626c61636b486f6c65416464726573733a20464f5242494444454e0000000000604482015290519081900360640190fd5b600a80546001600160a01b0319166001600160a01b03831690811790915560405133907feecad3e6e45de4e17d7045dfd7ef5aba9abdf1d28b1a8d17895cc5e59cb00d6f90600090a350565b6008546001600160a01b0316331461093f576040805162461bcd60e51b815260206004820152601b60248201527f626c61636b486f6c65416464726573733a20464f5242494444454e0000000000604482015290519081900360640190fd5b600980546001600160a01b0319166001600160a01b03831690811790915560405133907fc1e441010b7386bb02052b3176e2c2aa1547244af4741b992411483ac895bfd290600090a350565b6012818154811061099b57600080fd5b6000918252602090912060059091020180546001820154600283015460038401546004909401546001600160a01b0390931694509092909161ffff81169062010000900460ff1686565b60115460ff1681565b600d5481565b6109fc6128c8565b6001600160a01b0316610a0d6118fa565b6001600160a01b031614610a56576040805162461bcd60e51b8152602060048201819052602482015260008051602061437c833981519152604482015290519081900360640190fd5b601180549115156101000261ff0019909216919091179055565b6040805160208101849052818152601c818301527f4275796261636b20746f206c702073696e676c652d61737365743a20000000006060820152905160008051602061430c8339815191529181900360800190a16003546040805163095ea7b360e01b81526001600160a01b0392831660048201526024810185905290519183169163095ea7b3916044808201926020929091908290030181600087803b158015610b1a57600080fd5b505af1158015610b2e573d6000803e3d6000fd5b505050506040513d6020811015610b4457600080fd5b505060035460408051636eb1769f60e11b81523060048201526001600160a01b0392831660248201529051849284169163dd62ed3e916044808301926020929190829003018186803b158015610b9957600080fd5b505afa158015610bad573d6000803e3d6000fd5b505050506040513d6020811015610bc357600080fd5b50511015610c025760405162461bcd60e51b81526004018080602001828103825260378152602001806142b46037913960400191505060405180910390fd5b6000610c0f8360026128cc565b90506000610c1d8483612933565b6002549091506060906001600160a01b03858116911614610c7457600254610c4f9085906001600160a01b0316612990565b600254909150610c7090879086906001600160a01b03168660003087612d44565b9350505b6005546001600160a01b03858116911614610cb757610c928461363b565b600554909150610cb390879086906001600160a01b03168560003087612d44565b9250505b6040805160208101849052818152601d818301527f416464696e6720746f206c702c20746f6b656e4120616d6f756e743a200000006060820152905160008051602061430c8339815191529181900360800190a16040805160208101859052818152601d818301527f416464696e6720746f206c702c20746f6b656e4220616d6f756e743a200000006060820152905160008051602061430c8339815191529181900360800190a1600254600554610d7d916001600160a01b03908116911685856138a5565b505050505050565b6005546001600160a01b031681565b60026001541415610dec576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b6002600181905550600060128381548110610e0357fe5b600091825260208083208684526013825260408085203386529092529220805460059092029092019250831115610e6b5760405162461bcd60e51b81526004018080602001828103825260268152602001806142686026913960400191505060405180910390fd5b610e7484610f76565b6000610eae8260010154610ea864e8d4a51000610ea287600301548760000154613a5490919063ffffffff16565b906128cc565b90612933565b90508015610ec057610ec03382613aad565b8315610eea578154610ed29085612933565b82558254610eea906001600160a01b03163386613c80565b60038301548254610f059164e8d4a5100091610ea291613a54565b6001830155604080518581529051869133917ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b5689181900360200190a3505060018055505050565b6002546001600160a01b031681565b600f5481565b600e5481565b6006546001600160a01b031681565b60408051602081018390528181526012818301527102ab83230ba34b733903837b7b61024a21d160751b6060820152905160008051602061430c8339815191529181900360800190a1600060128281548110610fce57fe5b9060005260206000209060050201905080600201544311610fef5750611399565b8054604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b15801561103957600080fd5b505afa15801561104d573d6000803e3d6000fd5b505050506040513d602081101561106357600080fd5b5051905080158061107657506001820154155b15611088575043600290910155611399565b6000611098836002015443611909565b905060006110c5600d54610ea286600101546110bf600c5487613a5490919063ffffffff16565b90613a54565b90508060006110d582600a6128cc565b600f549091506110e59082613cd7565b600f55600254600854604080516340c10f1960e01b81526001600160a01b03928316600482015260248101859052905191909216916340c10f1991604480830192600092919082900301818387803b15801561114057600080fd5b505af1158015611154573d6000803e3d6000fd5b505060115460ff161591506111d1905057600254604080516340c10f1960e01b81523060048201526024810184905290516001600160a01b03909216916340c10f199160448082019260009290919082900301818387803b1580156111b857600080fd5b505af11580156111cc573d6000803e3d6000fd5b505050505b600254600954604080516340c10f1960e01b81526001600160a01b03928316600482015260248101859052905191909216916340c10f1991604480830192600092919082900301818387803b15801561122957600080fd5b505af115801561123d573d6000803e3d6000fd5b5050505061125f611258600383613a5490919063ffffffff16565b8390612933565b600254604080516340c10f1960e01b81523060048201526024810184905290519294506001600160a01b03909116916340c10f199160448082019260009290919082900301818387803b1580156112b557600080fd5b505af11580156112c9573d6000803e3d6000fd5b50505050601054600f54101580156112e3575060115460ff165b1561136357600f80546000918290556002546040805163395d0d3160e01b815260016004820152602481018490526001600160a01b039092166044830152519192309263395d0d3192606480820193929182900301818387803b15801561134957600080fd5b505af115801561135d573d6000803e3d6000fd5b50505050505b61138461137986610ea28564e8d4a51000613a54565b600388015490613cd7565b60038701555050436002909401939093555050505b50565b600260015414156113f4576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b600260018190555060006012828154811061140b57fe5b60009182526020808320858452601382526040808520338087529352842080548582556001820195909555600590930201805490945091929161145b916001600160a01b03919091169083613c80565b604080518281529051859133917fbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae05959181900360200190a35050600180555050565b6114a46128c8565b6001600160a01b03166114b56118fa565b6001600160a01b0316146114fe576040805162461bcd60e51b8152602060048201819052602482015260008051602061437c833981519152604482015290519081900360640190fd5b6127108361ffff1611156115435760405162461bcd60e51b815260040180806020018281038252602581526020018061432c6025913960400191505060405180910390fd5b8115611551576115516116a2565b61158e846115886012888154811061156557fe5b906000526020600020906005020160010154600d5461293390919063ffffffff16565b90613cd7565b600d8190555083601286815481106115a257fe5b90600052602060002090600502016001018190555082601286815481106115c557fe5b906000526020600020906005020160040160006101000a81548161ffff021916908361ffff16021790555080601286815481106115fe57fe5b906000526020600020906005020160040160026101000a81548160ff0219169083151502179055505050505050565b6116356128c8565b6001600160a01b03166116466118fa565b6001600160a01b03161461168f576040805162461bcd60e51b8152602060048201819052602482015260008051602061437c833981519152604482015290519081900360640190fd5b6011805460ff1916911515919091179055565b601254604080516020810183905281815260148183015273026b0b9b9903ab83230ba34b733903837b7b639960651b6060820152905160008051602061430c8339815191529181900360800190a160005b8181101561170c5761170481610f76565b6001016116f3565b5050565b6117186128c8565b6001600160a01b03166117296118fa565b6001600160a01b031614611772576040805162461bcd60e51b8152602060048201819052602482015260008051602061437c833981519152604482015290519081900360640190fd5b600480546001600160a01b0319166001600160a01b0392909216919091179055565b600a546001600160a01b031681565b6117ab6128c8565b6001600160a01b03166117bc6118fa565b6001600160a01b031614611805576040805162461bcd60e51b8152602060048201819052602482015260008051602061437c833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6004546001600160a01b031681565b600181565b6008546001600160a01b031633146118ae576040805162461bcd60e51b81526020600482015260096024820152686465763a207775743f60b81b604482015290519081900360640190fd5b600880546001600160a01b0319166001600160a01b03831690811790915560405133907f618c54559e94f1499a808aad71ee8729f8e74e8c48e979616328ce493a1a52e790600090a350565b6000546001600160a01b031690565b600061191a60016110bf8486612933565b90505b92915050565b601154610100900460ff1681565b60136020908152600092835260408084209091529082529020805460019091015482565b6009546001600160a01b031681565b61196c6128c8565b6001600160a01b031661197d6118fa565b6001600160a01b0316146119c6576040805162461bcd60e51b8152602060048201819052602482015260008051602061437c833981519152604482015290519081900360640190fd5b600380546001600160a01b0319166001600160a01b0392909216919091179055565b6003546001600160a01b031681565b60146020526000908152604090205460ff1681565b600c5481565b6003546040805163095ea7b360e01b81526001600160a01b0392831660048201526024810185905290519183169163095ea7b3916044808201926020929091908290030181600087803b158015611a6857600080fd5b505af1158015611a7c573d6000803e3d6000fd5b505050506040513d6020811015611a9257600080fd5b505060035460408051636eb1769f60e11b81523060048201526001600160a01b0392831660248201529051849284169163dd62ed3e916044808301926020929190829003018186803b158015611ae757600080fd5b505afa158015611afb573d6000803e3d6000fd5b505050506040513d6020811015611b1157600080fd5b50511015611b505760405162461bcd60e51b81526004018080602001828103825260378152602001806142b46037913960400191505060405180910390fd5b60008190506000816001600160a01b0316630dfe16816040518163ffffffff1660e01b815260040160206040518083038186803b158015611b9057600080fd5b505afa158015611ba4573d6000803e3d6000fd5b505050506040513d6020811015611bba57600080fd5b50516040805163d21220a760e01b815290519192506000916001600160a01b0385169163d21220a7916004808301926020929190829003018186803b158015611c0257600080fd5b505afa158015611c16573d6000803e3d6000fd5b505050506040513d6020811015611c2c57600080fd5b50519050600080611c3e848489613d31565b60025491935091506001600160a01b03858116911614611c8b576002546000908190611c83908b9088906001600160a01b0316878530611c7e8585612990565b612d44565b909650935050505b6005546001600160a01b03848116911614611cce576005546000908190611cc6908b9087906001600160a01b0316868530611c7e8585612990565b909550925050505b611cda848484846138a5565b5050505050505050565b6008546001600160a01b031681565b60105481565b611d016128c8565b6001600160a01b0316611d126118fa565b6001600160a01b031614611d5b576040805162461bcd60e51b8152602060048201819052602482015260008051602061437c833981519152604482015290519081900360640190fd5b6001600160a01b038416600090815260146020526040902054849060ff1615611dcb576040805162461bcd60e51b815260206004820152601960248201527f6e6f6e4475706c6963617465643a206475706c69636174656400000000000000604482015290519081900360640190fd5b6127108461ffff161115611e105760405162461bcd60e51b815260040180806020018281038252602581526020018061421d6025913960400191505060405180910390fd5b8215611e1e57611e1e6116a2565b6000600e544311611e3157600e54611e33565b435b600d54909150611e439088613cd7565b600d556001600160a01b039586166000818152601460209081526040808320805460ff19166001908117909155815160c0810183529485529184019a8b5283019384526060830182815261ffff9889166080850190815296151560a08501908152601280549384018155909352925160059091027fbb8a6a4669ba250d26cd7a459eca9d215f8307e33aebe50379bc5a3617ec34448101805492909a166001600160a01b03199092169190911790985597517fbb8a6a4669ba250d26cd7a459eca9d215f8307e33aebe50379bc5a3617ec344588015590517fbb8a6a4669ba250d26cd7a459eca9d215f8307e33aebe50379bc5a3617ec3446870155517fbb8a6a4669ba250d26cd7a459eca9d215f8307e33aebe50379bc5a3617ec344786015550517fbb8a6a4669ba250d26cd7a459eca9d215f8307e33aebe50379bc5a3617ec3448909301805494511515620100000262ff0000199490931661ffff1990951694909417929092161790915550565b611fbc6128c8565b6001600160a01b0316611fcd6118fa565b6001600160a01b031614612016576040805162461bcd60e51b8152602060048201819052602482015260008051602061437c833981519152604482015290519081900360640190fd5b601055565b6000806012848154811061202b57fe5b600091825260208083208784526013825260408085206001600160a01b0389811687529084528186206005959095029092016003810154815483516370a0823160e01b815230600482015293519298509596909590949316926370a082319260248082019391829003018186803b1580156120a557600080fd5b505afa1580156120b9573d6000803e3d6000fd5b505050506040513d60208110156120cf57600080fd5b50516002850154909150431180156120e657508015155b156121465760006120fb856002015443611909565b90506000612122600d54610ea288600101546110bf600c5487613a5490919063ffffffff16565b905061214161213a84610ea28464e8d4a51000613a54565b8590613cd7565b935050505b61216e8360010154610ea864e8d4a51000610ea2868860000154613a5490919063ffffffff16565b979650505050505050565b600260015414156121d1576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b600260015560125482908110612224576040805162461bcd60e51b81526020600482015260136024820152721c1bdbdb08191bd95cc81b9bdd08195e1a5cdd606a1b604482015290519081900360640190fd5b60408051602081018590528181526017818301527f5374617274696e67206465706f7369742c207069643a200000000000000000006060820152905160008051602061430c8339815191529181900360800190a160006012848154811061228757fe5b600091825260208083208784526013825260408085203386529092529220600590910290910191506122b885610f76565b80541561234b578054612309576040805162461bcd60e51b8152602060048201526014602482015273557365722e616d6f756e7420697320656d70747960601b604482015290519081900360640190fd5b60006123378260010154610ea864e8d4a51000610ea287600301548760000154613a5490919063ffffffff16565b90508015612349576123493382613aad565b505b83156126f7578154604080516370a0823160e01b8152336004820152905186926001600160a01b0316916370a08231916024808301926020929190829003018186803b15801561239a57600080fd5b505afa1580156123ae573d6000803e3d6000fd5b505050506040513d60208110156123c457600080fd5b50511015612419576040805162461bcd60e51b815260206004820181905260248201527f5573657220646f6573206e6f74206861766520656e6f75676820746f6b656e73604482015290519081900360640190fd5b815460408051636eb1769f60e11b8152336004820152306024820152905186926001600160a01b03169163dd62ed3e916044808301926020929190829003018186803b15801561246857600080fd5b505afa15801561247c573d6000803e3d6000fd5b505050506040513d602081101561249257600080fd5b505110156124d15760405162461bcd60e51b81526004018080602001828103825260498152602001806143e96049913960600191505060405180910390fd5b81546124e8906001600160a01b0316333087613de8565b600482015461ffff16156126e85760048201546000906125159061271090610ea290889061ffff16613a54565b600484015490915062010000900460ff161561260657601154610100900460ff16156125e6573063cf498132600161254e8460026128cc565b8654604080516001600160e01b031960e087901b168152931515600485015260248401929092526001600160a01b0316604483015251606480830192600092919082900301818387803b1580156125a457600080fd5b505af19250505080156125b5575060015b6125e657600a546125e6906001600160a01b03166125d48360026128cc565b85546001600160a01b03169190613c80565b600854612601906001600160a01b03166125d48360026128cc565b6126ce565b60025483546001600160a01b0390811691161461264057601154610100900460ff16156125e6573063395d0d31600161254e8460026128cc565b600280546001600160a01b0316906342966c689061265f9084906128cc565b6040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b15801561269557600080fd5b505af11580156126a9573d6000803e3d6000fd5b50506008546126ce92506001600160a01b031690506126c98360026128cc565b613aad565b81546126e0908290610ea89088613cd7565b8255506126f7565b80546126f49085613cd7565b81555b600382015481546127129164e8d4a5100091610ea291613a54565b6001820155604080518581529051869133917f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a159181900360200190a3505060018055505050565b6127616128c8565b6001600160a01b03166127726118fa565b6001600160a01b0316146127bb576040805162461bcd60e51b8152602060048201819052602482015260008051602061437c833981519152604482015290519081900360640190fd5b6001600160a01b0381166128005760405162461bcd60e51b81526004018080602001828103825260268152602001806142426026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b600b5481565b6128696128c8565b6001600160a01b031661287a6118fa565b6001600160a01b0316146128c3576040805162461bcd60e51b8152602060048201819052602482015260008051602061437c833981519152604482015290519081900360640190fd5b600e55565b3390565b6000808211612922576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b81838161292b57fe5b049392505050565b60008282111561298a576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b60606000600360009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b1580156129e257600080fd5b505afa1580156129f6573d6000803e3d6000fd5b505050506040513d6020811015612a0c57600080fd5b505190506001600160a01b038381169082161480612a3757506002546001600160a01b038581169116145b80612a4f57506005546001600160a01b038481169116145b80612a6757506005546001600160a01b038581169116145b15612aed5760408051600280825260608201835290916020830190803683370190505091508382600081518110612a9a57fe5b60200260200101906001600160a01b031690816001600160a01b0316815250508282600181518110612ac857fe5b60200260200101906001600160a01b031690816001600160a01b031681525050612d3d565b806001600160a01b0316846001600160a01b03161415612b8e5760408051600280825260608201835290916020830190803683370190505091508382600081518110612b3557fe5b6001600160a01b039283166020918202929092010152600554835191169083906001908110612b6057fe5b60200260200101906001600160a01b031690816001600160a01b0316815250508282600281518110612ac857fe5b6000612b9a8583613e42565b915050683635c9adc5dea00000816001600160701b03161115612c925760408051600480825260a0820190925290602082016080803683370190505092508483600081518110612be657fe5b60200260200101906001600160a01b031690816001600160a01b0316815250508183600181518110612c1457fe5b6001600160a01b039283166020918202929092010152600554845191169084906002908110612c3f57fe5b60200260200101906001600160a01b031690816001600160a01b0316815250508383600381518110612c6d57fe5b60200260200101906001600160a01b031690816001600160a01b031681525050612d3b565b6040805160038082526080820190925290602082016060803683370190505092508483600081518110612cc157fe5b6001600160a01b039283166020918202929092010152600554845191169084906001908110612cec57fe5b60200260200101906001600160a01b031690816001600160a01b0316815250508383600281518110612d1a57fe5b60200260200101906001600160a01b031690816001600160a01b0316815250505b505b5092915050565b604080516020810186905281815260118183015270029bbb0b8161030b6b7bab73a1034b71d1607d1b60608201529051600091829160008051602061430c8339815191529181900360800190a1600354604080516315ab88c960e31b815290516000926001600160a01b03169163ad5c4648916004808301926020929190829003018186803b158015612dd657600080fd5b505afa158015612dea573d6000803e3d6000fd5b505050506040513d6020811015612e0057600080fd5b505190508915612ec65786896001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015612e5857600080fd5b505afa158015612e6c573d6000803e3d6000fd5b505050506040513d6020811015612e8257600080fd5b50511015612ec15760405162461bcd60e51b815260040180806020018281038252602b815260200180614351602b913960400191505060405180910390fd5b613061565b86896001600160a01b03166370a08231336040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015612f1457600080fd5b505afa158015612f28573d6000803e3d6000fd5b505050506040513d6020811015612f3e57600080fd5b50511015612f93576040805162461bcd60e51b815260206004820152601f60248201527f4e6f7420656e6f75676820746f6b656e7320746f20636f766572207377617000604482015290519081900360640190fd5b60408051636eb1769f60e11b8152336004820152306024820152905188916001600160a01b038c169163dd62ed3e91604480820192602092909190829003018186803b158015612fe257600080fd5b505afa158015612ff6573d6000803e3d6000fd5b505050506040513d602081101561300c57600080fd5b50511015613061576040805162461bcd60e51b815260206004820152601c60248201527f4e6f7420656e6f75676820616c6c6f77616e6365206f66207377617000000000604482015290519081900360640190fd5b6003546040805163095ea7b360e01b81526001600160a01b039283166004820152602481018a90529051918b169163095ea7b3916044808201926020929091908290030181600087803b1580156130b757600080fd5b505af11580156130cb573d6000803e3d6000fd5b505050506040513d60208110156130e157600080fd5b505085613432576003546040805163d06ca61f60e01b8152600481018a8152602482019283528751604483015287516000946001600160a01b03169363d06ca61f938d938b9390929160640190602080860191028083838c5b8381101561315257818101518382015260200161313a565b50505050905001935050505060006040518083038186803b15801561317657600080fd5b505afa15801561318a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405260208110156131b357600080fd5b81019080805160405193929190846401000000008211156131d357600080fd5b9083019060208201858111156131e857600080fd5b825186602082028301116401000000008211171561320557600080fd5b82525081516020918201928201910280838360005b8381101561323257818101518382015260200161321a565b5050505091909101604052505060035483519394506001600160a01b031692635c11d79592508b915061327f908590600019810190811061326f57fe5b6020026020010151600754613f4e565b888a426040518663ffffffff1660e01b81526004018086815260200185815260200180602001846001600160a01b03168152602001838152602001828103825285818151815260200191508051906020019060200280838360005b838110156132f25781810151838201526020016132da565b505050509050019650505050505050600060405180830381600087803b15801561331b57600080fd5b505af192505050801561332c575060015b6134125760035481516001600160a01b0390911690635c11d795908a9061335d908590600019810190811061326f57fe5b888a426040518663ffffffff1660e01b81526004018086815260200185815260200180602001846001600160a01b03168152602001838152602001828103825285818151815260200191508051906020019060200280838360005b838110156133d05781810151838201526020016133b8565b505050509050019650505050505050600060405180830381600087803b1580156133f957600080fd5b505af115801561340d573d6000803e3d6000fd5b505050505b8060018251038151811061342257fe5b60200260200101519650506135e2565b6003546007546001600160a01b0390911690635c11d795908990613457908a90613f4e565b8789426040518663ffffffff1660e01b81526004018086815260200185815260200180602001846001600160a01b03168152602001838152602001828103825285818151815260200191508051906020019060200280838360005b838110156134ca5781810151838201526020016134b2565b505050509050019650505050505050600060405180830381600087803b1580156134f357600080fd5b505af1925050508015613504575060015b6135e2576003546007546001600160a01b0390911690635c11d79590899061352d908a90613f4e565b8789426040518663ffffffff1660e01b81526004018086815260200185815260200180602001846001600160a01b03168152602001838152602001828103825285818151815260200191508051906020019060200280838360005b838110156135a0578181015183820152602001613588565b505050509050019650505050505050600060405180830381600087803b1580156135c957600080fd5b505af11580156135dd573d6000803e3d6000fd5b505050505b604080516020810188905281815260128183015271029bbb0b8161030b6b7bab73a1037baba1d160751b6060820152905160008051602061430c8339815191529181900360800190a15095989397509295505050505050565b60606000600360009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b15801561368d57600080fd5b505afa1580156136a1573d6000803e3d6000fd5b505050506040513d60208110156136b757600080fd5b505190506001600160a01b03838116908216141561374d57604080516002808252606082018352909160208301908036833701905050915082826000815181106136fd57fe5b6001600160a01b03928316602091820292909201015260055483519116908390600190811061372857fe5b60200260200101906001600160a01b031690816001600160a01b03168152505061389f565b60006137598483613e42565b915050683635c9adc5dea00000816001600160701b031611156138235760408051600380825260808201909252906020820160608036833701905050925083836000815181106137a557fe5b60200260200101906001600160a01b031690816001600160a01b03168152505081836001815181106137d357fe5b6001600160a01b0392831660209182029290920101526005548451911690849060029081106137fe57fe5b60200260200101906001600160a01b031690816001600160a01b03168152505061389d565b6040805160028082526060820183529091602083019080368337019050509250838360008151811061385157fe5b6001600160a01b03928316602091820292909201015260055484519116908490600190811061387c57fe5b60200260200101906001600160a01b031690816001600160a01b0316815250505b505b50919050565b6003546040805163095ea7b360e01b81526001600160a01b0392831660048201526024810185905290519186169163095ea7b3916044808201926020929091908290030181600087803b1580156138fb57600080fd5b505af115801561390f573d6000803e3d6000fd5b505050506040513d602081101561392557600080fd5b50506003546040805163095ea7b360e01b81526001600160a01b0392831660048201526024810184905290519185169163095ea7b3916044808201926020929091908290030181600087803b15801561397d57600080fd5b505af1158015613991573d6000803e3d6000fd5b505050506040513d60208110156139a757600080fd5b50506003546040805162e8e33760e81b81526001600160a01b0387811660048301528681166024830152604482018690526064820185905260006084830181905260a483018190523060c48401524260e4840152925193169263e8e337009261010480840193606093929083900390910190829087803b158015613a2a57600080fd5b505af1158015613a3e573d6000803e3d6000fd5b505050506040513d6060811015610d7d57600080fd5b600082613a635750600061191d565b82820282848281613a7057fe5b041461191a5760405162461bcd60e51b81526004018080602001828103825260218152602001806142eb6021913960400191505060405180910390fd5b600254604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b158015613af857600080fd5b505afa158015613b0c573d6000803e3d6000fd5b505050506040513d6020811015613b2257600080fd5b50519050600081831115613bb9576002546040805163a9059cbb60e01b81526001600160a01b038781166004830152602482018690529151919092169163a9059cbb9160448083019260209291908290030181600087803b158015613b8657600080fd5b505af1158015613b9a573d6000803e3d6000fd5b505050506040513d6020811015613bb057600080fd5b50519050613c3e565b6002546040805163a9059cbb60e01b81526001600160a01b038781166004830152602482018790529151919092169163a9059cbb9160448083019260209291908290030181600087803b158015613c0f57600080fd5b505af1158015613c23573d6000803e3d6000fd5b505050506040513d6020811015613c3957600080fd5b505190505b80613c7a5760405162461bcd60e51b815260040180806020018281038252602381526020018061439c6023913960400191505060405180910390fd5b50505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052613cd2908490613f58565b505050565b60008282018381101561191a576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b60035460408051635d5155ef60e11b81526001600160a01b038681166004830152858116602483015260448201859052600060648301819052608483018190523060a48401524260c484015283519094859492169263baa2abde9260e480830193919282900301818787803b158015613da957600080fd5b505af1158015613dbd573d6000803e3d6000fd5b505050506040513d6040811015613dd357600080fd5b50805160209091015190969095509350505050565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b179052613c7a908590613f58565b6006546040805163e6a4390560e01b81526001600160a01b03858116600483015284811660248301529151600093849384938493919092169163e6a43905916044808301926020929190829003018186803b158015613ea057600080fd5b505afa158015613eb4573d6000803e3d6000fd5b505050506040513d6020811015613eca57600080fd5b505160408051630240bc6b60e21b815290516001600160a01b0390921691630902f1ac91600480820192606092909190829003018186803b158015613f0e57600080fd5b505afa158015613f22573d6000803e3d6000fd5b505050506040513d6060811015613f3857600080fd5b5080516020909101519097909650945050505050565b6127109091040290565b6000613fad826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166140099092919063ffffffff16565b805190915015613cd257808060200190516020811015613fcc57600080fd5b5051613cd25760405162461bcd60e51b815260040180806020018281038252602a8152602001806143bf602a913960400191505060405180910390fd5b60606140188484600085614022565b90505b9392505050565b6060824710156140635760405162461bcd60e51b815260040180806020018281038252602681526020018061428e6026913960400191505060405180910390fd5b61406c85614172565b6140bd576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b600080866001600160a01b031685876040518082805190602001908083835b602083106140fb5780518252601f1990920191602091820191016140dc565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d806000811461415d576040519150601f19603f3d011682016040523d82523d6000602084013e614162565b606091505b509150915061216e828286614178565b3b151590565b6060831561418757508161401b565b8251156141975782518084602001fd5b8160405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156141e15781810151838201526020016141c9565b50505050905090810190601f16801561420e5780820380516001836020036101000a031916815260200191505b509250505060405180910390fdfe6164643a20696e76616c6964206465706f7369742066656520626173697320706f696e74734f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737377697468647261773a206e6f7420656e6f756768204c5020746f6b656e7320696e20706f6f6c416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c4e6f7420656e6f75676820616c6c6f77616e636520666f7220517569636b7377617020526f7574657220746f206275796261636b204c50536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77dd970dd9b5bfe707922155b058a407655cb18288b807e2216442bca8ad83d6b57365743a20696e76616c6964206465706f7369742066656520626173697320706f696e74734e6f7420656e6f75676820746f6b656e7320696e20636f6e747261637420746f20636f76657220737761704f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65727361666542616d626f6f5472616e736665723a207472616e73666572206661696c65645361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565644465706f7369743a204e6f7420656e6f75676820616c6c6f77616e63652e20506c6561736520617070726f7665204c5020746f6b656e206265666f7265207472616e73616374696e67a26469706673582212202c983ef7e62e6ea688272acb4b5f20865c3d0a8b8585a600988cd0665c35c81264736f6c634300070600330000000000000000000000008095d18fb1e702d69402a6a8c7a56bc1cce6ecc20000000000000000000000001107e0823fa9d66448d4282f9596d02b83679e0e00000000000000000000000003ef9b5a3bebad5c846e88869fe49d7ea32b3e33000000000000000000000000d463c6ebbf6c336c1a2ba1b544db3b8a84cd1c11000000000000000000000000a5e0829caced8ffdd4de3c43696c57f7d7a678ff000000000000000000000000adbf1854e5883eb8aa7baf50705338739e558e5b0000000000000000000000005757371414417b8c6caad45baef941abc7d3ab320000000000000000000000000000000000000000000000000de0b6b3a76400000000000000000000000000000000000000000000000000000de0b6b3a76400000000000000000000000000000000000000000000000000000000000000dac4d0

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

0000000000000000000000008095d18fb1e702d69402a6a8c7a56bc1cce6ecc20000000000000000000000001107e0823fa9d66448d4282f9596d02b83679e0e00000000000000000000000003ef9b5a3bebad5c846e88869fe49d7ea32b3e33000000000000000000000000d463c6ebbf6c336c1a2ba1b544db3b8a84cd1c11000000000000000000000000a5e0829caced8ffdd4de3c43696c57f7d7a678ff000000000000000000000000adbf1854e5883eb8aa7baf50705338739e558e5b0000000000000000000000005757371414417b8c6caad45baef941abc7d3ab320000000000000000000000000000000000000000000000000de0b6b3a76400000000000000000000000000000000000000000000000000000de0b6b3a76400000000000000000000000000000000000000000000000000000000000000dac4d0

-----Decoded View---------------
Arg [0] : _bamboo (address): 0x8095d18fb1e702d69402a6a8c7a56bc1cce6ecc2
Arg [1] : _devaddr (address): 0x1107e0823fa9d66448d4282f9596d02b83679e0e
Arg [2] : _blackHoleAddress (address): 0x03ef9b5a3bebad5c846e88869fe49d7ea32b3e33
Arg [3] : _manualLpAddress (address): 0xd463c6ebbf6c336c1a2ba1b544db3b8a84cd1c11
Arg [4] : _qsRouter (address): 0xa5e0829caced8ffdd4de3c43696c57f7d7a678ff
Arg [5] : _qsPairAddress (address): 0xadbf1854e5883eb8aa7baf50705338739e558e5b
Arg [6] : _qsFactoryAddress (address): 0x5757371414417b8c6caad45baef941abc7d3ab32
Arg [7] : _maxBamboosPerBlock (uint256): 1000000000000000000
Arg [8] : _bambooPerBlock (uint256): 1000000000000000000
Arg [9] : _startBlock (uint256): 14337232

-----Encoded View---------------
10 Constructor Arguments found :
Arg [0] : 0000000000000000000000008095d18fb1e702d69402a6a8c7a56bc1cce6ecc2
Arg [1] : 0000000000000000000000001107e0823fa9d66448d4282f9596d02b83679e0e
Arg [2] : 00000000000000000000000003ef9b5a3bebad5c846e88869fe49d7ea32b3e33
Arg [3] : 000000000000000000000000d463c6ebbf6c336c1a2ba1b544db3b8a84cd1c11
Arg [4] : 000000000000000000000000a5e0829caced8ffdd4de3c43696c57f7d7a678ff
Arg [5] : 000000000000000000000000adbf1854e5883eb8aa7baf50705338739e558e5b
Arg [6] : 0000000000000000000000005757371414417b8c6caad45baef941abc7d3ab32
Arg [7] : 0000000000000000000000000000000000000000000000000de0b6b3a7640000
Arg [8] : 0000000000000000000000000000000000000000000000000de0b6b3a7640000
Arg [9] : 0000000000000000000000000000000000000000000000000000000000dac4d0


Deployed ByteCode Sourcemap

58737:17014:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;62813:95;;;:::i;:::-;;;;;;;;;;;;;;;;74743:679;;;;;;;;;;;;;;;;-1:-1:-1;74743:679:0;;:::i;:::-;;73869:250;;;;;;;;;;;;;;;;-1:-1:-1;73869:250:0;-1:-1:-1;;;;;73869:250:0;;:::i;73601:256::-;;;;;;;;;;;;;;;;-1:-1:-1;73601:256:0;-1:-1:-1;;;;;73601:256:0;;:::i;61338:26::-;;;;;;;;;;;;;;;;-1:-1:-1;61338:26:0;;:::i;:::-;;;;-1:-1:-1;;;;;61338:26:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;61224:34;;;:::i;:::-;;;;;;;;;;;;;;;;;;60849;;;:::i;74503:105::-;;;;;;;;;;;;;;;;-1:-1:-1;74503:105:0;;;;:::i;24762:1632::-;;;;;;;;;;;;;;;;-1:-1:-1;24762:1632:0;;;;;;;;;;;;;-1:-1:-1;;;;;24762:1632:0;;:::i;24462:64::-;;;:::i;:::-;;;;-1:-1:-1;;;;;24462:64:0;;;;;;;;;;;;;;71390:865;;;;;;;;;;;;;;;;-1:-1:-1;71390:865:0;;;;;;;:::i;24337:20::-;;;:::i;61029:30::-;;;:::i;60942:25::-;;;:::i;24533:24::-;;;:::i;66348:1829::-;;;;;;;;;;;;;;;;-1:-1:-1;66348:1829:0;;:::i;72326:438::-;;;;;;;;;;;;;;;;-1:-1:-1;72326:438:0;;:::i;64233:563::-;;;;;;;;;;;;;;;;-1:-1:-1;64233:563:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;74388:103::-;;;;;;;;;;;;;;;;-1:-1:-1;74388:103:0;;;;:::i;65985:231::-;;;:::i;74260:116::-;;;;;;;;;;;;;;;;-1:-1:-1;74260:116:0;-1:-1:-1;;;;;74260:116:0;;:::i;60457:30::-;;;:::i;45564:148::-;;;:::i;24427:28::-;;;:::i;60710:44::-;;;:::i;73413:180::-;;;;;;;;;;;;;;;;-1:-1:-1;73413:180:0;-1:-1:-1;;;;;73413:180:0;;:::i;44913:87::-;;;:::i;64872:143::-;;;;;;;;;;;;;;;;-1:-1:-1;64872:143:0;;;;;;;:::i;61265:37::-;;;:::i;61420:64::-;;;;;;;;;;;;;;;;-1:-1:-1;61420:64:0;;;;;;-1:-1:-1;;;;;61420:64:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;60319:31;;;:::i;74131:117::-;;;;;;;;;;;;;;;;-1:-1:-1;74131:117:0;-1:-1:-1;;;;;74131:117:0;;:::i;24397:23::-;;;:::i;62916:44::-;;;;;;;;;;;;;;;;-1:-1:-1;62916:44:0;-1:-1:-1;;;;;62916:44:0;;:::i;60625:29::-;;;:::i;26441:1558::-;;;;;;;;;;;;;;;;-1:-1:-1;26441:1558:0;;;;;;;;;;;;;-1:-1:-1;;;;;26441:1558:0;;:::i;60262:22::-;;;:::i;61116:44::-;;;:::i;63322:797::-;;;;;;;;;;;;;;;;-1:-1:-1;63322:797:0;;;-1:-1:-1;;;;;63322:797:0;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;75633:115::-;;;;;;;;;;;;;;;;-1:-1:-1;75633:115:0;;:::i;65081:821::-;;;;;;;;;;;;;;;;-1:-1:-1;65081:821:0;;;;;;-1:-1:-1;;;;;65081:821:0;;:::i;68248:3090::-;;;;;;;;;;;;;;;;-1:-1:-1;68248:3090:0;;;;;;;:::i;45867:244::-;;;;;;;;;;;;;;;;-1:-1:-1;45867:244:0;-1:-1:-1;;;;;45867:244:0;;:::i;60544:33::-;;;:::i;75470:107::-;;;;;;;;;;;;;;;;-1:-1:-1;75470:107:0;;:::i;62813:95::-;62885:8;:15;62813:95;:::o;74743:679::-;45144:12;:10;:12::i;:::-;-1:-1:-1;;;;;45133:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;45133:23:0;;45125:68;;;;;-1:-1:-1;;;45125:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;45125:68:0;;;;;;;;;;;;;;;74824:17:::1;:15;:17::i;:::-;75074:18;;75056:15;:36;75053:246;;;-1:-1:-1::0;75126:18:0::1;::::0;75053:246:::1;;;75251:18;:36:::0;;;75053:246:::1;75319:14;:32:::0;;;75367:47:::1;::::0;;;;;;;75386:10:::1;::::0;75367:47:::1;::::0;;;;;::::1;::::0;;::::1;74743:679:::0;:::o;73869:250::-;73963:7;;-1:-1:-1;;;;;73963:7:0;73949:10;:21;73941:61;;;;;-1:-1:-1;;;73941:61:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;74013:15;:34;;-1:-1:-1;;;;;;74013:34:0;-1:-1:-1;;;;;74013:34:0;;;;;;;;74063:48;;74082:10;;74063:48;;-1:-1:-1;;74063:48:0;73869:250;:::o;73601:256::-;73697:7;;-1:-1:-1;;;;;73697:7:0;73683:10;:21;73675:61;;;;;-1:-1:-1;;;73675:61:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;73747:16;:36;;-1:-1:-1;;;;;;73747:36:0;-1:-1:-1;;;;;73747:36:0;;;;;;;;73799:50;;73819:10;;73799:50;;-1:-1:-1;;73799:50:0;73601:256;:::o;61338:26::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;61338:26:0;;;;-1:-1:-1;61338:26:0;;;;;;;;;;;;;;:::o;61224:34::-;;;;;;:::o;60849:::-;;;;:::o;74503:105::-;45144:12;:10;:12::i;:::-;-1:-1:-1;;;;;45133:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;45133:23:0;;45125:68;;;;;-1:-1:-1;;;45125:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;45125:68:0;;;;;;;;;;;;;;;74572:17:::1;:28:::0;;;::::1;;;;-1:-1:-1::0;;74572:28:0;;::::1;::::0;;;::::1;::::0;;74503:105::o;24762:1632::-;24871:44;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;24871:44:0;;;;;;;;24959:8;;24936:41;;;-1:-1:-1;;;24936:41:0;;-1:-1:-1;;;;;24959:8:0;;;24936:41;;;;;;;;;;;;:22;;;;;;:41;;;;;;;;;;;;;;;24959:8;24936:22;:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;25046:8:0;;25006:49;;;-1:-1:-1;;;25006:49:0;;25039:4;25006:49;;;;-1:-1:-1;;;;;25046:8:0;;;25006:49;;;;;;25059:7;;25006:24;;;;;:49;;;;;24936:41;;25006:49;;;;;;;:24;:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;25006:49:0;:60;;24998:128;;;;-1:-1:-1;;;24998:128:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25397:17;25417:14;:7;25429:1;25417:11;:14::i;:::-;25397:34;-1:-1:-1;25442:17:0;25462:22;:7;25397:34;25462:11;:22::i;:::-;25643:6;;25442:42;;-1:-1:-1;25505:21:0;;-1:-1:-1;;;;;25625:25:0;;;25643:6;;25625:25;25622:201;;25698:6;;25673:33;;25682:6;;-1:-1:-1;;;;;25698:6:0;25673:8;:33::i;:::-;25768:6;;25666:40;;-1:-1:-1;25737:74:0;;25742:7;;25751:6;;-1:-1:-1;;;;;25768:6:0;25777:9;25768:6;25799:4;25666:40;25737:4;:74::i;:::-;25721:90;-1:-1:-1;;25622:201:0;25903:4;;-1:-1:-1;;;;;25893:14:0;;;25903:4;;25893:14;25890:164;;25930:20;25943:6;25930:12;:20::i;:::-;26002:4;;25923:27;;-1:-1:-1;25980:62:0;;25985:7;;25994:6;;-1:-1:-1;;;;;26002:4:0;26008:9;26002:4;26030;25923:27;25980:4;:62::i;:::-;25965:77;-1:-1:-1;;25890:164:0;26071:47;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;26071:47:0;;;;;;;;26134;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;26134:47:0;;;;;;;;26340:6;;26349:4;;26318:58;;-1:-1:-1;;;;;26340:6:0;;;;26349:4;26355:9;26366;26318:12;:58::i;:::-;24762:1632;;;;;;:::o;24462:64::-;;;-1:-1:-1;;;;;24462:64:0;;:::o;71390:865::-;41514:1;42120:7;;:19;;42112:63;;;;;-1:-1:-1;;;42112:63:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;41514:1;42253:7;:18;;;;71480:21:::1;71504:8;71513:4;71504:14;;;;;;;;;::::0;;;::::1;::::0;;;71563;;;:8:::1;:14:::0;;;;;;71578:10:::1;71563:26:::0;;;;;;;71618:11;;71504:14:::1;::::0;;::::1;::::0;;::::1;::::0;-1:-1:-1;71618:22:0;-1:-1:-1;71618:22:0::1;71610:73;;;;-1:-1:-1::0;;;71610:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;71704:16;71715:4;71704:10;:16::i;:::-;71741:15;71759:70;71813:4;:15;;;71759:49;71803:4;71759:39;71775:4;:22;;;71759:4;:11;;;:15;;:39;;;;:::i;:::-;:43:::0;::::1;:49::i;:::-;:53:::0;::::1;:70::i;:::-;71741:88:::0;-1:-1:-1;71854:11:0;;71850:83:::1;;71882:39;71901:10;71913:7;71882:18;:39::i;:::-;71947:11:::0;;71943:166:::1;;71989:11:::0;;:24:::1;::::0;72005:7;71989:15:::1;:24::i;:::-;71975:38:::0;;72042:12;;:55:::1;::::0;-1:-1:-1;;;;;72042:12:0::1;72076:10;72089:7:::0;72042:25:::1;:55::i;:::-;72153:22;::::0;::::1;::::0;72137:11;;:49:::1;::::0;72181:4:::1;::::0;72137:39:::1;::::0;:15:::1;:39::i;:49::-;72119:15;::::0;::::1;:67:::0;72212:35:::1;::::0;;;;;;;72233:4;;72221:10:::1;::::0;72212:35:::1;::::0;;;;::::1;::::0;;::::1;-1:-1:-1::0;;41470:1:0;42432:22;;-1:-1:-1;;;71390:865:0:o;24337:20::-;;;-1:-1:-1;;;;;24337:20:0;;:::o;61029:30::-;;;;:::o;60942:25::-;;;;:::o;24533:24::-;;;-1:-1:-1;;;;;24533:24:0;;:::o;66348:1829::-;66405:31;;;;;;;;;;;;;;;;;-1:-1:-1;;;66405:31:0;;;;;;-1:-1:-1;;;;;;;;;;;66405:31:0;;;;;;;;66457:21;66481:8;66490:4;66481:14;;;;;;;;;;;;;;;;;;66457:38;;66528:4;:20;;;66512:12;:36;66508:75;;66565:7;;;66508:75;66622:12;;:37;;;-1:-1:-1;;;66622:37:0;;66653:4;66622:37;;;;;;66603:16;;-1:-1:-1;;;;;66622:12:0;;:22;;:37;;;;;;;;;;;;;;:12;:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;66622:37:0;;-1:-1:-1;66684:13:0;;;:37;;-1:-1:-1;66701:15:0;;;;:20;66684:37;66680:126;;;-1:-1:-1;66761:12:0;66738:20;;;;:35;66788:7;;66680:126;66826:18;66847:49;66861:4;:20;;;66883:12;66847:13;:49::i;:::-;66826:70;;66919:27;66949:72;67005:15;;66949:51;66984:4;:15;;;66949:30;66964:14;;66949:10;:14;;:30;;;;:::i;:::-;:34;;:51::i;:72::-;66919:102;-1:-1:-1;66919:102:0;67044:20;67122:27;66919:102;67146:2;67122:23;:27::i;:::-;67180:15;;67107:42;;-1:-1:-1;67180:25:0;;67107:42;67180:19;:25::i;:::-;67162:15;:43;67242:6;;67254:7;;67242:26;;;-1:-1:-1;;;67242:26:0;;-1:-1:-1;;;;;67254:7:0;;;67242:26;;;;;;;;;;;;:6;;;;;:11;;:26;;;;;:6;;:26;;;;;;;:6;;:26;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;67320:14:0;;;;67317:64;;-1:-1:-1;67317:64:0;;-1:-1:-1;67317:64:0;67349:6;;:32;;;-1:-1:-1;;;67349:32:0;;67369:4;67349:32;;;;;;;;;;;;-1:-1:-1;;;;;67349:6:0;;;;:11;;:32;;;;;:6;;:32;;;;;;;;:6;;:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;67317:64;67435:6;;67447:16;;67435:35;;;-1:-1:-1;;;67435:35:0;;-1:-1:-1;;;;;67447:16:0;;;67435:35;;;;;;;;;;;;:6;;;;;:11;;:35;;;;;:6;;:35;;;;;;;:6;;:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;67551:29;67568:11;67577:1;67568:4;:8;;:11;;;;:::i;:::-;67551:12;;:16;:29::i;:::-;67630:6;;:40;;;-1:-1:-1;;;67630:40:0;;67650:4;67630:40;;;;;;;;;;;;67536:44;;-1:-1:-1;;;;;;67630:6:0;;;;:11;;:40;;;;;:6;;:40;;;;;;;;:6;;:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;67713:18;;67694:15;;:37;;:55;;;;-1:-1:-1;67735:14:0;;;;67694:55;67691:323;;;67793:15;;;67765:25;67823:19;;;;67994:6;;67938:64;;;-1:-1:-1;;;67938:64:0;;-1:-1:-1;67938:64:0;;;;;;;;;;-1:-1:-1;;;;;67994:6:0;;;67938:64;;;;;67793:15;;67938:4;;:22;;:64;;;;;67765:25;67938:64;;;;;;67765:25;67938:4;:64;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;67691:323;;68059:64;68086:36;68113:8;68086:22;:12;68103:4;68086:16;:22::i;:36::-;68059:22;;;;;:26;:64::i;:::-;68034:22;;;:89;-1:-1:-1;;68157:12:0;68134:20;;;;:35;;;;-1:-1:-1;;;66348:1829:0;;:::o;72326:438::-;41514:1;42120:7;;:19;;42112:63;;;;;-1:-1:-1;;;42112:63:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;41514:1;42253:7;:18;;;;72398:21:::1;72422:8;72431:4;72422:14;;;;;;;;;::::0;;;::::1;::::0;;;72471;;;:8:::1;:14:::0;;;;;;72486:10:::1;72471:26:::0;;;;;;;72535:11;;72567:15;;;-1:-1:-1;72593:15:0;::::1;:19:::0;;;;72422:14:::1;::::0;;::::1;;72633:12:::0;;72422:14;;-1:-1:-1;72471:26:0;;72535:11;72633:54:::1;::::0;-1:-1:-1;;;;;72633:12:0;;;::::1;::::0;72535:11;72633:25:::1;:54::i;:::-;72713:43;::::0;;;;;;;72743:4;;72731:10:::1;::::0;72713:43:::1;::::0;;;;::::1;::::0;;::::1;-1:-1:-1::0;;41470:1:0;42432:22;;-1:-1:-1;;72326:438:0:o;64233:563::-;45144:12;:10;:12::i;:::-;-1:-1:-1;;;;;45133:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;45133:23:0;;45125:68;;;;;-1:-1:-1;;;45125:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;45125:68:0;;;;;;;;;;;;;;;64386:5:::1;64369:13;:22;;;;64361:72;;;;-1:-1:-1::0;;;64361:72:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;64458:11;64454:61;;;64486:17;:15;:17::i;:::-;64553:63;64604:11;64553:46;64573:8;64582:4;64573:14;;;;;;;;;;;;;;;;;;:25;;;64553:15;;:19;;:46;;;;:::i;:::-;:50:::0;::::1;:63::i;:::-;64535:15;:81;;;;64665:11;64637:8;64646:4;64637:14;;;;;;;;;;;;;;;;;;:25;;:39;;;;64727:13;64697:8;64706:4;64697:14;;;;;;;;;;;;;;;;;;:27;;;:43;;;;;;;;;;;;;;;;;;64783:5;64761:8;64770:4;64761:14;;;;;;;;;;;;;;;;;;:19;;;:27;;;;;;;;;;;;;;;;;;64233:563:::0;;;;;:::o;74388:103::-;45144:12;:10;:12::i;:::-;-1:-1:-1;;;;;45133:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;45133:23:0;;45125:68;;;;;-1:-1:-1;;;45125:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;45125:68:0;;;;;;;;;;;;;;;74458:14:::1;:25:::0;;-1:-1:-1;;74458:25:0::1;::::0;::::1;;::::0;;;::::1;::::0;;74388:103::o;65985:231::-;66047:8;:15;66078:35;;;;;;;;;;;;;;;;;-1:-1:-1;;;66078:35:0;;;;;;-1:-1:-1;;;;;;;;;;;66078:35:0;;;;;;;;66129:11;66124:85;66152:6;66146:3;:12;66124:85;;;66182:15;66193:3;66182:10;:15::i;:::-;66160:5;;66124:85;;;;65985:231;:::o;74260:116::-;45144:12;:10;:12::i;:::-;-1:-1:-1;;;;;45133:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;45133:23:0;;45125:68;;;;;-1:-1:-1;;;45125:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;45125:68:0;;;;;;;;;;;;;;;74338:13:::1;:30:::0;;-1:-1:-1;;;;;;74338:30:0::1;-1:-1:-1::0;;;;;74338:30:0;;;::::1;::::0;;;::::1;::::0;;74260:116::o;60457:30::-;;;-1:-1:-1;;;;;60457:30:0;;:::o;45564:148::-;45144:12;:10;:12::i;:::-;-1:-1:-1;;;;;45133:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;45133:23:0;;45125:68;;;;;-1:-1:-1;;;45125:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;45125:68:0;;;;;;;;;;;;;;;45671:1:::1;45655:6:::0;;45634:40:::1;::::0;-1:-1:-1;;;;;45655:6:0;;::::1;::::0;45634:40:::1;::::0;45671:1;;45634:40:::1;45702:1;45685:19:::0;;-1:-1:-1;;;;;;45685:19:0::1;::::0;;45564:148::o;24427:28::-;;;-1:-1:-1;;;;;24427:28:0;;:::o;60710:44::-;60753:1;60710:44;:::o;73413:180::-;73484:7;;-1:-1:-1;;;;;73484:7:0;73470:10;:21;73462:43;;;;;-1:-1:-1;;;73462:43:0;;;;;;;;;;;;-1:-1:-1;;;73462:43:0;;;;;;;;;;;;;;;73516:7;:18;;-1:-1:-1;;;;;;73516:18:0;-1:-1:-1;;;;;73516:18:0;;;;;;;;73550:35;;73564:10;;73550:35;;-1:-1:-1;;73550:35:0;73413:180;:::o;44913:87::-;44959:7;44986:6;-1:-1:-1;;;;;44986:6:0;44913:87;:::o;64872:143::-;64944:7;64971:36;60753:1;64971:14;:3;64979:5;64971:7;:14::i;:36::-;64964:43;;64872:143;;;;;:::o;61265:37::-;;;;;;;;;:::o;61420:64::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;60319:31::-;;;-1:-1:-1;;;;;60319:31:0;;:::o;74131:117::-;45144:12;:10;:12::i;:::-;-1:-1:-1;;;;;45133:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;45133:23:0;;45125:68;;;;;-1:-1:-1;;;45125:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;45125:68:0;;;;;;;;;;;;;;;74213:8:::1;:27:::0;;-1:-1:-1;;;;;;74213:27:0::1;-1:-1:-1::0;;;;;74213:27:0;;;::::1;::::0;;;::::1;::::0;;74131:117::o;24397:23::-;;;-1:-1:-1;;;;;24397:23:0;;:::o;62916:44::-;;;;;;;;;;;;;;;:::o;60625:29::-;;;;:::o;26441:1558::-;26560:8;;26538:40;;;-1:-1:-1;;;26538:40:0;;-1:-1:-1;;;;;26560:8:0;;;26538:40;;;;;;;;;;;;:21;;;;;;:40;;;;;;;;;;;;;;;26560:8;26538:21;:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;26646:8:0;;26607:48;;;-1:-1:-1;;;26607:48:0;;26639:4;26607:48;;;;-1:-1:-1;;;;;26646:8:0;;;26607:48;;;;;;26659:7;;26607:23;;;;;:48;;;;;26538:40;;26607:48;;;;;;;:23;:48;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;26607:48:0;:59;;26599:127;;;;-1:-1:-1;;;26599:127:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26787:19;26824:5;26787:43;;26946:14;26963:4;-1:-1:-1;;;;;26963:11:0;;:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;26963:13:0;27004;;;-1:-1:-1;;;27004:13:0;;;;26963;;-1:-1:-1;26987:14:0;;-1:-1:-1;;;;;27004:11:0;;;;;:13;;;;;26963;;27004;;;;;;;:11;:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;27004:13:0;;-1:-1:-1;27157:9:0;;27181:40;27197:6;27004:13;27213:7;27181:15;:40::i;:::-;27332:6;;27156:65;;-1:-1:-1;27156:65:0;-1:-1:-1;;;;;;27313:26:0;;;27332:6;;27313:26;27310:247;;27422:6;;27356:17;;;;27391:95;;27396:7;;27405:6;;-1:-1:-1;;;;;27422:6:0;27431:1;27356:17;27445:4;27452:33;27405:6;27422;27452:8;:33::i;:::-;27391:4;:95::i;:::-;27355:131;;-1:-1:-1;27355:131:0;-1:-1:-1;;;27310:247:0;27648:4;;-1:-1:-1;;;;;27638:14:0;;;27648:4;;27638:14;27635:218;;27729:4;;27669:17;;;;27707:72;;27712:7;;27721:6;;-1:-1:-1;;;;;27729:4:0;27735:1;27669:17;27749:4;27756:22;27721:6;27729:4;27756:8;:22::i;27707:72::-;27668:111;;-1:-1:-1;27668:111:0;-1:-1:-1;;;27635:218:0;27947:34;27960:6;27968;27976:1;27979;27947:12;:34::i;:::-;26441:1558;;;;;;;;:::o;60262:22::-;;;-1:-1:-1;;;;;60262:22:0;;:::o;61116:44::-;;;;:::o;63322:797::-;45144:12;:10;:12::i;:::-;-1:-1:-1;;;;;45133:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;45133:23:0;;45125:68;;;;;-1:-1:-1;;;45125:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;45125:68:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;63032:23:0;::::1;;::::0;;;:13:::1;:23;::::0;;;;;63456:8;;63032:23:::1;;:32;63024:70;;;::::0;;-1:-1:-1;;;63024:70:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;63502:5:::2;63485:13;:22;;;;63477:72;;;;-1:-1:-1::0;;;63477:72:0::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;63574:11;63570:61;;;63602:17;:15;:17::i;:::-;63651:23;63692:10;;63677:12;:25;:53;;63720:10;;63677:53;;;63705:12;63677:53;63769:15;::::0;63651:79;;-1:-1:-1;63769:32:0::2;::::0;63789:11;63769:19:::2;:32::i;:::-;63751:15;:50:::0;-1:-1:-1;;;;;63822:23:0;;::::2;;::::0;;;:13:::2;:23;::::0;;;;;;;:30;;-1:-1:-1;;63822:30:0::2;63848:4;63822:30:::0;;::::2;::::0;;;63887:223;;::::2;::::0;::::2;::::0;;;;;;;::::2;::::0;;;;;;;;;;;;;;::::2;::::0;;::::2;::::0;;;;;;;::::2;;::::0;;;;;;63873:8:::2;:238:::0;;;;::::2;::::0;;;;;;;::::2;::::0;;::::2;::::0;;::::2;::::0;;;;;::::2;-1:-1:-1::0;;;;;;63873:238:0;;::::2;::::0;;;::::2;::::0;;;;;;;;;;;;;;;;;;;;-1:-1:-1;63873:238:0;;;;;;;;;::::2;;::::0;::::2;-1:-1:-1::0;;63873:238:0;;;::::2;-1:-1:-1::0;;63873:238:0;;::::2;::::0;;;::::2;::::0;;;::::2;;::::0;;;-1:-1:-1;63322:797:0:o;75633:115::-;45144:12;:10;:12::i;:::-;-1:-1:-1;;;;;45133:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;45133:23:0;;45125:68;;;;;-1:-1:-1;;;45125:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;45125:68:0;;;;;;;;;;;;;;;75712:18:::1;:28:::0;75633:115::o;65081:821::-;65156:7;65176:21;65200:8;65209:4;65200:14;;;;;;;;;;;;;;;;65249;;;:8;:14;;;;;;-1:-1:-1;;;;;65249:21:0;;;;;;;;;;;65200:14;;;;;;;;65319:22;;;;65371:12;;:37;;-1:-1:-1;;;65371:37:0;;65402:4;65371:37;;;;;;65200:14;;-1:-1:-1;65249:21:0;;65319:22;;65200:14;;65371:12;;;:22;;:37;;;;;;;;;;;:12;:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;65371:37:0;65448:20;;;;65371:37;;-1:-1:-1;65433:12:0;:35;:52;;;;-1:-1:-1;65472:13:0;;;65433:52;65429:373;;;65502:18;65523:49;65537:4;:20;;;65559:12;65523:13;:49::i;:::-;65502:70;;65587:20;65610:72;65666:15;;65610:51;65645:4;:15;;;65610:30;65625:14;;65610:10;:14;;:30;;;;:::i;:72::-;65587:95;-1:-1:-1;65731:59:0;65753:36;65780:8;65753:22;65587:95;65770:4;65753:16;:22::i;:36::-;65731:17;;:21;:59::i;:::-;65711:79;;65429:373;;;65829:65;65878:4;:15;;;65829:44;65868:4;65829:34;65845:17;65829:4;:11;;;:15;;:34;;;;:::i;:65::-;65822:72;65081:821;-1:-1:-1;;;;;;;65081:821:0:o;68248:3090::-;41514:1;42120:7;;:19;;42112:63;;;;;-1:-1:-1;;;42112:63:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;41514:1;42253:7;:18;63184:8:::1;:15:::0;68328:4;;63178:21;::::1;63170:53;;;::::0;;-1:-1:-1;;;63170:53:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;63170:53:0;;;;;;;;;;;;;::::1;;68360:36:::2;::::0;;::::2;::::0;::::2;::::0;;;;;;::::2;::::0;;;;::::2;::::0;;;;;;-1:-1:-1;;;;;;;;;;;68360:36:0;;;;;;;::::2;68417:21;68441:8;68450:4;68441:14;;;;;;;;;::::0;;;::::2;::::0;;;68490;;;:8:::2;:14:::0;;;;;;68505:10:::2;68490:26:::0;;;;;;;68441:14:::2;::::0;;::::2;::::0;;::::2;::::0;-1:-1:-1;68537:16:0::2;68499:4:::0;68537:10:::2;:16::i;:::-;68568:11:::0;;:15;68564:395:::2;;68604:11:::0;;68596:48:::2;;;::::0;;-1:-1:-1;;;68596:48:0;;::::2;;::::0;::::2;::::0;::::2;::::0;;;;-1:-1:-1;;;68596:48:0;;;;;;;;;;;;;::::2;;68754:15;68772:70;68826:4;:15;;;68772:49;68816:4;68772:39;68788:4;:22;;;68772:4;:11;;;:15;;:39;;;;:::i;:70::-;68754:88:::0;-1:-1:-1;68861:11:0;;68857:91:::2;;68893:39;68912:10;68924:7;68893:18;:39::i;:::-;68564:395;;68983:11:::0;;68979:2214:::2;;69019:12:::0;;:34:::2;::::0;;-1:-1:-1;;;69019:34:0;;69042:10:::2;69019:34;::::0;::::2;::::0;;;69057:7;;-1:-1:-1;;;;;69019:12:0::2;::::0;:22:::2;::::0;:34;;;;;::::2;::::0;;;;;;;;:12;:34;::::2;;::::0;::::2;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;::::0;::::2;;-1:-1:-1::0;69019:34:0;:45:::2;;69011:90;;;::::0;;-1:-1:-1;;;69011:90:0;;::::2;;::::0;::::2;::::0;;;;;;;::::2;::::0;;;;;;;;;;;;;::::2;;69124:12:::0;;:49:::2;::::0;;-1:-1:-1;;;69124:49:0;;69147:10:::2;69124:49;::::0;::::2;::::0;69167:4:::2;69124:49:::0;;;;;;69177:7;;-1:-1:-1;;;;;69124:12:0::2;::::0;:22:::2;::::0;:49;;;;;::::2;::::0;;;;;;;;:12;:49;::::2;;::::0;::::2;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;::::0;::::2;;-1:-1:-1::0;69124:49:0;:60:::2;;69116:146;;;;-1:-1:-1::0;;;69116:146:0::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;69277:12:::0;;:65:::2;::::0;-1:-1:-1;;;;;69277:12:0::2;69307:10;69327:4;69334:7:::0;69277:29:::2;:65::i;:::-;69459:17;::::0;::::2;::::0;::::2;;:21:::0;69455:1727:::2;;69534:17;::::0;::::2;::::0;69501:18:::2;::::0;69522:41:::2;::::0;69557:5:::2;::::0;69522:30:::2;::::0;:7;;69534:17:::2;;69522:11;:30::i;:41::-;69585:9;::::0;::::2;::::0;69501:62;;-1:-1:-1;69585:9:0;;::::2;;;69582:1433;;;69621:17;::::0;::::2;::::0;::::2;;;69618:599;;;69746:4;:16;69763:4;69769:17;:10:::0;69784:1:::2;69769:14;:17::i;:::-;69796:12:::0;;69746:64:::2;::::0;;-1:-1:-1;;;;;;69746:64:0::2;::::0;;;;;;;::::2;;;::::0;::::2;::::0;;;;;;;;-1:-1:-1;;;;;69796:12:0::2;69746:64:::0;;;;;;;;;;69796:12:::2;::::0;69746:64;;;;;;;69796:12;69746:64;;::::2;;::::0;::::2;;;;::::0;::::2;;;;;;;;;;;;;;;;69742:452;;70131:15;::::0;70105:61:::2;::::0;-1:-1:-1;;;;;70131:15:0::2;70148:17;:10:::0;70163:1:::2;70148:14;:17::i;:::-;70105:12:::0;;-1:-1:-1;;;;;70105:12:0::2;::::0;:61;:25:::2;:61::i;:::-;70265:7;::::0;70239:53:::2;::::0;-1:-1:-1;;;;;70265:7:0::2;70274:17;:10:::0;70289:1:::2;70274:14;:17::i;70239:53::-;69582:1433;;;70377:6;::::0;70352:12;;-1:-1:-1;;;;;70352:12:0;;::::2;70377:6:::0;::::2;70344:40;70341:655;;70415:17;::::0;::::2;::::0;::::2;;;70412:321;;;70468:4;:22;70491:4;70497:17;:10:::0;70512:1:::2;70497:14;:17::i;70341:655::-;70869:6;::::0;;-1:-1:-1;;;;;70869:6:0::2;::::0;:11:::2;::::0;70881:17:::2;::::0;:10;;:14:::2;:17::i;:::-;70869:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;-1:-1:-1::0;;70945:7:0::2;::::0;70926:46:::2;::::0;-1:-1:-1;;;;;;70945:7:0::2;::::0;-1:-1:-1;70954:17:0::2;:10:::0;70969:1:::2;70954:14;:17::i;:::-;70926:18;:46::i;:::-;71047:11:::0;;:40:::2;::::0;71076:10;;71047:24:::2;::::0;71063:7;71047:15:::2;:24::i;:40::-;71033:54:::0;;-1:-1:-1;69455:1727:0::2;;;71142:11:::0;;:24:::2;::::0;71158:7;71142:15:::2;:24::i;:::-;71128:38:::0;;69455:1727:::2;71237:22;::::0;::::2;::::0;71221:11;;:49:::2;::::0;71265:4:::2;::::0;71221:39:::2;::::0;:15:::2;:39::i;:49::-;71203:15;::::0;::::2;:67:::0;71296:34:::2;::::0;;;;;;;71316:4;;71304:10:::2;::::0;71296:34:::2;::::0;;;;::::2;::::0;;::::2;-1:-1:-1::0;;41470:1:0;42432:22;;-1:-1:-1;;;68248:3090:0:o;45867:244::-;45144:12;:10;:12::i;:::-;-1:-1:-1;;;;;45133:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;45133:23:0;;45125:68;;;;;-1:-1:-1;;;45125:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;45125:68:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;45956:22:0;::::1;45948:73;;;;-1:-1:-1::0;;;45948:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46058:6;::::0;;46037:38:::1;::::0;-1:-1:-1;;;;;46037:38:0;;::::1;::::0;46058:6;::::1;::::0;46037:38:::1;::::0;::::1;46086:6;:17:::0;;-1:-1:-1;;;;;;46086:17:0::1;-1:-1:-1::0;;;;;46086:17:0;;;::::1;::::0;;;::::1;::::0;;45867:244::o;60544:33::-;;;;:::o;75470:107::-;45144:12;:10;:12::i;:::-;-1:-1:-1;;;;;45133:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;45133:23:0;;45125:68;;;;;-1:-1:-1;;;45125:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;45125:68:0;;;;;;;;;;;;;;;75545:10:::1;:24:::0;75470:107::o;8143:106::-;8231:10;8143:106;:::o;4411:153::-;4469:7;4501:1;4497;:5;4489:44;;;;;-1:-1:-1;;;4489:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;4555:1;4551;:5;;;;;;;4411:153;-1:-1:-1;;;4411:153:0:o;3296:158::-;3354:7;3387:1;3382;:6;;3374:49;;;;;-1:-1:-1;;;3374:49:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3441:5:0;;;3296:158::o;32162:1257::-;32235:21;32272:20;32314:8;;;;;;;;;-1:-1:-1;;;;;32314:8:0;-1:-1:-1;;;;;32295:33:0;;:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;32295:35:0;;-1:-1:-1;;;;;;32351:25:0;;;;;;;;:56;;-1:-1:-1;32400:6:0;;-1:-1:-1;;;;;32380:27:0;;;32400:6;;32380:27;32351:56;:77;;;-1:-1:-1;32424:4:0;;-1:-1:-1;;;;;32411:17:0;;;32424:4;;32411:17;32351:77;:97;;;-1:-1:-1;32444:4:0;;-1:-1:-1;;;;;32432:16:0;;;32444:4;;32432:16;32351:97;32347:1025;;;32476:16;;;32490:1;32476:16;;;;;;;;;;;;;;;;;;;;-1:-1:-1;32476:16:0;32469:23;;32521:8;32511:4;32516:1;32511:7;;;;;;;;;;;;;:18;-1:-1:-1;;;;;32511:18:0;;;-1:-1:-1;;;;;32511:18:0;;;;;32558:9;32548:4;32553:1;32548:7;;;;;;;;;;;;;:19;-1:-1:-1;;;;;32548:19:0;;;-1:-1:-1;;;;;32548:19:0;;;;;32347:1025;;;32604:12;-1:-1:-1;;;;;32592:24:0;:8;-1:-1:-1;;;;;32592:24:0;;32589:783;;;32643:16;;;32657:1;32643:16;;;;;;;;;;;;;;;;;;;;-1:-1:-1;32643:16:0;32636:23;;32688:8;32678:4;32683:1;32678:7;;;;;;;;-1:-1:-1;;;;;32678:18:0;;;:7;;;;;;;;;:18;32725:4;;32715:7;;32725:4;;;32715;;32725;;32715:7;;;;;;;;;;;:14;-1:-1:-1;;;;;32715:14:0;;;-1:-1:-1;;;;;32715:14:0;;;;;32758:9;32748:4;32753:1;32748:7;;;;;;;32589:783;32810:15;32829:44;32850:8;32860:12;32829:20;:44::i;:::-;32808:65;;;32923:10;32913:7;-1:-1:-1;;;;;32913:20:0;;32910:447;;;32964:16;;;32978:1;32964:16;;;;;;;;;;;;;;;;;;;;-1:-1:-1;32964:16:0;32957:23;;33013:8;33003:4;33008:1;33003:7;;;;;;;;;;;;;:18;-1:-1:-1;;;;;33003:18:0;;;-1:-1:-1;;;;;33003:18:0;;;;;33054:12;33044:4;33049:1;33044:7;;;;;;;;-1:-1:-1;;;;;33044:22:0;;;:7;;;;;;;;;:22;33099:4;;33089:7;;33099:4;;;33089;;33094:1;;33089:7;;;;;;;;;;;:14;-1:-1:-1;;;;;33089:14:0;;;-1:-1:-1;;;;;33089:14:0;;;;;33136:9;33126:4;33131:1;33126:7;;;;;;;;;;;;;:19;-1:-1:-1;;;;;33126:19:0;;;-1:-1:-1;;;;;33126:19:0;;;;;32910:447;;;33201:16;;;33215:1;33201:16;;;;;;;;;;;;;;;;;;;;-1:-1:-1;33201:16:0;33194:23;;33250:8;33240:4;33245:1;33240:7;;;;;;;;-1:-1:-1;;;;;33240:18:0;;;:7;;;;;;;;;:18;33291:4;;33281:7;;33291:4;;;33281;;33291;;33281:7;;;;;;;;;;;:14;-1:-1:-1;;;;;33281:14:0;;;-1:-1:-1;;;;;33281:14:0;;;;;33328:9;33318:4;33323:1;33318:7;;;;;;;;;;;;;:19;-1:-1:-1;;;;;33318:19:0;;;-1:-1:-1;;;;;33318:19:0;;;;;32910:447;32589:783;;33400:11;32162:1257;;;;:::o;28593:2067::-;28815:35;;;;;;;;;;;;;;;;;-1:-1:-1;;;28815:35:0;;;;;;28750:23;;;;-1:-1:-1;;;;;;;;;;;28815:35:0;;;;;;;;28903:8;;28884:35;;;-1:-1:-1;;;28884:35:0;;;;28861:20;;-1:-1:-1;;;;;28903:8:0;;28884:33;;:35;;;;;;;;;;;;;;28903:8;28884:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;28884:35:0;;-1:-1:-1;28932:397:0;;;;29010:9;28972:8;-1:-1:-1;;;;;28965:26:0;;29000:4;28965:41;;;;;;;;;;;;;-1:-1:-1;;;;;28965:41:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;28965:41:0;:54;;28957:110;;;;-1:-1:-1;;;28957:110:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28932:397;;;29150:9;29115:8;-1:-1:-1;;;;;29108:26:0;;29135:10;29108:38;;;;;;;;;;;;;-1:-1:-1;;;;;29108:38:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;29108:38:0;:51;;29100:95;;;;;-1:-1:-1;;;29100:95:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;29218:53;;;-1:-1:-1;;;29218:53:0;;29245:10;29218:53;;;;29265:4;29218:53;;;;;;29275:9;;-1:-1:-1;;;;;29218:26:0;;;;;:53;;;;;;;;;;;;;;;:26;:53;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;29218:53:0;:66;;29210:107;;;;;-1:-1:-1;;;29210:107:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;29374:8;;29349:45;;;-1:-1:-1;;;29349:45:0;;-1:-1:-1;;;;;29374:8:0;;;29349:45;;;;;;;;;;;;:24;;;;;;:45;;;;;;;;;;;;;;;29374:8;29349:24;:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;29418:15:0;29415:1122;;29492:8;;29473:59;;;-1:-1:-1;;;29473:59:0;;;;;;;;;;;;;;;;;;;;;;29449:21;;-1:-1:-1;;;;;29492:8:0;;29473:42;;29516:9;;29527:4;;29473:59;;;;;;;;;;;;;;;29449:21;29473:59;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;29473:59:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;29473:59:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;29473:59:0;;;;;;-1:-1:-1;;29584:8:0;;29680:14;;29449:83;;-1:-1:-1;;;;;;29584:8:0;;29565:82;;-1:-1:-1;29648:9:0;;-1:-1:-1;29659:59:0;;29449:83;;-1:-1:-1;;29680:18:0;;;29672:27;;;;;;;;;;;;29701:16;;29659:12;:59::i;:::-;29720:4;29726:3;29731:15;29565:182;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;29565:182:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29561:449;;29831:8;;29927:14;;-1:-1:-1;;;;;29831:8:0;;;;29812:82;;29895:9;;29906:59;;29919:7;;-1:-1:-1;;29927:18:0;;;29919:27;;;;;29906:59;29967:4;29973:3;29978:15;29812:182;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;29812:182:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29561:449;30051:7;30076:1;30059:7;:14;:18;30051:27;;;;;;;;;;;;;;30038:40;;29415:1122;;;;30134:8;;30234:16;;-1:-1:-1;;;;;30134:8:0;;;;30115:82;;30198:9;;30209:42;;30222:10;;30209:12;:42::i;:::-;30253:4;30259:3;30264:15;30115:165;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;30115:165:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30111:415;;30364:8;;30464:16;;-1:-1:-1;;;;;30364:8:0;;;;30345:82;;30428:9;;30439:42;;30452:10;;30439:12;:42::i;:::-;30483:4;30489:3;30494:15;30345:165;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;30345:165:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30111:415;30564:37;;;;;;;;;;;;;;;;;-1:-1:-1;;;30564:37:0;;;;;;-1:-1:-1;;;;;;;;;;;30564:37:0;;;;;;;;-1:-1:-1;30630:9:0;;30641:10;;-1:-1:-1;28593:2067:0;;-1:-1:-1;;;;;;28593:2067:0:o;31270:880::-;31328:21;31365:20;31407:8;;;;;;;;;-1:-1:-1;;;;;31407:8:0;-1:-1:-1;;;;;31388:33:0;;:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;31388:35:0;;-1:-1:-1;;;;;;31444:24:0;;;;;;;31440:663;;;31496:16;;;31510:1;31496:16;;;;;;;;;;;;;;;;;;;;-1:-1:-1;31496:16:0;31489:23;;31541:8;31531:4;31536:1;31531:7;;;;;;;;-1:-1:-1;;;;;31531:18:0;;;:7;;;;;;;;;:18;31578:4;;31568:7;;31578:4;;;31568;;31578;;31568:7;;;;;;;;;;;:14;-1:-1:-1;;;;;31568:14:0;;;-1:-1:-1;;;;;31568:14:0;;;;;31440:663;;;31625:15;31644:44;31665:8;31675:12;31644:20;:44::i;:::-;31623:65;;;31738:10;31728:7;-1:-1:-1;;;;;31728:20:0;;31725:363;;;31779:16;;;31793:1;31779:16;;;;;;;;;;;;;;;;;;;;-1:-1:-1;31779:16:0;31772:23;;31828:8;31818:4;31823:1;31818:7;;;;;;;;;;;;;:18;-1:-1:-1;;;;;31818:18:0;;;-1:-1:-1;;;;;31818:18:0;;;;;31869:12;31859:4;31864:1;31859:7;;;;;;;;-1:-1:-1;;;;;31859:22:0;;;:7;;;;;;;;;:22;31914:4;;31904:7;;31914:4;;;31904;;31909:1;;31904:7;;;;;;;;;;;:14;-1:-1:-1;;;;;31904:14:0;;;-1:-1:-1;;;;;31904:14:0;;;;;31725:363;;;31974:16;;;31988:1;31974:16;;;;;;;;;;;;;;;;;;;;-1:-1:-1;31974:16:0;31967:23;;32023:8;32013:4;32018:1;32013:7;;;;;;;;-1:-1:-1;;;;;32013:18:0;;;:7;;;;;;;;;:18;32064:4;;32054:7;;32064:4;;;32054;;32064;;32054:7;;;;;;;;;;;:14;-1:-1:-1;;;;;32054:14:0;;;-1:-1:-1;;;;;32054:14:0;;;;;31725:363;31440:663;;32131:11;31270:880;;;:::o;28041:367::-;28177:8;;28153:43;;;-1:-1:-1;;;28153:43:0;;-1:-1:-1;;;;;28177:8:0;;;28153:43;;;;;;;;;;;;:23;;;;;;:43;;;;;;;;;;;;;;;28177:8;28153:23;:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;28231:8:0;;28207:43;;;-1:-1:-1;;;28207:43:0;;-1:-1:-1;;;;;28231:8:0;;;28207:43;;;;;;;;;;;;:23;;;;;;:43;;;;;28153;;28207;;;;;;;;28231:8;28207:23;:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;28302:8:0;;28283:117;;;-1:-1:-1;;;28283:117:0;;-1:-1:-1;;;;;28283:117:0;;;;;;;;;;;;;;;;;;;;;;;;;;28302:8;28283:117;;;;;;;;;;;;28377:4;28283:117;;;;28384:15;28283:117;;;;;;28302:8;;;28283:41;;:117;;;;;;;;;;;;;;;;;;28302:8;28283:117;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3713:220;3771:7;3795:6;3791:20;;-1:-1:-1;3810:1:0;3803:8;;3791:20;3834:5;;;3838:1;3834;:5;:1;3858:5;;;;;:10;3850:56;;;;-1:-1:-1;;;3850:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;72882:471;72980:6;;:31;;;-1:-1:-1;;;72980:31:0;;73005:4;72980:31;;;;;;72960:17;;-1:-1:-1;;;;;72980:6:0;;:16;;:31;;;;;;;;;;;;;;:6;:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;72980:31:0;;-1:-1:-1;73032:20:0;73085:19;;;73081:181;;;73139:6;;:31;;;-1:-1:-1;;;73139:31:0;;-1:-1:-1;;;;;73139:31:0;;;;;;;;;;;;;;;:6;;;;;:15;;:31;;;;;;;;;;;;;;:6;;:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;73139:31:0;;-1:-1:-1;73081:181:0;;;73221:6;;:29;;;-1:-1:-1;;;73221:29:0;;-1:-1:-1;;;;;73221:29:0;;;;;;;;;;;;;;;:6;;;;;:15;;:29;;;;;;;;;;;;;;:6;;:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;73221:29:0;;-1:-1:-1;73081:181:0;73290:15;73282:63;;;;-1:-1:-1;;;73282:63:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;72882:471;;;;:::o;17264:177::-;17374:58;;;-1:-1:-1;;;;;17374:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;17374:58:0;-1:-1:-1;;;17374:58:0;;;17347:86;;17367:5;;17347:19;:86::i;:::-;17264:177;;;:::o;2834:179::-;2892:7;2924:5;;;2948:6;;;;2940:46;;;;;-1:-1:-1;;;2940:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;30672:314;30824:8;;30805:173;;;-1:-1:-1;;;30805:173:0;;-1:-1:-1;;;;;30805:173:0;;;;;;;;;;;;;;;;;;;;30766:9;30805:173;;;;;;;;;;;;30946:4;30805:173;;;;30962:15;30805:173;;;;;;30766:9;;;;30824:8;;;30805:44;;:173;;;;;;;;;;;;30766:9;30824:8;30805:173;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;30805:173:0;;;;;;;;;;;-1:-1:-1;30672:314:0;-1:-1:-1;;;;30672:314:0:o;17449:205::-;17577:68;;;-1:-1:-1;;;;;17577:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;17577:68:0;-1:-1:-1;;;17577:68:0;;;17550:96;;17570:5;;17550:19;:96::i;30998:260::-;31176:9;;31158:52;;;-1:-1:-1;;;31158:52:0;;-1:-1:-1;;;;;31158:52:0;;;;;;;;;;;;;;;;31083:9;;;;;;;;31176;;;;;31158:36;;:52;;;;;;;;;;;;;;31176:9;31158:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;31158:52:0;31143:82;;;-1:-1:-1;;;31143:82:0;;;;-1:-1:-1;;;;;31143:80:0;;;;;;:82;;;;;;;;;;;;;;;:80;:82;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;31143:82:0;;;;;;;;;;;-1:-1:-1;30998:260:0;-1:-1:-1;;;;;30998:260:0:o;33425:135::-;33533:5;33524:14;;;33523:29;;33425:135::o;19569:761::-;19993:23;20019:69;20047:4;20019:69;;;;;;;;;;;;;;;;;20027:5;-1:-1:-1;;;;;20019:27:0;;;:69;;;;;:::i;:::-;20103:17;;19993:95;;-1:-1:-1;20103:21:0;20099:224;;20245:10;20234:30;;;;;;;;;;;;;;;-1:-1:-1;20234:30:0;20226:85;;;;-1:-1:-1;;;20226:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12253:195;12356:12;12388:52;12410:6;12418:4;12424:1;12427:12;12388:21;:52::i;:::-;12381:59;;12253:195;;;;;;:::o;13305:530::-;13432:12;13490:5;13465:21;:30;;13457:81;;;;-1:-1:-1;;;13457:81:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13557:18;13568:6;13557:10;:18::i;:::-;13549:60;;;;;-1:-1:-1;;;13549:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;13683:12;13697:23;13724:6;-1:-1:-1;;;;;13724:11:0;13744:5;13752:4;13724:33;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;13724:33:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13682:75;;;;13775:52;13793:7;13802:10;13814:12;13775:17;:52::i;9335:422::-;9702:20;9741:8;;;9335:422::o;15845:742::-;15960:12;15989:7;15985:595;;;-1:-1:-1;16020:10:0;16013:17;;15985:595;16134:17;;:21;16130:439;;16397:10;16391:17;16458:15;16445:10;16441:2;16437:19;16430:44;16345:148;16540:12;16533:20;;-1:-1:-1;;;16533:20:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

Swarm Source

ipfs://2c983ef7e62e6ea688272acb4b5f20865c3d0a8b8585a600988cd0665c35c812
Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.