ETH Price: $2,752.16 (+0.73%)

Contract

0x16244B5061edcD823F32cc715cF4642C1875338F
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Withdraw138823722021-12-26 18:21:031152 days ago1640542863IN
0x16244B50...C1875338F
0 ETH0.0209034474
Withdraw138292792021-12-18 13:04:051160 days ago1639832645IN
0x16244B50...C1875338F
0 ETH0.0122592642.73040476
Withdraw137777782021-12-10 13:52:311168 days ago1639144351IN
0x16244B50...C1875338F
0 ETH0.0052689664.88310939
Deposit137777722021-12-10 13:50:211168 days ago1639144221IN
0x16244B50...C1875338F
0 ETH0.0180249967.41492755
Deposit136257712021-11-16 9:18:361192 days ago1637054316IN
0x16244B50...C1875338F
0 ETH0.01366897104.57640738
Withdraw135726932021-11-08 0:41:431201 days ago1636332103IN
0x16244B50...C1875338F
0 ETH0.03216945110.97201035
Withdraw134927192021-10-26 11:28:131213 days ago1635247693IN
0x16244B50...C1875338F
0 ETH0.024638884.40836528
Withdraw134910292021-10-26 5:04:091213 days ago1635224649IN
0x16244B50...C1875338F
0 ETH0.0249990286.23685169
Deposit134904812021-10-26 3:01:451214 days ago1635217305IN
0x16244B50...C1875338F
0 ETH0.02962137110.88044305
Deposit134844342021-10-25 4:24:431215 days ago1635135883IN
0x16244B50...C1875338F
0 ETH0.0083607675.84697356
Withdraw134820212021-10-24 19:22:281215 days ago1635103348IN
0x16244B50...C1875338F
0 ETH0.04200919144.90927674
Deposit134819462021-10-24 19:01:201215 days ago1635102080IN
0x16244B50...C1875338F
0 ETH0.01500768136.13151878
Deposit134807982021-10-24 14:47:461215 days ago1635086866IN
0x16244B50...C1875338F
0 ETH0.0081600274.0259235
Change Deposit F...134801012021-10-24 12:08:031215 days ago1635077283IN
0x16244B50...C1875338F
0 ETH0.0012914753.41530414
Withdraw134743402021-10-23 14:36:221216 days ago1634999782IN
0x16244B50...C1875338F
0 ETH0.0185644964.0402468
Deposit134634382021-10-21 21:33:381218 days ago1634852018IN
0x16244B50...C1875338F
0 ETH0.0083112467.95230525
Deposit134624892021-10-21 17:55:041218 days ago1634838904IN
0x16244B50...C1875338F
0 ETH0.0118886597.19144178
Withdraw134619412021-10-21 15:56:551218 days ago1634831815IN
0x16244B50...C1875338F
0 ETH0.0275582195.06109976
Deposit134618732021-10-21 15:41:251218 days ago1634830885IN
0x16244B50...C1875338F
0 ETH0.01259194102.95110021
Withdraw134618682021-10-21 15:40:101218 days ago1634830810IN
0x16244B50...C1875338F
0 ETH0.0021548582.71661505
Withdraw134618682021-10-21 15:40:101218 days ago1634830810IN
0x16244B50...C1875338F
0 ETH0.0127311482.96661505
Deposit134618532021-10-21 15:37:031218 days ago1634830623IN
0x16244B50...C1875338F
0 ETH0.024819192.90428829
Deposit134617772021-10-21 15:20:321218 days ago1634829632IN
0x16244B50...C1875338F
0 ETH0.0102171183.53462332
Deposit134617702021-10-21 15:19:421218 days ago1634829582IN
0x16244B50...C1875338F
0 ETH0.03309606123.88710181
Deposit134617352021-10-21 15:09:221218 days ago1634828962IN
0x16244B50...C1875338F
0 ETH0.01565005112.24954627
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
SmartChef

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 1 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2021-10-20
*/

/**
 * Stake MELIODAS-ETH LPs and earn MELIODAS
*/

//SPDX-License-Identifier: UNLICENSED


pragma solidity 0.6.12;

//import "@nomiclabs/buidler/console.sol";





pragma solidity >=0.4.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.
 */
contract Context {
    // Empty internal constructor, to prevent people from mistakenly deploying
    // an instance of this contract, which should be used via inheritance.
    constructor() internal {}

    function _msgSender() internal view returns (address payable) {
        return msg.sender;
    }

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



pragma solidity >=0.4.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 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 onlyOwner {
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     */
    function _transferOwnership(address newOwner) internal {
        require(newOwner != address(0), 'Ownable: new owner is the zero address');
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}


pragma solidity >=0.4.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;
    }

    function min(uint256 x, uint256 y) internal pure returns (uint256 z) {
        z = x < y ? x : y;
    }

    // babylonian method (https://en.wikipedia.org/wiki/Methods_of_computing_square_roots#Babylonian_method)
    function sqrt(uint256 y) internal pure returns (uint256 z) {
        if (y > 3) {
            z = y;
            uint256 x = y / 2 + 1;
            while (x < z) {
                z = x;
                x = (y / x + x) / 2;
            }
        } else if (y != 0) {
            z = 1;
        }
    }
}


pragma solidity >=0.4.0;

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

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

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

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

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

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

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

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

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

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

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

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




pragma solidity ^0.6.0;

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

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

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

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

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

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

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

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


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) {
        // According to EIP-1052, 0x0 is the value returned for not-yet created accounts
        // and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned
        // for accounts without code, i.e. `keccak256('')`
        bytes32 codehash;
        bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470;
        // solhint-disable-next-line no-inline-assembly
        assembly {
            codehash := extcodehash(account)
        }
        return (codehash != accountHash && codehash != 0x0);
    }

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

contract SmartChef 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. CAKEs to distribute per block.
        uint256 lastRewardBlock;  // Last block number that CAKEs distribution occurs.
        uint256 accCakePerShare; // Accumulated CAKEs per share, times 1e12. See below.
    }

    // The CAKE TOKEN!
    IBEP20 public syrup;
    IBEP20 public rewardToken;

    // uint256 public maxStaking;

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

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

    constructor(
        IBEP20 _syrup,
        IBEP20 _rewardToken,
        uint256 _rewardPerBlock,
        uint256 _startBlock,
        uint256 _bonusEndBlock,
        uint256 _depositfee,
        address _feereceiver
    ) public {
        syrup = _syrup;
        rewardToken = _rewardToken;
        rewardPerBlock = _rewardPerBlock;
        startBlock = _startBlock;
        bonusEndBlock = _bonusEndBlock;
        depositFee = _depositfee;
        feeReceiver = _feereceiver;

        // staking pool
        poolInfo.push(PoolInfo({
            lpToken: _syrup,
            allocPoint: 1000,
            lastRewardBlock: startBlock,
            accCakePerShare: 0
        }));
        totalAllocPoint = 1000;
        transferOwnership(0x12304B4258bd10c49C433980D98C28C4741f50C1);

    }

    function stopReward() public onlyOwner {
        bonusEndBlock = block.number;
    }
    
    function changeRewardTime(uint256 _startBlock, uint256 _endBlock, uint256 _reward) public onlyOwner {
        startBlock = _startBlock;
        bonusEndBlock = _endBlock;
        rewardPerBlock = _reward;
        poolInfo[0].lastRewardBlock = startBlock;
    }


    // 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 accCakePerShare = pool.accCakePerShare;
        uint256 lpSupply = pool.lpToken.balanceOf(address(this));
        if (block.number > pool.lastRewardBlock && lpSupply != 0) {
            uint256 multiplier = getMultiplier(pool.lastRewardBlock, block.number);
            uint256 cakeReward = multiplier.mul(rewardPerBlock).mul(pool.allocPoint).div(totalAllocPoint);
            accCakePerShare = accCakePerShare.add(cakeReward.mul(1e12).div(lpSupply));
        }
        return user.amount.mul(accCakePerShare).div(1e12).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;
        }
        uint256 lpSupply = pool.lpToken.balanceOf(address(this));
        if (lpSupply == 0) {
            pool.lastRewardBlock = block.number;
            return;
        }
        uint256 multiplier = getMultiplier(pool.lastRewardBlock, block.number);
        uint256 cakeReward = multiplier.mul(rewardPerBlock).mul(pool.allocPoint).div(totalAllocPoint);
        pool.accCakePerShare = pool.accCakePerShare.add(cakeReward.mul(1e12).div(lpSupply));
        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);
        }
    }


    // Stake SYRUP tokens to SmartChef
    function deposit(uint256 _amount) public {
        PoolInfo storage pool = poolInfo[0];
        UserInfo storage user = userInfo[msg.sender];

        // require (_amount.add(user.amount) <= maxStaking, 'exceed max stake');

        updatePool(0);
        if (user.amount > 0) {
            uint256 pending = user.amount.mul(pool.accCakePerShare).div(1e12).sub(user.rewardDebt);
            if(pending > 0) {
                rewardToken.safeTransfer(address(msg.sender), pending);
            }
        }
        if(_amount > 0) {
            pool.lpToken.safeTransferFrom(address(msg.sender), address(this), _amount);
            uint256 localDepositFee = 0;
            if(depositFee > 0){
                localDepositFee = _amount.mul(depositFee).div(10000);
                pool.lpToken.safeTransfer(feeReceiver, localDepositFee);
            }
            user.amount = user.amount.add(_amount).sub(localDepositFee);
        }
        user.rewardDebt = user.amount.mul(pool.accCakePerShare).div(1e12);

        emit Deposit(msg.sender, _amount);
    }

    // Withdraw SYRUP tokens from STAKING.
    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.accCakePerShare).div(1e12).sub(user.rewardDebt);
        if(pending > 0) {
            rewardToken.safeTransfer(address(msg.sender), pending);
        }
        if(_amount > 0) {
            user.amount = user.amount.sub(_amount);
            pool.lpToken.safeTransfer(address(msg.sender), _amount);
        }
        user.rewardDebt = user.amount.mul(pool.accCakePerShare).div(1e12);

        emit Withdraw(msg.sender, _amount);
    }

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

    // Withdraw reward. EMERGENCY ONLY.
    function emergencyRewardWithdraw(uint256 _amount) public onlyOwner {
        require(_amount < rewardToken.balanceOf(address(this)), 'not enough token');
        rewardToken.safeTransfer(address(msg.sender), _amount);
    }
    
    function changeFeeReceiver(address new_receiver) public {
        require(msg.sender == feeReceiver, "cant do that");
        feeReceiver = new_receiver;
    }

}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"contract IBEP20","name":"_syrup","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"},{"internalType":"uint256","name":"_depositfee","type":"uint256"},{"internalType":"address","name":"_feereceiver","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":"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":"Withdraw","type":"event"},{"inputs":[],"name":"bonusEndBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_depositFee","type":"uint256"}],"name":"changeDepositFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"new_receiver","type":"address"}],"name":"changeFeeReceiver","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_startBlock","type":"uint256"},{"internalType":"uint256","name":"_endBlock","type":"uint256"},{"internalType":"uint256","name":"_reward","type":"uint256"}],"name":"changeRewardTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"depositFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":[],"name":"feeReceiver","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_from","type":"uint256"},{"internalType":"uint256","name":"_to","type":"uint256"}],"name":"getMultiplier","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"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":"accCakePerShare","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","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":[],"name":"startBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"stopReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"syrup","outputs":[{"internalType":"contract IBEP20","name":"","type":"address"}],"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"}]

608060405260006008553480156200001657600080fd5b50604051620018a6380380620018a6833981810160405260e08110156200003c57600080fd5b508051602082015160408301516060840151608085015160a086015160c090960151949593949293919290919060006200007562000208565b600080546001600160a01b0319166001600160a01b03831690811782556040519293509160008051602062001886833981519152908290a350600180546001600160a01b03808a166001600160a01b031992831681178455600280548b841690851617905560038990556009889055600a879055600486815560058054878516908616179055604080516080810182529283526103e8602084018181529184018b8152600060608601818152600680549a8b0181559091529451979093027ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f8101805498909616979096169690961790935591517ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d4084015590517ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d41830155517ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d4290910155600855620001fb7312304b4258bd10c49c433980d98c28c4741f50c16200020c565b5050505050505062000318565b3390565b6200021662000208565b6000546001600160a01b0390811691161462000279576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b620002848162000287565b50565b6001600160a01b038116620002ce5760405162461bcd60e51b8152600401808060200182810382526026815260200180620018606026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216916000805160206200188683398151915291a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b61153880620003286000396000f3fe608060405234801561001057600080fd5b50600436106101285760003560e01c80631526fe271461012d5780631959a0021461017a5780631aed6553146101b95780632e1a7d4d146101d35780633279beab146101f257806348cd4cb11461020f57806351eb05a614610217578063630b5ba11461023457806367a527931461023c578063715018a614610244578063767e77a31461024c5780637c08b9641461027557806380dc06721461029b57806386a952c4146102a35780638ae39cac146102c75780638da5cb5b146102cf5780638dbb1e3a146102d7578063b3f00674146102fa578063b6b55f2514610302578063db2e21bc1461031f578063e88d956714610327578063f2fde38b14610344578063f40f0f521461036a578063f7c618c114610390575b600080fd5b61014a6004803603602081101561014357600080fd5b5035610398565b604080516001600160a01b0390951685526020850193909352838301919091526060830152519081900360800190f35b6101a06004803603602081101561019057600080fd5b50356001600160a01b03166103d9565b6040805192835260208301919091528051918290030190f35b6101c16103f2565b60408051918252519081900360200190f35b6101f0600480360360208110156101e957600080fd5b50356103f8565b005b6101f06004803603602081101561020857600080fd5b503561055d565b6101c161068c565b6101f06004803603602081101561022d57600080fd5b5035610692565b6101f06107c1565b6101c16107e4565b6101f06107ea565b6101f06004803603606081101561026257600080fd5b508035906020810135906040013561087a565b6101f06004803603602081101561028b57600080fd5b50356001600160a01b031661090b565b6101f061097b565b6102ab6109d9565b604080516001600160a01b039092168252519081900360200190f35b6101c16109e8565b6102ab6109ee565b6101c1600480360360408110156102ed57600080fd5b50803590602001356109fd565b6102ab610a3d565b6101f06004803603602081101561031857600080fd5b5035610a4c565b6101f0610bad565b6101f06004803603602081101561033d57600080fd5b5035610c40565b6101f06004803603602081101561035a57600080fd5b50356001600160a01b0316610c9d565b6101c16004803603602081101561038057600080fd5b50356001600160a01b0316610cfe565b6102ab610e56565b600681815481106103a557fe5b600091825260209091206004909102018054600182015460028301546003909301546001600160a01b039092169350919084565b6007602052600090815260409020805460019091015482565b600a5481565b6000600660008154811061040857fe5b6000918252602080832033845260079091526040909220805460049092029092019250831115610474576040805162461bcd60e51b81526020600482015260126024820152711dda5d1a191c985dce881b9bdd0819dbdbd960721b604482015290519081900360640190fd5b61047e6000610692565b60006104b882600101546104b264e8d4a510006104ac87600301548760000154610e6590919063ffffffff16565b90610ec5565b90610f04565b905080156104d7576002546104d7906001600160a01b03163383610f46565b83156105015781546104e99085610f04565b82558254610501906001600160a01b03163386610f46565b6003830154825461051c9164e8d4a51000916104ac91610e65565b600183015560408051858152905133917f884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a9424364919081900360200190a250505050565b610565610f9d565b6000546001600160a01b039081169116146105b5576040805162461bcd60e51b815260206004820181905260248201526000805160206114c3833981519152604482015290519081900360640190fd5b600254604080516370a0823160e01b815230600482015290516001600160a01b03909216916370a0823191602480820192602092909190829003018186803b15801561060057600080fd5b505afa158015610614573d6000803e3d6000fd5b505050506040513d602081101561062a57600080fd5b50518110610672576040805162461bcd60e51b815260206004820152601060248201526f3737ba1032b737bab3b4103a37b5b2b760811b604482015290519081900360640190fd5b600254610689906001600160a01b03163383610f46565b50565b60095481565b6000600682815481106106a157fe5b90600052602060002090600402019050806002015443116106c25750610689565b8054604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b15801561070c57600080fd5b505afa158015610720573d6000803e3d6000fd5b505050506040513d602081101561073657600080fd5b505190508061074c575043600290910155610689565b600061075c8360020154436109fd565b905060006107896008546104ac866001015461078360035487610e6590919063ffffffff16565b90610e65565b90506107ac6107a1846104ac8464e8d4a51000610e65565b600386015490610fa1565b60038501555050436002909201919091555050565b60065460005b818110156107e0576107d881610692565b6001016107c7565b5050565b60045481565b6107f2610f9d565b6000546001600160a01b03908116911614610842576040805162461bcd60e51b815260206004820181905260248201526000805160206114c3833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116906000805160206114e3833981519152908390a3600080546001600160a01b0319169055565b610882610f9d565b6000546001600160a01b039081169116146108d2576040805162461bcd60e51b815260206004820181905260248201526000805160206114c3833981519152604482015290519081900360640190fd5b6009839055600a8290556003819055600680548491906000906108f157fe5b906000526020600020906004020160020181905550505050565b6005546001600160a01b03163314610959576040805162461bcd60e51b815260206004820152600c60248201526b18d85b9d08191bc81d1a185d60a21b604482015290519081900360640190fd5b600580546001600160a01b0319166001600160a01b0392909216919091179055565b610983610f9d565b6000546001600160a01b039081169116146109d3576040805162461bcd60e51b815260206004820181905260248201526000805160206114c3833981519152604482015290519081900360640190fd5b43600a55565b6001546001600160a01b031681565b60035481565b6000546001600160a01b031690565b6000600a548211610a1957610a128284610f04565b9050610a37565b600a548310610a2a57506000610a37565b600a54610a129084610f04565b92915050565b6005546001600160a01b031681565b60006006600081548110610a5c57fe5b60009182526020808320338452600790915260408320600490920201925090610a8490610692565b805415610ada576000610ab982600101546104b264e8d4a510006104ac87600301548760000154610e6590919063ffffffff16565b90508015610ad857600254610ad8906001600160a01b03163383610f46565b505b8215610b52578154610af7906001600160a01b0316333086610ff9565b60045460009015610b3c57610b1d6127106104ac60045487610e6590919063ffffffff16565b6005548454919250610b3c916001600160a01b03908116911683610f46565b8154610b4e9082906104b29087610fa1565b8255505b60038201548154610b6d9164e8d4a51000916104ac91610e65565b600182015560408051848152905133917fe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c919081900360200190a2505050565b60006006600081548110610bbd57fe5b600091825260208083203380855260079092526040909320805460049093029093018054909450610bfb926001600160a01b03919091169190610f46565b600080825560018201819055604080519182525133917f5fafa99d0643513820be26656b45130b01e1c03062e1266bf36f88cbd3bd9695919081900360200190a25050565b610c48610f9d565b6000546001600160a01b03908116911614610c98576040805162461bcd60e51b815260206004820181905260248201526000805160206114c3833981519152604482015290519081900360640190fd5b600455565b610ca5610f9d565b6000546001600160a01b03908116911614610cf5576040805162461bcd60e51b815260206004820181905260248201526000805160206114c3833981519152604482015290519081900360640190fd5b61068981611059565b6000806006600081548110610d0f57fe5b600091825260208083206001600160a01b03878116855260078352604080862060049586029093016003810154815483516370a0823160e01b81523098810198909852925191985093969395939491909216926370a082319260248083019392829003018186803b158015610d8357600080fd5b505afa158015610d97573d6000803e3d6000fd5b505050506040513d6020811015610dad57600080fd5b5051600285015490915043118015610dc457508015155b15610e24576000610dd98560020154436109fd565b90506000610e006008546104ac886001015461078360035487610e6590919063ffffffff16565b9050610e1f610e18846104ac8464e8d4a51000610e65565b8590610fa1565b935050505b610e4c83600101546104b264e8d4a510006104ac868860000154610e6590919063ffffffff16565b9695505050505050565b6002546001600160a01b031681565b600082610e7457506000610a37565b82820282848281610e8157fe5b0414610ebe5760405162461bcd60e51b81526004018080602001828103825260218152602001806114a26021913960400191505060405180910390fd5b9392505050565b6000610ebe83836040518060400160405280601a815260200179536166654d6174683a206469766973696f6e206279207a65726f60301b8152506110e7565b6000610ebe83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611189565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610f989084906111e3565b505050565b3390565b600082820183811015610ebe576040805162461bcd60e51b815260206004820152601b60248201527a536166654d6174683a206164646974696f6e206f766572666c6f7760281b604482015290519081900360640190fd5b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b1790526110539085906111e3565b50505050565b6001600160a01b03811661109e5760405162461bcd60e51b815260040180806020018281038252602681526020018061147c6026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216916000805160206114e383398151915291a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b600081836111735760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611138578181015183820152602001611120565b50505050905090810190601f1680156111655780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50600083858161117f57fe5b0495945050505050565b600081848411156111db5760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315611138578181015183820152602001611120565b505050900390565b6060611238826040518060400160405280602081526020017f5361666542455032303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166112949092919063ffffffff16565b805190915015610f985780806020019051602081101561125757600080fd5b5051610f985760405162461bcd60e51b815260040180806020018281038252602a815260200180611452602a913960400191505060405180910390fd5b60606112a384846000856112ab565b949350505050565b60606112b685611418565b611307576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b602083106113465780518252601f199092019160209182019101611327565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d80600081146113a8576040519150601f19603f3d011682016040523d82523d6000602084013e6113ad565b606091505b509150915081156113c15791506112a39050565b8051156113d15780518082602001fd5b60405162461bcd60e51b8152602060048201818152865160248401528651879391928392604401919085019080838360008315611138578181015183820152602001611120565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a4708181148015906112a357505015159291505056fe5361666542455032303a204245503230206f7065726174696f6e20646964206e6f7420737563636565644f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65728be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0a2646970667358221220a35258043ab5f1a54396c1ec1a6b465c7c7619377f904aa9fce8de931a757a3264736f6c634300060c00334f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573738be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e00000000000000000000000002605811337f68a500665cf5e21f8fe145d207ac9000000000000000000000000ebb3ca3babd51afcd7e0968571874567de02af5c0000000000000000000000000000000000000000000001147d3491b453fe2ee00000000000000000000000000000000000000000000000000000000000cd628e0000000000000000000000000000000000000000000000000000000000d06070000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012304b4258bd10c49c433980d98c28c4741f50c1

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101285760003560e01c80631526fe271461012d5780631959a0021461017a5780631aed6553146101b95780632e1a7d4d146101d35780633279beab146101f257806348cd4cb11461020f57806351eb05a614610217578063630b5ba11461023457806367a527931461023c578063715018a614610244578063767e77a31461024c5780637c08b9641461027557806380dc06721461029b57806386a952c4146102a35780638ae39cac146102c75780638da5cb5b146102cf5780638dbb1e3a146102d7578063b3f00674146102fa578063b6b55f2514610302578063db2e21bc1461031f578063e88d956714610327578063f2fde38b14610344578063f40f0f521461036a578063f7c618c114610390575b600080fd5b61014a6004803603602081101561014357600080fd5b5035610398565b604080516001600160a01b0390951685526020850193909352838301919091526060830152519081900360800190f35b6101a06004803603602081101561019057600080fd5b50356001600160a01b03166103d9565b6040805192835260208301919091528051918290030190f35b6101c16103f2565b60408051918252519081900360200190f35b6101f0600480360360208110156101e957600080fd5b50356103f8565b005b6101f06004803603602081101561020857600080fd5b503561055d565b6101c161068c565b6101f06004803603602081101561022d57600080fd5b5035610692565b6101f06107c1565b6101c16107e4565b6101f06107ea565b6101f06004803603606081101561026257600080fd5b508035906020810135906040013561087a565b6101f06004803603602081101561028b57600080fd5b50356001600160a01b031661090b565b6101f061097b565b6102ab6109d9565b604080516001600160a01b039092168252519081900360200190f35b6101c16109e8565b6102ab6109ee565b6101c1600480360360408110156102ed57600080fd5b50803590602001356109fd565b6102ab610a3d565b6101f06004803603602081101561031857600080fd5b5035610a4c565b6101f0610bad565b6101f06004803603602081101561033d57600080fd5b5035610c40565b6101f06004803603602081101561035a57600080fd5b50356001600160a01b0316610c9d565b6101c16004803603602081101561038057600080fd5b50356001600160a01b0316610cfe565b6102ab610e56565b600681815481106103a557fe5b600091825260209091206004909102018054600182015460028301546003909301546001600160a01b039092169350919084565b6007602052600090815260409020805460019091015482565b600a5481565b6000600660008154811061040857fe5b6000918252602080832033845260079091526040909220805460049092029092019250831115610474576040805162461bcd60e51b81526020600482015260126024820152711dda5d1a191c985dce881b9bdd0819dbdbd960721b604482015290519081900360640190fd5b61047e6000610692565b60006104b882600101546104b264e8d4a510006104ac87600301548760000154610e6590919063ffffffff16565b90610ec5565b90610f04565b905080156104d7576002546104d7906001600160a01b03163383610f46565b83156105015781546104e99085610f04565b82558254610501906001600160a01b03163386610f46565b6003830154825461051c9164e8d4a51000916104ac91610e65565b600183015560408051858152905133917f884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a9424364919081900360200190a250505050565b610565610f9d565b6000546001600160a01b039081169116146105b5576040805162461bcd60e51b815260206004820181905260248201526000805160206114c3833981519152604482015290519081900360640190fd5b600254604080516370a0823160e01b815230600482015290516001600160a01b03909216916370a0823191602480820192602092909190829003018186803b15801561060057600080fd5b505afa158015610614573d6000803e3d6000fd5b505050506040513d602081101561062a57600080fd5b50518110610672576040805162461bcd60e51b815260206004820152601060248201526f3737ba1032b737bab3b4103a37b5b2b760811b604482015290519081900360640190fd5b600254610689906001600160a01b03163383610f46565b50565b60095481565b6000600682815481106106a157fe5b90600052602060002090600402019050806002015443116106c25750610689565b8054604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b15801561070c57600080fd5b505afa158015610720573d6000803e3d6000fd5b505050506040513d602081101561073657600080fd5b505190508061074c575043600290910155610689565b600061075c8360020154436109fd565b905060006107896008546104ac866001015461078360035487610e6590919063ffffffff16565b90610e65565b90506107ac6107a1846104ac8464e8d4a51000610e65565b600386015490610fa1565b60038501555050436002909201919091555050565b60065460005b818110156107e0576107d881610692565b6001016107c7565b5050565b60045481565b6107f2610f9d565b6000546001600160a01b03908116911614610842576040805162461bcd60e51b815260206004820181905260248201526000805160206114c3833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116906000805160206114e3833981519152908390a3600080546001600160a01b0319169055565b610882610f9d565b6000546001600160a01b039081169116146108d2576040805162461bcd60e51b815260206004820181905260248201526000805160206114c3833981519152604482015290519081900360640190fd5b6009839055600a8290556003819055600680548491906000906108f157fe5b906000526020600020906004020160020181905550505050565b6005546001600160a01b03163314610959576040805162461bcd60e51b815260206004820152600c60248201526b18d85b9d08191bc81d1a185d60a21b604482015290519081900360640190fd5b600580546001600160a01b0319166001600160a01b0392909216919091179055565b610983610f9d565b6000546001600160a01b039081169116146109d3576040805162461bcd60e51b815260206004820181905260248201526000805160206114c3833981519152604482015290519081900360640190fd5b43600a55565b6001546001600160a01b031681565b60035481565b6000546001600160a01b031690565b6000600a548211610a1957610a128284610f04565b9050610a37565b600a548310610a2a57506000610a37565b600a54610a129084610f04565b92915050565b6005546001600160a01b031681565b60006006600081548110610a5c57fe5b60009182526020808320338452600790915260408320600490920201925090610a8490610692565b805415610ada576000610ab982600101546104b264e8d4a510006104ac87600301548760000154610e6590919063ffffffff16565b90508015610ad857600254610ad8906001600160a01b03163383610f46565b505b8215610b52578154610af7906001600160a01b0316333086610ff9565b60045460009015610b3c57610b1d6127106104ac60045487610e6590919063ffffffff16565b6005548454919250610b3c916001600160a01b03908116911683610f46565b8154610b4e9082906104b29087610fa1565b8255505b60038201548154610b6d9164e8d4a51000916104ac91610e65565b600182015560408051848152905133917fe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c919081900360200190a2505050565b60006006600081548110610bbd57fe5b600091825260208083203380855260079092526040909320805460049093029093018054909450610bfb926001600160a01b03919091169190610f46565b600080825560018201819055604080519182525133917f5fafa99d0643513820be26656b45130b01e1c03062e1266bf36f88cbd3bd9695919081900360200190a25050565b610c48610f9d565b6000546001600160a01b03908116911614610c98576040805162461bcd60e51b815260206004820181905260248201526000805160206114c3833981519152604482015290519081900360640190fd5b600455565b610ca5610f9d565b6000546001600160a01b03908116911614610cf5576040805162461bcd60e51b815260206004820181905260248201526000805160206114c3833981519152604482015290519081900360640190fd5b61068981611059565b6000806006600081548110610d0f57fe5b600091825260208083206001600160a01b03878116855260078352604080862060049586029093016003810154815483516370a0823160e01b81523098810198909852925191985093969395939491909216926370a082319260248083019392829003018186803b158015610d8357600080fd5b505afa158015610d97573d6000803e3d6000fd5b505050506040513d6020811015610dad57600080fd5b5051600285015490915043118015610dc457508015155b15610e24576000610dd98560020154436109fd565b90506000610e006008546104ac886001015461078360035487610e6590919063ffffffff16565b9050610e1f610e18846104ac8464e8d4a51000610e65565b8590610fa1565b935050505b610e4c83600101546104b264e8d4a510006104ac868860000154610e6590919063ffffffff16565b9695505050505050565b6002546001600160a01b031681565b600082610e7457506000610a37565b82820282848281610e8157fe5b0414610ebe5760405162461bcd60e51b81526004018080602001828103825260218152602001806114a26021913960400191505060405180910390fd5b9392505050565b6000610ebe83836040518060400160405280601a815260200179536166654d6174683a206469766973696f6e206279207a65726f60301b8152506110e7565b6000610ebe83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611189565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610f989084906111e3565b505050565b3390565b600082820183811015610ebe576040805162461bcd60e51b815260206004820152601b60248201527a536166654d6174683a206164646974696f6e206f766572666c6f7760281b604482015290519081900360640190fd5b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b1790526110539085906111e3565b50505050565b6001600160a01b03811661109e5760405162461bcd60e51b815260040180806020018281038252602681526020018061147c6026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216916000805160206114e383398151915291a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b600081836111735760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611138578181015183820152602001611120565b50505050905090810190601f1680156111655780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50600083858161117f57fe5b0495945050505050565b600081848411156111db5760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315611138578181015183820152602001611120565b505050900390565b6060611238826040518060400160405280602081526020017f5361666542455032303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166112949092919063ffffffff16565b805190915015610f985780806020019051602081101561125757600080fd5b5051610f985760405162461bcd60e51b815260040180806020018281038252602a815260200180611452602a913960400191505060405180910390fd5b60606112a384846000856112ab565b949350505050565b60606112b685611418565b611307576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b602083106113465780518252601f199092019160209182019101611327565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d80600081146113a8576040519150601f19603f3d011682016040523d82523d6000602084013e6113ad565b606091505b509150915081156113c15791506112a39050565b8051156113d15780518082602001fd5b60405162461bcd60e51b8152602060048201818152865160248401528651879391928392604401919085019080838360008315611138578181015183820152602001611120565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a4708181148015906112a357505015159291505056fe5361666542455032303a204245503230206f7065726174696f6e20646964206e6f7420737563636565644f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65728be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0a2646970667358221220a35258043ab5f1a54396c1ec1a6b465c7c7619377f904aa9fce8de931a757a3264736f6c634300060c0033

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

0000000000000000000000002605811337f68a500665cf5e21f8fe145d207ac9000000000000000000000000ebb3ca3babd51afcd7e0968571874567de02af5c0000000000000000000000000000000000000000000001147d3491b453fe2ee00000000000000000000000000000000000000000000000000000000000cd628e0000000000000000000000000000000000000000000000000000000000d06070000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012304b4258bd10c49c433980d98c28c4741f50c1

-----Decoded View---------------
Arg [0] : _syrup (address): 0x2605811337F68A500665cf5E21F8fe145d207aC9
Arg [1] : _rewardToken (address): 0xEBB3cA3Babd51aFCD7e0968571874567DE02af5C
Arg [2] : _rewardPerBlock (uint256): 5100323360501055500000
Arg [3] : _startBlock (uint256): 13460110
Arg [4] : _bonusEndBlock (uint256): 13656176
Arg [5] : _depositfee (uint256): 0
Arg [6] : _feereceiver (address): 0x12304B4258bd10c49C433980D98C28C4741f50C1

-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 0000000000000000000000002605811337f68a500665cf5e21f8fe145d207ac9
Arg [1] : 000000000000000000000000ebb3ca3babd51afcd7e0968571874567de02af5c
Arg [2] : 0000000000000000000000000000000000000000000001147d3491b453fe2ee0
Arg [3] : 0000000000000000000000000000000000000000000000000000000000cd628e
Arg [4] : 0000000000000000000000000000000000000000000000000000000000d06070
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [6] : 00000000000000000000000012304b4258bd10c49c433980d98c28c4741f50c1


Deployed Bytecode Sourcemap

23120:7933:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24139:26;;;;;;;;;;;;;;;;-1:-1:-1;24139:26:0;;:::i;:::-;;;;-1:-1:-1;;;;;24139:26:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24221:45;;;;;;;;;;;;;;;;-1:-1:-1;24221:45:0;-1:-1:-1;;;;;24221:45:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;24533:28;;;:::i;:::-;;;;;;;;;;;;;;;;29342:727;;;;;;;;;;;;;;;;-1:-1:-1;29342:727:0;;:::i;:::-;;30648:226;;;;;;;;;;;;;;;;-1:-1:-1;30648:226:0;;:::i;24453:25::-;;;:::i;27209:687::-;;;;;;;;;;;;;;;;-1:-1:-1;27209:687:0;;:::i;27979:180::-;;;:::i;24045:25::-;;;:::i;2950:140::-;;;:::i;25679:265::-;;;;;;;;;;;;;;;;-1:-1:-1;25679:265:0;;;;;;;;;;;;:::i;30886:162::-;;;;;;;;;;;;;;;;-1:-1:-1;30886:162:0;-1:-1:-1;;;;;30886:162:0;;:::i;25581:86::-;;;:::i;23873:19::-;;;:::i;:::-;;;;-1:-1:-1;;;;;23873:19:0;;;;;;;;;;;;;;24009:29;;;:::i;2308:79::-;;;:::i;26022:306::-;;;;;;;;;;;;;;;;-1:-1:-1;26022:306:0;;;;;;;:::i;24078:26::-;;;:::i;28209:1081::-;;;;;;;;;;;;;;;;-1:-1:-1;28209:1081:0;;:::i;30140:329::-;;;:::i;30487:106::-;;;;;;;;;;;;;;;;-1:-1:-1;30487:106:0;;:::i;3245:109::-;;;;;;;;;;;;;;;;-1:-1:-1;3245:109:0;-1:-1:-1;;;;;3245:109:0;;:::i;26393:740::-;;;;;;;;;;;;;;;;-1:-1:-1;26393:740:0;-1:-1:-1;;;;;26393:740:0;;:::i;23899:25::-;;;:::i;24139:26::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;24139:26:0;;;;-1:-1:-1;24139:26:0;;;:::o;24221:45::-;;;;;;;;;;;;;;;;;;;:::o;24533:28::-;;;;:::o;29342:727::-;29395:21;29419:8;29428:1;29419:11;;;;;;;;;;;;;;;;29474:10;29465:20;;:8;:20;;;;;;;29504:11;;29419;;;;;;;;-1:-1:-1;29504:22:0;-1:-1:-1;29504:22:0;29496:53;;;;;-1:-1:-1;;;29496:53:0;;;;;;;;;;;;-1:-1:-1;;;29496:53:0;;;;;;;;;;;;;;;29560:13;29571:1;29560:10;:13::i;:::-;29584:15;29602:68;29654:4;:15;;;29602:47;29644:4;29602:37;29618:4;:20;;;29602:4;:11;;;:15;;:37;;;;:::i;:::-;:41;;:47::i;:::-;:51;;:68::i;:::-;29584:86;-1:-1:-1;29684:11:0;;29681:97;;29712:11;;:54;;-1:-1:-1;;;;;29712:11:0;29745:10;29758:7;29712:24;:54::i;:::-;29791:11;;29788:151;;29833:11;;:24;;29849:7;29833:15;:24::i;:::-;29819:38;;29872:12;;:55;;-1:-1:-1;;;;;29872:12:0;29906:10;29919:7;29872:25;:55::i;:::-;29983:20;;;;29967:11;;:47;;30009:4;;29967:37;;:15;:37::i;:47::-;29949:15;;;:65;30032:29;;;;;;;;30041:10;;30032:29;;;;;;;;;;29342:727;;;;:::o;30648:226::-;2530:12;:10;:12::i;:::-;2520:6;;-1:-1:-1;;;;;2520:6:0;;;:22;;;2512:67;;;;;-1:-1:-1;;;2512:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2512:67:0;;;;;;;;;;;;;;;30744:11:::1;::::0;:36:::1;::::0;;-1:-1:-1;;;30744:36:0;;30774:4:::1;30744:36;::::0;::::1;::::0;;;-1:-1:-1;;;;;30744:11:0;;::::1;::::0;:21:::1;::::0;:36;;;;;::::1;::::0;;;;;;;;;:11;:36;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;30744:36:0;30734:46;::::1;30726:75;;;::::0;;-1:-1:-1;;;30726:75:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;30726:75:0;;;;;;;;;;;;;::::1;;30812:11;::::0;:54:::1;::::0;-1:-1:-1;;;;;30812:11:0::1;30845:10;30858:7:::0;30812:24:::1;:54::i;:::-;30648:226:::0;:::o;24453:25::-;;;;:::o;27209:687::-;27261:21;27285:8;27294:4;27285:14;;;;;;;;;;;;;;;;;;27261:38;;27330:4;:20;;;27314:12;:36;27310:75;;27367:7;;;27310:75;27414:12;;:37;;;-1:-1:-1;;;27414:37:0;;27445:4;27414:37;;;;;;27395:16;;-1:-1:-1;;;;;27414:12:0;;:22;;:37;;;;;;;;;;;;;;:12;:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;27414:37:0;;-1:-1:-1;27466:13:0;27462:102;;-1:-1:-1;27519:12:0;27496:20;;;;:35;27546:7;;27462:102;27574:18;27595:49;27609:4;:20;;;27631:12;27595:13;:49::i;:::-;27574:70;;27655:18;27676:72;27732:15;;27676:51;27711:4;:15;;;27676:30;27691:14;;27676:10;:14;;:30;;;;:::i;:::-;:34;;:51::i;:72::-;27655:93;-1:-1:-1;27782:60:0;27807:34;27832:8;27807:20;27655:93;27822:4;27807:14;:20::i;:34::-;27782:20;;;;;:24;:60::i;:::-;27759:20;;;:83;-1:-1:-1;;27876:12:0;27853:20;;;;:35;;;;-1:-1:-1;27209:687:0;:::o;27979:180::-;28041:8;:15;28024:14;28067:85;28095:6;28089:3;:12;28067:85;;;28125:15;28136:3;28125:10;:15::i;:::-;28103:5;;28067:85;;;;27979:180;:::o;24045:25::-;;;;:::o;2950:140::-;2530:12;:10;:12::i;:::-;2520:6;;-1:-1:-1;;;;;2520:6:0;;;:22;;;2512:67;;;;;-1:-1:-1;;;2512:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2512:67:0;;;;;;;;;;;;;;;3049:1:::1;3033:6:::0;;3012:40:::1;::::0;-1:-1:-1;;;;;3033:6:0;;::::1;::::0;-1:-1:-1;;;;;;;;;;;3012:40:0;3049:1;;3012:40:::1;3080:1;3063:19:::0;;-1:-1:-1;;;;;;3063:19:0::1;::::0;;2950:140::o;25679:265::-;2530:12;:10;:12::i;:::-;2520:6;;-1:-1:-1;;;;;2520:6:0;;;:22;;;2512:67;;;;;-1:-1:-1;;;2512:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2512:67:0;;;;;;;;;;;;;;;25790:10:::1;:24:::0;;;25825:13:::1;:25:::0;;;25861:14:::1;:24:::0;;;-1:-1:-1;25896:11:0;;25803;;-1:-1:-1;;;25896:11:0::1;;;;;;;;;;;;;;:27;;:40;;;;25679:265:::0;;;:::o;30886:162::-;30975:11;;-1:-1:-1;;;;;30975:11:0;30961:10;:25;30953:50;;;;;-1:-1:-1;;;30953:50:0;;;;;;;;;;;;-1:-1:-1;;;30953:50:0;;;;;;;;;;;;;;;31014:11;:26;;-1:-1:-1;;;;;;31014:26:0;-1:-1:-1;;;;;31014:26:0;;;;;;;;;;30886:162::o;25581:86::-;2530:12;:10;:12::i;:::-;2520:6;;-1:-1:-1;;;;;2520:6:0;;;:22;;;2512:67;;;;;-1:-1:-1;;;2512:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2512:67:0;;;;;;;;;;;;;;;25647:12:::1;25631:13;:28:::0;25581:86::o;23873:19::-;;;-1:-1:-1;;;;;23873:19:0;;:::o;24009:29::-;;;;:::o;2308:79::-;2346:7;2373:6;-1:-1:-1;;;;;2373:6:0;2308:79;:::o;26022:306::-;26094:7;26125:13;;26118:3;:20;26114:207;;26162:14;:3;26170:5;26162:7;:14::i;:::-;26155:21;;;;26114:207;26207:13;;26198:5;:22;26194:127;;-1:-1:-1;26244:1:0;26237:8;;26194:127;26285:13;;:24;;26303:5;26285:17;:24::i;26194:127::-;26022:306;;;;:::o;24078:26::-;;;-1:-1:-1;;;;;24078:26:0;;:::o;28209:1081::-;28261:21;28285:8;28294:1;28285:11;;;;;;;;;;;;;;;;28340:10;28331:20;;:8;:20;;;;;;28285:11;;;;;;-1:-1:-1;28331:20:0;28448:13;;:10;:13::i;:::-;28476:11;;:15;28472:253;;28508:15;28526:68;28578:4;:15;;;28526:47;28568:4;28526:37;28542:4;:20;;;28526:4;:11;;;:15;;:37;;;;:::i;:68::-;28508:86;-1:-1:-1;28612:11:0;;28609:105;;28644:11;;:54;;-1:-1:-1;;;;;28644:11:0;28677:10;28690:7;28644:24;:54::i;:::-;28472:253;;28738:11;;28735:426;;28766:12;;:74;;-1:-1:-1;;;;;28766:12:0;28804:10;28825:4;28832:7;28766:29;:74::i;:::-;28900:10;;28855:23;;28900:14;28897:179;;28952:34;28980:5;28952:23;28964:10;;28952:7;:11;;:23;;;;:::i;:34::-;29031:11;;29005:12;;28934:52;;-1:-1:-1;29005:55:0;;-1:-1:-1;;;;;29005:12:0;;;;29031:11;28934:52;29005:25;:55::i;:::-;29104:11;;:45;;29133:15;;29104:24;;29120:7;29104:15;:24::i;:45::-;29090:59;;-1:-1:-1;28735:426:0;29205:20;;;;29189:11;;:47;;29231:4;;29189:37;;:15;:37::i;:47::-;29171:15;;;:65;29254:28;;;;;;;;29262:10;;29254:28;;;;;;;;;;28209:1081;;;:::o;30140:329::-;30187:21;30211:8;30220:1;30211:11;;;;;;;;;;;;;;;;30266:10;30257:20;;;:8;:20;;;;;;;30335:11;;30211;;;;;;;30288:12;;30211:11;;-1:-1:-1;30288:59:0;;-1:-1:-1;;;;;30288:12:0;;;;;30266:10;30288:25;:59::i;:::-;30372:1;30358:15;;;30384;;;:19;;;30419:42;;;;;;;30437:10;;30419:42;;;;;;;;;;30140:329;;:::o;30487:106::-;2530:12;:10;:12::i;:::-;2520:6;;-1:-1:-1;;;;;2520:6:0;;;:22;;;2512:67;;;;;-1:-1:-1;;;2512:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2512:67:0;;;;;;;;;;;;;;;30561:10:::1;:24:::0;30487:106::o;3245:109::-;2530:12;:10;:12::i;:::-;2520:6;;-1:-1:-1;;;;;2520:6:0;;;:22;;;2512:67;;;;;-1:-1:-1;;;2512:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2512:67:0;;;;;;;;;;;;;;;3318:28:::1;3337:8;3318:18;:28::i;26393:740::-:0;26454:7;26474:21;26498:8;26507:1;26498:11;;;;;;;;;;;;;;;;-1:-1:-1;;;;;26544:15:0;;;;;:8;:15;;;;;;26498:11;;;;;;;26596:20;;;;26646:12;;:37;;-1:-1:-1;;;26646:37:0;;26677:4;26646:37;;;;;;;;;26498:11;;-1:-1:-1;26544:15:0;;26596:20;;26498:11;;26646:12;;;;;:22;;:37;;;;;26498:11;26646:37;;;;;:12;:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;26646:37:0;26713:20;;;;26646:37;;-1:-1:-1;26698:12:0;:35;:52;;;;-1:-1:-1;26737:13:0;;;26698:52;26694:351;;;26767:18;26788:49;26802:4;:20;;;26824:12;26788:13;:49::i;:::-;26767:70;;26852:18;26873:72;26929:15;;26873:51;26908:4;:15;;;26873:30;26888:14;;26873:10;:14;;:30;;;;:::i;:72::-;26852:93;-1:-1:-1;26978:55:0;26998:34;27023:8;26998:20;26852:93;27013:4;26998:14;:20::i;:34::-;26978:15;;:19;:55::i;:::-;26960:73;;26694:351;;;27062:63;27109:4;:15;;;27062:42;27099:4;27062:32;27078:15;27062:4;:11;;;:15;;:32;;;;:::i;:63::-;27055:70;26393:740;-1:-1:-1;;;;;;26393:740:0:o;23899:25::-;;;-1:-1:-1;;;;;23899:25:0;;:::o;5954:471::-;6012:7;6257:6;6253:47;;-1:-1:-1;6287:1:0;6280:8;;6253:47;6324:5;;;6328:1;6324;:5;:1;6348:5;;;;;:10;6340:56;;;;-1:-1:-1;;;6340:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6416:1;5954:471;-1:-1:-1;;;5954:471:0:o;6901:132::-;6959:7;6986:39;6990:1;6993;6986:39;;;;;;;;;;;;;-1:-1:-1;;;6986:39:0;;;:3;:39::i;5030:136::-;5088:7;5115:43;5119:1;5122;5115:43;;;;;;;;;;;;;;;;;:3;:43::i;13442:211::-;13586:58;;;-1:-1:-1;;;;;13586:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;13586:58:0;-1:-1:-1;;;13586:58:0;;;13559:86;;13579:5;;13559:19;:86::i;:::-;13442:211;;;:::o;931:98::-;1011:10;931:98;:::o;4566:181::-;4624:7;4656:5;;;4680:6;;;;4672:46;;;;;-1:-1:-1;;;4672:46:0;;;;;;;;;;;;-1:-1:-1;;;4672:46:0;;;;;;;;;;;;;;13661:248;13832:68;;;-1:-1:-1;;;;;13832:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;13832:68:0;-1:-1:-1;;;13832:68:0;;;13805:96;;13825:5;;13805:19;:96::i;:::-;13661:248;;;;:::o;3460:229::-;-1:-1:-1;;;;;3534:22:0;;3526:73;;;;-1:-1:-1;;;3526:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3636:6;;;3615:38;;-1:-1:-1;;;;;3615:38:0;;;;3636:6;;;-1:-1:-1;;;;;;;;;;;3615:38:0;;3664:6;:17;;-1:-1:-1;;;;;;3664:17:0;-1:-1:-1;;;;;3664:17:0;;;;;;;;;;3460:229::o;7529:312::-;7649:7;7684:12;7677:5;7669:28;;;;-1:-1:-1;;;7669:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7708:9;7724:1;7720;:5;;;;;;;7529:312;-1:-1:-1;;;;;7529:312:0:o;5469:226::-;5589:7;5625:12;5617:6;;;;5609:29;;;;-1:-1:-1;;;5609:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;5661:5:0;;;5469:226::o;15977:774::-;16401:23;16427:69;16455:4;16427:69;;;;;;;;;;;;;;;;;16435:5;-1:-1:-1;;;;;16427:27:0;;;:69;;;;;:::i;:::-;16511:17;;16401:95;;-1:-1:-1;16511:21:0;16507:237;;16666:10;16655:30;;;;;;;;;;;;;;;-1:-1:-1;16655:30:0;16647:85;;;;-1:-1:-1;;;16647:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20605:230;20742:12;20774:53;20797:6;20805:4;20811:1;20814:12;20774:22;:53::i;:::-;20767:60;20605:230;-1:-1:-1;;;;20605:230:0:o;22093:1020::-;22266:12;22299:18;22310:6;22299:10;:18::i;:::-;22291:60;;;;;-1:-1:-1;;;22291:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;22425:12;22439:23;22466:6;-1:-1:-1;;;;;22466:11:0;22485:8;22495:4;22466:34;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;22466:34:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22424:76;;;;22515:7;22511:595;;;22546:10;-1:-1:-1;22539:17:0;;-1:-1:-1;22539:17:0;22511:595;22660:17;;:21;22656:439;;22923:10;22917:17;22984:15;22971:10;22967:2;22963:19;22956:44;22871:148;23059:20;;-1:-1:-1;;;23059:20:0;;;;;;;;;;;;;;;;;23066:12;;23059:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17468:641;17528:4;18009:20;;17839:66;18058:23;;;;;;:42;;-1:-1:-1;;18085:15:0;;;18050:51;-1:-1:-1;;17468:641:0:o

Swarm Source

ipfs://a35258043ab5f1a54396c1ec1a6b465c7c7619377f904aa9fce8de931a757a32

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.