Contract 0xb6ba5d27b00c2e62e32c0716d7c6505463cfbbf2

Txn Hash Method
Block
From
To
Value [Txn Fee]
0x72fbad87b9e3bf4367bce63a1dd88b5f5a4f6d2899f14ce97f70df4b6d187da5Withdraw239846162021-12-04 17:25:028 hrs 2 mins ago0xa1abe06c1d6687289877b03156a0f43cf0e85d8e IN  0xb6ba5d27b00c2e62e32c0716d7c6505463cfbbf20 FTM0.060831897966
0x99c2819c4751c79cd846120dd807be508df1a12ac9a056e8a80720a48251d041Withdraw239439652021-12-04 7:22:2418 hrs 5 mins ago0xb4103329230db58ea6e2480e4022b577833600df IN  0xb6ba5d27b00c2e62e32c0716d7c6505463cfbbf20 FTM0.32913194332
0x0e11356cd0e4c65a01821a6f7e9830049349b06588ee41e4f99db8cea5d5768bWithdraw239160152021-12-03 23:36:291 day 1 hr ago0x0647b115d2ce02b6589d0cb54abfe5287fca9eaa IN  0xb6ba5d27b00c2e62e32c0716d7c6505463cfbbf20 FTM0.05130138827
0x867709d6d347e281f1b694cb44fb4e92cdb44889d1740acdc196901256c87629Withdraw239119012021-12-03 22:37:081 day 2 hrs ago0xffe3385962b6bf54860f06dd35d5db3504bd1286 IN  0xb6ba5d27b00c2e62e32c0716d7c6505463cfbbf20 FTM0.061318001221
0xbb70482b1277105ef891b30c551694bb487019f0228707a16162336173c6a155Withdraw239051692021-12-03 20:56:561 day 4 hrs ago0x66514f5523c6fa73f1161053cbff1d0a92fda0b7 IN  0xb6ba5d27b00c2e62e32c0716d7c6505463cfbbf20 FTM0.111748115851
0xca81d66990fda9f3db64b2f72aa366635e7db94c8ef1c9f8aa2558af80a9f5abDeposit239051492021-12-03 20:56:341 day 4 hrs ago0x66514f5523c6fa73f1161053cbff1d0a92fda0b7 IN  0xb6ba5d27b00c2e62e32c0716d7c6505463cfbbf20 FTM0.058999665124
0x672dcb6f39b563431e0705b52b3633a356a90824eb71098e9b79c53a654bfd90Withdraw238809192021-12-03 14:37:091 day 10 hrs ago0xf02228e9820567232ec12459605f1352bc3361ab IN  0xb6ba5d27b00c2e62e32c0716d7c6505463cfbbf20 FTM0.029780995668
0x4e2efba02a3b7359b04f0adf64aff91e91ba37cdc95484ab1d23c74c918cb8f0Withdraw238766022021-12-03 13:38:411 day 11 hrs ago0x7c88c73f45338e7ee38b246082ab85297f5de5f1 IN  0xb6ba5d27b00c2e62e32c0716d7c6505463cfbbf20 FTM0.044621214695
0x259960960693245206e7bb30e10bacc2eb056d166f45af7f0d0b03d233d3f80aWithdraw238754742021-12-03 13:21:311 day 12 hrs ago0x0850a861322081010af57762c01ce86ee4bec3fa IN  0xb6ba5d27b00c2e62e32c0716d7c6505463cfbbf20 FTM0.041615762578
0x0b22556ef0bdeb605d2a22d30527a9f40eefe711386b442c2f2f7d498e3df0d8Withdraw238713142021-12-03 12:17:421 day 13 hrs ago0x3b0d0c29f0d164b2cc7b76f845f8ef9609b78441 IN  0xb6ba5d27b00c2e62e32c0716d7c6505463cfbbf20 FTM0.024308958956
0x49a08d1bd0a8df2fde14f91089756260cc515325a4ad8c9e4d4d5f8bf314e8aeWithdraw238560382021-12-03 8:28:081 day 16 hrs ago0x24e6c521085aad7a776a9f51e95782d86d2560aa IN  0xb6ba5d27b00c2e62e32c0716d7c6505463cfbbf20 FTM0.052849419851
0x9507107fe0a009cdec405e3a6f8ebd756c655bd856d77fb62c0a8ec38d5dca1fWithdraw238505372021-12-03 7:06:151 day 18 hrs ago0xa1761cb84da5b362108ba9455e66d2d1e5db154c IN  0xb6ba5d27b00c2e62e32c0716d7c6505463cfbbf20 FTM0.032956419269
0x3bfaf31c446482366eff158242f169f5f22cc30f9ab56d06dcce180726459520Deposit238504562021-12-03 7:05:121 day 18 hrs ago0xa1761cb84da5b362108ba9455e66d2d1e5db154c IN  0xb6ba5d27b00c2e62e32c0716d7c6505463cfbbf20 FTM0.016902853617
0xda98a1ac7457a35ca7fa5fdb9c9b25207851fd281de71b15490d1f4548d4ae89Withdraw238450912021-12-03 5:48:371 day 19 hrs ago0xd6fa0351348e16c101a2462c90019949cc936b66 IN  0xb6ba5d27b00c2e62e32c0716d7c6505463cfbbf20 FTM0.036636760124
0xacb4e9a3d87aba7e9d51864cf503b5aea518776b0679b471b595d5063c836faeWithdraw238336442021-12-03 3:02:071 day 22 hrs ago0xbe2d5ac129037f2d291344b7349ef7c6d38d8bdd IN  0xb6ba5d27b00c2e62e32c0716d7c6505463cfbbf20 FTM0.050617501385
0x52295c0105f753fe7e8a227c80a3f11bf709aabd937ed7ab451c3af5500043e5Withdraw238269392021-12-03 1:18:182 days 9 mins ago0x50a91f13992a65efe51f52c5737c8773c9b7bb5a IN  0xb6ba5d27b00c2e62e32c0716d7c6505463cfbbf20 FTM0.043643163467
0x42ca845b0aaec112391c3754341b69d60ef4b4382053b27a2e1e6b62a7496a35Withdraw238251382021-12-03 0:51:432 days 36 mins ago0x8e419050d0be0db980ff2c8c463aac02c9d114dd IN  0xb6ba5d27b00c2e62e32c0716d7c6505463cfbbf20 FTM0.043405958172
0x8c0a626cae9771f5ebf44e0b1a728b2f8c9b9c5c0f823cd8edc3cdd62dd5b0f7Withdraw238216602021-12-03 0:02:542 days 1 hr ago0x95859ed507ed13535de6fe0551f7363d4cb878c3 IN  0xb6ba5d27b00c2e62e32c0716d7c6505463cfbbf20 FTM0.048098123797
0xbd5b7fa66df94f5bf709ed88e64391b5ff01a5fe807f1c667116cd3ea8b30478Withdraw238193362021-12-02 23:29:522 days 1 hr ago0x8c5d499a56910c4126f1ff1dc3b677460bde9fb9 IN  0xb6ba5d27b00c2e62e32c0716d7c6505463cfbbf20 FTM0.056114352027
0x29463b773b85916a2448c00f875c309a86276fda9add0a61aec12c9a62c0fdc7Deposit238192892021-12-02 23:29:162 days 1 hr ago0x8c5d499a56910c4126f1ff1dc3b677460bde9fb9 IN  0xb6ba5d27b00c2e62e32c0716d7c6505463cfbbf20 FTM0.033908519966
0x342dd98e1ed060d55cd5c730cb98842bea2134af4878e099047ef4492a92c9c5Withdraw238185702021-12-02 23:19:492 days 2 hrs ago0x234bb04f4501300567def3a14b05c7dc80568295 IN  0xb6ba5d27b00c2e62e32c0716d7c6505463cfbbf20 FTM0.06097624726
0x79f9c6fb7c24685100f22ebb7a70181ded1139b0271984403bad268355c31bedDeposit238185352021-12-02 23:19:222 days 2 hrs ago0x234bb04f4501300567def3a14b05c7dc80568295 IN  0xb6ba5d27b00c2e62e32c0716d7c6505463cfbbf20 FTM0.032193636031
0x6ee2064ec0f65ac38fc27cbf8e5e2abb3d3cc642e0aa2fe92157fecc1f8042beWithdraw238144492021-12-02 22:14:202 days 3 hrs ago0xe690b30501ecfd04e7972e6d30356f536e2e3613 IN  0xb6ba5d27b00c2e62e32c0716d7c6505463cfbbf20 FTM0.050744432065
0x3153b6da7787d3be5aefef1ac0ac4d035714bc0d8324e1fe97601230b1d202cbWithdraw238116122021-12-02 21:32:512 days 3 hrs ago0x0a2c837d4fde49e5f27517a1edf25e13b1ffa2a9 IN  0xb6ba5d27b00c2e62e32c0716d7c6505463cfbbf20 FTM0.031758327949
0xfce32cbd584b86b4a60a2faa4a30640af5733ed63935cc2fcc2918ee9474adb8Deposit238115822021-12-02 21:32:222 days 3 hrs ago0x0a2c837d4fde49e5f27517a1edf25e13b1ffa2a9 IN  0xb6ba5d27b00c2e62e32c0716d7c6505463cfbbf20 FTM0.018258844048
[ Download CSV Export 
Latest 1 internal transaction
Parent Txn Hash Block From To Value
0x4475fa3812852785859a8e56a95634b92268cb8c7a211d48a0228ab2b76d9917229881362021-11-24 11:09:5810 days 14 hrs ago 0x02fbd037a4db4a49f8afb0ff092bd3ad27844307  Contract Creation0 FTM
[ Download CSV Export 
Loading

Similar_Match_Source_Code
Note: This contract matches the deployed ByteCode of the Source Code for Contract 0x7928de9d6DB88280DBa4613864a518A98F32D342

Contract Name:
NeoPool

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

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

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

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

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

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

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

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

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


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/SousChef.sol

pragma solidity 0.6.12;




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

// Neo is the One. Knows a lot about the Matrix, and he is a fair guy as well as Morpheus.

contract NeoPool is Ownable {
    using SafeMath for uint256;
    using SafeERC20 for IERC20;

    // 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 {
        IERC20 lpToken;           // Address of LP token contract.
        uint256 allocPoint;       // How many allocation points assigned to this pool. MORPHs to distribute per second.
        uint256 lastRewardTimestamp;  // Last block number that MORPHs distribution occurs.
        uint256 accMorphPerShare; // Accumulated MORPHs per share, times 1e12. See below.
    }

    // The MORPH TOKEN!
    IERC20 public syrup;
    IERC20 public rewardToken;

    // uint256 public maxStaking;

    // MORPH tokens created per second.
    uint256 public rewardPerSec;

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

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

    constructor(
        IERC20 _syrup,
        IERC20 _rewardToken,
        uint256 _rewardPerSec,
        uint256 _startTimestamp,
        uint256 _bonusEndTimestamp
    ) public {
        syrup = _syrup;
        rewardToken = _rewardToken;
        rewardPerSec = _rewardPerSec;
        startTimestamp = _startTimestamp;
        bonusEndTimestamp = _bonusEndTimestamp;

        // staking pool
        poolInfo.push(PoolInfo({
        lpToken: _syrup,
        allocPoint: 1000,
        lastRewardTimestamp: startTimestamp,
        accMorphPerShare: 0
        }));

        totalAllocPoint = 1000;
        // maxStaking = 50000000000000000000;

    }

    function stopReward() public onlyOwner {
        bonusEndTimestamp = block.timestamp;
    }


    // Return reward multiplier over the given _from to _to timestamp.
    function getMultiplier(uint256 _from, uint256 _to) public view returns (uint256) {
        if (_to <= bonusEndTimestamp) {
            return _to.sub(_from);
        } else if (_from >= bonusEndTimestamp) {
            return 0;
        } else {
            return bonusEndTimestamp.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 accMorphPerShare = pool.accMorphPerShare;
        uint256 lpSupply = pool.lpToken.balanceOf(address(this));
        if (block.timestamp > pool.lastRewardTimestamp && lpSupply != 0) {
            uint256 multiplier = getMultiplier(pool.lastRewardTimestamp, block.timestamp);
            uint256 morphReward = multiplier.mul(rewardPerSec).mul(pool.allocPoint).div(totalAllocPoint);
            accMorphPerShare = accMorphPerShare.add(morphReward.mul(1e12).div(lpSupply));
        }
        return user.amount.mul(accMorphPerShare).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.timestamp <= pool.lastRewardTimestamp) {
            return;
        }
        uint256 lpSupply = pool.lpToken.balanceOf(address(this));
        if (lpSupply == 0) {
            pool.lastRewardTimestamp = block.timestamp;
            return;
        }
        uint256 multiplier = getMultiplier(pool.lastRewardTimestamp, block.timestamp);
        uint256 morphReward = multiplier.mul(rewardPerSec).mul(pool.allocPoint).div(totalAllocPoint);
        pool.accMorphPerShare = pool.accMorphPerShare.add(morphReward.mul(1e12).div(lpSupply));
        pool.lastRewardTimestamp = block.timestamp;
    }

    // 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.accMorphPerShare).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);
            user.amount = user.amount.add(_amount);
        }
        user.rewardDebt = user.amount.mul(pool.accMorphPerShare).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.accMorphPerShare).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.accMorphPerShare).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);
    }

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

}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"contract IERC20","name":"_syrup","type":"address"},{"internalType":"contract IERC20","name":"_rewardToken","type":"address"},{"internalType":"uint256","name":"_rewardPerSec","type":"uint256"},{"internalType":"uint256","name":"_startTimestamp","type":"uint256"},{"internalType":"uint256","name":"_bonusEndTimestamp","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":"bonusEndTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"emergencyRewardWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"emergencyWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_from","type":"uint256"},{"internalType":"uint256","name":"_to","type":"uint256"}],"name":"getMultiplier","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"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 IERC20","name":"lpToken","type":"address"},{"internalType":"uint256","name":"allocPoint","type":"uint256"},{"internalType":"uint256","name":"lastRewardTimestamp","type":"uint256"},{"internalType":"uint256","name":"accMorphPerShare","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rewardPerSec","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardToken","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"startTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"stopReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"syrup","outputs":[{"internalType":"contract IERC20","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"}]

6080604052600060065534801561001557600080fd5b506040516114e33803806114e3833981810160405260a081101561003857600080fd5b5080516020820151604083015160608401516080909401519293919290919060006100616101d1565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600180546001600160a01b039687166001600160a01b03199182168117835560028054978916978316979097179096556003949094556007839055600891909155604080516080810182529485526103e86020860181815291860193845260006060870181815260048054958601815591829052965193027f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b8101805494909816939095169290921790955593517f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19c830155517f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19d82015590517f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19e909101556006556101d5565b3390565b6112ff806101e46000396000f3fe608060405234801561001057600080fd5b50600436106101215760003560e01c806386a952c4116100ad578063e4a337f311610071578063e4a337f3146102b1578063e6fd48bc146102b9578063f2fde38b146102c1578063f40f0f52146102e7578063f7c618c11461030d57610121565b806386a952c41461023d5780638da5cb5b146102615780638dbb1e3a14610269578063b6b55f251461028c578063db2e21bc146102a957610121565b80634f41e95d116100f45780634f41e95d146101ee57806351eb05a614610208578063630b5ba114610225578063715018a61461022d57806380dc06721461023557610121565b80631526fe27146101265780631959a002146101735780632e1a7d4d146101b25780633279beab146101d1575b600080fd5b6101436004803603602081101561013c57600080fd5b5035610315565b604080516001600160a01b0390951685526020850193909352838301919091526060830152519081900360800190f35b6101996004803603602081101561018957600080fd5b50356001600160a01b0316610356565b6040805192835260208301919091528051918290030190f35b6101cf600480360360208110156101c857600080fd5b503561036f565b005b6101cf600480360360208110156101e757600080fd5b50356104d4565b6101f6610603565b60408051918252519081900360200190f35b6101cf6004803603602081101561021e57600080fd5b5035610609565b6101cf610738565b6101cf61075b565b6101cf6107fd565b61024561085b565b604080516001600160a01b039092168252519081900360200190f35b61024561086a565b6101f66004803603604081101561027f57600080fd5b5080359060200135610879565b6101cf600480360360208110156102a257600080fd5b50356108b9565b6101cf6109ce565b6101f6610a61565b6101f6610a67565b6101cf600480360360208110156102d757600080fd5b50356001600160a01b0316610a6d565b6101f6600480360360208110156102fd57600080fd5b50356001600160a01b0316610ace565b610245610c26565b6004818154811061032257fe5b600091825260209091206004909102018054600182015460028301546003909301546001600160a01b039092169350919084565b6005602052600090815260409020805460019091015482565b6000600460008154811061037f57fe5b60009182526020808320338452600590915260409092208054600490920290920192508311156103eb576040805162461bcd60e51b81526020600482015260126024820152711dda5d1a191c985dce881b9bdd0819dbdbd960721b604482015290519081900360640190fd5b6103f56000610609565b600061042f826001015461042964e8d4a5100061042387600301548760000154610c3590919063ffffffff16565b90610c95565b90610cd7565b9050801561044e5760025461044e906001600160a01b03163383610d19565b83156104785781546104609085610cd7565b82558254610478906001600160a01b03163386610d19565b600383015482546104939164e8d4a510009161042391610c35565b600183015560408051858152905133917f884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a9424364919081900360200190a250505050565b6104dc610d70565b6000546001600160a01b0390811691161461052c576040805162461bcd60e51b81526020600482018190526024820152600080516020611280833981519152604482015290519081900360640190fd5b600254604080516370a0823160e01b815230600482015290516001600160a01b03909216916370a0823191602480820192602092909190829003018186803b15801561057757600080fd5b505afa15801561058b573d6000803e3d6000fd5b505050506040513d60208110156105a157600080fd5b505181106105e9576040805162461bcd60e51b815260206004820152601060248201526f3737ba1032b737bab3b4103a37b5b2b760811b604482015290519081900360640190fd5b600254610600906001600160a01b03163383610d19565b50565b60035481565b60006004828154811061061857fe5b90600052602060002090600402019050806002015442116106395750610600565b8054604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b15801561068357600080fd5b505afa158015610697573d6000803e3d6000fd5b505050506040513d60208110156106ad57600080fd5b50519050806106c3575042600290910155610600565b60006106d3836002015442610879565b9050600061070060065461042386600101546106fa60035487610c3590919063ffffffff16565b90610c35565b9050610723610718846104238464e8d4a51000610c35565b600386015490610d74565b60038501555050426002909201919091555050565b60045460005b818110156107575761074f81610609565b60010161073e565b5050565b610763610d70565b6000546001600160a01b039081169116146107b3576040805162461bcd60e51b81526020600482018190526024820152600080516020611280833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b610805610d70565b6000546001600160a01b03908116911614610855576040805162461bcd60e51b81526020600482018190526024820152600080516020611280833981519152604482015290519081900360640190fd5b42600855565b6001546001600160a01b031681565b6000546001600160a01b031690565b600060085482116108955761088e8284610cd7565b90506108b3565b60085483106108a6575060006108b3565b60085461088e9084610cd7565b92915050565b600060046000815481106108c957fe5b600091825260208083203384526005909152604083206004909202019250906108f190610609565b805415610947576000610926826001015461042964e8d4a5100061042387600301548760000154610c3590919063ffffffff16565b9050801561094557600254610945906001600160a01b03163383610d19565b505b8215610973578154610964906001600160a01b0316333086610dce565b80546109709084610d74565b81555b6003820154815461098e9164e8d4a510009161042391610c35565b600182015560408051848152905133917fe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c919081900360200190a2505050565b600060046000815481106109de57fe5b600091825260208083203380855260059092526040909320805460049093029093018054909450610a1c926001600160a01b03919091169190610d19565b600080825560018201819055604080519182525133917f5fafa99d0643513820be26656b45130b01e1c03062e1266bf36f88cbd3bd9695919081900360200190a25050565b60085481565b60075481565b610a75610d70565b6000546001600160a01b03908116911614610ac5576040805162461bcd60e51b81526020600482018190526024820152600080516020611280833981519152604482015290519081900360640190fd5b61060081610e2e565b6000806004600081548110610adf57fe5b600091825260208083206001600160a01b03878116855260058352604080862060049586029093016003810154815483516370a0823160e01b81523098810198909852925191985093969395939491909216926370a082319260248083019392829003018186803b158015610b5357600080fd5b505afa158015610b67573d6000803e3d6000fd5b505050506040513d6020811015610b7d57600080fd5b5051600285015490915042118015610b9457508015155b15610bf4576000610ba9856002015442610879565b90506000610bd060065461042388600101546106fa60035487610c3590919063ffffffff16565b9050610bef610be8846104238464e8d4a51000610c35565b8590610d74565b935050505b610c1c836001015461042964e8d4a51000610423868860000154610c3590919063ffffffff16565b9695505050505050565b6002546001600160a01b031681565b600082610c44575060006108b3565b82820282848281610c5157fe5b0414610c8e5760405162461bcd60e51b815260040180806020018281038252602181526020018061125f6021913960400191505060405180910390fd5b9392505050565b6000610c8e83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250610ece565b6000610c8e83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610f70565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610d6b908490610fca565b505050565b3390565b600082820183811015610c8e576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b179052610e28908590610fca565b50505050565b6001600160a01b038116610e735760405162461bcd60e51b81526004018080602001828103825260268152602001806112396026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b60008183610f5a5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610f1f578181015183820152602001610f07565b50505050905090810190601f168015610f4c5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b506000838581610f6657fe5b0495945050505050565b60008184841115610fc25760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315610f1f578181015183820152602001610f07565b505050900390565b606061101f826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b031661107b9092919063ffffffff16565b805190915015610d6b5780806020019051602081101561103e57600080fd5b5051610d6b5760405162461bcd60e51b815260040180806020018281038252602a8152602001806112a0602a913960400191505060405180910390fd5b606061108a8484600085611092565b949350505050565b606061109d856111ff565b6110ee576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b6020831061112d5780518252601f19909201916020918201910161110e565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d806000811461118f576040519150601f19603f3d011682016040523d82523d6000602084013e611194565b606091505b509150915081156111a857915061108a9050565b8051156111b85780518082602001fd5b60405162461bcd60e51b8152602060048201818152865160248401528651879391928392604401919085019080838360008315610f1f578181015183820152602001610f07565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47081811480159061108a57505015159291505056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a264697066735822122011132e9c2eb151aa61b86272d6ec723d0056372957f543bcb6f04d1677a55aa364736f6c634300060c0033000000000000000000000000b66b5d38e183de42f21e92abcaf3c712dd5d6286000000000000000000000000ddc0385169797937066bbd8ef409b5b3c0dfeb520000000000000000000000000000000000000000000000000000003a20e5470000000000000000000000000000000000000000000000000000000000619e25bc0000000000000000000000000000000000000000000000000000000061a7603c

Deployed ByteCode Sourcemap

23148:6974:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24110:26;;;;;;;;;;;;;;;;-1:-1:-1;24110:26:0;;:::i;:::-;;;;-1:-1:-1;;;;;24110:26:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24192:45;;;;;;;;;;;;;;;;-1:-1:-1;24192:45:0;-1:-1:-1;;;;;24192:45:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;28713:729;;;;;;;;;;;;;;;;-1:-1:-1;28713:729:0;;:::i;:::-;;29891:226;;;;;;;;;;;;;;;;-1:-1:-1;29891:226:0;;:::i;24047:27::-;;;:::i;:::-;;;;;;;;;;;;;;;;26804:717;;;;;;;;;;;;;;;;-1:-1:-1;26804:717:0;;:::i;27604:180::-;;;:::i;22192:140::-;;;:::i;25411:93::-;;;:::i;23909:19::-;;;:::i;:::-;;;;-1:-1:-1;;;;;23909:19:0;;;;;;;;;;;;;;21550:79;;;:::i;25586:318::-;;;;;;;;;;;;;;;;-1:-1:-1;25586:318:0;;;;;;;:::i;27834:827::-;;;;;;;;;;;;;;;;-1:-1:-1;27834:827:0;;:::i;29513:329::-;;;:::i;24504:32::-;;;:::i;24422:29::-;;;:::i;22487:109::-;;;;;;;;;;;;;;;;-1:-1:-1;22487:109:0;-1:-1:-1;;;;;22487:109:0;;:::i;25969:759::-;;;;;;;;;;;;;;;;-1:-1:-1;25969:759:0;-1:-1:-1;;;;;25969:759:0;;:::i;23935:25::-;;;:::i;24110:26::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;24110:26:0;;;;-1:-1:-1;24110:26:0;;;:::o;24192:45::-;;;;;;;;;;;;;;;;;;;:::o;28713:729::-;28766:21;28790:8;28799:1;28790:11;;;;;;;;;;;;;;;;28845:10;28836:20;;:8;:20;;;;;;;28875:11;;28790;;;;;;;;-1:-1:-1;28875:22:0;-1:-1:-1;28875:22:0;28867:53;;;;;-1:-1:-1;;;28867:53:0;;;;;;;;;;;;-1:-1:-1;;;28867:53:0;;;;;;;;;;;;;;;28931:13;28942:1;28931:10;:13::i;:::-;28955:15;28973:69;29026:4;:15;;;28973:48;29016:4;28973:38;28989:4;:21;;;28973:4;:11;;;:15;;:38;;;;:::i;:::-;:42;;:48::i;:::-;:52;;:69::i;:::-;28955:87;-1:-1:-1;29056:11:0;;29053:97;;29084:11;;:54;;-1:-1:-1;;;;;29084:11:0;29117:10;29130:7;29084:24;:54::i;:::-;29163:11;;29160:151;;29205:11;;:24;;29221:7;29205:15;:24::i;:::-;29191:38;;29244:12;;:55;;-1:-1:-1;;;;;29244:12:0;29278:10;29291:7;29244:25;:55::i;:::-;29355:21;;;;29339:11;;:48;;29382:4;;29339:38;;:15;:38::i;:48::-;29321:15;;;:66;29405:29;;;;;;;;29414:10;;29405:29;;;;;;;;;;28713:729;;;;:::o;29891:226::-;21772:12;:10;:12::i;:::-;21762:6;;-1:-1:-1;;;;;21762:6:0;;;:22;;;21754:67;;;;;-1:-1:-1;;;21754:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;21754:67:0;;;;;;;;;;;;;;;29987:11:::1;::::0;:36:::1;::::0;;-1:-1:-1;;;29987:36:0;;30017:4:::1;29987:36;::::0;::::1;::::0;;;-1:-1:-1;;;;;29987: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;29987:36:0;29977:46;::::1;29969:75;;;::::0;;-1:-1:-1;;;29969:75:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;29969:75:0;;;;;;;;;;;;;::::1;;30055:11;::::0;:54:::1;::::0;-1:-1:-1;;;;;30055:11:0::1;30088:10;30101:7:::0;30055:24:::1;:54::i;:::-;29891:226:::0;:::o;24047:27::-;;;;:::o;26804:717::-;26856:21;26880:8;26889:4;26880:14;;;;;;;;;;;;;;;;;;26856:38;;26928:4;:24;;;26909:15;:43;26905:82;;26969:7;;;26905:82;27016:12;;:37;;;-1:-1:-1;;;27016:37:0;;27047:4;27016:37;;;;;;26997:16;;-1:-1:-1;;;;;27016:12:0;;:22;;:37;;;;;;;;;;;;;;:12;:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;27016:37:0;;-1:-1:-1;27068:13:0;27064:109;;-1:-1:-1;27125:15:0;27098:24;;;;:42;27155:7;;27064:109;27183:18;27204:56;27218:4;:24;;;27244:15;27204:13;:56::i;:::-;27183:77;;27271:19;27293:70;27347:15;;27293:49;27326:4;:15;;;27293:28;27308:12;;27293:10;:14;;:28;;;;:::i;:::-;:32;;:49::i;:70::-;27271:92;-1:-1:-1;27398:62:0;27424:35;27450:8;27424:21;27271:92;27440:4;27424:15;:21::i;:35::-;27398:21;;;;;:25;:62::i;:::-;27374:21;;;:86;-1:-1:-1;;27498:15:0;27471:24;;;;:42;;;;-1:-1:-1;26804:717:0;:::o;27604:180::-;27666:8;:15;27649:14;27692:85;27720:6;27714:3;:12;27692:85;;;27750:15;27761:3;27750:10;:15::i;:::-;27728:5;;27692:85;;;;27604:180;:::o;22192:140::-;21772:12;:10;:12::i;:::-;21762:6;;-1:-1:-1;;;;;21762:6:0;;;:22;;;21754:67;;;;;-1:-1:-1;;;21754:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;21754:67:0;;;;;;;;;;;;;;;22291:1:::1;22275:6:::0;;22254:40:::1;::::0;-1:-1:-1;;;;;22275:6:0;;::::1;::::0;22254:40:::1;::::0;22291:1;;22254:40:::1;22322:1;22305:19:::0;;-1:-1:-1;;;;;;22305:19:0::1;::::0;;22192:140::o;25411:93::-;21772:12;:10;:12::i;:::-;21762:6;;-1:-1:-1;;;;;21762:6:0;;;:22;;;21754:67;;;;;-1:-1:-1;;;21754:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;21754:67:0;;;;;;;;;;;;;;;25481:15:::1;25461:17;:35:::0;25411:93::o;23909:19::-;;;-1:-1:-1;;;;;23909:19:0;;:::o;21550:79::-;21588:7;21615:6;-1:-1:-1;;;;;21615:6:0;21550:79;:::o;25586:318::-;25658:7;25689:17;;25682:3;:24;25678:219;;25730:14;:3;25738:5;25730:7;:14::i;:::-;25723:21;;;;25678:219;25775:17;;25766:5;:26;25762:135;;-1:-1:-1;25816:1:0;25809:8;;25762:135;25857:17;;:28;;25879:5;25857:21;:28::i;25762:135::-;25586:318;;;;:::o;27834:827::-;27886:21;27910:8;27919:1;27910:11;;;;;;;;;;;;;;;;27965:10;27956:20;;:8;:20;;;;;;27910:11;;;;;;-1:-1:-1;27956:20:0;28073:13;;:10;:13::i;:::-;28101:11;;:15;28097:254;;28133:15;28151:69;28204:4;:15;;;28151:48;28194:4;28151:38;28167:4;:21;;;28151:4;:11;;;:15;;:38;;;;:::i;:69::-;28133:87;-1:-1:-1;28238:11:0;;28235:105;;28270:11;;:54;;-1:-1:-1;;;;;28270:11:0;28303:10;28316:7;28270:24;:54::i;:::-;28097:254;;28364:11;;28361:170;;28392:12;;:74;;-1:-1:-1;;;;;28392:12:0;28430:10;28451:4;28458:7;28392:29;:74::i;:::-;28495:11;;:24;;28511:7;28495:15;:24::i;:::-;28481:38;;28361:170;28575:21;;;;28559:11;;:48;;28602:4;;28559:38;;:15;:38::i;:48::-;28541:15;;;:66;28625:28;;;;;;;;28633:10;;28625:28;;;;;;;;;;27834:827;;;:::o;29513:329::-;29560:21;29584:8;29593:1;29584:11;;;;;;;;;;;;;;;;29639:10;29630:20;;;:8;:20;;;;;;;29708:11;;29584;;;;;;;29661:12;;29584:11;;-1:-1:-1;29661:59:0;;-1:-1:-1;;;;;29661:12:0;;;;;29639:10;29661:25;:59::i;:::-;29745:1;29731:15;;;29757;;;:19;;;29792:42;;;;;;;29810:10;;29792:42;;;;;;;;;;29513:329;;:::o;24504:32::-;;;;:::o;24422:29::-;;;;:::o;22487:109::-;21772:12;:10;:12::i;:::-;21762:6;;-1:-1:-1;;;;;21762:6:0;;;:22;;;21754:67;;;;;-1:-1:-1;;;21754:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;21754:67:0;;;;;;;;;;;;;;;22560:28:::1;22579:8;22560:18;:28::i;25969:759::-:0;26030:7;26050:21;26074:8;26083:1;26074:11;;;;;;;;;;;;;;;;-1:-1:-1;;;;;26120:15:0;;;;;:8;:15;;;;;;26074:11;;;;;;;26173:21;;;;26224:12;;:37;;-1:-1:-1;;;26224:37:0;;26255:4;26224:37;;;;;;;;;26074:11;;-1:-1:-1;26120:15:0;;26173:21;;26074:11;;26224:12;;;;;:22;;:37;;;;;26074:11;26224:37;;;;;:12;:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;26224:37:0;26294:24;;;;26224:37;;-1:-1:-1;26276:15:0;:42;:59;;;;-1:-1:-1;26322:13:0;;;26276:59;26272:367;;;26352:18;26373:56;26387:4;:24;;;26413:15;26373:13;:56::i;:::-;26352:77;;26444:19;26466:70;26520:15;;26466:49;26499:4;:15;;;26466:28;26481:12;;26466:10;:14;;:28;;;;:::i;:70::-;26444:92;-1:-1:-1;26570:57:0;26591:35;26617:8;26591:21;26444:92;26607:4;26591:15;:21::i;:35::-;26570:16;;:20;:57::i;:::-;26551:76;;26272:367;;;26656:64;26704:4;:15;;;26656:43;26694:4;26656:33;26672:16;26656:4;:11;;;:15;;:33;;;;:::i;:64::-;26649:71;25969:759;-1:-1:-1;;;;;;25969:759:0:o;23935:25::-;;;-1:-1:-1;;;;;23935: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;16106:211::-;16250:58;;;-1:-1:-1;;;;;16250:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;16250:58:0;-1:-1:-1;;;16250:58:0;;;16223:86;;16243:5;;16223:19;:86::i;:::-;16106:211;;;:::o;20175:98::-;20255:10;20175:98;:::o;868:181::-;926:7;958:5;;;982:6;;;;974:46;;;;;-1:-1:-1;;;974:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;16325:248;16496:68;;;-1:-1:-1;;;;;16496:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;16496:68:0;-1:-1:-1;;;16496:68:0;;;16469:96;;16489:5;;16469:19;:96::i;:::-;16325:248;;;;:::o;22702:229::-;-1:-1:-1;;;;;22776:22:0;;22768:73;;;;-1:-1:-1;;;22768:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22878:6;;;22857:38;;-1:-1:-1;;;;;22857:38:0;;;;22878:6;;;22857:38;;;22906:6;:17;;-1:-1:-1;;;;;;22906:17:0;-1:-1:-1;;;;;22906:17:0;;;;;;;;;;22702: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;18641:774::-;19065:23;19091:69;19119:4;19091:69;;;;;;;;;;;;;;;;;19099:5;-1:-1:-1;;;;;19091:27:0;;;:69;;;;;:::i;:::-;19175:17;;19065:95;;-1:-1:-1;19175:21:0;19171:237;;19330:10;19319:30;;;;;;;;;;;;;;;-1:-1:-1;19319:30:0;19311:85;;;;-1:-1:-1;;;19311:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12999:230;13136:12;13168:53;13191:6;13199:4;13205:1;13208:12;13168:22;:53::i;:::-;13161:60;12999:230;-1:-1:-1;;;;12999:230:0:o;14487:1020::-;14660:12;14693:18;14704:6;14693:10;:18::i;:::-;14685:60;;;;;-1:-1:-1;;;14685:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;14819:12;14833:23;14860:6;-1:-1:-1;;;;;14860:11:0;14879:8;14889:4;14860:34;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;14860:34:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14818:76;;;;14909:7;14905:595;;;14940:10;-1:-1:-1;14933:17:0;;-1:-1:-1;14933:17:0;14905:595;15054:17;;:21;15050:439;;15317:10;15311:17;15378:15;15365:10;15361:2;15357:19;15350:44;15265:148;15453:20;;-1:-1:-1;;;15453:20:0;;;;;;;;;;;;;;;;;15460:12;;15453:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9862:641;9922:4;10403:20;;10233:66;10452:23;;;;;;:42;;-1:-1:-1;;10479:15:0;;;10444:51;-1:-1:-1;;9862:641:0:o

Swarm Source

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

Amount Staked
0

Amount Delegated
0

Staking Total
0

Staking Start Epoch
0

Staking Start Time
0

Proof of Importance
0

Origination Score
0

Validation Score
0

Active
0

Online
0

Downtime
0 s
Address Amount claimed Rewards Created On Epoch Created On
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.