Contract 0xbf029d040e3e6da7b768b759dd9d67d84c73c06f 1

 
 
Txn Hash
Method
Block
From
To
Value [Txn Fee]
0x2c7c8f3c7ca50ad19ee70860be883c5c145951372740a8fa91afd306dffb4f27Subscribe387613502023-01-31 23:13:3433 secs ago0x39e0c6e610a8d7f408dd688011591583cbc1c3ce IN  0xbf029d040e3e6da7b768b759dd9d67d84c73c06f0 MATIC0.015633186777 106.899432297
0x4438ef7186a13df70629d096046dde07124be2768ffe5e7c2f2ef15be40ea4feSubscribe387613492023-01-31 23:13:3235 secs ago0x39e0c6e610a8d7f408dd688011591583cbc1c3ce IN  0xbf029d040e3e6da7b768b759dd9d67d84c73c06f0 MATIC0.015822953642 108.197054491
0x9d5ed83a9dd425e7e90ebcebac5b3df623a19beb84fd7b71a36b97abfee98f6dSubscribe387613482023-01-31 23:13:3037 secs ago0x39e0c6e610a8d7f408dd688011591583cbc1c3ce IN  0xbf029d040e3e6da7b768b759dd9d67d84c73c06f0 MATIC0.015885374224 108.623885238
0xf6d5297e2398df376b49f9dca4458aa01aa99a140479297e50ee338fa8c11013Subscribe387613472023-01-31 23:13:2839 secs ago0x39e0c6e610a8d7f408dd688011591583cbc1c3ce IN  0xbf029d040e3e6da7b768b759dd9d67d84c73c06f0 MATIC0.015329225192 104.82094879
0x45bf37bf27c668695dd70d399db91a356da68f774d715c9c0cf3a5b56ca8c96dSubscribe387613472023-01-31 23:13:2839 secs ago0x39e0c6e610a8d7f408dd688011591583cbc1c3ce IN  0xbf029d040e3e6da7b768b759dd9d67d84c73c06f0 MATIC0.015329225192 104.82094879
0x019f75875bc947baeefba1af6ad2d648f361b0b33e06dd9ba32d2ec4caa99687Subscribe387613372023-01-31 23:13:061 min ago0x39e0c6e610a8d7f408dd688011591583cbc1c3ce IN  0xbf029d040e3e6da7b768b759dd9d67d84c73c06f0 MATIC0.014745307111 100.828128116
0xc4f99613ffaf2380716193c72df41848a4f508602998aa421c6336930f5f8498Subscribe387613352023-01-31 23:13:021 min ago0x39e0c6e610a8d7f408dd688011591583cbc1c3ce IN  0xbf029d040e3e6da7b768b759dd9d67d84c73c06f0 MATIC0.015176527126 103.776802334
0x4cd68475cccc83e059dbe8e19c54d85b6845ba1233354579ee684c8fc10ab642Subscribe387613342023-01-31 23:13:001 min ago0x39e0c6e610a8d7f408dd688011591583cbc1c3ce IN  0xbf029d040e3e6da7b768b759dd9d67d84c73c06f0 MATIC0.015302466796 104.637975389
0xd4eaa33ee95496f14a51355611a0fd652f3894263f7f5daf165fc56be7e0d7e1Subscribe387613302023-01-31 23:12:521 min ago0x39e0c6e610a8d7f408dd688011591583cbc1c3ce IN  0xbf029d040e3e6da7b768b759dd9d67d84c73c06f0 MATIC0.016009810291 109.474776679
0x09e5053d5fee0e4395dad2ad4d0fb67707c156fba4a8b32b167fb464f556f902Subscribe387613292023-01-31 23:12:501 min ago0x39e0c6e610a8d7f408dd688011591583cbc1c3ce IN  0xbf029d040e3e6da7b768b759dd9d67d84c73c06f0 MATIC0.016072439819 109.903036196
0x42d34bbd51ede156740bc1f6d96dfaf7196145205bd9eafebb572cc51dd5c784Subscribe387613282023-01-31 23:12:481 min ago0x39e0c6e610a8d7f408dd688011591583cbc1c3ce IN  0xbf029d040e3e6da7b768b759dd9d67d84c73c06f0 MATIC0.016087296882 110.013655768
0x7aea06204e30071f48e5585ca3d6efdf2c0ac1cccbe8e26ba712772d6941495bSubscribe387613272023-01-31 23:12:441 min ago0x39e0c6e610a8d7f408dd688011591583cbc1c3ce IN  0xbf029d040e3e6da7b768b759dd9d67d84c73c06f0 MATIC0.016194879875 110.740278957
0x5601ef05dd570bb232f50334b742f5fee46999956f3902dabe375fa9fe057224Subscribe387613262023-01-31 23:12:421 min ago0x39e0c6e610a8d7f408dd688011591583cbc1c3ce IN  0xbf029d040e3e6da7b768b759dd9d67d84c73c06f0 MATIC0.015991520246 109.349709704
0x84872f845aba8cbd6cfb6b9e99f9f50c4afe6036acfbaa026b8ae33e9ac35a18Subscribe387613032023-01-31 23:11:382 mins ago0x39e0c6e610a8d7f408dd688011591583cbc1c3ce IN  0xbf029d040e3e6da7b768b759dd9d67d84c73c06f0 MATIC0.017323955259 118.46087485
0x342ccd26c4543733501383eeacdf8c17749e8ceaaa9bd2981d3f87c21fa8f38fSubscribe387613032023-01-31 23:11:382 mins ago0x39e0c6e610a8d7f408dd688011591583cbc1c3ce IN  0xbf029d040e3e6da7b768b759dd9d67d84c73c06f0 MATIC0.017346522051 118.615186139
0xbb8f5efa5528a08527115699011bf6c19c975f3c365289a3e447514e84c61635Subscribe387613022023-01-31 23:11:342 mins ago0x39e0c6e610a8d7f408dd688011591583cbc1c3ce IN  0xbf029d040e3e6da7b768b759dd9d67d84c73c06f0 MATIC0.017285319746 118.196685952
0x77e8b2d13bc3b42bb3c51842366eda43c74f792231a99335865e88d6ed2d3598Subscribe387613022023-01-31 23:11:342 mins ago0x39e0c6e610a8d7f408dd688011591583cbc1c3ce IN  0xbf029d040e3e6da7b768b759dd9d67d84c73c06f0 MATIC0.017285319746 118.196685952
0xe9a92c9d02898bd6bd714a0244f5ab2fd8de6ed5bdad161dc97620d92c2b7cf1Subscribe387613012023-01-31 23:11:302 mins ago0x39e0c6e610a8d7f408dd688011591583cbc1c3ce IN  0xbf029d040e3e6da7b768b759dd9d67d84c73c06f0 MATIC0.017195552995 117.582862619
0xa90d1605317f373a156e46d161eb0a8e6a43aa17cac816a21aac482d35dd4a30Subscribe387613012023-01-31 23:11:302 mins ago0x39e0c6e610a8d7f408dd688011591583cbc1c3ce IN  0xbf029d040e3e6da7b768b759dd9d67d84c73c06f0 MATIC0.017195552995 117.582862619
0xee440aabddfd039b5476f7aac9413b3c90f5150425c4b78e8d3a5d9b156b6c38Subscribe387612822023-01-31 23:10:383 mins ago0x39e0c6e610a8d7f408dd688011591583cbc1c3ce IN  0xbf029d040e3e6da7b768b759dd9d67d84c73c06f0 MATIC0.019018094123 130.045364007
0x22b69ab4295c95590e99b1a240b3319ad80948a5daf17955762b239b1e962f70Subscribe387612822023-01-31 23:10:383 mins ago0x39e0c6e610a8d7f408dd688011591583cbc1c3ce IN  0xbf029d040e3e6da7b768b759dd9d67d84c73c06f0 MATIC0.019018094123 130.045364007
0xa0b5cab66320abe961fbe7625732e0ed9025622165d5f8d37110664b223dc594Subscribe387612822023-01-31 23:10:383 mins ago0x39e0c6e610a8d7f408dd688011591583cbc1c3ce IN  0xbf029d040e3e6da7b768b759dd9d67d84c73c06f0 MATIC0.019018094123 130.045364007
0x4a67c18c08f211268a6fb0568c96d987ade0e178b76f554504788c4b267fb79dSubscribe387612772023-01-31 23:10:263 mins ago0x39e0c6e610a8d7f408dd688011591583cbc1c3ce IN  0xbf029d040e3e6da7b768b759dd9d67d84c73c06f0 MATIC0.016063547496 109.842230661
0x43fbc9ed1f0b87f0915f65f411b8d59ef29d16c25ecbce5f015cf23a3047ede8Subscribe387612722023-01-31 23:10:163 mins ago0x39e0c6e610a8d7f408dd688011591583cbc1c3ce IN  0xbf029d040e3e6da7b768b759dd9d67d84c73c06f0 MATIC0.01633615253 111.70629867
0x3c8866dbc09127baa901e43543f57533e50770230778a1391916a038fb5dc0a8Subscribe387612702023-01-31 23:10:123 mins ago0x39e0c6e610a8d7f408dd688011591583cbc1c3ce IN  0xbf029d040e3e6da7b768b759dd9d67d84c73c06f0 MATIC0.015798674309 108.031032874
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0x38e8b04b1f837e2c76cfb1859c4c2b758b4199109735e1addb948db4422ffde6387560492023-01-31 20:00:343 hrs 13 mins ago 0xbf029d040e3e6da7b768b759dd9d67d84c73c06f  Contract Creation0 MATIC
0xdeae9ca09a26ccdd1037ed6616fd17ecbe96d07070b1b23d118285fcd1bb29f9387555542023-01-31 19:42:483 hrs 31 mins ago 0xbf029d040e3e6da7b768b759dd9d67d84c73c06f  Contract Creation0 MATIC
0x5c7a19ff05f2683b8e3376f943248fe7c0baf0c2cd22ac0f91d4350b06ef6d37387552442023-01-31 19:31:463 hrs 42 mins ago 0xbf029d040e3e6da7b768b759dd9d67d84c73c06f  Contract Creation0 MATIC
0x8b5bc4f0a19c37a639b26a760cf2fe908093fe6166f7e6d0a947691d082bb52d387535422023-01-31 18:30:404 hrs 43 mins ago 0xbf029d040e3e6da7b768b759dd9d67d84c73c06f  Contract Creation0 MATIC
0x9081df410b83326cc0635eb920f142885edcc986bcc68268715c30eb08e74731387486952023-01-31 15:36:287 hrs 37 mins ago 0xbf029d040e3e6da7b768b759dd9d67d84c73c06f  Contract Creation0 MATIC
0xf5ab981ec7972767c71b9e277c403d1dca4efa19600e23891050c44ee3cca664387486592023-01-31 15:35:127 hrs 38 mins ago 0xbf029d040e3e6da7b768b759dd9d67d84c73c06f  Contract Creation0 MATIC
0x83f13f0683fbc6de7f1a8b3ee5aa979c8a1041a9aa3188e8df0e9837f0593a38387486262023-01-31 15:34:027 hrs 40 mins ago 0xbf029d040e3e6da7b768b759dd9d67d84c73c06f  Contract Creation0 MATIC
0x28b301d11f3e46b0b06d3bde074114a9acc2d151e4905c456c8da52e0e4be903387433452023-01-31 12:22:5310 hrs 51 mins ago 0xbf029d040e3e6da7b768b759dd9d67d84c73c06f  Contract Creation0 MATIC
0xa8091d5daa9c05aed5ef91219d6570d5cd7dc5ac88b691eba1f00a5907a6edc9387232912023-01-31 0:14:1022 hrs 59 mins ago 0xbf029d040e3e6da7b768b759dd9d67d84c73c06f  Contract Creation0 MATIC
0x6dd8c929dba7f09567ebe07fb8d9fcadfc8b2541a317d515129179f77492e15c387187202023-01-30 21:26:181 day 1 hr ago 0xbf029d040e3e6da7b768b759dd9d67d84c73c06f  Contract Creation0 MATIC
0xef0c258d161b84ae6fe47bde143ab561b882b249069e02c9c36b3daa8dae7dd1387181262023-01-30 21:04:391 day 2 hrs ago 0xbf029d040e3e6da7b768b759dd9d67d84c73c06f  Contract Creation0 MATIC
0x95ea2d3053cbf146c326d380effb0b9b105834367047efb2f4c52b1fcd0d4d93387122012023-01-30 17:28:521 day 5 hrs ago 0xbf029d040e3e6da7b768b759dd9d67d84c73c06f  Contract Creation0 MATIC
0xcf53ed4c7ea30b3786e2a5438ae883a56c776d89869f4a2b165e10b6dac740fb387119862023-01-30 17:20:561 day 5 hrs ago 0xbf029d040e3e6da7b768b759dd9d67d84c73c06f  Contract Creation0 MATIC
0x371ad36b3b7247a7f582e482386885b9b0fbf0a3419c3e9e1212c109401c2178387084702023-01-30 15:08:241 day 8 hrs ago 0xbf029d040e3e6da7b768b759dd9d67d84c73c06f  Contract Creation0 MATIC
0x38429386c02db31a257d03cbdb080e071066650e2405530a2a467f3e76e7df5d387039122023-01-30 12:18:221 day 10 hrs ago 0xbf029d040e3e6da7b768b759dd9d67d84c73c06f  Contract Creation0 MATIC
0xb4db41870d3c3c28d82273307089a8e60ec1602ddf289ea7e4e14fb856c6567f386791232023-01-29 21:11:122 days 2 hrs ago 0xbf029d040e3e6da7b768b759dd9d67d84c73c06f  Contract Creation0 MATIC
0xe999a0cef15b674ffdc21afb14f4adb64d39b64afd43d39f89407d13f1b017e8386757612023-01-29 19:10:552 days 4 hrs ago 0xbf029d040e3e6da7b768b759dd9d67d84c73c06f  Contract Creation0 MATIC
0xca1a5e1b43afba216ddbbb4ffcf9073a449318f0dd9b27974f6815bff59fc646386647212023-01-29 12:37:432 days 10 hrs ago 0xbf029d040e3e6da7b768b759dd9d67d84c73c06f  Contract Creation0 MATIC
0x202ef89d7e41c943283dc2143f6fa59d057793323596cda19d06e0a1e9202afa386571812023-01-29 7:59:572 days 15 hrs ago 0xbf029d040e3e6da7b768b759dd9d67d84c73c06f  Contract Creation0 MATIC
0x55b9ea8ce67a48cd20de0b5a3c0e090b2b2c4b7cf37e77e6837a759384898f4d386510982023-01-29 4:15:292 days 18 hrs ago 0xbf029d040e3e6da7b768b759dd9d67d84c73c06f  Contract Creation0 MATIC
0x2776232fc929abff72c1c367cad1ba9163581ffef90f4ed923c104b5c870a4b3386457802023-01-29 1:00:282 days 22 hrs ago 0xbf029d040e3e6da7b768b759dd9d67d84c73c06f  Contract Creation0 MATIC
0x9ff105bb4f5da22d86c1277466bff19b384c5678a2a58f51c206f8c9a2f9d65e386446092023-01-29 0:17:212 days 22 hrs ago 0xbf029d040e3e6da7b768b759dd9d67d84c73c06f  Contract Creation0 MATIC
0x25e2aff951229e70785c1669288689cbbb41d8711279d26afc4c81c378911800386436272023-01-28 23:40:152 days 23 hrs ago 0xbf029d040e3e6da7b768b759dd9d67d84c73c06f  Contract Creation0 MATIC
0xe37b2f427eb23cbc771bc91c80dc24d2de2630155eb97a0ebed5a2117a9f16aa386432172023-01-28 23:25:132 days 23 hrs ago 0xbf029d040e3e6da7b768b759dd9d67d84c73c06f  Contract Creation0 MATIC
0x4bdb4c8c707bcccf188ef2961dcf3feced06557aa62754aaa4b1bf92c010a0a4386418242023-01-28 22:35:053 days 39 mins ago 0xbf029d040e3e6da7b768b759dd9d67d84c73c06f  Contract Creation0 MATIC
[ Download CSV Export 
Loading
This contract contains unverified libraries: Actions

Similar Match Source Code
Note: This contract matches the deployed ByteCode of the Source Code for Contract 0x346bf45a74e1b9d31e0e5d747964f99c81ffffd8

Contract Name:
ERC1967Proxy

Compiler Version
v0.8.14+commit.80d49f37

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 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 2 of 7 : ERC1967Proxy.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (proxy/ERC1967/ERC1967Proxy.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev This contract implements an upgradeable proxy. It is upgradeable because calls are delegated to an
 * implementation address that can be changed. This address is stored in storage in the location specified by
 * https://eips.ethereum.org/EIPS/eip-1967[EIP1967], so that it doesn't conflict with the storage layout of the
 * implementation behind the proxy.
 */
contract ERC1967Proxy 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();
    }
}

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 "../beacon/IBeacon.sol";
import "../../interfaces/draft-IERC1822.sol";
import "../../utils/Address.sol";
import "../../utils/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 : 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 {}
}

File 5 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 6 of 7 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.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
                /// @solidity memory-safe-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 (last updated v4.7.0) (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) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := slot
        }
    }

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

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

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

Settings
{
  "remappings": [
    "ds-test/=lib/forge-std/lib/ds-test/src/",
    "forge-std/=lib/forge-std/src/",
    "openzeppelin-contracts/=lib/openzeppelin-contracts/"
  ],
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "metadata": {
    "bytecodeHash": "ipfs"
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "evmVersion": "london",
  "libraries": {
    "src/libraries/Actions.sol": {
      "Actions": "0x8ccbe07f1e12a61e4fbb3a1895d35dce001ff73a"
    }
  }
}

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"}]

608060405260405161072138038061072183398101604081905261002291610314565b61002e82826000610035565b5050610431565b61003e8361006b565b60008251118061004b5750805b156100665761006483836100ab60201b6100291760201c565b505b505050565b610074816100d7565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b60606100d083836040518060600160405280602781526020016106fa602791396101a9565b9392505050565b6100ea8161028760201b6100551760201c565b6101515760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b60648201526084015b60405180910390fd5b806101887f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc60001b61029660201b6100641760201c565b80546001600160a01b0319166001600160a01b039290921691909117905550565b60606001600160a01b0384163b6102115760405162461bcd60e51b815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6044820152651b9d1c9858dd60d21b6064820152608401610148565b600080856001600160a01b03168560405161022c91906103e2565b600060405180830381855af49150503d8060008114610267576040519150601f19603f3d011682016040523d82523d6000602084013e61026c565b606091505b50909250905061027d828286610299565b9695505050505050565b6001600160a01b03163b151590565b90565b606083156102a85750816100d0565b8251156102b85782518084602001fd5b8160405162461bcd60e51b815260040161014891906103fe565b634e487b7160e01b600052604160045260246000fd5b60005b838110156103035781810151838201526020016102eb565b838111156100645750506000910152565b6000806040838503121561032757600080fd5b82516001600160a01b038116811461033e57600080fd5b60208401519092506001600160401b038082111561035b57600080fd5b818501915085601f83011261036f57600080fd5b815181811115610381576103816102d2565b604051601f8201601f19908116603f011681019083821181831017156103a9576103a96102d2565b816040528281528860208487010111156103c257600080fd5b6103d38360208301602088016102e8565b80955050505050509250929050565b600082516103f48184602087016102e8565b9190910192915050565b602081526000825180602084015261041d8160408501602087016102e8565b601f01601f19169190910160400192915050565b6102ba806104406000396000f3fe60806040523661001357610011610017565b005b6100115b610027610022610067565b61009f565b565b606061004e838360405180606001604052806027815260200161025e602791396100c3565b9392505050565b6001600160a01b03163b151590565b90565b600061009a7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc546001600160a01b031690565b905090565b3660008037600080366000845af43d6000803e8080156100be573d6000f35b3d6000fd5b60606001600160a01b0384163b6101305760405162461bcd60e51b815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6044820152651b9d1c9858dd60d21b60648201526084015b60405180910390fd5b600080856001600160a01b03168560405161014b919061020e565b600060405180830381855af49150503d8060008114610186576040519150601f19603f3d011682016040523d82523d6000602084013e61018b565b606091505b509150915061019b8282866101a5565b9695505050505050565b606083156101b457508161004e565b8251156101c45782518084602001fd5b8160405162461bcd60e51b8152600401610127919061022a565b60005b838110156101f95781810151838201526020016101e1565b83811115610208576000848401525b50505050565b600082516102208184602087016101de565b9190910192915050565b60208152600082518060208401526102498160408501602087016101de565b601f01601f1916919091016040019291505056fe416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a2646970667358221220ac9715ce43d8aa1cb5c385c0d711b97f9dd9a1b5d1da1b95428e6ca341ec5c3864736f6c634300080e0033416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c65640000000000000000000000004d67074a9200035517245f9bea360789b42c12e300000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000044485cc95500000000000000000000000000000000000000000000000000000000000000000000000000000000000000002fe62101a6fe6e9b234426cad374ac651f458a1600000000000000000000000000000000000000000000000000000000

Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.