Contract 0xe2fc8f14b6ceb1ad8165623e02953edb100288be

 
 
Txn Hash
Method
Block
From
To
Value [Txn Fee]
0x069e0696857990d7742345d8ba959bdcb72f11eb615bed441af85226468042650x60806040273981292022-04-21 10:31:51414 days 4 hrs ago0x6fde30a7f4709a1739a32a8235af651c038cedf9 IN  Contract Creation0 MATIC0.030588994168 51.644950258
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0x30c9fbb9c1557af8a471554bb5e98a232f1f9dd369afa224a974dcf5bbd436ae417187122023-04-19 19:11:1450 days 19 hrs ago 0xe4747a26b941ebdbc7ef67de7580f700e3dbf6d5 0xe2fc8f14b6ceb1ad8165623e02953edb100288be0.04910535557895 MATIC
0x4056d2139a4ed6e4410487c66b2efcfa6f6299a9fc760f810480b1912a272902416737542023-04-18 13:48:0152 days 1 hr ago 0xe2fc8f14b6ceb1ad8165623e02953edb100288be Gelato Network: Gelato0.096326696355687371 MATIC
0x4056d2139a4ed6e4410487c66b2efcfa6f6299a9fc760f810480b1912a272902416737542023-04-18 13:48:0152 days 1 hr ago 0xe4747a26b941ebdbc7ef67de7580f700e3dbf6d5 0xe2fc8f14b6ceb1ad8165623e02953edb100288be0.096326696355687371 MATIC
0x4e0114a3513e721914bafbcfff18df0ab0447448b015deb08759529103ac724f415949902023-04-16 10:50:1754 days 4 hrs ago 0xe4747a26b941ebdbc7ef67de7580f700e3dbf6d5 0xe2fc8f14b6ceb1ad8165623e02953edb100288be0.043131252078266 MATIC
0x5666ca072ba1949999bb2368e7ef027ae2225f7b75ed7d6f3070f215fda8f433415725602023-04-15 20:17:2854 days 18 hrs ago 0xe4747a26b941ebdbc7ef67de7580f700e3dbf6d5 0xe2fc8f14b6ceb1ad8165623e02953edb100288be0.044449602915586365 MATIC
0x5d1d0a7143d4d04fbf4c269c9f111297b17a0ad092e38d8c90b19d77ecb06c9c414914492023-04-13 17:19:3356 days 21 hrs ago 0xe4747a26b941ebdbc7ef67de7580f700e3dbf6d5 0xe2fc8f14b6ceb1ad8165623e02953edb100288be0.040692497797732 MATIC
0x8c1bc86381e816422cca30b588978a1414e03d04e355313c37d6f2504c8f06fb414063472023-04-11 12:29:4259 days 2 hrs ago 0xe4747a26b941ebdbc7ef67de7580f700e3dbf6d5 0xe2fc8f14b6ceb1ad8165623e02953edb100288be0.050466341244044 MATIC
0x1af72e400e3d26fe12d15944851a6d8959487314c9e7a21d9f6d40871aaea6c9399945702023-03-05 13:44:0496 days 1 hr ago 0xe026086181bcfbd06db4c67739aa9c36054d5551 0xe2fc8f14b6ceb1ad8165623e02953edb100288be0.029865203239501515 MATIC
0x9c035a15ba0469219674aa1871a77ba2acec8e4c40a86013b9d56467a2f2b268399175332023-03-03 12:49:2998 days 2 hrs ago 0x7581f456cf77ce416c2a4a4a43857a38cbe0bafe 0xe2fc8f14b6ceb1ad8165623e02953edb100288be0.0326930138249 MATIC
0xee7de985c11a9ae046286606578b5c3ced391a758d69234654cf12ffa94521dd399072732023-03-03 6:34:2698 days 8 hrs ago 0xe2fc8f14b6ceb1ad8165623e02953edb100288be Gelato Network: Gelato0.032021734914268 MATIC
0xee7de985c11a9ae046286606578b5c3ced391a758d69234654cf12ffa94521dd399072732023-03-03 6:34:2698 days 8 hrs ago 0xe4747a26b941ebdbc7ef67de7580f700e3dbf6d5 0xe2fc8f14b6ceb1ad8165623e02953edb100288be0.032021734914268 MATIC
0x5cc3e731d3aea7925d5ad34a3607052d85045a070ccdff8b8773d5e8a1815b48398979952023-03-03 0:23:1598 days 14 hrs ago 0xe026086181bcfbd06db4c67739aa9c36054d5551 0xe2fc8f14b6ceb1ad8165623e02953edb100288be0.024594182659288 MATIC
0x50ee1fc262ed090888f034152b25b76b78995bc63155ab3242f026ba820d07aa398976002023-03-03 0:07:5998 days 15 hrs ago 0x8c336154121c0d70133b8c7f906a729cf034e5be 0xe2fc8f14b6ceb1ad8165623e02953edb100288be0.01812776668169775 MATIC
0x8538154a22b434b78a678137abadf6698a4dc74e43ba1a6db30930be5ea88bd3398936762023-03-02 21:37:5398 days 17 hrs ago 0xb3ac2b73fa658ee49abf8bc691c1239557c5cc6d 0xe2fc8f14b6ceb1ad8165623e02953edb100288be0.02317772501560395 MATIC
0x3599604d5aba25fa5d453fb9b7e43b4daccc85db95e5e84a2e4a189ac7097bd9398935552023-03-02 21:33:0598 days 17 hrs ago 0xe2fc8f14b6ceb1ad8165623e02953edb100288be Gelato Network: Gelato0.0181797732692202 MATIC
0x3599604d5aba25fa5d453fb9b7e43b4daccc85db95e5e84a2e4a189ac7097bd9398935552023-03-02 21:33:0598 days 17 hrs ago 0x7581f456cf77ce416c2a4a4a43857a38cbe0bafe 0xe2fc8f14b6ceb1ad8165623e02953edb100288be0.0181797732692202 MATIC
0x60671e9dc00599f912f9f31416fb1e6489df41e72dfbaaa955022d568ed19e38398932742023-03-02 21:22:3498 days 17 hrs ago 0x81b70088368d6718bd6fd1686b8b621244aa3ff5 0xe2fc8f14b6ceb1ad8165623e02953edb100288be0.020577630722704 MATIC
0x2b2d0df3519e385c291f5073ccaa5b22ac84082495adaab8517e654c3c7771f3398809532023-03-02 13:16:5299 days 1 hr ago 0xe4747a26b941ebdbc7ef67de7580f700e3dbf6d5 0xe2fc8f14b6ceb1ad8165623e02953edb100288be0.02822530325757285 MATIC
0x696b54fb88c5c1013015566084bd9e792579728cf03b9bba39d416ce441e51f8398790872023-03-02 12:06:3299 days 3 hrs ago 0xe4747a26b941ebdbc7ef67de7580f700e3dbf6d5 0xe2fc8f14b6ceb1ad8165623e02953edb100288be0.02758857963050475 MATIC
0x38018527263472adf9ed8d00994339531af8bc5beb2af4c5314d3163c1ec3b4a398745922023-03-02 9:14:4399 days 5 hrs ago 0xe4747a26b941ebdbc7ef67de7580f700e3dbf6d5 0xe2fc8f14b6ceb1ad8165623e02953edb100288be0.03712950394692 MATIC
0xb2346e22a7448d39255a3f322bafde03c31b43ed02e68b14327500b8ecef64e8398740632023-03-02 8:54:5399 days 6 hrs ago 0xb3ac2b73fa658ee49abf8bc691c1239557c5cc6d 0xe2fc8f14b6ceb1ad8165623e02953edb100288be0.03333584332279245 MATIC
0xb49012ba6a375ddb7fa2b62ea4dda9a58412873d861302a6363b7bb117d06668398740202023-03-02 8:52:5199 days 6 hrs ago 0xb3ac2b73fa658ee49abf8bc691c1239557c5cc6d 0xe2fc8f14b6ceb1ad8165623e02953edb100288be0.02639703437700285 MATIC
0x02d7dc7afd14f744d6131affd9a017e86b689d236460ccbdecdcbd0bad9ec80f398738652023-03-02 8:47:2199 days 6 hrs ago 0xb3ac2b73fa658ee49abf8bc691c1239557c5cc6d 0xe2fc8f14b6ceb1ad8165623e02953edb100288be0.03683717875335135 MATIC
0x1bf0dfc7f0740e188eaefb003b0406b5d6ec9fc64aae2fd936c4222bb77e3f9f398683042023-03-02 5:19:1199 days 9 hrs ago 0x7581f456cf77ce416c2a4a4a43857a38cbe0bafe 0xe2fc8f14b6ceb1ad8165623e02953edb100288be0.039679065077586 MATIC
0x0fb65e96839a26ade331efba0249c8e72e557286ba2b9215c18dfa36db561c0d398505612023-03-01 18:02:0199 days 21 hrs ago 0x8c336154121c0d70133b8c7f906a729cf034e5be 0xe2fc8f14b6ceb1ad8165623e02953edb100288be0.0303973459147809 MATIC
[ Download CSV Export 
Loading

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

Contract Name:
EIP173ProxyWithReceive

Compiler Version
v0.7.6+commit.7338295f

Optimization Enabled:
Yes with 999999 runs

Other Settings:
default evmVersion, MIT license
File 1 of 3 : EIP173Proxy.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.7.0;

import "./Proxy.sol";

interface ERC165 {
    function supportsInterface(bytes4 id) external view returns (bool);
}

///@notice Proxy implementing EIP173 for ownership management
contract EIP173Proxy is Proxy {
    // ////////////////////////// EVENTS ///////////////////////////////////////////////////////////////////////

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    // /////////////////////// CONSTRUCTOR //////////////////////////////////////////////////////////////////////

    constructor(
        address implementationAddress,
        address ownerAddress,
        bytes memory data
    ) payable {
        _setImplementation(implementationAddress, data);
        _setOwner(ownerAddress);
    }

    // ///////////////////// EXTERNAL ///////////////////////////////////////////////////////////////////////////

    function owner() external view returns (address) {
        return _owner();
    }

    function supportsInterface(bytes4 id) external view returns (bool) {
        if (id == 0x01ffc9a7 || id == 0x7f5828d0) {
            return true;
        }
        if (id == 0xFFFFFFFF) {
            return false;
        }

        ERC165 implementation;
        // solhint-disable-next-line security/no-inline-assembly
        assembly {
            implementation := sload(0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc)
        }

        // Technically this is not standard compliant as ERC-165 require 30,000 gas which that call cannot ensure
        // because it is itself inside `supportsInterface` that might only get 30,000 gas.
        // In practise this is unlikely to be an issue.
        try implementation.supportsInterface(id) returns (bool support) {
            return support;
        } catch {
            return false;
        }
    }

    function transferOwnership(address newOwner) external onlyOwner {
        _setOwner(newOwner);
    }

    function upgradeTo(address newImplementation) external onlyOwner {
        _setImplementation(newImplementation, "");
    }

    function upgradeToAndCall(address newImplementation, bytes calldata data) external payable onlyOwner {
        _setImplementation(newImplementation, data);
    }

    // /////////////////////// MODIFIERS ////////////////////////////////////////////////////////////////////////

    modifier onlyOwner() {
        require(msg.sender == _owner(), "NOT_AUTHORIZED");
        _;
    }

    // ///////////////////////// INTERNAL //////////////////////////////////////////////////////////////////////

    function _owner() internal view returns (address adminAddress) {
        // solhint-disable-next-line security/no-inline-assembly
        assembly {
            adminAddress := sload(0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103)
        }
    }

    function _setOwner(address newOwner) internal {
        address previousOwner = _owner();
        // solhint-disable-next-line security/no-inline-assembly
        assembly {
            sstore(0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103, newOwner)
        }
        emit OwnershipTransferred(previousOwner, newOwner);
    }
}

File 2 of 3 : EIP173ProxyWithReceive.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.7.0;

import "./EIP173Proxy.sol";

///@notice Proxy implementing EIP173 for ownership management that accept ETH via receive
contract EIP173ProxyWithReceive is EIP173Proxy {
    constructor(
        address implementationAddress,
        address ownerAddress,
        bytes memory data
    ) payable EIP173Proxy(implementationAddress, ownerAddress, data) {}

    receive() external payable override {}
}

File 3 of 3 : Proxy.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.7.0;

// EIP-1967
abstract contract Proxy {
    // /////////////////////// EVENTS ///////////////////////////////////////////////////////////////////////////

    event ProxyImplementationUpdated(address indexed previousImplementation, address indexed newImplementation);

    // ///////////////////// EXTERNAL ///////////////////////////////////////////////////////////////////////////

    receive() external payable virtual {
        revert("ETHER_REJECTED"); // explicit reject by default
    }

    fallback() external payable {
        _fallback();
    }

    // ///////////////////////// INTERNAL //////////////////////////////////////////////////////////////////////

    function _fallback() internal {
        // solhint-disable-next-line security/no-inline-assembly
        assembly {
            let implementationAddress := sload(0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc)
            calldatacopy(0x0, 0x0, calldatasize())
            let success := delegatecall(gas(), implementationAddress, 0x0, calldatasize(), 0, 0)
            let retSz := returndatasize()
            returndatacopy(0, 0, retSz)
            switch success
                case 0 {
                    revert(0, retSz)
                }
                default {
                    return(0, retSz)
                }
        }
    }

    function _setImplementation(address newImplementation, bytes memory data) internal {
        address previousImplementation;
        // solhint-disable-next-line security/no-inline-assembly
        assembly {
            previousImplementation := sload(0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc)
        }

        // solhint-disable-next-line security/no-inline-assembly
        assembly {
            sstore(0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc, newImplementation)
        }

        emit ProxyImplementationUpdated(previousImplementation, newImplementation);

        if (data.length > 0) {
            (bool success, ) = newImplementation.delegatecall(data);
            if (!success) {
                assembly {
                    // This assembly ensure the revert contains the exact string data
                    let returnDataSize := returndatasize()
                    returndatacopy(0, 0, returnDataSize)
                    revert(0, returnDataSize)
                }
            }
        }
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"implementationAddress","type":"address"},{"internalType":"address","name":"ownerAddress","type":"address"},{"internalType":"bytes","name":"data","type":"bytes"}],"stateMutability":"payable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousImplementation","type":"address"},{"indexed":true,"internalType":"address","name":"newImplementation","type":"address"}],"name":"ProxyImplementationUpdated","type":"event"},{"stateMutability":"payable","type":"fallback"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"id","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"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":"payable","type":"function"},{"stateMutability":"payable","type":"receive"}]

6080604052604051610b8e380380610b8e8339818101604052606081101561002657600080fd5b8151602083015160408085018051915193959294830192918464010000000082111561005157600080fd5b90830190602082018581111561006657600080fd5b825164010000000081118282018810171561008057600080fd5b82525081516020918201929091019080838360005b838110156100ad578181015183820152602001610095565b50505050905090810190601f1680156100da5780820380516001836020036101000a031916815260200191505b506040525050508282826100f4838261010860201b60201c565b6100fd8261022b565b50505050505061029f565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc8054908390556040516001600160a01b0380851691908316907f5570d70a002632a7b0b3c9304cc89efb62d8da9eca0dbd7752c83b737906829690600090a3815115610226576000836001600160a01b0316836040518082805190602001908083835b602083106101ab5780518252601f19909201916020918201910161018c565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855af49150503d806000811461020b576040519150601f19603f3d011682016040523d82523d6000602084013e610210565b606091505b5050905080610224573d806000803e806000fd5b505b505050565b600061023561028c565b905081600080516020610b6e83398151915255816001600160a01b0316816001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600080516020610b6e8339815191525490565b6108c0806102ae6000396000f3fe60806040526004361061005e5760003560e01c80634f1ef286116100435780634f1ef2861461010f5780638da5cb5b1461019c578063f2fde38b146101da57610065565b806301ffc9a71461006f5780633659cfe6146100cf57610065565b3661006557005b61006d61021a565b005b34801561007b57600080fd5b506100bb6004803603602081101561009257600080fd5b50357fffffffff0000000000000000000000000000000000000000000000000000000016610265565b604080519115158252519081900360200190f35b3480156100db57600080fd5b5061006d600480360360208110156100f257600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610428565b61006d6004803603604081101561012557600080fd5b73ffffffffffffffffffffffffffffffffffffffff823516919081019060408101602082013564010000000081111561015d57600080fd5b82018360208201111561016f57600080fd5b8035906020019184600183028401116401000000008311171561019157600080fd5b5090925090506104e5565b3480156101a857600080fd5b506101b16105cb565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b3480156101e657600080fd5b5061006d600480360360208110156101fd57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166105da565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5460003681823780813683855af491503d8082833e82801561025b578183f35b8183fd5b50505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff00000000000000000000000000000000000000000000000000000000831614806102f857507f7f5828d0000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b1561030557506001610423565b7fffffffff00000000000000000000000000000000000000000000000000000000808316141561033757506000610423565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc54604080517f01ffc9a70000000000000000000000000000000000000000000000000000000081527fffffffff0000000000000000000000000000000000000000000000000000000085166004820152905173ffffffffffffffffffffffffffffffffffffffff8316916301ffc9a7916024808301926020929190829003018186803b1580156103e757600080fd5b505afa92505050801561040c57506040513d602081101561040757600080fd5b505160015b61041a576000915050610423565b91506104239050565b919050565b610430610684565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146104c957604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f4e4f545f415554484f52495a4544000000000000000000000000000000000000604482015290519081900360640190fd5b6104e281604051806020016040528060008152506106a9565b50565b6104ed610684565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461058657604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f4e4f545f415554484f52495a4544000000000000000000000000000000000000604482015290519081900360640190fd5b6105c68383838080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506106a992505050565b505050565b60006105d5610684565b905090565b6105e2610684565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461067b57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f4e4f545f415554484f52495a4544000000000000000000000000000000000000604482015290519081900360640190fd5b6104e2816107fd565b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035490565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc80549083905560405173ffffffffffffffffffffffffffffffffffffffff80851691908316907f5570d70a002632a7b0b3c9304cc89efb62d8da9eca0dbd7752c83b737906829690600090a38151156105c65760008373ffffffffffffffffffffffffffffffffffffffff16836040518082805190602001908083835b6020831061078457805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092019160209182019101610747565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855af49150503d80600081146107e4576040519150601f19603f3d011682016040523d82523d6000602084013e6107e9565b606091505b505090508061025f573d806000803e806000fd5b6000610807610684565b9050817fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103558173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3505056fea2646970667358221220f6734e2f5e7412e016ccdc27ea9b9d47696b2352d217637cd7b9bf24fe9ace7d64736f6c63430007060033b53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610300000000000000000000000043100a190c3feae37cb1f5d880e8fa8d81be5cb90000000000000000000000006fde30a7f4709a1739a32a8235af651c038cedf900000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000000

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.