Contract 0x95BdFB74Cc155BE86971d95FCb2C6389e8590Bc7

 

Contract Overview

Balance:
0 BNB

BNB Value:
$0.00

Token:
 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0xb168925f489baec556b0a7388a8baafde415ce05d0572ea9b656bd648cb3b8e6Withdraw121024302021-10-26 8:41:546 hrs 15 mins ago0x4ed6effee477fda7bbae4cf8355d2abc12b6a3bd IN  0x95bdfb74cc155be86971d95fcb2c6389e8590bc70 BNB0.000336005
0x38c25b63ae0e9f493dcc35880dad136d0d3e1712b9178d59195aac13183d66f1Deposit121024222021-10-26 8:41:306 hrs 15 mins ago0x4ed6effee477fda7bbae4cf8355d2abc12b6a3bd IN  0x95bdfb74cc155be86971d95fcb2c6389e8590bc70 BNB0.00050614
0x4ada19bf3d6935509f11da71d064fe34a427d2fc90440111ed17555113403041Withdraw119212962021-10-19 23:48:176 days 15 hrs ago0x59a3dcdbe3203a52dc8be3464778687b7b85abaf IN  0x95bdfb74cc155be86971d95fcb2c6389e8590bc70 BNB0.00041401
0x06d24e548bc5dc86fdbbfe81fed213cdf6941a2ad8d15f0f02a74938386e37abWithdraw119068992021-10-19 11:15:377 days 3 hrs ago0xa1944772ffcf2e8232a10a926ceb76fcbdec4328 IN  0x95bdfb74cc155be86971d95fcb2c6389e8590bc70 BNB0.000336005
0x142a6a3b3d0e6bc209c9a3c17d4f4c06aea1ae406473ae4a5a94ce042e5f7e6aDeposit119068882021-10-19 11:15:047 days 3 hrs ago0xa1944772ffcf2e8232a10a926ceb76fcbdec4328 IN  0x95bdfb74cc155be86971d95fcb2c6389e8590bc70 BNB0.00050614
0xad6e3cd6c3fae984e841943c366a2a9b48011a5aadc6064c2a55b981d4712d1dWithdraw118594172021-10-17 19:30:118 days 19 hrs ago0xe3a4a4bffedfa29379198addb80ad51089202844 IN  0x95bdfb74cc155be86971d95fcb2c6389e8590bc70 BNB0.000336005
0xa308cbcc6b864be5287baf754def8fb2c63b1dc6021b444e0aad3ea36f6211beWithdraw118586962021-10-17 18:54:058 days 20 hrs ago0x87ba3c38282409e6d13156303c43dd73b264010b IN  0x95bdfb74cc155be86971d95fcb2c6389e8590bc70 BNB0.000298445
0xe359b817f626ac03040f453f511e3b74be194d6a1bf80029c5905de7fe9f9f27Deposit118586882021-10-17 18:53:418 days 20 hrs ago0x87ba3c38282409e6d13156303c43dd73b264010b IN  0x95bdfb74cc155be86971d95fcb2c6389e8590bc70 BNB0.00043114
0x0ff0be336a7f1b8267801b2d95a3c5e01ed28f894d7154fc3f467990bd9a1317Deposit118531142021-10-17 14:12:179 days 44 mins ago0x42b403e3039a72c8ac549d1359ee2c62df8ec65f IN  0x95bdfb74cc155be86971d95fcb2c6389e8590bc70 BNB0.00043114
0xa7f6cd9de4568ada44e1ee106a4aa147d47628457ab33746f0c4d91b46df807dWithdraw118299632021-10-16 18:50:349 days 20 hrs ago0xb02c1c9a9479e9cb7d0ba50492b9e79a0990b709 IN  0x95bdfb74cc155be86971d95fcb2c6389e8590bc70 BNB0.00041401
0x93e6d25c7b1d4080a3c29546917bf8644f56a1dfd23fd3d611b1fd89b7e060b7Withdraw118297152021-10-16 18:38:109 days 20 hrs ago0xe3a4a4bffedfa29379198addb80ad51089202844 IN  0x95bdfb74cc155be86971d95fcb2c6389e8590bc70 BNB0.00011307
0xe437eda826cdd849856779da880d44b83e2095c0085ddeb4dafcd09faeafbe75Deposit118296292021-10-16 18:33:499 days 20 hrs ago0xe3a4a4bffedfa29379198addb80ad51089202844 IN  0x95bdfb74cc155be86971d95fcb2c6389e8590bc70 BNB0.00043114
0x568ce95d9579ff83dbe224a74cce848e878256a1e9eae72a4db528bb5c2b287fWithdraw118291112021-10-16 18:06:599 days 20 hrs ago0xac481de90df52b1c518d99aa26bbe1679c327b55 IN  0x95bdfb74cc155be86971d95fcb2c6389e8590bc70 BNB0.000336005
0x9ce1dd68a0008d91ef447ed8c4e967cc3030cbd7eab6d1846131e11219a9b733Deposit118290562021-10-16 18:04:149 days 20 hrs ago0xac481de90df52b1c518d99aa26bbe1679c327b55 IN  0x95bdfb74cc155be86971d95fcb2c6389e8590bc70 BNB0.00050614
0x2163a0ea7d7dae2233d1d11b0305c5a0bb4e23c719c35a8628f4f8b0509304e6Withdraw118246042021-10-16 14:18:0010 days 39 mins ago0x9ca4f69e5dba06e7c0220494b8a03d132a00e653 IN  0x95bdfb74cc155be86971d95fcb2c6389e8590bc70 BNB0.00041401
0xed329e3a13b5cb83803e535dcdd36e4ed6c321fb52c22b3c1052947cb9409253Withdraw118227172021-10-16 12:43:2210 days 2 hrs ago0x51328edad6af082191526f811d83c19fe5e0a8d8 IN  0x95bdfb74cc155be86971d95fcb2c6389e8590bc70 BNB0.000319535
0x66d06426290cb5f998b596af12ae94092d8f6a46102bdd5d92279ca492235529Withdraw118214522021-10-16 11:39:5310 days 3 hrs ago0xe20879e6aec338675f0357176f438bb560c8da59 IN  0x95bdfb74cc155be86971d95fcb2c6389e8590bc70 BNB0.00037195
0xea8e77fc09c8cf9c3b501d8c62c6e6482316d463f84f5cddf31a650c0a645188Deposit118214012021-10-16 11:37:2010 days 3 hrs ago0xe20879e6aec338675f0357176f438bb560c8da59 IN  0x95bdfb74cc155be86971d95fcb2c6389e8590bc70 BNB0.00050614
0x791a61f58953a7017912f2bba5cdabf741a421082218d17c77a8632388cd5de1Withdraw118178112021-10-16 8:36:5710 days 6 hrs ago0x496c1fc71482887d8ffff14a875d57fd0ca59740 IN  0x95bdfb74cc155be86971d95fcb2c6389e8590bc70 BNB0.000336005
0xbf99d1826347b02299b591484e06ce27b3e3e197753316e3750c140aa9519b8dDeposit118177922021-10-16 8:35:5410 days 6 hrs ago0x496c1fc71482887d8ffff14a875d57fd0ca59740 IN  0x95bdfb74cc155be86971d95fcb2c6389e8590bc70 BNB0.00043114
0x4b4eb96fa00b82e54c768824fc6d047300e159cdf9e5fe07f4642c423560efbdWithdraw118174012021-10-16 8:16:0610 days 6 hrs ago0x2eb40eacd6db9846c14e3a6709e1aa74ffaea879 IN  0x95bdfb74cc155be86971d95fcb2c6389e8590bc70 BNB0.000335945
0xd9e50f20b90b73aa002a0a626a66d0379ce377c629c3cd178865103ab2f225c6Deposit118173852021-10-16 8:15:1810 days 6 hrs ago0x2eb40eacd6db9846c14e3a6709e1aa74ffaea879 IN  0x95bdfb74cc155be86971d95fcb2c6389e8590bc70 BNB0.00043114
0xdd1960693e94d9464dfc91603e21c5fd638063f1925197644c28d9ad4f133799Withdraw118152422021-10-16 6:28:0510 days 8 hrs ago0x96a6474d83ee972118ad377b8643f755cc7cd926 IN  0x95bdfb74cc155be86971d95fcb2c6389e8590bc70 BNB0.000336005
0x3fd0b7b5f64e1d6ac3b6b9aa793b61ba364e339d72073e7413b7b9c0b69f06bbDeposit118152312021-10-16 6:27:3210 days 8 hrs ago0x96a6474d83ee972118ad377b8643f755cc7cd926 IN  0x95bdfb74cc155be86971d95fcb2c6389e8590bc70 BNB0.00043114
0x338d183d97d176f876ced7cd6c78655745ba14fbf83f7572ac9cb32aa97a3170Withdraw118147692021-10-16 6:04:2610 days 8 hrs ago0x27ed5f5724a151eb8c0a04416d8b43fcf4e0796a IN  0x95bdfb74cc155be86971d95fcb2c6389e8590bc70 BNB0.00034083
[ Download CSV Export 
Latest 1 internal transaction
Parent Txn Hash Block From To Value
0x6690aa17909069dcaf01342e33165972c8bf0e197d5f975b17123fb1e2b3a02b109673842021-09-16 15:06:0839 days 23 hrs ago 0x6ea6e67aec9c707285617151e59a864948e1012c  Contract Creation0 BNB
[ Download CSV Export 
Loading

Contract Source Code Verified (Similar Match)
Note: This contract matches the deployed ByteCode of the Source Code for Contract 0x1e77229d2877D5c465cc186664EB1715F0F74442

Contract Name:
Farm01

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

/**
 *Submitted for verification at BscScan.com on 2021-04-12
*/

/**
 *Submitted for verification at BscScan.com on 2021-04-10
*/

// File: SafeMath.sol
// From https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/math/SafeMath.sol
// Subject to the MIT license.

pragma solidity ^0.6.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, 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) {
        return sub(a, b, "SafeMath: subtraction overflow");
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * 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);
        uint256 c = a - b;

        return c;
    }

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

        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");

        return c;
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts 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) {
        return div(a, b, "SafeMath: division by zero");
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        uint256 c = a / b;
        // assert(a == b * c + a % b); // There is no case in which this doesn't hold

        return c;
    }

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

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts with custom message 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, string memory errorMessage) internal pure returns (uint256) {
        require(b != 0, errorMessage);
        return a % b;
    }
}

// File: IERC20.sol

// From https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC20/IERC20.sol
// Subject to the MIT license.

pragma solidity ^0.6.0;

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

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

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

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

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

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

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

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

// File: Address.sol

// From https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/utils/Address.sol
// Subject to the MIT license.

pragma solidity ^0.6.2;

/**
 * @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 in 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");
        return _functionCallWithValue(target, data, value, errorMessage);
    }

    function _functionCallWithValue(address target, bytes memory data, uint256 weiValue, string memory errorMessage) private returns (bytes memory) {
        require(isContract(target), "Address: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{ value: weiValue }(data);
        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: SafeERC20.sol

// From https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC20/SafeERC20.sol
// Subject to the MIT license.

pragma solidity ^0.6.0;




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

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

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

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

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

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

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

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

// File: TransferHelper.sol

pragma solidity 0.6.12;

// helper methods for interacting with ERC20 tokens that do not consistently return true/false
library TransferHelper {
    function safeApprove(address token, address to, uint value) internal {
        (bool success, bytes memory data) = token.call(abi.encodeWithSelector(0x095ea7b3, to, value));
        require(success && (data.length == 0 || abi.decode(data, (bool))), 'TransferHelper: APPROVE_FAILED');
    }

    function safeTransfer(address token, address to, uint value) internal {
        (bool success, bytes memory data) = token.call(abi.encodeWithSelector(0xa9059cbb, to, value));
        require(success && (data.length == 0 || abi.decode(data, (bool))), 'TransferHelper: TRANSFER_FAILED');
    }

    function safeTransferFrom(address token, address from, address to, uint value) internal {
        (bool success, bytes memory data) = token.call(abi.encodeWithSelector(0x23b872dd, from, to, value));
        require(success && (data.length == 0 || abi.decode(data, (bool))), 'TransferHelper: TRANSFER_FROM_FAILED');
    }

}

// File: Farm01.sol

pragma solidity 0.6.12;




interface IFarmFactory {
    function userEnteredFarm (address _user) external;
    function userLeftFarm (address _user) external;
}

contract Farm01 {
    using SafeMath for uint256;
    using SafeERC20 for IERC20;

    /// @notice information stuct on each user than stakes LP tokens.
    struct UserInfo {
        uint256 amount;     // How many LP tokens the user has provided.
        uint256 rewardDebt; // Reward debt.
    }
    
    /// @notice all the settings for this farm in one struct
    struct FarmInfo {
        IERC20 lpToken;
        IERC20 rewardToken;
        uint256 startBlock;
        uint256 blockReward;
        uint256 bonusEndBlock;
        uint256 bonus;
        uint256 endBlock;
        uint256 lastRewardBlock;  // Last block number that reward distribution occurs.
        uint256 accRewardPerShare; // Accumulated Rewards per share, times 1e12
        uint256 farmableSupply; // set in init, total amount of tokens farmable
        uint256 numFarmers;
    }
    
    /// @notice farm type id. Useful for back-end systems to know how to read the contract (ABI) as we plan to launch multiple farm types
    uint256 public farmType = 1;

    IFarmFactory public factory;
    address public farmGenerator;

    FarmInfo public farmInfo;
    
    /// @notice information on each user than stakes LP tokens
    mapping (address => UserInfo) public userInfo;

    event Deposit(address indexed user, uint256 amount);
    event Withdraw(address indexed user, uint256 amount);
    event EmergencyWithdraw(address indexed user, uint256 amount);

    constructor(address _factory, address _farmGenerator) public {
        factory = IFarmFactory(_factory);
        farmGenerator = _farmGenerator;
    }
    
    /**
     * @notice initialize the farming contract. This is called only once upon farm creation and the FarmGenerator ensures the farm has the correct paramaters
     */
    function init (IERC20 _rewardToken, uint256 _amount, IERC20 _lpToken, uint256 _blockReward, uint256 _startBlock, uint256 _endBlock, uint256 _bonusEndBlock, uint256 _bonus) public {
        require(msg.sender == address(farmGenerator), 'FORBIDDEN');

        TransferHelper.safeTransferFrom(address(_rewardToken), msg.sender, address(this), _amount);
        farmInfo.rewardToken = _rewardToken;
        
        farmInfo.startBlock = _startBlock;
        farmInfo.blockReward = _blockReward;
        farmInfo.bonusEndBlock = _bonusEndBlock;
        farmInfo.bonus = _bonus;
        
        uint256 lastRewardBlock = block.number > _startBlock ? block.number : _startBlock;
        farmInfo.lpToken = _lpToken;
        farmInfo.lastRewardBlock = lastRewardBlock;
        farmInfo.accRewardPerShare = 0;
        
        farmInfo.endBlock = _endBlock;
        farmInfo.farmableSupply = _amount;
    }

    /**
     * @notice Gets the reward multiplier over the given _from_block until _to block
     * @param _from_block the start of the period to measure rewards for
     * @param _to the end of the period to measure rewards for
     * @return The weighted multiplier for the given period
     */
    function getMultiplier(uint256 _from_block, uint256 _to) public view returns (uint256) {
        uint256 _from = _from_block >= farmInfo.startBlock ? _from_block : farmInfo.startBlock;
        uint256 to = farmInfo.endBlock > _to ? _to : farmInfo.endBlock;
        if (to <= farmInfo.bonusEndBlock) {
            return to.sub(_from).mul(farmInfo.bonus);
        } else if (_from >= farmInfo.bonusEndBlock) {
            return to.sub(_from);
        } else {
            return farmInfo.bonusEndBlock.sub(_from).mul(farmInfo.bonus).add(
                to.sub(farmInfo.bonusEndBlock)
            );
        }
    }

    /**
     * @notice function to see accumulated balance of reward token for specified user
     * @param _user the user for whom unclaimed tokens will be shown
     * @return total amount of withdrawable reward tokens
     */
    function pendingReward(address _user) external view returns (uint256) {
        UserInfo storage user = userInfo[_user];
        uint256 accRewardPerShare = farmInfo.accRewardPerShare;
        uint256 lpSupply = farmInfo.lpToken.balanceOf(address(this));
        if (block.number > farmInfo.lastRewardBlock && lpSupply != 0) {
            uint256 multiplier = getMultiplier(farmInfo.lastRewardBlock, block.number);
            uint256 tokenReward = multiplier.mul(farmInfo.blockReward);
            accRewardPerShare = accRewardPerShare.add(tokenReward.mul(1e12).div(lpSupply));
        }
        return user.amount.mul(accRewardPerShare).div(1e12).sub(user.rewardDebt);
    }

    /**
     * @notice updates pool information to be up to date to the current block
     */
    function updatePool() public {
        if (block.number <= farmInfo.lastRewardBlock) {
            return;
        }
        uint256 lpSupply = farmInfo.lpToken.balanceOf(address(this));
        if (lpSupply == 0) {
            farmInfo.lastRewardBlock = block.number < farmInfo.endBlock ? block.number : farmInfo.endBlock;
            return;
        }
        uint256 multiplier = getMultiplier(farmInfo.lastRewardBlock, block.number);
        uint256 tokenReward = multiplier.mul(farmInfo.blockReward);
        farmInfo.accRewardPerShare = farmInfo.accRewardPerShare.add(tokenReward.mul(1e12).div(lpSupply));
        farmInfo.lastRewardBlock = block.number < farmInfo.endBlock ? block.number : farmInfo.endBlock;
    }
    
    /**
     * @notice deposit LP token function for msg.sender
     * @param _amount the total deposit amount
     */
    function deposit(uint256 _amount) public {
        UserInfo storage user = userInfo[msg.sender];
        updatePool();
        if (user.amount > 0) {
            uint256 pending = user.amount.mul(farmInfo.accRewardPerShare).div(1e12).sub(user.rewardDebt);
            safeRewardTransfer(msg.sender, pending);
        }
        if (user.amount == 0 && _amount > 0) {
            factory.userEnteredFarm(msg.sender);
            farmInfo.numFarmers++;
        }
        farmInfo.lpToken.safeTransferFrom(address(msg.sender), address(this), _amount);
        user.amount = user.amount.add(_amount);
        user.rewardDebt = user.amount.mul(farmInfo.accRewardPerShare).div(1e12);
        emit Deposit(msg.sender, _amount);
    }

    /**
     * @notice withdraw LP token function for msg.sender
     * @param _amount the total withdrawable amount
     */
    function withdraw(uint256 _amount) public {
        UserInfo storage user = userInfo[msg.sender];
        require(user.amount >= _amount, "INSUFFICIENT");
        updatePool();
        if (user.amount == _amount && _amount > 0) {
            factory.userLeftFarm(msg.sender);
            farmInfo.numFarmers--;
        }
        uint256 pending = user.amount.mul(farmInfo.accRewardPerShare).div(1e12).sub(user.rewardDebt);
        safeRewardTransfer(msg.sender, pending);
        user.amount = user.amount.sub(_amount);
        user.rewardDebt = user.amount.mul(farmInfo.accRewardPerShare).div(1e12);
        farmInfo.lpToken.safeTransfer(address(msg.sender), _amount);
        emit Withdraw(msg.sender, _amount);
    }

    /**
     * @notice emergency functoin to withdraw LP tokens and forego harvest rewards. Important to protect users LP tokens
     */
    function emergencyWithdraw() public {
        UserInfo storage user = userInfo[msg.sender];
        farmInfo.lpToken.safeTransfer(address(msg.sender), user.amount);
        emit EmergencyWithdraw(msg.sender, user.amount);
        if (user.amount > 0) {
            factory.userLeftFarm(msg.sender);
            farmInfo.numFarmers--;
        }
        user.amount = 0;
        user.rewardDebt = 0;
    }

    /**
     * @notice Safe reward transfer function, just in case a rounding error causes pool to not have enough reward tokens
     * @param _to the user address to transfer tokens to
     * @param _amount the total amount of tokens to transfer
     */
    function safeRewardTransfer(address _to, uint256 _amount) internal {
        uint256 rewardBal = farmInfo.rewardToken.balanceOf(address(this));
        if (_amount > rewardBal) {
            farmInfo.rewardToken.transfer(_to, rewardBal);
        } else {
            farmInfo.rewardToken.transfer(_to, _amount);
        }
    }
}

// File: Context.sol

// From https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/GSN/Context.sol
// Subject to the MIT license.

pragma solidity ^0.6.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: Ownable.sol

// SPDX-License-Identifier: MIT

// From https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/access/Ownable.sol
// Subject to the MIT license.

pragma solidity ^0.6.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.
 */
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 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: FarmGenerator01.sol

// Ideally this contract should not be interacted with directly. Use our front end Dapp to create a farm
// to ensure the most effeicient amount of tokens are sent to the contract

pragma solidity 0.6.12;






interface IERCBurn {
    function burn(uint256 _amount) external;
    function approve(address spender, uint256 amount) external returns (bool);
    function allowance(address owner, address spender) external returns (uint256);
}

interface FarmFactory {
    function registerFarm (address _farmAddress) external;
}

interface IUniFactory {
    function getPair(address tokenA, address tokenB) external view returns (address);
}

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

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

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

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

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

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

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

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

    function initialize(address, address) external;
}

contract FarmGenerator01 is Ownable {
    using SafeMath for uint256;
    
    FarmFactory public factory;
    IUniFactory public uniswapFactory;
    
    address payable devaddr;
    
    struct FeeStruct {
        IERCBurn gasToken;
        bool useGasToken; // set to false to waive the gas fee
        uint256 gasFee; // the total amount of gas tokens to be burnt (if used)
        uint256 ethFee; // Small eth fee to prevent spam on the platform
        uint256 tokenFee; // Divided by 1000, fee on farm rewards
    }
    
    FeeStruct public gFees;
    
    struct FarmParameters {
        uint256 fee;
        uint256 amountMinusFee;
        uint256 bonusBlocks;
        uint256 totalBonusReward;
        uint256 numBlocks;
        uint256 endBlock;
        uint256 requiredAmount;
        uint256 amountFee;
    }
    
    constructor(FarmFactory _factory, IUniFactory _uniswapFactory) public {
        factory = _factory;
        devaddr = msg.sender;
        gFees.useGasToken = false;
        gFees.gasFee = 1 * (10 ** 18);
        gFees.ethFee = 2e17;
        gFees.tokenFee = 10; // 1%
        uniswapFactory = _uniswapFactory;
    }
    
    /**
     * @notice Below are self descriptive gas fee and general settings functions
     */
    function setGasToken (IERCBurn _gasToken) public onlyOwner {
        gFees.gasToken = _gasToken;
    }
    
    function setGasFee (uint256 _amount) public onlyOwner {
        gFees.gasFee = _amount;
    }
    
    function setEthFee (uint256 _amount) public onlyOwner {
        gFees.ethFee = _amount;
    }
    
    function setTokenFee (uint256 _amount) public onlyOwner {
        gFees.tokenFee = _amount;
    }
    
    function setRequireGasToken (bool _useGasToken) public onlyOwner {
        gFees.useGasToken = _useGasToken;
    }
    
    function setDev(address payable _devaddr) public onlyOwner {
        devaddr = _devaddr;
    }
    
    /**
     * @notice Determine the endBlock based on inputs. Used on the front end to show the exact settings the Farm contract will be deployed with
     */
    function determineEndBlock (uint256 _amount, uint256 _blockReward, uint256 _startBlock, uint256 _bonusEndBlock, uint256 _bonus) public view returns (uint256, uint256, uint256) {
        FarmParameters memory params;
        params.fee = _amount.mul(gFees.tokenFee).div(1000);
        params.amountMinusFee = _amount.sub(params.fee);
        params.bonusBlocks = _bonusEndBlock.sub(_startBlock);
        params.totalBonusReward = params.bonusBlocks.mul(_bonus).mul(_blockReward);
        params.numBlocks = params.amountMinusFee.sub(params.totalBonusReward).div(_blockReward);
        params.endBlock = params.numBlocks.add(params.bonusBlocks).add(_startBlock);
        
        uint256 nonBonusBlocks = params.endBlock.sub(_bonusEndBlock);
        uint256 effectiveBlocks = params.bonusBlocks.mul(_bonus).add(nonBonusBlocks);
        uint256 requiredAmount = _blockReward.mul(effectiveBlocks);
        return (params.endBlock, requiredAmount, requiredAmount.mul(gFees.tokenFee).div(1000));
    }
    
    /**
     * @notice Determine the blockReward based on inputs specifying an end date. Used on the front end to show the exact settings the Farm contract will be deployed with
     */
    function determineBlockReward (uint256 _amount, uint256 _startBlock, uint256 _bonusEndBlock, uint256 _bonus, uint256 _endBlock) public view returns (uint256, uint256, uint256) {
        uint256 fee = _amount.mul(gFees.tokenFee).div(1000);
        uint256 amountMinusFee = _amount.sub(fee);
        uint256 bonusBlocks = _bonusEndBlock.sub(_startBlock);
        uint256 nonBonusBlocks = _endBlock.sub(_bonusEndBlock);
        uint256 effectiveBlocks = bonusBlocks.mul(_bonus).add(nonBonusBlocks);
        uint256 blockReward = amountMinusFee.div(effectiveBlocks);
        uint256 requiredAmount = blockReward.mul(effectiveBlocks);
        return (blockReward, requiredAmount, requiredAmount.mul(gFees.tokenFee).div(1000));
    }
    
    /**
     * @notice Creates a new Farm contract and registers it in the FarmFactory.sol. All farming rewards are locked in the Farm Contract
     */
    function createFarm (IERC20 _rewardToken, uint256 _amount, IERC20 _lpToken, uint256 _blockReward, uint256 _startBlock, uint256 _bonusEndBlock, uint256 _bonus) public payable returns (address) {
        require(_startBlock > block.number, 'START'); // ideally at least 24 hours more to give farmers time
        require(_bonus > 0, 'BONUS');
        require(address(_rewardToken) != address(0), 'TOKEN');
        require(_blockReward > 1000, 'BR'); // minimum 1000 divisibility per block reward
        
        // ensure this pair is on uniswap by querying the factory
        IUniswapV2Pair lpair = IUniswapV2Pair(address(_lpToken));
        address factoryPairAddress = uniswapFactory.getPair(lpair.token0(), lpair.token1());
        require(factoryPairAddress == address(_lpToken), 'This pair is not on uniswap');
        
        FarmParameters memory params;
        (params.endBlock, params.requiredAmount, params.amountFee) = determineEndBlock(_amount, _blockReward, _startBlock, _bonusEndBlock, _bonus);
        
        require(msg.value == gFees.ethFee, 'Fee not met');
        devaddr.transfer(msg.value);
        
        if (gFees.useGasToken) {
            TransferHelper.safeTransferFrom(address(gFees.gasToken), address(msg.sender), address(this), gFees.gasFee);
            gFees.gasToken.burn(gFees.gasFee);
        }
        
        TransferHelper.safeTransferFrom(address(_rewardToken), address(msg.sender), address(this), params.requiredAmount.add(params.amountFee));
        Farm01 newFarm = new Farm01(address(factory), address(this));
        TransferHelper.safeApprove(address(_rewardToken), address(newFarm), params.requiredAmount);
        newFarm.init(_rewardToken, params.requiredAmount, _lpToken, _blockReward, _startBlock, params.endBlock, _bonusEndBlock, _bonus);
        
        TransferHelper.safeTransfer(address(_rewardToken), devaddr, params.amountFee);
        factory.registerFarm(address(newFarm));
        return (address(newFarm));
    }
    
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_factory","type":"address"},{"internalType":"address","name":"_farmGenerator","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"EmergencyWithdraw","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdraw","type":"event"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"emergencyWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"factory","outputs":[{"internalType":"contract IFarmFactory","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"farmGenerator","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"farmInfo","outputs":[{"internalType":"contract IERC20","name":"lpToken","type":"address"},{"internalType":"contract IERC20","name":"rewardToken","type":"address"},{"internalType":"uint256","name":"startBlock","type":"uint256"},{"internalType":"uint256","name":"blockReward","type":"uint256"},{"internalType":"uint256","name":"bonusEndBlock","type":"uint256"},{"internalType":"uint256","name":"bonus","type":"uint256"},{"internalType":"uint256","name":"endBlock","type":"uint256"},{"internalType":"uint256","name":"lastRewardBlock","type":"uint256"},{"internalType":"uint256","name":"accRewardPerShare","type":"uint256"},{"internalType":"uint256","name":"farmableSupply","type":"uint256"},{"internalType":"uint256","name":"numFarmers","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"farmType","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_from_block","type":"uint256"},{"internalType":"uint256","name":"_to","type":"uint256"}],"name":"getMultiplier","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"_rewardToken","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"contract IERC20","name":"_lpToken","type":"address"},{"internalType":"uint256","name":"_blockReward","type":"uint256"},{"internalType":"uint256","name":"_startBlock","type":"uint256"},{"internalType":"uint256","name":"_endBlock","type":"uint256"},{"internalType":"uint256","name":"_bonusEndBlock","type":"uint256"},{"internalType":"uint256","name":"_bonus","type":"uint256"}],"name":"init","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"pendingReward","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"updatePool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userInfo","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"rewardDebt","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052600160005534801561001557600080fd5b506040516120193803806120198339818101604052604081101561003857600080fd5b81019080805190602001909291908051906020019092919050505081600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050611f33806100e66000396000f3fe608060405234801561001057600080fd5b50600436106100b45760003560e01c8063b20268c211610071578063b20268c214610274578063b6b55f2514610315578063c45a015514610343578063db2e21bc14610377578063e3161ddd14610381578063f40f0f521461038b576100b4565b80631959a002146100b95780631d49d66c146101185780632dd99996146101a85780632e1a7d4d146101dc5780632ebed9ec1461020a5780638dbb1e3a14610228575b600080fd5b6100fb600480360360208110156100cf57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506103e3565b604051808381526020018281526020019250505060405180910390f35b610120610407565b604051808c73ffffffffffffffffffffffffffffffffffffffff1681526020018b73ffffffffffffffffffffffffffffffffffffffff1681526020018a81526020018981526020018881526020018781526020018681526020018581526020018481526020018381526020018281526020019b50505050505050505050505060405180910390f35b6101b061048f565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610208600480360360208110156101f257600080fd5b81019080803590602001909291905050506104b5565b005b6102126107a0565b6040518082815260200191505060405180910390f35b61025e6004803603604081101561023e57600080fd5b8101908080359060200190929190803590602001909291905050506107a6565b6040518082815260200191505060405180910390f35b610313600480360361010081101561028b57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190803590602001909291908035906020019092919080359060200190929190803590602001909291905050506108ac565b005b6103416004803603602081101561032b57600080fd5b8101908080359060200190929190505050610a71565b005b61034b610cf2565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61037f610d18565b005b610389610edf565b005b6103cd600480360360208110156103a157600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061108c565b6040518082815260200191505060405180910390f35b600e6020528060005260406000206000915090508060000154908060010154905082565b60038060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169080600201549080600301549080600401549080600501549080600601549080600701549080600801549080600901549080600a015490508b565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090508181600001541015610572576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600c8152602001807f494e53554646494349454e54000000000000000000000000000000000000000081525060200191505060405180910390fd5b61057a610edf565b81816000015414801561058d5750600082115b1561064c57600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166376cb2554336040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff168152602001915050600060405180830381600087803b15801561061d57600080fd5b505af1158015610631573d6000803e3d6000fd5b505050506003600a0160008154809291906001900391905055505b6000610697826001015461068964e8d4a5100061067b600360080154876000015461127c90919063ffffffff16565b61130290919063ffffffff16565b61134c90919063ffffffff16565b90506106a33382611396565b6106ba83836000015461134c90919063ffffffff16565b82600001819055506106f564e8d4a510006106e7600360080154856000015461127c90919063ffffffff16565b61130290919063ffffffff16565b826001018190555061074d3384600360000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166116189092919063ffffffff16565b3373ffffffffffffffffffffffffffffffffffffffff167f884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a9424364846040518082815260200191505060405180910390a2505050565b60005481565b6000806003600201548410156107c1576003600201546107c3565b835b9050600083600360060154116107de576003600601546107e0565b835b905060036004015481116108215761081860036005015461080a848461134c90919063ffffffff16565b61127c90919063ffffffff16565b925050506108a6565b600360040154821061084957610840828261134c90919063ffffffff16565b925050506108a6565b6108a16108646003600401548361134c90919063ffffffff16565b6108936003600501546108858660036004015461134c90919063ffffffff16565b61127c90919063ffffffff16565b6116ba90919063ffffffff16565b925050505b92915050565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461096f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260098152602001807f464f5242494444454e000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b61097b8833308a611742565b87600360010160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555083600360020181905550846003800181905550816003600401819055508060036005018190555060008443116109f557846109f7565b435b905086600360000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508060036007018190555060006003600801819055508360036006018190555087600360090181905550505050505050505050565b6000600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209050610abc610edf565b600081600001541115610b22576000610b148260010154610b0664e8d4a51000610af8600360080154876000015461127c90919063ffffffff16565b61130290919063ffffffff16565b61134c90919063ffffffff16565b9050610b203382611396565b505b60008160000154148015610b365750600082115b15610bf457600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166379cdf99b336040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff168152602001915050600060405180830381600087803b158015610bc657600080fd5b505af1158015610bda573d6000803e3d6000fd5b505050506003600a01600081548092919060010191905055505b610c46333084600360000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611927909392919063ffffffff16565b610c5d8282600001546116ba90919063ffffffff16565b8160000181905550610c9864e8d4a51000610c8a600360080154846000015461127c90919063ffffffff16565b61130290919063ffffffff16565b81600101819055503373ffffffffffffffffffffffffffffffffffffffff167fe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c836040518082815260200191505060405180910390a25050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209050610daf338260000154600360000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166116189092919063ffffffff16565b3373ffffffffffffffffffffffffffffffffffffffff167f5fafa99d0643513820be26656b45130b01e1c03062e1266bf36f88cbd3bd969582600001546040518082815260200191505060405180910390a2600081600001541115610ec857600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166376cb2554336040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff168152602001915050600060405180830381600087803b158015610e9957600080fd5b505af1158015610ead573d6000803e3d6000fd5b505050506003600a0160008154809291906001900391905055505b600081600001819055506000816001018190555050565b6003600701544311610ef05761108a565b6000600360000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015610f7e57600080fd5b505afa158015610f92573d6000803e3d6000fd5b505050506040513d6020811015610fa857600080fd5b810190808051906020019092919050505090506000811415610fec576003600601544310610fdb57600360060154610fdd565b435b6003600701819055505061108a565b6000610ffd600360070154436107a6565b9050600061101860038001548361127c90919063ffffffff16565b905061105b6110478461103964e8d4a510008561127c90919063ffffffff16565b61130290919063ffffffff16565b6003600801546116ba90919063ffffffff16565b600360080181905550600360060154431061107b5760036006015461107d565b435b6003600701819055505050505b565b600080600e60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209050600060036008015490506000600360000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561116857600080fd5b505afa15801561117c573d6000803e3d6000fd5b505050506040513d602081101561119257600080fd5b81019080805190602001909291905050509050600360070154431180156111ba575060008114155b1561122e5760006111d0600360070154436107a6565b905060006111eb60038001548361127c90919063ffffffff16565b905061122961121a8461120c64e8d4a510008561127c90919063ffffffff16565b61130290919063ffffffff16565b856116ba90919063ffffffff16565b935050505b611272836001015461126464e8d4a5100061125686886000015461127c90919063ffffffff16565b61130290919063ffffffff16565b61134c90919063ffffffff16565b9350505050919050565b60008083141561128f57600090506112fc565b60008284029050828482816112a057fe5b04146112f7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180611e8f6021913960400191505060405180910390fd5b809150505b92915050565b600061134483836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506119e8565b905092915050565b600061138e83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611aae565b905092915050565b6000600360010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561142457600080fd5b505afa158015611438573d6000803e3d6000fd5b505050506040513d602081101561144e57600080fd5b810190808051906020019092919050505090508082111561154057600360010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb84836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b1580156114ff57600080fd5b505af1158015611513573d6000803e3d6000fd5b505050506040513d602081101561152957600080fd5b810190808051906020019092919050505050611613565b600360010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb84846040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b1580156115d657600080fd5b505af11580156115ea573d6000803e3d6000fd5b505050506040513d602081101561160057600080fd5b8101908080519060200190929190505050505b505050565b6116b58363a9059cbb60e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050611b6e565b505050565b600080828401905083811015611738576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b600060608573ffffffffffffffffffffffffffffffffffffffff166323b872dd868686604051602401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200193505050506040516020818303038152906040529060e01b6020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506040518082805190602001908083835b602083106118235780518252602082019150602081019050602083039250611800565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114611885576040519150601f19603f3d011682016040523d82523d6000602084013e61188a565b606091505b50915091508180156118ca57506000815114806118c957508080602001905160208110156118b757600080fd5b81019080805190602001909291905050505b5b61191f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526024815260200180611eda6024913960400191505060405180910390fd5b505050505050565b6119e2846323b872dd60e01b858585604051602401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050611b6e565b50505050565b60008083118290611a94576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611a59578082015181840152602081019050611a3e565b50505050905090810190601f168015611a865780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b506000838581611aa057fe5b049050809150509392505050565b6000838311158290611b5b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611b20578082015181840152602081019050611b05565b50505050905090810190601f168015611b4d5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385039050809150509392505050565b6060611bd0826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16611c5d9092919063ffffffff16565b9050600081511115611c5857808060200190516020811015611bf157600080fd5b8101908080519060200190929190505050611c57576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180611eb0602a913960400191505060405180910390fd5b5b505050565b6060611c6c8484600085611c75565b90509392505050565b6060611c8085611e7b565b611cf2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000081525060200191505060405180910390fd5b600060608673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b60208310611d425780518252602082019150602081019050602083039250611d1f565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114611da4576040519150601f19603f3d011682016040523d82523d6000602084013e611da9565b606091505b50915091508115611dbe578092505050611e73565b600081511115611dd15780518082602001fd5b836040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611e38578082015181840152602081019050611e1d565b50505050905090810190601f168015611e655780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b949350505050565b600080823b90506000811191505091905056fe536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645472616e7366657248656c7065723a205452414e534645525f46524f4d5f4641494c4544a2646970667358221220aeda1b89622cc9548dcbdbbf8c73a8612db9310a34389711326d2eb16a77ba3464736f6c634300060c003300000000000000000000000098560d231c2672887501de95bcd3978ad7bbd5160000000000000000000000007f14cd39828356e4ce005bb2e46ecfbe00de5191

Deployed ByteCode Sourcemap

19766:8354:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21004:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;20903:24;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20866:28;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;26221:733;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;20796:27;;;:::i;:::-;;;;;;;;;;;;;;;;;;;22815:627;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;21587:917;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;25344:740;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;20832:27;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;27102:413;;;:::i;:::-;;24475:734;;;:::i;:::-;;23684:686;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;21004:45;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;20903:24::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;20866:28::-;;;;;;;;;;;;;:::o;26221:733::-;26274:21;26298:8;:20;26307:10;26298:20;;;;;;;;;;;;;;;26274:44;;26352:7;26337:4;:11;;;:22;;26329:47;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26387:12;:10;:12::i;:::-;26429:7;26414:4;:11;;;:22;:37;;;;;26450:1;26440:7;:11;26414:37;26410:138;;;26468:7;;;;;;;;;;;:20;;;26489:10;26468:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26515:8;:19;;;:21;;;;;;;;;;;;;;26410:138;26558:15;26576:74;26634:4;:15;;;26576:53;26624:4;26576:43;26592:8;:26;;;26576:4;:11;;;:15;;:43;;;;:::i;:::-;:47;;:53;;;;:::i;:::-;:57;;:74;;;;:::i;:::-;26558:92;;26661:39;26680:10;26692:7;26661:18;:39::i;:::-;26725:24;26741:7;26725:4;:11;;;:15;;:24;;;;:::i;:::-;26711:4;:11;;:38;;;;26778:53;26826:4;26778:43;26794:8;:26;;;26778:4;:11;;;:15;;:43;;;;:::i;:::-;:47;;:53;;;;:::i;:::-;26760:4;:15;;:71;;;;26842:59;26880:10;26893:7;26842:8;:16;;;;;;;;;;;;:29;;;;:59;;;;;:::i;:::-;26926:10;26917:29;;;26938:7;26917:29;;;;;;;;;;;;;;;;;;26221:733;;;:::o;20796:27::-;;;;:::o;22815:627::-;22893:7;22913:13;22944:8;:19;;;22929:11;:34;;:70;;22980:8;:19;;;22929:70;;;22966:11;22929:70;22913:86;;23010:10;23043:3;23023:8;:17;;;:23;:49;;23055:8;:17;;;23023:49;;;23049:3;23023:49;23010:62;;23093:8;:22;;;23087:2;:28;23083:352;;23139:33;23157:8;:14;;;23139:13;23146:5;23139:2;:6;;:13;;;;:::i;:::-;:17;;:33;;;;:::i;:::-;23132:40;;;;;;23083:352;23203:8;:22;;;23194:5;:31;23190:245;;23249:13;23256:5;23249:2;:6;;:13;;;;:::i;:::-;23242:20;;;;;;23190:245;23302:121;23378:30;23385:8;:22;;;23378:2;:6;;:30;;;;:::i;:::-;23302:53;23340:8;:14;;;23302:33;23329:5;23302:8;:22;;;:26;;:33;;;;:::i;:::-;:37;;:53;;;;:::i;:::-;:57;;:121;;;;:::i;:::-;23295:128;;;;22815:627;;;;;:::o;21587:917::-;21807:13;;;;;;;;;;;21785:36;;:10;:36;;;21777:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21848:90;21888:12;21903:10;21923:4;21930:7;21848:31;:90::i;:::-;21972:12;21949:8;:20;;;:35;;;;;;;;;;;;;;;;;;22027:11;22005:8;:19;;:33;;;;22072:12;22049:8;:20;;:35;;;;22120:14;22095:8;:22;;:39;;;;22162:6;22145:8;:14;;:23;;;;22189;22230:11;22215:12;:26;:55;;22259:11;22215:55;;;22244:12;22215:55;22189:81;;22300:8;22281;:16;;;:27;;;;;;;;;;;;;;;;;;22346:15;22319:8;:24;;:42;;;;22401:1;22372:8;:26;;:30;;;;22443:9;22423:8;:17;;:29;;;;22489:7;22463:8;:23;;:33;;;;21587:917;;;;;;;;;:::o;25344:740::-;25396:21;25420:8;:20;25429:10;25420:20;;;;;;;;;;;;;;;25396:44;;25451:12;:10;:12::i;:::-;25492:1;25478:4;:11;;;:15;25474:194;;;25510:15;25528:74;25586:4;:15;;;25528:53;25576:4;25528:43;25544:8;:26;;;25528:4;:11;;;:15;;:43;;;;:::i;:::-;:47;;:53;;;;:::i;:::-;:57;;:74;;;;:::i;:::-;25510:92;;25617:39;25636:10;25648:7;25617:18;:39::i;:::-;25474:194;;25697:1;25682:4;:11;;;:16;:31;;;;;25712:1;25702:7;:11;25682:31;25678:135;;;25730:7;;;;;;;;;;;:23;;;25754:10;25730:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25780:8;:19;;;:21;;;;;;;;;;;;;25678:135;25823:78;25865:10;25886:4;25893:7;25823:8;:16;;;;;;;;;;;;:33;;;;:78;;;;;;:::i;:::-;25926:24;25942:7;25926:4;:11;;;:15;;:24;;;;:::i;:::-;25912:4;:11;;:38;;;;25979:53;26027:4;25979:43;25995:8;:26;;;25979:4;:11;;;:15;;:43;;;;:::i;:::-;:47;;:53;;;;:::i;:::-;25961:4;:15;;:71;;;;26056:10;26048:28;;;26068:7;26048:28;;;;;;;;;;;;;;;;;;25344:740;;:::o;20832:27::-;;;;;;;;;;;;;:::o;27102:413::-;27149:21;27173:8;:20;27182:10;27173:20;;;;;;;;;;;;;;;27149:44;;27204:63;27242:10;27255:4;:11;;;27204:8;:16;;;;;;;;;;;;:29;;;;:63;;;;;:::i;:::-;27301:10;27283:42;;;27313:4;:11;;;27283:42;;;;;;;;;;;;;;;;;;27354:1;27340:4;:11;;;:15;27336:116;;;27372:7;;;;;;;;;;;:20;;;27393:10;27372:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27419:8;:19;;;:21;;;;;;;;;;;;;;27336:116;27476:1;27462:4;:11;;:15;;;;27506:1;27488:4;:15;;:19;;;;27102:413;:::o;24475:734::-;24535:8;:24;;;24519:12;:40;24515:79;;24576:7;;24515:79;24604:16;24623:8;:16;;;;;;;;;;;;:26;;;24658:4;24623:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24604:60;;24691:1;24679:8;:13;24675:161;;;24751:8;:17;;;24736:12;:32;:67;;24786:8;:17;;;24736:67;;;24771:12;24736:67;24709:8;:24;;:94;;;;24818:7;;;24675:161;24846:18;24867:53;24881:8;:24;;;24907:12;24867:13;:53::i;:::-;24846:74;;24931:19;24953:36;24968:8;:20;;;24953:10;:14;;:36;;;;:::i;:::-;24931:58;;25029:67;25060:35;25086:8;25060:21;25076:4;25060:11;:15;;:21;;;;:::i;:::-;:25;;:35;;;;:::i;:::-;25029:8;:26;;;:30;;:67;;;;:::i;:::-;25000:8;:26;;:96;;;;25149:8;:17;;;25134:12;:32;:67;;25184:8;:17;;;25134:67;;;25169:12;25134:67;25107:8;:24;;:94;;;;24475:734;;;;:::o;23684:686::-;23745:7;23765:21;23789:8;:15;23798:5;23789:15;;;;;;;;;;;;;;;23765:39;;23815:25;23843:8;:26;;;23815:54;;23880:16;23899:8;:16;;;;;;;;;;;;:26;;;23934:4;23899:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23880:60;;23970:8;:24;;;23955:12;:39;:56;;;;;24010:1;23998:8;:13;;23955:56;23951:329;;;24028:18;24049:53;24063:8;:24;;;24089:12;24049:13;:53::i;:::-;24028:74;;24117:19;24139:36;24154:8;:20;;;24139:10;:14;;:36;;;;:::i;:::-;24117:58;;24210;24232:35;24258:8;24232:21;24248:4;24232:11;:15;;:21;;;;:::i;:::-;:25;;:35;;;;:::i;:::-;24210:17;:21;;:58;;;;:::i;:::-;24190:78;;23951:329;;;24297:65;24346:4;:15;;;24297:44;24336:4;24297:34;24313:17;24297:4;:11;;;:15;;:34;;;;:::i;:::-;:38;;:44;;;;:::i;:::-;:48;;:65;;;;:::i;:::-;24290:72;;;;;23684:686;;;:::o;2452:471::-;2510:7;2760:1;2755;:6;2751:47;;;2785:1;2778:8;;;;2751:47;2810:9;2826:1;2822;:5;2810:17;;2855:1;2850;2846;:5;;;;;;:10;2838:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2914:1;2907:8;;;2452:471;;;;;:::o;3399:132::-;3457:7;3484:39;3488:1;3491;3484:39;;;;;;;;;;;;;;;;;:3;:39::i;:::-;3477:46;;3399:132;;;;:::o;1562:136::-;1620:7;1647:43;1651:1;1654;1647:43;;;;;;;;;;;;;;;;;:3;:43::i;:::-;1640:50;;1562:136;;;;:::o;27783:334::-;27861:17;27881:8;:20;;;;;;;;;;;;:30;;;27920:4;27881:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27861:65;;27951:9;27941:7;:19;27937:173;;;27977:8;:20;;;;;;;;;;;;:29;;;28007:3;28012:9;27977:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27937:173;;;28055:8;:20;;;;;;;;;;;;:29;;;28085:3;28090:7;28055:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27937:173;27783:334;;;:::o;15379:177::-;15462:86;15482:5;15512:23;;;15537:2;15541:5;15489:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15462:19;:86::i;:::-;15379:177;;;:::o;1098:181::-;1156:7;1176:9;1192:1;1188;:5;1176:17;;1217:1;1212;:6;;1204:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1270:1;1263:8;;;1098:181;;;;:::o;19238:323::-;19338:12;19352:17;19373:5;:10;;19407;19419:4;19425:2;19429:5;19384:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19373:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19337:99;;;;19455:7;:57;;;;;19482:1;19467:4;:11;:16;:44;;;;19498:4;19487:24;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19467:44;19455:57;19447:106;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19238:323;;;;;;:::o;15564:205::-;15665:96;15685:5;15715:27;;;15744:4;15750:2;15754:5;15692:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15665:19;:96::i;:::-;15564:205;;;;:::o;4027:278::-;4113:7;4145:1;4141;:5;4148:12;4133:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4172:9;4188:1;4184;:5;;;;;;4172:17;;4296:1;4289:8;;;4027:278;;;;;:::o;2001:192::-;2087:7;2120:1;2115;:6;;2123:12;2107:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2147:9;2163:1;2159;:5;2147:17;;2184:1;2177:8;;;2001:192;;;;;:::o;17684:761::-;18108:23;18134:69;18162:4;18134:69;;;;;;;;;;;;;;;;;18142:5;18134:27;;;;:69;;;;;:::i;:::-;18108:95;;18238:1;18218:10;:17;:21;18214:224;;;18360:10;18349:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18341:85;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18214:224;17684:761;;;:::o;12252:196::-;12355:12;12387:53;12410:6;12418:4;12424:1;12427:12;12387:22;:53::i;:::-;12380:60;;12252:196;;;;;:::o;13629:979::-;13759:12;13792:18;13803:6;13792:10;:18::i;:::-;13784:60;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13918:12;13932:23;13959:6;:11;;13979:8;13990:4;13959:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13917:78;;;;14010:7;14006:595;;;14041:10;14034:17;;;;;;14006:595;14175:1;14155:10;:17;:21;14151:439;;;14418:10;14412:17;14479:15;14466:10;14462:2;14458:19;14451:44;14366:148;14561:12;14554:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13629:979;;;;;;;:::o;9334:422::-;9394:4;9602:12;9713:7;9701:20;9693:28;;9747:1;9740:4;:8;9733:15;;;9334:422;;;:::o

Swarm Source

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