Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 5 from a total of 5 transactions
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block |
From
|
To
|
|||
---|---|---|---|---|---|---|
2440926 | 3052 days ago | 0 ETH | ||||
2440848 | 3052 days ago | 0 ETH | ||||
2440780 | 3052 days ago | 0 ETH | ||||
2440044 | 3052 days ago | 0 ETH | ||||
2439870 | 3052 days ago | 0 ETH | ||||
2439865 | 3052 days ago | 0 ETH | ||||
2439662 | 3052 days ago | 0 ETH | ||||
2439639 | 3052 days ago | 0 ETH | ||||
2439625 | 3052 days ago | 0 ETH | ||||
2439033 | 3052 days ago | 0 ETH | ||||
2438794 | 3052 days ago | 0 ETH | ||||
2438778 | 3052 days ago | 0 ETH | ||||
2438772 | 3052 days ago | 0 ETH | ||||
2438527 | 3052 days ago | 0 ETH | ||||
2438527 | 3052 days ago | 0 ETH | ||||
2438473 | 3052 days ago | 0 ETH | ||||
2438465 | 3052 days ago | 0 ETH | ||||
2438459 | 3052 days ago | 0 ETH | ||||
2438438 | 3052 days ago | 0 ETH | ||||
2438435 | 3052 days ago | 0 ETH | ||||
2438433 | 3052 days ago | 0 ETH | ||||
2438418 | 3052 days ago | 0 ETH | ||||
2438388 | 3052 days ago | 0 ETH | ||||
2438383 | 3052 days ago | 0 ETH | ||||
2438287 | 3052 days ago | 0 ETH |
Loading...
Loading
Contract Name:
euroteambet
Compiler Version
v0.3.1-2016-04-13-9137506
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2016-06-06 */ contract euroteambet { struct team { string teamName; mapping(address => uint) bet; uint totalBet; } team[] public euroTeams; bool winningTeamDefined; uint winningTeam; /** Bets close at the opening day of the EuroCup: 10 June 2016 **/ uint startCompetitionTime; /** Overall amount bet **/ uint public globalBet; /** Define the creator and fees collected **/ address creator; uint feeCollected; /** * Constructor: Defines team and creator */ function euroteambet() { // Define the Teams team memory toCreate; // Post a dummy team to ensure the actual range is from 1 to 24 and not 0 to 23. toCreate.teamName = ''; euroTeams.push(toCreate); toCreate.teamName = 'Albania'; euroTeams.push(toCreate); toCreate.teamName = 'Austria'; euroTeams.push(toCreate); toCreate.teamName = 'Belgium'; euroTeams.push(toCreate); toCreate.teamName = 'Croatia'; euroTeams.push(toCreate); toCreate.teamName = 'Czech Republic'; euroTeams.push(toCreate); toCreate.teamName = 'England'; euroTeams.push(toCreate); toCreate.teamName = 'France'; euroTeams.push(toCreate); toCreate.teamName = 'Germany'; euroTeams.push(toCreate); toCreate.teamName = 'Hungary'; euroTeams.push(toCreate); toCreate.teamName = 'Iceland'; euroTeams.push(toCreate); toCreate.teamName = 'Italy'; euroTeams.push(toCreate); toCreate.teamName = 'Nothern Ireland'; euroTeams.push(toCreate); toCreate.teamName = 'Poland'; euroTeams.push(toCreate); toCreate.teamName = 'Portugal'; euroTeams.push(toCreate); toCreate.teamName = 'Republic of Ireland'; euroTeams.push(toCreate); toCreate.teamName = 'Romania'; euroTeams.push(toCreate); toCreate.teamName = 'Russia'; euroTeams.push(toCreate); toCreate.teamName = 'Slovakia'; euroTeams.push(toCreate); toCreate.teamName = 'Spain'; euroTeams.push(toCreate); toCreate.teamName = 'Sweden'; euroTeams.push(toCreate); toCreate.teamName = 'Switzerland'; euroTeams.push(toCreate); toCreate.teamName = 'Turkey'; euroTeams.push(toCreate); toCreate.teamName = 'Ukraine'; euroTeams.push(toCreate); toCreate.teamName = 'Wales'; euroTeams.push(toCreate); creator = msg.sender; winningTeamDefined = false; // Euro Cup starts in 4 days startCompetitionTime = block.timestamp + (60 * 60 * 24) * 4; } event BetFromTransaction(address indexed from, uint value); event CollectFromTransaction(address indexed from, uint value); event BetClosedNoWinningTeam(address indexed from, uint value); /** * Catch-All Function: Un case of transaction received going though a Contract Function * 1: Check if bets are still open * 2: Check if the bet is more than 0.1 ETH * 3: Divided by 1000000000000000 to have an integer (0.016 Eth to 16) and call betOnATeam * If the EeasyBet value is not correct (possible value 1 to 24), it will be throw in BetOnAteam function * 4: Check if the winning team as been defined */ function () { if (startCompetitionTime >= block.timestamp) { if (msg.value >= 100 finney) { BetFromTransaction(msg.sender, msg.value); betOnATeam((msg.value % 100 finney) / 1000000000000000); } else { msg.sender.send(msg.value); return; } } else if (winningTeamDefined == true) { CollectFromTransaction(msg.sender, msg.value); collectEarnings(); } else { BetClosedNoWinningTeam(msg.sender, msg.value); if(msg.value > 0){ msg.sender.send(msg.value); } return; } } /** * Used to defined the winner of the Tournament * 1: The winning team is updated * 2: All amount invested are gathered in globalBet * 3: All balances of the winning team updated proportionally to the amount invested * * param {uint teamWinningName The identifier of the team winning */ function setWinner(uint teamWinningID) { // Check if the sender is the creator and if the tournament has ended if (msg.sender == creator) { winningTeam = teamWinningID; winningTeamDefined = true; } else { if(msg.value > 0){ msg.sender.send(msg.value); } return; } } event BetOnATeam(address indexed from, uint indexed id, uint value); /** * Used to bet on the winner of the Tournament * 1: Check if bets are still open * 2: Check if the bet is more than 0.1 ETH * 3: Check if the id of the team is correct (possible value 1 to 24) * param {uint} id The identifier of the team to bet on */ function betOnATeam(uint id) { if (startCompetitionTime >= block.timestamp && msg.value >= 100 finney && id >= 1 && id <= 24) { uint amount = msg.value; // Collect 3% Fee feeCollected += (amount * 3 / 100); amount -= (amount * 3 / 100); BetOnATeam(msg.sender, id, amount); euroTeams[id].bet[msg.sender] += amount; euroTeams[id].totalBet += amount; globalBet += amount; } else { if(msg.value > 0){ msg.sender.send(msg.value); } return; } } /** * Check earnings for a specific address * * param address toCheck Address to check its earnings * return uint Amount earned */ function checkEarnings(address toCheck) returns (uint) { if(msg.value > 0){ msg.sender.send(msg.value); } if (winningTeamDefined == true) { return (globalBet * (euroTeams[winningTeam].bet[toCheck] / euroTeams[winningTeam].totalBet)); } else { return 0; } } /** * Only allowed the withdrawals of the fund once the Winning team is updated */ function collectEarnings() { if(msg.value > 0){ msg.sender.send(msg.value); } if (winningTeamDefined == true) { uint earnings = (globalBet * (euroTeams[winningTeam].bet[msg.sender] / euroTeams[winningTeam].totalBet)); msg.sender.send(earnings); euroTeams[winningTeam].bet[msg.sender] = 0; } else { return; } } /** * Allow the creator of the game to send balance * * param address toSend Address to receive its earnings */ function sendEarnings(address toSend) { if(msg.value > 0){ msg.sender.send(msg.value); } if (msg.sender == creator && winningTeamDefined == true) { uint earnings = (globalBet * (euroTeams[winningTeam].bet[toSend] / euroTeams[winningTeam].totalBet)); toSend.send(earnings); euroTeams[winningTeam].bet[toSend] = 0; } else { return; } } /** * Allow the creator to collect the 3% Fee */ function collectFee() { msg.sender.send(msg.value); if (msg.sender == creator) { creator.send(feeCollected); feeCollected = 0; } else { return; } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"constant":false,"inputs":[{"name":"teamWinningID","type":"uint256"}],"name":"setWinner","outputs":[],"type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"euroTeams","outputs":[{"name":"teamName","type":"string"},{"name":"totalBet","type":"uint256"}],"type":"function"},{"constant":false,"inputs":[{"name":"toSend","type":"address"}],"name":"sendEarnings","outputs":[],"type":"function"},{"constant":false,"inputs":[],"name":"collectEarnings","outputs":[],"type":"function"},{"constant":true,"inputs":[],"name":"globalBet","outputs":[{"name":"","type":"uint256"}],"type":"function"},{"constant":false,"inputs":[],"name":"collectFee","outputs":[],"type":"function"},{"constant":false,"inputs":[{"name":"toCheck","type":"address"}],"name":"checkEarnings","outputs":[{"name":"","type":"uint256"}],"type":"function"},{"constant":false,"inputs":[{"name":"id","type":"uint256"}],"name":"betOnATeam","outputs":[],"type":"function"},{"inputs":[],"type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"name":"from","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"BetFromTransaction","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"from","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"CollectFromTransaction","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"from","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"BetClosedNoWinningTeam","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"from","type":"address"},{"indexed":true,"name":"id","type":"uint256"},{"indexed":false,"name":"value","type":"uint256"}],"name":"BetOnATeam","type":"event"}]
Contract Creation Code
600060a0819052608081905260e060405260c0818152606090815281546001810180845591929182818380158290116100515760030281600302836000526020600020918201910161005191906100d6565b5050509190906000526020600020906003020160008390919091506000820151816000016000509080519060200190828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061013e57805160ff19168380011785555b5061016e929150610126565b5050600060028201556001015b8082111561013a57600060008201600050805460018160011615610100020316600290046000825580601f1061010c57506100c9565b601f0160209004906000526020600020908101906100c991905b8082111561013a5760008155600101610126565b5090565b828001600101855582156100bd579182015b828111156100bd578251826000505591602001919060010190610150565b50506020918201516002919091015560408051808201909152600781527f416c62616e69610000000000000000000000000000000000000000000000000091810191909152825250600080546001810180835582818380158290116101ec576003028160030283600052602060002091820191016101ec9190610271565b5050509190906000526020600020906003020160008390919091506000820151816000016000509080519060200190828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106102c557805160ff19168380011785555b506102f5929150610126565b5050600060028201556001015b8082111561013a57600060008201600050805460018160011615610100020316600290046000825580601f106102a75750610264565b601f0160209004906000526020600020908101906102649190610126565b82800160010185558215610258579182015b828111156102585782518260005055916020019190600101906102d7565b50506020918201516002919091015560408051808201909152600781527f417573747269610000000000000000000000000000000000000000000000000091810191909152825250600080546001810180835582818380158290116103735760030281600302836000526020600020918201910161037391906103f8565b5050509190906000526020600020906003020160008390919091506000820151816000016000509080519060200190828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061044c57805160ff19168380011785555b5061047c929150610126565b5050600060028201556001015b8082111561013a57600060008201600050805460018160011615610100020316600290046000825580601f1061042e57506103eb565b601f0160209004906000526020600020908101906103eb9190610126565b828001600101855582156103df579182015b828111156103df57825182600050559160200191906001019061045e565b50506020918201516002919091015560408051808201909152600781527f42656c6769756d0000000000000000000000000000000000000000000000000091810191909152825250600080546001810180835582818380158290116104fa576003028160030283600052602060002091820191016104fa919061057f565b5050509190906000526020600020906003020160008390919091506000820151816000016000509080519060200190828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106105d357805160ff19168380011785555b50610603929150610126565b5050600060028201556001015b8082111561013a57600060008201600050805460018160011615610100020316600290046000825580601f106105b55750610572565b601f0160209004906000526020600020908101906105729190610126565b82800160010185558215610566579182015b828111156105665782518260005055916020019190600101906105e5565b50506020918201516002919091015560408051808201909152600781527f43726f61746961000000000000000000000000000000000000000000000000009181019190915282525060008054600181018083558281838015829011610681576003028160030283600052602060002091820191016106819190610706565b5050509190906000526020600020906003020160008390919091506000820151816000016000509080519060200190828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061075a57805160ff19168380011785555b5061078a929150610126565b5050600060028201556001015b8082111561013a57600060008201600050805460018160011615610100020316600290046000825580601f1061073c57506106f9565b601f0160209004906000526020600020908101906106f99190610126565b828001600101855582156106ed579182015b828111156106ed57825182600050559160200191906001019061076c565b50506020918201516002919091015560408051808201909152600e81527f437a6563682052657075626c6963000000000000000000000000000000000000918101919091528252506000805460018101808355828183801582901161080857600302816003028360005260206000209182019101610808919061088d565b5050509190906000526020600020906003020160008390919091506000820151816000016000509080519060200190828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106108e157805160ff19168380011785555b50610911929150610126565b5050600060028201556001015b8082111561013a57600060008201600050805460018160011615610100020316600290046000825580601f106108c35750610880565b601f0160209004906000526020600020908101906108809190610126565b82800160010185558215610874579182015b828111156108745782518260005055916020019190600101906108f3565b50506020918201516002919091015560408051808201909152600781527f456e676c616e6400000000000000000000000000000000000000000000000000918101919091528252506000805460018101808355828183801582901161098f5760030281600302836000526020600020918201910161098f9190610a14565b5050509190906000526020600020906003020160008390919091506000820151816000016000509080519060200190828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10610a6857805160ff19168380011785555b50610a98929150610126565b5050600060028201556001015b8082111561013a57600060008201600050805460018160011615610100020316600290046000825580601f10610a4a5750610a07565b601f016020900490600052602060002090810190610a079190610126565b828001600101855582156109fb579182015b828111156109fb578251826000505591602001919060010190610a7a565b50506020918201516002919091015560408051808201909152600681527f4672616e636500000000000000000000000000000000000000000000000000009181019190915282525060008054600181018083558281838015829011610b1657600302816003028360005260206000209182019101610b169190610b9b565b5050509190906000526020600020906003020160008390919091506000820151816000016000509080519060200190828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10610bef57805160ff19168380011785555b50610c1f929150610126565b5050600060028201556001015b8082111561013a57600060008201600050805460018160011615610100020316600290046000825580601f10610bd15750610b8e565b601f016020900490600052602060002090810190610b8e9190610126565b82800160010185558215610b82579182015b82811115610b82578251826000505591602001919060010190610c01565b50506020918201516002919091015560408051808201909152600781527f4765726d616e79000000000000000000000000000000000000000000000000009181019190915282525060008054600181018083558281838015829011610c9d57600302816003028360005260206000209182019101610c9d9190610d22565b5050509190906000526020600020906003020160008390919091506000820151816000016000509080519060200190828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10610d7657805160ff19168380011785555b50610da6929150610126565b5050600060028201556001015b8082111561013a57600060008201600050805460018160011615610100020316600290046000825580601f10610d585750610d15565b601f016020900490600052602060002090810190610d159190610126565b82800160010185558215610d09579182015b82811115610d09578251826000505591602001919060010190610d88565b50506020918201516002919091015560408051808201909152600781527f48756e67617279000000000000000000000000000000000000000000000000009181019190915282525060008054600181018083558281838015829011610e2457600302816003028360005260206000209182019101610e249190610ea9565b5050509190906000526020600020906003020160008390919091506000820151816000016000509080519060200190828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10610efd57805160ff19168380011785555b50610f2d929150610126565b5050600060028201556001015b8082111561013a57600060008201600050805460018160011615610100020316600290046000825580601f10610edf5750610e9c565b601f016020900490600052602060002090810190610e9c9190610126565b82800160010185558215610e90579182015b82811115610e90578251826000505591602001919060010190610f0f565b50506020918201516002919091015560408051808201909152600781527f4963656c616e64000000000000000000000000000000000000000000000000009181019190915282525060008054600181018083558281838015829011610fab57600302816003028360005260206000209182019101610fab9190611030565b5050509190906000526020600020906003020160008390919091506000820151816000016000509080519060200190828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061108457805160ff19168380011785555b506110b4929150610126565b5050600060028201556001015b8082111561013a57600060008201600050805460018160011615610100020316600290046000825580601f106110665750611023565b601f0160209004906000526020600020908101906110239190610126565b82800160010185558215611017579182015b82811115611017578251826000505591602001919060010190611096565b50506020918201516002919091015560408051808201909152600581527f4974616c7900000000000000000000000000000000000000000000000000000091810191909152825250600080546001810180835582818380158290116111325760030281600302836000526020600020918201910161113291906111b7565b5050509190906000526020600020906003020160008390919091506000820151816000016000509080519060200190828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061120b57805160ff19168380011785555b5061123b929150610126565b5050600060028201556001015b8082111561013a57600060008201600050805460018160011615610100020316600290046000825580601f106111ed57506111aa565b601f0160209004906000526020600020908101906111aa9190610126565b8280016001018555821561119e579182015b8281111561119e57825182600050559160200191906001019061121d565b50506020918201516002919091015560408051808201909152600f81527f4e6f746865726e204972656c616e64000000000000000000000000000000000091810191909152825250600080546001810180835582818380158290116112b9576003028160030283600052602060002091820191016112b9919061133e565b5050509190906000526020600020906003020160008390919091506000820151816000016000509080519060200190828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061139257805160ff19168380011785555b506113c2929150610126565b5050600060028201556001015b8082111561013a57600060008201600050805460018160011615610100020316600290046000825580601f106113745750611331565b601f0160209004906000526020600020908101906113319190610126565b82800160010185558215611325579182015b828111156113255782518260005055916020019190600101906113a4565b50506020918201516002919091015560408051808201909152600681527f506f6c616e64000000000000000000000000000000000000000000000000000091810191909152825250600080546001810180835582818380158290116114405760030281600302836000526020600020918201910161144091906114c5565b5050509190906000526020600020906003020160008390919091506000820151816000016000509080519060200190828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061151957805160ff19168380011785555b50611549929150610126565b5050600060028201556001015b8082111561013a57600060008201600050805460018160011615610100020316600290046000825580601f106114fb57506114b8565b601f0160209004906000526020600020908101906114b89190610126565b828001600101855582156114ac579182015b828111156114ac57825182600050559160200191906001019061152b565b50506020918201516002919091015560408051808201909152600881527f506f72747567616c00000000000000000000000000000000000000000000000091810191909152825250600080546001810180835582818380158290116115c7576003028160030283600052602060002091820191016115c7919061164c565b5050509190906000526020600020906003020160008390919091506000820151816000016000509080519060200190828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106116a057805160ff19168380011785555b506116d0929150610126565b5050600060028201556001015b8082111561013a57600060008201600050805460018160011615610100020316600290046000825580601f10611682575061163f565b601f01602090049060005260206000209081019061163f9190610126565b82800160010185558215611633579182015b828111156116335782518260005055916020019190600101906116b2565b50506020918201516002919091015560408051808201909152601381527f52657075626c6963206f66204972656c616e6400000000000000000000000000918101919091528252506000805460018101808355828183801582901161174e5760030281600302836000526020600020918201910161174e91906117d3565b5050509190906000526020600020906003020160008390919091506000820151816000016000509080519060200190828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061182757805160ff19168380011785555b50611857929150610126565b5050600060028201556001015b8082111561013a57600060008201600050805460018160011615610100020316600290046000825580601f1061180957506117c6565b601f0160209004906000526020600020908101906117c69190610126565b828001600101855582156117ba579182015b828111156117ba578251826000505591602001919060010190611839565b50506020918201516002919091015560408051808201909152600781527f526f6d616e69610000000000000000000000000000000000000000000000000091810191909152825250600080546001810180835582818380158290116118d5576003028160030283600052602060002091820191016118d5919061195a565b5050509190906000526020600020906003020160008390919091506000820151816000016000509080519060200190828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106119ae57805160ff19168380011785555b506119de929150610126565b5050600060028201556001015b8082111561013a57600060008201600050805460018160011615610100020316600290046000825580601f10611990575061194d565b601f01602090049060005260206000209081019061194d9190610126565b82800160010185558215611941579182015b828111156119415782518260005055916020019190600101906119c0565b50506020918201516002919091015560408051808201909152600681527f52757373696100000000000000000000000000000000000000000000000000009181019190915282525060008054600181018083558281838015829011611a5c57600302816003028360005260206000209182019101611a5c9190611ae1565b5050509190906000526020600020906003020160008390919091506000820151816000016000509080519060200190828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10611b3557805160ff19168380011785555b50611b65929150610126565b5050600060028201556001015b8082111561013a57600060008201600050805460018160011615610100020316600290046000825580601f10611b175750611ad4565b601f016020900490600052602060002090810190611ad49190610126565b82800160010185558215611ac8579182015b82811115611ac8578251826000505591602001919060010190611b47565b50506020918201516002919091015560408051808201909152600881527f536c6f76616b69610000000000000000000000000000000000000000000000009181019190915282525060008054600181018083558281838015829011611be357600302816003028360005260206000209182019101611be39190611c68565b5050509190906000526020600020906003020160008390919091506000820151816000016000509080519060200190828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10611cbc57805160ff19168380011785555b50611cec929150610126565b5050600060028201556001015b8082111561013a57600060008201600050805460018160011615610100020316600290046000825580601f10611c9e5750611c5b565b601f016020900490600052602060002090810190611c5b9190610126565b82800160010185558215611c4f579182015b82811115611c4f578251826000505591602001919060010190611cce565b50506020918201516002919091015560408051808201909152600581527f537061696e0000000000000000000000000000000000000000000000000000009181019190915282525060008054600181018083558281838015829011611d6a57600302816003028360005260206000209182019101611d6a9190611def565b5050509190906000526020600020906003020160008390919091506000820151816000016000509080519060200190828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10611e4357805160ff19168380011785555b50611e73929150610126565b5050600060028201556001015b8082111561013a57600060008201600050805460018160011615610100020316600290046000825580601f10611e255750611de2565b601f016020900490600052602060002090810190611de29190610126565b82800160010185558215611dd6579182015b82811115611dd6578251826000505591602001919060010190611e55565b50506020918201516002919091015560408051808201909152600681527f53776564656e00000000000000000000000000000000000000000000000000009181019190915282525060008054600181018083558281838015829011611ef157600302816003028360005260206000209182019101611ef19190611f76565b5050509190906000526020600020906003020160008390919091506000820151816000016000509080519060200190828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10611fca57805160ff19168380011785555b50611ffa929150610126565b5050600060028201556001015b8082111561013a57600060008201600050805460018160011615610100020316600290046000825580601f10611fac5750611f69565b601f016020900490600052602060002090810190611f699190610126565b82800160010185558215611f5d579182015b82811115611f5d578251826000505591602001919060010190611fdc565b50506020918201516002919091015560408051808201909152600b81527f537769747a65726c616e6400000000000000000000000000000000000000000091810191909152825250600080546001810180835582818380158290116120785760030281600302836000526020600020918201910161207891906120fd565b5050509190906000526020600020906003020160008390919091506000820151816000016000509080519060200190828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061215157805160ff19168380011785555b50612181929150610126565b5050600060028201556001015b8082111561013a57600060008201600050805460018160011615610100020316600290046000825580601f1061213357506120f0565b601f0160209004906000526020600020908101906120f09190610126565b828001600101855582156120e4579182015b828111156120e4578251826000505591602001919060010190612163565b50506020918201516002919091015560408051808201909152600681527f5475726b6579000000000000000000000000000000000000000000000000000091810191909152825250600080546001810180835582818380158290116121ff576003028160030283600052602060002091820191016121ff9190612284565b5050509190906000526020600020906003020160008390919091506000820151816000016000509080519060200190828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106122d857805160ff19168380011785555b50612308929150610126565b5050600060028201556001015b8082111561013a57600060008201600050805460018160011615610100020316600290046000825580601f106122ba5750612277565b601f0160209004906000526020600020908101906122779190610126565b8280016001018555821561226b579182015b8281111561226b5782518260005055916020019190600101906122ea565b50506020918201516002919091015560408051808201909152600781527f556b7261696e6500000000000000000000000000000000000000000000000000918101919091528252506000805460018101808355828183801582901161238657600302816003028360005260206000209182019101612386919061240b565b5050509190906000526020600020906003020160008390919091506000820151816000016000509080519060200190828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061245f57805160ff19168380011785555b5061248f929150610126565b5050600060028201556001015b8082111561013a57600060008201600050805460018160011615610100020316600290046000825580601f1061244157506123fe565b601f0160209004906000526020600020908101906123fe9190610126565b828001600101855582156123f2579182015b828111156123f2578251826000505591602001919060010190612471565b50506020918201516002919091015560408051808201909152600581527f57616c6573000000000000000000000000000000000000000000000000000000918101919091528252506000805460018101808355828183801582901161250d5760030281600302836000526020600020918201910161250d9190612592565b5050509190906000526020600020906003020160008390919091506000820151816000016000509080519060200190828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106125e657805160ff19168380011785555b50612616929150610126565b5050600060028201556001015b8082111561013a57600060008201600050805460018160011615610100020316600290046000825580601f106125c85750612585565b601f0160209004906000526020600020908101906125859190610126565b82800160010185558215612579579182015b828111156125795782518260005055916020019190600101906125f8565b505060209190910151600291909101555060058054600160a060020a031916331790556001805460ff19169055620546004201600355506108128061265b6000396000f36060604052361561006c5760e060020a60003504630df7160281146100e3578063578b2dab1461011857806378ec81a01461015a578063c27b2c2d14610288578063cda113ed14610399578063d4d5d32a146103a2578063dc3ab86614610408578063f79b22e0146104be575b6105e06003544290106105e25767016345785d8a0000341061063657604080513481529051600160a060020a033316917f9ce682bdd34337b043fe7fa9d9f834bf263d9067978854dc0d8f8d48ef011c32919081900360200190a261065966038d7ea4c6800067016345785d8a00003406046104c5565b6105e0600435600554600160a060020a039081163391909116141561076d5760028190556001805460ff191681179055610797565b6106cb600435600080548290811015610002575080526003026000805160206107f28339815191528101546000805160206107d2833981519152919091019082565b6105e06004356000600034111561018b57604051600160a060020a033316908290349082818181858883f150505050505b600554600160a060020a03908116339091161480156101ae57506001805460ff16145b156107c45760025460008054909190811015610002578154828052600382026000805160206107f28339815191520154929190811015610002578180526003026000805160206107d2833981519152019050600160a060020a0384166000818152600192909201602052604080832054600454915194900402935091839082818181858883f1505081546002549293508392915081101561000257600160a060020a0385169091526003027f290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e5640160205260408120556105dc565b6105e05b600060003411156102b757604051600160a060020a033316908290349082818181858883f150505050505b6001805460ff1614156107975760025460008054909190811015610002578154828052600382026000805160206107f28339815191520154929190811015610002578180526003026000805160206107d2833981519152019050600160a060020a0333166000818152600192909201602052604080832054600454915194900402935091839082818181858883f150508154600254929350839291508110156100025733600160a060020a03169091526003027f290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e564016020526040812055610797565b61075b60045481565b6105e0604051600160a060020a03331690600090349082818181858883f15050600554600160a060020a0316909214159150610659905057600554600654604051600160a060020a0392909216916000919082818181858883f150505060065550610657565b61075b6004356000600034111561043957604051600160a060020a033316908290349082818181858883f150505050505b6001805460ff1614156107c95760025460008054909190811015610002578154828052600382026000805160206107f28339815191520154929190811015610002578180526003026000805160206107d2833981519152019050600160a060020a038416600090815260019190910160205260409020546004549190040290506107cd565b6105e06004355b600042600360005054101580156104e4575067016345785d8a00003410155b80156104f1575060018210155b80156104fe575060188211155b1561079a5750600680546064346003810291909104918201909255604080519190920380825291518391600160a060020a033316917ff370031e77ed8c2ad60b5e5933e1b824dcbbc87c87b442f675c5d5fdba566d809181900360200190a38060006000508381548110156100025733600160a060020a031682526003027f290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e564016020526040812080548301905580548490811015610002579080526003026000805160206107f2833981519152018054909101905560048054820190555b5050565b005b6001805460ff16141561065e57604080513481529051600160a060020a033316917f3a4bece263f4fdfe40937375003460c05684054648848a67b3f0ebd8b1f5a2d7919081900360200190a261065961028c565b604051600160a060020a03331690600090349082818181858883f150505050505b565b610657565b604080513481529051600160a060020a033316917fb667486dab4cc460c6d9325d44bc35d535445713c8e9b3fd5146327c99e974a4919081900360200190a2600034111561065957604051600160a060020a03331690600090349082818181858883f15050505050610657565b604080516020810183905281815283546002600019600183161561010002019091160491810182905290819060608201908590801561074b5780601f106107205761010080835404028352916020019161074b565b820191906000526020600020905b81548152906001019060200180831161072e57829003601f168201915b5050935050505060405180910390f35b60408051918252519081900360200190f35b600034111561079757604051600160a060020a03331690600090349082818181858883f150505050505b50565b60003411156107c457604051600160a060020a03331690600090349082818181858883f150505050505b6105dc565b5060005b91905056290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e563290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e565
Deployed Bytecode
0x6060604052361561006c5760e060020a60003504630df7160281146100e3578063578b2dab1461011857806378ec81a01461015a578063c27b2c2d14610288578063cda113ed14610399578063d4d5d32a146103a2578063dc3ab86614610408578063f79b22e0146104be575b6105e06003544290106105e25767016345785d8a0000341061063657604080513481529051600160a060020a033316917f9ce682bdd34337b043fe7fa9d9f834bf263d9067978854dc0d8f8d48ef011c32919081900360200190a261065966038d7ea4c6800067016345785d8a00003406046104c5565b6105e0600435600554600160a060020a039081163391909116141561076d5760028190556001805460ff191681179055610797565b6106cb600435600080548290811015610002575080526003026000805160206107f28339815191528101546000805160206107d2833981519152919091019082565b6105e06004356000600034111561018b57604051600160a060020a033316908290349082818181858883f150505050505b600554600160a060020a03908116339091161480156101ae57506001805460ff16145b156107c45760025460008054909190811015610002578154828052600382026000805160206107f28339815191520154929190811015610002578180526003026000805160206107d2833981519152019050600160a060020a0384166000818152600192909201602052604080832054600454915194900402935091839082818181858883f1505081546002549293508392915081101561000257600160a060020a0385169091526003027f290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e5640160205260408120556105dc565b6105e05b600060003411156102b757604051600160a060020a033316908290349082818181858883f150505050505b6001805460ff1614156107975760025460008054909190811015610002578154828052600382026000805160206107f28339815191520154929190811015610002578180526003026000805160206107d2833981519152019050600160a060020a0333166000818152600192909201602052604080832054600454915194900402935091839082818181858883f150508154600254929350839291508110156100025733600160a060020a03169091526003027f290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e564016020526040812055610797565b61075b60045481565b6105e0604051600160a060020a03331690600090349082818181858883f15050600554600160a060020a0316909214159150610659905057600554600654604051600160a060020a0392909216916000919082818181858883f150505060065550610657565b61075b6004356000600034111561043957604051600160a060020a033316908290349082818181858883f150505050505b6001805460ff1614156107c95760025460008054909190811015610002578154828052600382026000805160206107f28339815191520154929190811015610002578180526003026000805160206107d2833981519152019050600160a060020a038416600090815260019190910160205260409020546004549190040290506107cd565b6105e06004355b600042600360005054101580156104e4575067016345785d8a00003410155b80156104f1575060018210155b80156104fe575060188211155b1561079a5750600680546064346003810291909104918201909255604080519190920380825291518391600160a060020a033316917ff370031e77ed8c2ad60b5e5933e1b824dcbbc87c87b442f675c5d5fdba566d809181900360200190a38060006000508381548110156100025733600160a060020a031682526003027f290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e564016020526040812080548301905580548490811015610002579080526003026000805160206107f2833981519152018054909101905560048054820190555b5050565b005b6001805460ff16141561065e57604080513481529051600160a060020a033316917f3a4bece263f4fdfe40937375003460c05684054648848a67b3f0ebd8b1f5a2d7919081900360200190a261065961028c565b604051600160a060020a03331690600090349082818181858883f150505050505b565b610657565b604080513481529051600160a060020a033316917fb667486dab4cc460c6d9325d44bc35d535445713c8e9b3fd5146327c99e974a4919081900360200190a2600034111561065957604051600160a060020a03331690600090349082818181858883f15050505050610657565b604080516020810183905281815283546002600019600183161561010002019091160491810182905290819060608201908590801561074b5780601f106107205761010080835404028352916020019161074b565b820191906000526020600020905b81548152906001019060200180831161072e57829003601f168201915b5050935050505060405180910390f35b60408051918252519081900360200190f35b600034111561079757604051600160a060020a03331690600090349082818181858883f150505050505b50565b60003411156107c457604051600160a060020a03331690600090349082818181858883f150505050505b6105dc565b5060005b91905056290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e563290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e565
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 31 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
[ 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.