Mainnet
Testnet

Contract

0x911302c1aDb3fE0b025597213cC7EeB39E80265C

Overview

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

More info

Contract creator:
Contract Source Code Verified (Partial Match)

Contract Name:

VotingContract

Compiler Version:

0.8.18+commit.87f61d96

EVM Version:

default evmVersion

Optimizations:

Disabled with 200 runs

License:

No License (None)

Contract source code and ABI

Creation bytecode

0x608060405234801561001057600080fd5b506000600181905550610bf8806100286000396000f3fe608060405234801561001057600080fd5b50600436106100575760003560e01c80630121b93f1461005c5780633477ee2e14610078578063462e91ec146100a9578063a3ec138d146100c5578063a9a981a3146100f5575b600080fd5b6100766004803603810190610071919061043f565b610113565b005b610092600480360381019061008d919061043f565b6102bb565b6040516100a092919061050b565b60405180910390f35b6100c360048036038101906100be9190610670565b610367565b005b6100df60048036038101906100da9190610717565b6103cf565b6040516100ec919061075f565b60405180910390f35b6100fd6103ef565b60405161010a919061077a565b60405180910390f35b60008111801561012557506001548111155b610164576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161015b906107e1565b60405180910390fd5b600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16156101f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101e89061084d565b60405180910390fd5b60008082815260200190815260200160002060010160008154809291906102179061089c565b91905055506001600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550803373ffffffffffffffffffffffffffffffffffffffff167fd0e6c39f2e086dc49f1524b47725526a56945cd1ff661f37976f1725a1e5698660405160405180910390a350565b60006020528060005260406000206000915090508060000180546102de90610913565b80601f016020809104026020016040519081016040528092919081815260200182805461030a90610913565b80156103575780601f1061032c57610100808354040283529160200191610357565b820191906000526020600020905b81548152906001019060200180831161033a57829003601f168201915b5050505050908060010154905082565b6001600081548092919061037a9061089c565b919050555060405180604001604052808281526020016000815250600080600154815260200190815260200160002060008201518160000190816103be9190610af0565b506020820151816001015590505050565b60026020528060005260406000206000915054906101000a900460ff1681565b60015481565b6000604051905090565b600080fd5b600080fd5b6000819050919050565b61041c81610409565b811461042757600080fd5b50565b60008135905061043981610413565b92915050565b600060208284031215610455576104546103ff565b5b60006104638482850161042a565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156104a657808201518184015260208101905061048b565b60008484015250505050565b6000601f19601f8301169050919050565b60006104ce8261046c565b6104d88185610477565b93506104e8818560208601610488565b6104f1816104b2565b840191505092915050565b61050581610409565b82525050565b6000604082019050818103600083015261052581856104c3565b905061053460208301846104fc565b9392505050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61057d826104b2565b810181811067ffffffffffffffff8211171561059c5761059b610545565b5b80604052505050565b60006105af6103f5565b90506105bb8282610574565b919050565b600067ffffffffffffffff8211156105db576105da610545565b5b6105e4826104b2565b9050602081019050919050565b82818337600083830152505050565b600061061361060e846105c0565b6105a5565b90508281526020810184848401111561062f5761062e610540565b5b61063a8482856105f1565b509392505050565b600082601f8301126106575761065661053b565b5b8135610667848260208601610600565b91505092915050565b600060208284031215610686576106856103ff565b5b600082013567ffffffffffffffff8111156106a4576106a3610404565b5b6106b084828501610642565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006106e4826106b9565b9050919050565b6106f4816106d9565b81146106ff57600080fd5b50565b600081359050610711816106eb565b92915050565b60006020828403121561072d5761072c6103ff565b5b600061073b84828501610702565b91505092915050565b60008115159050919050565b61075981610744565b82525050565b60006020820190506107746000830184610750565b92915050565b600060208201905061078f60008301846104fc565b92915050565b7f496e76616c69642063616e646964617465204944000000000000000000000000600082015250565b60006107cb601483610477565b91506107d682610795565b602082019050919050565b600060208201905081810360008301526107fa816107be565b9050919050565b7f596f75206861766520616c726561647920766f74656400000000000000000000600082015250565b6000610837601683610477565b915061084282610801565b602082019050919050565b600060208201905081810360008301526108668161082a565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006108a782610409565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036108d9576108d861086d565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061092b57607f821691505b60208210810361093e5761093d6108e4565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026109a67fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82610969565b6109b08683610969565b95508019841693508086168417925050509392505050565b6000819050919050565b60006109ed6109e86109e384610409565b6109c8565b610409565b9050919050565b6000819050919050565b610a07836109d2565b610a1b610a13826109f4565b848454610976565b825550505050565b600090565b610a30610a23565b610a3b8184846109fe565b505050565b5b81811015610a5f57610a54600082610a28565b600181019050610a41565b5050565b601f821115610aa457610a7581610944565b610a7e84610959565b81016020851015610a8d578190505b610aa1610a9985610959565b830182610a40565b50505b505050565b600082821c905092915050565b6000610ac760001984600802610aa9565b1980831691505092915050565b6000610ae08383610ab6565b9150826002028217905092915050565b610af98261046c565b67ffffffffffffffff811115610b1257610b11610545565b5b610b1c8254610913565b610b27828285610a63565b600060209050601f831160018114610b5a5760008415610b48578287015190505b610b528582610ad4565b865550610bba565b601f198416610b6886610944565b60005b82811015610b9057848901518255600182019150602085019450602081019050610b6b565b86831015610bad5784890151610ba9601f891682610ab6565b8355505b6001600288020188555050505b50505050505056fea2646970667358221220057c56e09f97859ef171ce5812575ee68c7b9be274e5b8875970af2c64bb688064736f6c63430008120033

Deployed bytecode

0x608060405234801561001057600080fd5b50600436106100575760003560e01c80630121b93f1461005c5780633477ee2e14610078578063462e91ec146100a9578063a3ec138d146100c5578063a9a981a3146100f5575b600080fd5b6100766004803603810190610071919061043f565b610113565b005b610092600480360381019061008d919061043f565b6102bb565b6040516100a092919061050b565b60405180910390f35b6100c360048036038101906100be9190610670565b610367565b005b6100df60048036038101906100da9190610717565b6103cf565b6040516100ec919061075f565b60405180910390f35b6100fd6103ef565b60405161010a919061077a565b60405180910390f35b60008111801561012557506001548111155b610164576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161015b906107e1565b60405180910390fd5b600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16156101f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101e89061084d565b60405180910390fd5b60008082815260200190815260200160002060010160008154809291906102179061089c565b91905055506001600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550803373ffffffffffffffffffffffffffffffffffffffff167fd0e6c39f2e086dc49f1524b47725526a56945cd1ff661f37976f1725a1e5698660405160405180910390a350565b60006020528060005260406000206000915090508060000180546102de90610913565b80601f016020809104026020016040519081016040528092919081815260200182805461030a90610913565b80156103575780601f1061032c57610100808354040283529160200191610357565b820191906000526020600020905b81548152906001019060200180831161033a57829003601f168201915b5050505050908060010154905082565b6001600081548092919061037a9061089c565b919050555060405180604001604052808281526020016000815250600080600154815260200190815260200160002060008201518160000190816103be9190610af0565b506020820151816001015590505050565b60026020528060005260406000206000915054906101000a900460ff1681565b60015481565b6000604051905090565b600080fd5b600080fd5b6000819050919050565b61041c81610409565b811461042757600080fd5b50565b60008135905061043981610413565b92915050565b600060208284031215610455576104546103ff565b5b60006104638482850161042a565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156104a657808201518184015260208101905061048b565b60008484015250505050565b6000601f19601f8301169050919050565b60006104ce8261046c565b6104d88185610477565b93506104e8818560208601610488565b6104f1816104b2565b840191505092915050565b61050581610409565b82525050565b6000604082019050818103600083015261052581856104c3565b905061053460208301846104fc565b9392505050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61057d826104b2565b810181811067ffffffffffffffff8211171561059c5761059b610545565b5b80604052505050565b60006105af6103f5565b90506105bb8282610574565b919050565b600067ffffffffffffffff8211156105db576105da610545565b5b6105e4826104b2565b9050602081019050919050565b82818337600083830152505050565b600061061361060e846105c0565b6105a5565b90508281526020810184848401111561062f5761062e610540565b5b61063a8482856105f1565b509392505050565b600082601f8301126106575761065661053b565b5b8135610667848260208601610600565b91505092915050565b600060208284031215610686576106856103ff565b5b600082013567ffffffffffffffff8111156106a4576106a3610404565b5b6106b084828501610642565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006106e4826106b9565b9050919050565b6106f4816106d9565b81146106ff57600080fd5b50565b600081359050610711816106eb565b92915050565b60006020828403121561072d5761072c6103ff565b5b600061073b84828501610702565b91505092915050565b60008115159050919050565b61075981610744565b82525050565b60006020820190506107746000830184610750565b92915050565b600060208201905061078f60008301846104fc565b92915050565b7f496e76616c69642063616e646964617465204944000000000000000000000000600082015250565b60006107cb601483610477565b91506107d682610795565b602082019050919050565b600060208201905081810360008301526107fa816107be565b9050919050565b7f596f75206861766520616c726561647920766f74656400000000000000000000600082015250565b6000610837601683610477565b915061084282610801565b602082019050919050565b600060208201905081810360008301526108668161082a565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006108a782610409565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036108d9576108d861086d565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061092b57607f821691505b60208210810361093e5761093d6108e4565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026109a67fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82610969565b6109b08683610969565b95508019841693508086168417925050509392505050565b6000819050919050565b60006109ed6109e86109e384610409565b6109c8565b610409565b9050919050565b6000819050919050565b610a07836109d2565b610a1b610a13826109f4565b848454610976565b825550505050565b600090565b610a30610a23565b610a3b8184846109fe565b505050565b5b81811015610a5f57610a54600082610a28565b600181019050610a41565b5050565b601f821115610aa457610a7581610944565b610a7e84610959565b81016020851015610a8d578190505b610aa1610a9985610959565b830182610a40565b50505b505050565b600082821c905092915050565b6000610ac760001984600802610aa9565b1980831691505092915050565b6000610ae08383610ab6565b9150826002028217905092915050565b610af98261046c565b67ffffffffffffffff811115610b1257610b11610545565b5b610b1c8254610913565b610b27828285610a63565b600060209050601f831160018114610b5a5760008415610b48578287015190505b610b528582610ad4565b865550610bba565b601f198416610b6886610944565b60005b82811015610b9057848901518255600182019150602085019450602081019050610b6b565b86831015610bad5784890151610ba9601f891682610ab6565b8355505b6001600288020188555050505b50505050505056fea2646970667358221220057c56e09f97859ef171ce5812575ee68c7b9be274e5b8875970af2c64bb688064736f6c63430008120033

Source map

25:861:0:-:0;;;341:49;;;;;;;;;;382:1;365:14;:18;;;;25:861;;;;;;