Skip to content
Verified contractExact

Withdrawer

Address0xeeba4159d18e83647319a00b1c2c91a0e60faac6
Balance

0 ETH

 

Transactions

1

 

Compiler

solc 0.4.24

 

Same code

Only this contract

 

Details

Compiler
solc 0.4.24+commit.e67f0147
Language
solidity
Optimization
No
License
Not stated
Match
Exactcreation code: yes, runtime code: yes
Verified on Sourcify
Created in block
23,685,417
Creation transaction
0x0393d055c8…5f577c95af

contracts/Withdrawer.sol

pragma solidity ^0.4.24;

contract Withdrawer {
    
    address public constant DESTINATION = 0x8a721d36dB7B34B46a19D0e1Bc6bfc0bE4Ad9A12;

    function withdrawAll() external payable {

        uint256 amount = address(this).balance;

        require(amount > 0, "No balance to withdraw");

        DESTINATION.transfer(amount);
    }
}
Compiler settingsShow
{
  "optimizer": {
    "runs": 200,
    "enabled": false
  },
  "remappings": []
}

Source code and metadata: Sourcify.

The source code belongs to the authors of the contract.