Discover more of Etherscan's tools and services in one place.
Sponsored
Contract Source Code:
File 1 of 1 : GalaxyCoder
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; contract GalaxyCoder { address public owner; mapping (address => uint) public payments; constructor() { owner = msg.sender; } function payForNFT() public payable { payments[msg.sender] = msg.value; } function withdrawAll() public { address payable _to = payable(owner); address _thisContract = address(this); _to.transfer(_thisContract.balance); } }
Please enter a contract address above to load the contract details and source code.
Please DO NOT store any passwords or private keys here. A private note (up to 100 characters) can be saved and is useful for transaction tracking.
My Name Tag:
Private Note:
This website uses cookies to improve your experience. By continuing to use this website, you agree to its Terms and Privacy Policy.