Contract 0x5BE35C02996320688F9E5968148dE5bC31635f15

Contract Overview

Balance:
0 FTM

FTM Value:
$0.00

Token:
Txn Hash Method
Block
From
To
Value [Txn Fee]
0xa5ef50543e72fb8c77ad53ecb3c26adfaf419d11c85a881e2f32894688ca7bdcWithdraw235787082021-11-30 13:45:11210 days 11 hrs ago0x8692a2209661f0997f9d8ac98203f29162519d28 IN  0x5be35c02996320688f9e5968148de5bc31635f150 FTM0.037226368896
0x77b8a63bcc7dba02c0da4b65a4eabdfb9b4c7fefdbbafd255a922f380f0813f6Withdraw223936412021-11-18 6:54:52222 days 18 hrs ago0x34441fb85fa87493daa1fece881481d91bf02f52 IN  0x5be35c02996320688f9e5968148de5bc31635f150 FTM0.01563602949
0xf93ada205d6bfd4c489814ecbce7c9db407cc250ac82bd8b7ff7f665e214cb58Withdraw223264452021-11-17 14:42:28223 days 10 hrs ago0xcc6b366efbea3cec3007eac31cad0294b1376543 IN  0x5be35c02996320688f9e5968148de5bc31635f150 FTM0.016929794901
0xf2381060cdc9199e5f901707fc30ba21f78cc4dcf4f917a84db73019cc202b19Withdraw222894842021-11-17 5:26:38223 days 19 hrs ago0x6b67faa624590d39cd3f9bf512ebccbb5ef2be3d IN  0x5be35c02996320688f9e5968148de5bc31635f150 FTM0.010074531103
0xd11f102008855c8adfa1bc0dd270b7e1cfb007c74f4c17d1c04efe8fc24e2fdaWithdraw221105732021-11-15 9:15:57225 days 15 hrs ago0x9b155e447a6a611fc0aa6af7116554e3612c4a35 IN  0x5be35c02996320688f9e5968148de5bc31635f150 FTM0.009859009294
0xb37e110be6811327efd62502878bf4027c7e7959cc24db16f79e8e014d1b3152Withdraw219101902021-11-13 7:42:41227 days 17 hrs ago0x058b7ae6b79a769d365eb52883369b6fda899ec5 IN  0x5be35c02996320688f9e5968148de5bc31635f150 FTM0.006482152934
0xcc8d078048e2838c2435a7c6c8ff5357cf25e263439ffcf9c4ada4715353c0efWithdraw217596092021-11-11 18:31:14229 days 6 hrs ago0xb6fe790d5ab01e2d46fdf0fe2152253afb62a50c IN  0x5be35c02996320688f9e5968148de5bc31635f150 FTM0.014033354196
0x1b971b38999e6792e63bf9375f54ec9fa3ead327cc1a09eeecc8d41e54052f52Withdraw217217362021-11-11 9:12:23229 days 15 hrs ago0xf0c451bdcc38c827f370a33c47ee571442b2f946 IN  0x5be35c02996320688f9e5968148de5bc31635f150 FTM0.008016111912
0xb943cae8b16ce079f7977968cef7471f217cbc225500a61a40962dfe9f55462dWithdraw217189022021-11-11 8:31:59229 days 16 hrs ago0x0a9c4f72b1340732ee881e262788912e765d4ca5 IN  0x5be35c02996320688f9e5968148de5bc31635f150 FTM0.008068044729
0x32d78e71adc00a221704303967d69d6dcb7382c006b2058eb5d4475dfe2f058fWithdraw217174792021-11-11 8:11:31229 days 16 hrs ago0xe54e038e7fb70293829bd7caaa57ec45e1b4308f IN  0x5be35c02996320688f9e5968148de5bc31635f150 FTM0.009530942399
0xd66d40da9070fa0a69c182681a5c2a77c21288289fd5678f741df5d2696b614bWithdraw217114712021-11-11 6:42:37229 days 18 hrs ago0xbbcf0685b3e40c4a197dd1e20e5102ebc943a5c3 IN  0x5be35c02996320688f9e5968148de5bc31635f150 FTM0.009388859267
0xa06d37965f610b831fe45aba1c1c44bb7b95e47101a08f5d73aa675768e43d11Withdraw217031802021-11-11 4:40:59229 days 20 hrs ago0x5102c4bb468a90df9ec0da87a69a59387a747045 IN  0x5be35c02996320688f9e5968148de5bc31635f150 FTM0.00818587605
0xf5756a1023c28ac29419b8822e65a7618296da0414e98479e78fce9ceb790bbcWithdraw216908392021-11-11 1:33:16229 days 23 hrs ago0x2e9b3ff04c63231a8e7a15578177987eee4f149e IN  0x5be35c02996320688f9e5968148de5bc31635f150 FTM0.019744469211
0x95356c85419af19a4b470ad7103d3023a548f8a2d094511980c34ef6f21623e6Withdraw216854292021-11-11 0:17:30230 days 39 mins ago0x5e440c0b8952a029812be6eb66456fc61460676f IN  0x5be35c02996320688f9e5968148de5bc31635f150 FTM0.021492200532
0x32912ea05edb1eca59e0a028a1d62e40c9bc1fd203abcd0e0c25baa98d924b85Withdraw216853622021-11-11 0:16:37230 days 40 mins ago0x24342475ccd612c8fd6fe979798c38244d80fc56 IN  0x5be35c02996320688f9e5968148de5bc31635f150 FTM0.016916646072
0x421fea2b2fbbfe0e712be6238e3b1126bee47ce96af3e6d1d85ee4f2410fc1a4Withdraw216843522021-11-11 0:02:49230 days 54 mins ago0xb0e3f1c86bcb05fef30b5082da5e50e041dc154a IN  0x5be35c02996320688f9e5968148de5bc31635f150 FTM0.024865283502
0x90d7478ccd30ac5a7fa95ee911e94c23463488934fb4e4d3b225303690c84b76Withdraw216741152021-11-10 21:34:37230 days 3 hrs ago0x8aa7164f72934ffa6d0f903cb0ae424346bb5079 IN  0x5be35c02996320688f9e5968148de5bc31635f150 FTM0.080925224486
0x5b58be3fe7ffa4ca3badc0d2825e294f40dade65b1efbefa2106b6bac6a92a6eWithdraw216734452021-11-10 21:21:25230 days 3 hrs ago0x88fb34f42dcce081de4fc0a82c330d2251c86b1c IN  0x5be35c02996320688f9e5968148de5bc31635f150 FTM0.049501318464
0x17dc682424d02b8c01044291eb3a6c9e6c9d763cca30acd9526a647687fb1baaWithdraw216695542021-11-10 20:23:27230 days 4 hrs ago0x363085d9ebc20715fc61c3337f293b7940529e1f IN  0x5be35c02996320688f9e5968148de5bc31635f150 FTM0.03054713733
0x9424a43cd4162b17755bd5eb39f1e85b862fb5cbb470a20ad0aa8b5ba552f0ccWithdraw216687092021-11-10 20:10:16230 days 4 hrs ago0xb1fc41cbad16cafdfc2ed196c7fe515dfb6a1577 IN  0x5be35c02996320688f9e5968148de5bc31635f150 FTM0.025059655807
0x10f9e5fe615e71de4d9d5954dd1cbea9aae478240542ce9641b9af66ba2132ceWithdraw216680702021-11-10 20:00:12230 days 4 hrs ago0xb056c48b9d28c304e0b6345d3de7103bb05cde27 IN  0x5be35c02996320688f9e5968148de5bc31635f150 FTM0.02261653947
0x692b7e11bf5258a00f4e3ea97edee44bf7c798a5fb1c4ce499eed30716d2ed46Withdraw216664232021-11-10 19:37:18230 days 5 hrs ago0xc4471730b451671210efb86467233b13dd034338 IN  0x5be35c02996320688f9e5968148de5bc31635f150 FTM0.020840438717
0xa0de4d1b9745cc5021ed3290a6e95b93bdb6280798bd560b49ab87675efc20faWithdraw216629052021-11-10 18:49:21230 days 6 hrs ago0xd6587a974c7d3ece23fa53d5606da6b291311f6f IN  0x5be35c02996320688f9e5968148de5bc31635f150 FTM0.03075389472
0x9c334aa158ad213856202eb8b038fd0158570ebba721ec3ebaf8d6ba6776069dWithdraw216621182021-11-10 18:38:08230 days 6 hrs ago0x89e9e4cd8bb890621ff94e9ecf183e5532d07172 IN  0x5be35c02996320688f9e5968148de5bc31635f150 FTM0.031493060081
0xe916de9c5248f778ff531a015daad3dbe649ab480c9716c9757805dfec6ff7e6Withdraw216606372021-11-10 18:17:48230 days 6 hrs ago0x67a3bc8e72691101fa6474b6446993096f141028 IN  0x5be35c02996320688f9e5968148de5bc31635f150 FTM0.033749448802
[ Download CSV Export 
Latest 1 internal transaction
Parent Txn Hash Block From To Value
0x6ed884aeb5af6af2a6548559bf1d6c09f84bb705ca018e0299ba84aeb92906d1210665722021-11-04 18:13:22236 days 6 hrs ago Bouje Finance: Deployer  Contract Creation0 FTM
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
TokenStaking

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 FtmScan.com on 2021-11-04
*/

// SPDX-License-Identifier: MIT


// File: contracts/libs/IBEP20.sol

pragma solidity >=0.6.4;

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/math/SafeMath.sol



pragma solidity >=0.6.0 <0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

// File: @openzeppelin/contracts/utils/Address.sol



pragma solidity >=0.6.2 <0.8.0;

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

        uint256 size;
        // solhint-disable-next-line no-inline-assembly
        assembly { size := extcodesize(account) }
        return size > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (bool success, ) = recipient.call{ value: amount }("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain`call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
      return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        require(isContract(target), "Address: call to non-contract");

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

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

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

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

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

    function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

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

// File: contracts/libs/SafeBEP20.sol



pragma solidity >=0.6.0 <0.8.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: @openzeppelin/contracts/utils/Context.sol



pragma solidity >=0.6.0 <0.8.0;

/*
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with GSN meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address payable) {
        return msg.sender;
    }

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

// File: @openzeppelin/contracts/access/Ownable.sol



pragma solidity >=0.6.0 <0.8.0;

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

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor () internal {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        emit OwnershipTransferred(_owner, address(0));
        _owner = address(0);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

// File: @openzeppelin/contracts/utils/ReentrancyGuard.sol



pragma solidity >=0.6.0 <0.8.0;

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

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

    uint256 private _status;

    constructor () internal {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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


contract TokenStaking is Ownable {
    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.
    }

    // Info of each pool.
    struct PoolInfo {
        IBEP20 lpToken;           // Address of LP token contract.
        uint256 allocPoint;       // How many allocation points assigned to this pool. Rewards to distribute per block.
        uint256 lastRewardBlock;  // Last block number that Rewards distribution occurs.
        uint256 accRewardTokenPerShare; // Accumulated Rewards per share, times 1e30. See below.
    }

    // The stake token
    IBEP20 public stakeToken;
    // The reward token
    IBEP20 public rewardToken;

    // Reward tokens created per block.
    uint256 public rewardPerBlock;

    // Keep track of number of tokens staked in case the contract earns reflect fees
    uint256 public totalStaked = 0;

    // Info of each pool.
    PoolInfo[] public poolInfo;
    // Info of each user that stakes LP tokens.
    mapping (address => UserInfo) public userInfo;
    // Total allocation points. Must be the sum of all allocation points in all pools.
    uint256 private totalAllocPoint = 0;
    // The block number when Reward mining starts.
    uint256 public startBlock;
	// The block number when mining ends.
    uint256 public bonusEndBlock;

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

    constructor(
        IBEP20 _stakeToken,
        IBEP20 _rewardToken,
        uint256 _rewardPerBlock,
        uint256 _startBlock,
        uint256 _bonusEndBlock
    ) public {
        stakeToken = _stakeToken;
        rewardToken = _rewardToken;
        rewardPerBlock = _rewardPerBlock;
        startBlock = _startBlock;
        bonusEndBlock = _bonusEndBlock;

        // staking pool
        poolInfo.push(PoolInfo({
            lpToken: _stakeToken,
            allocPoint: 1000,
            lastRewardBlock: startBlock,
            accRewardTokenPerShare: 0
        }));

        totalAllocPoint = 1000;

    }

    // Return reward multiplier over the given _from to _to block.
    function getMultiplier(uint256 _from, uint256 _to) public view returns (uint256) {
        if (_to <= bonusEndBlock) {
            return _to.sub(_from);
        } else if (_from >= bonusEndBlock) {
            return 0;
        } else {
            return bonusEndBlock.sub(_from);
        }
    }

    // View function to see pending Reward on frontend.
    function pendingReward(address _user) external view returns (uint256) {
        PoolInfo storage pool = poolInfo[0];
        UserInfo storage user = userInfo[_user];
        uint256 accRewardTokenPerShare = pool.accRewardTokenPerShare;
        if (block.number > pool.lastRewardBlock && totalStaked != 0) {
            uint256 multiplier = getMultiplier(pool.lastRewardBlock, block.number);
            uint256 tokenReward = multiplier.mul(rewardPerBlock).mul(pool.allocPoint).div(totalAllocPoint);
            accRewardTokenPerShare = accRewardTokenPerShare.add(tokenReward.mul(1e30).div(totalStaked));
        }
        return user.amount.mul(accRewardTokenPerShare).div(1e30).sub(user.rewardDebt);
    }

    // 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 (totalStaked == 0) {
            pool.lastRewardBlock = block.number;
            return;
        }
        uint256 multiplier = getMultiplier(pool.lastRewardBlock, block.number);
        uint256 tokenReward = multiplier.mul(rewardPerBlock).mul(pool.allocPoint).div(totalAllocPoint);
        pool.accRewardTokenPerShare = pool.accRewardTokenPerShare.add(tokenReward.mul(1e30).div(totalStaked));
        pool.lastRewardBlock = block.number;
    }

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


    /// Deposit staking token into the contract to earn rewards.
    /// @dev Since this contract needs to be supplied with rewards we are
    ///  sending the balance of the contract if the pending rewards are higher
    /// @param _amount The amount of staking tokens to deposit
    function deposit(uint256 _amount) public {
        PoolInfo storage pool = poolInfo[0];
        UserInfo storage user = userInfo[msg.sender];
        uint256 finalDepositAmount = 0;
        updatePool(0);
        if (user.amount > 0) {
            uint256 pending = user.amount.mul(pool.accRewardTokenPerShare).div(1e30).sub(user.rewardDebt);
            if(pending > 0) {
                uint256 currentRewardBalance = rewardBalance();
                if(currentRewardBalance > 0) {
                    if(pending > currentRewardBalance) {
                        safeTransferReward(address(msg.sender), currentRewardBalance);
                    } else {
                        safeTransferReward(address(msg.sender), pending);
                    }
                }
            }
        }
        if (_amount > 0) {
            uint256 preStakeBalance = totalStakeTokenBalance();
            pool.lpToken.safeTransferFrom(address(msg.sender), address(this), _amount);
            finalDepositAmount = totalStakeTokenBalance().sub(preStakeBalance);
            user.amount = user.amount.add(finalDepositAmount);
            totalStaked = totalStaked.add(finalDepositAmount);
        }
        user.rewardDebt = user.amount.mul(pool.accRewardTokenPerShare).div(1e30);

        emit Deposit(msg.sender, finalDepositAmount);
    }

    /// Withdraw rewards and/or staked tokens. Pass a 0 amount to withdraw only rewards
    /// @param _amount The amount of staking tokens to withdraw
    function withdraw(uint256 _amount) public {
        PoolInfo storage pool = poolInfo[0];
        UserInfo storage user = userInfo[msg.sender];
        require(user.amount >= _amount, "withdraw: not good");
        updatePool(0);
        uint256 pending = user.amount.mul(pool.accRewardTokenPerShare).div(1e30).sub(user.rewardDebt);
        if(pending > 0) {
            uint256 currentRewardBalance = rewardBalance();
            if(currentRewardBalance > 0) {
                if(pending > currentRewardBalance) {
                    safeTransferReward(address(msg.sender), currentRewardBalance);
                } else {
                    safeTransferReward(address(msg.sender), pending);
                }
            }
        }
        if(_amount > 0) {
            user.amount = user.amount.sub(_amount);
            pool.lpToken.safeTransfer(address(msg.sender), _amount);
            totalStaked = totalStaked.sub(_amount);
        }

        user.rewardDebt = user.amount.mul(pool.accRewardTokenPerShare).div(1e30);

        emit Withdraw(msg.sender, _amount);
    }

    /// Obtain the reward balance of this contract
    /// @return wei balace of conract
    function rewardBalance() public view returns (uint256) {
        return rewardToken.balanceOf(address(this));
    }

    // Deposit Rewards into contract
    function depositRewards(uint256 _amount) external {
        require(_amount > 0, 'Deposit value must be greater than 0.');
        rewardToken.safeTransferFrom(address(msg.sender), address(this), _amount);
        emit DepositRewards(_amount);
    }

    /// @param _to address to send reward token to
    /// @param _amount value of reward token to transfer
    function safeTransferReward(address _to, uint256 _amount) internal {
        rewardToken.safeTransfer(_to, _amount);
    }

    /* Admin Functions */

    /// @param _rewardPerBlock The amount of reward tokens to be given per block
    function setRewardPerBlock(uint256 _rewardPerBlock) external onlyOwner {
        rewardPerBlock = _rewardPerBlock;
    }

    /// @param  _bonusEndBlock The block when rewards will end
    function setBonusEndBlock(uint256 _bonusEndBlock) external onlyOwner {
        require(_bonusEndBlock > bonusEndBlock, 'new bonus end block must be greater than current');
        bonusEndBlock = _bonusEndBlock;
    }

    /// @dev Obtain the stake token fees (if any) earned by reflect token
    function getStakeTokenFeeBalance() public view returns (uint256) {
        return totalStakeTokenBalance().sub(totalStaked);
    }

    /// @dev Obtain the stake balance of this contract
    /// @return wei balace of contract
    function totalStakeTokenBalance() public view returns (uint256) {
        // Return BEO20 balance
        return stakeToken.balanceOf(address(this));
    }

    /// @dev Remove excess stake tokens earned by reflect fees
    function skimStakeTokenFees() external onlyOwner {
        uint256 stakeTokenFeeBalance = getStakeTokenFeeBalance();
        stakeToken.safeTransfer(msg.sender, stakeTokenFeeBalance);
        emit SkimStakeTokenFees(msg.sender, stakeTokenFeeBalance);
    }

    /* Emergency Functions */

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

    // Withdraw reward. EMERGENCY ONLY.
    function emergencyRewardWithdraw(uint256 _amount) external onlyOwner {
        require(_amount <= rewardBalance(), 'not enough rewards');
        // Withdraw rewards
        safeTransferReward(address(msg.sender), _amount);
        emit EmergencyRewardWithdraw(msg.sender, _amount);
    }

}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"contract IBEP20","name":"_stakeToken","type":"address"},{"internalType":"contract IBEP20","name":"_rewardToken","type":"address"},{"internalType":"uint256","name":"_rewardPerBlock","type":"uint256"},{"internalType":"uint256","name":"_startBlock","type":"uint256"},{"internalType":"uint256","name":"_bonusEndBlock","type":"uint256"}],"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":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"DepositRewards","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"EmergencyRewardWithdraw","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":"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":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"SkimStakeTokenFees","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":[],"name":"bonusEndBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"depositRewards","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"emergencyRewardWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"emergencyWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_from","type":"uint256"},{"internalType":"uint256","name":"_to","type":"uint256"}],"name":"getMultiplier","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getStakeTokenFeeBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"massUpdatePools","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"pendingReward","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":"accRewardTokenPerShare","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rewardBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardPerBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardToken","outputs":[{"internalType":"contract IBEP20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_bonusEndBlock","type":"uint256"}],"name":"setBonusEndBlock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_rewardPerBlock","type":"uint256"}],"name":"setRewardPerBlock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"skimStakeTokenFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stakeToken","outputs":[{"internalType":"contract IBEP20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"startBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalStakeTokenBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalStaked","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"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"}]

60806040526000600455600060075534801561001a57600080fd5b5060405161265d38038061265d833981810160405260a081101561003d57600080fd5b810190808051906020019092919080519060200190929190805190602001909291908051906020019092919080519060200190929190505050600061008661029c60201b60201c565b9050806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35084600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555083600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550826003819055508160088190555080600981905550600560405180608001604052808773ffffffffffffffffffffffffffffffffffffffff1681526020016103e8815260200160085481526020016000815250908060018154018082558091505060019003906000526020600020906004020160009091909190915060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160010155604082015181600201556060820151816003015550506103e860078190555050505050506102a4565b600033905090565b6123aa806102b36000396000f3fe608060405234801561001057600080fd5b506004361061018e5760003560e01c80638bdf67f2116100de578063aa5c3ab411610097578063db2e21bc11610071578063db2e21bc14610545578063f2fde38b1461054f578063f40f0f5214610593578063f7c618c1146105eb5761018e565b8063aa5c3ab4146104cb578063b6b55f25146104e9578063bb872b4a146105175761018e565b80638bdf67f2146103c75780638da5cb5b146103f55780638dbb1e3a14610429578063970db7fa146104755780639e0af2341461047f578063a49ceb19146104ad5761018e565b806351eb05a61161014b578063715018a611610125578063715018a614610363578063812bc7081461036d578063817b1cd21461038b5780638ae39cac146103a95761018e565b806351eb05a6146102f757806351ed6a3014610325578063630b5ba1146103595761018e565b80631526fe27146101935780631959a002146102005780631aed65531461025f5780632e1a7d4d1461027d5780633279beab146102ab57806348cd4cb1146102d9575b600080fd5b6101bf600480360360208110156101a957600080fd5b810190808035906020019092919050505061061f565b604051808573ffffffffffffffffffffffffffffffffffffffff16815260200184815260200183815260200182815260200194505050505060405180910390f35b6102426004803603602081101561021657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061067c565b604051808381526020018281526020019250505060405180910390f35b6102676106a0565b6040518082815260200191505060405180910390f35b6102a96004803603602081101561029357600080fd5b81019080803590602001909291905050506106a6565b005b6102d7600480360360208110156102c157600080fd5b810190808035906020019092919050505061094d565b005b6102e1610ad4565b6040518082815260200191505060405180910390f35b6103236004803603602081101561030d57600080fd5b8101908080359060200190929190505050610ada565b005b61032d610bdb565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610361610c01565b005b61036b610c2e565b005b610375610d9b565b6040518082815260200191505060405180910390f35b610393610dbe565b6040518082815260200191505060405180910390f35b6103b1610dc4565b6040518082815260200191505060405180910390f35b6103f3600480360360208110156103dd57600080fd5b8101908080359060200190929190505050610dca565b005b6103fd610eac565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61045f6004803603604081101561043f57600080fd5b810190808035906020019092919080359060200190929190505050610ed5565b6040518082815260200191505060405180910390f35b61047d610f2a565b005b6104ab6004803603602081101561049557600080fd5b8101908080359060200190929190505050611083565b005b6104b5611196565b6040518082815260200191505060405180910390f35b6104d3611261565b6040518082815260200191505060405180910390f35b610515600480360360208110156104ff57600080fd5b810190808035906020019092919050505061132c565b005b6105436004803603602081101561052d57600080fd5b8101908080359060200190929190505050611595565b005b61054d61164e565b005b6105916004803603602081101561056557600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061178d565b005b6105d5600480360360208110156105a957600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061197f565b6040518082815260200191505060405180910390f35b6105f3611afd565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6005818154811061062c57fe5b90600052602060002090600402016000915090508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060010154908060020154908060030154905084565b60066020528060005260406000206000915090508060000154908060010154905082565b60095481565b600060056000815481106106b657fe5b906000526020600020906004020190506000600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090508281600001541015610783576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260128152602001807f77697468647261773a206e6f7420676f6f64000000000000000000000000000081525060200191505060405180910390fd5b61078d6000610ada565b60006107df82600101546107d16c0c9f2c9cd04674edea400000006107c387600301548760000154611b2390919063ffffffff16565b611ba990919063ffffffff16565b611c3290919063ffffffff16565b905060008111156108245760006107f4611261565b905060008111156108225780821115610816576108113382611cb5565b610821565b6108203383611cb5565b5b5b505b60008411156108b757610844848360000154611c3290919063ffffffff16565b826000018190555061089b33858560000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611d069092919063ffffffff16565b6108b084600454611c3290919063ffffffff16565b6004819055505b6108f16c0c9f2c9cd04674edea400000006108e385600301548560000154611b2390919063ffffffff16565b611ba990919063ffffffff16565b82600101819055503373ffffffffffffffffffffffffffffffffffffffff167f884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a9424364856040518082815260200191505060405180910390a250505050565b610955611da8565b73ffffffffffffffffffffffffffffffffffffffff16610973610eac565b73ffffffffffffffffffffffffffffffffffffffff16146109fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b610a04611261565b811115610a79576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260128152602001807f6e6f7420656e6f7567682072657761726473000000000000000000000000000081525060200191505060405180910390fd5b610a833382611cb5565b3373ffffffffffffffffffffffffffffffffffffffff167f2d4434bb59801e733e9ce3df40b0c5518861a5fcdeec1906e83e03c755872b42826040518082815260200191505060405180910390a250565b60085481565b600060058281548110610ae957fe5b9060005260206000209060040201905080600201544311610b0a5750610bd8565b60006004541415610b245743816002018190555050610bd8565b6000610b34826002015443610ed5565b90506000610b77600754610b698560010154610b5b60035487611b2390919063ffffffff16565b611b2390919063ffffffff16565b611ba990919063ffffffff16565b9050610bc3610bb0600454610ba26c0c9f2c9cd04674edea4000000085611b2390919063ffffffff16565b611ba990919063ffffffff16565b8460030154611db090919063ffffffff16565b83600301819055504383600201819055505050505b50565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600580549050905060005b81811015610c2a57610c1f81610ada565b806001019050610c0e565b5050565b610c36611da8565b73ffffffffffffffffffffffffffffffffffffffff16610c54610eac565b73ffffffffffffffffffffffffffffffffffffffff1614610cdd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b6000610db9600454610dab611196565b611c3290919063ffffffff16565b905090565b60045481565b60035481565b60008111610e23576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260258152602001806123206025913960400191505060405180910390fd5b610e72333083600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611e38909392919063ffffffff16565b7f754fe3a3c69256b66ca56365fda4bbf3299d7c94038c105ffd43fb4b37f56db6816040518082815260200191505060405180910390a150565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60006009548211610efa57610ef38383611c3290919063ffffffff16565b9050610f24565b6009548310610f0c5760009050610f24565b610f2183600954611c3290919063ffffffff16565b90505b92915050565b610f32611da8565b73ffffffffffffffffffffffffffffffffffffffff16610f50610eac565b73ffffffffffffffffffffffffffffffffffffffff1614610fd9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b6000610fe3610d9b565b90506110323382600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611d069092919063ffffffff16565b3373ffffffffffffffffffffffffffffffffffffffff167feb4e6a6a8d3c8edbd6ef48316a3670cfa0e6374eebe3f555e620399f866d2f32826040518082815260200191505060405180910390a250565b61108b611da8565b73ffffffffffffffffffffffffffffffffffffffff166110a9610eac565b73ffffffffffffffffffffffffffffffffffffffff1614611132576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600954811161118c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260308152602001806123456030913960400191505060405180910390fd5b8060098190555050565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561122157600080fd5b505afa158015611235573d6000803e3d6000fd5b505050506040513d602081101561124b57600080fd5b8101908080519060200190929190505050905090565b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b1580156112ec57600080fd5b505afa158015611300573d6000803e3d6000fd5b505050506040513d602081101561131657600080fd5b8101908080519060200190929190505050905090565b6000600560008154811061133c57fe5b906000526020600020906004020190506000600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209050600061139b6000610ada565b6000826000015411156114415760006113fa83600101546113ec6c0c9f2c9cd04674edea400000006113de88600301548860000154611b2390919063ffffffff16565b611ba990919063ffffffff16565b611c3290919063ffffffff16565b9050600081111561143f57600061140f611261565b9050600081111561143d57808211156114315761142c3382611cb5565b61143c565b61143b3383611cb5565b5b5b505b505b60008411156114ff576000611454611196565b90506114a73330878760000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611e38909392919063ffffffff16565b6114c1816114b3611196565b611c3290919063ffffffff16565b91506114da828460000154611db090919063ffffffff16565b83600001819055506114f782600454611db090919063ffffffff16565b600481905550505b6115396c0c9f2c9cd04674edea4000000061152b85600301548560000154611b2390919063ffffffff16565b611ba990919063ffffffff16565b82600101819055503373ffffffffffffffffffffffffffffffffffffffff167fe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c826040518082815260200191505060405180910390a250505050565b61159d611da8565b73ffffffffffffffffffffffffffffffffffffffff166115bb610eac565b73ffffffffffffffffffffffffffffffffffffffff1614611644576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b8060038190555050565b6000600560008154811061165e57fe5b906000526020600020906004020190506000600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090506117043382600001548460000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611d069092919063ffffffff16565b61171d8160000154600454611c3290919063ffffffff16565b60048190555060008160000181905550600081600101819055503373ffffffffffffffffffffffffffffffffffffffff167f5fafa99d0643513820be26656b45130b01e1c03062e1266bf36f88cbd3bd969582600001546040518082815260200191505060405180910390a25050565b611795611da8565b73ffffffffffffffffffffffffffffffffffffffff166117b3610eac565b73ffffffffffffffffffffffffffffffffffffffff161461183c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156118c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806122b36026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600080600560008154811061199057fe5b906000526020600020906004020190506000600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209050600082600301549050826002015443118015611a025750600060045414155b15611aa7576000611a17846002015443610ed5565b90506000611a5a600754611a4c8760010154611a3e60035487611b2390919063ffffffff16565b611b2390919063ffffffff16565b611ba990919063ffffffff16565b9050611aa2611a93600454611a856c0c9f2c9cd04674edea4000000085611b2390919063ffffffff16565b611ba990919063ffffffff16565b84611db090919063ffffffff16565b925050505b611af38260010154611ae56c0c9f2c9cd04674edea40000000611ad7858760000154611b2390919063ffffffff16565b611ba990919063ffffffff16565b611c3290919063ffffffff16565b9350505050919050565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600080831415611b365760009050611ba3565b6000828402905082848281611b4757fe5b0414611b9e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806122ff6021913960400191505060405180910390fd5b809150505b92915050565b6000808211611c20576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601a8152602001807f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525060200191505060405180910390fd5b818381611c2957fe5b04905092915050565b600082821115611caa576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601e8152602001807f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525060200191505060405180910390fd5b818303905092915050565b611d028282600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611d069092919063ffffffff16565b5050565b611da38363a9059cbb60e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050611ef9565b505050565b600033905090565b600080828401905083811015611e2e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b611ef3846323b872dd60e01b858585604051602401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050611ef9565b50505050565b6060611f5b826040518060400160405280602081526020017f5361666542455032303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16611fe89092919063ffffffff16565b9050600081511115611fe357808060200190516020811015611f7c57600080fd5b8101908080519060200190929190505050611fe2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180612289602a913960400191505060405180910390fd5b5b505050565b6060611ff78484600085612000565b90509392505050565b60608247101561205b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806122d96026913960400191505060405180910390fd5b612064856121a9565b6120d6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000081525060200191505060405180910390fd5b600060608673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b602083106121265780518252602082019150602081019050602083039250612103565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114612188576040519150601f19603f3d011682016040523d82523d6000602084013e61218d565b606091505b509150915061219d8282866121bc565b92505050949350505050565b600080823b905060008111915050919050565b606083156121cc57829050612281565b6000835111156121df5782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561224657808201518184015260208101905061222b565b50505050905090810190601f1680156122735780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b939250505056fe5361666542455032303a204245503230206f7065726174696f6e20646964206e6f7420737563636565644f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774465706f7369742076616c7565206d7573742062652067726561746572207468616e20302e6e657720626f6e757320656e6420626c6f636b206d7573742062652067726561746572207468616e2063757272656e74a2646970667358221220990790141b8c5a3064f8c395224eb2b250ae8bb5f9daed9577e6c82943aa2ae064736f6c634300060c003300000000000000000000000037f70aa9fefc8971117bd53a1ddc2372aa7eec4100000000000000000000000021be370d5312f44cb42ce377bc9b8a0cef1a4c83000000000000000000000000000000000000000000000000001d7cce57a2c000000000000000000000000000000000000000000000000000000000000141a368000000000000000000000000000000000000000000000000000000000148f668

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

00000000000000000000000037f70aa9fefc8971117bd53a1ddc2372aa7eec4100000000000000000000000021be370d5312f44cb42ce377bc9b8a0cef1a4c83000000000000000000000000000000000000000000000000001d7cce57a2c000000000000000000000000000000000000000000000000000000000000141a368000000000000000000000000000000000000000000000000000000000148f668

-----Decoded View---------------
Arg [0] : _stakeToken (address): 0x37f70aa9fefc8971117bd53a1ddc2372aa7eec41
Arg [1] : _rewardToken (address): 0x21be370d5312f44cb42ce377bc9b8a0cef1a4c83
Arg [2] : _rewardPerBlock (uint256): 8300000000000000
Arg [3] : _startBlock (uint256): 21078888
Arg [4] : _bonusEndBlock (uint256): 21558888

-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 00000000000000000000000037f70aa9fefc8971117bd53a1ddc2372aa7eec41
Arg [1] : 00000000000000000000000021be370d5312f44cb42ce377bc9b8a0cef1a4c83
Arg [2] : 000000000000000000000000000000000000000000000000001d7cce57a2c000
Arg [3] : 000000000000000000000000000000000000000000000000000000000141a368
Arg [4] : 000000000000000000000000000000000000000000000000000000000148f668


Deployed ByteCode Sourcemap

28448:10524:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29538:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29620:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;29926:28;;;:::i;:::-;;;;;;;;;;;;;;;;;;;34937:1101;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;38674:293;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;29854:25;;;:::i;:::-;;;;;;;;;;;;;;;;;;;32215:642;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;29217:24;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;32940:180;;;:::i;:::-;;25185:148;;;:::i;:::-;;37411:132;;;:::i;:::-;;;;;;;;;;;;;;;;;;;29472:30;;;:::i;:::-;;;;;;;;;;;;;;;;;;;29348:29;;;:::i;:::-;;;;;;;;;;;;;;;;;;;36300:253;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;24534:87;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;31052:306;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;37877:260;;;:::i;:::-;;37108:220;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;37647:158;;;:::i;:::-;;;;;;;;;;;;;;;;;;;36137:117;;;:::i;:::-;;;;;;;;;;;;;;;;;;;33415:1360;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;36914:122;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;38241:384;;;:::i;:::-;;25488:244;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;31423:716;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;29273:25;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;29538:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;29620:45::-;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;29926:28::-;;;;:::o;34937:1101::-;34990:21;35014:8;35023:1;35014:11;;;;;;;;;;;;;;;;;;34990:35;;35036:21;35060:8;:20;35069:10;35060:20;;;;;;;;;;;;;;;35036:44;;35114:7;35099:4;:11;;;:22;;35091:53;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35155:13;35166:1;35155:10;:13::i;:::-;35179:15;35197:75;35256:4;:15;;;35197:54;35246:4;35197:44;35213:4;:27;;;35197:4;:11;;;:15;;:44;;;;:::i;:::-;:48;;:54;;;;:::i;:::-;:58;;:75;;;;:::i;:::-;35179:93;;35296:1;35286:7;:11;35283:402;;;35314:28;35345:15;:13;:15::i;:::-;35314:46;;35401:1;35378:20;:24;35375:299;;;35436:20;35426:7;:30;35423:236;;;35481:61;35508:10;35521:20;35481:18;:61::i;:::-;35423:236;;;35591:48;35618:10;35631:7;35591:18;:48::i;:::-;35423:236;35375:299;35283:402;;35708:1;35698:7;:11;35695:204;;;35740:24;35756:7;35740:4;:11;;;:15;;:24;;;;:::i;:::-;35726:4;:11;;:38;;;;35779:55;35813:10;35826:7;35779:4;:12;;;;;;;;;;;;:25;;;;:55;;;;;:::i;:::-;35863:24;35879:7;35863:11;;:15;;:24;;;;:::i;:::-;35849:11;:38;;;;35695:204;35929:54;35978:4;35929:44;35945:4;:27;;;35929:4;:11;;;:15;;:44;;;;:::i;:::-;:48;;:54;;;;:::i;:::-;35911:4;:15;;:72;;;;36010:10;36001:29;;;36022:7;36001:29;;;;;;;;;;;;;;;;;;34937:1101;;;;:::o;38674:293::-;24765:12;:10;:12::i;:::-;24754:23;;:7;:5;:7::i;:::-;:23;;;24746:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38773:15:::1;:13;:15::i;:::-;38762:7;:26;;38754:57;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;38851:48;38878:10;38891:7;38851:18;:48::i;:::-;38939:10;38915:44;;;38951:7;38915:44;;;;;;;;;;;;;;;;;;38674:293:::0;:::o;29854:25::-;;;;:::o;32215:642::-;32267:21;32291:8;32300:4;32291:14;;;;;;;;;;;;;;;;;;32267:38;;32336:4;:20;;;32320:12;:36;32316:75;;32373:7;;;32316:75;32420:1;32405:11;;:16;32401:105;;;32461:12;32438:4;:20;;:35;;;;32488:7;;;32401:105;32516:18;32537:49;32551:4;:20;;;32573:12;32537:13;:49::i;:::-;32516:70;;32597:19;32619:72;32675:15;;32619:51;32654:4;:15;;;32619:30;32634:14;;32619:10;:14;;:30;;;;:::i;:::-;:34;;:51;;;;:::i;:::-;:55;;:72;;;;:::i;:::-;32597:94;;32732:71;32764:38;32790:11;;32764:21;32780:4;32764:11;:15;;:21;;;;:::i;:::-;:25;;:38;;;;:::i;:::-;32732:4;:27;;;:31;;:71;;;;:::i;:::-;32702:4;:27;;:101;;;;32837:12;32814:4;:20;;:35;;;;32215:642;;;;;:::o;29217:24::-;;;;;;;;;;;;;:::o;32940:180::-;32985:14;33002:8;:15;;;;32985:32;;33033:11;33028:85;33056:6;33050:3;:12;33028:85;;;33086:15;33097:3;33086:10;:15::i;:::-;33064:5;;;;;33028:85;;;;32940:180;:::o;25185:148::-;24765:12;:10;:12::i;:::-;24754:23;;:7;:5;:7::i;:::-;:23;;;24746:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25292:1:::1;25255:40;;25276:6;::::0;::::1;;;;;;;;25255:40;;;;;;;;;;;;25323:1;25306:6:::0;::::1;:19;;;;;;;;;;;;;;;;;;25185:148::o:0;37411:132::-;37467:7;37494:41;37523:11;;37494:24;:22;:24::i;:::-;:28;;:41;;;;:::i;:::-;37487:48;;37411:132;:::o;29472:30::-;;;;:::o;29348:29::-;;;;:::o;36300:253::-;36379:1;36369:7;:11;36361:61;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36433:73;36470:10;36491:4;36498:7;36433:11;;;;;;;;;;;:28;;;;:73;;;;;;:::i;:::-;36522:23;36537:7;36522:23;;;;;;;;;;;;;;;;;;36300:253;:::o;24534:87::-;24580:7;24607:6;;;;;;;;;;;24600:13;;24534:87;:::o;31052:306::-;31124:7;31155:13;;31148:3;:20;31144:207;;31192:14;31200:5;31192:3;:7;;:14;;;;:::i;:::-;31185:21;;;;31144:207;31237:13;;31228:5;:22;31224:127;;31274:1;31267:8;;;;31224:127;31315:24;31333:5;31315:13;;:17;;:24;;;;:::i;:::-;31308:31;;31052:306;;;;;:::o;37877:260::-;24765:12;:10;:12::i;:::-;24754:23;;:7;:5;:7::i;:::-;:23;;;24746:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37937:28:::1;37968:25;:23;:25::i;:::-;37937:56;;38004:57;38028:10;38040:20;38004:10;;;;;;;;;;;:23;;;;:57;;;;;:::i;:::-;38096:10;38077:52;;;38108:20;38077:52;;;;;;;;;;;;;;;;;;24825:1;37877:260::o:0;37108:220::-;24765:12;:10;:12::i;:::-;24754:23;;:7;:5;:7::i;:::-;:23;;;24746:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37213:13:::1;;37196:14;:30;37188:91;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37306:14;37290:13;:30;;;;37108:220:::0;:::o;37647:158::-;37702:7;37762:10;;;;;;;;;;;:20;;;37791:4;37762:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37755:42;;37647:158;:::o;36137:117::-;36183:7;36210:11;;;;;;;;;;;:21;;;36240:4;36210:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36203:43;;36137:117;:::o;33415:1360::-;33467:21;33491:8;33500:1;33491:11;;;;;;;;;;;;;;;;;;33467:35;;33513:21;33537:8;:20;33546:10;33537:20;;;;;;;;;;;;;;;33513:44;;33568:26;33609:13;33620:1;33609:10;:13::i;:::-;33651:1;33637:4;:11;;;:15;33633:593;;;33669:15;33687:75;33746:4;:15;;;33687:54;33736:4;33687:44;33703:4;:27;;;33687:4;:11;;;:15;;:44;;;;:::i;:::-;:48;;:54;;;;:::i;:::-;:58;;:75;;;;:::i;:::-;33669:93;;33790:1;33780:7;:11;33777:438;;;33812:28;33843:15;:13;:15::i;:::-;33812:46;;33903:1;33880:20;:24;33877:323;;;33942:20;33932:7;:30;33929:252;;;33991:61;34018:10;34031:20;33991:18;:61::i;:::-;33929:252;;;34109:48;34136:10;34149:7;34109:18;:48::i;:::-;33929:252;33877:323;33777:438;;33633:593;;34250:1;34240:7;:11;34236:392;;;34268:23;34294:24;:22;:24::i;:::-;34268:50;;34333:74;34371:10;34392:4;34399:7;34333:4;:12;;;;;;;;;;;;:29;;;;:74;;;;;;:::i;:::-;34443:45;34472:15;34443:24;:22;:24::i;:::-;:28;;:45;;;;:::i;:::-;34422:66;;34517:35;34533:18;34517:4;:11;;;:15;;:35;;;;:::i;:::-;34503:4;:11;;:49;;;;34581:35;34597:18;34581:11;;:15;;:35;;;;:::i;:::-;34567:11;:49;;;;34236:392;;34656:54;34705:4;34656:44;34672:4;:27;;;34656:4;:11;;;:15;;:44;;;;:::i;:::-;:48;;:54;;;;:::i;:::-;34638:4;:15;;:72;;;;34736:10;34728:39;;;34748:18;34728:39;;;;;;;;;;;;;;;;;;33415:1360;;;;:::o;36914:122::-;24765:12;:10;:12::i;:::-;24754:23;;:7;:5;:7::i;:::-;:23;;;24746:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37013:15:::1;36996:14;:32;;;;36914:122:::0;:::o;38241:384::-;38290:21;38314:8;38323:1;38314:11;;;;;;;;;;;;;;;;;;38290:35;;38336:21;38360:8;:20;38369:10;38360:20;;;;;;;;;;;;;;;38336:44;;38391:59;38425:10;38438:4;:11;;;38391:4;:12;;;;;;;;;;;;:25;;;;:59;;;;;:::i;:::-;38475:28;38491:4;:11;;;38475;;:15;;:28;;;;:::i;:::-;38461:11;:42;;;;38528:1;38514:4;:11;;:15;;;;38558:1;38540:4;:15;;:19;;;;38593:10;38575:42;;;38605:4;:11;;;38575:42;;;;;;;;;;;;;;;;;;38241:384;;:::o;25488:244::-;24765:12;:10;:12::i;:::-;24754:23;;:7;:5;:7::i;:::-;:23;;;24746:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25597:1:::1;25577:22;;:8;:22;;;;25569:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25687:8;25658:38;;25679:6;::::0;::::1;;;;;;;;25658:38;;;;;;;;;;;;25716:8;25707:6;::::0;:17:::1;;;;;;;;;;;;;;;;;;25488:244:::0;:::o;31423:716::-;31484:7;31504:21;31528:8;31537:1;31528:11;;;;;;;;;;;;;;;;;;31504:35;;31550:21;31574:8;:15;31583:5;31574:15;;;;;;;;;;;;;;;31550:39;;31600:30;31633:4;:27;;;31600:60;;31690:4;:20;;;31675:12;:35;:55;;;;;31729:1;31714:11;;:16;;31675:55;31671:373;;;31747:18;31768:49;31782:4;:20;;;31804:12;31768:13;:49::i;:::-;31747:70;;31832:19;31854:72;31910:15;;31854:51;31889:4;:15;;;31854:30;31869:14;;31854:10;:14;;:30;;;;:::i;:::-;:34;;:51;;;;:::i;:::-;:55;;:72;;;;:::i;:::-;31832:94;;31966:66;31993:38;32019:11;;31993:21;32009:4;31993:11;:15;;:21;;;;:::i;:::-;:25;;:38;;;;:::i;:::-;31966:22;:26;;:66;;;;:::i;:::-;31941:91;;31671:373;;;32061:70;32115:4;:15;;;32061:49;32105:4;32061:39;32077:22;32061:4;:11;;;:15;;:39;;;;:::i;:::-;:43;;:49;;;;:::i;:::-;:53;;:70;;;;:::i;:::-;32054:77;;;;;31423:716;;;:::o;29273:25::-;;;;;;;;;;;;;:::o;6894:220::-;6952:7;6981:1;6976;:6;6972:20;;;6991:1;6984:8;;;;6972:20;7003:9;7019:1;7015;:5;7003:17;;7048:1;7043;7039;:5;;;;;;:10;7031:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7105:1;7098:8;;;6894:220;;;;;:::o;7592:153::-;7650:7;7682:1;7678;:5;7670:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7736:1;7732;:5;;;;;;7725:12;;7592:153;;;;:::o;6477:158::-;6535:7;6568:1;6563;:6;;6555:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6626:1;6622;:5;6615:12;;6477:158;;;;:::o;36671:124::-;36749:38;36774:3;36779:7;36749:11;;;;;;;;;;;:24;;;;:38;;;;;:::i;:::-;36671:124;;:::o;19360:177::-;19443:86;19463:5;19493:23;;;19518:2;19522:5;19470:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19443:19;:86::i;:::-;19360:177;;;:::o;23069:106::-;23122:15;23157:10;23150:17;;23069:106;:::o;6015:179::-;6073:7;6093:9;6109:1;6105;:5;6093:17;;6134:1;6129;:6;;6121:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6185:1;6178:8;;;6015:179;;;;:::o;19545:205::-;19646:96;19666:5;19696:27;;;19725:4;19731:2;19735:5;19673:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19646:19;:96::i;:::-;19545:205;;;;:::o;21665:761::-;22089:23;22115:69;22143:4;22115:69;;;;;;;;;;;;;;;;;22123:5;22115:27;;;;:69;;;;;:::i;:::-;22089:95;;22219:1;22199:10;:17;:21;22195:224;;;22341:10;22330:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22322:85;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22195:224;21665:761;;;:::o;14374:195::-;14477:12;14509:52;14531:6;14539:4;14545:1;14548:12;14509:21;:52::i;:::-;14502:59;;14374:195;;;;;:::o;15426:530::-;15553:12;15611:5;15586:21;:30;;15578:81;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15678:18;15689:6;15678:10;:18::i;:::-;15670:60;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15804:12;15818:23;15845:6;:11;;15865:5;15873:4;15845:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15803:75;;;;15896:52;15914:7;15923:10;15935:12;15896:17;:52::i;:::-;15889:59;;;;15426:530;;;;;;:::o;11456:422::-;11516:4;11724:12;11835:7;11823:20;11815:28;;11869:1;11862:4;:8;11855:15;;;11456:422;;;:::o;17966:742::-;18081:12;18110:7;18106:595;;;18141:10;18134:17;;;;18106:595;18275:1;18255:10;:17;:21;18251:439;;;18518:10;18512:17;18579:15;18566:10;18562:2;18558:19;18551:44;18466:148;18661:12;18654:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17966:742;;;;;;:::o

Swarm Source

ipfs://990790141b8c5a3064f8c395224eb2b250ae8bb5f9daed9577e6c82943aa2ae0
Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Validator ID :
0 FTM

Amount Staked
0

Amount Delegated
0

Staking Total
0

Staking Start Epoch
0

Staking Start Time
0

Proof of Importance
0

Origination Score
0

Validation Score
0

Active
0

Online
0

Downtime
0 s
Address Amount claimed Rewards Created On Epoch Created On
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.