ETH Price: $2,388.00 (-3.62%)

Contract

0xF9be8F0945acDdeeDaA64DFCA5Fe9629D0CF8E5D
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Create Poll208143192024-09-23 15:56:479 days ago1727107007IN
0xF9be8F09...9D0CF8E5D
0 ETH0.0009875726.5
Create Poll208143122024-09-23 15:55:239 days ago1727106923IN
0xF9be8F09...9D0CF8E5D
0 ETH0.0010156926.7
Create Poll207639202024-09-16 14:58:2316 days ago1726498703IN
0xF9be8F09...9D0CF8E5D
0 ETH0.000488713.3
Create Poll207639002024-09-16 14:54:1116 days ago1726498451IN
0xF9be8F09...9D0CF8E5D
0 ETH0.0004898813.11562062
Create Poll207638892024-09-16 14:51:5916 days ago1726498319IN
0xF9be8F09...9D0CF8E5D
0 ETH0.0005156113.99572758
Create Poll207638772024-09-16 14:49:3516 days ago1726498175IN
0xF9be8F09...9D0CF8E5D
0 ETH0.0005610915.3
Create Poll207638692024-09-16 14:47:5916 days ago1726498079IN
0xF9be8F09...9D0CF8E5D
0 ETH0.0005621815.32976743
Create Poll207638632024-09-16 14:46:4716 days ago1726498007IN
0xF9be8F09...9D0CF8E5D
0 ETH0.0005464214.9
Create Poll207638472024-09-16 14:43:3516 days ago1726497815IN
0xF9be8F09...9D0CF8E5D
0 ETH0.000581415.85372823
Create Poll207638362024-09-16 14:41:2316 days ago1726497683IN
0xF9be8F09...9D0CF8E5D
0 ETH0.0005465814.90433971
Create Poll207139332024-09-09 15:24:4723 days ago1725895487IN
0xF9be8F09...9D0CF8E5D
0 ETH0.000366029.59761678
Create Poll207139222024-09-09 15:22:3523 days ago1725895355IN
0xF9be8F09...9D0CF8E5D
0 ETH0.000364319.98320862
Create Poll206131002024-08-26 13:35:2337 days ago1724679323IN
0xF9be8F09...9D0CF8E5D
0 ETH0.000084192.16580299
Create Poll206130932024-08-26 13:33:5937 days ago1724679239IN
0xF9be8F09...9D0CF8E5D
0 ETH0.000086262.30502613
Create Poll205227322024-08-13 22:36:5950 days ago1723588619IN
0xF9be8F09...9D0CF8E5D
0 ETH0.000084942.31087584
Create Poll205133572024-08-12 15:14:3551 days ago1723475675IN
0xF9be8F09...9D0CF8E5D
0 ETH0.0003928110.70077185
Create Poll205133472024-08-12 15:12:3551 days ago1723475555IN
0xF9be8F09...9D0CF8E5D
0 ETH0.0004051111
Create Poll205133392024-08-12 15:10:5951 days ago1723475459IN
0xF9be8F09...9D0CF8E5D
0 ETH0.0003920910.6810784
Create Poll204126712024-07-29 13:58:5965 days ago1722261539IN
0xF9be8F09...9D0CF8E5D
0 ETH0.000200685.34031512
Withdraw Poll203127802024-07-15 15:22:4779 days ago1721056967IN
0xF9be8F09...9D0CF8E5D
0 ETH0.0004022717.37316159
Create Poll203127692024-07-15 15:20:3579 days ago1721056835IN
0xF9be8F09...9D0CF8E5D
0 ETH0.0006455816.61169935
Create Poll203127462024-07-15 15:15:5979 days ago1721056559IN
0xF9be8F09...9D0CF8E5D
0 ETH0.0005355814.55201711
Create Poll203127242024-07-15 15:11:3579 days ago1721056295IN
0xF9be8F09...9D0CF8E5D
0 ETH0.000570715.50611127
Create Poll202125372024-07-01 15:23:1193 days ago1719847391IN
0xF9be8F09...9D0CF8E5D
0 ETH0.0005339414.61215284
Create Poll202125272024-07-01 15:21:1193 days ago1719847271IN
0xF9be8F09...9D0CF8E5D
0 ETH0.0004949113.49544695
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
PollingEmitter

Compiler Version
v0.5.1+commit.c8a2cb62

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
/**
 *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

Contract ABI

[{"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"}]

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

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
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.