ETH Price: $3,389.01 (+1.24%)

Contract

0x98d9F08824798D7FD37BD0DD740069Baf31C37e7
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Withdraw213454562024-12-06 19:10:2317 days ago1733512223IN
0x98d9F088...af31C37e7
0 ETH0.0022566432.27883981
Withdraw213454312024-12-06 19:05:2317 days ago1733511923IN
0x98d9F088...af31C37e7
0 ETH0.0025700136.76123331
Withdraw211497382024-11-09 11:15:5944 days ago1731150959IN
0x98d9F088...af31C37e7
0 ETH0.000695439.95603284
Withdraw203875432024-07-26 1:49:59151 days ago1721958599IN
0x98d9F088...af31C37e7
0 ETH0.00019142.73790961
Withdraw200003512024-06-01 23:47:11205 days ago1717285631IN
0x98d9F088...af31C37e7
0 ETH0.000332814.75895989
Withdraw192975832024-02-24 12:56:23303 days ago1708779383IN
0x98d9F088...af31C37e7
0 ETH0.0016352423.4104304
Withdraw190826402024-01-25 9:09:35333 days ago1706173775IN
0x98d9F088...af31C37e7
0 ETH0.0036981952.90765042
Withdraw190117482024-01-15 10:40:35343 days ago1705315235IN
0x98d9F088...af31C37e7
0 ETH0.0014429420.64325205
Withdraw189885832024-01-12 4:58:23346 days ago1705035503IN
0x98d9F088...af31C37e7
0 ETH0.0009545514.6522836
Withdraw189631282024-01-08 15:17:35350 days ago1704727055IN
0x98d9F088...af31C37e7
0 ETH0.0014703322.56953186
Withdraw189200502024-01-02 13:39:47356 days ago1704202787IN
0x98d9F088...af31C37e7
0 ETH0.0013097818.73819394
Withdraw188949852023-12-30 1:08:59360 days ago1703898539IN
0x98d9F088...af31C37e7
0 ETH0.0010659416.36208117
Withdraw188493092023-12-23 15:09:23366 days ago1703344163IN
0x98d9F088...af31C37e7
0 ETH0.0018166725.98997172
Withdraw188213222023-12-19 16:56:23370 days ago1703004983IN
0x98d9F088...af31C37e7
0 ETH0.003277750.31247312
Withdraw187927022023-12-15 16:27:47374 days ago1702657667IN
0x98d9F088...af31C37e7
0 ETH0.00929961142.74812992
Withdraw187846682023-12-14 13:26:47375 days ago1702560407IN
0x98d9F088...af31C37e7
0 ETH0.0028534940.82312379
Withdraw187171872023-12-05 2:31:47385 days ago1701743507IN
0x98d9F088...af31C37e7
0 ETH0.0037478253.61775029
Withdraw186698982023-11-28 11:43:11391 days ago1701171791IN
0x98d9F088...af31C37e7
0 ETH0.0018615528.57464105
Withdraw186358692023-11-23 17:17:59396 days ago1700759879IN
0x98d9F088...af31C37e7
0 ETH0.0026912738.50239929
Withdraw186075842023-11-19 18:16:11400 days ago1700417771IN
0x98d9F088...af31C37e7
0 ETH0.00179127.49675511
Withdraw186059302023-11-19 12:43:23400 days ago1700397803IN
0x98d9F088...af31C37e7
0 ETH0.0010092115.49426793
Withdraw185890572023-11-17 3:55:47402 days ago1700193347IN
0x98d9F088...af31C37e7
0 ETH0.0013130520.15897721
Withdraw185694222023-11-14 10:03:23405 days ago1699956203IN
0x98d9F088...af31C37e7
0 ETH0.0023568833.71847822
Withdraw185070162023-11-05 16:32:59414 days ago1699201979IN
0x98d9F088...af31C37e7
0 ETH0.0016803125.79263442
Withdraw184787752023-11-01 17:34:11418 days ago1698860051IN
0x98d9F088...af31C37e7
0 ETH0.0023526933.65851245
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:
EggsFullProtec

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2023-02-17
*/

// SPDX-License-Identifier: MIT

// FULL PROTEC EGGS AT ALL COST.

// File: @openzeppelin/contracts/utils/Context.sol
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with 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/Ownable.sol


// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

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 Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        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/utils/Address.sol


// OpenZeppelin Contracts (last updated v4.8.0) (utils/Address.sol)

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 functionCallWithValue(target, data, 0, "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");
        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResultFromTarget(target, 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) {
        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResultFromTarget(target, 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) {
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling
     * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.
     *
     * _Available since v4.8._
     */
    function verifyCallResultFromTarget(
        address target,
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        if (success) {
            if (returndata.length == 0) {
                // only check isContract if the call was successful and the return data is empty
                // otherwise we already know that it was a contract
                require(isContract(target), "Address: call to non-contract");
            }
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    /**
     * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason or 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 {
            _revert(returndata, errorMessage);
        }
    }

    function _revert(bytes memory returndata, string memory errorMessage) private pure {
        // 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
            /// @solidity memory-safe-assembly
            assembly {
                let returndata_size := mload(returndata)
                revert(add(32, returndata), returndata_size)
            }
        } else {
            revert(errorMessage);
        }
    }
}

// File: @openzeppelin/contracts/token/ERC20/extensions/draft-IERC20Permit.sol


// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/draft-IERC20Permit.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in
 * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].
 *
 * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by
 * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't
 * need to send a transaction, and thus is not required to hold Ether at all.
 */
interface IERC20Permit {
    /**
     * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens,
     * given ``owner``'s signed approval.
     *
     * IMPORTANT: The same issues {IERC20-approve} has related to transaction
     * ordering also apply here.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `deadline` must be a timestamp in the future.
     * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner`
     * over the EIP712-formatted function arguments.
     * - the signature must use ``owner``'s current nonce (see {nonces}).
     *
     * For more information on the signature format, see the
     * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP
     * section].
     */
    function permit(
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external;

    /**
     * @dev Returns the current nonce for `owner`. This value must be
     * included whenever a signature is generated for {permit}.
     *
     * Every successful call to {permit} increases ``owner``'s nonce by one. This
     * prevents a signature from being used multiple times.
     */
    function nonces(address owner) external view returns (uint256);

    /**
     * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}.
     */
    // solhint-disable-next-line func-name-mixedcase
    function DOMAIN_SEPARATOR() external view returns (bytes32);
}

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


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

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @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);

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

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


// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/utils/SafeERC20.sol)

pragma solidity ^0.8.0;




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

    function safePermit(
        IERC20Permit token,
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal {
        uint256 nonceBefore = token.nonces(owner);
        token.permit(owner, spender, value, deadline, v, r, s);
        uint256 nonceAfter = token.nonces(owner);
        require(nonceAfter == nonceBefore + 1, "SafeERC20: permit did not succeed");
    }

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

// File: contracts/EggsFullProtec.sol


pragma solidity ^0.8.0;

interface IEggsToken {
    function mint(address to, uint256 amount) external;
    function totalSupply() external view returns (uint256);
    function transferUnderlying(address to, uint256 value) external returns (bool);
    function fragmentToEggs(uint256 value) external view returns (uint256);
    function eggsToFragment(uint256 eggs) external view returns (uint256);
    function balanceOfUnderlying(address who) external view returns (uint256);
    function burn(uint256 amount) external;
}

contract EggsFullProtec is Ownable {
    using SafeERC20 for IERC20;

    struct UserInfo {
        uint256 amount;
        uint256 lockEndedTimestamp;
    }

    IEggsToken public eggs;
    uint256 public lockDuration;
    uint256 public totalStaked;
    bool public depositsEnabled;

    // Info of each user.
    mapping(address => UserInfo) public userInfo;

    // Events
    event Deposit(address indexed user, uint256 amount);
    event Withdraw(address indexed user, uint256 amount);
    event LogSetLockDuration(uint256 lockDuration);
    event LogSetDepositsEnabled(bool enabled);

    constructor(IEggsToken _eggs, uint256 _lockDuration, bool _depositsEnabled) {
        eggs = _eggs;
        lockDuration = _lockDuration;
        depositsEnabled = _depositsEnabled;
    }

    function setDepositsEnabled(bool _enabled) external onlyOwner {
        depositsEnabled = _enabled;
        emit LogSetDepositsEnabled(_enabled);
    }

    function setLockDuration(uint256 _lockDuration) external onlyOwner {
      lockDuration = _lockDuration;
      emit LogSetLockDuration(_lockDuration);
    }

    function deposit(uint256 _amount) external {
        require(depositsEnabled, "deposits disabled");
        require(_amount > 0, "invalid amount");

        UserInfo storage user = userInfo[msg.sender];
        user.lockEndedTimestamp = block.timestamp + lockDuration;
        IERC20(address(eggs)).safeTransferFrom(address(msg.sender), address(this), _amount);
        eggs.burn(_amount);

        totalStaked += _amount;
        user.amount += _amount;
        emit Deposit(msg.sender, _amount);
    }

    function withdraw(uint256 _amount) external {
        require(_amount > 0, "invalid amount");

        UserInfo storage user = userInfo[msg.sender];
        require(user.lockEndedTimestamp <= block.timestamp, "still locked");
        require(user.amount >= _amount, "invalid amount");

        user.lockEndedTimestamp = block.timestamp + lockDuration;
        user.amount -= _amount;
        totalStaked -= _amount;
        eggs.mint(address(msg.sender), _amount);

        emit Withdraw(msg.sender, _amount);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"contract IEggsToken","name":"_eggs","type":"address"},{"internalType":"uint256","name":"_lockDuration","type":"uint256"},{"internalType":"bool","name":"_depositsEnabled","type":"bool"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"enabled","type":"bool"}],"name":"LogSetDepositsEnabled","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"lockDuration","type":"uint256"}],"name":"LogSetLockDuration","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdraw","type":"event"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"depositsEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"eggs","outputs":[{"internalType":"contract IEggsToken","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lockDuration","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_enabled","type":"bool"}],"name":"setDepositsEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_lockDuration","type":"uint256"}],"name":"setLockDuration","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"totalStaked","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":"address","name":"","type":"address"}],"name":"userInfo","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"lockEndedTimestamp","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405234801561001057600080fd5b50604051610c13380380610c1383398101604081905261002f916100c2565b61003833610072565b600180546001600160a01b0319166001600160a01b0394909416939093179092556002556004805460ff1916911515919091179055610116565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000806000606084860312156100d757600080fd5b83516001600160a01b03811681146100ee57600080fd5b602085015160408601519194509250801515811461010b57600080fd5b809150509250925092565b610aee806101256000396000f3fe608060405234801561001057600080fd5b50600436106100b45760003560e01c8063817b1cd211610071578063817b1cd21461015e5780638da5cb5b146101675780639f04586c1461018c578063b6b55f251461019f578063e33f76cf146101b2578063f2fde38b146101c557600080fd5b806304554443146100b95780631959a002146100d55780632e1a7d4d146101115780634eb665af146101265780635392fd1c14610139578063715018a614610156575b600080fd5b6100c260025481565b6040519081526020015b60405180910390f35b6100fc6100e336600461093f565b6005602052600090815260409020805460019091015482565b604080519283526020830191909152016100cc565b61012461011f36600461096f565b6101d8565b005b61012461013436600461096f565b610356565b6004546101469060ff1681565b60405190151581526020016100cc565b61012461039a565b6100c260035481565b6000546001600160a01b03165b6040516001600160a01b0390911681526020016100cc565b61012461019a366004610996565b6103ae565b6101246101ad36600461096f565b6103f7565b600154610174906001600160a01b031681565b6101246101d336600461093f565b610558565b600081116102015760405162461bcd60e51b81526004016101f8906109b3565b60405180910390fd5b33600090815260056020526040902060018101544210156102535760405162461bcd60e51b815260206004820152600c60248201526b1cdd1a5b1b081b1bd8dad95960a21b60448201526064016101f8565b80548211156102745760405162461bcd60e51b81526004016101f8906109b3565b60025461028190426109f1565b600182015580548290829060009061029a908490610a09565b9250508190555081600360008282546102b39190610a09565b90915550506001546040516340c10f1960e01b8152336004820152602481018490526001600160a01b03909116906340c10f1990604401600060405180830381600087803b15801561030457600080fd5b505af1158015610318573d6000803e3d6000fd5b50506040518481523392507f884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a942436491506020015b60405180910390a25050565b61035e6105d1565b60028190556040518181527fd117fef0d776cb27db2df7b7e87e1b900f5039c31eb524bb1446e943e5306eff906020015b60405180910390a150565b6103a26105d1565b6103ac600061062b565b565b6103b66105d1565b6004805460ff19168215159081179091556040519081527f415447f74696881c5449538f07d24542d1f37bc3ffaacd1095313e14d7b9ce489060200161038f565b60045460ff1661043d5760405162461bcd60e51b815260206004820152601160248201527019195c1bdcda5d1cc8191a5cd8589b1959607a1b60448201526064016101f8565b6000811161045d5760405162461bcd60e51b81526004016101f8906109b3565b33600090815260056020526040902060025461047990426109f1565b60018083019190915554610498906001600160a01b031633308561067b565b600154604051630852cd8d60e31b8152600481018490526001600160a01b03909116906342966c6890602401600060405180830381600087803b1580156104de57600080fd5b505af11580156104f2573d6000803e3d6000fd5b50505050816003600082825461050891906109f1565b90915550508054829082906000906105219084906109f1565b909155505060405182815233907fe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c9060200161034a565b6105606105d1565b6001600160a01b0381166105c55760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016101f8565b6105ce8161062b565b50565b6000546001600160a01b031633146103ac5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016101f8565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b604080516001600160a01b0385811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b1790526106d59085906106db565b50505050565b6000610730826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166107b29092919063ffffffff16565b8051909150156107ad578080602001905181019061074e9190610a20565b6107ad5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084016101f8565b505050565b60606107c184846000856107c9565b949350505050565b60608247101561082a5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b60648201526084016101f8565b600080866001600160a01b031685876040516108469190610a69565b60006040518083038185875af1925050503d8060008114610883576040519150601f19603f3d011682016040523d82523d6000602084013e610888565b606091505b5091509150610899878383876108a4565b979650505050505050565b60608315610910578251610909576001600160a01b0385163b6109095760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016101f8565b50816107c1565b6107c183838151156109255781518083602001fd5b8060405162461bcd60e51b81526004016101f89190610a85565b60006020828403121561095157600080fd5b81356001600160a01b038116811461096857600080fd5b9392505050565b60006020828403121561098157600080fd5b5035919050565b80151581146105ce57600080fd5b6000602082840312156109a857600080fd5b813561096881610988565b6020808252600e908201526d1a5b9d985b1a5908185b5bdd5b9d60921b604082015260600190565b634e487b7160e01b600052601160045260246000fd5b60008219821115610a0457610a046109db565b500190565b600082821015610a1b57610a1b6109db565b500390565b600060208284031215610a3257600080fd5b815161096881610988565b60005b83811015610a58578181015183820152602001610a40565b838111156106d55750506000910152565b60008251610a7b818460208701610a3d565b9190910192915050565b6020815260008251806020840152610aa4816040850160208701610a3d565b601f01601f1916919091016040019291505056fea264697066735822122047eef7feb9f3d5ede908d6601c3cbf3aea26372770326832d862c9df5218364264736f6c634300080900330000000000000000000000002e516ba5bf3b7ee47fb99b09eadb60bde80a82e00000000000000000000000000000000000000000000000000000000000093a800000000000000000000000000000000000000000000000000000000000000001

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100b45760003560e01c8063817b1cd211610071578063817b1cd21461015e5780638da5cb5b146101675780639f04586c1461018c578063b6b55f251461019f578063e33f76cf146101b2578063f2fde38b146101c557600080fd5b806304554443146100b95780631959a002146100d55780632e1a7d4d146101115780634eb665af146101265780635392fd1c14610139578063715018a614610156575b600080fd5b6100c260025481565b6040519081526020015b60405180910390f35b6100fc6100e336600461093f565b6005602052600090815260409020805460019091015482565b604080519283526020830191909152016100cc565b61012461011f36600461096f565b6101d8565b005b61012461013436600461096f565b610356565b6004546101469060ff1681565b60405190151581526020016100cc565b61012461039a565b6100c260035481565b6000546001600160a01b03165b6040516001600160a01b0390911681526020016100cc565b61012461019a366004610996565b6103ae565b6101246101ad36600461096f565b6103f7565b600154610174906001600160a01b031681565b6101246101d336600461093f565b610558565b600081116102015760405162461bcd60e51b81526004016101f8906109b3565b60405180910390fd5b33600090815260056020526040902060018101544210156102535760405162461bcd60e51b815260206004820152600c60248201526b1cdd1a5b1b081b1bd8dad95960a21b60448201526064016101f8565b80548211156102745760405162461bcd60e51b81526004016101f8906109b3565b60025461028190426109f1565b600182015580548290829060009061029a908490610a09565b9250508190555081600360008282546102b39190610a09565b90915550506001546040516340c10f1960e01b8152336004820152602481018490526001600160a01b03909116906340c10f1990604401600060405180830381600087803b15801561030457600080fd5b505af1158015610318573d6000803e3d6000fd5b50506040518481523392507f884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a942436491506020015b60405180910390a25050565b61035e6105d1565b60028190556040518181527fd117fef0d776cb27db2df7b7e87e1b900f5039c31eb524bb1446e943e5306eff906020015b60405180910390a150565b6103a26105d1565b6103ac600061062b565b565b6103b66105d1565b6004805460ff19168215159081179091556040519081527f415447f74696881c5449538f07d24542d1f37bc3ffaacd1095313e14d7b9ce489060200161038f565b60045460ff1661043d5760405162461bcd60e51b815260206004820152601160248201527019195c1bdcda5d1cc8191a5cd8589b1959607a1b60448201526064016101f8565b6000811161045d5760405162461bcd60e51b81526004016101f8906109b3565b33600090815260056020526040902060025461047990426109f1565b60018083019190915554610498906001600160a01b031633308561067b565b600154604051630852cd8d60e31b8152600481018490526001600160a01b03909116906342966c6890602401600060405180830381600087803b1580156104de57600080fd5b505af11580156104f2573d6000803e3d6000fd5b50505050816003600082825461050891906109f1565b90915550508054829082906000906105219084906109f1565b909155505060405182815233907fe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c9060200161034a565b6105606105d1565b6001600160a01b0381166105c55760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016101f8565b6105ce8161062b565b50565b6000546001600160a01b031633146103ac5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016101f8565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b604080516001600160a01b0385811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b1790526106d59085906106db565b50505050565b6000610730826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166107b29092919063ffffffff16565b8051909150156107ad578080602001905181019061074e9190610a20565b6107ad5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084016101f8565b505050565b60606107c184846000856107c9565b949350505050565b60608247101561082a5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b60648201526084016101f8565b600080866001600160a01b031685876040516108469190610a69565b60006040518083038185875af1925050503d8060008114610883576040519150601f19603f3d011682016040523d82523d6000602084013e610888565b606091505b5091509150610899878383876108a4565b979650505050505050565b60608315610910578251610909576001600160a01b0385163b6109095760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016101f8565b50816107c1565b6107c183838151156109255781518083602001fd5b8060405162461bcd60e51b81526004016101f89190610a85565b60006020828403121561095157600080fd5b81356001600160a01b038116811461096857600080fd5b9392505050565b60006020828403121561098157600080fd5b5035919050565b80151581146105ce57600080fd5b6000602082840312156109a857600080fd5b813561096881610988565b6020808252600e908201526d1a5b9d985b1a5908185b5bdd5b9d60921b604082015260600190565b634e487b7160e01b600052601160045260246000fd5b60008219821115610a0457610a046109db565b500190565b600082821015610a1b57610a1b6109db565b500390565b600060208284031215610a3257600080fd5b815161096881610988565b60005b83811015610a58578181015183820152602001610a40565b838111156106d55750506000910152565b60008251610a7b818460208701610a3d565b9190910192915050565b6020815260008251806020840152610aa4816040850160208701610a3d565b601f01601f1916919091016040019291505056fea264697066735822122047eef7feb9f3d5ede908d6601c3cbf3aea26372770326832d862c9df5218364264736f6c63430008090033

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

0000000000000000000000002e516ba5bf3b7ee47fb99b09eadb60bde80a82e00000000000000000000000000000000000000000000000000000000000093a800000000000000000000000000000000000000000000000000000000000000001

-----Decoded View---------------
Arg [0] : _eggs (address): 0x2e516BA5Bf3b7eE47fb99B09eaDb60BDE80a82e0
Arg [1] : _lockDuration (uint256): 604800
Arg [2] : _depositsEnabled (bool): True

-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 0000000000000000000000002e516ba5bf3b7ee47fb99b09eadb60bde80a82e0
Arg [1] : 0000000000000000000000000000000000000000000000000000000000093a80
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000001


Deployed Bytecode Sourcemap

23416:2200:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23616:27;;;;;;;;;160:25:1;;;148:2;133:18;23616:27:0;;;;;;;;23746:44;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;661:25:1;;;717:2;702:18;;695:34;;;;634:18;23746:44:0;487:248:1;25085:528:0;;;;;;:::i;:::-;;:::i;:::-;;24395:159;;;;;;:::i;:::-;;:::i;23683:27::-;;;;;;;;;;;;1090:14:1;;1083:22;1065:41;;1053:2;1038:18;23683:27:0;925:187:1;2843:103:0;;;:::i;23650:26::-;;;;;;2195:87;2241:7;2268:6;-1:-1:-1;;;;;2268:6:0;2195:87;;;-1:-1:-1;;;;;1281:32:1;;;1263:51;;1251:2;1236:18;2195:87:0;1117:203:1;24233:154:0;;;;;;:::i;:::-;;:::i;24562:515::-;;;;;;:::i;:::-;;:::i;23587:22::-;;;;;-1:-1:-1;;;;;23587:22:0;;;3101:201;;;;;;:::i;:::-;;:::i;25085:528::-;25158:1;25148:7;:11;25140:38;;;;-1:-1:-1;;;25140:38:0;;;;;;;:::i;:::-;;;;;;;;;25224:10;25191:21;25215:20;;;:8;:20;;;;;25254:23;;;;25281:15;-1:-1:-1;25254:42:0;25246:67;;;;-1:-1:-1;;;25246:67:0;;2465:2:1;25246:67:0;;;2447:21:1;2504:2;2484:18;;;2477:30;-1:-1:-1;;;2523:18:1;;;2516:42;2575:18;;25246:67:0;2263:336:1;25246:67:0;25332:11;;:22;-1:-1:-1;25332:22:0;25324:49;;;;-1:-1:-1;;;25324:49:0;;;;;;;:::i;:::-;25430:12;;25412:30;;:15;:30;:::i;:::-;25386:23;;;:56;25453:22;;25468:7;;25386:4;;25453:11;;:22;;25468:7;;25453:22;:::i;:::-;;;;;;;;25501:7;25486:11;;:22;;;;;;;:::i;:::-;;;;-1:-1:-1;;25519:4:0;;:39;;-1:-1:-1;;;25519:39:0;;25537:10;25519:39;;;3173:51:1;3240:18;;;3233:34;;;-1:-1:-1;;;;;25519:4:0;;;;:9;;3146:18:1;;25519:39:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;25576:29:0;;160:25:1;;;25585:10:0;;-1:-1:-1;25576:29:0;;-1:-1:-1;148:2:1;133:18;25576:29:0;;;;;;;;25129:484;25085:528;:::o;24395:159::-;2081:13;:11;:13::i;:::-;24471:12:::1;:28:::0;;;24513:33:::1;::::0;160:25:1;;;24513:33:0::1;::::0;148:2:1;133:18;24513:33:0::1;;;;;;;;24395:159:::0;:::o;2843:103::-;2081:13;:11;:13::i;:::-;2908:30:::1;2935:1;2908:18;:30::i;:::-;2843:103::o:0;24233:154::-;2081:13;:11;:13::i;:::-;24306:15:::1;:26:::0;;-1:-1:-1;;24306:26:0::1;::::0;::::1;;::::0;;::::1;::::0;;;24348:31:::1;::::0;1065:41:1;;;24348:31:0::1;::::0;1053:2:1;1038:18;24348:31:0::1;925:187:1::0;24562:515:0;24624:15;;;;24616:45;;;;-1:-1:-1;;;24616:45:0;;3480:2:1;24616:45:0;;;3462:21:1;3519:2;3499:18;;;3492:30;-1:-1:-1;;;3538:18:1;;;3531:47;3595:18;;24616:45:0;3278:341:1;24616:45:0;24690:1;24680:7;:11;24672:38;;;;-1:-1:-1;;;24672:38:0;;;;;;;:::i;:::-;24756:10;24723:21;24747:20;;;:8;:20;;;;;24822:12;;24804:30;;:15;:30;:::i;:::-;24778:23;;;;:56;;;;24860:4;24845:83;;-1:-1:-1;;;;;24860:4:0;24892:10;24913:4;24920:7;24845:38;:83::i;:::-;24939:4;;:18;;-1:-1:-1;;;24939:18:0;;;;;160:25:1;;;-1:-1:-1;;;;;24939:4:0;;;;:9;;133:18:1;;24939::0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24985:7;24970:11;;:22;;;;;;;:::i;:::-;;;;-1:-1:-1;;25003:22:0;;25018:7;;25003:4;;:11;;:22;;25018:7;;25003:22;:::i;:::-;;;;-1:-1:-1;;25041:28:0;;160:25:1;;;25049:10:0;;25041:28;;148:2:1;133:18;25041:28:0;14:177:1;3101:201:0;2081:13;:11;:13::i;:::-;-1:-1:-1;;;;;3190:22:0;::::1;3182:73;;;::::0;-1:-1:-1;;;3182:73:0;;3826:2:1;3182:73:0::1;::::0;::::1;3808:21:1::0;3865:2;3845:18;;;3838:30;3904:34;3884:18;;;3877:62;-1:-1:-1;;;3955:18:1;;;3948:36;4001:19;;3182:73:0::1;3624:402:1::0;3182:73:0::1;3266:28;3285:8;3266:18;:28::i;:::-;3101:201:::0;:::o;2360:132::-;2241:7;2268:6;-1:-1:-1;;;;;2268:6:0;826:10;2424:23;2416:68;;;;-1:-1:-1;;;2416:68:0;;4233:2:1;2416:68:0;;;4215:21:1;;;4252:18;;;4245:30;4311:34;4291:18;;;4284:62;4363:18;;2416:68:0;4031:356:1;3462:191:0;3536:16;3555:6;;-1:-1:-1;;;;;3572:17:0;;;-1:-1:-1;;;;;;3572:17:0;;;;;;3605:40;;3555:6;;;;;;;3605:40;;3536:16;3605:40;3525:128;3462:191;:::o;19265:248::-;19436:68;;;-1:-1:-1;;;;;4650:15:1;;;19436:68:0;;;4632:34:1;4702:15;;4682:18;;;4675:43;4734:18;;;;4727:34;;;19436:68:0;;;;;;;;;;4567:18:1;;;;19436:68:0;;;;;;;;-1:-1:-1;;;;;19436:68:0;-1:-1:-1;;;19436:68:0;;;19409:96;;19429:5;;19409:19;:96::i;:::-;19265:248;;;;:::o;22113:716::-;22537:23;22563:69;22591:4;22563:69;;;;;;;;;;;;;;;;;22571:5;-1:-1:-1;;;;;22563:27:0;;;:69;;;;;:::i;:::-;22647:17;;22537:95;;-1:-1:-1;22647:21:0;22643:179;;22744:10;22733:30;;;;;;;;;;;;:::i;:::-;22725:85;;;;-1:-1:-1;;;22725:85:0;;5224:2:1;22725:85:0;;;5206:21:1;5263:2;5243:18;;;5236:30;5302:34;5282:18;;;5275:62;-1:-1:-1;;;5353:18:1;;;5346:40;5403:19;;22725:85:0;5022:406:1;22725:85:0;22183:646;22113:716;;:::o;7650:229::-;7787:12;7819:52;7841:6;7849:4;7855:1;7858:12;7819:21;:52::i;:::-;7812:59;7650:229;-1:-1:-1;;;;7650:229:0:o;8770:455::-;8940:12;8998:5;8973:21;:30;;8965:81;;;;-1:-1:-1;;;8965:81:0;;5635:2:1;8965:81:0;;;5617:21:1;5674:2;5654:18;;;5647:30;5713:34;5693:18;;;5686:62;-1:-1:-1;;;5764:18:1;;;5757:36;5810:19;;8965:81:0;5433:402:1;8965:81:0;9058:12;9072:23;9099:6;-1:-1:-1;;;;;9099:11:0;9118:5;9125:4;9099:31;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9057:73;;;;9148:69;9175:6;9183:7;9192:10;9204:12;9148:26;:69::i;:::-;9141:76;8770:455;-1:-1:-1;;;;;;;8770:455:0:o;11343:644::-;11528:12;11557:7;11553:427;;;11585:17;;11581:290;;-1:-1:-1;;;;;5188:19:0;;;11795:60;;;;-1:-1:-1;;;11795:60:0;;6584:2:1;11795:60:0;;;6566:21:1;6623:2;6603:18;;;6596:30;6662:31;6642:18;;;6635:59;6711:18;;11795:60:0;6382:353:1;11795:60:0;-1:-1:-1;11892:10:0;11885:17;;11553:427;11935:33;11943:10;11955:12;12690:17;;:21;12686:388;;12922:10;12916:17;12979:15;12966:10;12962:2;12958:19;12951:44;12686:388;13049:12;13042:20;;-1:-1:-1;;;13042:20:0;;;;;;;;:::i;196:286:1:-;255:6;308:2;296:9;287:7;283:23;279:32;276:52;;;324:1;321;314:12;276:52;350:23;;-1:-1:-1;;;;;402:31:1;;392:42;;382:70;;448:1;445;438:12;382:70;471:5;196:286;-1:-1:-1;;;196:286:1:o;740:180::-;799:6;852:2;840:9;831:7;827:23;823:32;820:52;;;868:1;865;858:12;820:52;-1:-1:-1;891:23:1;;740:180;-1:-1:-1;740:180:1:o;1325:118::-;1411:5;1404:13;1397:21;1390:5;1387:32;1377:60;;1433:1;1430;1423:12;1448:241;1504:6;1557:2;1545:9;1536:7;1532:23;1528:32;1525:52;;;1573:1;1570;1563:12;1525:52;1612:9;1599:23;1631:28;1653:5;1631:28;:::i;1920:338::-;2122:2;2104:21;;;2161:2;2141:18;;;2134:30;-1:-1:-1;;;2195:2:1;2180:18;;2173:44;2249:2;2234:18;;1920:338::o;2604:127::-;2665:10;2660:3;2656:20;2653:1;2646:31;2696:4;2693:1;2686:15;2720:4;2717:1;2710:15;2736:128;2776:3;2807:1;2803:6;2800:1;2797:13;2794:39;;;2813:18;;:::i;:::-;-1:-1:-1;2849:9:1;;2736:128::o;2869:125::-;2909:4;2937:1;2934;2931:8;2928:34;;;2942:18;;:::i;:::-;-1:-1:-1;2979:9:1;;2869:125::o;4772:245::-;4839:6;4892:2;4880:9;4871:7;4867:23;4863:32;4860:52;;;4908:1;4905;4898:12;4860:52;4940:9;4934:16;4959:28;4981:5;4959:28;:::i;5840:258::-;5912:1;5922:113;5936:6;5933:1;5930:13;5922:113;;;6012:11;;;6006:18;5993:11;;;5986:39;5958:2;5951:10;5922:113;;;6053:6;6050:1;6047:13;6044:48;;;-1:-1:-1;;6088:1:1;6070:16;;6063:27;5840:258::o;6103:274::-;6232:3;6270:6;6264:13;6286:53;6332:6;6327:3;6320:4;6312:6;6308:17;6286:53;:::i;:::-;6355:16;;;;;6103:274;-1:-1:-1;;6103:274:1:o;6740:383::-;6889:2;6878:9;6871:21;6852:4;6921:6;6915:13;6964:6;6959:2;6948:9;6944:18;6937:34;6980:66;7039:6;7034:2;7023:9;7019:18;7014:2;7006:6;7002:15;6980:66;:::i;:::-;7107:2;7086:15;-1:-1:-1;;7082:29:1;7067:45;;;;7114:2;7063:54;;6740:383;-1:-1:-1;;6740:383:1:o

Swarm Source

ipfs://47eef7feb9f3d5ede908d6601c3cbf3aea26372770326832d862c9df52183642

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.