ETH Price: $3,381.74 (+1.02%)

Contract

0x53f2b8cc450679d04c479a048dc3ff39a4D20D13
 

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Withdraw All213921542024-12-13 7:39:4710 days ago1734075587IN
0x53f2b8cc...9a4D20D13
0 ETH0.0004987210.55180892
Withdraw All208797362024-10-02 18:54:2382 days ago1727895263IN
0x53f2b8cc...9a4D20D13
0 ETH0.0016005433.86403194
Withdraw All207747372024-09-18 3:15:5997 days ago1726629359IN
0x53f2b8cc...9a4D20D13
0 ETH0.0004796510.14842984
Withdraw205462742024-08-17 5:31:59128 days ago1723872719IN
0x53f2b8cc...9a4D20D13
0 ETH0.000048971.03074408
Withdraw All205195232024-08-13 11:52:23132 days ago1723549943IN
0x53f2b8cc...9a4D20D13
0 ETH0.000100171.55645213
Withdraw All203024722024-07-14 4:52:11162 days ago1720932731IN
0x53f2b8cc...9a4D20D13
0 ETH0.000135082.8581471
Withdraw All201589102024-06-24 3:38:11183 days ago1719200291IN
0x53f2b8cc...9a4D20D13
0 ETH0.000129262.735015
Withdraw All194564662024-03-17 18:52:11281 days ago1710701531IN
0x53f2b8cc...9a4D20D13
0 ETH0.001800127.96762247
Withdraw All194484072024-03-16 15:41:11282 days ago1710603671IN
0x53f2b8cc...9a4D20D13
0 ETH0.0013372228.29271421
Withdraw All194202522024-03-12 16:40:47286 days ago1710261647IN
0x53f2b8cc...9a4D20D13
0 ETH0.0038499981.45716435
Withdraw All193682652024-03-05 10:07:59293 days ago1709633279IN
0x53f2b8cc...9a4D20D13
0 ETH0.0038273959.46483744
Withdraw All193293582024-02-28 23:38:47299 days ago1709163527IN
0x53f2b8cc...9a4D20D13
0 ETH0.003401952.85422697
Withdraw All192148302024-02-12 22:09:23315 days ago1707775763IN
0x53f2b8cc...9a4D20D13
0 ETH0.0026096955.21537117
Withdraw All191388552024-02-02 6:11:59325 days ago1706854319IN
0x53f2b8cc...9a4D20D13
0 ETH0.0007746416.38982316
Withdraw191388482024-02-02 6:10:35325 days ago1706854235IN
0x53f2b8cc...9a4D20D13
0 ETH0.0007893815.11066209
Withdraw All190481082024-01-20 12:34:47338 days ago1705754087IN
0x53f2b8cc...9a4D20D13
0 ETH0.0006128112.96581423
Withdraw All190424632024-01-19 17:40:35339 days ago1705686035IN
0x53f2b8cc...9a4D20D13
0 ETH0.0017799437.65963556
Withdraw All190180022024-01-16 7:37:23342 days ago1705390643IN
0x53f2b8cc...9a4D20D13
0 ETH0.0015951133.74913042
Withdraw All189147462024-01-01 19:45:59357 days ago1704138359IN
0x53f2b8cc...9a4D20D13
0 ETH0.0007449515.76152766
Withdraw All188505242023-12-23 19:13:59366 days ago1703358839IN
0x53f2b8cc...9a4D20D13
0 ETH0.0009864720.87149806
Withdraw All188458622023-12-23 3:32:11367 days ago1703302331IN
0x53f2b8cc...9a4D20D13
0 ETH0.0006835423.8850442
Withdraw All188457682023-12-23 3:13:11367 days ago1703301191IN
0x53f2b8cc...9a4D20D13
0 ETH0.0006361622.22947574
Withdraw All188439092023-12-22 20:58:23367 days ago1703278703IN
0x53f2b8cc...9a4D20D13
0 ETH0.0019383730.11587894
Withdraw All188381332023-12-22 1:31:47368 days ago1703208707IN
0x53f2b8cc...9a4D20D13
0 ETH0.0017423727.07066702
Withdraw187151192023-12-04 19:34:59385 days ago1701718499IN
0x53f2b8cc...9a4D20D13
0 ETH0.00176556
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:
DepositManager

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 8 : DepositManager.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.6.12;

import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol";
import "@openzeppelin/contracts/math/SafeMath.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/ReentrancyGuard.sol";

contract DepositManager is ReentrancyGuard, Ownable {
    using SafeERC20 for IERC20;
    using SafeMath for uint256;

    IERC20 public realINJ;

    uint256 public constant lockingPeriod = 7 days;

    mapping(address => uint256) public depositBalance;
    mapping(address => uint256) public depositUnlockTimestamp;

    bool public competitionEnded;

    event Withdrawal(address indexed staker, uint256 withdrawalAmount, uint256 withdrawalTimestamp);

    event Deposit(address indexed staker, uint256 depositAmount, uint256 depositUnlockTimestamp, uint256 depositTimestamp);

    modifier onlyValidWithdrawal(uint256 withdrawalAmount) {
        require(withdrawalAmount > 0, "Cannot withdraw amount of 0");
        require(
            depositUnlockTimestamp[msg.sender] <= block.timestamp || competitionEnded,
            "Cannot withdraw before unlocking period pass if competition still active"
        );
        _;
    }

    constructor(IERC20 realINJ_) public {
        realINJ = realINJ_;
    }

    function deposit(uint256 amount) external nonReentrant {
        require(amount > 0, "Cannot deposit amount of 0");
        require(!competitionEnded, "Cannot deposit on inactive competition");

        realINJ.safeTransferFrom(msg.sender, address(this), amount);

        depositBalance[msg.sender] = depositBalance[msg.sender].add(amount);
        depositUnlockTimestamp[msg.sender] = block.timestamp.add(lockingPeriod);

        emit Deposit(msg.sender, amount, depositUnlockTimestamp[msg.sender], block.timestamp);
    }

    function withdraw(uint256 withdrawalAmount) external nonReentrant onlyValidWithdrawal(withdrawalAmount) {
        depositBalance[msg.sender] = depositBalance[msg.sender].sub(withdrawalAmount, "Cannot withdraw more than deposits");

        realINJ.safeTransfer(msg.sender, withdrawalAmount);
        emit Withdrawal(msg.sender, withdrawalAmount, block.timestamp);
    }

    function withdrawAll() external nonReentrant onlyValidWithdrawal(depositBalance[msg.sender]) {
        uint256 withdrawalAmount = depositBalance[msg.sender];
        depositBalance[msg.sender] = 0;

        realINJ.safeTransfer(msg.sender, withdrawalAmount);
        emit Withdrawal(msg.sender, withdrawalAmount, block.timestamp);
    }

    function endCompetition() external onlyOwner {
        competitionEnded = true;
    }
}

File 2 of 8 : IERC20.sol
// SPDX-License-Identifier: MIT

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 3 of 8 : SafeERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

import "./IERC20.sol";
import "../../math/SafeMath.sol";
import "../../utils/Address.sol";

/**
 * @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 4 of 8 : SafeMath.sol
// SPDX-License-Identifier: MIT

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, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        uint256 c = a + b;
        if (c < a) return (false, 0);
        return (true, c);
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b > a) return (false, 0);
        return (true, a - b);
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, 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 (true, 0);
        uint256 c = a * b;
        if (c / a != b) return (false, 0);
        return (true, c);
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b == 0) return (false, 0);
        return (true, a / b);
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b == 0) return (false, 0);
        return (true, a % b);
    }

    /**
     * @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) {
        require(b <= a, "SafeMath: subtraction overflow");
        return a - b;
    }

    /**
     * @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) {
        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, reverting 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) {
        require(b > 0, "SafeMath: division by zero");
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting 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) {
        require(b > 0, "SafeMath: modulo by zero");
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * 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);
        return a - b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryDiv}.
     *
     * 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);
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * 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 5 of 8 : Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

import "../utils/Context.sol";
/**
 * @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 virtual 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 6 of 8 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor () internal {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and make it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;

        _;

        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }
}

File 7 of 8 : Address.sol
// SPDX-License-Identifier: MIT

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

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

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

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.delegatecall(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 8 of 8 : Context.sol
// SPDX-License-Identifier: MIT

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

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"contract IERC20","name":"realINJ_","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"staker","type":"address"},{"indexed":false,"internalType":"uint256","name":"depositAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"depositUnlockTimestamp","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"depositTimestamp","type":"uint256"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"staker","type":"address"},{"indexed":false,"internalType":"uint256","name":"withdrawalAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"withdrawalTimestamp","type":"uint256"}],"name":"Withdrawal","type":"event"},{"inputs":[],"name":"competitionEnded","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"depositBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"depositUnlockTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"endCompetition","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"lockingPeriod","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"realINJ","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"withdrawalAmount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405234801561001057600080fd5b50604051610fa2380380610fa28339818101604052602081101561003357600080fd5b5051600160009081556100446100b7565b600180546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600280546001600160a01b0319166001600160a01b03929092169190911790556100bb565b3390565b610ed8806100ca6000396000f3fe608060405234801561001057600080fd5b50600436106100b45760003560e01c8063956501bb11610071578063956501bb14610142578063a3c60bab14610168578063b6b55f2514610170578063f2fde38b1461018d578063f80eca22146101b3578063fd2ad480146101bb576100b4565b80631d28e003146100b95780632e1a7d4d146100d5578063550066d5146100f4578063715018a61461010e578063853828b6146101165780638da5cb5b1461011e575b600080fd5b6100c16101e1565b604080519115158252519081900360200190f35b6100f2600480360360208110156100eb57600080fd5b50356101ea565b005b6100fc610397565b60408051918252519081900360200190f35b6100f261039e565b6100f261045c565b6101266105e4565b604080516001600160a01b039092168252519081900360200190f35b6100fc6004803603602081101561015857600080fd5b50356001600160a01b03166105f3565b610126610605565b6100f26004803603602081101561018657600080fd5b5035610614565b6100f2600480360360208110156101a357600080fd5b50356001600160a01b03166107b1565b6100f26108c6565b6100fc600480360360208110156101d157600080fd5b50356001600160a01b0316610949565b60055460ff1681565b60026000541415610242576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b6002600055808061029a576040805162461bcd60e51b815260206004820152601b60248201527f43616e6e6f7420776974686472617720616d6f756e74206f6620300000000000604482015290519081900360640190fd5b33600090815260046020526040902054421015806102ba575060055460ff165b6102f55760405162461bcd60e51b8152600401808060200182810382526048815260200180610e316048913960600191505060405180910390fd5b61032982604051806060016040528060228152602001610e0f6022913933600090815260036020526040902054919061095b565b33600081815260036020526040902091909155600254610355916001600160a01b0390911690846109f7565b60408051838152426020820152815133927fdf273cb619d95419a9cd0ec88123a0538c85064229baa6363788f743fff90deb928290030190a250506001600055565b62093a8081565b6103a6610a4e565b6001600160a01b03166103b76105e4565b6001600160a01b031614610412576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600180546001600160a01b0319169055565b600260005414156104b4576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b60026000908155338152600360205260409020548061051a576040805162461bcd60e51b815260206004820152601b60248201527f43616e6e6f7420776974686472617720616d6f756e74206f6620300000000000604482015290519081900360640190fd5b336000908152600460205260409020544210158061053a575060055460ff165b6105755760405162461bcd60e51b8152600401808060200182810382526048815260200180610e316048913960600191505060405180910390fd5b336000818152600360205260408120805491905560025490916105a2916001600160a01b031690836109f7565b60408051828152426020820152815133927fdf273cb619d95419a9cd0ec88123a0538c85064229baa6363788f743fff90deb928290030190a250506001600055565b6001546001600160a01b031690565b60036020526000908152604090205481565b6002546001600160a01b031681565b6002600054141561066c576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b6002600055806106c3576040805162461bcd60e51b815260206004820152601a60248201527f43616e6e6f74206465706f73697420616d6f756e74206f662030000000000000604482015290519081900360640190fd5b60055460ff16156107055760405162461bcd60e51b8152600401808060200182810382526026815260200180610dc36026913960400191505060405180910390fd5b60025461071d906001600160a01b0316333084610a52565b336000908152600360205260409020546107379082610ab2565b336000908152600360205260409020556107544262093a80610ab2565b3360008181526004602090815260409182902084905581518581529081019390935242838201525190917f36af321ec8d3c75236829c5317affd40ddb308863a1236d2d277a4025cccee1e919081900360600190a2506001600055565b6107b9610a4e565b6001600160a01b03166107ca6105e4565b6001600160a01b031614610825576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b03811661086a5760405162461bcd60e51b8152600401808060200182810382526026815260200180610d9d6026913960400191505060405180910390fd5b6001546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600180546001600160a01b0319166001600160a01b0392909216919091179055565b6108ce610a4e565b6001600160a01b03166108df6105e4565b6001600160a01b03161461093a576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6005805460ff19166001179055565b60046020526000908152604090205481565b600081848411156109ea5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156109af578181015183820152602001610997565b50505050905090810190601f1680156109dc5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50508183035b9392505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610a49908490610b0c565b505050565b3390565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b179052610aac908590610b0c565b50505050565b6000828201838110156109f0576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6060610b61826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316610bbd9092919063ffffffff16565b805190915015610a4957808060200190516020811015610b8057600080fd5b5051610a495760405162461bcd60e51b815260040180806020018281038252602a815260200180610e79602a913960400191505060405180910390fd5b6060610bcc8484600085610bd4565b949350505050565b606082471015610c155760405162461bcd60e51b8152600401808060200182810382526026815260200180610de96026913960400191505060405180910390fd5b610c1e85610d30565b610c6f576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b60208310610cae5780518252601f199092019160209182019101610c8f565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114610d10576040519150601f19603f3d011682016040523d82523d6000602084013e610d15565b606091505b5091509150610d25828286610d36565b979650505050505050565b3b151590565b60608315610d455750816109f0565b825115610d555782518084602001fd5b60405162461bcd60e51b81526020600482018181528451602484015284518593919283926044019190850190808383600083156109af57818101518382015260200161099756fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737343616e6e6f74206465706f736974206f6e20696e61637469766520636f6d7065746974696f6e416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c43616e6e6f74207769746864726177206d6f7265207468616e206465706f7369747343616e6e6f74207769746864726177206265666f726520756e6c6f636b696e6720706572696f64207061737320696620636f6d7065746974696f6e207374696c6c206163746976655361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a2646970667358221220ac1c2f1a7c799dc0b3b9b6baf6cd124caf2f28cb93b1d71836e24dfa793b42b464736f6c634300060c0033000000000000000000000000e28b3b32b6c345a34ff64674606124dd5aceca30

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100b45760003560e01c8063956501bb11610071578063956501bb14610142578063a3c60bab14610168578063b6b55f2514610170578063f2fde38b1461018d578063f80eca22146101b3578063fd2ad480146101bb576100b4565b80631d28e003146100b95780632e1a7d4d146100d5578063550066d5146100f4578063715018a61461010e578063853828b6146101165780638da5cb5b1461011e575b600080fd5b6100c16101e1565b604080519115158252519081900360200190f35b6100f2600480360360208110156100eb57600080fd5b50356101ea565b005b6100fc610397565b60408051918252519081900360200190f35b6100f261039e565b6100f261045c565b6101266105e4565b604080516001600160a01b039092168252519081900360200190f35b6100fc6004803603602081101561015857600080fd5b50356001600160a01b03166105f3565b610126610605565b6100f26004803603602081101561018657600080fd5b5035610614565b6100f2600480360360208110156101a357600080fd5b50356001600160a01b03166107b1565b6100f26108c6565b6100fc600480360360208110156101d157600080fd5b50356001600160a01b0316610949565b60055460ff1681565b60026000541415610242576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b6002600055808061029a576040805162461bcd60e51b815260206004820152601b60248201527f43616e6e6f7420776974686472617720616d6f756e74206f6620300000000000604482015290519081900360640190fd5b33600090815260046020526040902054421015806102ba575060055460ff165b6102f55760405162461bcd60e51b8152600401808060200182810382526048815260200180610e316048913960600191505060405180910390fd5b61032982604051806060016040528060228152602001610e0f6022913933600090815260036020526040902054919061095b565b33600081815260036020526040902091909155600254610355916001600160a01b0390911690846109f7565b60408051838152426020820152815133927fdf273cb619d95419a9cd0ec88123a0538c85064229baa6363788f743fff90deb928290030190a250506001600055565b62093a8081565b6103a6610a4e565b6001600160a01b03166103b76105e4565b6001600160a01b031614610412576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600180546001600160a01b0319169055565b600260005414156104b4576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b60026000908155338152600360205260409020548061051a576040805162461bcd60e51b815260206004820152601b60248201527f43616e6e6f7420776974686472617720616d6f756e74206f6620300000000000604482015290519081900360640190fd5b336000908152600460205260409020544210158061053a575060055460ff165b6105755760405162461bcd60e51b8152600401808060200182810382526048815260200180610e316048913960600191505060405180910390fd5b336000818152600360205260408120805491905560025490916105a2916001600160a01b031690836109f7565b60408051828152426020820152815133927fdf273cb619d95419a9cd0ec88123a0538c85064229baa6363788f743fff90deb928290030190a250506001600055565b6001546001600160a01b031690565b60036020526000908152604090205481565b6002546001600160a01b031681565b6002600054141561066c576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b6002600055806106c3576040805162461bcd60e51b815260206004820152601a60248201527f43616e6e6f74206465706f73697420616d6f756e74206f662030000000000000604482015290519081900360640190fd5b60055460ff16156107055760405162461bcd60e51b8152600401808060200182810382526026815260200180610dc36026913960400191505060405180910390fd5b60025461071d906001600160a01b0316333084610a52565b336000908152600360205260409020546107379082610ab2565b336000908152600360205260409020556107544262093a80610ab2565b3360008181526004602090815260409182902084905581518581529081019390935242838201525190917f36af321ec8d3c75236829c5317affd40ddb308863a1236d2d277a4025cccee1e919081900360600190a2506001600055565b6107b9610a4e565b6001600160a01b03166107ca6105e4565b6001600160a01b031614610825576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b03811661086a5760405162461bcd60e51b8152600401808060200182810382526026815260200180610d9d6026913960400191505060405180910390fd5b6001546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600180546001600160a01b0319166001600160a01b0392909216919091179055565b6108ce610a4e565b6001600160a01b03166108df6105e4565b6001600160a01b03161461093a576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6005805460ff19166001179055565b60046020526000908152604090205481565b600081848411156109ea5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156109af578181015183820152602001610997565b50505050905090810190601f1680156109dc5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50508183035b9392505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610a49908490610b0c565b505050565b3390565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b179052610aac908590610b0c565b50505050565b6000828201838110156109f0576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6060610b61826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316610bbd9092919063ffffffff16565b805190915015610a4957808060200190516020811015610b8057600080fd5b5051610a495760405162461bcd60e51b815260040180806020018281038252602a815260200180610e79602a913960400191505060405180910390fd5b6060610bcc8484600085610bd4565b949350505050565b606082471015610c155760405162461bcd60e51b8152600401808060200182810382526026815260200180610de96026913960400191505060405180910390fd5b610c1e85610d30565b610c6f576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b60208310610cae5780518252601f199092019160209182019101610c8f565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114610d10576040519150601f19603f3d011682016040523d82523d6000602084013e610d15565b606091505b5091509150610d25828286610d36565b979650505050505050565b3b151590565b60608315610d455750816109f0565b825115610d555782518084602001fd5b60405162461bcd60e51b81526020600482018181528451602484015284518593919283926044019190850190808383600083156109af57818101518382015260200161099756fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737343616e6e6f74206465706f736974206f6e20696e61637469766520636f6d7065746974696f6e416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c43616e6e6f74207769746864726177206d6f7265207468616e206465706f7369747343616e6e6f74207769746864726177206265666f726520756e6c6f636b696e6720706572696f64207061737320696620636f6d7065746974696f6e207374696c6c206163746976655361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a2646970667358221220ac1c2f1a7c799dc0b3b9b6baf6cd124caf2f28cb93b1d71836e24dfa793b42b464736f6c634300060c0033

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

000000000000000000000000e28b3b32b6c345a34ff64674606124dd5aceca30

-----Decoded View---------------
Arg [0] : realINJ_ (address): 0xe28b3B32B6c345A34Ff64674606124Dd5Aceca30

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000e28b3b32b6c345a34ff64674606124dd5aceca30


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

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

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