Contract 0x4200000000000000000000000000000000000016

Txn Hash Method
Block
From
To
Value
0x4c9fa1080d3aa698e11060606a244026221ffe3699146bf6f9a627b85e04585dTransfer203078102024-01-23 21:01:2840 days 4 hrs ago0x78339d822c23d943e4a2d4c3dd5408f66e6d662d IN 0x4200000000000000000000000000000000000016100 wei0.0001734780143.000000252
0x3216472fc7e68afd2d8175f7ce4b37f4ca08da109aa2978c346739d34f216b61Burn201022442024-01-19 2:49:1644 days 23 hrs ago0x961b6fb7d210298b88d7e4491e907cf09c9cd61d IN 0x42000000000000000000000000000000000000160 ETH0.0001290380162.000000252
0x15e1aa50e55481acdfb9f6df3199da172ad45aa18673e3d3207c77cdb52e7d2aBurn201021622024-01-19 2:46:3244 days 23 hrs ago0x961b6fb7d210298b88d7e4491e907cf09c9cd61d IN 0x42000000000000000000000000000000000000160 ETH0.0000967785161.500000252
0xd15c25a636da90451a007dfc80c136e776edcc28dc3650b3b756efbf6420b6d0Initiate Withdra...186835542023-12-17 6:39:3677 days 19 hrs ago0x1a1e021a302c237453d3d45c7b82b19ceeb7e2e6 IN 0x420000000000000000000000000000000000001669 wei0.0000000592910.001000254
0x69a36c635c8830f807e5f9cfc844356f4d521441580f8f3399dccab53ef7dbf6Initiate Withdra...186832832023-12-17 6:30:3477 days 19 hrs ago0x1a1e021a302c237453d3d45c7b82b19ceeb7e2e6 IN 0x420000000000000000000000000000000000001669 wei0.000000059290.001000252
0x378c25aca1e873eb304308ef5b5d2669fe833865f175085c2034ea4269e2f3a8Initiate Withdra...186830522023-12-17 6:22:5277 days 19 hrs ago0x1a1e021a302c237453d3d45c7b82b19ceeb7e2e6 IN 0x420000000000000000000000000000000000001669 wei0.000000059290.001000252
0x31361dbc739dbbac1e42a814597f1a873c91b695a6f9497c34b621adbcd35e30Initiate Withdra...186830332023-12-17 6:22:1477 days 19 hrs ago0x1a1e021a302c237453d3d45c7b82b19ceeb7e2e6 IN 0x420000000000000000000000000000000000001669 wei0.000000059290.001000252
0x1c8c85dcf7d8596a529c99c9a5a4c91afc7fc6adae3c26d80520c6ca7b8f4016Initiate Withdra...186025042023-12-15 9:37:5679 days 16 hrs ago0x1a1e021a302c237453d3d45c7b82b19ceeb7e2e6 IN 0x420000000000000000000000000000000000001669 wei0.0000000592910.001000252
0xf2a3b45648ebef0b2331b0c5dc2901893ce26cd3edf82a1eb593e88e3d6c8f69Initiate Withdra...186023762023-12-15 9:33:4079 days 16 hrs ago0x1a1e021a302c237453d3d45c7b82b19ceeb7e2e6 IN 0x420000000000000000000000000000000000001669 wei0.000000059290.001000252
0x10e6f90cce84a4913cf07e9c4e0f3e0dd2a57934b7c5eb50beeaf725fcfef796Initiate Withdra...186022862023-12-15 9:30:4079 days 16 hrs ago0x1a1e021a302c237453d3d45c7b82b19ceeb7e2e6 IN 0x420000000000000000000000000000000000001669 wei0.000000059290.001000252
0x10b182b052b6aaff08a33591cf12b3bae15b199c0ac2135be569710fbba275f2Initiate Withdra...186022382023-12-15 9:29:0479 days 16 hrs ago0x1a1e021a302c237453d3d45c7b82b19ceeb7e2e6 IN 0x420000000000000000000000000000000000001669 wei0.000000059290.001000252
0x05c27098027aa3ee520e4a77cdb438041ca8d3e3d21a6f39972d8af5709a729bInitiate Withdra...186021412023-12-15 9:25:5079 days 16 hrs ago0x1a1e021a302c237453d3d45c7b82b19ceeb7e2e6 IN 0x420000000000000000000000000000000000001669 wei0.000000059290.001000252
0x38082f56332ef0c5640487a47412aace70db81cdd0bb40e9a896a85953324ba0Initiate Withdra...134721472023-08-18 15:26:02198 days 10 hrs ago0x525521d79134822a342d330bd91da67976569af1 IN 0x42000000000000000000000000000000000000160.01 ETH0.0000942765031.50000005
0xdda95773f30a6c29bd85c15cafffbdfbccc8c8d61fa9f4de7e4f1442767dcea7Initiate Withdra...133437672023-08-15 16:06:42201 days 9 hrs ago0x525521d79134822a342d330bd91da67976569af1 IN 0x42000000000000000000000000000000000000160.01 ETH0.0000942765031.50000005
0xb59ff0af1db39be0cc03e7410621ed21ce60e5833f8c4bf97d8747bd8d033bc8Initiate Withdra...130467812023-08-08 19:07:10208 days 6 hrs ago0xe804414cf535f46b51d7fdb5d8933926482604e2 IN 0x42000000000000000000000000000000000000160.05 ETH0.0000956320211.50000008
0x95ebb90afd7c96b2ecbf1c1296de66c80e8ca6dfd293e2164de9abcab3f09ca9Initiate Withdra...130466652023-08-08 19:03:18208 days 6 hrs ago0xe804414cf535f46b51d7fdb5d8933926482604e2 IN 0x42000000000000000000000000000000000000160.05 ETH0.0000959285441.500000072
GENESIS_42000000000000000000000000000000000000160x6080604002021-01-14 15:51:401144 days 10 hrs agoGENESIS IN  Contract Creation0 ETH00
0xa078a650a4a86e3f3ec82a8ae746f6e7bfb4f341472bd70c00e5a840b12e3489Initiate Withdra...104417602023-06-09 11:53:08268 days 14 hrs ago0xeb71fa3084f1c3e2a66075760b3e3926f7843f34 IN 0x42000000000000000000000000000000000000160.01 ETH0.0000628990031.00000005
0x7e0104f744edd61bf4bf2516361507b68bbc34e3ea73de36dfe4934d9fdd2c76Initiate Withdra...104046672023-06-08 15:16:42269 days 10 hrs ago0xc4e099340c3a5cacce7835e8b65a2ffe22cb5a29 IN 0x42000000000000000000000000000000000000160.01 ETH0.0000889320041.50000005
0x17f5735dd31c816f3adfa07bbd7513e4c90140ffc4927189a5264f093f630e56Burn89567502023-05-06 2:52:48302 days 23 hrs ago0x2d53f785dcb80c798e0e5e18657095210cf72fe1 IN 0x42000000000000000000000000000000000000160 ETH0.0051505027691.00000005
0xbe96350bcc24fef261bcc9872f6f4e9a7ecfbd0ae96893cbda12d43da959f35aInitiate Withdra...76389722023-04-05 14:46:52333 days 11 hrs ago0x314ea2d08fc2c6d12e7d89bf68f9145e6b71a544 IN 0x42000000000000000000000000000000000000160.01 ETH0.0002873555180.30000005
0xc8a64800b9f10d04624abd5359c046162976246b8ac2f5a2981b843fcefa2143Burn50261462023-02-04 3:12:40393 days 22 hrs ago0x7df608c479d2d2a7df677feec6f2535eb268da01 IN 0x42000000000000000000000000000000000000160 ETH0.0000967755031.500000049
0x44876c542332464106e1aa0f9427657d73187a346d2483b46c157d45a60fbe82Transfer46957272023-01-27 11:38:42401 days 14 hrs ago0xc73567e09e1774f6e9e5f1f9de7fd0c3c4ce94fa IN 0x42000000000000000000000000000000000000160.005 ETH0.0000207156410.002000049
0x1d5b71d505ab2384c63dafa0593e5291289b6d77cefe692f374e503edc314431Burn46915382023-01-27 9:19:04401 days 16 hrs ago0x7df608c479d2d2a7df677feec6f2535eb268da01 IN 0x42000000000000000000000000000000000000160 ETH0.0000968415151.500000049
0x7f18dcfc85691c1a56f39a132d7aec44be280d91bbef2393e8408543cc2d4371Transfer27117602022-11-15 14:50:03474 days 11 hrs ago0x2d815240a61731c75fa01b2793e1d3ed09f289d0 IN 0x42000000000000000000000000000000000000160.001 ETH0.0005378974610.000000001
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0x1ee5ce497f3fe10281a69ab135be8ab2701b63d801e719431f48f758819977eb210411392024-02-09 20:25:4623 days 5 hrs ago 0x42000000000000000000000000000000000000070x42000000000000000000000000000000000000160.1 ETH
0x4eb39f0f70471680db56a074f73f964db75898773085217ab8f3e9a82ab5b70e201313992024-01-19 19:01:0644 days 6 hrs ago 0x42000000000000000000000000000000000000070x42000000000000000000000000000000000000163 wei
0x306f87a05edfae10302235bea7e497a7fa7177b204450634fa30d50e4333965f201313772024-01-19 19:00:2244 days 7 hrs ago 0x42000000000000000000000000000000000000070x42000000000000000000000000000000000000162 wei
0x0db5dc291a0eb7b4894b6ca7929b412a4010291ddd38fcd609de2e939af150fc201312012024-01-19 18:54:3044 days 7 hrs ago 0x42000000000000000000000000000000000000070x42000000000000000000000000000000000000161 wei
0x3216472fc7e68afd2d8175f7ce4b37f4ca08da109aa2978c346739d34f216b61201022442024-01-19 2:49:1644 days 23 hrs ago 0x4200000000000000000000000000000000000016  Contract Creation0 ETH
0x15e1aa50e55481acdfb9f6df3199da172ad45aa18673e3d3207c77cdb52e7d2a201021622024-01-19 2:46:3244 days 23 hrs ago 0x4200000000000000000000000000000000000016  Contract Creation45,973.544777732013108061 ETH
0x003924d7d2e815685a811484c0f577c13de67633d6684f560ba330ea17784940199966162024-01-16 16:08:2047 days 9 hrs ago 0x42000000000000000000000000000000000000070x42000000000000000000000000000000000000161,968 ETH
0x250d9a6fbbacb198fbecab83155b6fb2d198708d7896dcad10c3baa5cd8d9674199679942024-01-16 0:14:1648 days 1 hr ago 0x42000000000000000000000000000000000000070x42000000000000000000000000000000000000160.05 ETH
0xd121368d2b556b43cad4e65e72ed3ebe11b8af9a0d497ae4205defcb9202aa09199656562024-01-15 22:56:2048 days 3 hrs ago 0x42000000000000000000000000000000000000070x42000000000000000000000000000000000000162.162740599416620644 ETH
0xedb6872a42b65e058a2abc93a1c9a82c126f737fe8cdbcffc5721a98ec4a2e1e199610222024-01-15 20:21:5248 days 5 hrs ago 0x42000000000000000000000000000000000000070x42000000000000000000000000000000000000160.0298 ETH
0x8cb0106add049993159453197d85a40719ad0767c92d42afb3e7bf726060cea1199036462024-01-14 12:29:2049 days 13 hrs ago 0x42000000000000000000000000000000000000070x42000000000000000000000000000000000000160.042069 ETH
0xda6cd6bd47ebc983b716227f10fca81cf65a1dde97624ae105bc7eb0f16ec3a9198645322024-01-13 14:45:3250 days 11 hrs ago 0x42000000000000000000000000000000000000070x420000000000000000000000000000000000001611 ETH
0x990944f91322f7ce856420af2d5f00ef954b7168e614a5e541b9323e6f0d1dd0198551122024-01-13 9:31:3250 days 16 hrs ago 0x42000000000000000000000000000000000000070x42000000000000000000000000000000000000160.01 ETH
0x551ffa0d38b6268cb2265e4d17f8ebb72fbfbf1d9cdcf8ee7cd27085922d67b6198334452024-01-12 21:29:1851 days 4 hrs ago 0x42000000000000000000000000000000000000070x42000000000000000000000000000000000000160.01 ETH
0x2ee4b89e8e6b93e15abe6d517dbd28f23538b0c8b1d3723df414875864563328198260462024-01-12 17:22:4051 days 8 hrs ago 0x42000000000000000000000000000000000000070x42000000000000000000000000000000000000160.01 ETH
0x67ab9bdbdac54153d949b452e816fd92667132585e2f7012dcbf8a250fa7da31198220842024-01-12 15:10:3651 days 10 hrs ago 0x42000000000000000000000000000000000000070x42000000000000000000000000000000000000160.001 ETH
0xf72df2c9f502e32f94887051da2f1b7281f0a6c12a86d67cd2be1282b7fa27df198197372024-01-12 13:52:2251 days 12 hrs ago 0x42000000000000000000000000000000000000070x42000000000000000000000000000000000000160.01 ETH
0xce3768150aa5b4ffd6fd0cd1ab60c5b8abba7a2caeaa130e58a6001ebb220731198140692024-01-12 10:43:2651 days 15 hrs ago 0x42000000000000000000000000000000000000070x420000000000000000000000000000000000001618 ETH
0x49cfbaeab94f805e180f874f26080b6bbaa5be7f6a988bd839217d8490841eda198108482024-01-12 8:56:0451 days 17 hrs ago 0x42000000000000000000000000000000000000070x42000000000000000000000000000000000000160.46 ETH
0x6b0f2ff8fdf24f4b079525f8185cce8a3be4aefab8c17e710b42df99e453638b197772322024-01-11 14:15:3252 days 11 hrs ago 0x42000000000000000000000000000000000000070x42000000000000000000000000000000000000160.811074445100243472 ETH
0x1fd91e67600372151f34b4b002651a53b18716f0cd067081e0a706065587dd5e197582852024-01-11 3:43:5852 days 22 hrs ago 0x42000000000000000000000000000000000000070x42000000000000000000000000000000000000162.9 ETH
0xdf44ee6f603d0f5a98c1cdef03accd8826c2f7d15709cc5be8b88673ad5e5688197021512024-01-09 20:32:5054 days 5 hrs ago 0x42000000000000000000000000000000000000070x42000000000000000000000000000000000000160.03 ETH
0x31215cfe216a5cdda95c9949370f5d5ca87ea2f17984582b374c361fd8d29b36196992602024-01-09 18:56:2854 days 7 hrs ago 0x42000000000000000000000000000000000000070x42000000000000000000000000000000000000161.9 ETH
0x4989f33f3eed8323a065e30a0f5b09c570e5f0c4d0c8fbe3fad80f8d1506feee196971802024-01-09 17:47:0854 days 8 hrs ago 0x42000000000000000000000000000000000000070x420000000000000000000000000000000000001614 ETH
0x20ae028417e9a5b48e91a2344081ffa6b82b9fa0629cece4be916800b11bfd4a196946872024-01-09 16:24:0254 days 9 hrs ago 0x42000000000000000000000000000000000000070x42000000000000000000000000000000000000160.04 ETH
[ Download CSV Export 
Latest 23 Deposits
L2 Txn Hash L1 Deposit Txn Value Token
0xdd10929a895460b9974f58048381ef66d402e84a07fc0e4f2fd30e99dac14cd72023-11-28 13:59:2296 days 12 hrs ago0xfc093ff77588d899aa15be4e9e7d98fb1946ee66b23b4580d5bdf36d0a0c71640.0000995 Ether (ETH)
0xa9628a2bfb77308852cd10ffd22739b885b7d5469795c39b2ccdf31bbc3bfbdc2023-11-28 13:55:1096 days 12 hrs ago0x9449a64315b6e238b68b9e3bc1a37cfd50e5327e20dd6163c40cd3516c4fee640.0000995 Ether (ETH)
0xd8b7a4b6c47c44276d96dca56979c78b019d3eade902d7809bfd9a0d6f5037832023-11-28 13:43:2296 days 12 hrs ago0x3080db7e725e9a883df662e496f05f354cc6fcbf87c077101cf8e88c6f1094720.0000995 Ether (ETH)
0xe0450fd4abc4282cf94d1bed580e9fc99f5fd8af10443ced4656647df75f55122023-10-06 14:26:02149 days 11 hrs ago0x6f30fe110060303d1b45bc76fdf023bd65203b833dfdb0874a7f29885162eedc0.000995 Ether (ETH)
0x1e2b4965edd1d94b7500efebc04052435af108502d587c70e1bd22c3187741772023-09-25 17:02:40160 days 8 hrs ago0x2caea1f5406c2ad4d3c4aa5588d89e2b5674752616f3c232b8ed2f745f0df2360.000998 Ether (ETH)
0xd29e41b299bfb5b7363d4df33eaea0664d8d8780a0f46f6d644cf139a7e7fb242023-09-25 16:41:26160 days 9 hrs ago0xccd31814dadaaf12b01aafcbd541251acab60b324eef6583f483653075601c530.00998 Ether (ETH)
0x342922fc32e83e0d17ff84814b9302d8f3f213c53d99abe980439aa03d0e001f2023-09-15 13:42:22170 days 12 hrs ago0x65740488ee29ee87ee1423f3aaebc645151d483035b9c27e33570429a92feb820.0000995 Ether (ETH)
0xd14061abd0fae1cb9347d6ef0a140d3f4650fba1c758f4371f18731a3a5465962023-09-15 13:41:34170 days 12 hrs ago0x4f43299246dd42021e95bf2a3bb941ac4fdb1c448355db3bccb5f5900d27ef9a0.0000995 Ether (ETH)
0xf6ab7e64e39572876a977cfece2228e128edb030f39a95f0baaa1271bbfe59cd2023-09-15 13:41:10170 days 12 hrs ago0x4be1c3fa20cf7def477095186ecdbf973eaa49ca1cd4dedc790dca5393fc52440.0000995 Ether (ETH)
0x53e8b3f8bc7c1601bbfd3888c772c21b799f08b1f4d353686edc30822b9ada062023-09-15 13:38:10170 days 12 hrs ago0x3bdbdfdc71891f28c3db6f2e466e7423ffcdc2499d5e967dbafbccfaaed5d3590.0000995 Ether (ETH)
0xfeb82fd198f1f54a71ee9eac31681bc28eb8f575730b57681f8552cff98eb7682023-09-15 13:32:20170 days 12 hrs ago0x2f7fd868a210da3f2ae114a3bbde18b59953f0647d0bb1008bf461eca421380d0.0000995 Ether (ETH)
0xc673b1f7c26b2493c44e0747ac84e8515618b0cb3ce51256029760304218da992023-09-15 12:52:42170 days 13 hrs ago0x42072f9ce88a2352b1000886ed415dca756073e53179f4916ad3c46c742767c60.0000995 Ether (ETH)
0x4ac9b8d520cb33ed8ef77755462438fb5270db51da2b6e53987aa93bff5f7bbb2023-09-11 15:22:08174 days 10 hrs ago0xb9ffef4ffe173ea56e0ba088e5f13be71e13c4cd87b53cd24629e3ebb20a039e0.000998 Ether (ETH)
0x241e020207da5bf280fb9c15dbb487c56308f0975a14570d480b8b772e9443d42023-09-07 16:04:46178 days 9 hrs ago0x39c5e662d38cf2aac33153a712bed8ada133e72c11ff5bdc13b9f3b4036ad9420.0000995 Ether (ETH)
0x6047f72033ffbbddf029b26e1d83469e1560ac71d3100a844d8570b4c5b373032023-08-11 15:29:00205 days 10 hrs ago0xdd5ca76c523a79af583bae809a4a668002d5bec09494217ce285c5f926c4524e0.01 Ether (ETH)
0x3204c8e4332e99c550085a5c95bff430967d1180c8c102f28dfe4b55301772292023-05-03 22:40:18305 days 3 hrs ago0x517c0ecb92034a6f8b7cf5813058b5e5b2c79f2775a0da599e54964aa6f3668c0.01 Ether (ETH)
0xf83c369efb6f5b9aa835ac42fb759fef0dc578dd3b0a2f4cab62675997a77ebd2023-04-05 17:54:56333 days 8 hrs ago0xeecf09fed227b93ff7a910b030a31d042fb34f4b667d0b7831985343d9ba79c30.01 Ether (ETH)
0xc3a3357cd1656b13d495e60efd8d514f21577622c13ebe03eacb2b307b97796a2023-04-05 17:28:32333 days 8 hrs ago0xd1a78ba34f244f777443bf393d5cc49f8207b98c2516fae4a71cd64f369ff80b0.01 Ether (ETH)
0xd15a17148f67c26a823ac09bb7bd5b21a0c3a9f2f0aef57867b32d0b40d700a92023-03-30 19:42:48339 days 6 hrs ago0xff1be60ac2601eb9b41af16a27d2ad1c2b627319ed60e2a8f2951859d5f628f20.01 Ether (ETH)
0x42d1764c59c6f99e65bf30bdb6363382009a19acce6fdcd6bc8e0fcedab81dcf2023-03-30 18:46:36339 days 7 hrs ago0x74648f31f064de0e04c9e05d18e553c7347821bba9662f071b4b9c0640c1f47c0.01 Ether (ETH)
0x90c78fe8b5c1694bba81385d46bf8866a9d21c3b7d5f2147a94d8e037c80867d2023-03-29 21:44:24340 days 4 hrs ago0xba62649d5c4f3bac2862d4de93118f09b4da1450f47239e2589a5676ff36a0590.01 Ether (ETH)
0x0c7f68d48530698ec50b3c300cd7357dccac201e3598e1fae79e721231b4930f2023-03-29 20:52:46340 days 5 hrs ago0x9ccc2a36c762fd55cdc4651786b0fceac92f56e0141ea6d3404d86dcc104fb1d0.01 Ether (ETH)
0x8cc7bf13c71d1c9f0d5d8cea786cb1f5af8824da9768d90fa6e3f3d5befb47122023-03-29 20:52:22340 days 5 hrs ago0x4d5d02aa3e278ddaae8ac12b56a5ee2a257e2b035492bbb805413a0ffc059cf90.01 Ether (ETH)
[ Download CSV Export 
Loading

Similar Match Source Code
This contract matches the deployed Bytecode of the Source Code for Contract 0x4200000000000000000000000000000000000000
The constructor portion of the code might be different and could alter the actual behaviour of the contract

Contract Name:
Proxy

Compiler Version
v0.8.15+commit.e14f2714

Optimization Enabled:
Yes with 10000 runs

Other Settings:
default evmVersion
/**
 *Submitted for verification at goerli-optimism.etherscan.io on 2023-08-04
*/

// SPDX-License-Identifier: MIT
pragma solidity 0.8.15;

/**
 * @title Proxy
 * @notice Proxy is a transparent proxy that passes through the call if the caller is the owner or
 *         if the caller is address(0), meaning that the call originated from an off-chain
 *         simulation.
 */
contract Proxy {
    /**
     * @notice The storage slot that holds the address of the implementation.
     *         bytes32(uint256(keccak256('eip1967.proxy.implementation')) - 1)
     */
    bytes32 internal constant IMPLEMENTATION_KEY =
        0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;

    /**
     * @notice The storage slot that holds the address of the owner.
     *         bytes32(uint256(keccak256('eip1967.proxy.admin')) - 1)
     */
    bytes32 internal constant OWNER_KEY =
        0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103;

    /**
     * @notice An event that is emitted each time the implementation is changed. This event is part
     *         of the EIP-1967 specification.
     *
     * @param implementation The address of the implementation contract
     */
    event Upgraded(address indexed implementation);

    /**
     * @notice An event that is emitted each time the owner is upgraded. This event is part of the
     *         EIP-1967 specification.
     *
     * @param previousAdmin The previous owner of the contract
     * @param newAdmin      The new owner of the contract
     */
    event AdminChanged(address previousAdmin, address newAdmin);

    /**
     * @notice A modifier that reverts if not called by the owner or by address(0) to allow
     *         eth_call to interact with this proxy without needing to use low-level storage
     *         inspection. We assume that nobody is able to trigger calls from address(0) during
     *         normal EVM execution.
     */
    modifier proxyCallIfNotAdmin() {
        if (msg.sender == _getAdmin() || msg.sender == address(0)) {
            _;
        } else {
            // This WILL halt the call frame on completion.
            _doProxyCall();
        }
    }

    /**
     * @notice Sets the initial admin during contract deployment. Admin address is stored at the
     *         EIP-1967 admin storage slot so that accidental storage collision with the
     *         implementation is not possible.
     *
     * @param _admin Address of the initial contract admin. Admin as the ability to access the
     *               transparent proxy interface.
     */
    constructor(address _admin) {
        _changeAdmin(_admin);
    }

    // slither-disable-next-line locked-ether
    receive() external payable {
        // Proxy call by default.
        _doProxyCall();
    }

    // slither-disable-next-line locked-ether
    fallback() external payable {
        // Proxy call by default.
        _doProxyCall();
    }

    /**
     * @notice Set the implementation contract address. The code at the given address will execute
     *         when this contract is called.
     *
     * @param _implementation Address of the implementation contract.
     */
    function upgradeTo(address _implementation) external proxyCallIfNotAdmin {
        _setImplementation(_implementation);
    }

    /**
     * @notice Set the implementation and call a function in a single transaction. Useful to ensure
     *         atomic execution of initialization-based upgrades.
     *
     * @param _implementation Address of the implementation contract.
     * @param _data           Calldata to delegatecall the new implementation with.
     */
    function upgradeToAndCall(address _implementation, bytes calldata _data)
        external
        payable
        proxyCallIfNotAdmin
        returns (bytes memory)
    {
        _setImplementation(_implementation);
        (bool success, bytes memory returndata) = _implementation.delegatecall(_data);
        require(success, "Proxy: delegatecall to new implementation contract failed");
        return returndata;
    }

    /**
     * @notice Changes the owner of the proxy contract. Only callable by the owner.
     *
     * @param _admin New owner of the proxy contract.
     */
    function changeAdmin(address _admin) external proxyCallIfNotAdmin {
        _changeAdmin(_admin);
    }

    /**
     * @notice Gets the owner of the proxy contract.
     *
     * @return Owner address.
     */
    function admin() external proxyCallIfNotAdmin returns (address) {
        return _getAdmin();
    }

    /**
     * @notice Queries the implementation address.
     *
     * @return Implementation address.
     */
    function implementation() external proxyCallIfNotAdmin returns (address) {
        return _getImplementation();
    }

    /**
     * @notice Sets the implementation address.
     *
     * @param _implementation New implementation address.
     */
    function _setImplementation(address _implementation) internal {
        assembly {
            sstore(IMPLEMENTATION_KEY, _implementation)
        }
        emit Upgraded(_implementation);
    }

    /**
     * @notice Changes the owner of the proxy contract.
     *
     * @param _admin New owner of the proxy contract.
     */
    function _changeAdmin(address _admin) internal {
        address previous = _getAdmin();
        assembly {
            sstore(OWNER_KEY, _admin)
        }
        emit AdminChanged(previous, _admin);
    }

    /**
     * @notice Performs the proxy call via a delegatecall.
     */
    function _doProxyCall() internal {
        address impl = _getImplementation();
        require(impl != address(0), "Proxy: implementation not initialized");

        assembly {
            // Copy calldata into memory at 0x0....calldatasize.
            calldatacopy(0x0, 0x0, calldatasize())

            // Perform the delegatecall, make sure to pass all available gas.
            let success := delegatecall(gas(), impl, 0x0, calldatasize(), 0x0, 0x0)

            // Copy returndata into memory at 0x0....returndatasize. Note that this *will*
            // overwrite the calldata that we just copied into memory but that doesn't really
            // matter because we'll be returning in a second anyway.
            returndatacopy(0x0, 0x0, returndatasize())

            // Success == 0 means a revert. We'll revert too and pass the data up.
            if iszero(success) {
                revert(0x0, returndatasize())
            }

            // Otherwise we'll just return and pass the data up.
            return(0x0, returndatasize())
        }
    }

    /**
     * @notice Queries the implementation address.
     *
     * @return Implementation address.
     */
    function _getImplementation() internal view returns (address) {
        address impl;
        assembly {
            impl := sload(IMPLEMENTATION_KEY)
        }
        return impl;
    }

    /**
     * @notice Queries the owner of the proxy contract.
     *
     * @return Owner address.
     */
    function _getAdmin() internal view returns (address) {
        address owner;
        assembly {
            owner := sload(OWNER_KEY)
        }
        return owner;
    }
}

Contract ABI

[{"inputs":[{"internalType":"address","name":"_admin","type":"address"}],"stateMutability":"nonpayable","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":"implementation","type":"address"}],"name":"Upgraded","type":"event"},{"stateMutability":"payable","type":"fallback"},{"inputs":[],"name":"admin","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_admin","type":"address"}],"name":"changeAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"implementation","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_implementation","type":"address"}],"name":"upgradeTo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_implementation","type":"address"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"upgradeToAndCall","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"payable","type":"function"},{"stateMutability":"payable","type":"receive"}]

Deployed Bytecode

0x60806040526004361061005e5760003560e01c80635c60da1b116100435780635c60da1b146100be5780638f283970146100f8578063f851a440146101185761006d565b80633659cfe6146100755780634f1ef286146100955761006d565b3661006d5761006b61012d565b005b61006b61012d565b34801561008157600080fd5b5061006b6100903660046106d9565b610224565b6100a86100a33660046106f4565b610296565b6040516100b59190610777565b60405180910390f35b3480156100ca57600080fd5b506100d3610419565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016100b5565b34801561010457600080fd5b5061006b6101133660046106d9565b6104b0565b34801561012457600080fd5b506100d3610517565b60006101577f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5490565b905073ffffffffffffffffffffffffffffffffffffffff8116610201576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f50726f78793a20696d706c656d656e746174696f6e206e6f7420696e6974696160448201527f6c697a656400000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b3660008037600080366000845af43d6000803e8061021e573d6000fd5b503d6000f35b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035473ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16148061027d575033155b1561028e5761028b816105a3565b50565b61028b61012d565b60606102c07fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035490565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806102f7575033155b1561040a57610305846105a3565b6000808573ffffffffffffffffffffffffffffffffffffffff16858560405161032f9291906107ea565b600060405180830381855af49150503d806000811461036a576040519150601f19603f3d011682016040523d82523d6000602084013e61036f565b606091505b509150915081610401576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603960248201527f50726f78793a2064656c656761746563616c6c20746f206e657720696d706c6560448201527f6d656e746174696f6e20636f6e7472616374206661696c65640000000000000060648201526084016101f8565b91506104129050565b61041261012d565b9392505050565b60006104437fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035490565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16148061047a575033155b156104a557507f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5490565b6104ad61012d565b90565b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035473ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480610509575033155b1561028e5761028b8161060b565b60006105417fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035490565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480610578575033155b156104a557507fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035490565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc81905560405173ffffffffffffffffffffffffffffffffffffffff8216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b60006106357fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035490565b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61038390556040805173ffffffffffffffffffffffffffffffffffffffff8084168252851660208201529192507f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f910160405180910390a15050565b803573ffffffffffffffffffffffffffffffffffffffff811681146106d457600080fd5b919050565b6000602082840312156106eb57600080fd5b610412826106b0565b60008060006040848603121561070957600080fd5b610712846106b0565b9250602084013567ffffffffffffffff8082111561072f57600080fd5b818601915086601f83011261074357600080fd5b81358181111561075257600080fd5b87602082850101111561076457600080fd5b6020830194508093505050509250925092565b600060208083528351808285015260005b818110156107a457858101830151858201604001528201610788565b818111156107b6576000604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b818382376000910190815291905056fea164736f6c634300080f000a

Block Transaction Difficulty Gas Used Reward
Block Uncle Number Difficulty Gas Used Reward
Loading