ETH Price: $2,056.60 (+7.90%)
 

Overview

ETH Balance

0.000001202 ETH

Eth Value

Less Than $0.01 (@ $2,056.60/ETH)

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Pay For NFT166518952023-02-18 0:13:351104 days ago1676679215IN
0x06Bb34ae...15E2bf2Aa
0.000001 ETH0.0010304523.76285942
Pay For NFT162954062022-12-30 5:09:591153 days ago1672376999IN
0x06Bb34ae...15E2bf2Aa
0 ETH0.000606113.97721668
Pay For NFT162954012022-12-30 5:08:591153 days ago1672376939IN
0x06Bb34ae...15E2bf2Aa
0 ETH0.0006615.22014264
Pay For NFT162161632022-12-19 3:50:231165 days ago1671421823IN
0x06Bb34ae...15E2bf2Aa
0.0000001 ETH0.000519511.98005847
Pay For NFT162161602022-12-19 3:49:471165 days ago1671421787IN
0x06Bb34ae...15E2bf2Aa
0.0000001 ETH0.0005092511.7438156

Advanced mode:
Parent Transaction Hash Method Block
From
To
View All Internal Transactions
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading

Similar Match Source Code
This contract matches the deployed Bytecode of the Source Code for Contract 0x8315aC25...4B0BC490a
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.7+commit.e28d00a7

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2022-12-13
*/

// 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

Contract ABI

API
[{"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"}]

0x608060405234801561001057600080fd5b50336000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550610300806100606000396000f3fe60806040526004361061003f5760003560e01c8063849a777f14610044578063853828b61461004e5780638da5cb5b14610065578063e2982c2114610090575b600080fd5b61004c6100cd565b005b34801561005a57600080fd5b50610063610113565b005b34801561007157600080fd5b5061007a6101a0565b604051610087919061023c565b60405180910390f35b34801561009c57600080fd5b506100b760048036038101906100b291906101f1565b6101c4565b6040516100c49190610257565b60405180910390f35b34600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060003090508173ffffffffffffffffffffffffffffffffffffffff166108fc8273ffffffffffffffffffffffffffffffffffffffff16319081150290604051600060405180830381858888f1935050505015801561019b573d6000803e3d6000fd5b505050565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60016020528060005260406000206000915090505481565b6000813590506101eb816102b3565b92915050565b600060208284031215610207576102066102ae565b5b6000610215848285016101dc565b91505092915050565b61022781610272565b82525050565b610236816102a4565b82525050565b6000602082019050610251600083018461021e565b92915050565b600060208201905061026c600083018461022d565b92915050565b600061027d82610284565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600080fd5b6102bc81610272565b81146102c757600080fd5b5056fea2646970667358221220e4d1f518ad3e2a2230b8864754ac4a88ed46a4dfc8049db0d1022c0c2fcd052e64736f6c63430008070033

Deployed Bytecode

0x60806040526004361061003f5760003560e01c8063849a777f14610044578063853828b61461004e5780638da5cb5b14610065578063e2982c2114610090575b600080fd5b61004c6100cd565b005b34801561005a57600080fd5b50610063610113565b005b34801561007157600080fd5b5061007a6101a0565b604051610087919061023c565b60405180910390f35b34801561009c57600080fd5b506100b760048036038101906100b291906101f1565b6101c4565b6040516100c49190610257565b60405180910390f35b34600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060003090508173ffffffffffffffffffffffffffffffffffffffff166108fc8273ffffffffffffffffffffffffffffffffffffffff16319081150290604051600060405180830381858888f1935050505015801561019b573d6000803e3d6000fd5b505050565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60016020528060005260406000206000915090505481565b6000813590506101eb816102b3565b92915050565b600060208284031215610207576102066102ae565b5b6000610215848285016101dc565b91505092915050565b61022781610272565b82525050565b610236816102a4565b82525050565b6000602082019050610251600083018461021e565b92915050565b600060208201905061026c600083018461022d565b92915050565b600061027d82610284565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600080fd5b6102bc81610272565b81146102c757600080fd5b5056fea2646970667358221220e4d1f518ad3e2a2230b8864754ac4a88ed46a4dfc8049db0d1022c0c2fcd052e64736f6c63430008070033

Deployed Bytecode Sourcemap

62:443:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;228:87;;;:::i;:::-;;323:179;;;;;;;;;;;;;:::i;:::-;;92:20;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;119:41;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;228:87;298:9;275:8;:20;284:10;275:20;;;;;;;;;;;;;;;:32;;;;228:87::o;323:179::-;364:19;394:5;;;;;;;;;;;364:36;;411:21;443:4;411:37;;459:3;:12;;:35;472:13;:21;;;459:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;353:149;;323:179::o;92:20::-;;;;;;;;;;;;:::o;119:41::-;;;;;;;;;;;;;;;;;:::o;7:139:1:-;53:5;91:6;78:20;69:29;;107:33;134:5;107:33;:::i;:::-;7:139;;;;:::o;152:329::-;211:6;260:2;248:9;239:7;235:23;231:32;228:119;;;266:79;;:::i;:::-;228:119;386:1;411:53;456:7;447:6;436:9;432:22;411:53;:::i;:::-;401:63;;357:117;152:329;;;;:::o;487:118::-;574:24;592:5;574:24;:::i;:::-;569:3;562:37;487:118;;:::o;611:::-;698:24;716:5;698:24;:::i;:::-;693:3;686:37;611:118;;:::o;735:222::-;828:4;866:2;855:9;851:18;843:26;;879:71;947:1;936:9;932:17;923:6;879:71;:::i;:::-;735:222;;;;:::o;963:::-;1056:4;1094:2;1083:9;1079:18;1071:26;;1107:71;1175:1;1164:9;1160:17;1151:6;1107:71;:::i;:::-;963:222;;;;:::o;1272:96::-;1309:7;1338:24;1356:5;1338:24;:::i;:::-;1327:35;;1272:96;;;:::o;1374:126::-;1411:7;1451:42;1444:5;1440:54;1429:65;;1374:126;;;:::o;1506:77::-;1543:7;1572:5;1561:16;;1506:77;;;:::o;1712:117::-;1821:1;1818;1811:12;1835:122;1908:24;1926:5;1908:24;:::i;:::-;1901:5;1898:35;1888:63;;1947:1;1944;1937:12;1888:63;1835:122;:::o

Swarm Source

ipfs://e4d1f518ad3e2a2230b8864754ac4a88ed46a4dfc8049db0d1022c0c2fcd052e

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ 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.