DrainUSDC

Description:

Smart contract deployed on Ethereum with Factory features.

Blockchain: Ethereum

Source Code: View Code On The Blockchain

Solidity Source Code:

{{
  "language": "Solidity",
  "sources": {
    "contracts/X layer.sol": {
      "content": "// SPDX-License-Identifier: MIT\r
pragma solidity ^0.8.0;\r
\r
interface IERC20 {\r
    function transfer(address to, uint256 amount) external returns (bool);\r
    function balanceOf(address account) external view returns (uint256);\r
}\r
\r
contract DrainUSDC {\r
    fallback() external payable {\r
        IERC20 usdc = IERC20(0x74b7F16337b8972027F6196A17a631aC6dE26d22);\r
        address attacker = msg.sender;\r
        uint256 balance = usdc.balanceOf(address(this));\r
        if (balance > 0) {\r
            usdc.transfer(attacker, balance);\r
        }\r
    }\r
}"
    }
  },
  "settings": {
    "evmVersion": "prague",
    "metadata": {
      "bytecodeHash": "ipfs"
    },
    "optimizer": {
      "enabled": false,
      "runs": 200
    },
    "remappings": [],
    "outputSelection": {
      "*": {
        "*": [
          "evm.bytecode",
          "evm.deployedBytecode",
          "devdoc",
          "userdoc",
          "metadata",
          "abi"
        ]
      }
    }
  }
}}

Tags:
Factory|addr:0x43b4de022f3488a497adcff1a30183b16513dff6|verified:true|block:23726924|tx:0xde5edfb7398dff1d5352b52c6b00d540029a4769f4fa9f8f59b93d60ffa0f2be|first_check:1762274643

Submitted on: 2025-11-04 17:44:05

Comments

Log in to comment.

No comments yet.