ETH Price: $1,797.36 (-0.01%)
Gas: 20 Gwei
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multi Chain

Multichain Addresses

1 address found via Blockscan
Transaction Hash
Method
Block
From
To
Value
Get Reward163240362023-01-03 5:01:4787 days 58 mins ago1672722107IN
0xe8F7fA...130E3297
0 ETH0.001193515
Withdraw163240292023-01-03 5:00:2387 days 59 mins ago1672722023IN
0xe8F7fA...130E3297
0 ETH0.0015397614.93220288
Withdraw157215162022-10-11 1:14:47171 days 4 hrs ago1665450887IN
0xe8F7fA...130E3297
0 ETH0.0026215132.59905852
Get Reward157215112022-10-11 1:13:47171 days 4 hrs ago1665450827IN
0xe8F7fA...130E3297
0 ETH0.0021687331.05824037
Get Reward149821292022-06-18 0:32:35286 days 5 hrs ago1655512355IN
0xe8F7fA...130E3297
0 ETH0.0029611742.40671512
Exit147857252022-05-16 10:33:09318 days 19 hrs ago1652697189IN
0xe8F7fA...130E3297
0 ETH0.0014752916.56499772
Withdraw146659362022-04-27 10:26:46337 days 19 hrs ago1651055206IN
0xe8F7fA...130E3297
0 ETH0.0024935931.00370121
Get Reward146659222022-04-27 10:24:06337 days 19 hrs ago1651055046IN
0xe8F7fA...130E3297
0 ETH0.0024520235.11517268
Exit145260312022-04-05 12:58:08359 days 17 hrs ago1649163488IN
0xe8F7fA...130E3297
0 ETH0.0047852753.73032638
Withdraw144898512022-03-30 21:05:54365 days 8 hrs ago1648674354IN
0xe8F7fA...130E3297
0 ETH0.0052840865.70858115
Get Reward144898392022-03-30 21:03:34365 days 8 hrs ago1648674214IN
0xe8F7fA...130E3297
0 ETH0.004383262.77151537
Exit143596022022-03-10 14:20:25385 days 15 hrs ago1646922025IN
0xe8F7fA...130E3297
0 ETH0.002410218.88596799
Exit143571442022-03-10 5:18:29386 days 41 mins ago1646889509IN
0xe8F7fA...130E3297
0 ETH0.0037543433.97010745
Get Reward143522642022-03-09 11:24:19386 days 18 hrs ago1646825059IN
0xe8F7fA...130E3297
0 ETH0.0020359924.09892058
Get Reward143203002022-03-04 11:57:11391 days 18 hrs ago1646395031IN
0xe8F7fA...130E3297
0 ETH0.0017077420.21359627
Exit142862102022-02-27 4:59:35397 days 1 hr ago1645937975IN
0xe8F7fA...130E3297
0 ETH0.0032561829.46269681
Exit142600222022-02-23 3:46:55401 days 2 hrs ago1645588015IN
0xe8F7fA...130E3297
0 ETH0.005472849.519163
Get Reward141836772022-02-11 8:28:07412 days 21 hrs ago1644568087IN
0xe8F7fA...130E3297
0 ETH0.0033568748.07346657
Exit141168732022-02-01 0:23:08423 days 5 hrs ago1643674988IN
0xe8F7fA...130E3297
0 ETH0.0170755135.93087505
Get Reward140594852022-01-23 3:38:54432 days 2 hrs ago1642909134IN
0xe8F7fA...130E3297
0 ETH0.00879536134.75977361
Exit140546052022-01-22 9:31:12432 days 20 hrs ago1642843872IN
0xe8F7fA...130E3297
0 ETH0.01283295100.55676473
Exit139326302022-01-03 13:04:10451 days 16 hrs ago1641215050IN
0xe8F7fA...130E3297
0 ETH0.0063232470.99905624
Get Reward139326262022-01-03 13:03:28451 days 16 hrs ago1641215008IN
0xe8F7fA...130E3297
0 ETH0.0060115471.15522463
Exit139074742021-12-30 15:30:26455 days 14 hrs ago1640878226IN
0xe8F7fA...130E3297
0 ETH0.0081018390.96955933
Get Reward139074422021-12-30 15:22:49455 days 14 hrs ago1640877769IN
0xe8F7fA...130E3297
0 ETH0.00713214102.13878708
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
LP_GMEE_ETH_Unipool

Compiler Version
v0.6.8+commit.0bbfe453

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2021-05-13
*/

// 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_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 LP_GMEE_ETH_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"}]

60e06040526000600455600060055534801561001a57600080fd5b5060405161231d38038061231d8339818101604052606081101561003d57600080fd5b81019080805190602001909291908051906020019092919080519060200190929190505050828073ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff1660601b815250505060006100ab61019160201b60201c565b905080600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3508173ffffffffffffffffffffffffffffffffffffffff1660c08173ffffffffffffffffffffffffffffffffffffffff1660601b815250508060a08181525050505050610199565b600033905090565b60805160601c60a05160c05160601c6121346101e960003980610e3352806115a95250806108425280610bb95280610c295280610c7e525080611375528061182c52806119fc52506121346000f3fe608060405234801561001057600080fd5b50600436106101575760003560e01c806380faa57d116100c3578063df136d651161007c578063df136d65146104e6578063e9fad8ee14610504578063ebe2b12b1461050e578063edc9af951461052c578063f2fde38b14610576578063f7c618c1146105ba57610157565b806380faa57d146103bc5780638b876347146103da5780638da5cb5b14610432578063a694fc3a1461047c578063c8f33c91146104aa578063cd3daf9d146104c857610157565b80632e1a7d4d116101155780632e1a7d4d146102d65780633c6b16ab146103045780633d18b9121461033257806370a082311461033c578063715018a6146103945780637b0a47ee1461039e57610157565b80628cc2621461015c5780630700037d146101b45780630d68b7611461020c578063101114cf1461025057806318160ddd1461029a5780631be05289146102b8575b600080fd5b61019e6004803603602081101561017257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610604565b6040518082815260200191505060405180910390f35b6101f6600480360360208110156101ca57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506106eb565b6040518082815260200191505060405180910390f35b61024e6004803603602081101561022257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610703565b005b610258610811565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6102a2610837565b6040518082815260200191505060405180910390f35b6102c0610840565b6040518082815260200191505060405180910390f35b610302600480360360208110156102ec57600080fd5b8101908080359060200190929190505050610864565b005b6103306004803603602081101561031a57600080fd5b8101908080359060200190929190505050610a19565b005b61033a610ced565b005b61037e6004803603602081101561035257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610eca565b6040518082815260200191505060405180910390f35b61039c610f13565b005b6103a661109e565b6040518082815260200191505060405180910390f35b6103c46110a4565b6040518082815260200191505060405180910390f35b61041c600480360360208110156103f057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506110b7565b6040518082815260200191505060405180910390f35b61043a6110cf565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6104a86004803603602081101561049257600080fd5b81019080803590602001909291905050506110f9565b005b6104b26112ae565b6040518082815260200191505060405180910390f35b6104d06112b4565b6040518082815260200191505060405180910390f35b6104ee61134c565b6040518082815260200191505060405180910390f35b61050c611352565b005b61051661136d565b6040518082815260200191505060405180910390f35b610534611373565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6105b86004803603602081101561058c57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611397565b005b6105c26115a7565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b60006106e4600960008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546106d6670de0b6b3a76400006106c86106b1600860008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546106a36112b4565b6115cb90919063ffffffff16565b6106ba88610eca565b61161590919063ffffffff16565b61169b90919063ffffffff16565b6116e590919063ffffffff16565b9050919050565b60096020528060005260406000206000915090505481565b61070b61176d565b73ffffffffffffffffffffffffffffffffffffffff16600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146107cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b80600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008054905090565b7f000000000000000000000000000000000000000000000000000000000000000081565b3361086d6112b4565b60078190555061087b6110a4565b600681905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610948576108be81610604565b600960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600754600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b600082116109be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260118152602001807f43616e6e6f74207769746864726177203000000000000000000000000000000081525060200191505060405180910390fd5b6109c782611775565b3373ffffffffffffffffffffffffffffffffffffffff167f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5836040518082815260200191505060405180910390a25050565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16610a5a61176d565b73ffffffffffffffffffffffffffffffffffffffff1614610ac6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806120b46021913960400191505060405180910390fd5b6000610ad06112b4565b600781905550610ade6110a4565b600681905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610bab57610b2181610604565b600960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600754600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b6004544210610bf257610be77f00000000000000000000000000000000000000000000000000000000000000008361169b90919063ffffffff16565b600581905550610c72565b6000610c09426004546115cb90919063ffffffff16565b90506000610c226005548361161590919063ffffffff16565b9050610c697f0000000000000000000000000000000000000000000000000000000000000000610c5b83876116e590919063ffffffff16565b61169b90919063ffffffff16565b60058190555050505b42600681905550610cac7f0000000000000000000000000000000000000000000000000000000000000000426116e590919063ffffffff16565b6004819055507fde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d826040518082815260200191505060405180910390a15050565b33610cf66112b4565b600781905550610d046110a4565b600681905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610dd157610d4781610604565b600960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600754600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b6000610ddc33610604565b90506000811115610ec6576000600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550610e7733827f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166118739092919063ffffffff16565b3373ffffffffffffffffffffffffffffffffffffffff167fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e0486826040518082815260200191505060405180910390a25b5050565b6000600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610f1b61176d565b73ffffffffffffffffffffffffffffffffffffffff16600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610fdd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b60055481565b60006110b24260045461192b565b905090565b60086020528060005260406000206000915090505481565b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b336111026112b4565b6007819055506111106110a4565b600681905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146111dd5761115381610604565b600960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600754600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b60008211611253576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600e8152602001807f43616e6e6f74207374616b65203000000000000000000000000000000000000081525060200191505060405180910390fd5b61125c82611944565b3373ffffffffffffffffffffffffffffffffffffffff167f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d836040518082815260200191505060405180910390a25050565b60065481565b6000806112bf610837565b14156112cf576007549050611349565b6113466113356112dd610837565b611327670de0b6b3a764000061131960055461130b6006546112fd6110a4565b6115cb90919063ffffffff16565b61161590919063ffffffff16565b61161590919063ffffffff16565b61169b90919063ffffffff16565b6007546116e590919063ffffffff16565b90505b90565b60075481565b61135a610ced565b61136b61136633610eca565b610864565b565b60045481565b7f000000000000000000000000000000000000000000000000000000000000000081565b61139f61176d565b73ffffffffffffffffffffffffffffffffffffffff16600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611461576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156114e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806120476026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b7f000000000000000000000000000000000000000000000000000000000000000081565b600061160d83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611a44565b905092915050565b6000808314156116285760009050611695565b600082840290508284828161163957fe5b0414611690576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806120936021913960400191505060405180910390fd5b809150505b92915050565b60006116dd83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611b04565b905092915050565b600080828401905083811015611763576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b600033905090565b61178a816000546115cb90919063ffffffff16565b6000819055506117e281600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546115cb90919063ffffffff16565b600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061187033827f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166118739092919063ffffffff16565b50565b6119268363a9059cbb60e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050611bca565b505050565b600081831061193a578161193c565b825b905092915050565b611959816000546116e590919063ffffffff16565b6000819055506119b181600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546116e590919063ffffffff16565b600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611a413330837f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16611cb9909392919063ffffffff16565b50565b6000838311158290611af1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611ab6578082015181840152602081019050611a9b565b50505050905090810190601f168015611ae35780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385039050809150509392505050565b60008083118290611bb0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611b75578082015181840152602081019050611b5a565b50505050905090810190601f168015611ba25780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b506000838581611bbc57fe5b049050809150509392505050565b6060611c2c826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16611da69092919063ffffffff16565b9050600081511115611cb457808060200190516020811015611c4d57600080fd5b8101908080519060200190929190505050611cb3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a8152602001806120d5602a913960400191505060405180910390fd5b5b505050565b611da0846323b872dd60e01b858585604051602401808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050611bca565b50505050565b6060611db58484600085611dbe565b90509392505050565b606082471015611e19576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602681526020018061206d6026913960400191505060405180910390fd5b611e2285611f67565b611e94576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000081525060200191505060405180910390fd5b600060608673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b60208310611ee45780518252602082019150602081019050602083039250611ec1565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114611f46576040519150601f19603f3d011682016040523d82523d6000602084013e611f4b565b606091505b5091509150611f5b828286611f7a565b92505050949350505050565b600080823b905060008111915050919050565b60608315611f8a5782905061203f565b600083511115611f9d5782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015612004578082015181840152602081019050611fe9565b50505050905090810190601f1680156120315780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b939250505056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7743616c6c6572206973206e6f742072657761726420646973747269627574696f6e5361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a2646970667358221220de318f87c7961cdeaa58b909c53004ce3283ffeefd210d5cfff2c59cfa4b1a9464736f6c634300060800330000000000000000000000004c083084c9d50334b343c44ec97d16011303cc73000000000000000000000000d9016a907dc0ecfa3ca425ab20b6b785b42f23730000000000000000000000000000000000000000000000000000000000375f00

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

0000000000000000000000004c083084c9d50334b343c44ec97d16011303cc73000000000000000000000000d9016a907dc0ecfa3ca425ab20b6b785b42f23730000000000000000000000000000000000000000000000000000000000375f00

-----Decoded View---------------
Arg [0] : uni_ (address): 0x4c083084C9D50334b343C44Ec97d16011303Cc73
Arg [1] : rewardToken_ (address): 0xD9016A907Dc0ECfA3ca425ab20B6b785B42F2373
Arg [2] : duration (uint256): 3628800

-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 0000000000000000000000004c083084c9d50334b343c44ec97d16011303cc73
Arg [1] : 000000000000000000000000d9016a907dc0ecfa3ca425ab20b6b785b42f2373
Arg [2] : 0000000000000000000000000000000000000000000000000000000000375f00


Deployed ByteCode Sourcemap

24847:3379:0:-:0;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;24847:3379:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12:1:-1;9;2:12;26536:198:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;26536:198:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;25284:42;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;25284:42:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;23571:138;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;23571:138:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;23307:33;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;24101:91;;;:::i;:::-;;;;;;;;;;;;;;;;;;;24984:33;;;:::i;:::-;;;;;;;;;;;;;;;;;;;27033:212;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;27033:212:0;;;;;;;;;;;;;;;;;:::i;:::-;;27658:565;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;27658:565:0;;;;;;;;;;;;;;;;;:::i;:::-;;27358:292;;;:::i;:::-;;24200:110;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;24200:110:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;9020:148;;;:::i;:::-;;25106:29;;;:::i;:::-;;;;;;;;;;;;;;;;;;;26102:131;;;:::i;:::-;;;;;;;;;;;;;;;;;;;25220:57;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;25220:57:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;8378:79;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;26825:200;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;26825:200:0;;;;;;;;;;;;;;;;;:::i;:::-;;25142:29;;;:::i;:::-;;;;;;;;;;;;;;;;;;;26241:287;;;:::i;:::-;;;;;;;;;;;;;;;;;;;25178:35;;;:::i;:::-;;;;;;;;;;;;;;;;;;;27253:97;;;:::i;:::-;;25068:31;;;:::i;:::-;;;;;;;;;;;;;;;;;;;23907:27;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;9323:244;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;9323:244:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;25024:35;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;26536:198;26590:7;26617:109;26709:7;:16;26717:7;26709:16;;;;;;;;;;;;;;;;26617:87;26699:4;26617:77;26640:53;26661:22;:31;26684:7;26661:31;;;;;;;;;;;;;;;;26640:16;:14;:16::i;:::-;:20;;:53;;;;:::i;:::-;26617:18;26627:7;26617:9;:18::i;:::-;:22;;:77;;;;:::i;:::-;:81;;:87;;;;:::i;:::-;:91;;:109;;;;:::i;:::-;26610:116;;26536:198;;;:::o;25284:42::-;;;;;;;;;;;;;;;;;:::o;23571:138::-;8600:12;:10;:12::i;:::-;8590:22;;:6;;;;;;;;;;;:22;;;8582:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23682:19:::1;23661:18;;:40;;;;;;;;;;;;;;;;;;23571:138:::0;:::o;23307:33::-;;;;;;;;;;;;;:::o;24101:91::-;24145:7;24172:12;;24165:19;;24101:91;:::o;24984:33::-;;;:::o;27033:212::-;27096:10;25837:16;:14;:16::i;:::-;25814:20;:39;;;;25881:26;:24;:26::i;:::-;25864:14;:43;;;;25941:1;25922:21;;:7;:21;;;25918:157;;25979:15;25986:7;25979:6;:15::i;:::-;25960:7;:16;25968:7;25960:16;;;;;;;;;;;;;;;:34;;;;26043:20;;26009:22;:31;26032:7;26009:31;;;;;;;;;;;;;;;:54;;;;25918:157;27136:1:::1;27127:6;:10;27119:40;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;27170:22;27185:6;27170:14;:22::i;:::-;27218:10;27208:29;;;27230:6;27208:29;;;;;;;;;;;;;;;;;;27033:212:::0;;:::o;27658:565::-;23487:18;;;;;;;;;;;23471:34;;:12;:10;:12::i;:::-;:34;;;23463:80;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27764:1:::1;25837:16;:14;:16::i;:::-;25814:20;:39;;;;25881:26;:24;:26::i;:::-;25864:14;:43;;;;25941:1;25922:21;;:7;:21;;;25918:157;;25979:15;25986:7;25979:6;:15::i;:::-;25960:7;:16;25968:7;25960:16;;;;;;;;;;;;;;;:34;;;;26043:20;;26009:22;:31;26032:7;26009:31;;;;;;;;;;;;;;;:54;;;;25918:157;27802:12:::2;;27783:15;:31;27779:304;;27844:20;27855:8;27844:6;:10;;:20;;;;:::i;:::-;27831:10;:33;;;;27779:304;;;27897:17;27917:33;27934:15;27917:12;;:16;;:33;;;;:::i;:::-;27897:53;;27965:16;27984:25;27998:10;;27984:9;:13;;:25;;;;:::i;:::-;27965:44;;28037:34;28062:8;28037:20;28048:8;28037:6;:10;;:20;;;;:::i;:::-;:24;;:34;;;;:::i;:::-;28024:10;:47;;;;27779:304;;;28110:15;28093:14;:32;;;;28151:29;28171:8;28151:15;:19;;:29;;;;:::i;:::-;28136:12;:44;;;;28196:19;28208:6;28196:19;;;;;;;;;;;;;;;;;;23554:1:::1;27658:565:::0;:::o;27358:292::-;27399:10;25837:16;:14;:16::i;:::-;25814:20;:39;;;;25881:26;:24;:26::i;:::-;25864:14;:43;;;;25941:1;25922:21;;:7;:21;;;25918:157;;25979:15;25986:7;25979:6;:15::i;:::-;25960:7;:16;25968:7;25960:16;;;;;;;;;;;;;;;:34;;;;26043:20;;26009:22;:31;26032:7;26009:31;;;;;;;;;;;;;;;:54;;;;25918:157;27422:14:::1;27439:18;27446:10;27439:6;:18::i;:::-;27422:35;;27481:1;27472:6;:10;27468:175;;;27521:1;27499:7;:19;27507:10;27499:19;;;;;;;;;;;;;;;:23;;;;27537:44;27562:10;27574:6;27537:11;:24;;;;:44;;;;;:::i;:::-;27612:10;27601:30;;;27624:6;27601:30;;;;;;;;;;;;;;;;;;27468:175;26085:1;27358:292:::0;:::o;24200:110::-;24257:7;24284:9;:18;24294:7;24284:18;;;;;;;;;;;;;;;;24277:25;;24200:110;;;:::o;9020:148::-;8600:12;:10;:12::i;:::-;8590:22;;:6;;;;;;;;;;;:22;;;8582:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9127:1:::1;9090:40;;9111:6;;;;;;;;;;;9090:40;;;;;;;;;;;;9158:1;9141:6;;:19;;;;;;;;;;;;;;;;;;9020:148::o:0;25106:29::-;;;;:::o;26102:131::-;26159:7;26186:39;26195:15;26212:12;;26186:8;:39::i;:::-;26179:46;;26102:131;:::o;25220:57::-;;;;;;;;;;;;;;;;;:::o;8378:79::-;8416:7;8443:6;;;;;;;;;;;8436:13;;8378:79;:::o;26825:200::-;26885:10;25837:16;:14;:16::i;:::-;25814:20;:39;;;;25881:26;:24;:26::i;:::-;25864:14;:43;;;;25941:1;25922:21;;:7;:21;;;25918:157;;25979:15;25986:7;25979:6;:15::i;:::-;25960:7;:16;25968:7;25960:16;;;;;;;;;;;;;;;:34;;;;26043:20;;26009:22;:31;26032:7;26009:31;;;;;;;;;;;;;;;:54;;;;25918:157;26925:1:::1;26916:6;:10;26908:37;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;26956:19;26968:6;26956:11;:19::i;:::-;26998:10;26991:26;;;27010:6;26991:26;;;;;;;;;;;;;;;;;;26825:200:::0;;:::o;25142:29::-;;;;:::o;26241:287::-;26288:7;26329:1;26312:13;:11;:13::i;:::-;:18;26308:78;;;26354:20;;26347:27;;;;26308:78;26403:117;26428:91;26505:13;:11;:13::i;:::-;26428:72;26495:4;26428:62;26479:10;;26428:46;26459:14;;26428:26;:24;:26::i;:::-;:30;;:46;;;;:::i;:::-;:50;;:62;;;;:::i;:::-;:66;;:72;;;;:::i;:::-;:76;;:91;;;;:::i;:::-;26403:20;;:24;;:117;;;;:::i;:::-;26396:124;;26241:287;;:::o;25178:35::-;;;;:::o;27253:97::-;27289:11;:9;:11::i;:::-;27311:31;27320:21;27330:10;27320:9;:21::i;:::-;27311:8;:31::i;:::-;27253:97::o;25068:31::-;;;;:::o;23907:27::-;;;:::o;9323:244::-;8600:12;:10;:12::i;:::-;8590:22;;:6;;;;;;;;;;;:22;;;8582:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9432:1:::1;9412:22;;:8;:22;;;;9404:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9522:8;9493:38;;9514:6;;;;;;;;;;;9493:38;;;;;;;;;;;;9551:8;9542:6;;:17;;;;;;;;;;;;;;;;;;9323:244:::0;:::o;25024:35::-;;;:::o;2287:136::-;2345:7;2372:43;2376:1;2379;2372:43;;;;;;;;;;;;;;;;;:3;:43::i;:::-;2365:50;;2287:136;;;;:::o;3177:471::-;3235:7;3485:1;3480;:6;3476:47;;;3510:1;3503:8;;;;3476:47;3535:9;3551:1;3547;:5;3535:17;;3580:1;3575;3571;:5;;;;;;:10;3563:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3639:1;3632:8;;;3177:471;;;;;:::o;4124:132::-;4182:7;4209:39;4213:1;4216;4209:39;;;;;;;;;;;;;;;;;:3;:39::i;:::-;4202:46;;4124:132;;;;:::o;1823:181::-;1881:7;1901:9;1917:1;1913;:5;1901:17;;1942:1;1937;:6;;1929:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1995:1;1988:8;;;1823:181;;;;:::o;6915:106::-;6968:15;7003:10;6996:17;;6915:106;:::o;24564:222::-;24639:24;24656:6;24639:12;;:16;;:24;;;;:::i;:::-;24624:12;:39;;;;24698:33;24724:6;24698:9;:21;24708:10;24698:21;;;;;;;;;;;;;;;;:25;;:33;;;;:::i;:::-;24674:9;:21;24684:10;24674:21;;;;;;;;;;;;;;;:57;;;;24742:36;24759:10;24771:6;24742:3;:16;;;;:36;;;;;:::i;:::-;24564:222;:::o;20074:177::-;20157:86;20177:5;20207:23;;;20232:2;20236:5;20184:58;;;;;;;;;;;;;;;;;;;;;;;;;49:4:-1;39:7;30;26:21;22:32;13:7;6:49;20184:58:0;;;;;;;38:4:-1;29:7;25:18;67:10;61:17;96:58;199:8;192:4;186;182:15;179:29;167:10;160:49;0:215;;;20184:58:0;20157:19;:86::i;:::-;20074:177;;;:::o;467:106::-;525:7;556:1;552;:5;:13;;564:1;552:13;;;560:1;552:13;545:20;;467:106;;;;:::o;24318:238::-;24390:24;24407:6;24390:12;;:16;;:24;;;;:::i;:::-;24375:12;:39;;;;24449:33;24475:6;24449:9;:21;24459:10;24449:21;;;;;;;;;;;;;;;;:25;;:33;;;;:::i;:::-;24425:9;:21;24435:10;24425:21;;;;;;;;;;;;;;;:57;;;;24493:55;24514:10;24534:4;24541:6;24493:3;:20;;;;:55;;;;;;:::i;:::-;24318:238;:::o;2726:192::-;2812:7;2845:1;2840;:6;;2848:12;2832:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;2832:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2872:9;2888:1;2884;:5;2872:17;;2909:1;2902:8;;;2726:192;;;;;:::o;4752:278::-;4838:7;4870:1;4866;:5;4873:12;4858:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;4858:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4897:9;4913:1;4909;:5;;;;;;4897:17;;5021:1;5014:8;;;4752:278;;;;;:::o;22379:761::-;22803:23;22829:69;22857:4;22829:69;;;;;;;;;;;;;;;;;22837:5;22829:27;;;;:69;;;;;:::i;:::-;22803:95;;22933:1;22913:10;:17;:21;22909:224;;;23055:10;23044:30;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;23044:30:0;;;;;;;;;;;;;;;;23036:85;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22909:224;22379:761;;;:::o;20259:205::-;20360:96;20380:5;20410:27;;;20439:4;20445:2;20449:5;20387:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49:4:-1;39:7;30;26:21;22:32;13:7;6:49;20387:68:0;;;;;;;38:4:-1;29:7;25:18;67:10;61:17;96:58;199:8;192:4;186;182:15;179:29;167:10;160:49;0:215;;;20387:68:0;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;;;;;:::o;17125:530::-;17252:12;17310:5;17285:21;:30;;17277:81;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17377:18;17388:6;17377:10;:18::i;:::-;17369:60;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17503:12;17517:23;17544:6;:11;;17564:5;17572:4;17544:33;;;;;;;;;;;;;36:153:-1;66:2;61:3;58:11;36:153;;182:3;176:10;171:3;164:23;98:2;93:3;89:12;82:19;;123:2;118:3;114:12;107:19;;148:2;143:3;139:12;132:19;;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;;;;;;:::o;13155:422::-;13215:4;13423:12;13534:7;13522:20;13514:28;;13568:1;13561:4;:8;13554:15;;;13155:422;;;:::o;18661:742::-;18776:12;18805:7;18801:595;;;18836:10;18829:17;;;;18801:595;18970:1;18950:10;:17;:21;18946:439;;;19213:10;19207:17;19274:15;19261:10;19257:2;19253:19;19246:44;19161:148;19356:12;19349:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;19349:20:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18661:742;;;;;;:::o

Swarm Source

ipfs://de318f87c7961cdeaa58b909c53004ce3283ffeefd210d5cfff2c59cfa4b1a94

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.

Validator Index Block Amount
View All Withdrawals
[ Download: CSV Export  ]

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