Contract 0xf4168cd3c00799beeb9a88a6bf725eb84f5d41b7 4

 

Contract Overview

Balance:
0 BNB

BNB Value:
$0.00

Token:
 
Txn Hash
Block
From
To
Value [Txn Fee]
0x96031ae75ea8204e68304950df89250b2f1acd5de9e4c6dd7e7a138a4547bb3697448832021-08-04 15:49:1410 secs ago0x5a12fa79f501efe3b1d3349e9c0ed01224bd8596 IN  0xf4168cd3c00799beeb9a88a6bf725eb84f5d41b70 BNB0.016774925
0xbd3212b06fb92db6b8c372f792bc94298383394887e7ed10378d306666f5580a97444572021-08-04 15:27:5621 mins ago0x7e19b320b97ae5d4543e9577c9f8999736f46a71 IN  0xf4168cd3c00799beeb9a88a6bf725eb84f5d41b70 BNB0.00830313
0xc68afd8546aa8fdc4e9be7e93265e56ae99d43de20db266f837487794d60722897444322021-08-04 15:26:4122 mins ago0x5413661bab88fb61e9429153873923e55edf6bc2 IN  0xf4168cd3c00799beeb9a88a6bf725eb84f5d41b70 BNB0.01243904
0x9aff9a3e2c2edec302c1979819a11ed7641b17f75bc913e58d71753a884560ed97444302021-08-04 15:26:3522 mins ago0x7e19b320b97ae5d4543e9577c9f8999736f46a71 IN  0xf4168cd3c00799beeb9a88a6bf725eb84f5d41b70 BNB0.012310425
0xae6592c3066b96b7465bdfaaf524c31ac0e340d66361ecc63bb35aea29bfab6397443202021-08-04 15:20:4928 mins ago0x25fd915e4fe2ecc3be0a1565f5e7386e472743a7 IN  0xf4168cd3c00799beeb9a88a6bf725eb84f5d41b70 BNB0.01243888
0xceb6db6d85783c4eeb1893d9a59ce4c1b1079e96c827700b8a0d96efb3aa606497438392021-08-04 14:55:3253 mins ago0x09590fc9a01cec8dee7c7f293ee50dd49a382275 IN  0xf4168cd3c00799beeb9a88a6bf725eb84f5d41b70 BNB0.004499785
0xe35d0ce7cc0d05dc39af0ba4673f42283ab6d7d215a31c92f82015ad0477876397438122021-08-04 14:54:0955 mins ago0x09590fc9a01cec8dee7c7f293ee50dd49a382275 IN  0xf4168cd3c00799beeb9a88a6bf725eb84f5d41b70 BNB0.004499785
0x6c3571f17f15a5ce51050627250f9b93a46ac5021a87cc818ce79725ad6da7ce97437992021-08-04 14:53:3055 mins ago0xc27d868ed496cb69007437bfa329788ca1ac05ab IN  0xf4168cd3c00799beeb9a88a6bf725eb84f5d41b70 BNB0.009963756
0xe5685ebc332946325743f734d836204c1140edfe898c02ed11ee242ecbdc6d2797437902021-08-04 14:53:0356 mins ago0xc27d868ed496cb69007437bfa329788ca1ac05ab IN  0xf4168cd3c00799beeb9a88a6bf725eb84f5d41b70 BNB0.014824086
0x3307b651eca1e03392d78e1cd89d76f8d71f50554630911cc80dfe8eda5fdea497437802021-08-04 14:52:3356 mins ago0xb3302f3232392510a6b7124ca028b30ac2f0c800 IN  0xf4168cd3c00799beeb9a88a6bf725eb84f5d41b70 BNB0.004789525
0x988bdc603c49adc0d83e084fd5fd24db609d54b5834ed61112989617ee44365597437672021-08-04 14:51:5457 mins ago0x2fabcb71f652c63ceefcd2c4c1afc181769292e0 IN  0xf4168cd3c00799beeb9a88a6bf725eb84f5d41b70 BNB0.01609022
0x00e9e42aeb0add0c3c561d0814943f0ce661d763a4c6e60a4caf176cffd49f1797437512021-08-04 14:51:0258 mins ago0xe84a13397a0c6b1dac56bbad1bb1f4f0d1150af2 IN  0xf4168cd3c00799beeb9a88a6bf725eb84f5d41b70 BNB0.00452389
0x3a1ba829f46889e6f5643a9e820c63ff6ec984c02539258566b22c55ec416c9697436032021-08-04 14:42:301 hr 6 mins ago0xb3302f3232392510a6b7124ca028b30ac2f0c800 IN  0xf4168cd3c00799beeb9a88a6bf725eb84f5d41b70 BNB0.01243904
0xd8492743dff8b8fea57a6eeb81bde44cf70dd98430a380087fb8286d6096927a97435902021-08-04 14:41:481 hr 7 mins ago0xb3302f3232392510a6b7124ca028b30ac2f0c800 IN  0xf4168cd3c00799beeb9a88a6bf725eb84f5d41b70 BNB0.01243904
0x10a4e97739aee1d374386b1021bb9794f1819b9f74c892aa05098a9cf791f3bc97435582021-08-04 14:39:591 hr 9 mins ago0x6705bf4588d1d9403e8217e5957dbd87ad62808a IN  0xf4168cd3c00799beeb9a88a6bf725eb84f5d41b70 BNB0.009583505
0xef0d8ecec6d1255e5ddfc0a2d639fdc6e1519afb93e91c89b72062cb49d1b2cb97434492021-08-04 14:34:071 hr 15 mins ago0x6705bf4588d1d9403e8217e5957dbd87ad62808a IN  0xf4168cd3c00799beeb9a88a6bf725eb84f5d41b70 BNB0.001235645
0x3fb002e302f8a587d9598148ba4d44def44f174dbd3f8d53afcbbdbc1f17b10697434312021-08-04 14:33:131 hr 16 mins ago0x6705bf4588d1d9403e8217e5957dbd87ad62808a IN  0xf4168cd3c00799beeb9a88a6bf725eb84f5d41b70 BNB0.00049736
0xb6bb3dec2f2d81c31a05f5d6c2466b141070fb5318dcb2ab2ecc228058666b4f97433842021-08-04 14:30:521 hr 18 mins ago0xabfc1b7afd818e1a44539b1ec5021c649b9dded0 IN  0xf4168cd3c00799beeb9a88a6bf725eb84f5d41b70 BNB0.01226
0x47a9eb02741d03d97de2a73ce242ea72e80fc00ec279eb4823007950d8f6500297432412021-08-04 14:23:091 hr 26 mins ago0x8f87071505c02a8b25ef0094d9fe86644e93b1e9 IN  0xf4168cd3c00799beeb9a88a6bf725eb84f5d41b70 BNB0.01226
0x7f1245890f46e52a2540e6846fff21e2eb2d9bd3966977fd535ff17e3aa8f0e697432402021-08-04 14:23:061 hr 26 mins ago0x8f87071505c02a8b25ef0094d9fe86644e93b1e9 IN  0xf4168cd3c00799beeb9a88a6bf725eb84f5d41b70 BNB0.01226
0x9a72de9894f9d689d1d5b289acd6c979096e98e556e280d9778c7609cc1924e397431792021-08-04 14:19:331 hr 29 mins ago0x4c55e63ea472bd051e3bf95cd0d5d2cc3c5e731e IN  0xf4168cd3c00799beeb9a88a6bf725eb84f5d41b70 BNB0.00830313
0xea49de5438bd9892794d2ea968516583e9bd8bc0b83c0a5aa94f0eeb0f2c24f397431352021-08-04 14:17:081 hr 32 mins ago0x4c55e63ea472bd051e3bf95cd0d5d2cc3c5e731e IN  0xf4168cd3c00799beeb9a88a6bf725eb84f5d41b70 BNB0.012310425
0x9c39b6d67e16414d083dcc3526feda4b2850fdaa53b245074123564b7fef1ef197430712021-08-04 14:13:411 hr 35 mins ago0xe65abcc6eebcc56778bbff8cfee1fedeb821548d IN  0xf4168cd3c00799beeb9a88a6bf725eb84f5d41b70 BNB0.012310425
0x9c8ba7152abf0316fc5e18ce5d216f79a62c97d25fd51d7f68babef028975ed497430262021-08-04 14:10:571 hr 38 mins ago0x3ca067ee9bb46aaa2b42f2adb62c023422d1abdb IN  0xf4168cd3c00799beeb9a88a6bf725eb84f5d41b70 BNB0.008453235
0x94a17cfefba93a082ebc08802e79e4b1336465c045d9f0c29c310ec12e4a2f8e97426972021-08-04 13:53:141 hr 56 mins ago0x0846aa765c70ca2ecdf326755f62789bf6b3bc94 IN  0xf4168cd3c00799beeb9a88a6bf725eb84f5d41b70 BNB0.00452389
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
MasterChef

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at BscScan.com on 2021-06-21
*/

// Sources flattened with hardhat v2.3.0 https://hardhat.org

// File @openzeppelin/contracts/math/[email protected]

// 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 interfaces/IBEP20.sol



pragma solidity >=0.4.0;

interface IBEP20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

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

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

    /**
     * @dev Returns the bep token owner.
     */
    function getOwner() external view returns (address);

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


// File @openzeppelin/contracts/utils/[email protected]



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 libraries/SafeBEP20.sol



pragma solidity ^0.6.0;



/**
 * @title SafeBEP20
 * @dev Wrappers around BEP20 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 SafeBEP20 for IBEP20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeBEP20 {
    using SafeMath for uint256;
    using Address for address;

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

    function safeTransferFrom(
        IBEP20 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
     * {IBEP20-approve}, and its usage is discouraged.
     *
     * Whenever possible, use {safeIncreaseAllowance} and
     * {safeDecreaseAllowance} instead.
     */
    function safeApprove(
        IBEP20 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),
            'SafeBEP20: approve from non-zero to non-zero allowance'
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

    function safeIncreaseAllowance(
        IBEP20 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(
        IBEP20 token,
        address spender,
        uint256 value
    ) internal {
        uint256 newAllowance = token.allowance(address(this), spender).sub(
            value,
            'SafeBEP20: 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(IBEP20 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, 'SafeBEP20: low-level call failed');
        if (returndata.length > 0) {
            // Return data is optional
            // solhint-disable-next-line max-line-length
            require(abi.decode(returndata, (bool)), 'SafeBEP20: BEP20 operation did not succeed');
        }
    }
}


// File interfaces/IThoreumReferral.sol



pragma solidity 0.6.12;

interface IThoreumReferral {
    /**
     * @dev Record referral.
     */
    function recordReferral(address user, address referrer) external;

    /**
     * @dev Record referral commission.
     */
    function recordReferralCommission(address referrer, uint256 commission) external;

    /**
     * @dev Get the referrer address that referred the user.
     */
    function getReferrer(address user) external view returns (address);
}


// File @openzeppelin/contracts/utils/[email protected]



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 @openzeppelin/contracts/access/[email protected]



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/contracts/utils/[email protected]



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 @uniswap/v2-core/contracts/interfaces/[email protected]

pragma solidity >=0.5.0;

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 @uniswap/v2-periphery/contracts/interfaces/[email protected]

pragma solidity >=0.6.2;

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/v2-periphery/contracts/interfaces/[email protected]

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 ThoreumToken.sol



pragma solidity >= 0.6.12;






interface ERC20 {
    function totalSupply() external view returns (uint256);

    function balanceOf(address account) external view returns (uint256);

    function transfer(address recipient, uint256 amount) external returns (bool);

    function allowance(address owner, address spender) external view returns (uint256);

    function approve(address spender, uint256 amount) external returns (bool);

    function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);

    event Transfer(address indexed from, address indexed to, uint256 value);
    event Approval(address indexed owner, address indexed spender, uint256 value);
}

contract ThoreumToken is Context, ERC20, Ownable {
    using SafeMath for uint256;
    using Address for address;

    address public immutable deadAddress = 0x000000000000000000000000000000000000dEaD;
    mapping(address => uint256) private _rOwned;
    mapping(address => uint256) private _tOwned;
    mapping(address => mapping(address => uint256)) private _allowances;

    mapping(address => bool) private _isExcludedFromFee;
    mapping(address => bool) private _isExcluded;
    address[] private _excluded;

    // Addresses that excluded from antiWhale
    mapping(address => bool) private _excludedFromAntiWhale;

    // Address that include in thoreum LP list
    mapping(address => bool) private _includeInThoreumLpList;

    uint256 private constant MAX = ~uint256(0);
    uint256 private _tTotal = 5000000000 * 10 ** 18;
    uint256 private _rTotal = (MAX - (MAX % _tTotal));
    uint256 private _tFeeTotal;

    string private _name = "Thoreum";
    string private _symbol = "THOREUM";
    uint8 private _decimals = 18;

    uint256 public _taxFee = 200;
    uint256 private _previousTaxFee = _taxFee;
    uint256 public constant MAX_TAX_FEE = 1000;

    uint256 public _liquidityFee = 800;
    uint256 private _previousLiquidityFee = _liquidityFee;
    uint256 public constant MAX_LIQUIDITY_FEE = 1000;

    // Default zero for presale. After presale set to a greater amount
    uint256 public _maxTxAmount = 0;
    uint256 public constant MIN_TX_AMOUNT_HARD_CAP = 1 * 10 ** 18;

    uint256 private minimumTokensBeforeSwap = 50000 * 10 ** 18;
    uint256 private buyBackUpperLimit = 40 * 10 ** 14;       //40 * 0.0001 BNB

    // Minimum BNB balance before buyback IF lower than this number no buyback
    uint256 public minimumBalanceRequired = 1 * 10 ** 14;   //0.0001 BNB

    // Minimum THOREUM sell order to trigger buyback
    uint256 public minimumSellOrderAmount = 1000 * 10 ** 18;

    IUniswapV2Router02 public uniswapV2Router;
    address public uniswapV2Pair;

    bool inSwapAndLiquify;
    bool public swapAndLiquifyEnabled = false;
    bool public buyBackEnabled = true;

    event RewardLiquidityProviders(uint256 tokenAmount);
    event BuyBackEnabledUpdated(bool enabled);
    event SwapAndLiquifyEnabledUpdated(bool enabled);
    event SwapAndLiquify(uint256 tokensSwapped, uint256 ethReceived, uint256 tokensIntoLiqudity);
    event SwapETHForTokens(uint256 amountIn, address[] path);
    event SwapTokensForETH(uint256 amountIn, address[] path);
    event UpdateTaxFee(uint256 newRate);
    event UpdateLiquidityFee(uint256 newRate);
    event UpdateMaxTxAmount(uint256 newAmount);

    modifier lockTheSwap {
        inSwapAndLiquify = true;
        _;
        inSwapAndLiquify = false;
    }

    constructor () public {
        _rOwned[_msgSender()] = _rTotal;

        IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(0x10ED43C718714eb63d5aA57B78B54704E256024E);
        uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory())
        .createPair(address(this), _uniswapV2Router.WETH());

        uniswapV2Router = _uniswapV2Router;

        // Owner address will be included after official launch
        _isExcludedFromFee[owner()] = true;

        _isExcludedFromFee[address(this)] = true;

        //exclude from antiWhale
        _excludedFromAntiWhale[msg.sender] = true;
        _excludedFromAntiWhale[address(this)] = true;

        //include in liquidity list
        _includeInThoreumLpList[uniswapV2Pair] = true;

        emit Transfer(address(0), _msgSender(), _tTotal);
    }

    function name() public view returns (string memory) {
        return _name;
    }

    function symbol() public view returns (string memory) {
        return _symbol;
    }

    function decimals() public view returns (uint8) {
        return _decimals;
    }

    function totalSupply() public view override returns (uint256) {
        return _tTotal;
    }

    function balanceOf(address account) public view override returns (uint256) {
        if (_isExcluded[account]) return _tOwned[account];
        return tokenFromReflection(_rOwned[account]);
    }

    function transfer(address recipient, uint256 amount) public override returns (bool) {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

    function allowance(address owner, address spender) public view override returns (uint256) {
        return _allowances[owner][spender];
    }

    function approve(address spender, uint256 amount) public override returns (bool) {
        _approve(_msgSender(), spender, amount);
        return true;
    }

    function transferFrom(address sender, address recipient, uint256 amount) public override returns (bool) {
        _transfer(sender, recipient, amount);
        _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance"));
        return true;
    }

    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue));
        return true;
    }

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

    function isExcludedFromReward(address account) public view returns (bool) {
        return _isExcluded[account];
    }

    function totalFees() public view returns (uint256) {
        return _tFeeTotal;
    }

    function minimumTokensBeforeSwapAmount() public view returns (uint256) {
        return minimumTokensBeforeSwap;
    }

    function buyBackUpperLimitAmount() public view returns (uint256) {
        return buyBackUpperLimit;
    }

    function reflectionFromToken(uint256 tAmount, bool deductTransferFee) public view returns (uint256) {
        require(tAmount <= _tTotal, "Amount must be less than supply");
        if (!deductTransferFee) {
            (uint256 rAmount,,,,,) = _getValues(tAmount);
            return rAmount;
        } else {
            (,uint256 rTransferAmount,,,,) = _getValues(tAmount);
            return rTransferAmount;
        }
    }

    function tokenFromReflection(uint256 rAmount) public view returns (uint256) {
        require(rAmount <= _rTotal, "Amount must be less than total reflections");
        uint256 currentRate = _getRate();
        return rAmount.div(currentRate);
    }

    function excludeFromReward(address account) public onlyOwner() {

        require(!_isExcluded[account], "Account is already excluded");
        if (_rOwned[account] > 0) {
            _tOwned[account] = tokenFromReflection(_rOwned[account]);
        }
        _isExcluded[account] = true;
        _excluded.push(account);
    }

    function includeInReward(address account) external onlyOwner() {
        require(_isExcluded[account], "Account is already excluded");
        for (uint256 i = 0; i < _excluded.length; i++) {
            if (_excluded[i] == account) {
                _excluded[i] = _excluded[_excluded.length - 1];
                uint256 currentRate = _getRate();
                _rOwned[account] = _tOwned[account].mul(currentRate);
                _tOwned[account] = 0;
                _isExcluded[account] = false;
                _excluded.pop();
                break;
            }
        }
    }

    function isExcludedFromAntiWhale(address _account) public view returns (bool) {
        return _excludedFromAntiWhale[_account];
    }

    function setExcludedFromAntiWhale(address _account, bool _isExcludedOrNot) public onlyOwner {
        require(_account != address(0), "BEP20: invalid account address");
        _excludedFromAntiWhale[_account] = _isExcludedOrNot;
    }

    function isIncludedInThoreumLpList(address _address) public view returns (bool) {
        return _includeInThoreumLpList[_address];
    }

    function setIncludeInThoreumLpList(address _address, bool _isIncludedOrNot) public onlyOwner {
        require(_address != address(0), "BEP20: invalid LP address");
        require(_address != uniswapV2Pair || _isIncludedOrNot == true, "Cannot exclude uniswapV2Pair");
        _includeInThoreumLpList[_address] = _isIncludedOrNot;
    }

    function _approve(address owner, address spender, uint256 amount) private {
        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);
    }

    function _transfer(
        address from,
        address to,
        uint256 amount
    ) private {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");
        require(amount > 0, "Transfer amount must be greater than zero");

        if (!isExcludedFromAntiWhale(from) && !isExcludedFromAntiWhale(to)) {
            require(amount <= _maxTxAmount, "Transfer amount exceeds the maxTxAmount.");
        }

        uint256 contractTokenBalance = balanceOf(address(this));
        bool overMinimumTokenBalance = contractTokenBalance >= minimumTokensBeforeSwap;

        if (
            !inSwapAndLiquify
        && swapAndLiquifyEnabled
        && !isIncludedInThoreumLpList(from)
        && from != owner()
        ) {
            if (overMinimumTokenBalance) {
                contractTokenBalance = minimumTokensBeforeSwap;
                swapTokens(contractTokenBalance);
            }

            if (isIncludedInThoreumLpList(to)) {
                uint256 balance = address(this).balance;
                if (buyBackEnabled && balance >= minimumBalanceRequired && amount >= minimumSellOrderAmount) {

                    if (balance > buyBackUpperLimit) {
                        balance = buyBackUpperLimit;
                    }

                    buyBackTokens(balance.div(100));
                }
            }
        }

        bool takeFee = true;

        //if any account belongs to _isExcludedFromFee account then remove the fee
        if (_isExcludedFromFee[from] || _isExcludedFromFee[to]) {
            takeFee = false;
        }

        _tokenTransfer(from, to, amount, takeFee);
    }

    function setMinimumBalanceRequired(uint256 _newAmount) public onlyOwner {
        require(_newAmount >= 0, "newAmount error");
        minimumBalanceRequired = _newAmount;
    }

    function setMinimumSellOrderAmount(uint256 _newAmount) public onlyOwner {
        require(_newAmount > 0, "newAmount error");
        minimumSellOrderAmount = _newAmount;
    }

    function swapTokens(uint256 contractTokenBalance) private lockTheSwap {
        swapTokensForEth(contractTokenBalance);
    }

    function buyBackTokens(uint256 amount) private lockTheSwap {
        if (amount > 0) {
            swapETHForTokens(amount);
        }
    }

    function swapTokensForEth(uint256 tokenAmount) private {
        // generate the uniswap pair path of token -> weth
        address[] memory path = new address[](2);
        path[0] = address(this);
        path[1] = uniswapV2Router.WETH();

        _approve(address(this), address(uniswapV2Router), tokenAmount);

        // make the swap
        uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(
            tokenAmount,
            0, // accept any amount of ETH
            path,
            address(this), // The contract
            block.timestamp
        );

        emit SwapTokensForETH(tokenAmount, path);
    }

    function swapETHForTokens(uint256 amount) private {
        // generate the uniswap pair path of token -> weth
        address[] memory path = new address[](2);
        path[0] = uniswapV2Router.WETH();
        path[1] = address(this);

        // make the swap
        uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value : amount}(
            0, // accept any amount of Tokens
            path,
            deadAddress, // Burn address
            block.timestamp.add(300)
        );

        emit SwapETHForTokens(amount, path);
    }

    function _tokenTransfer(address sender, address recipient, uint256 amount, bool takeFee) private {
        if (!takeFee)
            removeAllFee();

        if (_isExcluded[sender] && !_isExcluded[recipient]) {
            _transferFromExcluded(sender, recipient, amount);
        } else if (!_isExcluded[sender] && _isExcluded[recipient]) {
            _transferToExcluded(sender, recipient, amount);
        } else if (_isExcluded[sender] && _isExcluded[recipient]) {
            _transferBothExcluded(sender, recipient, amount);
        } else {
            _transferStandard(sender, recipient, amount);
        }

        if (!takeFee)
            restoreAllFee();
    }

    function _transferStandard(address sender, address recipient, uint256 tAmount) private {
        (uint256 rAmount, uint256 rTransferAmount, uint256 rFee, uint256 tTransferAmount, uint256 tFee, uint256 tLiquidity) = _getValues(tAmount);
        _rOwned[sender] = _rOwned[sender].sub(rAmount);
        _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount);
        _takeLiquidity(tLiquidity);
        _reflectFee(rFee, tFee);
        emit Transfer(sender, recipient, tTransferAmount);
    }

    function _transferToExcluded(address sender, address recipient, uint256 tAmount) private {
        (uint256 rAmount, uint256 rTransferAmount, uint256 rFee, uint256 tTransferAmount, uint256 tFee, uint256 tLiquidity) = _getValues(tAmount);
        _rOwned[sender] = _rOwned[sender].sub(rAmount);
        _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount);
        _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount);
        _takeLiquidity(tLiquidity);
        _reflectFee(rFee, tFee);
        emit Transfer(sender, recipient, tTransferAmount);
    }

    function _transferFromExcluded(address sender, address recipient, uint256 tAmount) private {
        (uint256 rAmount, uint256 rTransferAmount, uint256 rFee, uint256 tTransferAmount, uint256 tFee, uint256 tLiquidity) = _getValues(tAmount);
        _tOwned[sender] = _tOwned[sender].sub(tAmount);
        _rOwned[sender] = _rOwned[sender].sub(rAmount);
        _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount);
        _takeLiquidity(tLiquidity);
        _reflectFee(rFee, tFee);
        emit Transfer(sender, recipient, tTransferAmount);
    }

    function _transferBothExcluded(address sender, address recipient, uint256 tAmount) private {
        (uint256 rAmount, uint256 rTransferAmount, uint256 rFee, uint256 tTransferAmount, uint256 tFee, uint256 tLiquidity) = _getValues(tAmount);
        _tOwned[sender] = _tOwned[sender].sub(tAmount);
        _rOwned[sender] = _rOwned[sender].sub(rAmount);
        _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount);
        _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount);
        _takeLiquidity(tLiquidity);
        _reflectFee(rFee, tFee);
        emit Transfer(sender, recipient, tTransferAmount);
    }

    function _reflectFee(uint256 rFee, uint256 tFee) private {
        _rTotal = _rTotal.sub(rFee);
        _tFeeTotal = _tFeeTotal.add(tFee);
    }

    function _getValues(uint256 tAmount) private view returns (uint256, uint256, uint256, uint256, uint256, uint256) {
        (uint256 tTransferAmount, uint256 tFee, uint256 tLiquidity) = _getTValues(tAmount);
        (uint256 rAmount, uint256 rTransferAmount, uint256 rFee) = _getRValues(tAmount, tFee, tLiquidity, _getRate());
        return (rAmount, rTransferAmount, rFee, tTransferAmount, tFee, tLiquidity);
    }

    function _getTValues(uint256 tAmount) private view returns (uint256, uint256, uint256) {
        uint256 tFee = calculateTaxFee(tAmount);
        uint256 tLiquidity = calculateLiquidityFee(tAmount);
        uint256 tTransferAmount = tAmount.sub(tFee).sub(tLiquidity);
        return (tTransferAmount, tFee, tLiquidity);
    }

    function _getRValues(uint256 tAmount, uint256 tFee, uint256 tLiquidity, uint256 currentRate) private pure returns (uint256, uint256, uint256) {
        uint256 rAmount = tAmount.mul(currentRate);
        uint256 rFee = tFee.mul(currentRate);
        uint256 rLiquidity = tLiquidity.mul(currentRate);
        uint256 rTransferAmount = rAmount.sub(rFee).sub(rLiquidity);
        return (rAmount, rTransferAmount, rFee);
    }

    function _getRate() private view returns (uint256) {
        (uint256 rSupply, uint256 tSupply) = _getCurrentSupply();
        return rSupply.div(tSupply);
    }

    function _getCurrentSupply() private view returns (uint256, uint256) {
        uint256 rSupply = _rTotal;
        uint256 tSupply = _tTotal;
        for (uint256 i = 0; i < _excluded.length; i++) {
            if (_rOwned[_excluded[i]] > rSupply || _tOwned[_excluded[i]] > tSupply) return (_rTotal, _tTotal);
            rSupply = rSupply.sub(_rOwned[_excluded[i]]);
            tSupply = tSupply.sub(_tOwned[_excluded[i]]);
        }
        if (rSupply < _rTotal.div(_tTotal)) return (_rTotal, _tTotal);
        return (rSupply, tSupply);
    }

    function _takeLiquidity(uint256 tLiquidity) private {
        uint256 currentRate = _getRate();
        uint256 rLiquidity = tLiquidity.mul(currentRate);
        _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity);
        if (_isExcluded[address(this)])
            _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity);
    }

    function calculateTaxFee(uint256 _amount) private view returns (uint256) {
        return _amount.mul(_taxFee).div(10000);
    }

    function calculateLiquidityFee(uint256 _amount) private view returns (uint256) {
        return _amount.mul(_liquidityFee).div(10000);
    }

    function removeAllFee() private {
        if (_taxFee == 0 && _liquidityFee == 0) return;

        _previousTaxFee = _taxFee;
        _previousLiquidityFee = _liquidityFee;

        _taxFee = 0;
        _liquidityFee = 0;
    }

    function restoreAllFee() private {
        _taxFee = _previousTaxFee;
        _liquidityFee = _previousLiquidityFee;
    }

    function isExcludedFromFee(address account) public view returns (bool) {
        return _isExcludedFromFee[account];
    }

    function excludeFromFee(address account) public onlyOwner {
        _isExcludedFromFee[account] = true;
    }

    function includeInFee(address account) public onlyOwner {
        _isExcludedFromFee[account] = false;
    }

    function setTaxFeePercent(uint256 taxFee) external onlyOwner() {
        require(taxFee <= MAX_TAX_FEE, "taxFee is too high");
        _taxFee = taxFee;

        emit UpdateTaxFee(taxFee);
    }

    function setLiquidityFeePercent(uint256 liquidityFee) external onlyOwner() {
        require(liquidityFee <= MAX_LIQUIDITY_FEE, "liquidityFee is too high");
        _liquidityFee = liquidityFee;

        emit UpdateLiquidityFee(liquidityFee);
    }

    function setMaxTxAmount(uint256 maxTxAmount) external onlyOwner() {
        require(maxTxAmount >= MIN_TX_AMOUNT_HARD_CAP, "maxTxAmount have to be greater than 1 thoreum");
        _maxTxAmount = maxTxAmount;

        emit UpdateMaxTxAmount(maxTxAmount);
    }

    function setNumTokensSellToAddToLiquidity(uint256 _minimumTokensBeforeSwap) external onlyOwner() {
        minimumTokensBeforeSwap = _minimumTokensBeforeSwap;
    }

    function setBuybackUpperLimit(uint256 buyBackLimit) external onlyOwner() {
        buyBackUpperLimit = buyBackLimit * 10 ** 18;
    }

    function setSwapAndLiquifyEnabled(bool _enabled) public onlyOwner {
        swapAndLiquifyEnabled = _enabled;
        emit SwapAndLiquifyEnabledUpdated(_enabled);
    }

    function setBuyBackEnabled(bool _enabled) public onlyOwner {
        buyBackEnabled = _enabled;
        emit BuyBackEnabledUpdated(_enabled);
    }

    // manual buyback and burn
    function buyBackAndBurn(uint256 _amount) public onlyOwner {
        uint256 balance = address(this).balance;
        require(buyBackEnabled, "buyback is not enabled");
        require(balance >= minimumBalanceRequired.add(_amount), "buyback amount is too big");

        if (
            !inSwapAndLiquify
        ) {
            buyBackTokens(_amount);
        }
    }

    //to receive ETH from uniswapV2Router when swapping
    receive() external payable {}
}


// File MasterChef.sol



pragma solidity 0.6.12;
// MasterChef is the master of Thoreum. He can make Thoreum and he is a fair guy.
//
// Note that it's ownable and the owner wields tremendous power. The ownership
// will be transferred to a governance smart contract once THOREUM is sufficiently
// distributed and the community can show to govern itself.
//
// Have fun reading it. Hopefully it's bug-free. God bless.
contract MasterChef is Ownable, ReentrancyGuard {
    using SafeMath for uint256;
    using SafeBEP20 for IBEP20;

    // Info of each user.
    struct UserInfo {
        uint256 amount;           // How many LP tokens the user has provided.
        uint256 rewardDebt;       // Reward debt. See explanation below.
        uint256 rewardLockedUp;   // Reward locked up.
        uint256 nextHarvestUntil; // When can the user harvest again.
        //
        // We do some fancy math here. Basically, any point in time, the amount of THOREUM
        // entitled to a user but is pending to be distributed is:
        //
        //   pending reward = (user.amount * pool.accThoreumPerShare) - user.rewardDebt
        //
        // Whenever a user deposits or withdraws LP tokens to a pool. Here's what happens:
        //   1. The pool's `accThoreumPerShare` (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 {
        IBEP20 lpToken;             // Address of LP token contract.
        uint256 allocPoint;         // How many allocation points assigned to this pool. THOREUM to distribute per block.
        uint256 lastRewardBlock;    // Last block number that THOREUM distribution occurs.
        uint256 accThoreumPerShare; // Accumulated THOREUM per share, times 1e12. See below.
        uint16 depositFeeBP;        // Deposit fee in basis points
        uint256 harvestInterval;    // Harvest interval in seconds
        uint256 totalLp;            // Total Token in Pool
    }

    // The THOREUM TOKEN!
    ThoreumToken public thoreum;
    // The operator can only update EmissionRate and AllocPoint to protect tokenomics
    //i.e some wrong setting and a pools get too much allocation accidentally
    address private _operator;
    // Dev address.
    address public devAddress;
    // Deposit Fee address
    address public feeAddress;
    // THOREUM tokens created per block.
    uint256 public thoreumPerBlock;
    uint256 public constant MAX_THOREUM_PER_BLOCK = 2000 * 10 ** 18;
    // Bonus multiplier for early thoreum makers.
    uint256 public constant BONUS_MULTIPLIER = 1;
    // Max harvest interval: 14 days.
    uint256 public constant MAXIMUM_HARVEST_INTERVAL = 14 days;
    // Info of each pool.
    PoolInfo[] public poolInfo;
    // Info of each user that stakes LP tokens.
    mapping(uint256 => mapping(address => UserInfo)) public userInfo;
    // Total allocation points. Must be the sum of all allocation points in all pools.
    uint256 public totalAllocPoint = 0;
    // The block number when THOREUM mining starts.
    uint256 public startBlock;
    // Total locked up rewards
    uint256 public totalLockedUpRewards;
    // Total THOREUM in THOREUM Pools (can be multiple pools)
    uint256 public totalThoreumInPools = 0;
    // Thoreum referral contract address.
    IThoreumReferral public thoreumReferral;
    // Referral commission rate in basis points.
    uint16 public referralCommissionRate = 300;
    // Max referral commission rate: 10%.
    uint16 public constant MAXIMUM_REFERRAL_COMMISSION_RATE = 1000;
    // Maximum deposit fee rate: 10%
    uint16 public constant MAXIMUM_DEPOSIT_FEE_RATE = 1000;

    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 EmissionRateUpdated(address indexed caller, uint256 previousAmount, uint256 newAmount);
    event ReferralCommissionPaid(address indexed user, address indexed referrer, uint256 commissionAmount);
    event RewardLockedUp(address indexed user, uint256 indexed pid, uint256 amountLockedUp);
    event OperatorTransferred(address indexed previousOperator, address indexed newOperator);

    modifier onlyOperator() {
        require(_operator == msg.sender, "Operator: caller is not the operator");
        _;
    }

    constructor(
        ThoreumToken _thoreum,
        uint256 _thoreumPerBlock
    ) public {
        //StartBlock always many years later from contract construct, will be set later in StartFarming function
        startBlock = block.number + (10 * 365 * 24 * 60 * 60);

        thoreum = _thoreum;
        thoreumPerBlock = _thoreumPerBlock;

        devAddress = msg.sender;
        feeAddress = msg.sender;
        _operator = msg.sender;
        emit OperatorTransferred(address(0), _operator);
    }

    function operator() public view returns (address) {
        return _operator;
    }

    function transferOperator(address newOperator) public onlyOperator {
        require(newOperator != address(0), "TransferOperator: new operator is the zero address");
        emit OperatorTransferred(_operator, newOperator);
        _operator = newOperator;
    }

    // Set farming start, can call only once
    function startFarming() public onlyOwner {
        require(block.number < startBlock, "Error::Farm started already");

        uint256 length = poolInfo.length;
        for (uint256 pid = 0; pid < length; ++pid) {
            PoolInfo storage pool = poolInfo[pid];
            pool.lastRewardBlock = block.number;
        }

        startBlock = block.number;
    }

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

    //actual Thoreum lef in MasterChef can be used in rewards, must excluding all in thoreum pools
    //this function is for safety check only not used anywhere
    function remainRewards() external view returns (uint256) {
        return thoreum.balanceOf(address(this)).sub(totalThoreumInPools);
    }

    // Add a new lp to the pool. Can only be called by the owner.
    // Can add multiple pool with same lp token without messing up rewards, because each pool's balance is tracked using its own totalLp
    function add(uint256 _allocPoint, IBEP20 _lpToken, uint16 _depositFeeBP, uint256 _harvestInterval, bool _withUpdate) public onlyOwner {
        require(_depositFeeBP <= MAXIMUM_DEPOSIT_FEE_RATE, "add: deposit fee too high");
        require(_harvestInterval <= MAXIMUM_HARVEST_INTERVAL, "add: invalid harvest interval");
        if (_withUpdate) {
            massUpdatePools();
        }
        uint256 lastRewardBlock = block.number > startBlock ? block.number : startBlock;
        totalAllocPoint = totalAllocPoint.add(_allocPoint);
        poolInfo.push(PoolInfo({
        lpToken : _lpToken,
        allocPoint : _allocPoint,
        lastRewardBlock : lastRewardBlock,
        accThoreumPerShare : 0,
        depositFeeBP : _depositFeeBP,
        harvestInterval : _harvestInterval,
        totalLp : 0
        }));
    }

    // Update the given pool's THOREUM allocation point and deposit fee. Can only be called by the owner.
    function set(uint256 _pid, uint256 _allocPoint, uint16 _depositFeeBP, uint256 _harvestInterval, bool _withUpdate) public onlyOwner {
        require(_depositFeeBP <= MAXIMUM_DEPOSIT_FEE_RATE, "set: deposit fee too high");
        require(_harvestInterval <= MAXIMUM_HARVEST_INTERVAL, "set: invalid harvest interval");
        if (_withUpdate) {
            massUpdatePools();
        }
        totalAllocPoint = totalAllocPoint.sub(poolInfo[_pid].allocPoint).add(_allocPoint);
        poolInfo[_pid].allocPoint = _allocPoint;
        poolInfo[_pid].depositFeeBP = _depositFeeBP;
        poolInfo[_pid].harvestInterval = _harvestInterval;
    }

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

    // View function to see pending THOREUM on frontend.
    function pendingThoreum(uint256 _pid, address _user) external view returns (uint256) {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][_user];
        uint256 accThoreumPerShare = pool.accThoreumPerShare;
        uint256 lpSupply = pool.totalLp;

        if (block.number > pool.lastRewardBlock && lpSupply != 0) {
            uint256 multiplier = getMultiplier(pool.lastRewardBlock, block.number);
            uint256 thoreumReward = multiplier.mul(thoreumPerBlock).mul(pool.allocPoint).div(totalAllocPoint);
            accThoreumPerShare = accThoreumPerShare.add(thoreumReward.mul(1e12).div(lpSupply));
        }
        uint256 pending = user.amount.mul(accThoreumPerShare).div(1e12).sub(user.rewardDebt);
        return pending.add(user.rewardLockedUp);
    }

    // View function to see if user can harvest THOREUM.
    function canHarvest(uint256 _pid, address _user) public view returns (bool) {
        UserInfo storage user = userInfo[_pid][_user];
        return block.number >= startBlock && block.timestamp >= user.nextHarvestUntil;
    }

    //this function make sure even thousands of pool gas fee is still low because transfer is just 1 time
    function massUpdatePools() public {
        uint256 length = poolInfo.length;
        uint256 totalReward = 0;

        for (uint256 pid = 0; pid < length; ++pid) {
            PoolInfo storage pool = poolInfo[pid];
            if (block.number <= pool.lastRewardBlock) {
                continue;
            }

            if (pool.totalLp == 0 || pool.allocPoint == 0) {
                pool.lastRewardBlock = block.number;
                continue;
            }

            uint256 multiplier = getMultiplier(pool.lastRewardBlock, block.number);
            uint256 thoreumReward = multiplier.mul(thoreumPerBlock).mul(pool.allocPoint).div(totalAllocPoint);

            pool.accThoreumPerShare = pool.accThoreumPerShare.add(thoreumReward.mul(1e12).div(pool.totalLp));
            pool.lastRewardBlock = block.number;

            totalReward.add(thoreumReward.div(10));
        }

        safeThoreumTransfer(devAddress, totalReward);
    }

    // Update reward variables of the given pool to be up-to-date.
    function updatePool(uint256 _pid) public {
        PoolInfo storage pool = poolInfo[_pid];
        if (block.number <= pool.lastRewardBlock) {
            return;
        }

        if (pool.totalLp == 0 || pool.allocPoint == 0) {
            pool.lastRewardBlock = block.number;
            return;
        }

        uint256 multiplier = getMultiplier(pool.lastRewardBlock, block.number);
        uint256 thoreumReward = multiplier.mul(thoreumPerBlock).mul(pool.allocPoint).div(totalAllocPoint);

        pool.accThoreumPerShare = pool.accThoreumPerShare.add(thoreumReward.mul(1e12).div(pool.totalLp));
        pool.lastRewardBlock = block.number;

        safeThoreumTransfer(devAddress, thoreumReward.div(10));
    }

    // Deposit LP tokens to MasterChef for THOREUM allocation.
    function deposit(uint256 _pid, uint256 _amount, address _referrer) public nonReentrant {
        require(block.number >= startBlock, "MasterChef:: Can not deposit before farm start");

        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][msg.sender];
        updatePool(_pid);
        if (_amount > 0 && address(thoreumReferral) != address(0) && _referrer != address(0) && _referrer != msg.sender) {
            thoreumReferral.recordReferral(msg.sender, _referrer);
        }
        payOrLockupPendingThoreum(_pid);
        if (_amount > 0) {
            uint256 beforeDeposit = pool.lpToken.balanceOf(address(this));
            pool.lpToken.safeTransferFrom(address(msg.sender), address(this), _amount);
            uint256 afterDeposit = pool.lpToken.balanceOf(address(this));

            _amount = afterDeposit.sub(beforeDeposit);

            if (pool.depositFeeBP > 0) {
                uint256 depositFee = _amount.mul(pool.depositFeeBP).div(10000);
                pool.lpToken.safeTransfer(feeAddress, depositFee);
                user.amount = user.amount.add(_amount).sub(depositFee);
                pool.totalLp = pool.totalLp.add(_amount).sub(depositFee);

                if (address(pool.lpToken) == address(thoreum)) {
                    totalThoreumInPools = totalThoreumInPools.add(_amount).sub(depositFee);
                }
            } else {
                user.amount = user.amount.add(_amount);
                pool.totalLp = pool.totalLp.add(_amount);

                if (address(pool.lpToken) == address(thoreum)) {
                    totalThoreumInPools = totalThoreumInPools.add(_amount);
                }
            }
        }
        user.rewardDebt = user.amount.mul(pool.accThoreumPerShare).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: User amount not enough");
        //this will make sure that user can only withdraw from his pool
        //cannot withdraw more than pool's balance and from MasterChef's token
        require(pool.totalLp >= _amount, "Withdraw: Pool total LP not enough");

        updatePool(_pid);
        payOrLockupPendingThoreum(_pid);
        if (_amount > 0) {
            user.amount = user.amount.sub(_amount);
            pool.totalLp = pool.totalLp.sub(_amount);
            if (address(pool.lpToken) == address(thoreum)) {
                totalThoreumInPools = totalThoreumInPools.sub(_amount);
            }
            pool.lpToken.safeTransfer(address(msg.sender), _amount);

        }
        user.rewardDebt = user.amount.mul(pool.accThoreumPerShare).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;

        require(pool.totalLp >= amount, "EmergencyWithdraw: Pool total LP not enough");

        user.amount = 0;
        user.rewardDebt = 0;
        user.rewardLockedUp = 0;
        user.nextHarvestUntil = 0;
        pool.totalLp = pool.totalLp.sub(amount);
        if (address(pool.lpToken) == address(thoreum)) {
            totalThoreumInPools = totalThoreumInPools.sub(amount);
        }
        pool.lpToken.safeTransfer(address(msg.sender), amount);

        emit EmergencyWithdraw(msg.sender, _pid, amount);
    }

    // Pay or lockup pending THOREUM.
    function payOrLockupPendingThoreum(uint256 _pid) internal {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][msg.sender];

        if (user.nextHarvestUntil == 0 && block.number >= startBlock) {
            user.nextHarvestUntil = block.timestamp.add(pool.harvestInterval);
        }

        uint256 pending = user.amount.mul(pool.accThoreumPerShare).div(1e12).sub(user.rewardDebt);
        if (canHarvest(_pid, msg.sender)) {
            if (pending > 0 || user.rewardLockedUp > 0) {
                uint256 totalRewards = pending.add(user.rewardLockedUp);

                // reset lockup
                totalLockedUpRewards = totalLockedUpRewards.sub(user.rewardLockedUp);
                user.rewardLockedUp = 0;
                user.nextHarvestUntil = block.timestamp.add(pool.harvestInterval);

                // send rewards
                safeThoreumTransfer(msg.sender, totalRewards);
                payReferralCommission(msg.sender, totalRewards);
            }
        } else if (pending > 0) {
            user.rewardLockedUp = user.rewardLockedUp.add(pending);
            totalLockedUpRewards = totalLockedUpRewards.add(pending);
            emit RewardLockedUp(msg.sender, _pid, pending);
        }
    }

    // Safe thoreum transfer function, just in case if rounding error causes pool do not have enough THOREUM.
    function safeThoreumTransfer(address _to, uint256 _amount) internal {
        if (thoreum.balanceOf(address(this)) > totalThoreumInPools) {
            //thoreumBal = total thoreum in MasterChef - total thoreum in thoreum pools, this will make sure that MasterChef never transfer rewards from deposited thoreum pools
            uint256 thoreumBal = thoreum.balanceOf(address(this)).sub(totalThoreumInPools);
            if (_amount >= thoreumBal) {
                thoreum.transfer(_to, thoreumBal);
            } else if (_amount > 0) {
                thoreum.transfer(_to, _amount);
            }
        }
    }

    // Update dev address by the previous dev.
    function setDevAddress(address _devAddress) public {
        require(msg.sender == devAddress, "setDevAddress: FORBIDDEN");
        require(_devAddress != address(0), "setDevAddress: ZERO");
        devAddress = _devAddress;
    }

    function setFeeAddress(address _feeAddress) public {
        require(msg.sender == feeAddress, "setFeeAddress: FORBIDDEN");
        require(_feeAddress != address(0), "setFeeAddress: ZERO");
        feeAddress = _feeAddress;
    }

    // Update the thoreum referral contract address by the owner
    function setThoreumReferral(IThoreumReferral _thoreumReferral) public onlyOwner {
        thoreumReferral = _thoreumReferral;
    }

    // Update referral commission rate by the owner
    function setReferralCommissionRate(uint16 _referralCommissionRate) public onlyOperator {
        require(_referralCommissionRate <= MAXIMUM_REFERRAL_COMMISSION_RATE, "setReferralCommissionRate: referral commission rate too high");
        referralCommissionRate = _referralCommissionRate;
    }

    // Pay referral commission to the referrer who referred this user.
    function payReferralCommission(address _user, uint256 _pending) internal {
        if (address(thoreumReferral) != address(0) && referralCommissionRate > 0) {
            address referrer = thoreumReferral.getReferrer(_user);
            uint256 commissionAmount = _pending.mul(referralCommissionRate).div(10000);

            if (referrer != address(0) && commissionAmount > 0) {
                safeThoreumTransfer(referrer, commissionAmount);
                thoreumReferral.recordReferralCommission(referrer, commissionAmount);
                emit ReferralCommissionPaid(_user, referrer, commissionAmount);
            }
        }
    }

    // Pancake has to add hidden dummy pools in order to alter the emission, here we make it simple and transparent to all.
    function updateEmissionRate(uint256 _thoreumPerBlock) public onlyOperator {
        require(_thoreumPerBlock <= MAX_THOREUM_PER_BLOCK, "THOREUM per block too high");
        massUpdatePools();

        emit EmissionRateUpdated(msg.sender, thoreumPerBlock, _thoreumPerBlock);
        thoreumPerBlock = _thoreumPerBlock;
    }

    function updateAllocPoint(uint256 _pid, uint256 _allocPoint, bool _withUpdate) public onlyOperator {
        if (_withUpdate) {
            massUpdatePools();
        }

        totalAllocPoint = totalAllocPoint.sub(poolInfo[_pid].allocPoint).add(_allocPoint);
        poolInfo[_pid].allocPoint = _allocPoint;
    }
}

Contract ABI

[{"inputs":[{"internalType":"contract ThoreumToken","name":"_thoreum","type":"address"},{"internalType":"uint256","name":"_thoreumPerBlock","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":true,"internalType":"address","name":"caller","type":"address"},{"indexed":false,"internalType":"uint256","name":"previousAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"EmissionRateUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOperator","type":"address"},{"indexed":true,"internalType":"address","name":"newOperator","type":"address"}],"name":"OperatorTransferred","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":"referrer","type":"address"},{"indexed":false,"internalType":"uint256","name":"commissionAmount","type":"uint256"}],"name":"ReferralCommissionPaid","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":"amountLockedUp","type":"uint256"}],"name":"RewardLockedUp","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":[],"name":"MAXIMUM_DEPOSIT_FEE_RATE","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAXIMUM_HARVEST_INTERVAL","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAXIMUM_REFERRAL_COMMISSION_RATE","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_THOREUM_PER_BLOCK","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_allocPoint","type":"uint256"},{"internalType":"contract IBEP20","name":"_lpToken","type":"address"},{"internalType":"uint16","name":"_depositFeeBP","type":"uint16"},{"internalType":"uint256","name":"_harvestInterval","type":"uint256"},{"internalType":"bool","name":"_withUpdate","type":"bool"}],"name":"add","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"address","name":"_user","type":"address"}],"name":"canHarvest","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"address","name":"_referrer","type":"address"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"devAddress","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":[],"name":"feeAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_from","type":"uint256"},{"internalType":"uint256","name":"_to","type":"uint256"}],"name":"getMultiplier","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"massUpdatePools","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"operator","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"pendingThoreum","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"poolInfo","outputs":[{"internalType":"contract IBEP20","name":"lpToken","type":"address"},{"internalType":"uint256","name":"allocPoint","type":"uint256"},{"internalType":"uint256","name":"lastRewardBlock","type":"uint256"},{"internalType":"uint256","name":"accThoreumPerShare","type":"uint256"},{"internalType":"uint16","name":"depositFeeBP","type":"uint16"},{"internalType":"uint256","name":"harvestInterval","type":"uint256"},{"internalType":"uint256","name":"totalLp","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"poolLength","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"referralCommissionRate","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"remainRewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"uint256","name":"_harvestInterval","type":"uint256"},{"internalType":"bool","name":"_withUpdate","type":"bool"}],"name":"set","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_devAddress","type":"address"}],"name":"setDevAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_feeAddress","type":"address"}],"name":"setFeeAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_referralCommissionRate","type":"uint16"}],"name":"setReferralCommissionRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IThoreumReferral","name":"_thoreumReferral","type":"address"}],"name":"setThoreumReferral","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"startFarming","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"thoreum","outputs":[{"internalType":"contract ThoreumToken","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"thoreumPerBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"thoreumReferral","outputs":[{"internalType":"contract IThoreumReferral","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalAllocPoint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalLockedUpRewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalThoreumInPools","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOperator","type":"address"}],"name":"transferOperator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_allocPoint","type":"uint256"},{"internalType":"bool","name":"_withUpdate","type":"bool"}],"name":"updateAllocPoint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_thoreumPerBlock","type":"uint256"}],"name":"updateEmissionRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"updatePool","outputs":[],"stateMutability":"nonpayable","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"},{"internalType":"uint256","name":"rewardLockedUp","type":"uint256"},{"internalType":"uint256","name":"nextHarvestUntil","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"}]

608060405260006009819055600c55600d805461ffff60a01b1916604b60a21b1790553480156200002f57600080fd5b5060405162002ddc38038062002ddc833981810160405260408110156200005557600080fd5b50805160209091015160006200006a6200013f565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600180556312cc03004301600a55600280546001600160a01b038085166001600160a01b031992831617909255600683905560048054821633908117909155600580548316821790556003805490921617908190556040519116906000907f74da04524d50c64947f5dd5381ef1a4dca5cba8ed1d816243f9e48aa0b5617ed908290a3505062000143565b3390565b612c8980620001536000396000f3fe608060405234801561001057600080fd5b50600436106102535760003560e01c806355dbc826116101465780638dbdbe6d116100c3578063bde4aeca11610087578063bde4aeca1461060d578063d0d41fe114610638578063d30ef61b1461065e578063d8ec0cbd14610666578063de73149d14610692578063f2fde38b1461069a57610253565b80638dbdbe6d1461053557806393f1a40b146105675780639e659337146105b9578063af018de8146105c1578063afbcfea11461060557610253565b8063812c64f11161010a578063812c64f11461043a5780638705fcd4146104dc5780638aa28550146105025780638da5cb5b1461050a5780638dbb1e3a1461051257610253565b806355dbc8261461049b578063570ca735146104bc578063630b5ba1146104c4578063715018a6146104cc5780637f2e0ec2146104d457610253565b80633ad10ef6116101d4578063474fa63011610198578063474fa6301461043257806348b22bfb1461043a57806348cd4cb11461045957806351eb05a6146104615780635312ea8e1461047e57610253565b80633ad10ef6146103d157806341275358146103d957806343f72398146103e1578063441a3e701461040757806345db388d1461042a57610253565b806318a36e8f1161021b57806318a36e8f146103205780632143e5451461032857806329605e77146103635780632e6c998d146103895780632f3f96ff146103c957610253565b806305d4bb4414610258578063081e3eda1461027c5780630ba84cd2146102965780631526fe27146102b557806317caf6f114610318575b600080fd5b6102606106c0565b604080516001600160a01b039092168252519081900360200190f35b6102846106cf565b60408051918252519081900360200190f35b6102b3600480360360208110156102ac57600080fd5b50356106d5565b005b6102d2600480360360208110156102cb57600080fd5b50356107c7565b604080516001600160a01b039098168852602088019690965286860194909452606086019290925261ffff16608085015260a084015260c0830152519081900360e00190f35b610284610821565b610284610827565b6102b3600480360360a081101561033e57600080fd5b5080359060208101359061ffff60408201351690606081013590608001351515610834565b6102b36004803603602081101561037957600080fd5b50356001600160a01b0316610a20565b6103b56004803603604081101561039f57600080fd5b50803590602001356001600160a01b0316610b0a565b604080519115158252519081900360200190f35b610284610b4c565b610260610b52565b610260610b61565b6102b3600480360360208110156103f757600080fd5b50356001600160a01b0316610b70565b6102b36004803603604081101561041d57600080fd5b5080359060200135610bf4565b610284610e04565b610284610e0a565b610442610e10565b6040805161ffff9092168252519081900360200190f35b610284610e16565b6102b36004803603602081101561047757600080fd5b5035610e1c565b6102b36004803603602081101561049457600080fd5b5035610f0f565b6102b3600480360360208110156104b157600080fd5b503561ffff16611099565b610260611149565b6102b3611158565b6102b361125f565b61028461130b565b6102b3600480360360208110156104f257600080fd5b50356001600160a01b0316611399565b61028461146b565b610260611470565b6102846004803603604081101561052857600080fd5b508035906020013561147f565b6102b36004803603606081101561054b57600080fd5b50803590602081013590604001356001600160a01b0316611497565b6105936004803603604081101561057d57600080fd5b50803590602001356001600160a01b03166118b9565b604080519485526020850193909352838301919091526060830152519081900360800190f35b6102606118eb565b6102b3600480360360a08110156105d757600080fd5b508035906001600160a01b036020820135169061ffff604082013516906060810135906080013515156118fa565b6102b3611bd1565b6102b36004803603606081101561062357600080fd5b50803590602081013590604001351515611ccc565b6102b36004803603602081101561064e57600080fd5b50356001600160a01b0316611d65565b610442611e37565b6102846004803603604081101561067c57600080fd5b50803590602001356001600160a01b0316611e48565b610284611f58565b6102b3600480360360208110156106b057600080fd5b50356001600160a01b0316611f5f565b600d546001600160a01b031681565b60075490565b6003546001600160a01b0316331461071e5760405162461bcd60e51b8152600401808060200182810382526024815260200180612c306024913960400191505060405180910390fd5b686c6b935b8bbd40000081111561077c576040805162461bcd60e51b815260206004820152601a60248201527f54484f5245554d2070657220626c6f636b20746f6f2068696768000000000000604482015290519081900360640190fd5b610784611158565b6006546040805191825260208201839052805133927feedc6338c9c1ad8f3cd6c90dd09dbe98dbd57e610d3e59a17996d07acb0d951192908290030190a2600655565b600781815481106107d457fe5b600091825260209091206007909102018054600182015460028301546003840154600485015460058601546006909601546001600160a01b03909516965092949193909261ffff16919087565b60095481565b686c6b935b8bbd40000081565b61083c612061565b6001600160a01b031661084d611470565b6001600160a01b031614610896576040805162461bcd60e51b81526020600482018190526024820152600080516020612bb3833981519152604482015290519081900360640190fd5b6103e861ffff841611156108f1576040805162461bcd60e51b815260206004820152601960248201527f7365743a206465706f7369742066656520746f6f206869676800000000000000604482015290519081900360640190fd5b62127500821115610949576040805162461bcd60e51b815260206004820152601d60248201527f7365743a20696e76616c6964206861727665737420696e74657276616c000000604482015290519081900360640190fd5b801561095757610957611158565b6109948461098e6007888154811061096b57fe5b90600052602060002090600702016001015460095461206590919063ffffffff16565b906120c2565b60098190555083600786815481106109a857fe5b90600052602060002090600702016001018190555082600786815481106109cb57fe5b906000526020600020906007020160040160006101000a81548161ffff021916908361ffff1602179055508160078681548110610a0457fe5b9060005260206000209060070201600501819055505050505050565b6003546001600160a01b03163314610a695760405162461bcd60e51b8152600401808060200182810382526024815260200180612c306024913960400191505060405180910390fd5b6001600160a01b038116610aae5760405162461bcd60e51b8152600401808060200182810382526032815260200180612bfe6032913960400191505060405180910390fd5b6003546040516001600160a01b038084169216907f74da04524d50c64947f5dd5381ef1a4dca5cba8ed1d816243f9e48aa0b5617ed90600090a3600380546001600160a01b0319166001600160a01b0392909216919091179055565b60008281526008602090815260408083206001600160a01b03851684529091528120600a544310801590610b42575080600301544210155b9150505b92915050565b600c5481565b6004546001600160a01b031681565b6005546001600160a01b031681565b610b78612061565b6001600160a01b0316610b89611470565b6001600160a01b031614610bd2576040805162461bcd60e51b81526020600482018190526024820152600080516020612bb3833981519152604482015290519081900360640190fd5b600d80546001600160a01b0319166001600160a01b0392909216919091179055565b60026001541415610c4c576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b6002600181905550600060078381548110610c6357fe5b600091825260208083208684526008825260408085203386529092529220805460079092029092019250831115610ce1576040805162461bcd60e51b815260206004820181905260248201527f57697468647261773a205573657220616d6f756e74206e6f7420656e6f756768604482015290519081900360640190fd5b8282600601541015610d245760405162461bcd60e51b8152600401808060200182810382526022815260200180612b066022913960400191505060405180910390fd5b610d2d84610e1c565b610d368461211c565b8215610d9d578054610d489084612065565b81556006820154610d599084612065565b600683015560025482546001600160a01b0390811691161415610d8757600c54610d839084612065565b600c555b8154610d9d906001600160a01b031633856122ae565b60038201548154610dbe9164e8d4a5100091610db891612305565b9061235e565b6001820155604080518481529051859133917ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b5689181900360200190a35050600180555050565b60065481565b600b5481565b6103e881565b600a5481565b600060078281548110610e2b57fe5b9060005260206000209060070201905080600201544311610e4c5750610f0c565b60068101541580610e5f57506001810154155b15610e705743600290910155610f0c565b6000610e8082600201544361147f565b90506000610ead600954610db88560010154610ea76006548761230590919063ffffffff16565b90612305565b9050610edd610ed28460060154610db864e8d4a510008561230590919063ffffffff16565b6003850154906120c2565b6003840155436002840155600454610f08906001600160a01b0316610f0383600a61235e565b6123c5565b5050505b50565b60026001541415610f67576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b6002600181905550600060078281548110610f7e57fe5b60009182526020808320858452600882526040808520338652909252922080546007929092029092016006810154909350811115610fed5760405162461bcd60e51b815260040180806020018281038252602b815260200180612bd3602b913960400191505060405180910390fd5b60008083556001830181905560028301819055600383015560068301546110149082612065565b600684015560025483546001600160a01b039081169116141561104257600c5461103e9082612065565b600c555b8254611058906001600160a01b031633836122ae565b604080518281529051859133917fbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae05959181900360200190a35050600180555050565b6003546001600160a01b031633146110e25760405162461bcd60e51b8152600401808060200182810382526024815260200180612c306024913960400191505060405180910390fd5b6103e861ffff821611156111275760405162461bcd60e51b815260040180806020018281038252603c815260200180612b77603c913960400191505060405180910390fd5b600d805461ffff909216600160a01b0261ffff60a01b19909216919091179055565b6003546001600160a01b031690565b6007546000805b828110156112445760006007828154811061117657fe5b9060005260206000209060070201905080600201544311611197575061123c565b600681015415806111aa57506001810154155b156111bb574360029091015561123c565b60006111cb82600201544361147f565b905060006111f2600954610db88560010154610ea76006548761230590919063ffffffff16565b9050611217610ed28460060154610db864e8d4a510008561230590919063ffffffff16565b600384015543600284015561123761123082600a61235e565b86906120c2565b505050505b60010161115f565b5060045461125b906001600160a01b0316826123c5565b5050565b611267612061565b6001600160a01b0316611278611470565b6001600160a01b0316146112c1576040805162461bcd60e51b81526020600482018190526024820152600080516020612bb3833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b600c54600254604080516370a0823160e01b815230600482015290516000936113949390926001600160a01b03909116916370a0823191602480820192602092909190829003018186803b15801561136257600080fd5b505afa158015611376573d6000803e3d6000fd5b505050506040513d602081101561138c57600080fd5b505190612065565b905090565b6005546001600160a01b031633146113f8576040805162461bcd60e51b815260206004820152601860248201527f736574466565416464726573733a20464f5242494444454e0000000000000000604482015290519081900360640190fd5b6001600160a01b038116611449576040805162461bcd60e51b8152602060048201526013602482015272736574466565416464726573733a205a45524f60681b604482015290519081900360640190fd5b600580546001600160a01b0319166001600160a01b0392909216919091179055565b600181565b6000546001600160a01b031690565b60006114906001610ea78486612065565b9392505050565b600260015414156114ef576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b6002600155600a544310156115355760405162461bcd60e51b815260040180806020018281038252602e815260200180612b28602e913960400191505060405180910390fd5b60006007848154811061154457fe5b6000918252602080832087845260088252604080852033865290925292206007909102909101915061157585610e1c565b60008411801561158f5750600d546001600160a01b031615155b80156115a357506001600160a01b03831615155b80156115b857506001600160a01b0383163314155b1561162a57600d5460408051630c7f7b6b60e01b81523360048201526001600160a01b03868116602483015291519190921691630c7f7b6b91604480830192600092919082900301818387803b15801561161157600080fd5b505af1158015611625573d6000803e3d6000fd5b505050505b6116338561211c565b8315611857578154604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b15801561168357600080fd5b505afa158015611697573d6000803e3d6000fd5b505050506040513d60208110156116ad57600080fd5b505183549091506116c9906001600160a01b03163330886125ba565b8254604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b15801561171357600080fd5b505afa158015611727573d6000803e3d6000fd5b505050506040513d602081101561173d57600080fd5b5051905061174b8183612065565b600485015490965061ffff161561180957600484015460009061177b9061271090610db8908a9061ffff16612305565b600554865491925061179a916001600160a01b039081169116836122ae565b83546117b29082906117ac908a6120c2565b90612065565b845560068501546117c99082906117ac908a6120c2565b600686015560025485546001600160a01b0390811691161415611803576117ff816117ac89600c546120c290919063ffffffff16565b600c555b50611854565b825461181590876120c2565b8355600684015461182690876120c2565b600685015560025484546001600160a01b039081169116141561185457600c5461185090876120c2565b600c555b50505b600382015481546118729164e8d4a5100091610db891612305565b6001820155604080518581529051869133917f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a159181900360200190a3505060018055505050565b600860209081526000928352604080842090915290825290208054600182015460028301546003909301549192909184565b6002546001600160a01b031681565b611902612061565b6001600160a01b0316611913611470565b6001600160a01b03161461195c576040805162461bcd60e51b81526020600482018190526024820152600080516020612bb3833981519152604482015290519081900360640190fd5b6103e861ffff841611156119b7576040805162461bcd60e51b815260206004820152601960248201527f6164643a206465706f7369742066656520746f6f206869676800000000000000604482015290519081900360640190fd5b62127500821115611a0f576040805162461bcd60e51b815260206004820152601d60248201527f6164643a20696e76616c6964206861727665737420696e74657276616c000000604482015290519081900360640190fd5b8015611a1d57611a1d611158565b6000600a544311611a3057600a54611a32565b435b600954909150611a4290876120c2565b6009556040805160e0810182526001600160a01b0396871681526020810197885290810191825260006060820181815261ffff9687166080840190815260a0840196875260c08401838152600780546001810182559481905294517fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c6889490950293840180546001600160a01b03191695909a169490941790985597517fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c68982015591517fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c68a83015595517fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c68b82015593517fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c68c8501805461ffff19169190941617909255517fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c68d8301555090517fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c68e90910155565b611bd9612061565b6001600160a01b0316611bea611470565b6001600160a01b031614611c33576040805162461bcd60e51b81526020600482018190526024820152600080516020612bb3833981519152604482015290519081900360640190fd5b600a544310611c89576040805162461bcd60e51b815260206004820152601b60248201527f4572726f723a3a4661726d207374617274656420616c72656164790000000000604482015290519081900360640190fd5b60075460005b81811015611cc457600060078281548110611ca657fe5b60009182526020909120436007909202016002015550600101611c8f565b505043600a55565b6003546001600160a01b03163314611d155760405162461bcd60e51b8152600401808060200182810382526024815260200180612c306024913960400191505060405180910390fd5b8015611d2357611d23611158565b611d378261098e6007868154811061096b57fe5b6009819055508160078481548110611d4b57fe5b906000526020600020906007020160010181905550505050565b6004546001600160a01b03163314611dc4576040805162461bcd60e51b815260206004820152601860248201527f736574446576416464726573733a20464f5242494444454e0000000000000000604482015290519081900360640190fd5b6001600160a01b038116611e15576040805162461bcd60e51b8152602060048201526013602482015272736574446576416464726573733a205a45524f60681b604482015290519081900360640190fd5b600480546001600160a01b0319166001600160a01b0392909216919091179055565b600d54600160a01b900461ffff1681565b60008060078481548110611e5857fe5b600091825260208083208784526008825260408085206001600160a01b03891686529092529220600360079092029092019081015460068201546002830154929450909143118015611ea957508015155b15611f09576000611ebe85600201544361147f565b90506000611ee5600954610db88860010154610ea76006548761230590919063ffffffff16565b9050611f04611efd84610db88464e8d4a51000612305565b85906120c2565b935050505b6000611f3384600101546117ac64e8d4a51000610db887896000015461230590919063ffffffff16565b9050611f4c8460020154826120c290919063ffffffff16565b98975050505050505050565b6212750081565b611f67612061565b6001600160a01b0316611f78611470565b6001600160a01b031614611fc1576040805162461bcd60e51b81526020600482018190526024820152600080516020612bb3833981519152604482015290519081900360640190fd5b6001600160a01b0381166120065760405162461bcd60e51b8152600401808060200182810382526026815260200180612aba6026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b3390565b6000828211156120bc576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b600082820183811015611490576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b60006007828154811061212b57fe5b6000918252602080832085845260088252604080852033865290925292206003810154600790920290920192501580156121675750600a544310155b1561218257600582015461217c9042906120c2565b60038201555b60006121b082600101546117ac64e8d4a51000610db88760030154876000015461230590919063ffffffff16565b90506121bc8433610b0a565b156122475760008111806121d4575060008260020154115b156122425760006121f28360020154836120c290919063ffffffff16565b905061220d8360020154600b5461206590919063ffffffff16565b600b556000600284015560058401546122279042906120c2565b600384015561223633826123c5565b6122403382612614565b505b610f08565b8015610f0857600282015461225c90826120c2565b6002830155600b5461226e90826120c2565b600b55604080518281529051859133917fee470483107f579a55c754fa00613c45a9a3b617a418b39cb0be97e5381ba7c19181900360200190a350505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b1790526123009084906127c1565b505050565b60008261231457506000610b46565b8282028284828161232157fe5b04146114905760405162461bcd60e51b8152600401808060200182810382526021815260200180612b566021913960400191505060405180910390fd5b60008082116123b4576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b8183816123bd57fe5b049392505050565b600c54600254604080516370a0823160e01b815230600482015290516001600160a01b03909216916370a0823191602480820192602092909190829003018186803b15801561241357600080fd5b505afa158015612427573d6000803e3d6000fd5b505050506040513d602081101561243d57600080fd5b5051111561125b57600c54600254604080516370a0823160e01b8152306004820152905160009361249c9390926001600160a01b03909116916370a0823191602480820192602092909190829003018186803b15801561136257600080fd5b905080821061252d576002546040805163a9059cbb60e01b81526001600160a01b038681166004830152602482018590529151919092169163a9059cbb9160448083019260209291908290030181600087803b1580156124fb57600080fd5b505af115801561250f573d6000803e3d6000fd5b505050506040513d602081101561252557600080fd5b506123009050565b8115612300576002546040805163a9059cbb60e01b81526001600160a01b038681166004830152602482018690529151919092169163a9059cbb9160448083019260209291908290030181600087803b15801561258957600080fd5b505af115801561259d573d6000803e3d6000fd5b505050506040513d60208110156125b357600080fd5b5050505050565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b179052610f089085906127c1565b600d546001600160a01b03161580159061263a5750600d54600160a01b900461ffff1615155b1561125b57600d5460408051634a9fefc760e01b81526001600160a01b03858116600483015291516000939290921691634a9fefc791602480820192602092909190829003018186803b15801561269057600080fd5b505afa1580156126a4573d6000803e3d6000fd5b505050506040513d60208110156126ba57600080fd5b5051600d549091506000906126e39061271090610db8908690600160a01b900461ffff16612305565b90506001600160a01b038216158015906126fd5750600081115b15610f085761270c82826123c5565b600d5460408051631b82d29760e31b81526001600160a01b038581166004830152602482018590529151919092169163dc1694b891604480830192600092919082900301818387803b15801561276157600080fd5b505af1158015612775573d6000803e3d6000fd5b50506040805184815290516001600160a01b038087169450881692507f86ddab457291316e0f5496737e5ca67c4037234c32c3be04c48ae96186893a7b9181900360200190a350505050565b6060612816826040518060400160405280602081526020017f5361666542455032303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166128729092919063ffffffff16565b8051909150156123005780806020019051602081101561283557600080fd5b50516123005760405162461bcd60e51b815260040180806020018281038252602a815260200180612a90602a913960400191505060405180910390fd5b60606128818484600085612889565b949350505050565b6060824710156128ca5760405162461bcd60e51b8152600401808060200182810382526026815260200180612ae06026913960400191505060405180910390fd5b6128d3856129e5565b612924576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b602083106129635780518252601f199092019160209182019101612944565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d80600081146129c5576040519150601f19603f3d011682016040523d82523d6000602084013e6129ca565b606091505b50915091506129da8282866129eb565b979650505050505050565b3b151590565b606083156129fa575081611490565b825115612a0a5782518084602001fd5b8160405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015612a54578181015183820152602001612a3c565b50505050905090810190601f168015612a815780820380516001836020036101000a031916815260200191505b509250505060405180910390fdfe5361666542455032303a204245503230206f7065726174696f6e20646964206e6f7420737563636565644f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c57697468647261773a20506f6f6c20746f74616c204c50206e6f7420656e6f7567684d6173746572436865663a3a2043616e206e6f74206465706f736974206265666f7265206661726d207374617274536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77736574526566657272616c436f6d6d697373696f6e526174653a20726566657272616c20636f6d6d697373696f6e207261746520746f6f20686967684f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572456d657267656e637957697468647261773a20506f6f6c20746f74616c204c50206e6f7420656e6f7567685472616e736665724f70657261746f723a206e6577206f70657261746f7220697320746865207a65726f20616464726573734f70657261746f723a2063616c6c6572206973206e6f7420746865206f70657261746f72a2646970667358221220cf4daeec5168fa8d410847a85632188bcb6843d2b6bc8d6e38387ba7a81e008764736f6c634300060c0033000000000000000000000000580de58c1bd593a43dadcf0a739d504621817c0500000000000000000000000000000000000000000000003635c9adc5dea00000

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

000000000000000000000000580de58c1bd593a43dadcf0a739d504621817c0500000000000000000000000000000000000000000000003635c9adc5dea00000

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000580de58c1bd593a43dadcf0a739d504621817c05
Arg [1] : 00000000000000000000000000000000000000000000003635c9adc5dea00000


Deployed ByteCode Sourcemap

57381:19688:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;60463:39;;;:::i;:::-;;;;-1:-1:-1;;;;;60463:39:0;;;;;;;;;;;;;;62924:95;;;:::i;:::-;;;;;;;;;;;;;;;;76406:330;;;;;;;;;;;;;;;;-1:-1:-1;76406:330:0;;:::i;:::-;;59871:26;;;;;;;;;;;;;;;;-1:-1:-1;59871:26:0;;:::i;:::-;;;;-1:-1:-1;;;;;59871:26:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;60112:34;;;:::i;59568:63::-;;;:::i;64504:653::-;;;;;;;;;;;;;;;;-1:-1:-1;64504:653:0;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;62220:267::-;;;;;;;;;;;;;;;;-1:-1:-1;62220:267:0;-1:-1:-1;;;;;62220:267:0;;:::i;66332:228::-;;;;;;;;;;;;;;;;-1:-1:-1;66332:228:0;;;;;;-1:-1:-1;;;;;66332:228:0;;:::i;:::-;;;;;;;;;;;;;;;;;;60375:38;;;:::i;59397:25::-;;;:::i;59457:::-;;;:::i;75050:133::-;;;;;;;;;;;;;;;;-1:-1:-1;75050:133:0;-1:-1:-1;;;;;75050:133:0;;:::i;70463:1071::-;;;;;;;;;;;;;;;;-1:-1:-1;70463:1071:0;;;;;;;:::i;59531:30::-;;;:::i;60270:35::-;;;:::i;60651:62::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;60206:25;;;:::i;67722:738::-;;;;;;;;;;;;;;;;-1:-1:-1;67722:738:0;;:::i;71605:750::-;;;;;;;;;;;;;;;;-1:-1:-1;71605:750:0;;:::i;75244:297::-;;;;;;;;;;;;;;;;-1:-1:-1;75244:297:0;;;;:::i;62127:85::-;;;:::i;66675:971::-;;;:::i;26070:148::-;;;:::i;63191:140::-;;;:::i;74742:234::-;;;;;;;;;;;;;;;;-1:-1:-1;74742:234:0;-1:-1:-1;;;;;74742:234:0;;:::i;59689:44::-;;;:::i;25419:87::-;;;:::i;65233:143::-;;;;;;;;;;;;;;;;-1:-1:-1;65233:143:0;;;;;;;:::i;68532:1879::-;;;;;;;;;;;;;;;;-1:-1:-1;68532:1879:0;;;;;;;;;;;-1:-1:-1;;;;;68532:1879:0;;:::i;59953:64::-;;;;;;;;;;;;;;;;-1:-1:-1;59953:64:0;;;;;;-1:-1:-1;;;;;59953:64:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;59144:27;;;:::i;63544:845::-;;;;;;;;;;;;;;;;-1:-1:-1;63544:845:0;;;-1:-1:-1;;;;;63544:845:0;;;;;;;;;;;;;;;;;;;;;;;;:::i;62541:375::-;;;:::i;76744:322::-;;;;;;;;;;;;;;;;-1:-1:-1;76744:322:0;;;;;;;;;;;;;;:::i;74500:234::-;;;;;;;;;;;;;;;;-1:-1:-1;74500:234:0;-1:-1:-1;;;;;74500:234:0;;:::i;60559:42::-;;;:::i;65442:824::-;;;;;;;;;;;;;;;;-1:-1:-1;65442:824:0;;;;;;-1:-1:-1;;;;;65442:824:0;;:::i;59779:58::-;;;:::i;26373:244::-;;;;;;;;;;;;;;;;-1:-1:-1;26373:244:0;-1:-1:-1;;;;;26373:244:0;;:::i;60463:39::-;;;-1:-1:-1;;;;;60463:39:0;;:::o;62924:95::-;62996:8;:15;62924:95;:::o;76406:330::-;61511:9;;-1:-1:-1;;;;;61511:9:0;61524:10;61511:23;61503:72;;;;-1:-1:-1;;;61503:72:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;59616:15:::1;76499:16;:41;;76491:80;;;::::0;;-1:-1:-1;;;76491:80:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;76582:17;:15;:17::i;:::-;76649:15;::::0;76617:66:::1;::::0;;;;;::::1;::::0;::::1;::::0;;;;;76637:10:::1;::::0;76617:66:::1;::::0;;;;;;;::::1;76694:15;:34:::0;76406:330::o;59871:26::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;59871:26:0;;;;-1:-1:-1;59871:26:0;;;;;;;;;;;:::o;60112:34::-;;;;:::o;59568:63::-;59616:15;59568:63;:::o;64504:653::-;25650:12;:10;:12::i;:::-;-1:-1:-1;;;;;25639:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;25639:23:0;;25631:68;;;;;-1:-1:-1;;;25631:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;25631:68:0;;;;;;;;;;;;;;;60808:4:::1;64654:41;::::0;::::1;;;64646:79;;;::::0;;-1:-1:-1;;;64646:79:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;59830:7;64744:16;:44;;64736:86;;;::::0;;-1:-1:-1;;;64736:86:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;64837:11;64833:61;;;64865:17;:15;:17::i;:::-;64922:63;64973:11;64922:46;64942:8;64951:4;64942:14;;;;;;;;;;;;;;;;;;:25;;;64922:15;;:19;;:46;;;;:::i;:::-;:50:::0;::::1;:63::i;:::-;64904:15;:81;;;;65024:11;64996:8;65005:4;64996:14;;;;;;;;;;;;;;;;;;:25;;:39;;;;65076:13;65046:8;65055:4;65046:14;;;;;;;;;;;;;;;;;;:27;;;:43;;;;;;;;;;;;;;;;;;65133:16;65100:8;65109:4;65100:14;;;;;;;;;;;;;;;;;;:30;;:49;;;;64504:653:::0;;;;;:::o;62220:267::-;61511:9;;-1:-1:-1;;;;;61511:9:0;61524:10;61511:23;61503:72;;;;-1:-1:-1;;;61503:72:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;62306:25:0;::::1;62298:88;;;;-1:-1:-1::0;;;62298:88:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;62422:9;::::0;62402:43:::1;::::0;-1:-1:-1;;;;;62402:43:0;;::::1;::::0;62422:9:::1;::::0;62402:43:::1;::::0;62422:9:::1;::::0;62402:43:::1;62456:9;:23:::0;;-1:-1:-1;;;;;;62456:23:0::1;-1:-1:-1::0;;;;;62456:23:0;;;::::1;::::0;;;::::1;::::0;;62220:267::o;66332:228::-;66402:4;66443:14;;;:8;:14;;;;;;;;-1:-1:-1;;;;;66443:21:0;;;;;;;;;66498:10;;66482:12;:26;;;;:70;;;66531:4;:21;;;66512:15;:40;;66482:70;66475:77;;;66332:228;;;;;:::o;60375:38::-;;;;:::o;59397:25::-;;;-1:-1:-1;;;;;59397:25:0;;:::o;59457:::-;;;-1:-1:-1;;;;;59457:25:0;;:::o;75050:133::-;25650:12;:10;:12::i;:::-;-1:-1:-1;;;;;25639:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;25639:23:0;;25631:68;;;;;-1:-1:-1;;;25631:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;25631:68:0;;;;;;;;;;;;;;;75141:15:::1;:34:::0;;-1:-1:-1;;;;;;75141:34:0::1;-1:-1:-1::0;;;;;75141:34:0;;;::::1;::::0;;;::::1;::::0;;75050:133::o;70463:1071::-;28384:1;28990:7;;:19;;28982:63;;;;;-1:-1:-1;;;28982:63:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;28384:1;29123:7;:18;;;;70543:21:::1;70567:8;70576:4;70567:14;;;;;;;;;::::0;;;::::1;::::0;;;70616;;;:8:::1;:14:::0;;;;;;70631:10:::1;70616:26:::0;;;;;;;70663:11;;70567:14:::1;::::0;;::::1;::::0;;::::1;::::0;-1:-1:-1;70663:22:0;-1:-1:-1;70663:22:0::1;70655:67;;;::::0;;-1:-1:-1;;;70655:67:0;;::::1;;::::0;::::1;::::0;;;;;;;::::1;::::0;;;;;;;;;;;;;::::1;;70910:7;70894:4;:12;;;:23;;70886:70;;;;-1:-1:-1::0;;;70886:70:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;70969:16;70980:4;70969:10;:16::i;:::-;70996:31;71022:4;70996:25;:31::i;:::-;71042:11:::0;;71038:359:::1;;71084:11:::0;;:24:::1;::::0;71100:7;71084:15:::1;:24::i;:::-;71070:38:::0;;71138:12:::1;::::0;::::1;::::0;:25:::1;::::0;71155:7;71138:16:::1;:25::i;:::-;71123:12;::::0;::::1;:40:::0;71215:7:::1;::::0;71190:12;;-1:-1:-1;;;;;71190:12:0;;::::1;71215:7:::0;::::1;71182:41;71178:136;;;71266:19;::::0;:32:::1;::::0;71290:7;71266:23:::1;:32::i;:::-;71244:19;:54:::0;71178:136:::1;71328:12:::0;;:55:::1;::::0;-1:-1:-1;;;;;71328:12:0::1;71362:10;71375:7:::0;71328:25:::1;:55::i;:::-;71441:23;::::0;::::1;::::0;71425:11;;:50:::1;::::0;71470:4:::1;::::0;71425:40:::1;::::0;:15:::1;:40::i;:::-;:44:::0;::::1;:50::i;:::-;71407:15;::::0;::::1;:68:::0;71491:35:::1;::::0;;;;;;;71512:4;;71500:10:::1;::::0;71491:35:::1;::::0;;;;::::1;::::0;;::::1;-1:-1:-1::0;;28340:1:0;29302:22;;-1:-1:-1;;70463:1071:0:o;59531:30::-;;;;:::o;60270:35::-;;;;:::o;60651:62::-;60709:4;60651:62;:::o;60206:25::-;;;;:::o;67722:738::-;67774:21;67798:8;67807:4;67798:14;;;;;;;;;;;;;;;;;;67774:38;;67843:4;:20;;;67827:12;:36;67823:75;;67880:7;;;67823:75;67914:12;;;;:17;;:41;;-1:-1:-1;67935:15:0;;;;:20;67914:41;67910:130;;;67995:12;67972:20;;;;:35;68022:7;;67910:130;68052:18;68073:49;68087:4;:20;;;68109:12;68073:13;:49::i;:::-;68052:70;;68133:21;68157:73;68214:15;;68157:52;68193:4;:15;;;68157:31;68172:15;;68157:10;:14;;:31;;;;:::i;:::-;:35;;:52::i;:73::-;68133:97;;68269:70;68297:41;68325:4;:12;;;68297:23;68315:4;68297:13;:17;;:23;;;;:::i;:41::-;68269:23;;;;;:27;:70::i;:::-;68243:23;;;:96;68373:12;68350:20;;;:35;68418:10;;68398:54;;-1:-1:-1;;;;;68418:10:0;68430:21;:13;68448:2;68430:17;:21::i;:::-;68398:19;:54::i;:::-;67722:738;;;;;:::o;71605:750::-;28384:1;28990:7;;:19;;28982:63;;;;;-1:-1:-1;;;28982:63:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;28384:1;29123:7;:18;;;;71677:21:::1;71701:8;71710:4;71701:14;;;;;;;;;::::0;;;::::1;::::0;;;71750;;;:8:::1;:14:::0;;;;;;71765:10:::1;71750:26:::0;;;;;;;71804:11;;71701:14:::1;::::0;;;::::1;::::0;;::::1;71836:12;::::0;::::1;::::0;71701:14;;-1:-1:-1;;;71836:22:0::1;71828:78;;;;-1:-1:-1::0;;;71828:78:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;71933:1;71919:15:::0;;;71945::::1;::::0;::::1;:19:::0;;;71975::::1;::::0;::::1;:23:::0;;;72009:21:::1;::::0;::::1;:25:::0;72060:12:::1;::::0;::::1;::::0;:24:::1;::::0;72077:6;72060:16:::1;:24::i;:::-;72045:12;::::0;::::1;:39:::0;72132:7:::1;::::0;72107:12;;-1:-1:-1;;;;;72107:12:0;;::::1;72132:7:::0;::::1;72099:41;72095:127;;;72179:19;::::0;:31:::1;::::0;72203:6;72179:23:::1;:31::i;:::-;72157:19;:53:::0;72095:127:::1;72232:12:::0;;:54:::1;::::0;-1:-1:-1;;;;;72232:12:0::1;72266:10;72279:6:::0;72232:25:::1;:54::i;:::-;72304:43;::::0;;;;;;;72334:4;;72322:10:::1;::::0;72304:43:::1;::::0;;;;::::1;::::0;;::::1;-1:-1:-1::0;;28340:1:0;29302:22;;-1:-1:-1;;71605:750:0:o;75244:297::-;61511:9;;-1:-1:-1;;;;;61511:9:0;61524:10;61511:23;61503:72;;;;-1:-1:-1;;;61503:72:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;60709:4:::1;75350:59;::::0;::::1;;;75342:132;;;;-1:-1:-1::0;;;75342:132:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;75485:22;:48:::0;;::::1;::::0;;::::1;-1:-1:-1::0;;;75485:48:0::1;-1:-1:-1::0;;;;75485:48:0;;::::1;::::0;;;::::1;::::0;;75244:297::o;62127:85::-;62195:9;;-1:-1:-1;;;;;62195:9:0;62127:85;:::o;66675:971::-;66737:8;:15;66720:14;;66799:783;66827:6;66821:3;:12;66799:783;;;66857:21;66881:8;66890:3;66881:13;;;;;;;;;;;;;;;;;;66857:37;;66929:4;:20;;;66913:12;:36;66909:85;;66970:8;;;66909:85;67014:12;;;;:17;;:41;;-1:-1:-1;67035:15:0;;;;:20;67014:41;67010:144;;;67099:12;67076:20;;;;:35;67130:8;;67010:144;67170:18;67191:49;67205:4;:20;;;67227:12;67191:13;:49::i;:::-;67170:70;;67255:21;67279:73;67336:15;;67279:52;67315:4;:15;;;67279:31;67294:15;;67279:10;:14;;:31;;;;:::i;:73::-;67255:97;;67395:70;67423:41;67451:4;:12;;;67423:23;67441:4;67423:13;:17;;:23;;;;:::i;67395:70::-;67369:23;;;:96;67503:12;67480:20;;;:35;67532:38;67548:21;:13;67566:2;67548:17;:21::i;:::-;67532:11;;:15;:38::i;:::-;;66799:783;;;;66835:5;;66799:783;;;-1:-1:-1;67614:10:0;;67594:44;;-1:-1:-1;;;;;67614:10:0;67626:11;67594:19;:44::i;:::-;66675:971;;:::o;26070:148::-;25650:12;:10;:12::i;:::-;-1:-1:-1;;;;;25639:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;25639:23:0;;25631:68;;;;;-1:-1:-1;;;25631:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;25631:68:0;;;;;;;;;;;;;;;26177:1:::1;26161:6:::0;;26140:40:::1;::::0;-1:-1:-1;;;;;26161:6:0;;::::1;::::0;26140:40:::1;::::0;26177:1;;26140:40:::1;26208:1;26191:19:::0;;-1:-1:-1;;;;;;26191:19:0::1;::::0;;26070:148::o;63191:140::-;63303:19;;63266:7;;:32;;;-1:-1:-1;;;63266:32:0;;63292:4;63266:32;;;;;;63239:7;;63266:57;;63303:19;;-1:-1:-1;;;;;63266:7:0;;;;:17;;:32;;;;;;;;;;;;;;;:7;:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;63266:32:0;;:36;:57::i;:::-;63259:64;;63191:140;:::o;74742:234::-;74826:10;;-1:-1:-1;;;;;74826:10:0;74812;:24;74804:61;;;;;-1:-1:-1;;;74804:61:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;74884:25:0;;74876:57;;;;;-1:-1:-1;;;74876:57:0;;;;;;;;;;;;-1:-1:-1;;;74876:57:0;;;;;;;;;;;;;;;74944:10;:24;;-1:-1:-1;;;;;;74944:24:0;-1:-1:-1;;;;;74944:24:0;;;;;;;;;;74742:234::o;59689:44::-;59732:1;59689:44;:::o;25419:87::-;25465:7;25492:6;-1:-1:-1;;;;;25492:6:0;25419:87;:::o;65233:143::-;65305:7;65332:36;59732:1;65332:14;:3;65340:5;65332:7;:14::i;:36::-;65325:43;65233:143;-1:-1:-1;;;65233:143:0:o;68532:1879::-;28384:1;28990:7;;:19;;28982:63;;;;;-1:-1:-1;;;28982:63:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;28384:1;29123:7;:18;68654:10:::1;::::0;68638:12:::1;:26;;68630:85;;;;-1:-1:-1::0;;;68630:85:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;68728:21;68752:8;68761:4;68752:14;;;;;;;;;::::0;;;::::1;::::0;;;68801;;;:8:::1;:14:::0;;;;;;68816:10:::1;68801:26:::0;;;;;;;68752:14:::1;::::0;;::::1;::::0;;::::1;::::0;-1:-1:-1;68838:16:0::1;68810:4:::0;68838:10:::1;:16::i;:::-;68879:1;68869:7;:11;:53;;;;-1:-1:-1::0;68892:15:0::1;::::0;-1:-1:-1;;;;;68892:15:0::1;68884:38:::0;::::1;68869:53;:80;;;;-1:-1:-1::0;;;;;;68926:23:0;::::1;::::0;::::1;68869:80;:107;;;;-1:-1:-1::0;;;;;;68953:23:0;::::1;68966:10;68953:23;;68869:107;68865:193;;;68993:15;::::0;:53:::1;::::0;;-1:-1:-1;;;68993:53:0;;69024:10:::1;68993:53;::::0;::::1;::::0;-1:-1:-1;;;;;68993:53:0;;::::1;::::0;;;;;;:15;;;::::1;::::0;:30:::1;::::0;:53;;;;;:15:::1;::::0;:53;;;;;;;:15;;:53;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;68865:193;69068:31;69094:4;69068:25;:31::i;:::-;69114:11:::0;;69110:1165:::1;;69166:12:::0;;:37:::1;::::0;;-1:-1:-1;;;69166:37:0;;69197:4:::1;69166:37;::::0;::::1;::::0;;;69142:21:::1;::::0;-1:-1:-1;;;;;69166:12:0::1;::::0;:22:::1;::::0;:37;;;;;::::1;::::0;;;;;;;;:12;:37;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;69166:37:0;69218:12;;69166:37;;-1:-1:-1;69218:74:0::1;::::0;-1:-1:-1;;;;;69218:12:0::1;69256:10;69277:4;69284:7:::0;69218:29:::1;:74::i;:::-;69330:12:::0;;:37:::1;::::0;;-1:-1:-1;;;69330:37:0;;69361:4:::1;69330:37;::::0;::::1;::::0;;;69307:20:::1;::::0;-1:-1:-1;;;;;69330:12:0::1;::::0;:22:::1;::::0;:37;;;;;::::1;::::0;;;;;;;;:12;:37;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;69330:37:0;;-1:-1:-1;69394:31:0::1;69330:37:::0;69411:13;69394:16:::1;:31::i;:::-;69446:17;::::0;::::1;::::0;69384:41;;-1:-1:-1;69446:17:0::1;;:21:::0;69442:822:::1;;69521:17;::::0;::::1;::::0;69488:18:::1;::::0;69509:41:::1;::::0;69544:5:::1;::::0;69509:30:::1;::::0;:7;;69521:17:::1;;69509:11;:30::i;:41::-;69595:10;::::0;69569:12;;69488:62;;-1:-1:-1;69569:49:0::1;::::0;-1:-1:-1;;;;;69569:12:0;;::::1;::::0;69595:10:::1;69488:62:::0;69569:25:::1;:49::i;:::-;69651:11:::0;;:40:::1;::::0;69680:10;;69651:24:::1;::::0;69667:7;69651:15:::1;:24::i;:::-;:28:::0;::::1;:40::i;:::-;69637:54:::0;;69725:12:::1;::::0;::::1;::::0;:41:::1;::::0;69755:10;;69725:25:::1;::::0;69742:7;69725:16:::1;:25::i;:41::-;69710:12;::::0;::::1;:56:::0;69824:7:::1;::::0;69799:12;;-1:-1:-1;;;;;69799:12:0;;::::1;69824:7:::0;::::1;69791:41;69787:160;;;69879:48;69916:10;69879:32;69903:7;69879:19;;:23;;:32;;;;:::i;:48::-;69857:19;:70:::0;69787:160:::1;69442:822;;;;70001:11:::0;;:24:::1;::::0;70017:7;70001:15:::1;:24::i;:::-;69987:38:::0;;70059:12:::1;::::0;::::1;::::0;:25:::1;::::0;70076:7;70059:16:::1;:25::i;:::-;70044:12;::::0;::::1;:40:::0;70142:7:::1;::::0;70117:12;;-1:-1:-1;;;;;70117:12:0;;::::1;70142:7:::0;::::1;70109:41;70105:144;;;70197:19;::::0;:32:::1;::::0;70221:7;70197:23:::1;:32::i;:::-;70175:19;:54:::0;70105:144:::1;69110:1165;;;70319:23;::::0;::::1;::::0;70303:11;;:50:::1;::::0;70348:4:::1;::::0;70303:40:::1;::::0;:15:::1;:40::i;:50::-;70285:15;::::0;::::1;:68:::0;70369:34:::1;::::0;;;;;;;70389:4;;70377:10:::1;::::0;70369:34:::1;::::0;;;;::::1;::::0;;::::1;-1:-1:-1::0;;28340:1:0;29302:22;;-1:-1:-1;;;68532:1879:0:o;59953:64::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;59144:27::-;;;-1:-1:-1;;;;;59144:27:0;;:::o;63544:845::-;25650:12;:10;:12::i;:::-;-1:-1:-1;;;;;25639:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;25639:23:0;;25631:68;;;;;-1:-1:-1;;;25631:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;25631:68:0;;;;;;;;;;;;;;;60808:4:::1;63697:41;::::0;::::1;;;63689:79;;;::::0;;-1:-1:-1;;;63689:79:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;59830:7;63787:16;:44;;63779:86;;;::::0;;-1:-1:-1;;;63779:86:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;63880:11;63876:61;;;63908:17;:15;:17::i;:::-;63947:23;63988:10;;63973:12;:25;:53;;64016:10;;63973:53;;;64001:12;63973:53;64055:15;::::0;63947:79;;-1:-1:-1;64055:32:0::1;::::0;64075:11;64055:19:::1;:32::i;:::-;64037:15;:50:::0;64112:268:::1;::::0;;::::1;::::0;::::1;::::0;;-1:-1:-1;;;;;64112:268:0;;::::1;::::0;;::::1;::::0;::::1;::::0;;;;;;;;;-1:-1:-1;64112:268:0;;;;;;::::1;::::0;;::::1;::::0;;;;;;;;;;;;;;;;;;64098:8:::1;:283:::0;;::::1;::::0;::::1;::::0;;;;;;;;;;;;::::1;::::0;;::::1;::::0;;-1:-1:-1;;;;;;64098:283:0::1;::::0;;;::::1;::::0;;;::::1;::::0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;64098:283:0::1;::::0;;;::::1;;::::0;;;;;;;;-1:-1:-1;64098:283:0;;;;;;;63544:845::o;62541:375::-;25650:12;:10;:12::i;:::-;-1:-1:-1;;;;;25639:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;25639:23:0;;25631:68;;;;;-1:-1:-1;;;25631:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;25631:68:0;;;;;;;;;;;;;;;62616:10:::1;;62601:12;:25;62593:65;;;::::0;;-1:-1:-1;;;62593:65:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;62688:8;:15:::0;62671:14:::1;62714:157;62742:6;62736:3;:12;62714:157;;;62772:21;62796:8;62805:3;62796:13;;;;;;;;;::::0;;;::::1;::::0;;;62847:12:::1;62796:13;::::0;;::::1;;62824:20;;:35:::0;-1:-1:-1;62750:5:0::1;;62714:157;;;-1:-1:-1::0;;62896:12:0::1;62883:10;:25:::0;62541:375::o;76744:322::-;61511:9;;-1:-1:-1;;;;;61511:9:0;61524:10;61511:23;61503:72;;;;-1:-1:-1;;;61503:72:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;76858:11:::1;76854:61;;;76886:17;:15;:17::i;:::-;76945:63;76996:11;76945:46;76965:8;76974:4;76965:14;;;;;;;76945:63;76927:15;:81;;;;77047:11;77019:8;77028:4;77019:14;;;;;;;;;;;;;;;;;;:25;;:39;;;;76744:322:::0;;;:::o;74500:234::-;74584:10;;-1:-1:-1;;;;;74584:10:0;74570;:24;74562:61;;;;;-1:-1:-1;;;74562:61:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;74642:25:0;;74634:57;;;;;-1:-1:-1;;;74634:57:0;;;;;;;;;;;;-1:-1:-1;;;74634:57:0;;;;;;;;;;;;;;;74702:10;:24;;-1:-1:-1;;;;;;74702:24:0;-1:-1:-1;;;;;74702:24:0;;;;;;;;;;74500:234::o;60559:42::-;;;-1:-1:-1;;;60559:42:0;;;;;:::o;65442:824::-;65518:7;65538:21;65562:8;65571:4;65562:14;;;;;;;;;;;;;;;;65611;;;:8;:14;;;;;;-1:-1:-1;;;;;65611:21:0;;;;;;;;;65672:23;65562:14;;;;;;;65672:23;;;;65725:12;;;;65769:20;;;;65562:14;;-1:-1:-1;65672:23:0;;65754:12;:35;:52;;;;-1:-1:-1;65793:13:0;;;65754:52;65750:364;;;65823:18;65844:49;65858:4;:20;;;65880:12;65844:13;:49::i;:::-;65823:70;;65908:21;65932:73;65989:15;;65932:52;65968:4;:15;;;65932:31;65947:15;;65932:10;:14;;:31;;;;:::i;:73::-;65908:97;-1:-1:-1;66041:61:0;66064:37;66092:8;66064:23;65908:97;66082:4;66064:17;:23::i;:37::-;66041:18;;:22;:61::i;:::-;66020:82;;65750:364;;;66124:15;66142:66;66192:4;:15;;;66142:45;66182:4;66142:35;66158:18;66142:4;:11;;;:15;;:35;;;;:::i;:66::-;66124:84;;66226:32;66238:4;:19;;;66226:7;:11;;:32;;;;:::i;:::-;66219:39;65442:824;-1:-1:-1;;;;;;;;65442:824:0:o;59779:58::-;59830:7;59779:58;:::o;26373:244::-;25650:12;:10;:12::i;:::-;-1:-1:-1;;;;;25639:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;25639:23:0;;25631:68;;;;;-1:-1:-1;;;25631:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;25631:68:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;26462:22:0;::::1;26454:73;;;;-1:-1:-1::0;;;26454:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26564:6;::::0;;26543:38:::1;::::0;-1:-1:-1;;;;;26543:38:0;;::::1;::::0;26564:6;::::1;::::0;26543:38:::1;::::0;::::1;26592:6;:17:::0;;-1:-1:-1;;;;;;26592:17:0::1;-1:-1:-1::0;;;;;26592:17:0;;;::::1;::::0;;;::::1;::::0;;26373:244::o;23946:106::-;24034:10;23946:106;:::o;3360:158::-;3418:7;3451:1;3446;:6;;3438:49;;;;;-1:-1:-1;;;3438:49:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3505:5:0;;;3360:158::o;2898:179::-;2956:7;2988:5;;;3012:6;;;;3004:46;;;;;-1:-1:-1;;;3004:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;72402:1297;72471:21;72495:8;72504:4;72495:14;;;;;;;;;;;;;;;;72544;;;:8;:14;;;;;;72559:10;72544:26;;;;;;;72587:21;;;;72495:14;;;;;;;;-1:-1:-1;72587:26:0;:56;;;;;72633:10;;72617:12;:26;;72587:56;72583:154;;;72704:20;;;;72684:41;;:15;;:19;:41::i;:::-;72660:21;;;:65;72583:154;72749:15;72767:71;72822:4;:15;;;72767:50;72812:4;72767:40;72783:4;:23;;;72767:4;:11;;;:15;;:40;;;;:::i;:71::-;72749:89;;72853:28;72864:4;72870:10;72853;:28::i;:::-;72849:843;;;72912:1;72902:7;:11;:38;;;;72939:1;72917:4;:19;;;:23;72902:38;72898:547;;;72961:20;72984:32;72996:4;:19;;;72984:7;:11;;:32;;;;:::i;:::-;72961:55;;73093:45;73118:4;:19;;;73093:20;;:24;;:45;;;;:::i;:::-;73070:20;:68;73179:1;73157:19;;;:23;73243:20;;;;73223:41;;:15;;:19;:41::i;:::-;73199:21;;;:65;73318:45;73338:10;73350:12;73318:19;:45::i;:::-;73382:47;73404:10;73416:12;73382:21;:47::i;:::-;72898:547;;72849:843;;;73466:11;;73462:230;;73516:19;;;;:32;;73540:7;73516:23;:32::i;:::-;73494:19;;;:54;73586:20;;:33;;73611:7;73586:24;:33::i;:::-;73563:20;:56;73639:41;;;;;;;;73666:4;;73654:10;;73639:41;;;;;;;;;72402:1297;;;;:::o;19453:211::-;19597:58;;;-1:-1:-1;;;;;19597:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;19597:58:0;-1:-1:-1;;;19597:58:0;;;19570:86;;19590:5;;19570:19;:86::i;:::-;19453:211;;;:::o;3777:220::-;3835:7;3859:6;3855:20;;-1:-1:-1;3874:1:0;3867:8;;3855:20;3898:5;;;3902:1;3898;:5;:1;3922:5;;;;;:10;3914:56;;;;-1:-1:-1;;;3914:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4475:153;4533:7;4565:1;4561;:5;4553:44;;;;;-1:-1:-1;;;4553:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;4619:1;4615;:5;;;;;;;4475:153;-1:-1:-1;;;4475:153:0:o;73818:626::-;73936:19;;73901:7;;:32;;;-1:-1:-1;;;73901:32:0;;73927:4;73901:32;;;;;;-1:-1:-1;;;;;73901:7:0;;;;:17;;:32;;;;;;;;;;;;;;;:7;:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;73901:32:0;:54;73897:540;;;74208:19;;74171:7;;:32;;;-1:-1:-1;;;74171:32:0;;74197:4;74171:32;;;;;;74150:18;;74171:57;;74208:19;;-1:-1:-1;;;;;74171:7:0;;;;:17;;:32;;;;;;;;;;;;;;;:7;:32;;;;;;;;;;:57;74150:78;;74258:10;74247:7;:21;74243:183;;74289:7;;:33;;;-1:-1:-1;;;74289:33:0;;-1:-1:-1;;;;;74289:33:0;;;;;;;;;;;;;;;:7;;;;;:16;;:33;;;;;;;;;;;;;;:7;;:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;74243:183:0;;-1:-1:-1;74243:183:0;;74348:11;;74344:82;;74380:7;;:30;;;-1:-1:-1;;;74380:30:0;;-1:-1:-1;;;;;74380:30:0;;;;;;;;;;;;;;;:7;;;;;:16;;:30;;;;;;;;;;;;;;:7;;:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;73897:540:0;73818:626;;:::o;19672:248::-;19843:68;;;-1:-1:-1;;;;;19843:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;19843:68:0;-1:-1:-1;;;19843:68:0;;;19816:96;;19836:5;;19816:19;:96::i;75621:652::-;75717:15;;-1:-1:-1;;;;;75717:15:0;75709:38;;;;:68;;-1:-1:-1;75751:22:0;;-1:-1:-1;;;75751:22:0;;;;:26;;75709:68;75705:561;;;75813:15;;:34;;;-1:-1:-1;;;75813:34:0;;-1:-1:-1;;;;;75813:34:0;;;;;;;;;75794:16;;75813:15;;;;;:27;;:34;;;;;;;;;;;;;;;:15;:34;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;75813:34:0;75902:22;;75813:34;;-1:-1:-1;75862:24:0;;75889:47;;75930:5;;75889:36;;:8;;-1:-1:-1;;;75902:22:0;;;;75889:12;:36::i;:47::-;75862:74;-1:-1:-1;;;;;;75957:22:0;;;;;;:46;;;76002:1;75983:16;:20;75957:46;75953:302;;;76024:47;76044:8;76054:16;76024:19;:47::i;:::-;76090:15;;:68;;;-1:-1:-1;;;76090:68:0;;-1:-1:-1;;;;;76090:68:0;;;;;;;;;;;;;;;:15;;;;;:40;;:68;;;;;:15;;:68;;;;;;;:15;;:68;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;76182:57:0;;;;;;;;-1:-1:-1;;;;;76182:57:0;;;;-1:-1:-1;76182:57:0;;;-1:-1:-1;76182:57:0;;;;;;;;;75705:561;;75621:652;;:::o;21988:774::-;22412:23;22438:69;22466:4;22438:69;;;;;;;;;;;;;;;;;22446:5;-1:-1:-1;;;;;22438:27:0;;;:69;;;;;:::i;:::-;22522:17;;22412:95;;-1:-1:-1;22522:21:0;22518:237;;22677:10;22666:30;;;;;;;;;;;;;;;-1:-1:-1;22666:30:0;22658:85;;;;-1:-1:-1;;;22658:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14481:195;14584:12;14616:52;14638:6;14646:4;14652:1;14655:12;14616:21;:52::i;:::-;14609:59;14481:195;-1:-1:-1;;;;14481:195:0:o;15533:530::-;15660:12;15718:5;15693:21;:30;;15685:81;;;;-1:-1:-1;;;15685:81:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15785:18;15796:6;15785:10;:18::i;:::-;15777:60;;;;;-1:-1:-1;;;15777:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;15911:12;15925:23;15952:6;-1:-1:-1;;;;;15952:11:0;15972:5;15980:4;15952:33;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;15952:33:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15910:75;;;;16003:52;16021:7;16030:10;16042:12;16003:17;:52::i;:::-;15996:59;15533:530;-1:-1:-1;;;;;;;15533:530:0:o;11563:422::-;11930:20;11969:8;;;11563:422::o;18073:742::-;18188:12;18217:7;18213:595;;;-1:-1:-1;18248:10:0;18241:17;;18213:595;18362:17;;:21;18358:439;;18625:10;18619:17;18686:15;18673:10;18669:2;18665:19;18658:44;18573:148;18768:12;18761:20;;-1:-1:-1;;;18761:20:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

Swarm Source

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