ETH Price: $3,659.15 (+17.15%)
Gas: 7 Gwei

Contract

0xfFEE087852cb4898e6c3532E776e68BC68b1143B
 
Transaction Hash
Method
Block
From
To
Value
Collect Reward199160272024-05-21 4:54:476 mins ago1716267287IN
stakefish: Fee Recipient
0 ETH0.000675057.97136394
Transfer199160122024-05-21 4:51:479 mins ago1716267107IN
stakefish: Fee Recipient
0.04098689 ETH0.000144256.85862943
Collect Reward199159622024-05-21 4:41:4719 mins ago1716266507IN
stakefish: Fee Recipient
0 ETH0.00069557.83655756
Transfer199157932024-05-21 4:07:4753 mins ago1716264467IN
stakefish: Fee Recipient
0.02251707 ETH0.000190779.07047979
Transfer199156102024-05-21 3:30:591 hr ago1716262259IN
stakefish: Fee Recipient
0.46015934 ETH0.0002202210.47037842
Transfer199155782024-05-21 3:24:351 hr ago1716261875IN
stakefish: Fee Recipient
0.02622422 ETH0.000199819.50018335
Transfer199155682024-05-21 3:22:351 hr ago1716261755IN
stakefish: Fee Recipient
0.03703945 ETH0.000204779.73599853
Transfer199155082024-05-21 3:10:351 hr ago1716261035IN
stakefish: Fee Recipient
0.087685 ETH0.000172658.20872631
Transfer199154832024-05-21 3:05:351 hr ago1716260735IN
stakefish: Fee Recipient
0.02524558 ETH0.000203529.67623796
Transfer199154562024-05-21 2:59:592 hrs ago1716260399IN
stakefish: Fee Recipient
0.04651799 ETH0.000204129.70494526
Transfer199154562024-05-21 2:59:592 hrs ago1716260399IN
stakefish: Fee Recipient
1 wei0.02075957987
Transfer199153902024-05-21 2:46:472 hrs ago1716259607IN
stakefish: Fee Recipient
0.01999088 ETH0.0002283710.85798222
Transfer199153842024-05-21 2:45:352 hrs ago1716259535IN
stakefish: Fee Recipient
0.01619814 ETH0.0002403411.42683257
Transfer199153702024-05-21 2:42:472 hrs ago1716259367IN
stakefish: Fee Recipient
0.1547749 ETH0.0002425311.53115007
Transfer199153542024-05-21 2:39:232 hrs ago1716259163IN
stakefish: Fee Recipient
0.04502408 ETH0.000299814.25387798
Transfer199153412024-05-21 2:36:472 hrs ago1716259007IN
stakefish: Fee Recipient
0.40756532 ETH0.0002437411.58892793
Transfer199152982024-05-21 2:27:592 hrs ago1716258479IN
stakefish: Fee Recipient
0.01419218 ETH0.0002220810.55892914
Transfer199151632024-05-21 2:00:593 hrs ago1716256859IN
stakefish: Fee Recipient
0.09431761 ETH0.0002791313.27114927
Transfer199151512024-05-21 1:58:353 hrs ago1716256715IN
stakefish: Fee Recipient
0.32365921 ETH0.0002316811.01516794
Transfer199151362024-05-21 1:55:353 hrs ago1716256535IN
stakefish: Fee Recipient
0.05545741 ETH0.0002344911.14909772
Transfer199150122024-05-21 1:30:473 hrs ago1716255047IN
stakefish: Fee Recipient
0.0450676 ETH0.0003727517.72257793
Transfer199149742024-05-21 1:22:593 hrs ago1716254579IN
stakefish: Fee Recipient
0.02377499 ETH0.0003616217.19327776
Transfer199149572024-05-21 1:19:353 hrs ago1716254375IN
stakefish: Fee Recipient
0.0514375 ETH0.000340116.17024637
Transfer199149572024-05-21 1:19:353 hrs ago1716254375IN
stakefish: Fee Recipient
1 wei0.00454312216
Transfer199149432024-05-21 1:16:473 hrs ago1716254207IN
stakefish: Fee Recipient
0.420717 ETH0.0003889218.49140689
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To Value
199160452024-05-21 4:58:232 mins ago1716267503
stakefish: Fee Recipient
0.07111885 ETH
199160272024-05-21 4:54:476 mins ago1716267287
stakefish: Fee Recipient
0.0791312 ETH
199159622024-05-21 4:41:4719 mins ago1716266507
stakefish: Fee Recipient
1.52815705 ETH
199148992024-05-21 1:07:473 hrs ago1716253667
stakefish: Fee Recipient
0.06761108 ETH
199122042024-05-20 16:02:5912 hrs ago1716220979
stakefish: Fee Recipient
1.46719927 ETH
199092242024-05-20 6:03:1122 hrs ago1716184991
stakefish: Fee Recipient
0.01220388 ETH
199076352024-05-20 0:43:4728 hrs ago1716165827
stakefish: Fee Recipient
0.00250872 ETH
199076352024-05-20 0:43:4728 hrs ago1716165827
stakefish: Fee Recipient
0.00501745 ETH
198991322024-05-18 20:12:232 days ago1716063143
stakefish: Fee Recipient
0.03600664 ETH
198985622024-05-18 18:16:592 days ago1716056219
stakefish: Fee Recipient
0.07445878 ETH
198950932024-05-18 6:37:472 days ago1716014267
stakefish: Fee Recipient
0.07826266 ETH
198950932024-05-18 6:37:472 days ago1716014267
stakefish: Fee Recipient
0.07826266 ETH
198950932024-05-18 6:37:472 days ago1716014267
stakefish: Fee Recipient
0.07826266 ETH
198950932024-05-18 6:37:472 days ago1716014267
stakefish: Fee Recipient
0.07826266 ETH
198950932024-05-18 6:37:472 days ago1716014267
stakefish: Fee Recipient
0.704364 ETH
198950872024-05-18 6:36:352 days ago1716014195
stakefish: Fee Recipient
0.28752396 ETH
198950732024-05-18 6:33:472 days ago1716014027
stakefish: Fee Recipient
0.56276348 ETH
198936082024-05-18 1:38:113 days ago1715996291
stakefish: Fee Recipient
0.11795709 ETH
198935672024-05-18 1:29:473 days ago1715995787
stakefish: Fee Recipient
0.11796191 ETH
198935382024-05-18 1:23:593 days ago1715995439
stakefish: Fee Recipient
0.07962188 ETH
198911622024-05-17 17:24:473 days ago1715966687
stakefish: Fee Recipient
0.09650161 ETH
198889962024-05-17 10:08:353 days ago1715940515
stakefish: Fee Recipient
0.15583992 ETH
198878432024-05-17 6:15:113 days ago1715926511
stakefish: Fee Recipient
0.10893295 ETH
198870932024-05-17 3:43:594 days ago1715917439
stakefish: Fee Recipient
10 ETH
198856922024-05-16 23:03:114 days ago1715900591
stakefish: Fee Recipient
0.03203091 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
ERC1967ProxyWithReceive

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license
File 1 of 7 : ERC1967ProxyWithReceive.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.7;

import "ERC1967Upgrade.sol";
import "Proxy.sol";

contract ERC1967ProxyWithReceive is Proxy, ERC1967Upgrade {
    /**
     * @dev Initializes the upgradeable proxy with an initial implementation specified by `_logic`.
     *
     * If `_data` is nonempty, it's used as data in a delegate call to `_logic`. This will typically be an encoded
     * function call, and allows initializing the storage of the proxy like a Solidity constructor.
     */
    constructor(address _logic, bytes memory _data) payable {
        _upgradeToAndCall(_logic, _data, false);
    }

    /**
     * @dev Returns the current implementation address.
     */
    function _implementation() internal view virtual override returns (address impl) {
        return ERC1967Upgrade._getImplementation();
    }

    receive() override external payable {}
}

File 3 of 7 : ERC1967Upgrade.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (proxy/ERC1967/ERC1967Upgrade.sol)

pragma solidity ^0.8.2;

import "IBeacon.sol";
import "draft-IERC1822.sol";
import "Address.sol";
import "StorageSlot.sol";

/**
 * @dev This abstract contract provides getters and event emitting update functions for
 * https://eips.ethereum.org/EIPS/eip-1967[EIP1967] slots.
 *
 * _Available since v4.1._
 *
 * @custom:oz-upgrades-unsafe-allow delegatecall
 */
abstract contract ERC1967Upgrade {
    // This is the keccak-256 hash of "eip1967.proxy.rollback" subtracted by 1
    bytes32 private constant _ROLLBACK_SLOT = 0x4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd9143;

    /**
     * @dev Storage slot with the address of the current implementation.
     * This is the keccak-256 hash of "eip1967.proxy.implementation" subtracted by 1, and is
     * validated in the constructor.
     */
    bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;

    /**
     * @dev Emitted when the implementation is upgraded.
     */
    event Upgraded(address indexed implementation);

    /**
     * @dev Returns the current implementation address.
     */
    function _getImplementation() internal view returns (address) {
        return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value;
    }

    /**
     * @dev Stores a new address in the EIP1967 implementation slot.
     */
    function _setImplementation(address newImplementation) private {
        require(Address.isContract(newImplementation), "ERC1967: new implementation is not a contract");
        StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation;
    }

    /**
     * @dev Perform implementation upgrade
     *
     * Emits an {Upgraded} event.
     */
    function _upgradeTo(address newImplementation) internal {
        _setImplementation(newImplementation);
        emit Upgraded(newImplementation);
    }

    /**
     * @dev Perform implementation upgrade with additional setup call.
     *
     * Emits an {Upgraded} event.
     */
    function _upgradeToAndCall(
        address newImplementation,
        bytes memory data,
        bool forceCall
    ) internal {
        _upgradeTo(newImplementation);
        if (data.length > 0 || forceCall) {
            Address.functionDelegateCall(newImplementation, data);
        }
    }

    /**
     * @dev Perform implementation upgrade with security checks for UUPS proxies, and additional setup call.
     *
     * Emits an {Upgraded} event.
     */
    function _upgradeToAndCallUUPS(
        address newImplementation,
        bytes memory data,
        bool forceCall
    ) internal {
        // Upgrades from old implementations will perform a rollback test. This test requires the new
        // implementation to upgrade back to the old, non-ERC1822 compliant, implementation. Removing
        // this special case will break upgrade paths from old UUPS implementation to new ones.
        if (StorageSlot.getBooleanSlot(_ROLLBACK_SLOT).value) {
            _setImplementation(newImplementation);
        } else {
            try IERC1822Proxiable(newImplementation).proxiableUUID() returns (bytes32 slot) {
                require(slot == _IMPLEMENTATION_SLOT, "ERC1967Upgrade: unsupported proxiableUUID");
            } catch {
                revert("ERC1967Upgrade: new implementation is not UUPS");
            }
            _upgradeToAndCall(newImplementation, data, forceCall);
        }
    }

    /**
     * @dev Storage slot with the admin of the contract.
     * This is the keccak-256 hash of "eip1967.proxy.admin" subtracted by 1, and is
     * validated in the constructor.
     */
    bytes32 internal constant _ADMIN_SLOT = 0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103;

    /**
     * @dev Emitted when the admin account has changed.
     */
    event AdminChanged(address previousAdmin, address newAdmin);

    /**
     * @dev Returns the current admin.
     */
    function _getAdmin() internal view returns (address) {
        return StorageSlot.getAddressSlot(_ADMIN_SLOT).value;
    }

    /**
     * @dev Stores a new address in the EIP1967 admin slot.
     */
    function _setAdmin(address newAdmin) private {
        require(newAdmin != address(0), "ERC1967: new admin is the zero address");
        StorageSlot.getAddressSlot(_ADMIN_SLOT).value = newAdmin;
    }

    /**
     * @dev Changes the admin of the proxy.
     *
     * Emits an {AdminChanged} event.
     */
    function _changeAdmin(address newAdmin) internal {
        emit AdminChanged(_getAdmin(), newAdmin);
        _setAdmin(newAdmin);
    }

    /**
     * @dev The storage slot of the UpgradeableBeacon contract which defines the implementation for this proxy.
     * This is bytes32(uint256(keccak256('eip1967.proxy.beacon')) - 1)) and is validated in the constructor.
     */
    bytes32 internal constant _BEACON_SLOT = 0xa3f0ad74e5423aebfd80d3ef4346578335a9a72aeaee59ff6cb3582b35133d50;

    /**
     * @dev Emitted when the beacon is upgraded.
     */
    event BeaconUpgraded(address indexed beacon);

    /**
     * @dev Returns the current beacon.
     */
    function _getBeacon() internal view returns (address) {
        return StorageSlot.getAddressSlot(_BEACON_SLOT).value;
    }

    /**
     * @dev Stores a new beacon in the EIP1967 beacon slot.
     */
    function _setBeacon(address newBeacon) private {
        require(Address.isContract(newBeacon), "ERC1967: new beacon is not a contract");
        require(
            Address.isContract(IBeacon(newBeacon).implementation()),
            "ERC1967: beacon implementation is not a contract"
        );
        StorageSlot.getAddressSlot(_BEACON_SLOT).value = newBeacon;
    }

    /**
     * @dev Perform beacon upgrade with additional setup call. Note: This upgrades the address of the beacon, it does
     * not upgrade the implementation contained in the beacon (see {UpgradeableBeacon-_setImplementation} for that).
     *
     * Emits a {BeaconUpgraded} event.
     */
    function _upgradeBeaconToAndCall(
        address newBeacon,
        bytes memory data,
        bool forceCall
    ) internal {
        _setBeacon(newBeacon);
        emit BeaconUpgraded(newBeacon);
        if (data.length > 0 || forceCall) {
            Address.functionDelegateCall(IBeacon(newBeacon).implementation(), data);
        }
    }
}

File 4 of 7 : IBeacon.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (proxy/beacon/IBeacon.sol)

pragma solidity ^0.8.0;

/**
 * @dev This is the interface that {BeaconProxy} expects of its beacon.
 */
interface IBeacon {
    /**
     * @dev Must return an address that can be used as a delegate call target.
     *
     * {BeaconProxy} will check that this address is a contract.
     */
    function implementation() external view returns (address);
}

File 5 of 7 : draft-IERC1822.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (interfaces/draft-IERC1822.sol)

pragma solidity ^0.8.0;

/**
 * @dev ERC1822: Universal Upgradeable Proxy Standard (UUPS) documents a method for upgradeability through a simplified
 * proxy whose upgrades are fully controlled by the current implementation.
 */
interface IERC1822Proxiable {
    /**
     * @dev Returns the storage slot that the proxiable contract assumes is being used to store the implementation
     * address.
     *
     * IMPORTANT: A proxy pointing at a proxiable contract should not be considered proxiable itself, because this risks
     * bricking a proxy that upgrades to it, by delegating to itself until out of gas. Thus it is critical that this
     * function revert if invoked through a proxy.
     */
    function proxiableUUID() external view returns (bytes32);
}

File 6 of 7 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.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 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 7 of 7 : StorageSlot.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/StorageSlot.sol)

pragma solidity ^0.8.0;

/**
 * @dev Library for reading and writing primitive types to specific storage slots.
 *
 * Storage slots are often used to avoid storage conflict when dealing with upgradeable contracts.
 * This library helps with reading and writing to such slots without the need for inline assembly.
 *
 * The functions in this library return Slot structs that contain a `value` member that can be used to read or write.
 *
 * Example usage to set ERC1967 implementation slot:
 * ```
 * contract ERC1967 {
 *     bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;
 *
 *     function _getImplementation() internal view returns (address) {
 *         return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value;
 *     }
 *
 *     function _setImplementation(address newImplementation) internal {
 *         require(Address.isContract(newImplementation), "ERC1967: new implementation is not a contract");
 *         StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation;
 *     }
 * }
 * ```
 *
 * _Available since v4.1 for `address`, `bool`, `bytes32`, and `uint256`._
 */
library StorageSlot {
    struct AddressSlot {
        address value;
    }

    struct BooleanSlot {
        bool value;
    }

    struct Bytes32Slot {
        bytes32 value;
    }

    struct Uint256Slot {
        uint256 value;
    }

    /**
     * @dev Returns an `AddressSlot` with member `value` located at `slot`.
     */
    function getAddressSlot(bytes32 slot) internal pure returns (AddressSlot storage r) {
        assembly {
            r.slot := slot
        }
    }

    /**
     * @dev Returns an `BooleanSlot` with member `value` located at `slot`.
     */
    function getBooleanSlot(bytes32 slot) internal pure returns (BooleanSlot storage r) {
        assembly {
            r.slot := slot
        }
    }

    /**
     * @dev Returns an `Bytes32Slot` with member `value` located at `slot`.
     */
    function getBytes32Slot(bytes32 slot) internal pure returns (Bytes32Slot storage r) {
        assembly {
            r.slot := slot
        }
    }

    /**
     * @dev Returns an `Uint256Slot` with member `value` located at `slot`.
     */
    function getUint256Slot(bytes32 slot) internal pure returns (Uint256Slot storage r) {
        assembly {
            r.slot := slot
        }
    }
}

File 8 of 7 : Proxy.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (proxy/Proxy.sol)

pragma solidity ^0.8.0;

/**
 * @dev This abstract contract provides a fallback function that delegates all calls to another contract using the EVM
 * instruction `delegatecall`. We refer to the second contract as the _implementation_ behind the proxy, and it has to
 * be specified by overriding the virtual {_implementation} function.
 *
 * Additionally, delegation to the implementation can be triggered manually through the {_fallback} function, or to a
 * different contract through the {_delegate} function.
 *
 * The success and return data of the delegated call will be returned back to the caller of the proxy.
 */
abstract contract Proxy {
    /**
     * @dev Delegates the current call to `implementation`.
     *
     * This function does not return to its internal call site, it will return directly to the external caller.
     */
    function _delegate(address implementation) internal virtual {
        assembly {
            // Copy msg.data. We take full control of memory in this inline assembly
            // block because it will not return to Solidity code. We overwrite the
            // Solidity scratch pad at memory position 0.
            calldatacopy(0, 0, calldatasize())

            // Call the implementation.
            // out and outsize are 0 because we don't know the size yet.
            let result := delegatecall(gas(), implementation, 0, calldatasize(), 0, 0)

            // Copy the returned data.
            returndatacopy(0, 0, returndatasize())

            switch result
            // delegatecall returns 0 on error.
            case 0 {
                revert(0, returndatasize())
            }
            default {
                return(0, returndatasize())
            }
        }
    }

    /**
     * @dev This is a virtual function that should be overridden so it returns the address to which the fallback function
     * and {_fallback} should delegate.
     */
    function _implementation() internal view virtual returns (address);

    /**
     * @dev Delegates the current call to the address returned by `_implementation()`.
     *
     * This function does not return to its internal call site, it will return directly to the external caller.
     */
    function _fallback() internal virtual {
        _beforeFallback();
        _delegate(_implementation());
    }

    /**
     * @dev Fallback function that delegates calls to the address returned by `_implementation()`. Will run if no other
     * function in the contract matches the call data.
     */
    fallback() external payable virtual {
        _fallback();
    }

    /**
     * @dev Fallback function that delegates calls to the address returned by `_implementation()`. Will run if call data
     * is empty.
     */
    receive() external payable virtual {
        _fallback();
    }

    /**
     * @dev Hook that is called before falling back to the implementation. Can happen as part of a manual `_fallback`
     * call, or as part of the Solidity `fallback` or `receive` functions.
     *
     * If overridden should call `super._beforeFallback()`.
     */
    function _beforeFallback() internal virtual {}
}

Settings
{
  "evmVersion": "istanbul",
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "libraries": {
    "ERC1967ProxyWithReceive.sol": {}
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_logic","type":"address"},{"internalType":"bytes","name":"_data","type":"bytes"}],"stateMutability":"payable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"previousAdmin","type":"address"},{"indexed":false,"internalType":"address","name":"newAdmin","type":"address"}],"name":"AdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"beacon","type":"address"}],"name":"BeaconUpgraded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"implementation","type":"address"}],"name":"Upgraded","type":"event"},{"stateMutability":"payable","type":"fallback"},{"stateMutability":"payable","type":"receive"}]

608060405260405161071f38038061071f833981016040819052610022916102d2565b61002e82826000610035565b5050610431565b61003e8361006b565b60008251118061004b5750805b156100665761006483836100ab60201b6100271760201c565b505b505050565b610074816100d7565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b60606100d083836040518060600160405280602781526020016106f8602791396101a9565b9392505050565b6100ea8161028760201b6100531760201c565b6101515760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b60648201526084015b60405180910390fd5b806101887f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc60001b61029660201b6100621760201c565b80546001600160a01b0319166001600160a01b039290921691909117905550565b60606001600160a01b0384163b6102115760405162461bcd60e51b815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6044820152651b9d1c9858dd60d21b6064820152608401610148565b600080856001600160a01b03168560405161022c91906103a0565b600060405180830381855af49150503d8060008114610267576040519150601f19603f3d011682016040523d82523d6000602084013e61026c565b606091505b50909250905061027d828286610299565b9695505050505050565b6001600160a01b03163b151590565b90565b606083156102a85750816100d0565b8251156102b85782518084602001fd5b8160405162461bcd60e51b815260040161014891906103bc565b600080604083850312156102e557600080fd5b82516001600160a01b03811681146102fc57600080fd5b60208401519092506001600160401b038082111561031957600080fd5b818501915085601f83011261032d57600080fd5b81518181111561033f5761033f61041b565b604051601f8201601f19908116603f011681019083821181831017156103675761036761041b565b8160405282815288602084870101111561038057600080fd5b6103918360208301602088016103ef565b80955050505050509250929050565b600082516103b28184602087016103ef565b9190910192915050565b60208152600082518060208401526103db8160408501602087016103ef565b601f01601f19169190910160400192915050565b60005b8381101561040a5781810151838201526020016103f2565b838111156100645750506000910152565b634e487b7160e01b600052604160045260246000fd5b6102b8806104406000396000f3fe60806040523661000b57005b610013610015565b005b610025610020610065565b61009d565b565b606061004c838360405180606001604052806027815260200161025c602791396100c1565b9392505050565b6001600160a01b03163b151590565b90565b60006100987f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc546001600160a01b031690565b905090565b3660008037600080366000845af43d6000803e8080156100bc573d6000f35b3d6000fd5b60606001600160a01b0384163b61012e5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6044820152651b9d1c9858dd60d21b60648201526084015b60405180910390fd5b600080856001600160a01b03168560405161014991906101dc565b600060405180830381855af49150503d8060008114610184576040519150601f19603f3d011682016040523d82523d6000602084013e610189565b606091505b50915091506101998282866101a3565b9695505050505050565b606083156101b257508161004c565b8251156101c25782518084602001fd5b8160405162461bcd60e51b815260040161012591906101f8565b600082516101ee81846020870161022b565b9190910192915050565b602081526000825180602084015261021781604085016020870161022b565b601f01601f19169190910160400192915050565b60005b8381101561024657818101518382015260200161022e565b83811115610255576000848401525b5050505056fe416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a2646970667358221220ee25b738d1b5c56693b36b5955bcf79c3ba49d71d748cc3cd6cd7e38f42113a364736f6c63430008070033416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564000000000000000000000000ffee1c7eb8041e1e042779377a79d861d373830700000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000044485cc95500000000000000000000000053b55b4b540aed4b2b10575d83dda28bbc170194000000000000000000000000d8f79f436d68cf8a25dd6bd005b8be592961c6ee00000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x60806040523661000b57005b610013610015565b005b610025610020610065565b61009d565b565b606061004c838360405180606001604052806027815260200161025c602791396100c1565b9392505050565b6001600160a01b03163b151590565b90565b60006100987f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc546001600160a01b031690565b905090565b3660008037600080366000845af43d6000803e8080156100bc573d6000f35b3d6000fd5b60606001600160a01b0384163b61012e5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6044820152651b9d1c9858dd60d21b60648201526084015b60405180910390fd5b600080856001600160a01b03168560405161014991906101dc565b600060405180830381855af49150503d8060008114610184576040519150601f19603f3d011682016040523d82523d6000602084013e610189565b606091505b50915091506101998282866101a3565b9695505050505050565b606083156101b257508161004c565b8251156101c25782518084602001fd5b8160405162461bcd60e51b815260040161012591906101f8565b600082516101ee81846020870161022b565b9190910192915050565b602081526000825180602084015261021781604085016020870161022b565b601f01601f19169190910160400192915050565b60005b8381101561024657818101518382015260200161022e565b83811115610255576000848401525b5050505056fe416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a2646970667358221220ee25b738d1b5c56693b36b5955bcf79c3ba49d71d748cc3cd6cd7e38f42113a364736f6c63430008070033

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

000000000000000000000000ffee1c7eb8041e1e042779377a79d861d373830700000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000044485cc95500000000000000000000000053b55b4b540aed4b2b10575d83dda28bbc170194000000000000000000000000d8f79f436d68cf8a25dd6bd005b8be592961c6ee00000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _logic (address): 0xFFEE1C7Eb8041e1E042779377a79d861d3738307
Arg [1] : _data (bytes): 0x485cc95500000000000000000000000053b55b4b540aed4b2b10575d83dda28bbc170194000000000000000000000000d8f79f436d68cf8a25dd6bd005b8be592961c6ee

-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 000000000000000000000000ffee1c7eb8041e1e042779377a79d861d3738307
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000044
Arg [3] : 485cc95500000000000000000000000053b55b4b540aed4b2b10575d83dda28b
Arg [4] : bc170194000000000000000000000000d8f79f436d68cf8a25dd6bd005b8be59
Arg [5] : 2961c6ee00000000000000000000000000000000000000000000000000000000


 Latest 25 blocks (From a total of 13,528 blocks with 644.83 Ether produced)

Block Transaction Difficulty Gas Used Reward
199106522024-05-20 10:50:5918 hrs ago17162022592190.00 TH20,645,675 (68.82%)
0.07735262533584216 ETH
198816712024-05-16 9:34:114 days ago1715852051650.00 TH3,227,511 (10.76%)
0.007761818787897253 ETH
198680022024-05-14 11:39:236 days ago1715686763480.00 TH2,210,591 (7.37%)
0.007211467544454451 ETH
198590472024-05-13 5:36:477 days ago1715578607430.00 TH2,155,868 (7.19%)
0.005417398852211188 ETH
198551992024-05-12 16:42:478 days ago1715532167330.00 TH1,377,129 (4.59%)
0.003418707181468925 ETH
198547232024-05-12 15:06:358 days ago1715526395570.00 TH2,570,258 (8.57%)
0.006475671274622137 ETH
198531982024-05-12 9:58:598 days ago1715507939240.00 TH1,438,725 (4.80%)
0.003500758424589913 ETH
198529912024-05-12 9:17:118 days ago1715505431350.00 TH1,802,869 (6.01%)
0.005654860926794608 ETH
198525862024-05-12 7:55:238 days ago1715500523270.00 TH1,449,604 (4.83%)
0.003201030186362153 ETH
198522552024-05-12 6:48:118 days ago1715496491340.00 TH2,803,258 (9.34%)
0.007113409059248814 ETH
198521722024-05-12 6:31:358 days ago1715495495320.00 TH2,034,314 (6.78%)
0.005920112935282043 ETH
198518082024-05-12 5:18:238 days ago1715491103310.00 TH1,405,254 (4.68%)
0.002843298092227509 ETH
198517092024-05-12 4:58:359 days ago1715489915340.00 TH1,521,972 (5.07%)
0.004751056939572212 ETH
198516072024-05-12 4:37:599 days ago1715488679300.00 TH785,351 (2.62%)
0.001781531344337175 ETH
198515712024-05-12 4:30:479 days ago1715488247520.00 TH2,490,837 (8.30%)
0.005075971853021857 ETH
198513182024-05-12 3:39:599 days ago1715485199280.00 TH2,127,566 (7.09%)
0.004714219372218029 ETH
198378082024-05-10 6:20:4710 days ago1715322047610.00 TH2,970,569 (9.90%)
0.005586124722395753 ETH
198358962024-05-09 23:54:4711 days ago1715298887960.00 TH9,321,021 (31.07%)
0.010923256248262534 ETH
198355762024-05-09 22:50:2311 days ago17152950232000.00 TH20,978,861 (69.93%)
0.019989230376233033 ETH
198304722024-05-09 5:43:2311 days ago1715233403580.00 TH3,068,168 (10.23%)
0.015907621077284976 ETH
198216402024-05-08 0:03:2313 days ago1715126603360.00 TH2,319,875 (7.73%)
0.027124992995389993 ETH
198196772024-05-07 17:27:5913 days ago1715102879810.00 TH4,692,933 (15.64%)
0.015667830906973444 ETH
198167572024-05-07 7:40:2313 days ago1715067623280.00 TH964,049 (3.21%)
0.002170032453913449 ETH
198117152024-05-06 14:43:5914 days ago1715006639820.00 TH3,509,545 (11.70%)
0.010041469440613301 ETH
198105422024-05-06 10:47:3514 days ago1714992455460.00 TH3,092,420 (10.31%)
0.00805948691772189 ETH
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  ]
[ Download: CSV Export  ]
[ 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.