Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 7,467 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Create Poll | 20814319 | 9 days ago | IN | 0 ETH | 0.00098757 | ||||
Create Poll | 20814312 | 9 days ago | IN | 0 ETH | 0.00101569 | ||||
Create Poll | 20763920 | 16 days ago | IN | 0 ETH | 0.0004887 | ||||
Create Poll | 20763900 | 16 days ago | IN | 0 ETH | 0.00048988 | ||||
Create Poll | 20763889 | 16 days ago | IN | 0 ETH | 0.00051561 | ||||
Create Poll | 20763877 | 16 days ago | IN | 0 ETH | 0.00056109 | ||||
Create Poll | 20763869 | 16 days ago | IN | 0 ETH | 0.00056218 | ||||
Create Poll | 20763863 | 16 days ago | IN | 0 ETH | 0.00054642 | ||||
Create Poll | 20763847 | 16 days ago | IN | 0 ETH | 0.0005814 | ||||
Create Poll | 20763836 | 16 days ago | IN | 0 ETH | 0.00054658 | ||||
Create Poll | 20713933 | 23 days ago | IN | 0 ETH | 0.00036602 | ||||
Create Poll | 20713922 | 23 days ago | IN | 0 ETH | 0.00036431 | ||||
Create Poll | 20613100 | 37 days ago | IN | 0 ETH | 0.00008419 | ||||
Create Poll | 20613093 | 37 days ago | IN | 0 ETH | 0.00008626 | ||||
Create Poll | 20522732 | 50 days ago | IN | 0 ETH | 0.00008494 | ||||
Create Poll | 20513357 | 51 days ago | IN | 0 ETH | 0.00039281 | ||||
Create Poll | 20513347 | 51 days ago | IN | 0 ETH | 0.00040511 | ||||
Create Poll | 20513339 | 51 days ago | IN | 0 ETH | 0.00039209 | ||||
Create Poll | 20412671 | 65 days ago | IN | 0 ETH | 0.00020068 | ||||
Withdraw Poll | 20312780 | 79 days ago | IN | 0 ETH | 0.00040227 | ||||
Create Poll | 20312769 | 79 days ago | IN | 0 ETH | 0.00064558 | ||||
Create Poll | 20312746 | 79 days ago | IN | 0 ETH | 0.00053558 | ||||
Create Poll | 20312724 | 79 days ago | IN | 0 ETH | 0.0005707 | ||||
Create Poll | 20212537 | 93 days ago | IN | 0 ETH | 0.00053394 | ||||
Create Poll | 20212527 | 93 days ago | IN | 0 ETH | 0.00049491 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
PollingEmitter
Compiler Version
v0.5.1+commit.c8a2cb62
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2019-07-17 */ pragma solidity >=0.5.0; contract PollingEvents { event PollCreated( address indexed creator, uint256 blockCreated, uint256 indexed pollId, uint256 startDate, uint256 endDate, string multiHash, string url ); event PollWithdrawn( address indexed creator, uint256 blockWithdrawn, uint256 pollId ); event Voted( address indexed voter, uint256 indexed pollId, uint256 indexed optionId ); } contract PollingEmitter is PollingEvents { uint256 public npoll; function createPoll(uint256 startDate, uint256 endDate, string calldata multiHash, string calldata url) external { uint256 startDate_ = startDate > now ? startDate : now; require(endDate > startDate_, "polling-invalid-poll-window"); emit PollCreated( msg.sender, block.number, npoll, startDate_, endDate, multiHash, url ); require(npoll < uint(-1), "polling-too-many-polls"); npoll++; } function withdrawPoll(uint256 pollId) external { emit PollWithdrawn(msg.sender, block.number, pollId); } function vote(uint256 pollId, uint256 optionId) external { emit Voted(msg.sender, pollId, optionId); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"constant":false,"inputs":[{"name":"pollId","type":"uint256"}],"name":"withdrawPoll","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"pollId","type":"uint256"},{"name":"optionId","type":"uint256"}],"name":"vote","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"npoll","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"startDate","type":"uint256"},{"name":"endDate","type":"uint256"},{"name":"multiHash","type":"string"},{"name":"url","type":"string"}],"name":"createPoll","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"anonymous":false,"inputs":[{"indexed":true,"name":"creator","type":"address"},{"indexed":false,"name":"blockCreated","type":"uint256"},{"indexed":true,"name":"pollId","type":"uint256"},{"indexed":false,"name":"startDate","type":"uint256"},{"indexed":false,"name":"endDate","type":"uint256"},{"indexed":false,"name":"multiHash","type":"string"},{"indexed":false,"name":"url","type":"string"}],"name":"PollCreated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"creator","type":"address"},{"indexed":false,"name":"blockWithdrawn","type":"uint256"},{"indexed":false,"name":"pollId","type":"uint256"}],"name":"PollWithdrawn","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"voter","type":"address"},{"indexed":true,"name":"pollId","type":"uint256"},{"indexed":true,"name":"optionId","type":"uint256"}],"name":"Voted","type":"event"}]
Contract Creation Code
608060405234801561001057600080fd5b506104d5806100206000396000f3fe60806040526004361061005c576000357c010000000000000000000000000000000000000000000000000000000090048063603af06f14610061578063b384abef1461009c578063d35f19d7146100e1578063d54a81761461010c575b600080fd5b34801561006d57600080fd5b5061009a6004803603602081101561008457600080fd5b81019080803590602001909291905050506101fb565b005b3480156100a857600080fd5b506100df600480360360408110156100bf57600080fd5b810190808035906020019092919080359060200190929190505050610254565b005b3480156100ed57600080fd5b506100f661029d565b6040518082815260200191505060405180910390f35b34801561011857600080fd5b506101f96004803603608081101561012f57600080fd5b8101908080359060200190929190803590602001909291908035906020019064010000000081111561016057600080fd5b82018360208201111561017257600080fd5b8035906020019184600183028401116401000000008311171561019457600080fd5b9091929391929390803590602001906401000000008111156101b557600080fd5b8201836020820111156101c757600080fd5b803590602001918460018302840111640100000000831117156101e957600080fd5b90919293919293905050506102a3565b005b3373ffffffffffffffffffffffffffffffffffffffff167f7e816826910b70789c9de9051404b61689ff0e3dcb3e0d73f447b1d797fbdcb04383604051808381526020018281526020019250505060405180910390a250565b80823373ffffffffffffffffffffffffffffffffffffffff167fea66f58e474bc09f580000e81f31b334d171db387d0c6098ba47bd897741679b60405160405180910390a45050565b60005481565b60004287116102b257426102b4565b865b9050808611151561032d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f706f6c6c696e672d696e76616c69642d706f6c6c2d77696e646f77000000000081525060200191505060405180910390fd5b6000543373ffffffffffffffffffffffffffffffffffffffff167f4d9a807e05ec038d31d248a43818a2234c2a467865e998b3d4da029d9123b5c243848a8a8a8a8a6040518088815260200187815260200186815260200180602001806020018381038352878782818152602001925080828437600081840152601f19601f8201169050808301925050508381038252858582818152602001925080828437600081840152601f19601f820116905080830192505050995050505050505050505060405180910390a37fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60005410151561048f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260168152602001807f706f6c6c696e672d746f6f2d6d616e792d706f6c6c730000000000000000000081525060200191505060405180910390fd5b60008081548092919060010191905055505050505050505056fea165627a7a72305820d38ad1e9cdda165c39206529398f1718004ef2cef8a5ee66a54eb786a5d4027c0029
Deployed Bytecode
0x60806040526004361061005c576000357c010000000000000000000000000000000000000000000000000000000090048063603af06f14610061578063b384abef1461009c578063d35f19d7146100e1578063d54a81761461010c575b600080fd5b34801561006d57600080fd5b5061009a6004803603602081101561008457600080fd5b81019080803590602001909291905050506101fb565b005b3480156100a857600080fd5b506100df600480360360408110156100bf57600080fd5b810190808035906020019092919080359060200190929190505050610254565b005b3480156100ed57600080fd5b506100f661029d565b6040518082815260200191505060405180910390f35b34801561011857600080fd5b506101f96004803603608081101561012f57600080fd5b8101908080359060200190929190803590602001909291908035906020019064010000000081111561016057600080fd5b82018360208201111561017257600080fd5b8035906020019184600183028401116401000000008311171561019457600080fd5b9091929391929390803590602001906401000000008111156101b557600080fd5b8201836020820111156101c757600080fd5b803590602001918460018302840111640100000000831117156101e957600080fd5b90919293919293905050506102a3565b005b3373ffffffffffffffffffffffffffffffffffffffff167f7e816826910b70789c9de9051404b61689ff0e3dcb3e0d73f447b1d797fbdcb04383604051808381526020018281526020019250505060405180910390a250565b80823373ffffffffffffffffffffffffffffffffffffffff167fea66f58e474bc09f580000e81f31b334d171db387d0c6098ba47bd897741679b60405160405180910390a45050565b60005481565b60004287116102b257426102b4565b865b9050808611151561032d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f706f6c6c696e672d696e76616c69642d706f6c6c2d77696e646f77000000000081525060200191505060405180910390fd5b6000543373ffffffffffffffffffffffffffffffffffffffff167f4d9a807e05ec038d31d248a43818a2234c2a467865e998b3d4da029d9123b5c243848a8a8a8a8a6040518088815260200187815260200186815260200180602001806020018381038352878782818152602001925080828437600081840152601f19601f8201169050808301925050508381038252858582818152602001925080828437600081840152601f19601f820116905080830192505050995050505050505050505060405180910390a37fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60005410151561048f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260168152602001807f706f6c6c696e672d746f6f2d6d616e792d706f6c6c730000000000000000000081525060200191505060405180910390fd5b60008081548092919060010191905055505050505050505056fea165627a7a72305820d38ad1e9cdda165c39206529398f1718004ef2cef8a5ee66a54eb786a5d4027c0029
Deployed Bytecode Sourcemap
544:908:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1179:132;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1179:132:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;1179:132:0;;;;;;;;;;;;;;;;;:::i;:::-;;1319:130;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1319:130:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;1319:130:0;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;592:20;;8:9:-1;5:2;;;30:1;27;20:12;5:2;592:20:0;;;:::i;:::-;;;;;;;;;;;;;;;;;;;621:550;;8:9:-1;5:2;;;30:1;27;20:12;5:2;621:550:0;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;621:550:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;21:11:-1;8;5:28;2:2;;;46:1;43;36:12;2:2;621:550:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;621:550:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;621:550:0;;;;;;;;;;;;;;21:11:-1;8;5:28;2:2;;;46:1;43;36:12;2:2;621:550:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;621:550:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;621:550:0;;;;;;;;;;;;:::i;:::-;;1179:132;1270:10;1256:47;;;1282:12;1296:6;1256:47;;;;;;;;;;;;;;;;;;;;;;;;1179:132;:::o;1319:130::-;1432:8;1424:6;1412:10;1406:35;;;;;;;;;;;;1319:130;;:::o;592:20::-;;;;:::o;621:550::-;759:18;792:3;780:9;:15;:33;;810:3;780:33;;;798:9;780:33;759:54;;842:10;832:7;:20;824:60;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;978:5;;926:10;900:183;;;951:12;998:10;1023:7;1045:9;;1069:3;;900:183;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;93:3;85:6;81:16;74:27;137:4;133:9;126:4;121:3;117:14;113:30;106:37;;169:3;161:6;157:16;147:26;;900:183:0;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;93:3;85:6;81:16;74:27;137:4;133:9;126:4;121:3;117:14;113:30;106:37;;169:3;161:6;157:16;147:26;;900:183:0;;;;;;;;;;;;;;;;;;;;1115:2;1102:5;;:16;1094:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1156:5;;:7;;;;;;;;;;;;;621:550;;;;;;;:::o
Swarm Source
bzzr://d38ad1e9cdda165c39206529398f1718004ef2cef8a5ee66a54eb786a5d4027c
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 27 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
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.