Contract 0x6ddd5f28084e3499a7c9210b7730912782144783

 
 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0xd2510733c3698455c04cd50f453d4c03443f41520d52b48b04a29e9414366b8bLeave Staking111063382021-09-21 11:20:2010 hrs 13 mins ago0xbb2fbb853d7ff54d47b93459e39932d37b9e5443 IN  SparkPoint: SFUEL Pool0 BNB0.00047137
0x888ff91b9e5e2e211e97fb971e26882f585200366c2e9851b9f6ee7652f3c7b8Leave Staking110990952021-09-21 5:18:0516 hrs 15 mins ago0x922019e39fdee44bf7dd9166609312dc817a3dcf IN  SparkPoint: SFUEL Pool0 BNB0.000247835
0xe1df3cceabe79f964634544a639f903a8d6552be692f42be4931735058a43f74Leave Staking110647202021-09-20 0:34:141 day 20 hrs ago0x2538e764946ffabe8cb206697d492621c677fb64 IN  SparkPoint: SFUEL Pool0 BNB0.000321085
0xafaf638595803c9b9f520919aad3c743a58982c65919a84ecffd14ea2e058b3dLeave Staking110481312021-09-19 10:39:252 days 10 hrs ago0x20ac04264d6251ebb6b240fcdc397ba2f48f8344 IN  SparkPoint: SFUEL Pool0 BNB0.000321145
0x906c6fa563dca598b69da5648fc75210bf98a743db80168c5a79630be9518284Leave Staking110348112021-09-18 23:24:012 days 22 hrs ago0x623859f6da03a9bd9587acf4ba53863ce2c9e325 IN  SparkPoint: SFUEL Pool0 BNB0.000321145
0x3bac845e6d4f1730494362659aab1c868cea6014be6e24f8e974b2211d2a47baLeave Staking109997592021-09-17 18:07:074 days 3 hrs ago0xa6ef78880e94e4d447a5c462f0b654559ef86856 IN  SparkPoint: SFUEL Pool0 BNB0.000321085
0x3becdea93a1a3614d8212d69febc80061fe657343ddd63cf50f87376e620251eLeave Staking109846582021-09-17 5:31:034 days 16 hrs ago0x8bdc8bca3d85d1e632d390d94c9903eb50a20ea7 IN  SparkPoint: SFUEL Pool0 BNB0.000396085
0x299b0e834d25c0aca7372f727b7e14a17b2d9af9a18a314b0eddbd4b5339184bLeave Staking109757442021-09-16 22:04:594 days 23 hrs ago0x4cfb8ff884a30bd237ab88113b35b35b0c09e58d IN  SparkPoint: SFUEL Pool0 BNB0.00047131
0xd5b374245192725c13beab952c6f04d3ce0072fdc9f9fe8a5716d2a3fab92bc7Leave Staking109686512021-09-16 16:09:335 days 5 hrs ago0x28b62a8621202a3eb3c54cb56eca2348960c0032 IN  SparkPoint: SFUEL Pool0 BNB0.00047131
0x2487b492a27d1605efd5ae8d0bb9888b38d684f71d1f13ee4a7527cd6ab710eeLeave Staking109685642021-09-16 16:05:125 days 5 hrs ago0x2fcd91c3bce0399cf01ddd83f3478a900ccbd72d IN  SparkPoint: SFUEL Pool0 BNB0.00047137
0x05f71d555e94e7db6925ad689e4d4f503f661bbea1f633a57c9154a0a6e71c3cLeave Staking109652152021-09-16 13:17:225 days 8 hrs ago0x76b7d679b61465ab1fa7b7f945ae591ab3a5abaa IN  SparkPoint: SFUEL Pool0 BNB0.00047131
0x94a1922d0c73830e6104f6b7d481ba1094f890044d597a4807d1d052ff4b4967Leave Staking109568782021-09-16 6:18:385 days 15 hrs ago0x79b5bb3a077ed7da558a85e44aa8897d9cfd1034 IN  SparkPoint: SFUEL Pool0 BNB0.000321085
0xa026240a92f853786361fb0ae6ef9dc63746343af10f7ad6267b279bbda88ed7Leave Staking109548792021-09-16 4:38:375 days 16 hrs ago0x58cfbd075556e89c4ffb4dc744da860a2478f74d IN  SparkPoint: SFUEL Pool0 BNB0.000321145
0xee54878135e1cedca70682801e311690295c6b0ec1ad8d4dff916db5846bd165Leave Staking109158702021-09-14 20:01:207 days 1 hr ago0x3fedb1a2ad6f07b4d94b034604c27fff89f924e9 IN  SparkPoint: SFUEL Pool0 BNB0.000321085
0x446069a1ac01ff3f27418b9c3a245db3c1becd61578ac9508c2e1d4d5b220a51Leave Staking109099012021-09-14 15:01:097 days 6 hrs ago0x2411cf1a310a35ee5d24988cc1b82993d07478ef IN  SparkPoint: SFUEL Pool0 BNB0.00047137
0x5b92ba7ae795e7f7f5f747b36d783ee0376f0cf3224007b6a062e4f81475d388Leave Staking109056362021-09-14 11:27:197 days 10 hrs ago0x58ba6eb7dda492d063bf0d99f9d4130dd4004f1d IN  SparkPoint: SFUEL Pool0 BNB0.000321145
0x922f54a635e71cffb80e4477f60193c22fb4281fefd33f50cf736c209b0e31e6Leave Staking108956492021-09-14 3:07:087 days 18 hrs ago0x82cbbff9372f45464e0717a0bdd360bba456c240 IN  SparkPoint: SFUEL Pool0 BNB0.00047143
0x5c63f0086d5ca0fa5f5867294269dcef31183dfe0fe2679ed6833bee123e6818Enter Staking108939392021-09-14 1:41:387 days 19 hrs ago0x922019e39fdee44bf7dd9166609312dc817a3dcf IN  SparkPoint: SFUEL Pool0 BNB0.00037623
0x6b655fea6a28ca3443bf0f314e471fb46271fc418ba86029f410fee9fda690dbLeave Staking108904282021-09-13 22:46:057 days 22 hrs ago0x66f64c697d560ba041f9c86b51a926c369d4f66a IN  SparkPoint: SFUEL Pool0 BNB0.000321145
0x71e768090e8f0574fd147456c4391f7f337647a462abd0fbffe4a598108d1d17Leave Staking108874052021-09-13 20:14:558 days 1 hr ago0xcc7bd2e50f3f84317fc55157b5616a5b3d8a5da2 IN  SparkPoint: SFUEL Pool0 BNB0.000396085
0x10647bd01bb4f3ef085e650f7f57776a05fcdf467620769ffc893ae141531742Leave Staking108826582021-09-13 16:17:248 days 5 hrs ago0x8ef0bd7671cc2e674fd0363953d9af1e06a99b43 IN  SparkPoint: SFUEL Pool0 BNB0.000321145
0xc292764375c92e236b2b81f721083bbe8d24644af9c43c9f54db82ed1f53f5dbLeave Staking108801832021-09-13 14:12:538 days 7 hrs ago0x33f05c9682821d5e48a4b8de4ff76733e1b649de IN  SparkPoint: SFUEL Pool0 BNB0.00047137
0xddfd01c2ea6f8794b3177c5ce930a9fe04c6227503534a7ff0218f0162a582bdLeave Staking108745122021-09-13 9:27:278 days 12 hrs ago0x7ade9c64ed7a921eb31b3c651a39c5c61d28f85e IN  SparkPoint: SFUEL Pool0 BNB0.000321085
0xdd9c8e5614173e251f16c9fbfbd69fcf186c0c91df101d9a1976faa4bfe60979Leave Staking108710272021-09-13 6:33:088 days 15 hrs ago0x66e90a69f2ca0a33c0774b14e05d23e9b7e8b758 IN  SparkPoint: SFUEL Pool0 BNB0.000321085
0x83c376e79017e3f977f9a07fa3d5594f085b6715a770bfc9de2411d55e2f17e3Leave Staking108707382021-09-13 6:18:338 days 15 hrs ago0x6e4bb750ab33c7dd5bc0ea274a5055083c38355e IN  SparkPoint: SFUEL Pool0 BNB0.000321145
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

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

Contract Name:
SparkPool

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

/**
 *Submitted for verification at BscScan.com on 2021-05-31
*/

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

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

// File: contracts\SparkPoolV2.sol

pragma solidity 0.6.12;





contract SparkPool 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.
        //
        // We do some fancy math here. Basically, any point in time, the amount of Token Rewards
        // entitled to a user but is pending to be distributed is:
        //
        //   pending reward = (user.amount * pool.accRewardPerShare) - user.rewardDebt
        //
        // Whenever a user deposits or withdraws LP tokens to a pool. Here's what happens:
        //   1. The pool's `accRewardPerShare` (and `lastRewardBlock`) gets updated.
        //   2. User receives the pending reward sent to his/her address.
        //   3. User's `amount` gets updated.
        //   4. User's `rewardDebt` gets updated.
    }
    mapping (address => UserInfo) public userInfo;

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

    // The STAKING TOKEN!
    IBEP20 public stakingToken;
    // The REWARD TOKEN!
    IBEP20 public rewardToken;

    uint256 public maxStaking;

    // Tokens rewarded per block.
    uint256 public rewardPerBlock;

    // Total allocation points. Must be the sum of all allocation points in all pools.
    uint256 private totalAllocPoint = 0;
    // The block number when stakingToken mining starts.
    uint256 public startBlock;
    // The block number when stakingToken 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 _stakingToken,
        IBEP20 _rewardToken,
        uint256 _rewardPerBlock,
        uint256 _startBlock,
        uint256 _bonusEndBlock
    ) public {
        stakingToken = _stakingToken;
        rewardToken = _rewardToken;
        rewardPerBlock = _rewardPerBlock;
        startBlock = _startBlock;
        bonusEndBlock = _bonusEndBlock;

        // Staking Pool
        poolInfo.lpToken = stakingToken;
        poolInfo.allocPoint = 1000;
        poolInfo.lastRewardBlock = startBlock;
        poolInfo.accRewardPerShare = 0;

        totalAllocPoint = 1000;
        maxStaking = 1000000000000000000000000;
    }

    modifier rewardDone {
      require(bonusEndBlock <= block.number, 'SparkPool: Pool not yet ended');
      _;
    }

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

    // Update reward variables of the given pool to be up-to-date
    function updatePool() public {
        if (block.number <= poolInfo.lastRewardBlock) {
            return;
        }
        uint256 lpSupply = poolInfo.lpToken.balanceOf(address(this));
        if (lpSupply == 0) {
            poolInfo.lastRewardBlock = block.number;
            return;
        }
        uint256 multiplier = getMultiplier(poolInfo.lastRewardBlock, block.number);
        uint256 tokenReward = multiplier.mul(rewardPerBlock).mul(poolInfo.allocPoint).div(totalAllocPoint);
        poolInfo.accRewardPerShare = poolInfo.accRewardPerShare.add(tokenReward.mul(1e12).div(lpSupply));
        poolInfo.lastRewardBlock = block.number;
    }
    
    // EMERGENCY ONLY: Terminate current ongoing pool
    function stopReward() public onlyOwner {
        bonusEndBlock = block.number;
    }

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

    // Stake stakingTokens to SparkPool
    function enterStaking(uint256 _amount) public {
        UserInfo storage user = userInfo[msg.sender];

        require (_amount.add(user.amount) <= maxStaking, 'SparkPool: Exceed max stake');

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

        emit Deposit(msg.sender, _amount);
    }

    // Withdraw stakingTokens from SparkPool.
    function leaveStaking(uint256 _amount) public {
        UserInfo storage user = userInfo[msg.sender];
        require(user.amount >= _amount, 'SparkPool: Amount exceeded user available amount');
        updatePool();
        uint256 pending = user.amount.mul(poolInfo.accRewardPerShare).div(1e12).sub(user.rewardDebt);
        if(pending > 0) {
            rewardToken.safeTransfer(address(msg.sender), pending);
        }
        if(_amount > 0) {
            user.amount = user.amount.sub(_amount);
            poolInfo.lpToken.safeTransfer(address(msg.sender), _amount);
        }
        user.rewardDebt = user.amount.mul(poolInfo.accRewardPerShare).div(1e12);

        emit Withdraw(msg.sender, _amount);
    }

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

    // EMERGENCY ONLY: Withdraw reward.
    function emergencyRewardWithdraw(uint256 _amount) public onlyOwner rewardDone {
        require(_amount < rewardToken.balanceOf(address(this)), 'SparkPool: Not enough token/s');
        rewardToken.safeTransfer(address(msg.sender), _amount);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"contract IBEP20","name":"_stakingToken","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":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":"_amount","type":"uint256"}],"name":"emergencyRewardWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"emergencyWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"enterStaking","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":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"leaveStaking","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"maxStaking","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"pendingReward","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"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":"accRewardPerShare","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":"stakingToken","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":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"updatePool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userInfo","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"rewardDebt","type":"uint256"}],"stateMutability":"view","type":"function"}]

60806040526000600a5534801561001557600080fd5b506040516113f43803806113f4833981810160405260a081101561003857600080fd5b508051602082015160408301516060840151608090940151929391929091906000610061610121565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600680546001600160a01b039687166001600160a01b031991821617918290556007805496881696821696909617909555600993909355600b829055600c5560028054909316919093161790556103e860038190556004919091556000600555600a5569d3c21bcecceda1000000600855610125565b3390565b6112c0806101346000396000f3fe608060405234801561001057600080fd5b50600436106101215760003560e01c806380dc0672116100ad578063db2e21bc11610071578063db2e21bc14610287578063e3161ddd1461028f578063f2fde38b14610297578063f40f0f52146102bd578063f7c618c1146102e357610121565b806380dc067214610244578063872c50ba1461024c5780638ae39cac146102545780638da5cb5b1461025c5780638dbb1e3a1461026457610121565b806341441d3b116100f457806341441d3b146101bb57806348cd4cb1146101d85780635a2f3d09146101e0578063715018a61461021857806372f702f31461022057610121565b80631058d281146101265780631959a002146101455780631aed6553146101845780633279beab1461019e575b600080fd5b6101436004803603602081101561013c57600080fd5b50356102eb565b005b61016b6004803603602081101561015b57600080fd5b50356001600160a01b0316610420565b6040805192835260208301919091528051918290030190f35b61018c610439565b60408051918252519081900360200190f35b610143600480360360208110156101b457600080fd5b503561043f565b610143600480360360208110156101d157600080fd5b50356105d2565b61018c610728565b6101e861072e565b604080516001600160a01b0390951685526020850193909352838301919091526060830152519081900360800190f35b610143610749565b6102286107eb565b604080516001600160a01b039092168252519081900360200190f35b6101436107fa565b61018c610858565b61018c61085e565b610228610864565b61018c6004803603604081101561027a57600080fd5b5080359060200135610873565b6101436108b3565b610143610920565b610143600480360360208110156102ad57600080fd5b50356001600160a01b0316610a22565b61018c600480360360208110156102d357600080fd5b50356001600160a01b0316610a83565b610228610bb7565b336000908152600160205260409020805482111561033a5760405162461bcd60e51b815260040180806020018281038252603081526020018061121a6030913960400191505060405180910390fd5b610342610920565b600061037d826001015461037764e8d4a510006103716002600301548760000154610bc690919063ffffffff16565b90610c26565b90610c68565b9050801561039c5760075461039c906001600160a01b03163383610caa565b82156103c75781546103ae9084610c68565b82556002546103c7906001600160a01b03163385610caa565b60055482546103e09164e8d4a510009161037191610bc6565b600183015560408051848152905133917f884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a9424364919081900360200190a2505050565b6001602081905260009182526040909120805491015482565b600c5481565b610447610d01565b6000546001600160a01b03908116911614610497576040805162461bcd60e51b8152602060048201819052602482015260008051602061126b833981519152604482015290519081900360640190fd5b43600c5411156104ee576040805162461bcd60e51b815260206004820152601d60248201527f537061726b506f6f6c3a20506f6f6c206e6f742079657420656e646564000000604482015290519081900360640190fd5b600754604080516370a0823160e01b815230600482015290516001600160a01b03909216916370a0823191602480820192602092909190829003018186803b15801561053957600080fd5b505afa15801561054d573d6000803e3d6000fd5b505050506040513d602081101561056357600080fd5b505181106105b8576040805162461bcd60e51b815260206004820152601d60248201527f537061726b506f6f6c3a204e6f7420656e6f75676820746f6b656e2f73000000604482015290519081900360640190fd5b6007546105cf906001600160a01b03163383610caa565b50565b33600090815260016020526040902060085481546105f1908490610d05565b1115610644576040805162461bcd60e51b815260206004820152601b60248201527f537061726b506f6f6c3a20457863656564206d6178207374616b650000000000604482015290519081900360640190fd5b61064c610920565b8054156106a3576000610682826001015461037764e8d4a510006103716002600301548760000154610bc690919063ffffffff16565b905080156106a1576007546106a1906001600160a01b03163383610caa565b505b81156106d0576002546106c1906001600160a01b0316333085610d5f565b80546106cd9083610d05565b81555b60055481546106e99164e8d4a510009161037191610bc6565b600182015560408051838152905133917fe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c919081900360200190a25050565b600b5481565b6002546003546004546005546001600160a01b039093169284565b610751610d01565b6000546001600160a01b039081169116146107a1576040805162461bcd60e51b8152602060048201819052602482015260008051602061126b833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6006546001600160a01b031681565b610802610d01565b6000546001600160a01b03908116911614610852576040805162461bcd60e51b8152602060048201819052602482015260008051602061126b833981519152604482015290519081900360640190fd5b43600c55565b60085481565b60095481565b6000546001600160a01b031690565b6000600c54821161088f576108888284610c68565b90506108ad565b600c5483106108a0575060006108ad565b600c546108889084610c68565b92915050565b336000818152600160205260409020805460025491926108dc926001600160a01b031691610caa565b8054604080519182525133917f5fafa99d0643513820be26656b45130b01e1c03062e1266bf36f88cbd3bd9695919081900360200190a26000808255600190910155565b600454431161092e57610a20565b600254604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b15801561097957600080fd5b505afa15801561098d573d6000803e3d6000fd5b505050506040513d60208110156109a357600080fd5b50519050806109b6575043600455610a20565b60006109c6600280015443610873565b905060006109f4600a546103716002600101546109ee60095487610bc690919063ffffffff16565b90610bc6565b9050610a15610a0c846103718464e8d4a51000610bc6565b60055490610d05565b600555505043600455505b565b610a2a610d01565b6000546001600160a01b03908116911614610a7a576040805162461bcd60e51b8152602060048201819052602482015260008051602061126b833981519152604482015290519081900360640190fd5b6105cf81610dbf565b6001600160a01b03808216600090815260016020908152604080832060055460025483516370a0823160e01b81523060048201529351959692959194879491909316926370a0823192602480840193829003018186803b158015610ae657600080fd5b505afa158015610afa573d6000803e3d6000fd5b505050506040513d6020811015610b1057600080fd5b505160045490915043118015610b2557508015155b15610b86576000610b3a600280015443610873565b90506000610b62600a546103716002600101546109ee60095487610bc690919063ffffffff16565b9050610b81610b7a846103718464e8d4a51000610bc6565b8590610d05565b935050505b610bae836001015461037764e8d4a51000610371868860000154610bc690919063ffffffff16565b95945050505050565b6007546001600160a01b031681565b600082610bd5575060006108ad565b82820282848281610be257fe5b0414610c1f5760405162461bcd60e51b815260040180806020018281038252602181526020018061124a6021913960400191505060405180910390fd5b9392505050565b6000610c1f83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250610e5f565b6000610c1f83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610f01565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610cfc908490610f5b565b505050565b3390565b600082820183811015610c1f576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b179052610db9908590610f5b565b50505050565b6001600160a01b038116610e045760405162461bcd60e51b81526004018080602001828103825260268152602001806111f46026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b60008183610eeb5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610eb0578181015183820152602001610e98565b50505050905090810190601f168015610edd5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b506000838581610ef757fe5b0495945050505050565b60008184841115610f535760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315610eb0578181015183820152602001610e98565b505050900390565b6060610fb0826040518060400160405280602081526020017f5361666542455032303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b031661100c9092919063ffffffff16565b805190915015610cfc57808060200190516020811015610fcf57600080fd5b5051610cfc5760405162461bcd60e51b815260040180806020018281038252602a8152602001806111ca602a913960400191505060405180910390fd5b606061101b8484600085611023565b949350505050565b606061102e85611190565b61107f576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b602083106110be5780518252601f19909201916020918201910161109f565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114611120576040519150601f19603f3d011682016040523d82523d6000602084013e611125565b606091505b5091509150811561113957915061101b9050565b8051156111495780518082602001fd5b60405162461bcd60e51b8152602060048201818152865160248401528651879391928392604401919085019080838360008315610eb0578181015183820152602001610e98565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47081811480159061101b57505015159291505056fe5361666542455032303a204245503230206f7065726174696f6e20646964206e6f7420737563636565644f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373537061726b506f6f6c3a20416d6f756e74206578636565646564207573657220617661696c61626c6520616d6f756e74536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572a2646970667358221220f6adaab5b29c4997dd562091a1e1a4095448bcb52aba0662e7973e93a6ea07b764736f6c634300060c0033000000000000000000000000c3440c10c4f36f354eb591b19fafb4906d449b75000000000000000000000000c3440c10c4f36f354eb591b19fafb4906d449b750000000000000000000000000000000000000000000000002827d7c3174f92f600000000000000000000000000000000000000000000000000000000007864b200000000000000000000000000000000000000000000000000000000009ff1b2

Deployed ByteCode Sourcemap

23005:7358:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28973:730;;;;;;;;;;;;;;;;-1:-1:-1;28973:730:0;;:::i;:::-;;23950:45;;;;;;;;;;;;;;;;-1:-1:-1;23950:45:0;-1:-1:-1;;;;;23950:45:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;24979:28;;;:::i;:::-;;;;;;;;;;;;;;;;30110:250;;;;;;;;;;;;;;;;-1:-1:-1;30110:250:0;;:::i;28111:807::-;;;;;;;;;;;;;;;;-1:-1:-1;28111:807:0;;:::i;24891:25::-;;;:::i;24443:24::-;;;:::i;:::-;;;;-1:-1:-1;;;;;24443:24:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22186:140;;;:::i;24503:26::-;;;:::i;:::-;;;;-1:-1:-1;;;;;24503:26:0;;;;;;;;;;;;;;27594:86;;;:::i;24596:25::-;;;:::i;24665:29::-;;;:::i;21544:79::-;;;:::i;27756:306::-;;;;;;;;;;;;;;;;-1:-1:-1;27756:306:0;;;;;;;:::i;29774:287::-;;;:::i;26863:664::-;;;:::i;22481:109::-;;;;;;;;;;;;;;;;-1:-1:-1;22481:109:0;-1:-1:-1;;;;;22481:109:0;;:::i;26062:726::-;;;;;;;;;;;;;;;;-1:-1:-1;26062:726:0;-1:-1:-1;;;;;26062:726:0;;:::i;24562:25::-;;;:::i;28973:730::-;29063:10;29030:21;29054:20;;;:8;:20;;;;;29093:11;;:22;-1:-1:-1;29093:22:0;29085:83;;;;-1:-1:-1;;;29085:83:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29179:12;:10;:12::i;:::-;29202:15;29220:74;29278:4;:15;;;29220:53;29268:4;29220:43;29236:8;:26;;;29220:4;:11;;;:15;;:43;;;;:::i;:::-;:47;;:53::i;:::-;:57;;:74::i;:::-;29202:92;-1:-1:-1;29308:11:0;;29305:97;;29336:11;;:54;;-1:-1:-1;;;;;29336:11:0;29369:10;29382:7;29336:24;:54::i;:::-;29415:11;;29412:155;;29457:11;;:24;;29473:7;29457:15;:24::i;:::-;29443:38;;29496:8;:16;:59;;-1:-1:-1;;;;;29496:16:0;29534:10;29547:7;29496:29;:59::i;:::-;29611:26;;29595:11;;:53;;29643:4;;29595:43;;:15;:43::i;:53::-;29577:15;;;:71;29666:29;;;;;;;;29675:10;;29666:29;;;;;;;;;;28973:730;;;:::o;23950:45::-;;;;;;;;;;;;;;;;;;;;:::o;24979:28::-;;;;:::o;30110:250::-;21766:12;:10;:12::i;:::-;21756:6;;-1:-1:-1;;;;;21756:6:0;;;:22;;;21748:67;;;;;-1:-1:-1;;;21748:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;21748:67:0;;;;;;;;;;;;;;;25933:12:::1;25916:13;;:29;;25908:71;;;::::0;;-1:-1:-1;;;25908:71:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;30217:11:::2;::::0;:36:::2;::::0;;-1:-1:-1;;;30217:36:0;;30247:4:::2;30217:36;::::0;::::2;::::0;;;-1:-1:-1;;;;;30217:11:0;;::::2;::::0;:21:::2;::::0;:36;;;;;::::2;::::0;;;;;;;;;:11;:36;::::2;;::::0;::::2;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;::::0;::::2;;-1:-1:-1::0;30217:36:0;30207:46;::::2;30199:88;;;::::0;;-1:-1:-1;;;30199:88:0;;::::2;;::::0;::::2;::::0;::::2;::::0;;;;::::2;::::0;;;;;;;;;;;;;::::2;;30298:11;::::0;:54:::2;::::0;-1:-1:-1;;;;;30298:11:0::2;30331:10;30344:7:::0;30298:24:::2;:54::i;:::-;30110:250:::0;:::o;28111:807::-;28201:10;28168:21;28192:20;;;:8;:20;;;;;28262:10;;28246:11;;28234:24;;:7;;:11;:24::i;:::-;:38;;28225:79;;;;;-1:-1:-1;;;28225:79:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;28317:12;:10;:12::i;:::-;28344:11;;:15;28340:259;;28376:15;28394:74;28452:4;:15;;;28394:53;28442:4;28394:43;28410:8;:26;;;28394:4;:11;;;:15;;:43;;;;:::i;:74::-;28376:92;-1:-1:-1;28486:11:0;;28483:105;;28518:11;;:54;;-1:-1:-1;;;;;28518:11:0;28551:10;28564:7;28518:24;:54::i;:::-;28340:259;;28612:11;;28609:174;;28640:8;:16;:78;;-1:-1:-1;;;;;28640:16:0;28682:10;28703:4;28710:7;28640:33;:78::i;:::-;28747:11;;:24;;28763:7;28747:15;:24::i;:::-;28733:38;;28609:174;28827:26;;28811:11;;:53;;28859:4;;28811:43;;:15;:43::i;:53::-;28793:15;;;:71;28882:28;;;;;;;;28890:10;;28882:28;;;;;;;;;;28111:807;;:::o;24891:25::-;;;;:::o;24443:24::-;;;;;;;;;-1:-1:-1;;;;;24443:24:0;;;;;:::o;22186:140::-;21766:12;:10;:12::i;:::-;21756:6;;-1:-1:-1;;;;;21756:6:0;;;:22;;;21748:67;;;;;-1:-1:-1;;;21748:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;21748:67:0;;;;;;;;;;;;;;;22285:1:::1;22269:6:::0;;22248:40:::1;::::0;-1:-1:-1;;;;;22269:6:0;;::::1;::::0;22248:40:::1;::::0;22285:1;;22248:40:::1;22316:1;22299:19:::0;;-1:-1:-1;;;;;;22299:19:0::1;::::0;;22186:140::o;24503:26::-;;;-1:-1:-1;;;;;24503:26:0;;:::o;27594:86::-;21766:12;:10;:12::i;:::-;21756:6;;-1:-1:-1;;;;;21756:6:0;;;:22;;;21748:67;;;;;-1:-1:-1;;;21748:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;21748:67:0;;;;;;;;;;;;;;;27660:12:::1;27644:13;:28:::0;27594:86::o;24596:25::-;;;;:::o;24665:29::-;;;;:::o;21544:79::-;21582:7;21609:6;-1:-1:-1;;;;;21609:6:0;21544:79;:::o;27756:306::-;27828:7;27859:13;;27852:3;:20;27848:207;;27896:14;:3;27904:5;27896:7;:14::i;:::-;27889:21;;;;27848:207;27941:13;;27932:5;:22;27928:127;;-1:-1:-1;27978:1:0;27971:8;;27928:127;28019:13;;:24;;28037:5;28019:17;:24::i;27928:127::-;27756:306;;;;:::o;29774:287::-;29854:10;29821:21;29845:20;;;:8;:20;;;;;29927:11;;29876:8;:16;29845:20;;29876:63;;-1:-1:-1;;;;;29876:16:0;;:29;:63::i;:::-;29985:11;;29955:42;;;;;;;29973:10;;29955:42;;;;;;;;;;30022:1;30008:15;;;30034;;;;:19;29774:287::o;26863:664::-;26923:24;;26907:12;:40;26903:79;;26964:7;;26903:79;27011:8;:16;:41;;;-1:-1:-1;;;27011:41:0;;27046:4;27011:41;;;;;;26992:16;;-1:-1:-1;;;;;27011:16:0;;:26;;:41;;;;;;;;;;;;;;:16;:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;27011:41:0;;-1:-1:-1;27067:13:0;27063:106;;-1:-1:-1;27124:12:0;27097:24;:39;27151:7;;27063:106;27179:18;27200:53;27214:8;:24;;;27240:12;27200:13;:53::i;:::-;27179:74;;27264:19;27286:76;27346:15;;27286:55;27321:8;:19;;;27286:30;27301:14;;27286:10;:14;;:30;;;;:::i;:::-;:34;;:55::i;:76::-;27264:98;-1:-1:-1;27402:67:0;27433:35;27459:8;27433:21;27264:98;27449:4;27433:15;:21::i;:35::-;27402:26;;;:30;:67::i;:::-;27373:26;:96;-1:-1:-1;;27507:12:0;27480:24;:39;-1:-1:-1;26863:664:0;:::o;22481:109::-;21766:12;:10;:12::i;:::-;21756:6;;-1:-1:-1;;;;;21756:6:0;;;:22;;;21748:67;;;;;-1:-1:-1;;;21748:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;21748:67:0;;;;;;;;;;;;;;;22554:28:::1;22573:8;22554:18;:28::i;26062:726::-:0;-1:-1:-1;;;;;26167:15:0;;;26123:7;26167:15;;;:8;:15;;;;;;;;26221:26;;:8;26277:16;:41;;-1:-1:-1;;;26277:41:0;;26312:4;26277:41;;;;;;26123:7;;26167:15;;26221:26;;26123:7;;26277:16;;;;;:26;;:41;;;;;;;;;;:16;:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;26277:41:0;26348:24;;26277:41;;-1:-1:-1;26333:12:0;:39;:56;;;;-1:-1:-1;26376:13:0;;;26333:56;26329:369;;;26406:18;26427:53;26441:8;:24;;;26467:12;26427:13;:53::i;:::-;26406:74;;26495:19;26517:76;26577:15;;26517:55;26552:8;:19;;;26517:30;26532:14;;26517:10;:14;;:30;;;;:::i;:76::-;26495:98;-1:-1:-1;26628:58:0;26650:35;26676:8;26650:21;26495:98;26666:4;26650:15;:21::i;:35::-;26628:17;;:21;:58::i;:::-;26608:78;;26329:369;;;26715:65;26764:4;:15;;;26715:44;26754:4;26715:34;26731:17;26715:4;:11;;;:15;;:34;;;;:::i;:65::-;26708:72;26062:726;-1:-1:-1;;;;;26062:726:0:o;24562:25::-;;;-1:-1:-1;;;;;24562:25:0;;:::o;2256:471::-;2314:7;2559:6;2555:47;;-1:-1:-1;2589:1:0;2582:8;;2555:47;2626:5;;;2630:1;2626;:5;:1;2650:5;;;;;:10;2642:56;;;;-1:-1:-1;;;2642:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2718:1;2256:471;-1:-1:-1;;;2256:471:0:o;3203:132::-;3261:7;3288:39;3292:1;3295;3288:39;;;;;;;;;;;;;;;;;:3;:39::i;1332:136::-;1390:7;1417:43;1421:1;1424;1417:43;;;;;;;;;;;;;;;;;:3;:43::i;16102:211::-;16246:58;;;-1:-1:-1;;;;;16246:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;16246:58:0;-1:-1:-1;;;16246:58:0;;;16219:86;;16239:5;;16219:19;:86::i;:::-;16102:211;;;:::o;20169:98::-;20249:10;20169:98;:::o;868:181::-;926:7;958:5;;;982:6;;;;974:46;;;;;-1:-1:-1;;;974:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;16321:248;16492:68;;;-1:-1:-1;;;;;16492:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;16492:68:0;-1:-1:-1;;;16492:68:0;;;16465:96;;16485:5;;16465:19;:96::i;:::-;16321:248;;;;:::o;22696:229::-;-1:-1:-1;;;;;22770:22:0;;22762:73;;;;-1:-1:-1;;;22762:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22872:6;;;22851:38;;-1:-1:-1;;;;;22851:38:0;;;;22872:6;;;22851:38;;;22900:6;:17;;-1:-1:-1;;;;;;22900:17:0;-1:-1:-1;;;;;22900:17:0;;;;;;;;;;22696:229::o;3831:312::-;3951:7;3986:12;3979:5;3971:28;;;;-1:-1:-1;;;3971:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4010:9;4026:1;4022;:5;;;;;;;3831:312;-1:-1:-1;;;;;3831:312:0:o;1771:226::-;1891:7;1927:12;1919:6;;;;1911:29;;;;-1:-1:-1;;;1911:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;1963:5:0;;;1771:226::o;18637:774::-;19061:23;19087:69;19115:4;19087:69;;;;;;;;;;;;;;;;;19095:5;-1:-1:-1;;;;;19087:27:0;;;:69;;;;;:::i;:::-;19171:17;;19061:95;;-1:-1:-1;19171:21:0;19167:237;;19326:10;19315:30;;;;;;;;;;;;;;;-1:-1:-1;19315:30:0;19307:85;;;;-1:-1:-1;;;19307:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12995:230;13132:12;13164:53;13187:6;13195:4;13201:1;13204:12;13164:22;:53::i;:::-;13157:60;12995:230;-1:-1:-1;;;;12995:230:0:o;14483:1020::-;14656:12;14689:18;14700:6;14689:10;:18::i;:::-;14681:60;;;;;-1:-1:-1;;;14681:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;14815:12;14829:23;14856:6;-1:-1:-1;;;;;14856:11:0;14875:8;14885:4;14856:34;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;14856:34:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14814:76;;;;14905:7;14901:595;;;14936:10;-1:-1:-1;14929:17:0;;-1:-1:-1;14929:17:0;14901:595;15050:17;;:21;15046:439;;15313:10;15307:17;15374:15;15361:10;15357:2;15353:19;15346:44;15261:148;15449:20;;-1:-1:-1;;;15449:20:0;;;;;;;;;;;;;;;;;15456:12;;15449:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9858:641;9918:4;10399:20;;10229:66;10448:23;;;;;;:42;;-1:-1:-1;;10475:15:0;;;10440:51;-1:-1:-1;;9858:641:0:o

Swarm Source

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