Feature Tip: Add private address tag to any address under My Name Tag !
Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 1 internal transaction
Advanced mode:
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
15483593 | 739 days ago | 44 wei |
Loading...
Loading
Similar Match Source Code This contract matches the deployed Bytecode of the Source Code for Contract 0x1BeF270f...Ad201dE66 The constructor portion of the code might be different and could alter the actual behaviour of the contract
Contract Name:
GalaxyCoder
Compiler Version
v0.8.16+commit.07a7930e
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-09-03 */ // 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); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"payForNFT","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"payments","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Deployed Bytecode
0x60806040526004361061003f5760003560e01c8063849a777f14610044578063853828b61461004e5780638da5cb5b14610065578063e2982c2114610090575b600080fd5b61004c6100cd565b005b34801561005a57600080fd5b50610063610113565b005b34801561007157600080fd5b5061007a6101a0565b604051610087919061021d565b60405180910390f35b34801561009c57600080fd5b506100b760048036038101906100b29190610269565b6101c4565b6040516100c491906102af565b60405180910390f35b34600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060003090508173ffffffffffffffffffffffffffffffffffffffff166108fc8273ffffffffffffffffffffffffffffffffffffffff16319081150290604051600060405180830381858888f1935050505015801561019b573d6000803e3d6000fd5b505050565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60016020528060005260406000206000915090505481565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000610207826101dc565b9050919050565b610217816101fc565b82525050565b6000602082019050610232600083018461020e565b92915050565b600080fd5b610246816101fc565b811461025157600080fd5b50565b6000813590506102638161023d565b92915050565b60006020828403121561027f5761027e610238565b5b600061028d84828501610254565b91505092915050565b6000819050919050565b6102a981610296565b82525050565b60006020820190506102c460008301846102a0565b9291505056fea2646970667358221220162c6e8510ecd78298cbf7d97654b742e60718eefdedf9b592ee387f2608a29664736f6c63430008100033
Deployed Bytecode Sourcemap
64:443:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;230:87;;;:::i;:::-;;325:179;;;;;;;;;;;;;:::i;:::-;;94:20;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;121:41;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;230:87;300:9;277:8;:20;286:10;277:20;;;;;;;;;;;;;;;:32;;;;230:87::o;325:179::-;366:19;396:5;;;;;;;;;;;366:36;;413:21;445:4;413:37;;461:3;:12;;:35;474:13;:21;;;461:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;355:149;;325:179::o;94:20::-;;;;;;;;;;;;:::o;121:41::-;;;;;;;;;;;;;;;;;:::o;7:126:1:-;44:7;84:42;77:5;73:54;62:65;;7:126;;;:::o;139:96::-;176:7;205:24;223:5;205:24;:::i;:::-;194:35;;139:96;;;:::o;241:118::-;328:24;346:5;328:24;:::i;:::-;323:3;316:37;241:118;;:::o;365:222::-;458:4;496:2;485:9;481:18;473:26;;509:71;577:1;566:9;562:17;553:6;509:71;:::i;:::-;365:222;;;;:::o;674:117::-;783:1;780;773:12;920:122;993:24;1011:5;993:24;:::i;:::-;986:5;983:35;973:63;;1032:1;1029;1022:12;973:63;920:122;:::o;1048:139::-;1094:5;1132:6;1119:20;1110:29;;1148:33;1175:5;1148:33;:::i;:::-;1048:139;;;;:::o;1193:329::-;1252:6;1301:2;1289:9;1280:7;1276:23;1272:32;1269:119;;;1307:79;;:::i;:::-;1269:119;1427:1;1452:53;1497:7;1488:6;1477:9;1473:22;1452:53;:::i;:::-;1442:63;;1398:117;1193:329;;;;:::o;1528:77::-;1565:7;1594:5;1583:16;;1528:77;;;:::o;1611:118::-;1698:24;1716:5;1698:24;:::i;:::-;1693:3;1686:37;1611:118;;:::o;1735:222::-;1828:4;1866:2;1855:9;1851:18;1843:26;;1879:71;1947:1;1936:9;1932:17;1923:6;1879:71;:::i;:::-;1735:222;;;;:::o
Swarm Source
ipfs://162c6e8510ecd78298cbf7d97654b742e60718eefdedf9b592ee387f2608a296
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 26 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.