Contract 0xb58b5e129ecabe89f4425d4b50908d23939518bc

Contract Overview

Balance:
0 Ether

Internal Transactions as a result of Contract Execution

Parent TxHash Block Age From To Value
Warning: The compiled contract might be susceptible to ExpExponentCleanup (medium/high-severity), EventStructWrongData (very low-severity) Solidity Compiler Bugs.

Contract Source Code Verified (Exact Match)

Contract Name:
GameContract

Compiler Version
v0.4.24+commit.e67f0147

Optimization Enabled:
No

Runs (Optimizer):
200

Contract Source Code

pragma solidity >=0.4.22 <0.6.0;

contract GameContract{
	address fromAddress;
	uint256 value;
	uint256 code;
	uint256 team;

	function buyKey(uint256 _code,uint256 _team)public payable{
		fromAddress = msg.sender;
		value = msg.value;
		code = _code;
		team = _team;
	}
	
	function getInfo()public constant returns(address,uint256,uint256,uint256){
		return(fromAddress,value,code,team);
	}

	function withdraw()public{
		uint256 _eth = this.balance;
		msg.sender.transfer(_eth);
	}
}

Contract ABI

[{"constant":false,"inputs":[],"name":"withdraw","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"getInfo","outputs":[{"name":"","type":"address"},{"name":"","type":"uint256"},{"name":"","type":"uint256"},{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_code","type":"uint256"},{"name":"_team","type":"uint256"}],"name":"buyKey","outputs":[],"payable":true,"stateMutability":"payable","type":"function"}]

Contract Creation Code

608060405234801561001057600080fd5b50610233806100206000396000f300608060405260043610610057576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff1680633ccfd60b1461005c5780635a9b0b8914610073578063923d566d146100df575b600080fd5b34801561006857600080fd5b50610071610109565b005b34801561007f57600080fd5b5061008861016f565b604051808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200184815260200183815260200182815260200194505050505060405180910390f35b61010760048036038101908080359060200190929190803590602001909291905050506101ae565b005b60003073ffffffffffffffffffffffffffffffffffffffff163190503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f1935050505015801561016b573d6000803e3d6000fd5b5050565b6000806000806000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600154600254600354935093509350935090919293565b336000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555034600181905550816002819055508060038190555050505600a165627a7a7230582055b793d35160422f34829fc45caadc1fbc4edcc8a20e173f0c78108ce7a4a16c0029

Swarm Source

bzzr://55b793d35160422f34829fc45caadc1fbc4edcc8a20e173f0c78108ce7a4a16c
Block Age Transaction Difficulty GasUsed Reward
Block Age Uncle Number Difficulty GasUsed Reward