Faucet

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/Faucet.sol": {
      "content": "//SPDX-License-Identifier: Unlicense
pragma solidity ^0.8.0;

contract Faucet {

    function withdraw(uint _amount) public {
        // users can only withdraw .1 ETH at a time, feel free to change this!
        require(_amount <= 100000000000000000);
        payable(msg.sender).transfer(_amount);
    }

    // fallback function
    receive() external payable {}
}"
    }
  },
  "settings": {
    "evmVersion": "paris",
    "optimizer": {
      "enabled": false,
      "runs": 200
    },
    "outputSelection": {
      "*": {
        "*": [
          "evm.bytecode",
          "evm.deployedBytecode",
          "devdoc",
          "userdoc",
          "metadata",
          "abi"
        ]
      }
    }
  }
}}

Tags:
Factory|addr:0xa3d47a6b676461e0fe0d843c978a693d6f6b56db|verified:true|block:23711868|tx:0x68a75f804b5b678343146853fac43dabcabc53c65e05a39406f4b424a38fd15b|first_check:1762092868

Submitted on: 2025-11-02 15:14:30

Comments

Log in to comment.

No comments yet.