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": []
}
}}
Submitted on: 2025-10-29 21:33:26
Comments
Log in to comment.
No comments yet.