Contract 0xcEFaD3e7fB7cac698504eF3Ddc8038E833D13Dc1

 
 
Txn Hash
Method
Block
From
To
Value [Txn Fee]
0x399d15a9fdd628c87a0fd94919610e3ccd84b9e7a829ef735e9bba43a00ed2acExit381803162023-01-17 5:38:3815 days 4 hrs ago0x6ed8c61786cc23af318e0c52ca7d9f61fbf23346 IN  0xcefad3e7fb7cac698504ef3ddc8038e833d13dc10 MATIC0.003399244712 38.849398983
0x2e707aa7be0ebe6e8c90908df1defa29e8629fa65c8e436a4bdb714049cae945Get Reward381802942023-01-17 5:37:5415 days 4 hrs ago0x6ed8c61786cc23af318e0c52ca7d9f61fbf23346 IN  0xcefad3e7fb7cac698504ef3ddc8038e833d13dc10 MATIC0.00273488804 38.983508519
0xf506c29f5811a1c7564fb679da16936cc9b7480eff9079602884716561af9b33Exit366511292022-12-10 8:04:3053 days 2 hrs ago0x3854566979921d8945c607a91b66e023acc5d335 IN  0xcefad3e7fb7cac698504ef3ddc8038e833d13dc10 MATIC0.01268813498 145.010571451
0xa16db42cdc93417a131c8bfc6e29fb19ffebcd43912cab81cab4d5a6b56da572Get Reward361286082022-11-27 10:39:3865 days 23 hrs ago0x79128f7a8543558c97a68fa311aab606d3d93feb IN  0xcefad3e7fb7cac698504ef3ddc8038e833d13dc10 MATIC0.002217332467 30.1088
0xf4d8d1202a325265444f636e95ba4419c4922e747c77f89bec6f7ff3521e470cWithdraw357354862022-11-17 21:44:3875 days 12 hrs ago0x0e6e5579eb770c9af8991c0cb1a8246d0e7b1545 IN  0xcefad3e7fb7cac698504ef3ddc8038e833d13dc10 MATIC0.002873552474 36.066829099
0xd3ba3fc9b4d13132002ce33abdc76a54ba7ff20a26800b7e5c5c040248806b43Exit357198472022-11-17 12:41:5375 days 21 hrs ago0xc0f306005f85f859ac07f0f465f87e15c04d4c3e IN  0xcefad3e7fb7cac698504ef3ddc8038e833d13dc10 MATIC0.003956244134 45.215252172
0xb7765629fa3ad7fbe4da3716c7b8019a6938e0dd2bc6127e8c744063168dce03Withdraw353149142022-11-07 13:04:4985 days 21 hrs ago0x0a7fdbcd17c4b4b71d7190aa908028a786df874a IN  0xcefad3e7fb7cac698504ef3ddc8038e833d13dc10 MATIC0.017573653018 220.572251809
0x66a13d947431901a28d4e187ca276d85a1f0ef3f7b827e52961ca81de1a45f14Withdraw351345412022-11-03 3:54:1290 days 6 hrs ago0x55c726316f5a24c541014bc4cc93cc386e86fbe7 IN  0xcefad3e7fb7cac698504ef3ddc8038e833d13dc10 MATIC0.032007999101 401.742109648
0x473231c707476ff2069613207d998ad3551ce8c68c2b74deb8e833fa82d8ef3cWithdraw345356922022-10-19 12:03:05104 days 22 hrs ago0x35980f51a627e4016839ef33256bb5b5f06939fb IN  0xcefad3e7fb7cac698504ef3ddc8038e833d13dc10 MATIC0.023970267149 300.858096838
0x61295210051e27dc5b6fb0eb97dc6a98e654e8864d94b8a50aa791bd044a0395Withdraw345325672022-10-19 9:56:52105 days 22 mins ago0x2c0d5d8ce98722c825298e5befaa73fb952596f2 IN  0xcefad3e7fb7cac698504ef3ddc8038e833d13dc10 MATIC0.026654908367 334.553843424
0x4db3c1135774cb086f05882ea421e60c025f2aaae3ed5cd24689d80fe3161ac3Exit344600972022-10-17 14:22:11106 days 19 hrs ago0x50e94e69972f1d58e08b0336dd7e7f99d6f6bc54 IN  0xcefad3e7fb7cac698504ef3ddc8038e833d13dc10 MATIC0.010332720956 118.090938721
0x15f9b8ee1de43308ed6446eb8be9563d025c953744314acba19df36069192fb1Exit344584922022-10-17 13:24:12106 days 20 hrs ago0xd6af7f1be214a260c47e69f601293cf55a13ea89 IN  0xcefad3e7fb7cac698504ef3ddc8038e833d13dc10 MATIC0.006752338494 77.171346714
0x5f02b327e570dae896035a623a525e65a7564aef947477a23a891a042deac814Withdraw344584372022-10-17 13:22:22106 days 20 hrs ago0x83993b65d2271af334dacedaf3f3273d535c6762 IN  0xcefad3e7fb7cac698504ef3ddc8038e833d13dc10 MATIC0.00398425 50
0x0fe7fc09508fef56b5b21ce61558300fafd897040af04f72023672de1fdb5b8cExit344579222022-10-17 13:04:25106 days 21 hrs ago0x1ff784a792e27842dd6cbbf5d7b13e805712d96f IN  0xcefad3e7fb7cac698504ef3ddc8038e833d13dc10 MATIC0.008931993337 102.082257166
0x7061bbf33367afa087e3a3b65dcd5e86d1fae8e0efe0bedccb6a395d5fff7d2cStake344578872022-10-17 13:03:11106 days 21 hrs ago0x1ff784a792e27842dd6cbbf5d7b13e805712d96f IN  0xcefad3e7fb7cac698504ef3ddc8038e833d13dc10 MATIC0.007757311646 94.86629302
0x662f1dcd1b3d7aeea0aae9078730a79ed5f191c2b5444087333f1871f47dfe8fGet Reward344313282022-10-16 21:34:12107 days 12 hrs ago0xa51f1fc005f3d943db1b93e6cae54a5c2c965313 IN  0xcefad3e7fb7cac698504ef3ddc8038e833d13dc10 MATIC0.007112515538 81.514131432
0xa17bef089d2a32b4c1ecd79366f38ce0e3e32ab8316b05eb6341803c28ffaf3cWithdraw344288422022-10-16 20:06:25107 days 14 hrs ago0x9a1801b7106f6d3fa7ca9ca4785e5aa30b8d9046 IN  0xcefad3e7fb7cac698504ef3ddc8038e833d13dc10 MATIC0.006921280368 86.871090187
0x0cba92c5d6d915362a35877f6a64a62ac0dbf9b3d081abec3c0953e335dda458Stake344113822022-10-16 9:47:37108 days 31 mins ago0x50e94e69972f1d58e08b0336dd7e7f99d6f6bc54 IN  0xcefad3e7fb7cac698504ef3ddc8038e833d13dc10 MATIC0.006536614469 64.299417359
0xb81e52186c7ce24bd7207bd2e2eb4917b246f1788d823057c1d9bf8803e7f6afWithdraw344033372022-10-16 5:00:03108 days 5 hrs ago0xbbf41684984145889408a5adc7285081496349c0 IN  0xcefad3e7fb7cac698504ef3ddc8038e833d13dc10 MATIC0.00644932697680.959653736
0xd012e0ee7b3650e8afb27030a58017e7c958469c72d65c937b9145c91f6fd0e5Stake344031902022-10-16 4:54:57108 days 5 hrs ago0xbbf41684984145889408a5adc7285081496349c0 IN  0xcefad3e7fb7cac698504ef3ddc8038e833d13dc10 MATIC0.00547058138266.911060336
0xafca82ec2492af4c62bf1cd45bd3e8201f40514e5ad9656702c5b6c3474c44a1Withdraw343364672022-10-14 14:05:50109 days 20 hrs ago0x10c36c3c80d73ebd69283ad1acc614286fef24d7 IN  0xcefad3e7fb7cac698504ef3ddc8038e833d13dc10 MATIC0.014820369329 186.014952743
0xfd99180dfe9b4313268398d86b2b0587ecdb52f0e857f1de6c48a27cb9e27999Exit343341362022-10-14 12:45:31109 days 21 hrs ago0x2ac782feb46d4f750812ab17566b18a398a4e6b7 IN  0xcefad3e7fb7cac698504ef3ddc8038e833d13dc10 MATIC0.014849044579 169.707245643
0x210715ded69c9f52f08e4ea184b35174e7e2b39be1cda354c213a4e018add549Stake343084352022-10-13 21:47:10110 days 12 hrs ago0x2ac782feb46d4f750812ab17566b18a398a4e6b7 IN  0xcefad3e7fb7cac698504ef3ddc8038e833d13dc10 MATIC0.003103166302 30.521646319
0xf576d019d9e79f6d385d09f595e3fdf7e9309a3c0405a8442521e94826dafeedExit342863122022-10-13 8:56:41111 days 1 hr ago0xdc17a3e4e194cd346327e9370b765e95a86a0541 IN  0xcefad3e7fb7cac698504ef3ddc8038e833d13dc10 MATIC0.013543222874 154.783227896
0x2fc4c91b2ce145613d1986227c42bfbd19bb9f668e020f8d99e69a76a6eba62aStake342862642022-10-13 8:55:01111 days 1 hr ago0xdc17a3e4e194cd346327e9370b765e95a86a0541 IN  0xcefad3e7fb7cac698504ef3ddc8038e833d13dc10 MATIC0.013896136734 136.693620189
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
GAMEE_LP_Unipool

Compiler Version
v0.6.8+commit.0bbfe453

Optimization Enabled:
Yes with 2000 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at polygonscan.com on 2022-03-29
*/

// File: @openzeppelin/contracts/math/Math.sol

// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    /**
     * @dev Returns the largest of two numbers.
     */
    function max(uint256 a, uint256 b) internal pure returns (uint256) {
        return a >= b ? a : b;
    }

    /**
     * @dev Returns the smallest of two numbers.
     */
    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two numbers. The result is rounded towards
     * zero.
     */
    function average(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b) / 2 can overflow, so we distribute
        return (a / 2) + (b / 2) + ((a % 2 + b % 2) / 2);
    }
}

// File: @openzeppelin/contracts/math/SafeMath.sol


pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");

        return c;
    }

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

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

        return c;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
        // benefit is lost if 'b' is also tested.
        // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
        if (a == 0) {
            return 0;
        }

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

        return c;
    }

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

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

        return c;
    }

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

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

// File: @openzeppelin/contracts/GSN/Context.sol


pragma solidity >=0.6.0 <0.8.0;

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

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

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


pragma solidity >=0.6.0 <0.8.0;

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

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

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

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

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

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

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

// File: @openzeppelin/contracts/token/ERC20/IERC20.sol


pragma solidity >=0.6.0 <0.8.0;

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

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

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

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

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

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

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

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

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


pragma solidity >=0.6.2 <0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// File: @openzeppelin/contracts/token/ERC20/SafeERC20.sol


pragma solidity >=0.6.0 <0.8.0;




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

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

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

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

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

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

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

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

// File: contracts/staking/IRewardDistributionRecipient.sol


pragma solidity 0.6.8;



abstract contract IRewardDistributionRecipient is Ownable {
    address public rewardDistribution;

    function notifyRewardAmount(uint256 reward) external virtual;

    modifier onlyRewardDistribution() {
        require(_msgSender() == rewardDistribution, "Caller is not reward distribution");
        _;
    }

    function setRewardDistribution(address _rewardDistribution) external onlyOwner {
        rewardDistribution = _rewardDistribution;
    }
}

// File: contracts/staking/LP_Ropsten_GMEE_ETH_Unipool.sol


pragma solidity 0.6.8;






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

    IERC20 public immutable uni;

    uint256 private _totalSupply;
    mapping(address => uint256) private _balances;

    constructor(IERC20 uni_) public {
        uni = uni_;
    }

    function totalSupply() public view returns (uint256) {
        return _totalSupply;
    }

    function balanceOf(address account) public view returns (uint256) {
        return _balances[account];
    }

    function stake(uint256 amount) public virtual {
        _totalSupply = _totalSupply.add(amount);
        _balances[msg.sender] = _balances[msg.sender].add(amount);
        uni.safeTransferFrom(msg.sender, address(this), amount);
    }

    function withdraw(uint256 amount) public virtual {
        _totalSupply = _totalSupply.sub(amount);
        _balances[msg.sender] = _balances[msg.sender].sub(amount);
        uni.safeTransfer(msg.sender, amount);
    }
}

// solhint-disable-next-line contract-name-camelcase
contract GAMEE_LP_Unipool is LPTokenWrapper, IRewardDistributionRecipient {
    // solhint-disable-next-line var-name-mixedcase
    uint256 public immutable DURATION;
    IERC20 public immutable rewardToken;

    uint256 public periodFinish = 0;
    uint256 public rewardRate = 0;
    uint256 public lastUpdateTime;
    uint256 public rewardPerTokenStored;
    mapping(address => uint256) public userRewardPerTokenPaid;
    mapping(address => uint256) public rewards;

    event RewardAdded(uint256 reward);
    event Staked(address indexed user, uint256 amount);
    event Withdrawn(address indexed user, uint256 amount);
    event RewardPaid(address indexed user, uint256 reward);

    constructor(
        IERC20 uni_,
        IERC20 rewardToken_,
        uint256 duration
    ) public LPTokenWrapper(uni_) {
        rewardToken = rewardToken_;
        DURATION = duration;
    }

    modifier updateReward(address account) {
        rewardPerTokenStored = rewardPerToken();
        lastUpdateTime = lastTimeRewardApplicable();
        if (account != address(0)) {
            rewards[account] = earned(account);
            userRewardPerTokenPaid[account] = rewardPerTokenStored;
        }
        _;
    }

    function lastTimeRewardApplicable() public view returns (uint256) {
        return Math.min(block.timestamp, periodFinish);
    }

    function rewardPerToken() public view returns (uint256) {
        if (totalSupply() == 0) {
            return rewardPerTokenStored;
        }
        return rewardPerTokenStored.add(lastTimeRewardApplicable().sub(lastUpdateTime).mul(rewardRate).mul(1e18).div(totalSupply()));
    }

    function earned(address account) public view returns (uint256) {
        return balanceOf(account).mul(rewardPerToken().sub(userRewardPerTokenPaid[account])).div(1e18).add(rewards[account]);
    }

    // stake visibility is public as overriding LPTokenWrapper's stake() function
    function stake(uint256 amount) public override updateReward(msg.sender) {
        require(amount > 0, "Cannot stake 0");
        super.stake(amount);
        emit Staked(msg.sender, amount);
    }

    function withdraw(uint256 amount) public override updateReward(msg.sender) {
        require(amount > 0, "Cannot withdraw 0");
        super.withdraw(amount);
        emit Withdrawn(msg.sender, amount);
    }

    function exit() external {
        getReward();
        withdraw(balanceOf(msg.sender));
    }

    function getReward() public updateReward(msg.sender) {
        uint256 reward = earned(msg.sender);
        if (reward > 0) {
            rewards[msg.sender] = 0;
            rewardToken.safeTransfer(msg.sender, reward);
            emit RewardPaid(msg.sender, reward);
        }
    }

    function notifyRewardAmount(uint256 reward) external override onlyRewardDistribution updateReward(address(0)) {
        if (block.timestamp >= periodFinish) {
            rewardRate = reward.div(DURATION);
        } else {
            uint256 remaining = periodFinish.sub(block.timestamp);
            uint256 leftover = remaining.mul(rewardRate);
            rewardRate = reward.add(leftover).div(DURATION);
        }
        lastUpdateTime = block.timestamp;
        periodFinish = block.timestamp.add(DURATION);
        emit RewardAdded(reward);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"contract IERC20","name":"uni_","type":"address"},{"internalType":"contract IERC20","name":"rewardToken_","type":"address"},{"internalType":"uint256","name":"duration","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"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":false,"internalType":"uint256","name":"reward","type":"uint256"}],"name":"RewardAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"reward","type":"uint256"}],"name":"RewardPaid","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Staked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdrawn","type":"event"},{"inputs":[],"name":"DURATION","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"earned","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"exit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"lastTimeRewardApplicable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastUpdateTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"reward","type":"uint256"}],"name":"notifyRewardAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"periodFinish","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rewardDistribution","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardPerToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardPerTokenStored","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardRate","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":[{"internalType":"address","name":"","type":"address"}],"name":"rewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_rewardDistribution","type":"address"}],"name":"setRewardDistribution","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"stake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uni","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userRewardPerTokenPaid","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60e06040526000600455600060055534801561001a57600080fd5b506040516115ca3803806115ca8339818101604052606081101561003d57600080fd5b50805160208201516040909201516001600160601b0319606083901b1660805290919060006100736001600160e01b036100dd16565b600280546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35060609190911b6001600160601b03191660c05260a052506100e1565b3390565b60805160601c60a05160c05160601c611499610131600039806108325280610c6a5250806104c852806106a15280610709528061074a525080610b2e5280610e1c5280610f3d52506114996000f3fe608060405234801561001057600080fd5b50600436106101975760003560e01c806380faa57d116100e3578063df136d651161008c578063edc9af9511610066578063edc9af9514610349578063f2fde38b14610351578063f7c618c11461037757610197565b8063df136d6514610331578063e9fad8ee14610339578063ebe2b12b1461034157610197565b8063a694fc3a116100bd578063a694fc3a14610304578063c8f33c9114610321578063cd3daf9d1461032957610197565b806380faa57d146102ce5780638b876347146102d65780638da5cb5b146102fc57610197565b80632e1a7d4d1161014557806370a082311161011f57806370a0823114610298578063715018a6146102be5780637b0a47ee146102c657610197565b80632e1a7d4d146102565780633c6b16ab146102735780633d18b9121461029057610197565b8063101114cf11610176578063101114cf1461022257806318160ddd146102465780631be052891461024e57610197565b80628cc2621461019c5780630700037d146101d45780630d68b761146101fa575b600080fd5b6101c2600480360360208110156101b257600080fd5b50356001600160a01b031661037f565b60408051918252519081900360200190f35b6101c2600480360360208110156101ea57600080fd5b50356001600160a01b0316610405565b6102206004803603602081101561021057600080fd5b50356001600160a01b0316610417565b005b61022a6104b0565b604080516001600160a01b039092168252519081900360200190f35b6101c26104bf565b6101c26104c6565b6102206004803603602081101561026c57600080fd5b50356104ea565b6102206004803603602081101561028957600080fd5b50356105dd565b6102206107ae565b6101c2600480360360208110156102ae57600080fd5b50356001600160a01b03166108a2565b6102206108bd565b6101c261097e565b6101c2610984565b6101c2600480360360208110156102ec57600080fd5b50356001600160a01b0316610997565b61022a6109a9565b6102206004803603602081101561031a57600080fd5b50356109b8565b6101c2610aab565b6101c2610ab1565b6101c2610b05565b610220610b0b565b6101c2610b26565b61022a610b2c565b6102206004803603602081101561036757600080fd5b50356001600160a01b0316610b50565b61022a610c68565b6001600160a01b03811660009081526009602090815260408083205460089092528220546103ff91906103f390670de0b6b3a7640000906103e7906103d2906103c6610ab1565b9063ffffffff610c8c16565b6103db886108a2565b9063ffffffff610cd516565b9063ffffffff610d2e16565b9063ffffffff610d7016565b92915050565b60096020526000908152604090205481565b61041f610dca565b6002546001600160a01b03908116911614610481576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6003805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b6003546001600160a01b031681565b6000545b90565b7f000000000000000000000000000000000000000000000000000000000000000081565b336104f3610ab1565b6007556104fe610984565b6006556001600160a01b03811615610545576105198161037f565b6001600160a01b0382166000908152600960209081526040808320939093556007546008909152919020555b6000821161059a576040805162461bcd60e51b815260206004820152601160248201527f43616e6e6f742077697468647261772030000000000000000000000000000000604482015290519081900360640190fd5b6105a382610dce565b60408051838152905133917f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5919081900360200190a25050565b6003546001600160a01b03166105f1610dca565b6001600160a01b0316146106365760405162461bcd60e51b81526004018080602001828103825260218152602001806114196021913960400191505060405180910390fd5b6000610640610ab1565b60075561064b610984565b6006556001600160a01b03811615610692576106668161037f565b6001600160a01b0382166000908152600960209081526040808320939093556007546008909152919020555b60045442106106d3576106cb827f000000000000000000000000000000000000000000000000000000000000000063ffffffff610d2e16565b60055561073e565b6004546000906106e9904263ffffffff610c8c16565b9050600061070260055483610cd590919063ffffffff16565b90506107387f00000000000000000000000000000000000000000000000000000000000000006103e7868463ffffffff610d7016565b60055550505b426006819055610774907f000000000000000000000000000000000000000000000000000000000000000063ffffffff610d7016565b6004556040805183815290517fde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d9181900360200190a15050565b336107b7610ab1565b6007556107c2610984565b6006556001600160a01b03811615610809576107dd8161037f565b6001600160a01b0382166000908152600960209081526040808320939093556007546008909152919020555b60006108143361037f565b9050801561089e5733600081815260096020526040812055610867907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316908363ffffffff610e5416565b60408051828152905133917fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e0486919081900360200190a25b5050565b6001600160a01b031660009081526001602052604090205490565b6108c5610dca565b6002546001600160a01b03908116911614610927576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6002546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a36002805473ffffffffffffffffffffffffffffffffffffffff19169055565b60055481565b600061099242600454610ed9565b905090565b60086020526000908152604090205481565b6002546001600160a01b031690565b336109c1610ab1565b6007556109cc610984565b6006556001600160a01b03811615610a13576109e78161037f565b6001600160a01b0382166000908152600960209081526040808320939093556007546008909152919020555b60008211610a68576040805162461bcd60e51b815260206004820152600e60248201527f43616e6e6f74207374616b652030000000000000000000000000000000000000604482015290519081900360640190fd5b610a7182610eef565b60408051838152905133917f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d919081900360200190a25050565b60065481565b6000610abb6104bf565b610ac857506007546104c3565b610992610af6610ad66104bf565b6103e7670de0b6b3a76400006103db6005546103db6006546103c6610984565b6007549063ffffffff610d7016565b60075481565b610b136107ae565b610b24610b1f336108a2565b6104ea565b565b60045481565b7f000000000000000000000000000000000000000000000000000000000000000081565b610b58610dca565b6002546001600160a01b03908116911614610bba576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b038116610bff5760405162461bcd60e51b81526004018080602001828103825260268152602001806113ac6026913960400191505060405180910390fd5b6002546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a36002805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b7f000000000000000000000000000000000000000000000000000000000000000081565b6000610cce83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610f73565b9392505050565b600082610ce4575060006103ff565b82820282848281610cf157fe5b0414610cce5760405162461bcd60e51b81526004018080602001828103825260218152602001806113f86021913960400191505060405180910390fd5b6000610cce83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061100a565b600082820183811015610cce576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b3390565b600054610de1908263ffffffff610c8c16565b600090815533815260016020526040902054610e03908263ffffffff610c8c16565b33600081815260016020526040902091909155610e51907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316908363ffffffff610e5416565b50565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb00000000000000000000000000000000000000000000000000000000179052610ed490849061106f565b505050565b6000818310610ee85781610cce565b5090919050565b600054610f02908263ffffffff610d7016565b600090815533815260016020526040902054610f24908263ffffffff610d7016565b33600081815260016020526040902091909155610e51907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690308463ffffffff61112016565b600081848411156110025760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610fc7578181015183820152602001610faf565b50505050905090810190601f168015610ff45780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600081836110595760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315610fc7578181015183820152602001610faf565b50600083858161106557fe5b0495945050505050565b60606110c4826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166111ae9092919063ffffffff16565b805190915015610ed4578080602001905160208110156110e357600080fd5b5051610ed45760405162461bcd60e51b815260040180806020018281038252602a81526020018061143a602a913960400191505060405180910390fd5b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f23b872dd000000000000000000000000000000000000000000000000000000001790526111a890859061106f565b50505050565b60606111bd84846000856111c5565b949350505050565b6060824710156112065760405162461bcd60e51b81526004018080602001828103825260268152602001806113d26026913960400191505060405180910390fd5b61120f8561133f565b611260576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b602083106112bd57805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092019160209182019101611280565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d806000811461131f576040519150601f19603f3d011682016040523d82523d6000602084013e611324565b606091505b5091509150611334828286611345565b979650505050505050565b3b151590565b60608315611354575081610cce565b8251156113645782518084602001fd5b60405162461bcd60e51b8152602060048201818152845160248401528451859391928392604401919085019080838360008315610fc7578181015183820152602001610faf56fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7743616c6c6572206973206e6f742072657761726420646973747269627574696f6e5361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a2646970667358221220235bd3ee5b0af80ad88f18149abf6ba28ba83c839c6a8a43a9ff64228287bbb464736f6c634300060800330000000000000000000000007afa3085f397972acc067cea6c8955ffedf92c44000000000000000000000000cf32822ff397ef82425153a9dcb726e5ff61dca70000000000000000000000000000000000000000000000000000000000278d00

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

0000000000000000000000007afa3085f397972acc067cea6c8955ffedf92c44000000000000000000000000cf32822ff397ef82425153a9dcb726e5ff61dca70000000000000000000000000000000000000000000000000000000000278d00

-----Decoded View---------------
Arg [0] : uni_ (address): 0x7afa3085f397972acc067cea6c8955ffedf92c44
Arg [1] : rewardToken_ (address): 0xcf32822ff397ef82425153a9dcb726e5ff61dca7
Arg [2] : duration (uint256): 2592000

-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 0000000000000000000000007afa3085f397972acc067cea6c8955ffedf92c44
Arg [1] : 000000000000000000000000cf32822ff397ef82425153a9dcb726e5ff61dca7
Arg [2] : 0000000000000000000000000000000000000000000000000000000000278d00


Deployed ByteCode Sourcemap

24855:3376:0:-:0;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;24855:3376:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12:1:-1;9;2:12;26541:198:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;26541:198:0;-1:-1:-1;;;;;26541:198:0;;:::i;:::-;;;;;;;;;;;;;;;;25289:42;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;25289:42:0;-1:-1:-1;;;;;25289:42:0;;:::i;23571:138::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;23571:138:0;-1:-1:-1;;;;;23571:138:0;;:::i;:::-;;23307:33;;;:::i;:::-;;;;-1:-1:-1;;;;;23307:33:0;;;;;;;;;;;;;;24109:91;;;:::i;24989:33::-;;;:::i;27038:212::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;27038:212:0;;:::i;27663:565::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;27663:565:0;;:::i;27363:292::-;;;:::i;24208:110::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;24208:110:0;-1:-1:-1;;;;;24208:110:0;;:::i;9020:148::-;;;:::i;25111:29::-;;;:::i;26107:131::-;;;:::i;25225:57::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;25225:57:0;-1:-1:-1;;;;;25225:57:0;;:::i;8378:79::-;;;:::i;26830:200::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;26830:200:0;;:::i;25147:29::-;;;:::i;26246:287::-;;;:::i;25183:35::-;;;:::i;27258:97::-;;;:::i;25073:31::-;;;:::i;23915:27::-;;;:::i;9323:244::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;9323:244:0;-1:-1:-1;;;;;9323:244:0;;:::i;25029:35::-;;;:::i;26541:198::-;-1:-1:-1;;;;;26714:16:0;;26595:7;26714:16;;;:7;:16;;;;;;;;;26666:22;:31;;;;;;26622:109;;26714:16;26622:87;;26704:4;;26622:77;;26645:53;;:16;:14;:16::i;:::-;:20;:53;:20;:53;:::i;:::-;26622:18;26632:7;26622:9;:18::i;:::-;:22;:77;:22;:77;:::i;:::-;:81;:87;:81;:87;:::i;:::-;:91;:109;:91;:109;:::i;:::-;26615:116;26541:198;-1:-1:-1;;26541:198:0:o;25289:42::-;;;;;;;;;;;;;:::o;23571:138::-;8600:12;:10;:12::i;:::-;8590:6;;-1:-1:-1;;;;;8590:6:0;;;:22;;;8582:67;;;;;-1:-1:-1;;;8582:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23661:18:::1;:40:::0;;-1:-1:-1;;23661:40:0::1;-1:-1:-1::0;;;;;23661:40:0;;;::::1;::::0;;;::::1;::::0;;23571:138::o;23307:33::-;;;-1:-1:-1;;;;;23307:33:0;;:::o;24109:91::-;24153:7;24180:12;24109:91;;:::o;24989:33::-;;;:::o;27038:212::-;27101:10;25842:16;:14;:16::i;:::-;25819:20;:39;25886:26;:24;:26::i;:::-;25869:14;:43;-1:-1:-1;;;;;25927:21:0;;;25923:157;;25984:15;25991:7;25984:6;:15::i;:::-;-1:-1:-1;;;;;25965:16:0;;;;;;:7;:16;;;;;;;;:34;;;;26048:20;;26014:22;:31;;;;;;:54;25923:157;27141:1:::1;27132:6;:10;27124:40;;;::::0;;-1:-1:-1;;;27124:40:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;27175:22;27190:6;27175:14;:22::i;:::-;27213:29;::::0;;;;;;;27223:10:::1;::::0;27213:29:::1;::::0;;;;;::::1;::::0;;::::1;27038:212:::0;;:::o;27663:565::-;23487:18;;-1:-1:-1;;;;;23487:18:0;23471:12;:10;:12::i;:::-;-1:-1:-1;;;;;23471:34:0;;23463:80;;;;-1:-1:-1;;;23463:80:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27769:1:::1;25842:16;:14;:16::i;:::-;25819:20;:39:::0;25886:26:::1;:24;:26::i;:::-;25869:14;:43:::0;-1:-1:-1;;;;;25927:21:0;::::1;::::0;25923:157:::1;;25984:15;25991:7;25984:6;:15::i;:::-;-1:-1:-1::0;;;;;25965:16:0;::::1;;::::0;;;:7:::1;:16;::::0;;;;;;;:34;;;;26048:20:::1;::::0;26014:22:::1;:31:::0;;;;;;:54;25923:157:::1;27807:12:::2;;27788:15;:31;27784:304;;27849:20;:6:::0;27860:8:::2;27849:20;:10;:20;:::i;:::-;27836:10;:33:::0;27784:304:::2;;;27922:12;::::0;27902:17:::2;::::0;27922:33:::2;::::0;27939:15:::2;27922:33;:16;:33;:::i;:::-;27902:53;;27970:16;27989:25;28003:10;;27989:9;:13;;:25;;;;:::i;:::-;27970:44:::0;-1:-1:-1;28042:34:0::2;28067:8;28042:20;:6:::0;27970:44;28042:20:::2;:10;:20;:::i;:34::-;28029:10;:47:::0;-1:-1:-1;;27784:304:0::2;28115:15;28098:14;:32:::0;;;28156:29:::2;::::0;28176:8:::2;28156:29;:19;:29;:::i;:::-;28141:12;:44:::0;28201:19:::2;::::0;;;;;;;::::2;::::0;;;;::::2;::::0;;::::2;23554:1:::1;27663:565:::0;:::o;27363:292::-;27404:10;25842:16;:14;:16::i;:::-;25819:20;:39;25886:26;:24;:26::i;:::-;25869:14;:43;-1:-1:-1;;;;;25927:21:0;;;25923:157;;25984:15;25991:7;25984:6;:15::i;:::-;-1:-1:-1;;;;;25965:16:0;;;;;;:7;:16;;;;;;;;:34;;;;26048:20;;26014:22;:31;;;;;;:54;25923:157;27427:14:::1;27444:18;27451:10;27444:6;:18::i;:::-;27427:35:::0;-1:-1:-1;27477:10:0;;27473:175:::1;;27512:10;27526:1;27504:19:::0;;;:7:::1;:19;::::0;;;;:23;27542:44:::1;::::0;:11:::1;-1:-1:-1::0;;;;;27542:24:0::1;::::0;27579:6;27542:44:::1;:24;:44;:::i;:::-;27606:30;::::0;;;;;;;27617:10:::1;::::0;27606:30:::1;::::0;;;;;::::1;::::0;;::::1;27473:175;26090:1;27363:292:::0;:::o;24208:110::-;-1:-1:-1;;;;;24292:18:0;24265:7;24292:18;;;:9;:18;;;;;;;24208:110::o;9020:148::-;8600:12;:10;:12::i;:::-;8590:6;;-1:-1:-1;;;;;8590:6:0;;;:22;;;8582:67;;;;;-1:-1:-1;;;8582:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9111:6:::1;::::0;9090:40:::1;::::0;9127:1:::1;::::0;-1:-1:-1;;;;;9111:6:0::1;::::0;9090:40:::1;::::0;9127:1;;9090:40:::1;9141:6;:19:::0;;-1:-1:-1;;9141:19:0::1;::::0;;9020:148::o;25111:29::-;;;;:::o;26107:131::-;26164:7;26191:39;26200:15;26217:12;;26191:8;:39::i;:::-;26184:46;;26107:131;:::o;25225:57::-;;;;;;;;;;;;;:::o;8378:79::-;8443:6;;-1:-1:-1;;;;;8443:6:0;8378:79;:::o;26830:200::-;26890:10;25842:16;:14;:16::i;:::-;25819:20;:39;25886:26;:24;:26::i;:::-;25869:14;:43;-1:-1:-1;;;;;25927:21:0;;;25923:157;;25984:15;25991:7;25984:6;:15::i;:::-;-1:-1:-1;;;;;25965:16:0;;;;;;:7;:16;;;;;;;;:34;;;;26048:20;;26014:22;:31;;;;;;:54;25923:157;26930:1:::1;26921:6;:10;26913:37;;;::::0;;-1:-1:-1;;;26913:37:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;26961:19;26973:6;26961:11;:19::i;:::-;26996:26;::::0;;;;;;;27003:10:::1;::::0;26996:26:::1;::::0;;;;;::::1;::::0;;::::1;26830:200:::0;;:::o;25147:29::-;;;;:::o;26246:287::-;26293:7;26317:13;:11;:13::i;:::-;26313:78;;-1:-1:-1;26359:20:0;;26352:27;;26313:78;26408:117;26433:91;26510:13;:11;:13::i;:::-;26433:72;26500:4;26433:62;26484:10;;26433:46;26464:14;;26433:26;:24;:26::i;:91::-;26408:20;;;:117;:24;:117;:::i;25183:35::-;;;;:::o;27258:97::-;27294:11;:9;:11::i;:::-;27316:31;27325:21;27335:10;27325:9;:21::i;:::-;27316:8;:31::i;:::-;27258:97::o;25073:31::-;;;;:::o;23915:27::-;;;:::o;9323:244::-;8600:12;:10;:12::i;:::-;8590:6;;-1:-1:-1;;;;;8590:6:0;;;:22;;;8582:67;;;;;-1:-1:-1;;;8582:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;9412:22:0;::::1;9404:73;;;;-1:-1:-1::0;;;9404:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9514:6;::::0;9493:38:::1;::::0;-1:-1:-1;;;;;9493:38:0;;::::1;::::0;9514:6:::1;::::0;9493:38:::1;::::0;9514:6:::1;::::0;9493:38:::1;9542:6;:17:::0;;-1:-1:-1;;9542:17:0::1;-1:-1:-1::0;;;;;9542:17:0;;;::::1;::::0;;;::::1;::::0;;9323:244::o;25029:35::-;;;:::o;2287:136::-;2345:7;2372:43;2376:1;2379;2372:43;;;;;;;;;;;;;;;;;:3;:43::i;:::-;2365:50;2287:136;-1:-1:-1;;;2287:136:0:o;3177:471::-;3235:7;3480:6;3476:47;;-1:-1:-1;3510:1:0;3503:8;;3476:47;3547:5;;;3551:1;3547;:5;:1;3571:5;;;;;:10;3563:56;;;;-1:-1:-1;;;3563:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4124:132;4182:7;4209:39;4213:1;4216;4209:39;;;;;;;;;;;;;;;;;:3;:39::i;1823:181::-;1881:7;1913:5;;;1937:6;;;;1929:46;;;;;-1:-1:-1;;;1929:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;6915:106;7003:10;6915:106;:::o;24572:222::-;24647:12;;:24;;24664:6;24647:24;:16;:24;:::i;:::-;24632:12;:39;;;24716:10;24706:21;;:9;:21;;;;;;:33;;24732:6;24706:33;:25;:33;:::i;:::-;24692:10;24682:21;;;;:9;:21;;;;;:57;;;;24750:36;;:3;-1:-1:-1;;;;;24750:16:0;;24779:6;24750:36;:16;:36;:::i;:::-;24572:222;:::o;20074:177::-;20184:58;;;-1:-1:-1;;;;;20184:58:0;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;20184:58:0;;;;;;;;25:18:-1;;61:17;;20184:58:0;182:15:-1;20207:23:0;179:29:-1;160:49;;20157:86:0;;20177:5;;20157:19;:86::i;:::-;20074:177;;;:::o;467:106::-;525:7;556:1;552;:5;:13;;564:1;552:13;;;-1:-1:-1;560:1:0;;467:106;-1:-1:-1;467:106:0:o;24326:238::-;24398:12;;:24;;24415:6;24398:24;:16;:24;:::i;:::-;24383:12;:39;;;24467:10;24457:21;;:9;:21;;;;;;:33;;24483:6;24457:33;:25;:33;:::i;:::-;24443:10;24433:21;;;;:9;:21;;;;;:57;;;;24501:55;;:3;-1:-1:-1;;;;;24501:20:0;;24542:4;24549:6;24501:55;:20;:55;:::i;2726:192::-;2812:7;2848:12;2840:6;;;;2832:29;;;;-1:-1:-1;;;2832:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;2832:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;2884:5:0;;;2726:192::o;4752:278::-;4838:7;4873:12;4866:5;4858:28;;;;-1:-1:-1;;;4858:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27:10:-1;;8:100;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;4858:28:0;;4897:9;4913:1;4909;:5;;;;;;;4752:278;-1:-1:-1;;;;;4752:278:0:o;22379:761::-;22803:23;22829:69;22857:4;22829:69;;;;;;;;;;;;;;;;;22837:5;-1:-1:-1;;;;;22829:27:0;;;:69;;;;;:::i;:::-;22913:17;;22803:95;;-1:-1:-1;22913:21:0;22909:224;;23055:10;23044:30;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;23044:30:0;23036:85;;;;-1:-1:-1;;;23036:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20259:205;20387:68;;;-1:-1:-1;;;;;20387:68:0;;;;;;;;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;20387:68:0;;;;;;;;25:18:-1;;61:17;;20387:68:0;182:15:-1;20410:27:0;179:29:-1;160:49;;20360:96:0;;20380:5;;20360:19;:96::i;:::-;20259:205;;;;:::o;16073:195::-;16176:12;16208:52;16230:6;16238:4;16244:1;16247:12;16208:21;:52::i;:::-;16201:59;16073:195;-1:-1:-1;;;;16073:195:0:o;17125:530::-;17252:12;17310:5;17285:21;:30;;17277:81;;;;-1:-1:-1;;;17277:81:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17377:18;17388:6;17377:10;:18::i;:::-;17369:60;;;;;-1:-1:-1;;;17369:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;17503:12;17517:23;17544:6;-1:-1:-1;;;;;17544:11:0;17564:5;17572:4;17544:33;;;;;;;;;;;;;36:153:-1;66:2;61:3;58:11;36:153;;176:10;;164:23;;139:12;;;;;98:2;89:12;;;;114;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;17544:33:0;;;;;;;;;;;;;;;;;;;;;;;;;12:1:-1;19;14:27;;;;67:4;61:11;56:16;;134:4;130:9;123:4;105:16;101:27;97:43;94:1;90:51;84:4;77:65;157:16;154:1;147:27;211:16;208:1;201:4;198:1;194:12;179:49;5:228;;14:27;32:4;27:9;;5:228;;17502:75:0;;;;17595:52;17613:7;17622:10;17634:12;17595:17;:52::i;:::-;17588:59;17125:530;-1:-1:-1;;;;;;;17125:530:0:o;13155:422::-;13522:20;13561:8;;;13155:422::o;18661:742::-;18776:12;18805:7;18801:595;;;-1:-1:-1;18836:10:0;18829:17;;18801:595;18950:17;;:21;18946:439;;19213:10;19207:17;19274:15;19261:10;19257:2;19253:19;19246:44;19161:148;19349:20;;-1:-1:-1;;;19349:20:0;;;;;;;;;;;;;;;;;19356:12;;19349:20;;;;;;;;;;;;;;;27:10:-1;;8:100;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;

Swarm Source

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