Source Code
More Info
Private Name Tags
ContractCreator
Funded By
Latest 25 from a total of 1,899 transactions
| Transaction Hash |
Method
|
Block
|
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
| Delete Contract | 3345433 | 3289 days ago | IN | 0 ETH | 0.00311411 | ||||
| Spin The Wheel | 3313310 | 3295 days ago | IN | 0 ETH | 0.00205042 | ||||
| Place Bet | 3313305 | 3295 days ago | IN | 0.01 ETH | 0.00343526 | ||||
| Spin The Wheel | 3313229 | 3295 days ago | IN | 0 ETH | 0.00207823 | ||||
| Place Bet | 3313226 | 3295 days ago | IN | 0.04 ETH | 0.00373654 | ||||
| Spin The Wheel | 3313222 | 3295 days ago | IN | 0 ETH | 0.00223044 | ||||
| Place Bet | 3313219 | 3295 days ago | IN | 0.02 ETH | 0.00373654 | ||||
| Spin The Wheel | 3313214 | 3295 days ago | IN | 0 ETH | 0.00205042 | ||||
| Place Bet | 3313211 | 3295 days ago | IN | 0.01 ETH | 0.00343526 | ||||
| Spin The Wheel | 3308571 | 3296 days ago | IN | 0 ETH | 0.00205038 | ||||
| Place Bet | 3308568 | 3296 days ago | IN | 0.03 ETH | 0.00373654 | ||||
| Spin The Wheel | 3308432 | 3296 days ago | IN | 0 ETH | 0.00205042 | ||||
| Place Bet | 3308429 | 3296 days ago | IN | 0.02 ETH | 0.00373654 | ||||
| Spin The Wheel | 3308382 | 3296 days ago | IN | 0 ETH | 0.00205042 | ||||
| Place Bet | 3308378 | 3296 days ago | IN | 0.01 ETH | 0.00343526 | ||||
| Spin The Wheel | 3307599 | 3296 days ago | IN | 0 ETH | 0.00205042 | ||||
| Spin The Wheel | 3307599 | 3296 days ago | IN | 0 ETH | 0.00205038 | ||||
| Place Bet | 3307493 | 3296 days ago | IN | 0.02 ETH | 0.0040242 | ||||
| Place Bet | 3307440 | 3296 days ago | IN | 0.01 ETH | 0.00360702 | ||||
| Spin The Wheel | 3294173 | 3298 days ago | IN | 0 ETH | 0.0005284 | ||||
| Spin The Wheel | 3294173 | 3298 days ago | IN | 0 ETH | 0.0005284 | ||||
| Spin The Wheel | 3294152 | 3298 days ago | IN | 0 ETH | 0.0005284 | ||||
| Spin The Wheel | 3294144 | 3298 days ago | IN | 0 ETH | 0.0005284 | ||||
| Spin The Wheel | 3294135 | 3298 days ago | IN | 0 ETH | 0.00057395 | ||||
| Spin The Wheel | 3294126 | 3298 days ago | IN | 0 ETH | 0.0005284 |
Latest 25 internal transactions (View All)
Advanced mode:
| Parent Transaction Hash | Method | Block |
From
|
|
To
|
||
|---|---|---|---|---|---|---|---|
| Transfer | 3345433 | 3289 days ago | 300.86999999 ETH | ||||
| Transfer | 3313310 | 3295 days ago | 1 wei | ||||
| Transfer | 3313229 | 3295 days ago | 0.12 ETH | ||||
| Transfer | 3313222 | 3295 days ago | 1 wei | ||||
| Transfer | 3313214 | 3295 days ago | 1 wei | ||||
| Transfer | 3308571 | 3296 days ago | 0.09 ETH | ||||
| Transfer | 3308432 | 3296 days ago | 1 wei | ||||
| Transfer | 3308382 | 3296 days ago | 1 wei | ||||
| Transfer | 3307599 | 3296 days ago | 1 wei | ||||
| Transfer | 3307599 | 3296 days ago | 0.04 ETH | ||||
| Transfer | 3290794 | 3298 days ago | 1 wei | ||||
| Transfer | 3289647 | 3299 days ago | 0.36 ETH | ||||
| Transfer | 3289637 | 3299 days ago | 1 wei | ||||
| Transfer | 3289612 | 3299 days ago | 1 wei | ||||
| Transfer | 3289457 | 3299 days ago | 1 wei | ||||
| Transfer | 3288941 | 3299 days ago | 1 wei | ||||
| Transfer | 3288925 | 3299 days ago | 1 wei | ||||
| Transfer | 3288911 | 3299 days ago | 0.15 ETH | ||||
| Transfer | 3288901 | 3299 days ago | 1 wei | ||||
| Transfer | 3288835 | 3299 days ago | 1 wei | ||||
| Transfer | 3288816 | 3299 days ago | 1 wei | ||||
| Transfer | 3288671 | 3299 days ago | 0.03 ETH | ||||
| Transfer | 3288616 | 3299 days ago | 0.03 ETH | ||||
| Transfer | 3288554 | 3299 days ago | 0.15 ETH | ||||
| Transfer | 3288540 | 3299 days ago | 1 wei |
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Self Destruct called at Txn Hash 0xd4c1dc8ce934da7c90f7cd847887ff0a080bcc8dac505d812f0f2065056a0389
Contract Name:
SmartRoulette
Compiler Version
v0.4.8+commit.60cc1668
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/**
*Submitted for verification at Etherscan.io on 2017-02-21
*/
pragma solidity ^0.4.8;
contract WinMatrix
{
function getCoeff(uint16 n) external returns (uint256);
function getBetsProcessed() external constant returns (uint16);
}
contract SmartRoulette
{
address developer;
address operator;
// Wait BlockDelay blocks before spin the wheel
uint8 BlockDelay;
// Maximum bet value for game
uint256 currentMaxBet;
// maximum games count per block
uint64 maxBetsPerBlock;
uint64 nbBetsCurrentBlock;
// Enable\disable to place new bets
bool ContractState;
// table with winner coefficients
WinMatrix winMatrix;
uint16 constant maxTypeBets = 157;
//
uint256 private SmartRouletteLimit = 1;
// last game index for player (used for fast access)
mapping (address => uint64) private gambleIndex;
//
uint8 defaultMinCreditsOnBet;
//
mapping (uint8 => uint8) private minCreditsOnBet;
struct Gamble
{
address player;
uint256 blockNumber;
uint256 blockSpinned;
uint8 wheelResult;
uint256 bets;
bytes32 values;
bytes32 values2;
}
Gamble[] private gambles;
enum BetTypes{number0, number1,number2,number3,number4,number5,number6,number7,number8,number9,
number10,number11,number12,number13,number14,number15,number16,number17,number18,number19,number20,number21,
number22,number23,number24,number25,number26,number27,number28,number29,number30,number31,number32,number33,
number34,number35,number36, red, black, odd, even, dozen1,dozen2,dozen3, column1,column2,column3, low,high,
pair_01, pair_02, pair_03, pair_12, pair_23, pair_36, pair_25, pair_14, pair_45, pair_56, pair_69, pair_58, pair_47,
pair_78, pair_89, pair_912, pair_811, pair_710, pair_1011, pair_1112, pair_1215, pair_1518, pair_1617, pair_1718, pair_1720,
pair_1619, pair_1922, pair_2023, pair_2124, pair_2223, pair_2324, pair_2528, pair_2629, pair_2730, pair_2829, pair_2930, pair_1114,
pair_1013, pair_1314, pair_1415, pair_1316, pair_1417, pair_1821, pair_1920, pair_2021, pair_2225, pair_2326, pair_2427, pair_2526,
pair_2627, pair_2831, pair_2932, pair_3033, pair_3132, pair_3233, pair_3134, pair_3235, pair_3336, pair_3435, pair_3536, corner_0_1_2_3,
corner_1_2_5_4, corner_2_3_6_5, corner_4_5_8_7, corner_5_6_9_8, corner_7_8_11_10, corner_8_9_12_11, corner_10_11_14_13, corner_11_12_15_14,
corner_13_14_17_16, corner_14_15_18_17, corner_16_17_20_19, corner_17_18_21_20, corner_19_20_23_22, corner_20_21_24_23, corner_22_23_26_25,
corner_23_24_27_26, corner_25_26_29_28, corner_26_27_30_29, corner_28_29_32_31, corner_29_30_33_32, corner_31_32_35_34, corner_32_33_36_35,
three_0_2_3, three_0_1_2, three_1_2_3, three_4_5_6, three_7_8_9, three_10_11_12, three_13_14_15, three_16_17_18, three_19_20_21, three_22_23_24,
three_25_26_27, three_28_29_30, three_31_32_33, three_34_35_36, six_1_2_3_4_5_6, six_4_5_6_7_8_9, six_7_8_9_10_11_12, six_10_11_12_13_14_15,
six_13_14_15_16_17_18, six_16_17_18_19_20_21, six_19_20_21_22_23_24, six_22_23_24_25_26_27, six_25_26_27_28_29_30, six_28_29_30_31_32_33,
six_31_32_33_34_35_36}
function SmartRoulette() internal
{
developer = msg.sender;
operator = msg.sender;
winMatrix = WinMatrix(0xDA16251B2977F86cB8d4C3318e9c6F92D7fC1A8f);
if (winMatrix.getBetsProcessed() != maxTypeBets) throw;
BlockDelay = 1;
maxBetsPerBlock = 5;
defaultMinCreditsOnBet = 1;
ContractState = true;
}
function updateMaxBet() private onlyDeveloper
{
uint256 newMaxBet = this.balance/(35*SmartRouletteLimit);
// rounds to 2 digts
newMaxBet = newMaxBet / 2560000000000000000 * 2560000000000000000;
if (newMaxBet != currentMaxBet)
{
currentMaxBet = newMaxBet;
SettingsChanged(currentMaxBet, currentMaxBet / 256, defaultMinCreditsOnBet, minCreditsOnBet[uint8(BetTypes.low)], minCreditsOnBet[uint8(BetTypes.dozen1)], BlockDelay, ContractState);
}
}
function changeSettings(uint256 NewSmartRouletteLimit, uint64 NewMaxBetsPerBlock, uint8 NewBlockDelay, uint8 MinCreditsOnBet50, uint8 MinCreditsOnBet33, uint8 NewDefaultMinCreditsOnBet) onlyDeveloper
{
if (NewSmartRouletteLimit > 0) SmartRouletteLimit = NewSmartRouletteLimit;
BlockDelay = NewBlockDelay;
if (NewMaxBetsPerBlock != 0) maxBetsPerBlock = NewMaxBetsPerBlock;
if (MinCreditsOnBet50 > 0)
{
minCreditsOnBet[uint8(BetTypes.low)] = MinCreditsOnBet50;
minCreditsOnBet[uint8(BetTypes.high)] = MinCreditsOnBet50;
minCreditsOnBet[uint8(BetTypes.red)] = MinCreditsOnBet50;
minCreditsOnBet[uint8(BetTypes.black)] = MinCreditsOnBet50;
minCreditsOnBet[uint8(BetTypes.odd)] = MinCreditsOnBet50;
minCreditsOnBet[uint8(BetTypes.even)] = MinCreditsOnBet50;
}
if (MinCreditsOnBet33 > 0)
{
minCreditsOnBet[uint8(BetTypes.dozen1)] = MinCreditsOnBet33;
minCreditsOnBet[uint8(BetTypes.dozen2)] = MinCreditsOnBet33;
minCreditsOnBet[uint8(BetTypes.dozen3)] = MinCreditsOnBet33;
minCreditsOnBet[uint8(BetTypes.column1)] = MinCreditsOnBet33;
minCreditsOnBet[uint8(BetTypes.column2)] = MinCreditsOnBet33;
minCreditsOnBet[uint8(BetTypes.column3)] = MinCreditsOnBet33;
}
if (NewDefaultMinCreditsOnBet > 0) defaultMinCreditsOnBet = NewDefaultMinCreditsOnBet;
updateMaxBet();
}
function deleteContract() onlyDeveloper
{
suicide(msg.sender);
}
// bit from 0 to 255
function isBitSet(uint256 data, uint8 bit) private constant returns (bool ret)
{
assembly {
ret := iszero(iszero(and(data, exp(2,bit))))
}
return ret;
}
// unique combination of bet and wheelResult, used for access to WinMatrix
function getIndex(uint16 bet, uint16 wheelResult) private constant returns (uint16)
{
return (bet+1)*256 + (wheelResult+1);
}
// n form 1 <= to <= 32
function getBetValue(bytes32 values, uint8 n) private constant returns (uint256)
{
// bet in credits (1..256)
uint256 bet = uint256(values[32-n])+1;
// check min bet
uint8 minCredits = minCreditsOnBet[n];
if (minCredits == 0) minCredits = defaultMinCreditsOnBet;
if (bet < minCredits) throw;
// bet in wei
bet = currentMaxBet*bet/256;
if (bet > currentMaxBet) throw;
return bet;
}
function getBetValueByGamble(Gamble gamble, uint8 n) private constant returns (uint256)
{
if (n<=32) return getBetValue(gamble.values, n);
if (n<=64) return getBetValue(gamble.values2, n-32);
// there are 64 maximum unique bets (positions) in one game
throw;
}
function totalGames() constant returns (uint256)
{
return gambles.length;
}
function getSettings() constant returns(uint256 maxBet, uint256 oneCredit, uint8 MinBetInCredits, uint8 MinBetInCredits_50,uint8 MinBetInCredits_33, uint8 blockDelayBeforeSpin, bool contractState)
{
maxBet=currentMaxBet;
oneCredit=currentMaxBet / 256;
blockDelayBeforeSpin=BlockDelay;
MinBetInCredits = defaultMinCreditsOnBet;
MinBetInCredits_50 = minCreditsOnBet[uint8(BetTypes.low)];
MinBetInCredits_33 = minCreditsOnBet[uint8(BetTypes.column1)];
contractState = ContractState;
return;
}
modifier onlyDeveloper()
{
if (msg.sender != developer) throw;
_;
}
modifier onlyDeveloperOrOperator()
{
if (msg.sender != developer && msg.sender != operator) throw;
_;
}
function disableBetting_only_Dev()
onlyDeveloperOrOperator
{
ContractState=false;
}
function changeOperator(address newOperator) onlyDeveloper
{
operator = newOperator;
}
function enableBetting_only_Dev()
onlyDeveloperOrOperator
{
ContractState=true;
}
event PlayerBet(address player, uint256 block, uint256 gambleId);
event EndGame(address player, uint8 result, uint256 gambleId);
event SettingsChanged(uint256 maxBet, uint256 oneCredit, uint8 DefaultMinBetInCredits, uint8 MinBetInCredits50, uint8 MinBetInCredits33, uint8 blockDelayBeforeSpin, bool contractState);
event ErrorLog(address player, string message);
function totalBetValue(Gamble g) private constant returns (uint256)
{
uint256 totalBetsValue = 0;
uint8 nPlayerBetNo = 0;
for(uint8 i=0; i < maxTypeBets;i++)
if (isBitSet(g.bets, i))
{
totalBetsValue += getBetValueByGamble(g, nPlayerBetNo+1);
nPlayerBetNo++;
}
return totalBetsValue;
}
function totalBetCount(Gamble g) private constant returns (uint256)
{
uint256 totalBets = 0;
for(uint8 i=0; i < maxTypeBets;i++)
if (isBitSet(g.bets, i)) totalBets++;
return totalBets;
}
function placeBet(uint256 bets, bytes32 values1,bytes32 values2) payable
{
if (ContractState == false)
{
ErrorLog(msg.sender, "ContractDisabled");
if (msg.sender.send(msg.value) == false) throw;
return;
}
if (nbBetsCurrentBlock >= maxBetsPerBlock)
{
ErrorLog(msg.sender, "checkNbBetsCurrentBlock");
if (msg.sender.send(msg.value) == false) throw;
return;
}
if (msg.value < currentMaxBet/256 || bets == 0)
{
ErrorLog(msg.sender, "Wrong bet value");
if (msg.sender.send(msg.value) == false) throw;
return;
}
if (msg.value > currentMaxBet)
{
ErrorLog(msg.sender, "Limit for table");
if (msg.sender.send(msg.value) == false) throw;
return;
}
Gamble memory g = Gamble(msg.sender, block.number, 0, 37, bets, values1,values2);
if (totalBetValue(g) != msg.value)
{
ErrorLog(msg.sender, "Wrong bet value");
if (msg.sender.send(msg.value) == false) throw;
return;
}
uint64 index = gambleIndex[msg.sender];
if (index != 0)
{
if (gambles[index-1].wheelResult == 37)
{
ErrorLog(msg.sender, "previous game is not finished");
if (msg.sender.send(msg.value) == false) throw;
return;
}
}
if (gambles.length != 0 && block.number==gambles[gambles.length-1].blockNumber)
nbBetsCurrentBlock++;
else
nbBetsCurrentBlock = 0;
// gambleIndex is index of gambles array + 1
gambleIndex[msg.sender] = uint64(gambles.length + 1);
gambles.push(g);
PlayerBet(msg.sender, block.number, gambles.length - 1);
}
function Invest() payable
{
updateMaxBet();
}
function SpinTheWheel(address playerSpinned)
{
if (playerSpinned==0){
playerSpinned=msg.sender;
}
uint64 index = gambleIndex[playerSpinned];
if (index == 0)
{
ErrorLog(playerSpinned, "No games for player");
return;
}
index--;
if (gambles[index].wheelResult != 37)
{
ErrorLog(playerSpinned, "Gamble already spinned");
return;
}
uint256 playerblock = gambles[index].blockNumber;
if (block.number <= playerblock + BlockDelay)
{
ErrorLog(msg.sender, "Wait for playerblock+blockDelay");
return;
}
gambles[index].wheelResult = getRandomNumber(gambles[index].player, playerblock);
gambles[index].blockSpinned = block.number;
if (gambles[index].player.send(getGameResult(index)) == false) throw;
EndGame(gambles[index].player, gambles[index].wheelResult, index);
}
function getRandomNumber(address player, uint256 playerblock) private returns(uint8 wheelResult)
{
// block.blockhash - hash of the given block - only works for 256 most recent blocks excluding current
bytes32 blockHash = block.blockhash(playerblock+BlockDelay);
if (blockHash==0)
{
ErrorLog(msg.sender, "Cannot generate random number");
wheelResult = 200;
}
else
{
bytes32 shaPlayer = sha3(player, blockHash);
wheelResult = uint8(uint256(shaPlayer)%37);
}
}
function calculateRandomNumberByBlockhash(uint256 blockHash, address player) public constant returns (uint8 wheelResult)
{
bytes32 shaPlayer = sha3(player, blockHash);
wheelResult = uint8(uint256(shaPlayer)%37);
}
function emergencyFixGameResult(uint64 gambleId, uint256 blockHash) onlyDeveloperOrOperator
{
// Probably this function will never be called, but
// if game was not spinned in 256 blocks then block.blockhash will returns always 0 and
// we should fix this manually (you can check result with public function calculateRandomNumberByBlockhash)
Gamble memory gamble = gambles[gambleId];
if (gamble.wheelResult != 200) throw;
gambles[gambleId].wheelResult = calculateRandomNumberByBlockhash(blockHash, gamble.player);
gambles[gambleId].blockSpinned = block.number;
if (gamble.player.send(getGameResult(gambleId)) == false) throw;
EndGame(gamble.player, gamble.wheelResult, gambleId);
}
//
function checkGameResult(address playerSpinned) constant returns (uint64 gambleId, address player, uint256 blockNumber, uint256 blockSpinned, uint256 totalWin, uint8 wheelResult, uint256 bets, uint256 values1, uint256 values2, uint256 nTotalBetValue, uint256 nTotalBetCount)
{
if (playerSpinned==0){
playerSpinned=msg.sender;
}
uint64 index = gambleIndex[playerSpinned];
if (index == 0) throw;
index--;
uint256 playerblock = gambles[index].blockNumber;
if (block.number <= playerblock + BlockDelay) throw;
gambles[index].wheelResult = getRandomNumber(gambles[index].player, playerblock);
gambles[index].blockSpinned = block.number;
return getGame(index);
}
function getGameResult(uint64 index) private constant returns (uint256 totalWin)
{
Gamble memory game = gambles[index];
totalWin = 0;
uint8 nPlayerBetNo = 0;
for(uint8 i=0; i<maxTypeBets; i++)
{
if (isBitSet(game.bets, i))
{
var winMul = winMatrix.getCoeff(getIndex(i, game.wheelResult)); // get win coef
if (winMul > 0) winMul++; // + return player bet
totalWin += winMul * getBetValueByGamble(game, nPlayerBetNo+1);
nPlayerBetNo++;
}
}
if (totalWin == 0) totalWin = 1 wei; // 1 wei if lose
}
function getGame(uint64 index) constant returns (uint64 gambleId, address player, uint256 blockNumber, uint256 blockSpinned, uint256 totalWin, uint8 wheelResult, uint256 bets, uint256 values1, uint256 values2, uint256 nTotalBetValue, uint256 nTotalBetCount)
{
gambleId = index;
player = gambles[index].player;
totalWin = getGameResult(index);
blockNumber = gambles[index].blockNumber;
blockSpinned = gambles[index].blockSpinned;
wheelResult = gambles[index].wheelResult;
nTotalBetValue = totalBetValue(gambles[index]);
nTotalBetCount = totalBetCount(gambles[index]);
bets = gambles[index].bets;
values1 = uint256(gambles[index].values);
values2 = uint256(gambles[index].values2);
}
function()
{
throw;
}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"constant":false,"inputs":[{"name":"newOperator","type":"address"}],"name":"changeOperator","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"gambleId","type":"uint64"},{"name":"blockHash","type":"uint256"}],"name":"emergencyFixGameResult","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"bets","type":"uint256"},{"name":"values1","type":"bytes32"},{"name":"values2","type":"bytes32"}],"name":"placeBet","outputs":[],"payable":true,"type":"function"},{"constant":true,"inputs":[],"name":"totalGames","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"index","type":"uint64"}],"name":"getGame","outputs":[{"name":"gambleId","type":"uint64"},{"name":"player","type":"address"},{"name":"blockNumber","type":"uint256"},{"name":"blockSpinned","type":"uint256"},{"name":"totalWin","type":"uint256"},{"name":"wheelResult","type":"uint8"},{"name":"bets","type":"uint256"},{"name":"values1","type":"uint256"},{"name":"values2","type":"uint256"},{"name":"nTotalBetValue","type":"uint256"},{"name":"nTotalBetCount","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[],"name":"disableBetting_only_Dev","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[],"name":"deleteContract","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[],"name":"enableBetting_only_Dev","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"getSettings","outputs":[{"name":"maxBet","type":"uint256"},{"name":"oneCredit","type":"uint256"},{"name":"MinBetInCredits","type":"uint8"},{"name":"MinBetInCredits_50","type":"uint8"},{"name":"MinBetInCredits_33","type":"uint8"},{"name":"blockDelayBeforeSpin","type":"uint8"},{"name":"contractState","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"blockHash","type":"uint256"},{"name":"player","type":"address"}],"name":"calculateRandomNumberByBlockhash","outputs":[{"name":"wheelResult","type":"uint8"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"playerSpinned","type":"address"}],"name":"checkGameResult","outputs":[{"name":"gambleId","type":"uint64"},{"name":"player","type":"address"},{"name":"blockNumber","type":"uint256"},{"name":"blockSpinned","type":"uint256"},{"name":"totalWin","type":"uint256"},{"name":"wheelResult","type":"uint8"},{"name":"bets","type":"uint256"},{"name":"values1","type":"uint256"},{"name":"values2","type":"uint256"},{"name":"nTotalBetValue","type":"uint256"},{"name":"nTotalBetCount","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[],"name":"Invest","outputs":[],"payable":true,"type":"function"},{"constant":false,"inputs":[{"name":"NewSmartRouletteLimit","type":"uint256"},{"name":"NewMaxBetsPerBlock","type":"uint64"},{"name":"NewBlockDelay","type":"uint8"},{"name":"MinCreditsOnBet50","type":"uint8"},{"name":"MinCreditsOnBet33","type":"uint8"},{"name":"NewDefaultMinCreditsOnBet","type":"uint8"}],"name":"changeSettings","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"playerSpinned","type":"address"}],"name":"SpinTheWheel","outputs":[],"payable":false,"type":"function"},{"inputs":[],"payable":false,"type":"constructor"},{"payable":false,"type":"fallback"},{"anonymous":false,"inputs":[{"indexed":false,"name":"player","type":"address"},{"indexed":false,"name":"block","type":"uint256"},{"indexed":false,"name":"gambleId","type":"uint256"}],"name":"PlayerBet","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"player","type":"address"},{"indexed":false,"name":"result","type":"uint8"},{"indexed":false,"name":"gambleId","type":"uint256"}],"name":"EndGame","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"maxBet","type":"uint256"},{"indexed":false,"name":"oneCredit","type":"uint256"},{"indexed":false,"name":"DefaultMinBetInCredits","type":"uint8"},{"indexed":false,"name":"MinBetInCredits50","type":"uint8"},{"indexed":false,"name":"MinBetInCredits33","type":"uint8"},{"indexed":false,"name":"blockDelayBeforeSpin","type":"uint8"},{"indexed":false,"name":"contractState","type":"bool"}],"name":"SettingsChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"player","type":"address"},{"indexed":false,"name":"message","type":"string"}],"name":"ErrorLog","type":"event"}]Contract Creation Code
6060604052600160055534610000575b60008054600160a060020a03338116600160a060020a03199283168117845560018054841690911790556004805490921673da16251b2977f86cb8d4c3318e9c6f92d7fc1a8f1780835560408051602090810186905281517f9eb9dd3b0000000000000000000000000000000000000000000000000000000081529151609d969390941694639eb9dd3b9483820194929390929083900390910190829087803b156100005760325a03f1156100005750506040515161ffff169190911490506100d757610000565b6001805460a060020a60ff02191674010000000000000000000000000000000000000000178155600380546007805460ff1916909317909255608060020a60ff02196001604060020a0319909216600517919091167001000000000000000000000000000000001790555b5b611e49806101526000396000f300606060405236156100b45763ffffffff60e060020a60003504166306394c9b81146100c65780630f590c36146100e1578063257bcd6a146100ff5780632c4e591b146101125780634904190314610131578063580bdf3c146101b45780635a58cd4c146101c3578063750cae6a146101d257806385b4bb53146101e15780638f4fb95814610230578063b0a9c7f414610262578063c0819961146102e5578063ddf4a032146102ef578063face030b14610325575b34610000576100c45b610000565b565b005b34610000576100c4600160a060020a0360043516610340565b005b34610000576100c46001604060020a036004351660243561037b565b005b6100c4600435602435604435610593565b005b346100005761011f610c6c565b60408051918252519081900360200190f35b346100005761014a6001604060020a0360043516610c73565b604080516001604060020a03909c168c52600160a060020a03909a1660208c01528a8a019890985260608a0196909652608089019490945260ff90921660a088015260c087015260e086015261010085015261012084015261014083015251908190036101600190f35b34610000576100c4610f07565b005b34610000576100c4610f5d565b005b34610000576100c4610f87565b005b34610000576101ee610fe3565b60408051978852602088019690965260ff948516878701529284166060870152908316608086015290911660a0840152151560c0830152519081900360e00190f35b346100005761024c600435600160a060020a036024351661106e565b6040805160ff9092168252519081900360200190f35b346100005761014a600160a060020a03600435166110b0565b604080516001604060020a03909c168c52600160a060020a03909a1660208c01528a8a019890985260608a0196909652608089019490945260ff90921660a088015260c087015260e086015261010085015261012084015261014083015251908190036101600190f35b6100c461122c565b005b34610000576100c46004356001604060020a036024351660ff60443581169060643581169060843581169060a43516611237565b005b34610000576100c4600160a060020a0360043516611514565b005b60005433600160a060020a0390811691161461035b57610000565b60018054600160a060020a031916600160a060020a0383161790555b5b50565b6040805160e081018252600080825260208201819052918101829052606081018290526080810182905260a0810182905260c08101829052905433600160a060020a039081169116148015906103e0575060015433600160a060020a03908116911614155b156103ea57610000565b6009836001604060020a0316815481101561000057906000526020600020906007020160005b506040805160e0810182528254600160a060020a0316815260018301546020820152600283015491810191909152600382015460ff166060820181905260048301546080830152600583015460a083015260069092015460c0820152915060c81461047a57610000565b61048882826000015161106e565b6009846001604060020a0316815481101561000057906000526020600020906007020160005b5060030160006101000a81548160ff021916908360ff160217905550436009846001604060020a0316815481101561000057906000526020600020906007020160005b50600201558051600160a060020a03166108fc61050d856118c0565b6040518115909202916000818181858888f1151593506105309250505057610000565b805160608083015160408051600160a060020a03909416845260ff90911660208401526001604060020a03861683820152517f38a332eb3aa0f3c1f4139e60234dbd0ad329da0a423413df4ca5936f2f733d819281900390910190a15b5b505050565b6040805160e081018252600080825260208201819052918101829052606081018290526080810182905260a0810182905260c08101829052600354909190608060020a900460ff1615156106735760408051600160a060020a0333168152602081018290526010818301527f436f6e747261637444697361626c65640000000000000000000000000000000060608201529051600080516020611dfe8339815191529181900360800190a1604051600160a060020a033316903480156108fc02916000818181858888f11515935061066e9250505057610000565b610c65565b6003546001604060020a038082166801000000000000000090920416106107265760408051600160a060020a0333168152602081018290526017818301527f636865636b4e624265747343757272656e74426c6f636b00000000000000000060608201529051600080516020611dfe8339815191529181900360800190a1604051600160a060020a033316903480156108fc02916000818181858888f11515935061066e9250505057610000565b610c65565b6002546101009004341080610739575084155b156107d05760408051600160a060020a033316815260208101829052600f818301527f57726f6e67206265742076616c7565000000000000000000000000000000000060608201529051600080516020611dfe8339815191529181900360800190a1604051600160a060020a033316903480156108fc02916000818181858888f11515935061066e9250505057610000565b610c65565b60025434111561086c5760408051600160a060020a033316815260208101829052600f818301527f4c696d697420666f72207461626c65000000000000000000000000000000000060608201529051600080516020611dfe8339815191529181900360800190a1604051600160a060020a033316903480156108fc02916000818181858888f11515935061066e9250505057610000565b610c65565b6040805160e081018252600160a060020a0333168152436020820152600091810191909152602560608201526080810186905260a0810185905260c081018490529150346108b983611a76565b146109505760408051600160a060020a033316815260208101829052600f818301527f57726f6e67206265742076616c7565000000000000000000000000000000000060608201529051600080516020611dfe8339815191529181900360800190a1604051600160a060020a033316903480156108fc02916000818181858888f11515935061066e9250505057610000565b610c65565b50600160a060020a0333166000908152600660205260409020546001604060020a03168015610a44576009600182036001604060020a0316815481101561000057906000526020600020906007020160005b506003015460ff1660251415610a445760408051600160a060020a033316815260208101829052601d818301527f70726576696f75732067616d65206973206e6f742066696e697368656400000060608201529051600080516020611dfe8339815191529181900360800190a1604051600160a060020a033316903480156108fc02916000818181858888f11515935061066e9250505057610000565b610c65565b5b60095415801590610a7b57506009805460001981019081101561000057906000526020600020906007020160005b506001015443145b15610ac0576003805460016001604060020a036801000000000000000080840482169290920116026fffffffffffffffff000000000000000019909116179055610ada565b600380546fffffffffffffffff0000000000000000191690555b6009805433600160a060020a03166000908152600660205260409020805467ffffffffffffffff191660019283016001604060020a031617905581549081018083558281838015829011610b9457600702816007028360005260206000209182019101610b9491905b80821115610b90578054600160a060020a03191681556000600182018190556002820181905560038201805460ff1916905560048201819055600582018190556006820155600701610b43565b5090565b5b505050916000526020600020906007020160005b5083518154600160a060020a031916600160a060020a039182161782556020808601516001840155604080870151600285015560608088015160038601805460ff191660ff9092169190911790556080880151600486015560a0880151600586015560c0880151600690950194909455600954815133909416845243928401929092526000199190910182820152517f0486532715894d085ec2fbcba5a513303db444fc06da3b80e385c931d335a2cc93509081900390910190a15b5050505050565b6009545b90565b600060006000600060006000600060006000600060008b9a5060098c6001604060020a0316815481101561000057906000526020600020906007020160005b5054600160a060020a03169950610cc88c6118c0565b965060098c6001604060020a0316815481101561000057906000526020600020906007020160005b5060010154985060098c6001604060020a0316815481101561000057906000526020600020906007020160005b5060020154975060098c6001604060020a0316815481101561000057906000526020600020906007020160005b50600301546009805460ff9092169750610de0916001604060020a038f169081101561000057906000526020600020906007020160005b506040805160e0810182528254600160a060020a0316815260018301546020820152600283015491810191909152600382015460ff16606082015260048201546080820152600582015460a082015260069091015460c0820152611a76565b9150610e6a60098d6001604060020a0316815481101561000057906000526020600020906007020160005b506040805160e0810182528254600160a060020a0316815260018301546020820152600283015491810191909152600382015460ff16606082015260048201546080820152600582015460a082015260069091015460c0820152611ac8565b905060098c6001604060020a0316815481101561000057906000526020600020906007020160005b5060040154945060098c6001604060020a0316815481101561000057906000526020600020906007020160005b506005015460019004935060098c6001604060020a0316815481101561000057906000526020600020906007020160005b506006015492505b91939597999b90929496989a50565b60005433600160a060020a03908116911614801590610f35575060015433600160a060020a03908116911614155b15610f3f57610000565b6003805470ff00000000000000000000000000000000191690555b5b565b60005433600160a060020a03908116911614610f7857610000565b33600160a060020a0316ff5b5b565b60005433600160a060020a03908116911614801590610fb5575060015433600160a060020a03908116911614155b15610fbf57610000565b6003805470ff000000000000000000000000000000001916608060020a1790555b5b565b60025460015460075460086020527fff559ec5158295435844afec914afeb1df8d392c7765c86f82ec2a9eecc0f86b54602c6000527f3b2456039c0b8758140b368d2ff620ae66d6b41a3f29b3bdacfd50b6679063e55460035461010086049460ff94851694938416939283169260a060020a909104811691608060020a9004165b90919293949596565b604080516c01000000000000000000000000600160a060020a0384160281526014810184905290519081900360340190206000906025810691505b5092915050565b6000808080808080808080808080600160a060020a038e1615156110d257339d505b600160a060020a038e166000908152600660205260409020546001604060020a0316915081151561110257610000565b60098054600019909301926001604060020a0384169081101561000057906000526020600020906007020160005b50600190810154905490915060a060020a900460ff168101431161115357610000565b61118d6009836001604060020a0316815481101561000057906000526020600020906007020160005b5054600160a060020a031682611b07565b6009836001604060020a0316815481101561000057906000526020600020906007020160005b5060030160006101000a81548160ff021916908360ff160217905550436009836001604060020a0316815481101561000057906000526020600020906007020160005b506002015561120482610c73565b9c509c509c509c509c509c509c509c509c509c509c505b505091939597999b90929496989a50565b6100c2611bca565b5b565b60005433600160a060020a0390811691161461125257610000565b60008611156112615760058690555b6001805474ff0000000000000000000000000000000000000000191660a060020a60ff8716021790556001604060020a038516156112b6576003805467ffffffffffffffff19166001604060020a0387161790555b60008360ff1611156113ce5760086020527fff559ec5158295435844afec914afeb1df8d392c7765c86f82ec2a9eecc0f86b805460ff851660ff1991821681179092557f7cf1cc524b715ad548d0485e8606a8c7a9dfe765f8371dd4dc4c0202bd4f80fc80548216831790557f17f1810df920a4f680118eb2468bb6a56835df8674420d25de4177ac242f7e9b80548216831790557fcc4f30daeedebc51828483bc3edccbe4d2d0d49529284852add6a9f63fd71a8580548216831790557f3e6a6cd391bc0a3db861c80bb76944d46c7f5cace8846dd46ea93cd1ca016664805482168317905560286000527fd63fbe8d364aab57a8c3f248b48b9a682e3e21a63dbb1e9e38c0d926ff759393805490911690911790555b60008260ff1611156114e65760086020527f9ebbedd21d3a7bb5b6ced2a77418fa80fa63d3e53b89c5e1b22434168a79ce8a805460ff841660ff1991821681179092557f99f6c95adcf20f5130d8bda7b0b3d7915feb3fdc124b41e1804d6e90c805b29c80548216831790557f898785b36944e5ac6e3613998a5a0ffd4c1f320c59be1919954c18089a19ba5180548216831790557f3b2456039c0b8758140b368d2ff620ae66d6b41a3f29b3bdacfd50b6679063e580548216831790557f943980877aceca68b1186fd688b498643cf3760d8408c224c2da1a5d000954978054821683179055602e6000527f81904a45723b495c7732c6fd9426c7db6948bc920e8406598d764493c06c0712805490911690911790555b60008160ff161115611502576007805460ff191660ff83161790555b61150a611bca565b5b5b505050505050565b600080600160a060020a038316151561152b573392505b600160a060020a0383166000908152600660205260409020546001604060020a031691508115156115b85760408051600160a060020a0385168152602081018290526013818301527f4e6f2067616d657320666f7220706c617965720000000000000000000000000060608201529051600080516020611dfe8339815191529181900360800190a161058d565b60098054600019909301926001604060020a0384169081101561000057906000526020600020906007020160005b506003015460ff166025146116575760408051600160a060020a0385168152602081018290526016818301527f47616d626c6520616c7265616479207370696e6e65640000000000000000000060608201529051600080516020611dfe8339815191529181900360800190a161058d565b6009826001604060020a0316815481101561000057906000526020600020906007020160005b50600190810154905490915060a060020a900460ff16810143116116fd5760408051600160a060020a033316815260208101829052601f818301527f5761697420666f7220706c61796572626c6f636b2b626c6f636b44656c61790060608201529051600080516020611dfe8339815191529181900360800190a161058d565b6117376009836001604060020a0316815481101561000057906000526020600020906007020160005b5054600160a060020a031682611b07565b6009836001604060020a0316815481101561000057906000526020600020906007020160005b5060030160006101000a81548160ff021916908360ff160217905550436009836001604060020a0316815481101561000057906000526020600020906007020160005b5060020155600980546001604060020a0384169081101561000057906000526020600020906007020160005b5054600160a060020a03166108fc6117e3846118c0565b6040518115909202916000818181858888f1151593506118069250505057610000565b7f38a332eb3aa0f3c1f4139e60234dbd0ad329da0a423413df4ca5936f2f733d816009836001604060020a0316815481101561000057906000526020600020906007020160005b505460098054600160a060020a03909216916001604060020a0386169081101561000057906000526020600020906007020160005b506003015460408051600160a060020a03909316835260ff90911660208301526001604060020a03851682820152519081900360600190a15b505050565b6040805160e081018252600080825260208201819052918101829052606081018290526080810182905260a0810182905260c0810182905260098054839182918291906001604060020a0388169081101561000057906000526020600020906007020160005b506040805160e0810182528254600160a060020a0316815260018301546020820152600283015491810191909152600382015460ff16606082015260048201546080820152600582015460a082015260069091015460c08201526000955093508492508291505b609d60ff83161015611a60576119a7846080015183611cfd565b15611a54576004546060850151600160a060020a03909116906303ee8f08906119d69060ff8087169116611d0d565b6000604051602001526040518263ffffffff1660e060020a028152600401808261ffff1661ffff168152602001915050602060405180830381600087803b156100005760325a03f115610000575050604051519150506000811115611a39576001015b611a468484600101611d25565b810294909401936001909201915b5b60019091019061198d565b841515611a6c57600194505b5b50505050919050565b60008080805b609d60ff82161015611abc57611a96856080015182611cfd565b15611ab357611aa88583600101611d25565b909201916001909101905b5b600101611a7c565b8293505b505050919050565b600080805b609d60ff82161015611afc57611ae7846080015182611cfd565b15611af3576001909101905b5b600101611acd565b8192505b5050919050565b60015460009060a060020a900460ff1682014081811515611b885760408051600160a060020a033316815260208101829052601d818301527f43616e6e6f742067656e65726174652072616e646f6d206e756d62657200000060608201529051600080516020611dfe8339815191529181900360800190a160c89250611bc1565b50604080516c01000000000000000000000000600160a060020a0387160281526014810183905290519081900360340190206025810692505b5b505092915050565b6000805433600160a060020a03908116911614611be657610000565b60055460230230600160a060020a031631811561000057049050672386f26fc10000008104672386f26fc100000002905060025481141515610377576002819055600754600860209081527fff559ec5158295435844afec914afeb1df8d392c7765c86f82ec2a9eecc0f86b5460296000527f9ebbedd21d3a7bb5b6ced2a77418fa80fa63d3e53b89c5e1b22434168a79ce8a546001546003546040805188815261010089049681019690965260ff968716868201529386166060860152918516608085015260a060020a9004841660a0840152608060020a9004909216151560c082015290517f76992d7ca4d509143d9523b1e6966a5905e5e7536ecc96927552075cd89ee6099181900360e00190a15b5b5b50565b600281900a821615155b92915050565b60008160010183600101610100020190505b92915050565b6000602060ff831611611d4757611d408360a0015183611d75565b9050611d07565b604060ff8316116100bd57611d408360c0015160208403611d75565b9050611d07565b610000565b92915050565b600060006000848460200360ff1660208110156100005760ff86811660009081526008602052604090205460f860020a9390921a8302929092046001019350169050801515611dc6575060075460ff165b8060ff16821015611dd657610000565b600254610100908302049150600254821115611df157610000565b8192505b50509291505056003811264a3dc641fd8e586a867055d4058a1592a7d5d8c41027c42b03a762c7eba165627a7a723058201040d0d5139e30e8fbe4e675dc9dc0434ebb4659926cec4db7da43f81a0935ef0029
Deployed Bytecode
0x606060405236156100b45763ffffffff60e060020a60003504166306394c9b81146100c65780630f590c36146100e1578063257bcd6a146100ff5780632c4e591b146101125780634904190314610131578063580bdf3c146101b45780635a58cd4c146101c3578063750cae6a146101d257806385b4bb53146101e15780638f4fb95814610230578063b0a9c7f414610262578063c0819961146102e5578063ddf4a032146102ef578063face030b14610325575b34610000576100c45b610000565b565b005b34610000576100c4600160a060020a0360043516610340565b005b34610000576100c46001604060020a036004351660243561037b565b005b6100c4600435602435604435610593565b005b346100005761011f610c6c565b60408051918252519081900360200190f35b346100005761014a6001604060020a0360043516610c73565b604080516001604060020a03909c168c52600160a060020a03909a1660208c01528a8a019890985260608a0196909652608089019490945260ff90921660a088015260c087015260e086015261010085015261012084015261014083015251908190036101600190f35b34610000576100c4610f07565b005b34610000576100c4610f5d565b005b34610000576100c4610f87565b005b34610000576101ee610fe3565b60408051978852602088019690965260ff948516878701529284166060870152908316608086015290911660a0840152151560c0830152519081900360e00190f35b346100005761024c600435600160a060020a036024351661106e565b6040805160ff9092168252519081900360200190f35b346100005761014a600160a060020a03600435166110b0565b604080516001604060020a03909c168c52600160a060020a03909a1660208c01528a8a019890985260608a0196909652608089019490945260ff90921660a088015260c087015260e086015261010085015261012084015261014083015251908190036101600190f35b6100c461122c565b005b34610000576100c46004356001604060020a036024351660ff60443581169060643581169060843581169060a43516611237565b005b34610000576100c4600160a060020a0360043516611514565b005b60005433600160a060020a0390811691161461035b57610000565b60018054600160a060020a031916600160a060020a0383161790555b5b50565b6040805160e081018252600080825260208201819052918101829052606081018290526080810182905260a0810182905260c08101829052905433600160a060020a039081169116148015906103e0575060015433600160a060020a03908116911614155b156103ea57610000565b6009836001604060020a0316815481101561000057906000526020600020906007020160005b506040805160e0810182528254600160a060020a0316815260018301546020820152600283015491810191909152600382015460ff166060820181905260048301546080830152600583015460a083015260069092015460c0820152915060c81461047a57610000565b61048882826000015161106e565b6009846001604060020a0316815481101561000057906000526020600020906007020160005b5060030160006101000a81548160ff021916908360ff160217905550436009846001604060020a0316815481101561000057906000526020600020906007020160005b50600201558051600160a060020a03166108fc61050d856118c0565b6040518115909202916000818181858888f1151593506105309250505057610000565b805160608083015160408051600160a060020a03909416845260ff90911660208401526001604060020a03861683820152517f38a332eb3aa0f3c1f4139e60234dbd0ad329da0a423413df4ca5936f2f733d819281900390910190a15b5b505050565b6040805160e081018252600080825260208201819052918101829052606081018290526080810182905260a0810182905260c08101829052600354909190608060020a900460ff1615156106735760408051600160a060020a0333168152602081018290526010818301527f436f6e747261637444697361626c65640000000000000000000000000000000060608201529051600080516020611dfe8339815191529181900360800190a1604051600160a060020a033316903480156108fc02916000818181858888f11515935061066e9250505057610000565b610c65565b6003546001604060020a038082166801000000000000000090920416106107265760408051600160a060020a0333168152602081018290526017818301527f636865636b4e624265747343757272656e74426c6f636b00000000000000000060608201529051600080516020611dfe8339815191529181900360800190a1604051600160a060020a033316903480156108fc02916000818181858888f11515935061066e9250505057610000565b610c65565b6002546101009004341080610739575084155b156107d05760408051600160a060020a033316815260208101829052600f818301527f57726f6e67206265742076616c7565000000000000000000000000000000000060608201529051600080516020611dfe8339815191529181900360800190a1604051600160a060020a033316903480156108fc02916000818181858888f11515935061066e9250505057610000565b610c65565b60025434111561086c5760408051600160a060020a033316815260208101829052600f818301527f4c696d697420666f72207461626c65000000000000000000000000000000000060608201529051600080516020611dfe8339815191529181900360800190a1604051600160a060020a033316903480156108fc02916000818181858888f11515935061066e9250505057610000565b610c65565b6040805160e081018252600160a060020a0333168152436020820152600091810191909152602560608201526080810186905260a0810185905260c081018490529150346108b983611a76565b146109505760408051600160a060020a033316815260208101829052600f818301527f57726f6e67206265742076616c7565000000000000000000000000000000000060608201529051600080516020611dfe8339815191529181900360800190a1604051600160a060020a033316903480156108fc02916000818181858888f11515935061066e9250505057610000565b610c65565b50600160a060020a0333166000908152600660205260409020546001604060020a03168015610a44576009600182036001604060020a0316815481101561000057906000526020600020906007020160005b506003015460ff1660251415610a445760408051600160a060020a033316815260208101829052601d818301527f70726576696f75732067616d65206973206e6f742066696e697368656400000060608201529051600080516020611dfe8339815191529181900360800190a1604051600160a060020a033316903480156108fc02916000818181858888f11515935061066e9250505057610000565b610c65565b5b60095415801590610a7b57506009805460001981019081101561000057906000526020600020906007020160005b506001015443145b15610ac0576003805460016001604060020a036801000000000000000080840482169290920116026fffffffffffffffff000000000000000019909116179055610ada565b600380546fffffffffffffffff0000000000000000191690555b6009805433600160a060020a03166000908152600660205260409020805467ffffffffffffffff191660019283016001604060020a031617905581549081018083558281838015829011610b9457600702816007028360005260206000209182019101610b9491905b80821115610b90578054600160a060020a03191681556000600182018190556002820181905560038201805460ff1916905560048201819055600582018190556006820155600701610b43565b5090565b5b505050916000526020600020906007020160005b5083518154600160a060020a031916600160a060020a039182161782556020808601516001840155604080870151600285015560608088015160038601805460ff191660ff9092169190911790556080880151600486015560a0880151600586015560c0880151600690950194909455600954815133909416845243928401929092526000199190910182820152517f0486532715894d085ec2fbcba5a513303db444fc06da3b80e385c931d335a2cc93509081900390910190a15b5050505050565b6009545b90565b600060006000600060006000600060006000600060008b9a5060098c6001604060020a0316815481101561000057906000526020600020906007020160005b5054600160a060020a03169950610cc88c6118c0565b965060098c6001604060020a0316815481101561000057906000526020600020906007020160005b5060010154985060098c6001604060020a0316815481101561000057906000526020600020906007020160005b5060020154975060098c6001604060020a0316815481101561000057906000526020600020906007020160005b50600301546009805460ff9092169750610de0916001604060020a038f169081101561000057906000526020600020906007020160005b506040805160e0810182528254600160a060020a0316815260018301546020820152600283015491810191909152600382015460ff16606082015260048201546080820152600582015460a082015260069091015460c0820152611a76565b9150610e6a60098d6001604060020a0316815481101561000057906000526020600020906007020160005b506040805160e0810182528254600160a060020a0316815260018301546020820152600283015491810191909152600382015460ff16606082015260048201546080820152600582015460a082015260069091015460c0820152611ac8565b905060098c6001604060020a0316815481101561000057906000526020600020906007020160005b5060040154945060098c6001604060020a0316815481101561000057906000526020600020906007020160005b506005015460019004935060098c6001604060020a0316815481101561000057906000526020600020906007020160005b506006015492505b91939597999b90929496989a50565b60005433600160a060020a03908116911614801590610f35575060015433600160a060020a03908116911614155b15610f3f57610000565b6003805470ff00000000000000000000000000000000191690555b5b565b60005433600160a060020a03908116911614610f7857610000565b33600160a060020a0316ff5b5b565b60005433600160a060020a03908116911614801590610fb5575060015433600160a060020a03908116911614155b15610fbf57610000565b6003805470ff000000000000000000000000000000001916608060020a1790555b5b565b60025460015460075460086020527fff559ec5158295435844afec914afeb1df8d392c7765c86f82ec2a9eecc0f86b54602c6000527f3b2456039c0b8758140b368d2ff620ae66d6b41a3f29b3bdacfd50b6679063e55460035461010086049460ff94851694938416939283169260a060020a909104811691608060020a9004165b90919293949596565b604080516c01000000000000000000000000600160a060020a0384160281526014810184905290519081900360340190206000906025810691505b5092915050565b6000808080808080808080808080600160a060020a038e1615156110d257339d505b600160a060020a038e166000908152600660205260409020546001604060020a0316915081151561110257610000565b60098054600019909301926001604060020a0384169081101561000057906000526020600020906007020160005b50600190810154905490915060a060020a900460ff168101431161115357610000565b61118d6009836001604060020a0316815481101561000057906000526020600020906007020160005b5054600160a060020a031682611b07565b6009836001604060020a0316815481101561000057906000526020600020906007020160005b5060030160006101000a81548160ff021916908360ff160217905550436009836001604060020a0316815481101561000057906000526020600020906007020160005b506002015561120482610c73565b9c509c509c509c509c509c509c509c509c509c509c505b505091939597999b90929496989a50565b6100c2611bca565b5b565b60005433600160a060020a0390811691161461125257610000565b60008611156112615760058690555b6001805474ff0000000000000000000000000000000000000000191660a060020a60ff8716021790556001604060020a038516156112b6576003805467ffffffffffffffff19166001604060020a0387161790555b60008360ff1611156113ce5760086020527fff559ec5158295435844afec914afeb1df8d392c7765c86f82ec2a9eecc0f86b805460ff851660ff1991821681179092557f7cf1cc524b715ad548d0485e8606a8c7a9dfe765f8371dd4dc4c0202bd4f80fc80548216831790557f17f1810df920a4f680118eb2468bb6a56835df8674420d25de4177ac242f7e9b80548216831790557fcc4f30daeedebc51828483bc3edccbe4d2d0d49529284852add6a9f63fd71a8580548216831790557f3e6a6cd391bc0a3db861c80bb76944d46c7f5cace8846dd46ea93cd1ca016664805482168317905560286000527fd63fbe8d364aab57a8c3f248b48b9a682e3e21a63dbb1e9e38c0d926ff759393805490911690911790555b60008260ff1611156114e65760086020527f9ebbedd21d3a7bb5b6ced2a77418fa80fa63d3e53b89c5e1b22434168a79ce8a805460ff841660ff1991821681179092557f99f6c95adcf20f5130d8bda7b0b3d7915feb3fdc124b41e1804d6e90c805b29c80548216831790557f898785b36944e5ac6e3613998a5a0ffd4c1f320c59be1919954c18089a19ba5180548216831790557f3b2456039c0b8758140b368d2ff620ae66d6b41a3f29b3bdacfd50b6679063e580548216831790557f943980877aceca68b1186fd688b498643cf3760d8408c224c2da1a5d000954978054821683179055602e6000527f81904a45723b495c7732c6fd9426c7db6948bc920e8406598d764493c06c0712805490911690911790555b60008160ff161115611502576007805460ff191660ff83161790555b61150a611bca565b5b5b505050505050565b600080600160a060020a038316151561152b573392505b600160a060020a0383166000908152600660205260409020546001604060020a031691508115156115b85760408051600160a060020a0385168152602081018290526013818301527f4e6f2067616d657320666f7220706c617965720000000000000000000000000060608201529051600080516020611dfe8339815191529181900360800190a161058d565b60098054600019909301926001604060020a0384169081101561000057906000526020600020906007020160005b506003015460ff166025146116575760408051600160a060020a0385168152602081018290526016818301527f47616d626c6520616c7265616479207370696e6e65640000000000000000000060608201529051600080516020611dfe8339815191529181900360800190a161058d565b6009826001604060020a0316815481101561000057906000526020600020906007020160005b50600190810154905490915060a060020a900460ff16810143116116fd5760408051600160a060020a033316815260208101829052601f818301527f5761697420666f7220706c61796572626c6f636b2b626c6f636b44656c61790060608201529051600080516020611dfe8339815191529181900360800190a161058d565b6117376009836001604060020a0316815481101561000057906000526020600020906007020160005b5054600160a060020a031682611b07565b6009836001604060020a0316815481101561000057906000526020600020906007020160005b5060030160006101000a81548160ff021916908360ff160217905550436009836001604060020a0316815481101561000057906000526020600020906007020160005b5060020155600980546001604060020a0384169081101561000057906000526020600020906007020160005b5054600160a060020a03166108fc6117e3846118c0565b6040518115909202916000818181858888f1151593506118069250505057610000565b7f38a332eb3aa0f3c1f4139e60234dbd0ad329da0a423413df4ca5936f2f733d816009836001604060020a0316815481101561000057906000526020600020906007020160005b505460098054600160a060020a03909216916001604060020a0386169081101561000057906000526020600020906007020160005b506003015460408051600160a060020a03909316835260ff90911660208301526001604060020a03851682820152519081900360600190a15b505050565b6040805160e081018252600080825260208201819052918101829052606081018290526080810182905260a0810182905260c0810182905260098054839182918291906001604060020a0388169081101561000057906000526020600020906007020160005b506040805160e0810182528254600160a060020a0316815260018301546020820152600283015491810191909152600382015460ff16606082015260048201546080820152600582015460a082015260069091015460c08201526000955093508492508291505b609d60ff83161015611a60576119a7846080015183611cfd565b15611a54576004546060850151600160a060020a03909116906303ee8f08906119d69060ff8087169116611d0d565b6000604051602001526040518263ffffffff1660e060020a028152600401808261ffff1661ffff168152602001915050602060405180830381600087803b156100005760325a03f115610000575050604051519150506000811115611a39576001015b611a468484600101611d25565b810294909401936001909201915b5b60019091019061198d565b841515611a6c57600194505b5b50505050919050565b60008080805b609d60ff82161015611abc57611a96856080015182611cfd565b15611ab357611aa88583600101611d25565b909201916001909101905b5b600101611a7c565b8293505b505050919050565b600080805b609d60ff82161015611afc57611ae7846080015182611cfd565b15611af3576001909101905b5b600101611acd565b8192505b5050919050565b60015460009060a060020a900460ff1682014081811515611b885760408051600160a060020a033316815260208101829052601d818301527f43616e6e6f742067656e65726174652072616e646f6d206e756d62657200000060608201529051600080516020611dfe8339815191529181900360800190a160c89250611bc1565b50604080516c01000000000000000000000000600160a060020a0387160281526014810183905290519081900360340190206025810692505b5b505092915050565b6000805433600160a060020a03908116911614611be657610000565b60055460230230600160a060020a031631811561000057049050672386f26fc10000008104672386f26fc100000002905060025481141515610377576002819055600754600860209081527fff559ec5158295435844afec914afeb1df8d392c7765c86f82ec2a9eecc0f86b5460296000527f9ebbedd21d3a7bb5b6ced2a77418fa80fa63d3e53b89c5e1b22434168a79ce8a546001546003546040805188815261010089049681019690965260ff968716868201529386166060860152918516608085015260a060020a9004841660a0840152608060020a9004909216151560c082015290517f76992d7ca4d509143d9523b1e6966a5905e5e7536ecc96927552075cd89ee6099181900360e00190a15b5b5b50565b600281900a821615155b92915050565b60008160010183600101610100020190505b92915050565b6000602060ff831611611d4757611d408360a0015183611d75565b9050611d07565b604060ff8316116100bd57611d408360c0015160208403611d75565b9050611d07565b610000565b92915050565b600060006000848460200360ff1660208110156100005760ff86811660009081526008602052604090205460f860020a9390921a8302929092046001019350169050801515611dc6575060075460ff165b8060ff16821015611dd657610000565b600254610100908302049150600254821115611df157610000565b8192505b50509291505056003811264a3dc641fd8e586a867055d4058a1592a7d5d8c41027c42b03a762c7eba165627a7a723058201040d0d5139e30e8fbe4e675dc9dc0434ebb4659926cec4db7da43f81a0935ef0029
Swarm Source
bzzr://1040d0d5139e30e8fbe4e675dc9dc0434ebb4659926cec4db7da43f81a0935ef
Loading...
Loading
Loading...
Loading
Net Worth in USD
$0.00
Net Worth in ETH
0
Multichain Portfolio | 33 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|
Loading...
Loading
Loading...
Loading
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.