ETH Price: $2,523.59 (+2.83%)
Gas: 0.75 Gwei

Contract

0xEB43417cE66e06e6861a2E1b1277187245eAE8A7
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Unstake Token206091952024-08-26 0:29:478 days ago1724632187IN
0xEB43417c...245eAE8A7
0 ETH0.000078860.96285457
Harvest206091872024-08-26 0:28:118 days ago1724632091IN
0xEB43417c...245eAE8A7
0 ETH0.000078221.01761362
Stake Token205913152024-08-23 12:31:4710 days ago1724416307IN
0xEB43417c...245eAE8A7
0 ETH0.000244422.29127881
Harvest205912892024-08-23 12:26:3510 days ago1724415995IN
0xEB43417c...245eAE8A7
0 ETH0.00018082.35213903
Claim205747922024-08-21 5:05:4713 days ago1724216747IN
0xEB43417c...245eAE8A7
0 ETH0.000057480.76086539
Harvest205637172024-08-19 15:57:5914 days ago1724083079IN
0xEB43417c...245eAE8A7
0 ETH0.000306354.29159704
Unstake Token205082272024-08-11 22:02:3522 days ago1723413755IN
0xEB43417c...245eAE8A7
0 ETH0.0000761.0315205
Harvest202167372024-07-02 5:26:3562 days ago1719897995IN
0xEB43417c...245eAE8A7
0 ETH0.000195992.74564803
Harvest201779272024-06-26 19:23:5968 days ago1719429839IN
0xEB43417c...245eAE8A7
0 ETH0.00085129.40055379
Harvest201778432024-06-26 19:07:1168 days ago1719428831IN
0xEB43417c...245eAE8A7
0 ETH0.000729068.0517044
Harvest201777232024-06-26 18:42:4768 days ago1719427367IN
0xEB43417c...245eAE8A7
0 ETH0.000643337.10485593
Harvest201776862024-06-26 18:35:1168 days ago1719426911IN
0xEB43417c...245eAE8A7
0 ETH0.000692837.65161593
Stake Token199667782024-05-28 7:08:5997 days ago1716880139IN
0xEB43417c...245eAE8A7
0 ETH0.0016207315.6026298
Stake Token199352922024-05-23 21:33:47102 days ago1716500027IN
0xEB43417c...245eAE8A7
0 ETH0.0027024225.33591357
Harvest199352802024-05-23 21:31:23102 days ago1716499883IN
0xEB43417c...245eAE8A7
0 ETH0.0020714329.01823103
Harvest198295282024-05-09 2:32:23117 days ago1715221943IN
0xEB43417c...245eAE8A7
0 ETH0.000344113.80041485
Harvest198293892024-05-09 2:04:23117 days ago1715220263IN
0xEB43417c...245eAE8A7
0 ETH0.000418674.41014295
Harvest198291082024-05-09 1:07:47117 days ago1715216867IN
0xEB43417c...245eAE8A7
0 ETH0.000332853.67595185
Stake Token196965742024-04-20 12:18:23135 days ago1713615503IN
0xEB43417c...245eAE8A7
0 ETH0.000827027.75359708
Harvest196965682024-04-20 12:17:11135 days ago1713615431IN
0xEB43417c...245eAE8A7
0 ETH0.000478096.6974995
Claim196863772024-04-19 2:00:59137 days ago1713492059IN
0xEB43417c...245eAE8A7
0 ETH0.0013266417.55961429
Claim196623082024-04-15 17:10:11140 days ago1713201011IN
0xEB43417c...245eAE8A7
0 ETH0.0013188917.45698801
Unstake Token196120172024-04-08 16:03:59147 days ago1712592239IN
0xEB43417c...245eAE8A7
0 ETH0.0032827444.55837945
Unstake Token195931822024-04-06 0:42:47150 days ago1712364167IN
0xEB43417c...245eAE8A7
0 ETH0.0010092513.69721763
Harvest194389372024-03-15 7:44:35171 days ago1710488675IN
0xEB43417c...245eAE8A7
0 ETH0.0025897333.69064587
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:
LockerStaking

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2022-11-22
*/

// SPDX-License-Identifier: MIT
/*
 *     __    ____  ________ __ __________
 *    / /   / __ \/ ____/ //_// ____/ __ \
 *   / /   / / / / /   / ,<  / __/ / /_/ /
 *  / /___/ /_/ / /___/ /| |/ /___/ _, _/
 * /_____/\____/\____/_/ |_/_____/_/ |_|
 *
 *
 * TG:  https://t.me/lockertoken_public
 * WEB: https://locker-token.com
 * TW:  https://twitter.com/lockertoken
 *
 * LOCKER STAKING 
 */
pragma solidity 0.8.7;

/**
 * @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 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) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

// File @openzeppelin/contracts/access/[email protected]

pragma solidity ^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() {
        _transferOwnership(_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 {
        _transferOwnership(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"
        );
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

// File @openzeppelin/contracts/security/[email protected]
pragma solidity ^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() {
        _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 making 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 @openzeppelin/contracts/utils/math/[email protected]
pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler
 * now has built in overflow checking.
 */
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)
    {
        unchecked {
            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)
    {
        unchecked {
            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)
    {
        unchecked {
            // 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)
    {
        unchecked {
            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)
    {
        unchecked {
            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) {
        return a + b;
    }

    /**
     * @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 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) {
        return a * b;
    }

    /**
     * @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.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        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) {
        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) {
        unchecked {
            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.
     *
     * 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) {
        unchecked {
            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) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

pragma solidity ^0.8.1;

/**
 * @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
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 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"
        );

        (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");

        (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");

        (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");

        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal 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

                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

// File @openzeppelin/contracts/token/ERC20/[email protected]

// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/IERC20.sol)

pragma solidity ^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 `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, 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 `from` to `to` 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 from,
        address to,
        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/token/ERC20/extensions/[email protected]

// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface for the optional metadata functions from the ERC20 standard.
 *
 * _Available since v4.1._
 */
interface IERC20Metadata is IERC20 {
    /**
     * @dev Returns the name of the token.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the symbol of the token.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the decimals places of the token.
     */
    function decimals() external view returns (uint8);
}

pragma solidity ^0.8.0;

/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin Contracts guidelines: functions revert
 * instead returning `false` on failure. This behavior is nonetheless
 * conventional and does not conflict with the expectations of ERC20
 * applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20 is Context, IERC20, IERC20Metadata {
    mapping(address => uint256) private _balances;

    mapping(address => mapping(address => uint256)) private _allowances;

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * The default value of {decimals} is 18. To select a different value for
     * {decimals} you should overload it.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    /**
     * @dev Returns the name of the token.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5.05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the value {ERC20} uses, unless this function is
     * overridden;
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view virtual override returns (uint8) {
        return 18;
    }

    /**
     * @dev See {IERC20-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        return _totalSupply;
    }

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account)
        public
        view
        virtual
        override
        returns (uint256)
    {
        return _balances[account];
    }

    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address to, uint256 amount)
        public
        virtual
        override
        returns (bool)
    {
        address owner = _msgSender();
        _transfer(owner, to, amount);
        return true;
    }

    /**
     * @dev See {IERC20-allowance}.
     */
    function allowance(address owner, address spender)
        public
        view
        virtual
        override
        returns (uint256)
    {
        return _allowances[owner][spender];
    }

    /**
     * @dev See {IERC20-approve}.
     *
     * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on
     * `transferFrom`. This is semantically equivalent to an infinite approval.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount)
        public
        virtual
        override
        returns (bool)
    {
        address owner = _msgSender();
        _approve(owner, spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * NOTE: Does not update the allowance if the current allowance
     * is the maximum `uint256`.
     *
     * Requirements:
     *
     * - `from` and `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     * - the caller must have allowance for ``from``'s tokens of at least
     * `amount`.
     */
    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) public virtual override returns (bool) {
        address spender = _msgSender();
        _spendAllowance(from, spender, amount);
        _transfer(from, to, amount);
        return true;
    }

    /**
     * @dev Atomically increases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue)
        public
        virtual
        returns (bool)
    {
        address owner = _msgSender();
        _approve(owner, spender, _allowances[owner][spender] + addedValue);
        return true;
    }

    /**
     * @dev Atomically decreases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `spender` must have allowance for the caller of at least
     * `subtractedValue`.
     */
    function decreaseAllowance(address spender, uint256 subtractedValue)
        public
        virtual
        returns (bool)
    {
        address owner = _msgSender();
        uint256 currentAllowance = _allowances[owner][spender];
        require(
            currentAllowance >= subtractedValue,
            "ERC20: decreased allowance below zero"
        );
        unchecked {
            _approve(owner, spender, currentAllowance - subtractedValue);
        }

        return true;
    }

    /**
     * @dev Moves `amount` of tokens from `sender` to `recipient`.
     *
     * This internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     */
    function _transfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(from, to, amount);

        uint256 fromBalance = _balances[from];
        require(
            fromBalance >= amount,
            "ERC20: transfer amount exceeds balance"
        );
        unchecked {
            _balances[from] = fromBalance - amount;
        }
        _balances[to] += amount;

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, amount);
    }

    /** @dev Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply.
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");

        _beforeTokenTransfer(address(0), account, amount);

        _totalSupply += amount;
        _balances[account] += amount;
        emit Transfer(address(0), account, amount);

        _afterTokenTransfer(address(0), account, amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, reducing the
     * total supply.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens.
     */
    function _burn(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: burn from the zero address");

        _beforeTokenTransfer(account, address(0), amount);

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        unchecked {
            _balances[account] = accountBalance - amount;
        }
        _totalSupply -= amount;

        emit Transfer(account, address(0), amount);

        _afterTokenTransfer(account, address(0), amount);
    }

    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
     *
     * This internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     */
    function _approve(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");

        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }

    /**
     * @dev Spend `amount` form the allowance of `owner` toward `spender`.
     *
     * Does not update the allowance amount in case of infinite allowance.
     * Revert if not enough allowance is available.
     *
     * Might emit an {Approval} event.
     */
    function _spendAllowance(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        uint256 currentAllowance = allowance(owner, spender);
        if (currentAllowance != type(uint256).max) {
            require(
                currentAllowance >= amount,
                "ERC20: insufficient allowance"
            );
            unchecked {
                _approve(owner, spender, currentAllowance - amount);
            }
        }
    }

    /**
     * @dev Hook that is called before any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * will be transferred to `to`.
     * - when `from` is zero, `amount` tokens will be minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * has been transferred to `to`.
     * - when `from` is zero, `amount` tokens have been minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens have been burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}
}

// File @openzeppelin/contracts/token/ERC20/utils/[email protected]
/**
 * @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 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'
        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) + value;
        _callOptionalReturn(
            token,
            abi.encodeWithSelector(
                token.approve.selector,
                spender,
                newAllowance
            )
        );
    }

    function safeDecreaseAllowance(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        unchecked {
            uint256 oldAllowance = token.allowance(address(this), spender);
            require(
                oldAllowance >= value,
                "SafeERC20: decreased allowance below zero"
            );
            uint256 newAllowance = oldAllowance - value;
            _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
            require(
                abi.decode(returndata, (bool)),
                "SafeERC20: ERC20 operation did not succeed"
            );
        }
    }
}

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

    struct UserInfo {
        uint256 stakedAmount; // How many LOCKER tokens the user has provided.
        uint256 rewardDebt; // number of reward token user will get. it is cleared when user stake or unstake token.
        uint256 lastDepositTime; // time when user deposited
        uint256 unstakeStartTime; // time when when user clicked unstake btn.
        uint256 pendingAmount; // # of tokens that is pending of 9 days.
    }

    event TokenStaked(address user, uint256 amount);
    event TokenWithdraw(address user, uint256 amount);
    event ClaimToken(address user, uint256 receiveAmount);
    event HarvestToken(address user, uint256 receiveAmount);
    event RewardRateSet(uint256 value);
    event RewardReceived(address receiver, uint256 rewardAmount);

    address public lockerToken;
    mapping(address => UserInfo) public userInfos;

    uint256 public totalStakedAmount;
    uint256 public rewardRate;
    uint256 public UNSTAKE_TIMEOFF = 9 days;
    uint256 public emergencyPercentageToWithdraw = 91; // 91%

    constructor(address _token) {
        require(_token != address(0), "Zero address: Token");
        lockerToken = _token;
        totalStakedAmount = 0;
        rewardRate = 20; // APY 20%
    }

    function setRewardRate(uint256 _newRate) public onlyOwner {
        require(_newRate != 0, "rate should be over 1");
        rewardRate = _newRate;
        emit RewardRateSet(_newRate);
    }

    function stakeToken(uint256 _amount)
        external
        nonReentrant
        updateReward(msg.sender)
    {
        require(_amount > 0, "invalid deposit amount");

        userInfos[msg.sender].stakedAmount = userInfos[msg.sender]
            .stakedAmount
            .add(_amount);
        userInfos[msg.sender].lastDepositTime = block.timestamp;
        IERC20(lockerToken).safeTransferFrom(
            msg.sender,
            address(this),
            _amount
        );
        totalStakedAmount = totalStakedAmount.add(_amount);
        emit TokenStaked(msg.sender, _amount);
    }

    /**
    9 days Timer will start
  **/
    function unstakeToken(uint256 _amount, bool isEmergency)
        external
        nonReentrant
        updateReward(msg.sender)
    {
        require(_amount > 0, "invalid deposit amount");
        require(
            userInfos[msg.sender].stakedAmount >= _amount,
            "unstake amount is bigger than you staked"
        );

        uint256 outAmount = _amount + userInfos[msg.sender].rewardDebt;

        if (isEmergency) {
            outAmount = outAmount.mul(emergencyPercentageToWithdraw).div(100);
        }

        userInfos[msg.sender].stakedAmount = userInfos[msg.sender]
            .stakedAmount
            .sub(_amount);
        userInfos[msg.sender].rewardDebt = 0;
        userInfos[msg.sender].lastDepositTime = block.timestamp;

        if (isEmergency) {
            // send token to msg.sender.
            IERC20(lockerToken).safeTransfer(msg.sender, outAmount);
            emit ClaimToken(msg.sender, outAmount);
            return;
        }

        userInfos[msg.sender].unstakeStartTime = block.timestamp;
        userInfos[msg.sender].pendingAmount =
            userInfos[msg.sender].pendingAmount +
            outAmount;

        emit TokenWithdraw(msg.sender, outAmount);
    }

    function harvest() external nonReentrant updateReward(msg.sender) {
        require(userInfos[msg.sender].rewardDebt > 0, "No rewards to harvest!");

        uint256 outAmount = userInfos[msg.sender].rewardDebt;

        userInfos[msg.sender].rewardDebt = 0;
        userInfos[msg.sender].lastDepositTime = block.timestamp;

        IERC20(lockerToken).safeTransfer(msg.sender, outAmount);
        emit HarvestToken(msg.sender, outAmount);
    }

    // this function will be called after 9 days. actual token transfer happens here.
    function claim() external nonReentrant {
        require(
            (block.timestamp - userInfos[msg.sender].unstakeStartTime) >=
                UNSTAKE_TIMEOFF,
            "invalid time: must be greater than 9 days"
        );
        uint256 receiveAmount = userInfos[msg.sender].pendingAmount;
        require(receiveAmount > 0, "no available amount");
        require(
            IERC20(lockerToken).balanceOf(address(this)) >= receiveAmount,
            "staking contract has not enough LOCKER token"
        );

        IERC20(lockerToken).safeTransfer(msg.sender, receiveAmount);
        totalStakedAmount = IERC20(lockerToken).balanceOf(address(this)).sub(
            receiveAmount
        );
        userInfos[msg.sender].pendingAmount = 0;
        userInfos[msg.sender].unstakeStartTime = block.timestamp;

        emit ClaimToken(msg.sender, receiveAmount);
    }

    function isClaimable(address user) external view returns (bool) {
        if (userInfos[user].unstakeStartTime == 0) return false;

        return
            (block.timestamp - userInfos[user].unstakeStartTime >
                UNSTAKE_TIMEOFF)
                ? true
                : false;
    }

    function timeDiffForClaim(address user) external view returns (uint256) {
        return
            (userInfos[user].unstakeStartTime + UNSTAKE_TIMEOFF >
                block.timestamp)
                ? userInfos[user].unstakeStartTime +
                    UNSTAKE_TIMEOFF -
                    block.timestamp
                : 0;
    }

    function setUnstakeTimeoff(uint256 timeInMinutes) external onlyOwner {
        require(
            timeInMinutes > 0 && timeInMinutes <= 525600,
            "unstake time off should be between 0 and 525600 (1 year)"
        );
        UNSTAKE_TIMEOFF = timeInMinutes * 1 minutes;
    }

    function setEmergencyWithdrawal(uint256 percentageToWithdraw)
        external
        onlyOwner
    {
        require(
            percentageToWithdraw >= 90 && percentageToWithdraw <= 100,
            "emergency to withdraw percentage should be 90-100%"
        );
        emergencyPercentageToWithdraw = percentageToWithdraw;
    }

    function calcReward(address account) public view returns (uint256) {
        uint256 rewardVal = (block.timestamp -
            userInfos[account].lastDepositTime)
            .mul(userInfos[account].stakedAmount)
            .mul(rewardRate)
            .div(365 days);
        return rewardVal.div(100).add(userInfos[account].rewardDebt);
    }

    modifier updateReward(address account) {
        if (account != address(0)) {
            if (userInfos[account].lastDepositTime == 0) {
                userInfos[account].lastDepositTime = block.timestamp;
                userInfos[account].rewardDebt = 0;
            } else {
                userInfos[account].rewardDebt = calcReward(account);
            }
        }
        _;
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_token","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"receiveAmount","type":"uint256"}],"name":"ClaimToken","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"receiveAmount","type":"uint256"}],"name":"HarvestToken","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":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"RewardRateSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"receiver","type":"address"},{"indexed":false,"internalType":"uint256","name":"rewardAmount","type":"uint256"}],"name":"RewardReceived","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"TokenStaked","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"TokenWithdraw","type":"event"},{"inputs":[],"name":"UNSTAKE_TIMEOFF","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"calcReward","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"emergencyPercentageToWithdraw","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"harvest","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"isClaimable","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lockerToken","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rewardRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"percentageToWithdraw","type":"uint256"}],"name":"setEmergencyWithdrawal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newRate","type":"uint256"}],"name":"setRewardRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"timeInMinutes","type":"uint256"}],"name":"setUnstakeTimeoff","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"stakeToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"timeDiffForClaim","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalStakedAmount","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":[{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"bool","name":"isEmergency","type":"bool"}],"name":"unstakeToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userInfos","outputs":[{"internalType":"uint256","name":"stakedAmount","type":"uint256"},{"internalType":"uint256","name":"rewardDebt","type":"uint256"},{"internalType":"uint256","name":"lastDepositTime","type":"uint256"},{"internalType":"uint256","name":"unstakeStartTime","type":"uint256"},{"internalType":"uint256","name":"pendingAmount","type":"uint256"}],"stateMutability":"view","type":"function"}]

6080604052620bdd80600655605b60075534801561001c57600080fd5b506040516116c23803806116c283398101604081905261003b91610121565b610044336100d1565b600180556001600160a01b0381166100a25760405162461bcd60e51b815260206004820152601360248201527f5a65726f20616464726573733a20546f6b656e00000000000000000000000000604482015260640160405180910390fd5b600280546001600160a01b0319166001600160a01b039290921691909117905560006004556014600555610151565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60006020828403121561013357600080fd5b81516001600160a01b038116811461014a57600080fd5b9392505050565b611562806101606000396000f3fe608060405234801561001057600080fd5b50600436106101215760003560e01c806358ffa963116100ad5780639e447fc6116100715780639e447fc61461027f578063beae159914610292578063cda6b847146102a5578063d29336b7146102b8578063f2fde38b146102c157600080fd5b806358ffa963146102375780636e74f7ff1461024a578063715018a61461025d5780637b0a47ee146102655780638da5cb5b1461026e57600080fd5b806343b0215f116100f457806343b0215f146101af5780634641257d14610215578063477d2baf1461021d5780634e71d92d14610226578063567e98f91461022e57600080fd5b8063048a6a5c146101265780630b83482014610156578063292fec041461016b5780633a61738d1461018e575b600080fd5b600254610139906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b61016961016436600461134f565b6102d4565b005b61017e610179366004611309565b610385565b604051901515815260200161014d565b6101a161019c366004611309565b6103ec565b60405190815260200161014d565b6101ed6101bd366004611309565b60036020819052600091825260409091208054600182015460028301549383015460049093015491939092909185565b604080519586526020860194909452928401919091526060830152608082015260a00161014d565b610169610476565b6101a160065481565b6101696105e2565b6101a160045481565b61016961024536600461134f565b6108c1565b610169610258366004611381565b610981565b610169610c30565b6101a160055481565b6000546001600160a01b0316610139565b61016961028d36600461134f565b610c66565b6101a16102a0366004611309565b610d10565b6101696102b336600461134f565b610d7e565b6101a160075481565b6101696102cf366004611309565b610ef5565b6000546001600160a01b031633146103075760405162461bcd60e51b81526004016102fe90611400565b60405180910390fd5b605a8110158015610319575060648111155b6103805760405162461bcd60e51b815260206004820152603260248201527f656d657267656e637920746f2077697468647261772070657263656e746167656044820152712073686f756c642062652039302d3130302560701b60648201526084016102fe565b600755565b6001600160a01b0381166000908152600360208190526040822001546103ad57506000919050565b6006546001600160a01b038316600090815260036020819052604090912001546103d790426114c5565b116103e35760006103e6565b60015b92915050565b6005546001600160a01b038216600090815260036020526040812080546002909101549192839261043b926301e133809261043592909161042f918290426114c5565b90610f90565b90610f9c565b6001600160a01b03841660009081526003602052604090206001015490915061046f90610469836064610f9c565b90610fa8565b9392505050565b600260015414156104995760405162461bcd60e51b81526004016102fe90611435565b6002600155338015610512576001600160a01b0381166000908152600360205260409020600201546104ec576001600160a01b038116600090815260036020526040812042600282015560010155610512565b6104f5816103ec565b6001600160a01b0382166000908152600360205260409020600101555b3360009081526003602052604090206001015461056a5760405162461bcd60e51b81526020600482015260166024820152754e6f207265776172647320746f20686172766573742160501b60448201526064016102fe565b336000818152600360205260408120600181018054929055426002918201555490916105a0916001600160a01b03169083610fb4565b60408051338152602081018390527f2559ca7198da5fd4765f48d5b0952bb24419473718030193f7dce7d20eea055491015b60405180910390a1505060018055565b600260015414156106055760405162461bcd60e51b81526004016102fe90611435565b6002600155600654336000908152600360208190526040909120015461062b90426114c5565b101561068b5760405162461bcd60e51b815260206004820152602960248201527f696e76616c69642074696d653a206d7573742062652067726561746572207468604482015268616e2039206461797360b81b60648201526084016102fe565b33600090815260036020526040902060040154806106e15760405162461bcd60e51b81526020600482015260136024820152721b9bc8185d985a5b18589b1948185b5bdd5b9d606a1b60448201526064016102fe565b6002546040516370a0823160e01b815230600482015282916001600160a01b0316906370a082319060240160206040518083038186803b15801561072457600080fd5b505afa158015610738573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061075c9190611368565b10156107bf5760405162461bcd60e51b815260206004820152602c60248201527f7374616b696e6720636f6e747261637420686173206e6f7420656e6f7567682060448201526b2627a1a5a2a9103a37b5b2b760a11b60648201526084016102fe565b6002546107d6906001600160a01b03163383610fb4565b6002546040516370a0823160e01b815230600482015261085d9183916001600160a01b03909116906370a082319060240160206040518083038186803b15801561081f57600080fd5b505afa158015610833573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108579190611368565b9061101c565b60049081553360008181526003602081815260408084209586019390935542949091019390935580519182529181018390527f5d425a3a6a3d5a60fbf147dc6659ce3dfeb701fc44fe90058c32783b8807c574910160405180910390a15060018055565b6000546001600160a01b031633146108eb5760405162461bcd60e51b81526004016102fe90611400565b6000811180156108fe5750620805208111155b6109705760405162461bcd60e51b815260206004820152603860248201527f756e7374616b652074696d65206f66662073686f756c6420626520626574776560448201527f656e203020616e6420353235363030202831207965617229000000000000000060648201526084016102fe565b61097b81603c6114a6565b60065550565b600260015414156109a45760405162461bcd60e51b81526004016102fe90611435565b6002600155338015610a1d576001600160a01b0381166000908152600360205260409020600201546109f7576001600160a01b038116600090815260036020526040812042600282015560010155610a1d565b610a00816103ec565b6001600160a01b0382166000908152600360205260409020600101555b60008311610a665760405162461bcd60e51b81526020600482015260166024820152751a5b9d985b1a590819195c1bdcda5d08185b5bdd5b9d60521b60448201526064016102fe565b33600090815260036020526040902054831115610ad65760405162461bcd60e51b815260206004820152602860248201527f756e7374616b6520616d6f756e7420697320626967676572207468616e20796f6044820152671d481cdd185ad95960c21b60648201526084016102fe565b33600090815260036020526040812060010154610af3908561146c565b90508215610b1857610b15606461043560075484610f9090919063ffffffff16565b90505b33600090815260036020526040902054610b32908561101c565b3360009081526003602052604081209182556001820155426002909101558215610bac57600254610b6d906001600160a01b03163383610fb4565b60408051338152602081018390527f5d425a3a6a3d5a60fbf147dc6659ce3dfeb701fc44fe90058c32783b8807c574910160405180910390a150610c27565b336000908152600360208190526040909120429181019190915560040154610bd590829061146c565b336000818152600360209081526040918290206004019390935580519182529181018390527f68577e4d693c1b056a60bc4e39438810239a0bfe64869c4eb7e3baebb5f65634910160405180910390a1505b50506001805550565b6000546001600160a01b03163314610c5a5760405162461bcd60e51b81526004016102fe90611400565b610c646000611028565b565b6000546001600160a01b03163314610c905760405162461bcd60e51b81526004016102fe90611400565b80610cd55760405162461bcd60e51b8152602060048201526015602482015274726174652073686f756c64206265206f766572203160581b60448201526064016102fe565b60058190556040518181527f8cbfafc8e0d9c5c81401c4b9c6e7d201198adc7eb8f8f1556c195ecd4c0a0e7b9060200160405180910390a150565b6006546001600160a01b03821660009081526003602081905260408220015490914291610d3d919061146c565b11610d495760006103e6565b6006546001600160a01b038316600090815260036020819052604090912001544291610d749161146c565b6103e691906114c5565b60026001541415610da15760405162461bcd60e51b81526004016102fe90611435565b6002600155338015610e1a576001600160a01b038116600090815260036020526040902060020154610df4576001600160a01b038116600090815260036020526040812042600282015560010155610e1a565b610dfd816103ec565b6001600160a01b0382166000908152600360205260409020600101555b60008211610e635760405162461bcd60e51b81526020600482015260166024820152751a5b9d985b1a590819195c1bdcda5d08185b5bdd5b9d60521b60448201526064016102fe565b33600090815260036020526040902054610e7d9083610fa8565b336000818152600360205260409020918255426002928301559054610eaf916001600160a01b03909116903085611078565b600454610ebc9083610fa8565b60045560408051338152602081018490527f1fdab8a8457aaf782e4b6217d6ffa6f5006eda7e50922dd092b2e1524275d77491016105d2565b6000546001600160a01b03163314610f1f5760405162461bcd60e51b81526004016102fe90611400565b6001600160a01b038116610f845760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016102fe565b610f8d81611028565b50565b600061046f82846114a6565b600061046f8284611484565b600061046f828461146c565b6040516001600160a01b03831660248201526044810182905261101790849063a9059cbb60e01b906064015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b0319909316929092179091526110b6565b505050565b600061046f82846114c5565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6040516001600160a01b03808516602483015283166044820152606481018290526110b09085906323b872dd60e01b90608401610fe0565b50505050565b600061110b826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166111889092919063ffffffff16565b80519091501561101757808060200190518101906111299190611332565b6110175760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084016102fe565b6060611197848460008561119f565b949350505050565b6060824710156112005760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b60648201526084016102fe565b6001600160a01b0385163b6112575760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016102fe565b600080866001600160a01b0316858760405161127391906113b1565b60006040518083038185875af1925050503d80600081146112b0576040519150601f19603f3d011682016040523d82523d6000602084013e6112b5565b606091505b50915091506112c58282866112d0565b979650505050505050565b606083156112df57508161046f565b8251156112ef5782518084602001fd5b8160405162461bcd60e51b81526004016102fe91906113cd565b60006020828403121561131b57600080fd5b81356001600160a01b038116811461046f57600080fd5b60006020828403121561134457600080fd5b815161046f8161151e565b60006020828403121561136157600080fd5b5035919050565b60006020828403121561137a57600080fd5b5051919050565b6000806040838503121561139457600080fd5b8235915060208301356113a68161151e565b809150509250929050565b600082516113c38184602087016114dc565b9190910192915050565b60208152600082518060208401526113ec8160408501602087016114dc565b601f01601f19169190910160400192915050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b6000821982111561147f5761147f611508565b500190565b6000826114a157634e487b7160e01b600052601260045260246000fd5b500490565b60008160001904831182151516156114c0576114c0611508565b500290565b6000828210156114d7576114d7611508565b500390565b60005b838110156114f75781810151838201526020016114df565b838111156110b05750506000910152565b634e487b7160e01b600052601160045260246000fd5b8015158114610f8d57600080fdfea2646970667358221220ab17d79bebb53beaa0ca113b10d0a31e057b0168438c1f4233a648e5f5b0ee1764736f6c63430008070033000000000000000000000000d3e133a0a14bb8b595e5fbf9851c7c783685ba69

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101215760003560e01c806358ffa963116100ad5780639e447fc6116100715780639e447fc61461027f578063beae159914610292578063cda6b847146102a5578063d29336b7146102b8578063f2fde38b146102c157600080fd5b806358ffa963146102375780636e74f7ff1461024a578063715018a61461025d5780637b0a47ee146102655780638da5cb5b1461026e57600080fd5b806343b0215f116100f457806343b0215f146101af5780634641257d14610215578063477d2baf1461021d5780634e71d92d14610226578063567e98f91461022e57600080fd5b8063048a6a5c146101265780630b83482014610156578063292fec041461016b5780633a61738d1461018e575b600080fd5b600254610139906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b61016961016436600461134f565b6102d4565b005b61017e610179366004611309565b610385565b604051901515815260200161014d565b6101a161019c366004611309565b6103ec565b60405190815260200161014d565b6101ed6101bd366004611309565b60036020819052600091825260409091208054600182015460028301549383015460049093015491939092909185565b604080519586526020860194909452928401919091526060830152608082015260a00161014d565b610169610476565b6101a160065481565b6101696105e2565b6101a160045481565b61016961024536600461134f565b6108c1565b610169610258366004611381565b610981565b610169610c30565b6101a160055481565b6000546001600160a01b0316610139565b61016961028d36600461134f565b610c66565b6101a16102a0366004611309565b610d10565b6101696102b336600461134f565b610d7e565b6101a160075481565b6101696102cf366004611309565b610ef5565b6000546001600160a01b031633146103075760405162461bcd60e51b81526004016102fe90611400565b60405180910390fd5b605a8110158015610319575060648111155b6103805760405162461bcd60e51b815260206004820152603260248201527f656d657267656e637920746f2077697468647261772070657263656e746167656044820152712073686f756c642062652039302d3130302560701b60648201526084016102fe565b600755565b6001600160a01b0381166000908152600360208190526040822001546103ad57506000919050565b6006546001600160a01b038316600090815260036020819052604090912001546103d790426114c5565b116103e35760006103e6565b60015b92915050565b6005546001600160a01b038216600090815260036020526040812080546002909101549192839261043b926301e133809261043592909161042f918290426114c5565b90610f90565b90610f9c565b6001600160a01b03841660009081526003602052604090206001015490915061046f90610469836064610f9c565b90610fa8565b9392505050565b600260015414156104995760405162461bcd60e51b81526004016102fe90611435565b6002600155338015610512576001600160a01b0381166000908152600360205260409020600201546104ec576001600160a01b038116600090815260036020526040812042600282015560010155610512565b6104f5816103ec565b6001600160a01b0382166000908152600360205260409020600101555b3360009081526003602052604090206001015461056a5760405162461bcd60e51b81526020600482015260166024820152754e6f207265776172647320746f20686172766573742160501b60448201526064016102fe565b336000818152600360205260408120600181018054929055426002918201555490916105a0916001600160a01b03169083610fb4565b60408051338152602081018390527f2559ca7198da5fd4765f48d5b0952bb24419473718030193f7dce7d20eea055491015b60405180910390a1505060018055565b600260015414156106055760405162461bcd60e51b81526004016102fe90611435565b6002600155600654336000908152600360208190526040909120015461062b90426114c5565b101561068b5760405162461bcd60e51b815260206004820152602960248201527f696e76616c69642074696d653a206d7573742062652067726561746572207468604482015268616e2039206461797360b81b60648201526084016102fe565b33600090815260036020526040902060040154806106e15760405162461bcd60e51b81526020600482015260136024820152721b9bc8185d985a5b18589b1948185b5bdd5b9d606a1b60448201526064016102fe565b6002546040516370a0823160e01b815230600482015282916001600160a01b0316906370a082319060240160206040518083038186803b15801561072457600080fd5b505afa158015610738573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061075c9190611368565b10156107bf5760405162461bcd60e51b815260206004820152602c60248201527f7374616b696e6720636f6e747261637420686173206e6f7420656e6f7567682060448201526b2627a1a5a2a9103a37b5b2b760a11b60648201526084016102fe565b6002546107d6906001600160a01b03163383610fb4565b6002546040516370a0823160e01b815230600482015261085d9183916001600160a01b03909116906370a082319060240160206040518083038186803b15801561081f57600080fd5b505afa158015610833573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108579190611368565b9061101c565b60049081553360008181526003602081815260408084209586019390935542949091019390935580519182529181018390527f5d425a3a6a3d5a60fbf147dc6659ce3dfeb701fc44fe90058c32783b8807c574910160405180910390a15060018055565b6000546001600160a01b031633146108eb5760405162461bcd60e51b81526004016102fe90611400565b6000811180156108fe5750620805208111155b6109705760405162461bcd60e51b815260206004820152603860248201527f756e7374616b652074696d65206f66662073686f756c6420626520626574776560448201527f656e203020616e6420353235363030202831207965617229000000000000000060648201526084016102fe565b61097b81603c6114a6565b60065550565b600260015414156109a45760405162461bcd60e51b81526004016102fe90611435565b6002600155338015610a1d576001600160a01b0381166000908152600360205260409020600201546109f7576001600160a01b038116600090815260036020526040812042600282015560010155610a1d565b610a00816103ec565b6001600160a01b0382166000908152600360205260409020600101555b60008311610a665760405162461bcd60e51b81526020600482015260166024820152751a5b9d985b1a590819195c1bdcda5d08185b5bdd5b9d60521b60448201526064016102fe565b33600090815260036020526040902054831115610ad65760405162461bcd60e51b815260206004820152602860248201527f756e7374616b6520616d6f756e7420697320626967676572207468616e20796f6044820152671d481cdd185ad95960c21b60648201526084016102fe565b33600090815260036020526040812060010154610af3908561146c565b90508215610b1857610b15606461043560075484610f9090919063ffffffff16565b90505b33600090815260036020526040902054610b32908561101c565b3360009081526003602052604081209182556001820155426002909101558215610bac57600254610b6d906001600160a01b03163383610fb4565b60408051338152602081018390527f5d425a3a6a3d5a60fbf147dc6659ce3dfeb701fc44fe90058c32783b8807c574910160405180910390a150610c27565b336000908152600360208190526040909120429181019190915560040154610bd590829061146c565b336000818152600360209081526040918290206004019390935580519182529181018390527f68577e4d693c1b056a60bc4e39438810239a0bfe64869c4eb7e3baebb5f65634910160405180910390a1505b50506001805550565b6000546001600160a01b03163314610c5a5760405162461bcd60e51b81526004016102fe90611400565b610c646000611028565b565b6000546001600160a01b03163314610c905760405162461bcd60e51b81526004016102fe90611400565b80610cd55760405162461bcd60e51b8152602060048201526015602482015274726174652073686f756c64206265206f766572203160581b60448201526064016102fe565b60058190556040518181527f8cbfafc8e0d9c5c81401c4b9c6e7d201198adc7eb8f8f1556c195ecd4c0a0e7b9060200160405180910390a150565b6006546001600160a01b03821660009081526003602081905260408220015490914291610d3d919061146c565b11610d495760006103e6565b6006546001600160a01b038316600090815260036020819052604090912001544291610d749161146c565b6103e691906114c5565b60026001541415610da15760405162461bcd60e51b81526004016102fe90611435565b6002600155338015610e1a576001600160a01b038116600090815260036020526040902060020154610df4576001600160a01b038116600090815260036020526040812042600282015560010155610e1a565b610dfd816103ec565b6001600160a01b0382166000908152600360205260409020600101555b60008211610e635760405162461bcd60e51b81526020600482015260166024820152751a5b9d985b1a590819195c1bdcda5d08185b5bdd5b9d60521b60448201526064016102fe565b33600090815260036020526040902054610e7d9083610fa8565b336000818152600360205260409020918255426002928301559054610eaf916001600160a01b03909116903085611078565b600454610ebc9083610fa8565b60045560408051338152602081018490527f1fdab8a8457aaf782e4b6217d6ffa6f5006eda7e50922dd092b2e1524275d77491016105d2565b6000546001600160a01b03163314610f1f5760405162461bcd60e51b81526004016102fe90611400565b6001600160a01b038116610f845760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016102fe565b610f8d81611028565b50565b600061046f82846114a6565b600061046f8284611484565b600061046f828461146c565b6040516001600160a01b03831660248201526044810182905261101790849063a9059cbb60e01b906064015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b0319909316929092179091526110b6565b505050565b600061046f82846114c5565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6040516001600160a01b03808516602483015283166044820152606481018290526110b09085906323b872dd60e01b90608401610fe0565b50505050565b600061110b826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166111889092919063ffffffff16565b80519091501561101757808060200190518101906111299190611332565b6110175760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084016102fe565b6060611197848460008561119f565b949350505050565b6060824710156112005760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b60648201526084016102fe565b6001600160a01b0385163b6112575760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016102fe565b600080866001600160a01b0316858760405161127391906113b1565b60006040518083038185875af1925050503d80600081146112b0576040519150601f19603f3d011682016040523d82523d6000602084013e6112b5565b606091505b50915091506112c58282866112d0565b979650505050505050565b606083156112df57508161046f565b8251156112ef5782518084602001fd5b8160405162461bcd60e51b81526004016102fe91906113cd565b60006020828403121561131b57600080fd5b81356001600160a01b038116811461046f57600080fd5b60006020828403121561134457600080fd5b815161046f8161151e565b60006020828403121561136157600080fd5b5035919050565b60006020828403121561137a57600080fd5b5051919050565b6000806040838503121561139457600080fd5b8235915060208301356113a68161151e565b809150509250929050565b600082516113c38184602087016114dc565b9190910192915050565b60208152600082518060208401526113ec8160408501602087016114dc565b601f01601f19169190910160400192915050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b6000821982111561147f5761147f611508565b500190565b6000826114a157634e487b7160e01b600052601260045260246000fd5b500490565b60008160001904831182151516156114c0576114c0611508565b500290565b6000828210156114d7576114d7611508565b500390565b60005b838110156114f75781810151838201526020016114df565b838111156110b05750506000910152565b634e487b7160e01b600052601160045260246000fd5b8015158114610f8d57600080fdfea2646970667358221220ab17d79bebb53beaa0ca113b10d0a31e057b0168438c1f4233a648e5f5b0ee1764736f6c63430008070033

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

000000000000000000000000d3e133a0a14bb8b595e5fbf9851c7c783685ba69

-----Decoded View---------------
Arg [0] : _token (address): 0xd3E133a0A14Bb8B595e5Fbf9851c7c783685BA69

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


Deployed Bytecode Sourcemap

43611:7064:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44524:26;;;;;-1:-1:-1;;;;;44524:26:0;;;;;;-1:-1:-1;;;;;1686:32:1;;;1668:51;;1656:2;1641:18;44524:26:0;;;;;;;;49562:343;;;;;;:::i;:::-;;:::i;:::-;;48590:307;;;;;;:::i;:::-;;:::i;:::-;;;2554:14:1;;2547:22;2529:41;;2517:2;2502:18;48590:307:0;2389:187:1;49913:353:0;;;;;;:::i;:::-;;:::i;:::-;;;8895:25:1;;;8883:2;8868:18;49913:353:0;8749:177:1;44557:45:0;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9190:25:1;;;9246:2;9231:18;;9224:34;;;;9274:18;;;9267:34;;;;9332:2;9317:18;;9310:34;9375:3;9360:19;;9353:35;9177:3;9162:19;44557:45:0;8931:463:1;47131:455:0;;;:::i;44682:39::-;;;;;;47681:901;;;:::i;44611:32::-;;;;;;49262:292;;;;;;:::i;:::-;;:::i;45870:1253::-;;;;;;:::i;:::-;;:::i;2869:103::-;;;:::i;44650:25::-;;;;;;2218:87;2264:7;2291:6;-1:-1:-1;;;;;2291:6:0;2218:87;;45000:195;;;;;;:::i;:::-;;:::i;48905:349::-;;;;;;:::i;:::-;;:::i;45203:614::-;;;;;;:::i;:::-;;:::i;44728:49::-;;;;;;3127:238;;;;;;:::i;:::-;;:::i;49562:343::-;2264:7;2291:6;-1:-1:-1;;;;;2291:6:0;1052:10;2438:23;2430:68;;;;-1:-1:-1;;;2430:68:0;;;;;;;:::i;:::-;;;;;;;;;49723:2:::1;49699:20;:26;;:57;;;;;49753:3;49729:20;:27;;49699:57;49677:157;;;::::0;-1:-1:-1;;;49677:157:0;;5157:2:1;49677:157:0::1;::::0;::::1;5139:21:1::0;5196:2;5176:18;;;5169:30;5235:34;5215:18;;;5208:62;-1:-1:-1;;;5286:18:1;;;5279:48;5344:19;;49677:157:0::1;4955:414:1::0;49677:157:0::1;49845:29;:52:::0;49562:343::o;48590:307::-;-1:-1:-1;;;;;48669:15:0;;48648:4;48669:15;;;:9;:15;;;;;;;:32;;48665:55;;-1:-1:-1;48715:5:0;;48590:307;-1:-1:-1;48590:307:0:o;48665:55::-;48824:15;;-1:-1:-1;;;;;48772:15:0;;;;;;:9;:15;;;;;;;;:32;;48754:50;;:15;:50;:::i;:::-;:85;48753:136;;48884:5;48753:136;;;48860:4;48753:136;48733:156;48590:307;-1:-1:-1;;48590:307:0:o;49913:353::-;50148:10;;-1:-1:-1;;;;;50097:18:0;;49971:7;50097:18;;;:9;:18;;;;;:31;;50043:34;;;;;49971:7;;;;50011:176;;50178:8;;50011:148;;50148:10;;50011:118;;;;50012:15;:65;:::i;:::-;50011:85;;:118::i;:148::-;:166;;:176::i;:::-;-1:-1:-1;;;;;50228:18:0;;;;;;:9;:18;;;;;:29;;;49991:196;;-1:-1:-1;50205:53:0;;:18;49991:196;50219:3;50205:13;:18::i;:::-;:22;;:53::i;:::-;50198:60;49913:353;-1:-1:-1;;;49913:353:0:o;47131:455::-;5470:1;6068:7;;:19;;6060:63;;;;-1:-1:-1;;;6060:63:0;;;;;;;:::i;:::-;5470:1;6201:7;:18;47185:10:::1;50328:21:::0;;50324:329:::1;;-1:-1:-1::0;;;;;50370:18:0;::::1;;::::0;;;:9:::1;:18;::::0;;;;:34:::1;;::::0;50366:276:::1;;-1:-1:-1::0;;;;;50430:18:0;::::1;;::::0;;;:9:::1;:18;::::0;;;;50467:15:::1;50430:34;::::0;::::1;:52:::0;50501:29:::1;;:33:::0;50366:276:::1;;;50607:19;50618:7;50607:10;:19::i;:::-;-1:-1:-1::0;;;;;50575:18:0;::::1;;::::0;;;:9:::1;:18;::::0;;;;:29:::1;;:51:::0;50366:276:::1;47226:10:::2;47251:1;47216:21:::0;;;:9:::2;:21;::::0;;;;:32:::2;;::::0;47208:71:::2;;;::::0;-1:-1:-1;;;47208:71:0;;7120:2:1;47208:71:0::2;::::0;::::2;7102:21:1::0;7159:2;7139:18;;;7132:30;-1:-1:-1;;;7178:18:1;;;7171:52;7240:18;;47208:71:0::2;6918:346:1::0;47208:71:0::2;47322:10;47292:17;47312:21:::0;;;:9:::2;:21;::::0;;;;:32:::2;::::0;::::2;::::0;;47357:36;;;47444:15:::2;47404:37;::::0;;::::2;:55:::0;47479:11;47312:32;;47472:55:::2;::::0;-1:-1:-1;;;;;47479:11:0::2;::::0;47312:32;47472::::2;:55::i;:::-;47543:35;::::0;;47556:10:::2;2284:51:1::0;;2366:2;2351:18;;2344:34;;;47543:35:0::2;::::0;2257:18:1;47543:35:0::2;;;;;;;;-1:-1:-1::0;;5426:1:0;6380:22;;47131:455::o;47681:901::-;5470:1;6068:7;;:19;;6060:63;;;;-1:-1:-1;;;6060:63:0;;;;;;;:::i;:::-;5470:1;6201:7;:18;47832:15:::1;::::0;47782:10:::1;47772:21;::::0;;;:9:::1;:21;::::0;;;;;;;:38:::1;::::0;47754:56:::1;::::0;:15:::1;:56;:::i;:::-;47753:94;;47731:185;;;::::0;-1:-1:-1;;;47731:185:0;;6710:2:1;47731:185:0::1;::::0;::::1;6692:21:1::0;6749:2;6729:18;;;6722:30;6788:34;6768:18;;;6761:62;-1:-1:-1;;;6839:18:1;;;6832:39;6888:19;;47731:185:0::1;6508:405:1::0;47731:185:0::1;47961:10;47927:21;47951::::0;;;:9:::1;:21;::::0;;;;:35:::1;;::::0;48005:17;47997:49:::1;;;::::0;-1:-1:-1;;;47997:49:0;;6362:2:1;47997:49:0::1;::::0;::::1;6344:21:1::0;6401:2;6381:18;;;6374:30;-1:-1:-1;;;6420:18:1;;;6413:49;6479:18;;47997:49:0::1;6160:343:1::0;47997:49:0::1;48086:11;::::0;48079:44:::1;::::0;-1:-1:-1;;;48079:44:0;;48117:4:::1;48079:44;::::0;::::1;1668:51:1::0;48127:13:0;;-1:-1:-1;;;;;48086:11:0::1;::::0;48079:29:::1;::::0;1641:18:1;;48079:44:0::1;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:61;;48057:155;;;::::0;-1:-1:-1;;;48057:155:0;;3928:2:1;48057:155:0::1;::::0;::::1;3910:21:1::0;3967:2;3947:18;;;3940:30;4006:34;3986:18;;;3979:62;-1:-1:-1;;;4057:18:1;;;4050:42;4109:19;;48057:155:0::1;3726:408:1::0;48057:155:0::1;48232:11;::::0;48225:59:::1;::::0;-1:-1:-1;;;;;48232:11:0::1;48258:10;48270:13:::0;48225:32:::1;:59::i;:::-;48322:11;::::0;48315:44:::1;::::0;-1:-1:-1;;;48315:44:0;;48353:4:::1;48315:44;::::0;::::1;1668:51:1::0;48315:87:0::1;::::0;48378:13;;-1:-1:-1;;;;;48322:11:0;;::::1;::::0;48315:29:::1;::::0;1641:18:1;;48315:44:0::1;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:48:::0;::::1;:87::i;:::-;48295:17;:107:::0;;;48423:10:::1;48451:1;48413:21:::0;;;:9:::1;:21;::::0;;;;;;;:35;;::::1;:39:::0;;;;48504:15:::1;48463:38:::0;;;::::1;:56:::0;;;;48537:37;;2284:51:1;;;2351:18;;;2344:34;;;48537:37:0::1;::::0;2257:18:1;48537:37:0::1;;;;;;;-1:-1:-1::0;5426:1:0;6380:22;;47681:901::o;49262:292::-;2264:7;2291:6;-1:-1:-1;;;;;2291:6:0;1052:10;2438:23;2430:68;;;;-1:-1:-1;;;2430:68:0;;;;;;;:::i;:::-;49380:1:::1;49364:13;:17;:44;;;;;49402:6;49385:13;:23;;49364:44;49342:150;;;::::0;-1:-1:-1;;;49342:150:0;;5937:2:1;49342:150:0::1;::::0;::::1;5919:21:1::0;5976:2;5956:18;;;5949:30;6015:34;5995:18;;;5988:62;6086:26;6066:18;;;6059:54;6130:19;;49342:150:0::1;5735:420:1::0;49342:150:0::1;49521:25;:13:::0;49537:9:::1;49521:25;:::i;:::-;49503:15;:43:::0;-1:-1:-1;49262:292:0:o;45870:1253::-;5470:1;6068:7;;:19;;6060:63;;;;-1:-1:-1;;;6060:63:0;;;;;;;:::i;:::-;5470:1;6201:7;:18;45989:10:::1;50328:21:::0;;50324:329:::1;;-1:-1:-1::0;;;;;50370:18:0;::::1;;::::0;;;:9:::1;:18;::::0;;;;:34:::1;;::::0;50366:276:::1;;-1:-1:-1::0;;;;;50430:18:0;::::1;;::::0;;;:9:::1;:18;::::0;;;;50467:15:::1;50430:34;::::0;::::1;:52:::0;50501:29:::1;;:33:::0;50366:276:::1;;;50607:19;50618:7;50607:10;:19::i;:::-;-1:-1:-1::0;;;;;50575:18:0;::::1;;::::0;;;:9:::1;:18;::::0;;;;:29:::1;;:51:::0;50366:276:::1;46035:1:::2;46025:7;:11;46017:46;;;::::0;-1:-1:-1;;;46017:46:0;;8600:2:1;46017:46:0::2;::::0;::::2;8582:21:1::0;8639:2;8619:18;;;8612:30;-1:-1:-1;;;8658:18:1;;;8651:52;8720:18;;46017:46:0::2;8398:346:1::0;46017:46:0::2;46106:10;46096:21;::::0;;;:9:::2;:21;::::0;;;;:34;:45;-1:-1:-1;46096:45:0::2;46074:135;;;::::0;-1:-1:-1;;;46074:135:0;;4748:2:1;46074:135:0::2;::::0;::::2;4730:21:1::0;4787:2;4767:18;;;4760:30;4826:34;4806:18;;;4799:62;-1:-1:-1;;;4877:18:1;;;4870:38;4925:19;;46074:135:0::2;4546:404:1::0;46074:135:0::2;46262:10;46222:17;46252:21:::0;;;:9:::2;:21;::::0;;;;:32:::2;;::::0;46242:42:::2;::::0;:7;:42:::2;:::i;:::-;46222:62;;46301:11;46297:109;;;46341:53;46390:3;46341:44;46355:29;;46341:9;:13;;:44;;;;:::i;:53::-;46329:65;;46297:109;46465:10;46455:21;::::0;;;:9:::2;:21;::::0;;;;:48;:75:::2;::::0;46522:7;46455:66:::2;:75::i;:::-;46428:10;46418:21;::::0;;;:9:::2;:21;::::0;;;;:112;;;46541:32:::2;::::0;::::2;:36:::0;46628:15:::2;46588:37;::::0;;::::2;:55:::0;46656:215;::::2;;;46737:11;::::0;46730:55:::2;::::0;-1:-1:-1;;;;;46737:11:0::2;46763:10;46775:9:::0;46730:32:::2;:55::i;:::-;46805:33;::::0;;46816:10:::2;2284:51:1::0;;2366:2;2351:18;;2344:34;;;46805:33:0::2;::::0;2257:18:1;46805:33:0::2;;;;;;;46853:7;;;46656:215;46893:10;46883:21;::::0;;;:9:::2;:21;::::0;;;;;;;46924:15:::2;46883:38:::0;;::::2;:56:::0;;;;47001:35:::2;;::::0;:60:::2;::::0;47052:9;;47001:60:::2;:::i;:::-;46960:10;46950:21;::::0;;;:9:::2;:21;::::0;;;;;;;;:35:::2;;:111:::0;;;;47079:36;;2284:51:1;;;2351:18;;;2344:34;;;47079:36:0::2;::::0;2257:18:1;47079:36:0::2;;;;;;;46006:1117;50663:1;-1:-1:-1::0;;5426:1:0;6380:22;;-1:-1:-1;45870:1253:0:o;2869:103::-;2264:7;2291:6;-1:-1:-1;;;;;2291:6:0;1052:10;2438:23;2430:68;;;;-1:-1:-1;;;2430:68:0;;;;;;;:::i;:::-;2934:30:::1;2961:1;2934:18;:30::i;:::-;2869:103::o:0;45000:195::-;2264:7;2291:6;-1:-1:-1;;;;;2291:6:0;1052:10;2438:23;2430:68;;;;-1:-1:-1;;;2430:68:0;;;;;;;:::i;:::-;45077:13;45069:47:::1;;;::::0;-1:-1:-1;;;45069:47:0;;3171:2:1;45069:47:0::1;::::0;::::1;3153:21:1::0;3210:2;3190:18;;;3183:30;-1:-1:-1;;;3229:18:1;;;3222:51;3290:18;;45069:47:0::1;2969:345:1::0;45069:47:0::1;45127:10;:21:::0;;;45164:23:::1;::::0;8895:25:1;;;45164:23:0::1;::::0;8883:2:1;8868:18;45164:23:0::1;;;;;;;45000:195:::0;:::o;48905:349::-;49044:15;;-1:-1:-1;;;;;49009:15:0;;48968:7;49009:15;;;:9;:15;;;;;;;:32;;48968:7;;49079:15;;49009:50;;49044:15;49009:50;:::i;:::-;:85;49008:238;;49245:1;49008:238;;;49171:15;;-1:-1:-1;;;;;49115:15:0;;;;;;:9;:15;;;;;;;;:32;;49210:15;;49115:71;;;:::i;:::-;:110;;;;:::i;45203:614::-;5470:1;6068:7;;:19;;6060:63;;;;-1:-1:-1;;;6060:63:0;;;;;;;:::i;:::-;5470:1;6201:7;:18;45302:10:::1;50328:21:::0;;50324:329:::1;;-1:-1:-1::0;;;;;50370:18:0;::::1;;::::0;;;:9:::1;:18;::::0;;;;:34:::1;;::::0;50366:276:::1;;-1:-1:-1::0;;;;;50430:18:0;::::1;;::::0;;;:9:::1;:18;::::0;;;;50467:15:::1;50430:34;::::0;::::1;:52:::0;50501:29:::1;;:33:::0;50366:276:::1;;;50607:19;50618:7;50607:10;:19::i;:::-;-1:-1:-1::0;;;;;50575:18:0;::::1;;::::0;;;:9:::1;:18;::::0;;;;:29:::1;;:51:::0;50366:276:::1;45348:1:::2;45338:7;:11;45330:46;;;::::0;-1:-1:-1;;;45330:46:0;;8600:2:1;45330:46:0::2;::::0;::::2;8582:21:1::0;8639:2;8619:18;;;8612:30;-1:-1:-1;;;8658:18:1;;;8651:52;8720:18;;45330:46:0::2;8398:346:1::0;45330:46:0::2;45436:10;45426:21;::::0;;;:9:::2;:21;::::0;;;;:48;:75:::2;::::0;45493:7;45426:66:::2;:75::i;:::-;45399:10;45389:21;::::0;;;:9:::2;:21;::::0;;;;:112;;;45552:15:::2;45512:37;::::0;;::::2;:55:::0;45585:11;;45578:122:::2;::::0;-1:-1:-1;;;;;45585:11:0;;::::2;::::0;45662:4:::2;45682:7:::0;45578:36:::2;:122::i;:::-;45731:17;::::0;:30:::2;::::0;45753:7;45731:21:::2;:30::i;:::-;45711:17;:50:::0;45777:32:::2;::::0;;45789:10:::2;2284:51:1::0;;2366:2;2351:18;;2344:34;;;45777:32:0::2;::::0;2257:18:1;45777:32:0::2;2110:274:1::0;3127:238:0;2264:7;2291:6;-1:-1:-1;;;;;2291:6:0;1052:10;2438:23;2430:68;;;;-1:-1:-1;;;2430:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;3230:22:0;::::1;3208:110;;;::::0;-1:-1:-1;;;3208:110:0;;3521:2:1;3208:110:0::1;::::0;::::1;3503:21:1::0;3560:2;3540:18;;;3533:30;3599:34;3579:18;;;3572:62;-1:-1:-1;;;3650:18:1;;;3643:36;3696:19;;3208:110:0::1;3319:402:1::0;3208:110:0::1;3329:28;3348:8;3329:18;:28::i;:::-;3127:238:::0;:::o;10117:98::-;10175:7;10202:5;10206:1;10202;:5;:::i;10516:98::-;10574:7;10601:5;10605:1;10601;:5;:::i;9379:98::-;9437:7;9464:5;9468:1;9464;:5;:::i;39835:248::-;40006:58;;-1:-1:-1;;;;;2302:32:1;;40006:58:0;;;2284:51:1;2351:18;;;2344:34;;;39952:123:0;;39986:5;;-1:-1:-1;;;40029:23:0;2257:18:1;;40006:58:0;;;;-1:-1:-1;;40006:58:0;;;;;;;;;;;;;;-1:-1:-1;;;;;40006:58:0;-1:-1:-1;;;;;;40006:58:0;;;;;;;;;;39952:19;:123::i;:::-;39835:248;;;:::o;9760:98::-;9818:7;9845:5;9849:1;9845;:5;:::i;3525:191::-;3599:16;3618:6;;-1:-1:-1;;;;;3635:17:0;;;-1:-1:-1;;;;;;3635:17:0;;;;;;3668:40;;3618:6;;;;;;;3668:40;;3599:16;3668:40;3588:128;3525:191;:::o;40091:285::-;40289:68;;-1:-1:-1;;;;;1988:15:1;;;40289:68:0;;;1970:34:1;2040:15;;2020:18;;;2013:43;2072:18;;;2065:34;;;40235:133:0;;40269:5;;-1:-1:-1;;;40312:27:0;1905:18:1;;40289:68:0;1730:375:1;40235:133:0;40091:285;;;;:::o;42802:802::-;43226:23;43252:106;43294:4;43252:106;;;;;;;;;;;;;;;;;43260:5;-1:-1:-1;;;;;43252:27:0;;;:106;;;;;:::i;:::-;43373:17;;43226:132;;-1:-1:-1;43373:21:0;43369:228;;43488:10;43477:30;;;;;;;;;;;;:::i;:::-;43451:134;;;;-1:-1:-1;;;43451:134:0;;7829:2:1;43451:134:0;;;7811:21:1;7868:2;7848:18;;;7841:30;7907:34;7887:18;;;7880:62;-1:-1:-1;;;7958:18:1;;;7951:40;8008:19;;43451:134:0;7627:406:1;17492:229:0;17629:12;17661:52;17683:6;17691:4;17697:1;17700:12;17661:21;:52::i;:::-;17654:59;17492:229;-1:-1:-1;;;;17492:229:0:o;18708:571::-;18878:12;18950:5;18925:21;:30;;18903:118;;;;-1:-1:-1;;;18903:118:0;;4341:2:1;18903:118:0;;;4323:21:1;4380:2;4360:18;;;4353:30;4419:34;4399:18;;;4392:62;-1:-1:-1;;;4470:18:1;;;4463:36;4516:19;;18903:118:0;4139:402:1;18903:118:0;-1:-1:-1;;;;;14945:19:0;;;19032:60;;;;-1:-1:-1;;;19032:60:0;;7471:2:1;19032:60:0;;;7453:21:1;7510:2;7490:18;;;7483:30;7549:31;7529:18;;;7522:59;7598:18;;19032:60:0;7269:353:1;19032:60:0;19106:12;19120:23;19147:6;-1:-1:-1;;;;;19147:11:0;19166:5;19187:4;19147:55;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19105:97;;;;19220:51;19237:7;19246:10;19258:12;19220:16;:51::i;:::-;19213:58;18708:571;-1:-1:-1;;;;;;;18708:571:0:o;21668:712::-;21818:12;21847:7;21843:530;;;-1:-1:-1;21878:10:0;21871:17;;21843:530;21992:17;;:21;21988:374;;22190:10;22184:17;22251:15;22238:10;22234:2;22230:19;22223:44;21988:374;22333:12;22326:20;;-1:-1:-1;;;22326:20:0;;;;;;;;:::i;14:286:1:-;73:6;126:2;114:9;105:7;101:23;97:32;94:52;;;142:1;139;132:12;94:52;168:23;;-1:-1:-1;;;;;220:31:1;;210:42;;200:70;;266:1;263;256:12;305:245;372:6;425:2;413:9;404:7;400:23;396:32;393:52;;;441:1;438;431:12;393:52;473:9;467:16;492:28;514:5;492:28;:::i;555:180::-;614:6;667:2;655:9;646:7;642:23;638:32;635:52;;;683:1;680;673:12;635:52;-1:-1:-1;706:23:1;;555:180;-1:-1:-1;555:180:1:o;740:184::-;810:6;863:2;851:9;842:7;838:23;834:32;831:52;;;879:1;876;869:12;831:52;-1:-1:-1;902:16:1;;740:184;-1:-1:-1;740:184:1:o;929:309::-;994:6;1002;1055:2;1043:9;1034:7;1030:23;1026:32;1023:52;;;1071:1;1068;1061:12;1023:52;1107:9;1094:23;1084:33;;1167:2;1156:9;1152:18;1139:32;1180:28;1202:5;1180:28;:::i;:::-;1227:5;1217:15;;;929:309;;;;;:::o;1243:274::-;1372:3;1410:6;1404:13;1426:53;1472:6;1467:3;1460:4;1452:6;1448:17;1426:53;:::i;:::-;1495:16;;;;;1243:274;-1:-1:-1;;1243:274:1:o;2581:383::-;2730:2;2719:9;2712:21;2693:4;2762:6;2756:13;2805:6;2800:2;2789:9;2785:18;2778:34;2821:66;2880:6;2875:2;2864:9;2860:18;2855:2;2847:6;2843:15;2821:66;:::i;:::-;2948:2;2927:15;-1:-1:-1;;2923:29:1;2908:45;;;;2955:2;2904:54;;2581:383;-1:-1:-1;;2581:383:1:o;5374:356::-;5576:2;5558:21;;;5595:18;;;5588:30;5654:34;5649:2;5634:18;;5627:62;5721:2;5706:18;;5374:356::o;8038:355::-;8240:2;8222:21;;;8279:2;8259:18;;;8252:30;8318:33;8313:2;8298:18;;8291:61;8384:2;8369:18;;8038:355::o;9399:128::-;9439:3;9470:1;9466:6;9463:1;9460:13;9457:39;;;9476:18;;:::i;:::-;-1:-1:-1;9512:9:1;;9399:128::o;9532:217::-;9572:1;9598;9588:132;;9642:10;9637:3;9633:20;9630:1;9623:31;9677:4;9674:1;9667:15;9705:4;9702:1;9695:15;9588:132;-1:-1:-1;9734:9:1;;9532:217::o;9754:168::-;9794:7;9860:1;9856;9852:6;9848:14;9845:1;9842:21;9837:1;9830:9;9823:17;9819:45;9816:71;;;9867:18;;:::i;:::-;-1:-1:-1;9907:9:1;;9754:168::o;9927:125::-;9967:4;9995:1;9992;9989:8;9986:34;;;10000:18;;:::i;:::-;-1:-1:-1;10037:9:1;;9927:125::o;10057:258::-;10129:1;10139:113;10153:6;10150:1;10147:13;10139:113;;;10229:11;;;10223:18;10210:11;;;10203:39;10175:2;10168:10;10139:113;;;10270:6;10267:1;10264:13;10261:48;;;-1:-1:-1;;10305:1:1;10287:16;;10280:27;10057:258::o;10320:127::-;10381:10;10376:3;10372:20;10369:1;10362:31;10412:4;10409:1;10402:15;10436:4;10433:1;10426:15;10452:118;10538:5;10531:13;10524:21;10517:5;10514:32;10504:60;;10560:1;10557;10550:12

Swarm Source

ipfs://ab17d79bebb53beaa0ca113b10d0a31e057b0168438c1f4233a648e5f5b0ee17

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.