Transaction Hash:
Block:
6604793 at Oct-29-2018 10:30:30 AM +UTC
Transaction Fee:
0.000501036 ETH
$0.94
Gas Used:
23,304 Gas / 21.5 Gwei
Emitted Events:
29 |
TakeSeat.BuyTicket( plyr=[Sender] 0xb501019eaa8786696540abf1d373db345b3fc16f )
|
Account State Difference:
Address | Before | After | State Difference | ||
---|---|---|---|---|---|
0x1f331e90...305DA4D0b | 1,543.5 Eth | 1,544.5 Eth | 1 | ||
0x829BD824...93333A830
Miner
| (F2Pool Old) | 7,518.695784638703139183 Eth | 7,518.696285674703139183 Eth | 0.000501036 | |
0xb501019e...45b3fC16f |
4.05894523 Eth
Nonce: 22
|
3.058444194 Eth
Nonce: 23
| 1.000501036 |
Execution Trace
ETH 1
TakeSeat.CALL( )
pragma solidity ^0.4.18; contract TakeSeatEvents { // event BuyTicket ( address indexed plyr ); // event Withdraw ( address indexed plyr, uint256 indexed value, uint256 indexed num ); } contract TakeSeat is TakeSeatEvents { uint256 constant private BuyValue = 1000000000000000000; address private admin_; constructor() public { admin_ = msg.sender; } modifier olnyAdmin() { require(msg.sender == admin_, "only for admin"); _; } modifier checkBuyValue(uint256 value) { require(value == BuyValue, "please use right buy value"); _; } modifier isHuman() { address _addr = msg.sender; uint256 _codeLength; assembly {_codeLength := extcodesize(_addr)} require(_codeLength == 0, "sorry humans only"); _; } function buyTicket() isHuman() checkBuyValue(msg.value) public payable { emit TakeSeatEvents.BuyTicket(msg.sender); } function withdraw(address addr, uint256 value, uint256 num) olnyAdmin() public { addr.transfer(value); emit TakeSeatEvents.Withdraw(addr, value, num); } }