Contract 0x9983d8cdeaf7872501628229d311e2f7df396add 13

 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x622fa65f788b272f8f2ad3f196dbcae51f35173650ff14a7d83e60955b2a5d7fWithdraw388472312022-11-17 15:27:0676 days 6 hrs ago0xcd4a15841a4906ff78d3f2aa8e55936f1a7ae4a5 IN  0x9983d8cdeaf7872501628229d311e2f7df396add0 ETH0.00007474
0xfbfbab231aaa2c2f710fb82dc7397bc16e2e5bfa168c0e573c0c55844fd6a845Withdraw388422232022-11-17 15:04:5976 days 7 hrs ago0xcd4a15841a4906ff78d3f2aa8e55936f1a7ae4a5 IN  0x9983d8cdeaf7872501628229d311e2f7df396add0 ETH0.00006076
0x9657acfc22bcfc781c5c5e70ef041ddfab393c85019797814f34e895e2e57a4dWithdraw388319602022-11-17 14:19:0976 days 8 hrs ago0xcd4a15841a4906ff78d3f2aa8e55936f1a7ae4a5 IN  0x9983d8cdeaf7872501628229d311e2f7df396add0 ETH0.0000512
0xc239ef0256e47221ab9bd913bf3a706e4bc04d3515992612720cd2f02fad08edWithdraw388282302022-11-17 14:02:4376 days 8 hrs ago0xcd4a15841a4906ff78d3f2aa8e55936f1a7ae4a5 IN  0x9983d8cdeaf7872501628229d311e2f7df396add0 ETH0.0000662
0xd5791e5f3d499e9a7e7ed9bd260dda183ba1faf6576c267d1bd9588ea8e74f8dWithdraw388262722022-11-17 13:54:0776 days 8 hrs ago0xcd4a15841a4906ff78d3f2aa8e55936f1a7ae4a5 IN  0x9983d8cdeaf7872501628229d311e2f7df396add0 ETH0.00005426
0xa3e4203a0d4389dcb8247541e86691c695394c4818da73b2993f6816ec89b587Deposit169445762022-07-04 3:45:56212 days 18 hrs ago0x45797f7ac045efe662866862247f552c6e4daec6 IN  0x9983d8cdeaf7872501628229d311e2f7df396add0 ETH0.000098569759 ETH
0xafd16ebd8b0a3792f568ccf9d3ef784ab168c68b5e360895aabc66171b481d37Deposit168214282022-07-02 13:10:47214 days 9 hrs ago0x5f63fe74d434f97f82cc94f7ff26cecf9ec29c04 IN  0x9983d8cdeaf7872501628229d311e2f7df396add0 ETH0.000106519277 ETH
0xa0a761eab766f914404735b41370e9825467fc87d38607f1ea57bbba79338d27Deposit167065262022-07-01 9:58:08215 days 12 hrs ago0xe6a0d1bbdd7ed02ff15adb30314edbca6b1f8be0 IN  0x9983d8cdeaf7872501628229d311e2f7df396add0 ETH0.000203726714 ETH
0x3abc12bda45ce9ec83194335ebefe09888b40c465cbbc7be7e8dc21942057e45Deposit167041962022-07-01 9:24:50215 days 13 hrs ago0xe6a0d1bbdd7ed02ff15adb30314edbca6b1f8be0 IN  0x9983d8cdeaf7872501628229d311e2f7df396add0 ETH0.000203254314 ETH
0xf0ac66e1e15206428d2f08514aca871ff33822fe9a0d63eab4a19cbe54969174Deposit166969282022-07-01 7:59:11215 days 14 hrs ago0xeff683b73bb258a8f9d03304670e51a2f45831a8 IN  0x9983d8cdeaf7872501628229d311e2f7df396add0 ETH0.000219335815 ETH
0x0a005bfb1b1649f9c7e63a1819969e316fc8f0f2696ede3f7ccf4505e9146dc2Withdraw166176552022-06-30 13:42:29216 days 8 hrs ago0xcd4a15841a4906ff78d3f2aa8e55936f1a7ae4a5 IN  0x9983d8cdeaf7872501628229d311e2f7df396add0 ETH0.000373214711 ETH
0xf4b2ae0a95f96f0d0a12e07eb8010887e45bd4193435a784859f4f0332b18957Withdraw164980622022-06-29 20:45:34217 days 1 hr ago0xcd4a15841a4906ff78d3f2aa8e55936f1a7ae4a5 IN  0x9983d8cdeaf7872501628229d311e2f7df396add0 ETH0.000536471732 ETH
0xdd1b88bb350d7c94f8f249235395b223e44b3f9f22c2b2b0da09450545de0364Deposit164828422022-06-29 18:35:51217 days 3 hrs ago0xd7eb981307c28c4d5ee45ce4a7378012015f6897 IN  0x9983d8cdeaf7872501628229d311e2f7df396add0 ETH0.000286405887 ETH
0x27ea16311c7eb286c94cfe0f9aa497ecf54c5d17effe930f06a3fc87e90c48e5Deposit164779372022-06-29 17:55:36217 days 4 hrs ago0xd7eb981307c28c4d5ee45ce4a7378012015f6897 IN  0x9983d8cdeaf7872501628229d311e2f7df396add0 ETH0.000286456757 ETH
0x574444196d815b9a13056e6b7163884a49dbee3c2de6a7c5991f2c8b7ccda478Withdraw164725312022-06-29 17:11:12217 days 5 hrs ago0xcd4a15841a4906ff78d3f2aa8e55936f1a7ae4a5 IN  0x9983d8cdeaf7872501628229d311e2f7df396add0 ETH0.000396218443 ETH
0x22b2f41c78c34fcd87254f807906aa2c6c80739d56e4a12b6f33acf7bc838e84Withdraw164014242022-06-29 9:28:56217 days 12 hrs ago0xcd4a15841a4906ff78d3f2aa8e55936f1a7ae4a5 IN  0x9983d8cdeaf7872501628229d311e2f7df396add0 ETH0.000998318239 ETH
0xfba82b8b40ffdedeca255bdcf81530ce62400c4f0c0b2b196444902d6ff70c81Deposit163967222022-06-29 8:59:12217 days 13 hrs ago0x3d1836cdbcd615111abbd6489e51d4316eec75d3 IN  0x9983d8cdeaf7872501628229d311e2f7df396add0 ETH0.000942035497 ETH
0x895322d8005fe1130a7ef9340d96830506f94a847e333a1268fa984d124c0dffWithdraw163912732022-06-29 8:24:35217 days 14 hrs ago0xcd4a15841a4906ff78d3f2aa8e55936f1a7ae4a5 IN  0x9983d8cdeaf7872501628229d311e2f7df396add0 ETH0.001092273351 ETH
0x2d1998d2419b75789e34b18c154e354d192568eb0544f24216b1829e6cf23d67Withdraw161260392022-06-27 20:59:50219 days 1 hr ago0xcd4a15841a4906ff78d3f2aa8e55936f1a7ae4a5 IN  0x9983d8cdeaf7872501628229d311e2f7df396add0 ETH0.001210916795 ETH
0xbd18169937450a91b423b32d36b839716602026359661532b475768de323eca6Deposit155653572022-06-24 0:50:06222 days 21 hrs ago0xc376ecff7b4b82c8b0a53a3043a0bc0b94c61ac3 IN  0x9983d8cdeaf7872501628229d311e2f7df396add0 ETH0.000443616736 ETH
0x5e219681853cb7b3316f5d43ab73f8699f8ef8734b254315364f278dec1f2f68Deposit155628032022-06-23 23:59:04222 days 22 hrs ago0xca4d3a713ec6e5c55273117cd25b1eb50151403c IN  0x9983d8cdeaf7872501628229d311e2f7df396add0 ETH0.000451916141 ETH
0x6caa03ecd1ac3ba42d3e0ce4b890fe6133a63a605dd0c633a44c570c9450a114Deposit154126912022-06-22 17:02:40224 days 5 hrs ago0x5aeadbfc422c01402df1b2a0b3dabfbad665ccb0 IN  0x9983d8cdeaf7872501628229d311e2f7df396add0 ETH0.000240152385 ETH
0x290cbc21b0c6876b4838319e69e2e8731dd08732519b972bca5950ddff4948b5Withdraw153730412022-06-22 11:32:50224 days 10 hrs ago0xcd4a15841a4906ff78d3f2aa8e55936f1a7ae4a5 IN  0x9983d8cdeaf7872501628229d311e2f7df396add0 ETH0.00024193324 ETH
0xf1365204da72d554cf8cfc87de4384b3d3ce914c2f684d162e4a72793cd066e7Deposit152904412022-06-21 20:14:06225 days 2 hrs ago0x9bd215c2530df574657510b2f991d5c326df7c50 IN  0x9983d8cdeaf7872501628229d311e2f7df396add0 ETH0.000317257183 ETH
0x470e58edebfd5e434477ce75bc5e6748def69501e66d59e8b6fb082e9be6d2beDeposit152889032022-06-21 19:58:16225 days 2 hrs ago0x7afb6457de648981079d030e2fd17834804856c5 IN  0x9983d8cdeaf7872501628229d311e2f7df396add0 ETH0.000315601662 ETH
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0x622fa65f788b272f8f2ad3f196dbcae51f35173650ff14a7d83e60955b2a5d7f388472312022-11-17 15:27:0676 days 6 hrs ago 0x9983d8cdeaf7872501628229d311e2f7df396add 0xff970a61a04b1ca14834a43f5de4533ebddb5cc80 ETH
0x622fa65f788b272f8f2ad3f196dbcae51f35173650ff14a7d83e60955b2a5d7f388472312022-11-17 15:27:0676 days 6 hrs ago 0x9983d8cdeaf7872501628229d311e2f7df396add 0xff970a61a04b1ca14834a43f5de4533ebddb5cc80 ETH
0x622fa65f788b272f8f2ad3f196dbcae51f35173650ff14a7d83e60955b2a5d7f388472312022-11-17 15:27:0676 days 6 hrs ago 0x9983d8cdeaf7872501628229d311e2f7df396add 0x62cd928b16b7a92101c3091f5136fd9bb017870a0 ETH
0xfbfbab231aaa2c2f710fb82dc7397bc16e2e5bfa168c0e573c0c55844fd6a845388422232022-11-17 15:04:5976 days 7 hrs ago 0x9983d8cdeaf7872501628229d311e2f7df396add0x8ae9d9dc8546b63635f0f4d0b58dfefdc7dc966b0.001 ETH
0xfbfbab231aaa2c2f710fb82dc7397bc16e2e5bfa168c0e573c0c55844fd6a845388422232022-11-17 15:04:5976 days 7 hrs ago 0x9983d8cdeaf7872501628229d311e2f7df396add0x8ae9d9dc8546b63635f0f4d0b58dfefdc7dc966b0.427 ETH
0xfbfbab231aaa2c2f710fb82dc7397bc16e2e5bfa168c0e573c0c55844fd6a845388422232022-11-17 15:04:5976 days 7 hrs ago 0x9983d8cdeaf7872501628229d311e2f7df396add 0x62cd928b16b7a92101c3091f5136fd9bb017870a0 ETH
0x9657acfc22bcfc781c5c5e70ef041ddfab393c85019797814f34e895e2e57a4d388319602022-11-17 14:19:0976 days 8 hrs ago 0x9983d8cdeaf7872501628229d311e2f7df396add0x8ae9d9dc8546b63635f0f4d0b58dfefdc7dc966b0.001 ETH
0x9657acfc22bcfc781c5c5e70ef041ddfab393c85019797814f34e895e2e57a4d388319602022-11-17 14:19:0976 days 8 hrs ago 0x9983d8cdeaf7872501628229d311e2f7df396add 0xff970a61a04b1ca14834a43f5de4533ebddb5cc80 ETH
0x9657acfc22bcfc781c5c5e70ef041ddfab393c85019797814f34e895e2e57a4d388319602022-11-17 14:19:0976 days 8 hrs ago 0x9983d8cdeaf7872501628229d311e2f7df396add 0xff970a61a04b1ca14834a43f5de4533ebddb5cc80 ETH
0x9657acfc22bcfc781c5c5e70ef041ddfab393c85019797814f34e895e2e57a4d388319602022-11-17 14:19:0976 days 8 hrs ago 0x9983d8cdeaf7872501628229d311e2f7df396add 0x62cd928b16b7a92101c3091f5136fd9bb017870a0 ETH
0xc239ef0256e47221ab9bd913bf3a706e4bc04d3515992612720cd2f02fad08ed388282302022-11-17 14:02:4376 days 8 hrs ago 0x9983d8cdeaf7872501628229d311e2f7df396add0x8ae9d9dc8546b63635f0f4d0b58dfefdc7dc966b0.001 ETH
0xc239ef0256e47221ab9bd913bf3a706e4bc04d3515992612720cd2f02fad08ed388282302022-11-17 14:02:4376 days 8 hrs ago 0x9983d8cdeaf7872501628229d311e2f7df396add 0xff970a61a04b1ca14834a43f5de4533ebddb5cc80 ETH
0xc239ef0256e47221ab9bd913bf3a706e4bc04d3515992612720cd2f02fad08ed388282302022-11-17 14:02:4376 days 8 hrs ago 0x9983d8cdeaf7872501628229d311e2f7df396add 0xff970a61a04b1ca14834a43f5de4533ebddb5cc80 ETH
0xc239ef0256e47221ab9bd913bf3a706e4bc04d3515992612720cd2f02fad08ed388282302022-11-17 14:02:4376 days 8 hrs ago 0x9983d8cdeaf7872501628229d311e2f7df396add0x8ae9d9dc8546b63635f0f4d0b58dfefdc7dc966b0.001 ETH
0xc239ef0256e47221ab9bd913bf3a706e4bc04d3515992612720cd2f02fad08ed388282302022-11-17 14:02:4376 days 8 hrs ago 0x9983d8cdeaf7872501628229d311e2f7df396add 0xff970a61a04b1ca14834a43f5de4533ebddb5cc80 ETH
0xc239ef0256e47221ab9bd913bf3a706e4bc04d3515992612720cd2f02fad08ed388282302022-11-17 14:02:4376 days 8 hrs ago 0x9983d8cdeaf7872501628229d311e2f7df396add 0xff970a61a04b1ca14834a43f5de4533ebddb5cc80 ETH
0xc239ef0256e47221ab9bd913bf3a706e4bc04d3515992612720cd2f02fad08ed388282302022-11-17 14:02:4376 days 8 hrs ago 0x9983d8cdeaf7872501628229d311e2f7df396add 0x62cd928b16b7a92101c3091f5136fd9bb017870a0 ETH
0xd5791e5f3d499e9a7e7ed9bd260dda183ba1faf6576c267d1bd9588ea8e74f8d388262722022-11-17 13:54:0776 days 8 hrs ago 0x9983d8cdeaf7872501628229d311e2f7df396add0x8ae9d9dc8546b63635f0f4d0b58dfefdc7dc966b0.001 ETH
0xd5791e5f3d499e9a7e7ed9bd260dda183ba1faf6576c267d1bd9588ea8e74f8d388262722022-11-17 13:54:0776 days 8 hrs ago 0x9983d8cdeaf7872501628229d311e2f7df396add 0xff970a61a04b1ca14834a43f5de4533ebddb5cc80 ETH
0xd5791e5f3d499e9a7e7ed9bd260dda183ba1faf6576c267d1bd9588ea8e74f8d388262722022-11-17 13:54:0776 days 8 hrs ago 0x9983d8cdeaf7872501628229d311e2f7df396add 0xff970a61a04b1ca14834a43f5de4533ebddb5cc80 ETH
0xd5791e5f3d499e9a7e7ed9bd260dda183ba1faf6576c267d1bd9588ea8e74f8d388262722022-11-17 13:54:0776 days 8 hrs ago 0x9983d8cdeaf7872501628229d311e2f7df396add 0x62cd928b16b7a92101c3091f5136fd9bb017870a0 ETH
0xa3e4203a0d4389dcb8247541e86691c695394c4818da73b2993f6816ec89b587169445762022-07-04 3:45:56212 days 18 hrs ago 0x9983d8cdeaf7872501628229d311e2f7df396add 0xff970a61a04b1ca14834a43f5de4533ebddb5cc80 ETH
0xa3e4203a0d4389dcb8247541e86691c695394c4818da73b2993f6816ec89b587169445762022-07-04 3:45:56212 days 18 hrs ago 0x9983d8cdeaf7872501628229d311e2f7df396add 0xff970a61a04b1ca14834a43f5de4533ebddb5cc80 ETH
0xa3e4203a0d4389dcb8247541e86691c695394c4818da73b2993f6816ec89b587169445762022-07-04 3:45:56212 days 18 hrs ago 0x9983d8cdeaf7872501628229d311e2f7df396add 0x62cd928b16b7a92101c3091f5136fd9bb017870a0 ETH
0xafd16ebd8b0a3792f568ccf9d3ef784ab168c68b5e360895aabc66171b481d37168214282022-07-02 13:10:47214 days 9 hrs ago 0x9983d8cdeaf7872501628229d311e2f7df396add 0xff970a61a04b1ca14834a43f5de4533ebddb5cc80 ETH
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
EvoProxy

Compiler Version
v0.8.13+commit.abaa5c0e

Optimization Enabled:
Yes with 1000 runs

Other Settings:
default evmVersion, MIT license
File 1 of 3 : Proxy.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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 internall 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 overriden 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 internall 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 overriden should call `super._beforeFallback()`.
     */
    function _beforeFallback() internal virtual {}
}

File 2 of 3 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Address.sol)

pragma solidity ^0.8.0;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

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

import "@openzeppelin/contracts/proxy/Proxy.sol";
import "@openzeppelin/contracts/utils/Address.sol";

pragma solidity ^0.8.13;

contract EvoProxy is Proxy {
    bytes32 internal constant _ADMIN_SLOT =
        0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103;
    bytes32 internal constant _IMPLEMENTATION_SLOT =
        0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;

    event Upgraded(address indexed implementation);
    event AdminChanged(address indexed admin);

    modifier ifAdmin() {
        if (msg.sender == _admin()) {
            _;
        } else {
            _fallback();
        }
    }

    constructor(address admin_) {
        assembly {
            sstore(_ADMIN_SLOT, admin_)
        }
        emit AdminChanged(admin_);
    }

    function _admin() internal view returns (address admin_) {
        assembly {
            admin_ := sload(_ADMIN_SLOT)
        }
    }

    function _implementation()
        internal
        view
        virtual
        override
        returns (address implementation_)
    {
        assembly {
            implementation_ := sload(_IMPLEMENTATION_SLOT)
        }
    }

    function _beforeFallback() internal virtual override {
        require(
            msg.sender != _admin(),
            "Admin cannot fallback to proxy target"
        );
        super._beforeFallback();
    }

    function admin() external ifAdmin returns (address admin_) {
        admin_ = _admin();
    }

    function implementation() external ifAdmin returns (address implementation_) {
        implementation_ = _implementation();
    }

    function upgradeTo(address newImplementation) public ifAdmin {
        require(
            Address.isContract(newImplementation),
            "Implementation must be a contract"
        );
        assembly {
            sstore(_IMPLEMENTATION_SLOT, newImplementation)
        }
        emit Upgraded(newImplementation);
    }

    function upgradeToAndCall(address newImplementation, bytes memory data)
        external
        ifAdmin
    {
        upgradeTo(newImplementation);
        Address.functionDelegateCall(newImplementation, data);
    }
}

Settings
{
  "evmVersion": "london",
  "libraries": {},
  "metadata": {
    "bytecodeHash": "ipfs",
    "useLiteralContent": true
  },
  "optimizer": {
    "enabled": true,
    "runs": 1000
  },
  "remappings": [],
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  }
}

Contract ABI

[{"inputs":[{"internalType":"address","name":"admin_","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"admin","type":"address"}],"name":"AdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"implementation","type":"address"}],"name":"Upgraded","type":"event"},{"stateMutability":"payable","type":"fallback"},{"inputs":[],"name":"admin","outputs":[{"internalType":"address","name":"admin_","type":"address"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"implementation","outputs":[{"internalType":"address","name":"implementation_","type":"address"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newImplementation","type":"address"}],"name":"upgradeTo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newImplementation","type":"address"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"upgradeToAndCall","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

608060405234801561001057600080fd5b5060405161082b38038061082b83398101604081905261002f9161008d565b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61038190556040516001600160a01b038216907f7ce7ec0b50378fb6c0186ffb5f48325f6593fcb4ca4386f21861af3129188f5c90600090a2506100bd565b60006020828403121561009f57600080fd5b81516001600160a01b03811681146100b657600080fd5b9392505050565b61075f806100cc6000396000f3fe6080604052600436106100435760003560e01c80633659cfe61461005a5780634f1ef2861461007a5780635c60da1b1461009a578063f851a440146100cb57610052565b36610052576100506100e0565b005b6100506100e0565b34801561006657600080fd5b50610050610075366004610577565b61011a565b34801561008657600080fd5b506100506100953660046105c1565b61022a565b3480156100a657600080fd5b506100af61027f565b6040516001600160a01b03909116815260200160405180910390f35b3480156100d757600080fd5b506100af6102e9565b6100e8610348565b6101186101137f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5490565b6103e7565b565b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103546001600160a01b0316330361021f57803b6101c45760405162461bcd60e51b815260206004820152602160248201527f496d706c656d656e746174696f6e206d757374206265206120636f6e7472616360448201527f740000000000000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc8190556040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b6102276100e0565b50565b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103546001600160a01b03163303610273576102648261011a565b61026e828261040b565b505050565b61027b6100e0565b5050565b60006102a97fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035490565b6001600160a01b031633036102de57507f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5490565b6102e66100e0565b90565b60006103137fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035490565b6001600160a01b031633036102de57507fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035490565b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103546001600160a01b031633036101185760405162461bcd60e51b815260206004820152602560248201527f41646d696e2063616e6e6f742066616c6c6261636b20746f2070726f7879207460448201527f617267657400000000000000000000000000000000000000000000000000000060648201526084016101bb565b3660008037600080366000845af43d6000803e808015610406573d6000f35b3d6000fd5b6060610430838360405180606001604052806027815260200161070360279139610437565b9392505050565b6060833b6104ad5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f60448201527f6e7472616374000000000000000000000000000000000000000000000000000060648201526084016101bb565b600080856001600160a01b0316856040516104c891906106b3565b600060405180830381855af49150503d8060008114610503576040519150601f19603f3d011682016040523d82523d6000602084013e610508565b606091505b5091509150610518828286610522565b9695505050505050565b60608315610531575081610430565b8251156105415782518084602001fd5b8160405162461bcd60e51b81526004016101bb91906106cf565b80356001600160a01b038116811461057257600080fd5b919050565b60006020828403121561058957600080fd5b6104308261055b565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080604083850312156105d457600080fd5b6105dd8361055b565b9150602083013567ffffffffffffffff808211156105fa57600080fd5b818501915085601f83011261060e57600080fd5b81358181111561062057610620610592565b604051601f8201601f19908116603f0116810190838211818310171561064857610648610592565b8160405282815288602084870101111561066157600080fd5b8260208601602083013760006020848301015280955050505050509250929050565b60005b8381101561069e578181015183820152602001610686565b838111156106ad576000848401525b50505050565b600082516106c5818460208701610683565b9190910192915050565b60208152600082518060208401526106ee816040850160208701610683565b601f01601f1916919091016040019291505056fe416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a2646970667358221220bcc106e54e3becb5fcadbe9f31671c9985fb4289d26277ce5823e2139665860a64736f6c634300080d0033000000000000000000000000961cad906ead6aa183f3d27454a9e763e8b7d3eb

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

000000000000000000000000961cad906ead6aa183f3d27454a9e763e8b7d3eb

-----Decoded View---------------
Arg [0] : admin_ (address): 0x961cad906ead6aa183f3d27454a9e763e8b7d3eb

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000961cad906ead6aa183f3d27454a9e763e8b7d3eb


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