Mainnet
Testnet

Contract

0xdFAC2acA288f401d3d72778CbA6063089654a38c

Overview

Balance:
0 WBT
WBT Value:
0 USDT (@ 24.66/WBT)

More info

Contract creator:
Contract Source Code Verified (Partial Match)

Contract Name:

VotingSystem

Compiler Version:

0.8.0+commit.c7dfd78e

EVM Version:

default evmVersion

Optimizations:

Disabled with 200 runs

License:

MIT License (MIT)

Contract source code and ABI

Creation bytecode

0x60806040523480156200001157600080fd5b506000600367ffffffffffffffff81111562000056577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156200008b57816020015b6060815260200190600190039081620000755790505b5090506040518060400160405280600881526020017f4a6f686e20446f6500000000000000000000000000000000000000000000000081525081600081518110620000ff577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101819052506040518060400160405280600a81526020017f4a616e6520536d69746800000000000000000000000000000000000000000000815250816001815181106200017b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101819052506040518060400160405280600f81526020017f4d69636861656c204a6f686e736f6e000000000000000000000000000000000081525081600281518110620001f7577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001018190525060005b8151811015620002d2576001604051806040016040528084848151811062000256577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101518152602001600081525090806001815401808255809150506001900390600052602060002090600202016000909190919091506000820151816000019080519060200190620002af929190620002da565b506020820151816001015550508080620002c990620003ca565b91505062000205565b505062000476565b828054620002e89062000394565b90600052602060002090601f0160209004810192826200030c576000855562000358565b82601f106200032757805160ff191683800117855562000358565b8280016001018555821562000358579182015b82811115620003575782518255916020019190600101906200033a565b5b5090506200036791906200036b565b5090565b5b80821115620003865760008160009055506001016200036c565b5090565b6000819050919050565b60006002820490506001821680620003ad57607f821691505b60208210811415620003c457620003c362000447565b5b50919050565b6000620003d7826200038a565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156200040d576200040c62000418565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b610ab980620004866000396000f3fe608060405234801561001057600080fd5b50600436106100625760003560e01c806330a56347146100675780633477ee2e146100855780633eb76b9c146100b6578063a3ec138d146100d2578063b315c59714610102578063e13804a714610132575b600080fd5b61006f610162565b60405161007c91906108b9565b60405180910390f35b61009f600480360381019061009a919061070c565b61016f565b6040516100ad929190610849565b60405180910390f35b6100d060048036038101906100cb919061070c565b61022b565b005b6100ec60048036038101906100e791906106e3565b610407565b6040516100f9919061080c565b60405180910390f35b61011c6004803603810190610117919061070c565b610427565b60405161012991906108b9565b60405180910390f35b61014c6004803603810190610147919061070c565b610570565b6040516101599190610827565b60405180910390f35b6000600180549050905090565b6001818154811061017f57600080fd5b90600052602060002090600202016000915090508060000180546101a29061096b565b80601f01602080910402602001604051908101604052809291908181526020018280546101ce9061096b565b801561021b5780601f106101f05761010080835404028352916020019161021b565b820191906000526020600020905b8154815290600101906020018083116101fe57829003601f168201915b5050505050908060010154905082565b6001805490508110610272576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161026990610879565b60405180910390fd5b6000803373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16156102fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016102f590610899565b60405180910390fd5b60018181548110610338577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000209060020201600101600081548092919061035a9061099d565b919050555060016000803373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055503373ffffffffffffffffffffffffffffffffffffffff167fd0e6c39f2e086dc49f1524b47725526a56945cd1ff661f37976f1725a1e56986826040516103fc91906108b9565b60405180910390a250565b60006020528060005260406000206000915054906101000a900460ff1681565b60006001805490508210610470576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161046790610879565b60405180910390fd5b6000600183815481106104ac577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002090600202016040518060400160405290816000820180546104d59061096b565b80601f01602080910402602001604051908101604052809291908181526020018280546105019061096b565b801561054e5780601f106105235761010080835404028352916020019161054e565b820191906000526020600020905b81548152906001019060200180831161053157829003601f168201915b5050505050815260200160018201548152505090508060200151915050919050565b606060018054905082106105b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105b090610879565b60405180910390fd5b6000600183815481106105f5577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020906002020160405180604001604052908160008201805461061e9061096b565b80601f016020809104026020016040519081016040528092919081815260200182805461064a9061096b565b80156106975780601f1061066c57610100808354040283529160200191610697565b820191906000526020600020905b81548152906001019060200180831161067a57829003601f168201915b5050505050815260200160018201548152505090508060000151915050919050565b6000813590506106c881610a55565b92915050565b6000813590506106dd81610a6c565b92915050565b6000602082840312156106f557600080fd5b6000610703848285016106b9565b91505092915050565b60006020828403121561071e57600080fd5b600061072c848285016106ce565b91505092915050565b61073e81610902565b82525050565b600061074f826108d4565b61075981856108df565b9350610769818560208601610938565b61077281610a44565b840191505092915050565b600061078a6017836108df565b91507f496e76616c69642063616e64696461746520696e6465780000000000000000006000830152602082019050919050565b60006107ca6016836108df565b91507f596f75206861766520616c726561647920766f746564000000000000000000006000830152602082019050919050565b6108068161092e565b82525050565b60006020820190506108216000830184610735565b92915050565b600060208201905081810360008301526108418184610744565b905092915050565b600060408201905081810360008301526108638185610744565b905061087260208301846107fd565b9392505050565b600060208201905081810360008301526108928161077d565b9050919050565b600060208201905081810360008301526108b2816107bd565b9050919050565b60006020820190506108ce60008301846107fd565b92915050565b600081519050919050565b600082825260208201905092915050565b60006108fb8261090e565b9050919050565b60008115159050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60005b8381101561095657808201518184015260208101905061093b565b83811115610965576000848401525b50505050565b6000600282049050600182168061098357607f821691505b6020821081141561099757610996610a15565b5b50919050565b60006109a88261092e565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156109db576109da6109e6565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000601f19601f8301169050919050565b610a5e816108f0565b8114610a6957600080fd5b50565b610a758161092e565b8114610a8057600080fd5b5056fea2646970667358221220e7127db9ca7499f979ea8402992fd7c630a4326fd36775a2a5e58b11edd331a064736f6c63430008000033

Deployed bytecode

0x608060405234801561001057600080fd5b50600436106100625760003560e01c806330a56347146100675780633477ee2e146100855780633eb76b9c146100b6578063a3ec138d146100d2578063b315c59714610102578063e13804a714610132575b600080fd5b61006f610162565b60405161007c91906108b9565b60405180910390f35b61009f600480360381019061009a919061070c565b61016f565b6040516100ad929190610849565b60405180910390f35b6100d060048036038101906100cb919061070c565b61022b565b005b6100ec60048036038101906100e791906106e3565b610407565b6040516100f9919061080c565b60405180910390f35b61011c6004803603810190610117919061070c565b610427565b60405161012991906108b9565b60405180910390f35b61014c6004803603810190610147919061070c565b610570565b6040516101599190610827565b60405180910390f35b6000600180549050905090565b6001818154811061017f57600080fd5b90600052602060002090600202016000915090508060000180546101a29061096b565b80601f01602080910402602001604051908101604052809291908181526020018280546101ce9061096b565b801561021b5780601f106101f05761010080835404028352916020019161021b565b820191906000526020600020905b8154815290600101906020018083116101fe57829003601f168201915b5050505050908060010154905082565b6001805490508110610272576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161026990610879565b60405180910390fd5b6000803373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16156102fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016102f590610899565b60405180910390fd5b60018181548110610338577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000209060020201600101600081548092919061035a9061099d565b919050555060016000803373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055503373ffffffffffffffffffffffffffffffffffffffff167fd0e6c39f2e086dc49f1524b47725526a56945cd1ff661f37976f1725a1e56986826040516103fc91906108b9565b60405180910390a250565b60006020528060005260406000206000915054906101000a900460ff1681565b60006001805490508210610470576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161046790610879565b60405180910390fd5b6000600183815481106104ac577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002090600202016040518060400160405290816000820180546104d59061096b565b80601f01602080910402602001604051908101604052809291908181526020018280546105019061096b565b801561054e5780601f106105235761010080835404028352916020019161054e565b820191906000526020600020905b81548152906001019060200180831161053157829003601f168201915b5050505050815260200160018201548152505090508060200151915050919050565b606060018054905082106105b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105b090610879565b60405180910390fd5b6000600183815481106105f5577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020906002020160405180604001604052908160008201805461061e9061096b565b80601f016020809104026020016040519081016040528092919081815260200182805461064a9061096b565b80156106975780601f1061066c57610100808354040283529160200191610697565b820191906000526020600020905b81548152906001019060200180831161067a57829003601f168201915b5050505050815260200160018201548152505090508060000151915050919050565b6000813590506106c881610a55565b92915050565b6000813590506106dd81610a6c565b92915050565b6000602082840312156106f557600080fd5b6000610703848285016106b9565b91505092915050565b60006020828403121561071e57600080fd5b600061072c848285016106ce565b91505092915050565b61073e81610902565b82525050565b600061074f826108d4565b61075981856108df565b9350610769818560208601610938565b61077281610a44565b840191505092915050565b600061078a6017836108df565b91507f496e76616c69642063616e64696461746520696e6465780000000000000000006000830152602082019050919050565b60006107ca6016836108df565b91507f596f75206861766520616c726561647920766f746564000000000000000000006000830152602082019050919050565b6108068161092e565b82525050565b60006020820190506108216000830184610735565b92915050565b600060208201905081810360008301526108418184610744565b905092915050565b600060408201905081810360008301526108638185610744565b905061087260208301846107fd565b9392505050565b600060208201905081810360008301526108928161077d565b9050919050565b600060208201905081810360008301526108b2816107bd565b9050919050565b60006020820190506108ce60008301846107fd565b92915050565b600081519050919050565b600082825260208201905092915050565b60006108fb8261090e565b9050919050565b60008115159050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60005b8381101561095657808201518184015260208101905061093b565b83811115610965576000848401525b50505050565b6000600282049050600182168061098357607f821691505b6020821081141561099757610996610a15565b5b50919050565b60006109a88261092e565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156109db576109da6109e6565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000601f19601f8301169050919050565b610a5e816108f0565b8114610a6957600080fd5b50565b610a758161092e565b8114610a8057600080fd5b5056fea2646970667358221220e7127db9ca7499f979ea8402992fd7c630a4326fd36775a2a5e58b11edd331a064736f6c63430008000033

Source map

57:1615:0:-:0;;;313:351;;;;;;;;;;337:30;383:1;370:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;337:48;;395:30;;;;;;;;;;;;;;;;;:14;410:1;395:17;;;;;;;;;;;;;;;;;;;;;:30;;;;435:32;;;;;;;;;;;;;;;;;:14;450:1;435:17;;;;;;;;;;;;;;;;;;;;;:32;;;;477:37;;;;;;;;;;;;;;;;;:14;492:1;477:17;;;;;;;;;;;;;;;;;;;;;:37;;;;538:9;533:125;557:14;:21;553:1;:25;533:125;;;599:10;615:31;;;;;;;;625:14;640:1;625:17;;;;;;;;;;;;;;;;;;;;;;615:31;;;;644:1;615:31;;;599:48;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;580:3;;;;;:::i;:::-;;;;533:125;;;;313:351;57:1615;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;:::o;7:77:1:-;;73:5;62:16;;52:32;;;:::o;90:320::-;;171:1;165:4;161:12;151:22;;218:1;212:4;208:12;239:18;229:2;;295:4;287:6;283:17;273:27;;229:2;357;349:6;346:14;326:18;323:38;320:2;;;376:18;;:::i;:::-;320:2;141:269;;;;:::o;416:233::-;;478:24;496:5;478:24;:::i;:::-;469:33;;524:66;517:5;514:77;511:2;;;594:18;;:::i;:::-;511:2;641:1;634:5;630:13;623:20;;459:190;;;:::o;655:180::-;703:77;700:1;693:88;800:4;797:1;790:15;824:4;821:1;814:15;841:180;889:77;886:1;879:88;986:4;983:1;976:15;1010:4;1007:1;1000:15;57:1615:0;;;;;;;