Withdrawer

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/Withdrawer.sol": {
      "content": "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);
    }
}"
    }
  },
  "settings": {
    "optimizer": {
      "enabled": false,
      "runs": 200
    },
    "outputSelection": {
      "*": {
        "*": [
          "evm.bytecode",
          "evm.deployedBytecode",
          "devdoc",
          "userdoc",
          "metadata",
          "abi"
        ]
      }
    },
    "remappings": []
  }
}}

Tags:
Factory|addr:0xeeba4159d18e83647319a00b1c2c91a0e60faac6|verified:true|block:23685417|tx:0x0393d055c8bc2be662a0736051cb11a4732d3ba07b8448c567673d5f577c95af|first_check:1761770005

Submitted on: 2025-10-29 21:33:26

Comments

Log in to comment.

No comments yet.