Feature Tip: Add private address tag to any address under My Name Tag !
Source Code
Latest 25 from a total of 1,145 transactions
| Transaction Hash |
Method
|
Block
|
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
| Create Winner | 9908586 | 2137 days ago | IN | 0 ETH | 0.00008944 | ||||
| Buy Again | 6937375 | 2621 days ago | IN | 0 ETH | 0.00019547 | ||||
| Withdraw | 6937357 | 2621 days ago | IN | 0 ETH | 0.00008763 | ||||
| Withdraw | 6715096 | 2658 days ago | IN | 0 ETH | 0.00048197 | ||||
| Withdraw | 6633299 | 2671 days ago | IN | 0 ETH | 0.00035052 | ||||
| Withdraw | 6633294 | 2671 days ago | IN | 0 ETH | 0.00035052 | ||||
| Withdraw | 6633286 | 2671 days ago | IN | 0 ETH | 0.00035052 | ||||
| Withdraw | 6633279 | 2671 days ago | IN | 0 ETH | 0.00035052 | ||||
| Withdraw | 6633273 | 2671 days ago | IN | 0 ETH | 0.00035052 | ||||
| Buy | 6603684 | 2676 days ago | IN | 0.0042 ETH | 0.00014809 | ||||
| Withdraw | 6598358 | 2677 days ago | IN | 0 ETH | 0.00013144 | ||||
| Withdraw | 6579151 | 2680 days ago | IN | 0 ETH | 0.0004031 | ||||
| Start Game | 6572568 | 2681 days ago | IN | 0 ETH | 0.0005453 | ||||
| Lottery | 6572444 | 2681 days ago | IN | 0 ETH | 0.00051053 | ||||
| Create Winner | 6572440 | 2681 days ago | IN | 0 ETH | 0.00048981 | ||||
| Buy | 6572427 | 2681 days ago | IN | 0.003768 ETH | 0.0010418 | ||||
| Buy | 6572286 | 2681 days ago | IN | 0.003768 ETH | 0.0005209 | ||||
| Buy | 6571779 | 2681 days ago | IN | 0.007536 ETH | 0.00055562 | ||||
| Buy | 6571732 | 2681 days ago | IN | 0.011304 ETH | 0.00097521 | ||||
| Withdraw | 6569815 | 2682 days ago | IN | 0 ETH | 0.00011849 | ||||
| Start Game | 6569490 | 2682 days ago | IN | 0 ETH | 0.00026726 | ||||
| Create Winner | 6569370 | 2682 days ago | IN | 0 ETH | 0.002 | ||||
| Start Game | 6566450 | 2682 days ago | IN | 0 ETH | 0.00038044 | ||||
| Lottery | 6566316 | 2682 days ago | IN | 0 ETH | 0.00048107 | ||||
| Create Winner | 6566312 | 2682 days ago | IN | 0 ETH | 0.00027864 |
Latest 25 internal transactions (View All)
Advanced mode:
| Parent Transaction Hash | Method | Block |
From
|
|
To
|
||
|---|---|---|---|---|---|---|---|
| - | 6937357 | 2621 days ago | 0.63318077 ETH | ||||
| Transfer | 6715096 | 2658 days ago | 0.02079409 ETH | ||||
| Transfer | 6633299 | 2671 days ago | 0.0077901 ETH | ||||
| Transfer | 6633294 | 2671 days ago | 0.00774214 ETH | ||||
| Transfer | 6633286 | 2671 days ago | 0.00774431 ETH | ||||
| Transfer | 6633279 | 2671 days ago | 0.0077901 ETH | ||||
| Transfer | 6633273 | 2671 days ago | 0.04383321 ETH | ||||
| Transfer | 6598358 | 2677 days ago | 0.01355904 ETH | ||||
| Transfer | 6579151 | 2680 days ago | 0.08736496 ETH | ||||
| Transfer | 6572444 | 2681 days ago | 0.0026376 ETH | ||||
| Transfer | 6572427 | 2681 days ago | 0.00039564 ETH | ||||
| Transfer | 6572427 | 2681 days ago | 0.00016956 ETH | ||||
| Transfer | 6572286 | 2681 days ago | 0.00039564 ETH | ||||
| Transfer | 6572286 | 2681 days ago | 0.00016956 ETH | ||||
| Transfer | 6571779 | 2681 days ago | 0.00079128 ETH | ||||
| Transfer | 6571779 | 2681 days ago | 0.00033912 ETH | ||||
| Transfer | 6571732 | 2681 days ago | 0.00118692 ETH | ||||
| Transfer | 6571732 | 2681 days ago | 0.00050868 ETH | ||||
| Transfer | 6566316 | 2682 days ago | 0.0003432 ETH | ||||
| Transfer | 6565963 | 2682 days ago | 0.00036036 ETH | ||||
| Transfer | 6565963 | 2682 days ago | 0.00015444 ETH | ||||
| Transfer | 6563238 | 2683 days ago | 0.0003192 ETH | ||||
| Transfer | 6560456 | 2683 days ago | 0.00033516 ETH | ||||
| Transfer | 6560456 | 2683 days ago | 0.00014364 ETH | ||||
| Transfer | 6544902 | 2686 days ago | 0.00057912 ETH |
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
This contract may be a proxy contract. Click on More Options and select Is this a proxy? to confirm and enable the "Read as Proxy" & "Write as Proxy" tabs.
Contract Name:
RobTheBank
Compiler Version
v0.4.23+commit.124ca40d
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/**
*Submitted for verification at Etherscan.io on 2018-08-31
*/
pragma solidity ^0.4.23;
/**
* @title SafeMath
* @dev Math operations with safety checks that throw on error
*/
library SafeMath {
/**
* @dev Multiplies two numbers, throws on overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns(uint256) {
if (a == 0) {
return 0;
}
uint256 c = a * b;
assert(c / a == b);
return c;
}
/**
* @dev Integer division of two numbers, truncating the quotient.
*/
function div(uint256 a, uint256 b) internal pure returns(uint256) {
assert(b > 0); // Solidity automatically throws when dividing by 0
uint256 c = a / b;
assert(a == b * c + a % b); // There is no case in which this doesn't hold
return c;
}
/**
* @dev Substracts two numbers, throws on overflow (i.e. if subtrahend is greater than minuend).
*/
function sub(uint256 a, uint256 b) internal pure returns(uint256) {
assert(b <= a);
return a - b;
}
/**
* @dev Adds two numbers, throws on overflow.
*/
function add(uint256 a, uint256 b) internal pure returns(uint256) {
uint256 c = a + b;
assert(c >= a);
return c;
}
/**
* @dev x to the power of y
*/
function pwr(uint256 x, uint256 y)
internal
pure
returns (uint256)
{
if (x==0)
return (0);
else if (y==0)
return (1);
else{
uint256 z = x;
for (uint256 i = 1; i < y; i++)
z = mul(z,x);
return (z);
}
}
}
interface shareProfit {
function increaseProfit() external payable returns(bool);
}
contract RobTheBank{
using SafeMath for uint256;
uint256 public constant BASE_PRICE = 0.003 ether;
address public owner;
address public service;
struct Big {
uint256 totalKey;
uint256 jackpotBalance;
uint256 KeyProfit;
mapping (address=>uint256) received;
address winner;
uint256 winnerProfit;
}
struct Small {
uint256 totalKey;
address winner;
uint256 startTime;
uint256 endTime;
uint256 winKey;
uint256 winnerProfit;
}
struct KeyPurchases {
KeyPurchase[] keysBought;
uint256 numPurchases;
}
struct KeyPurchase {
uint256 startId;
uint256 endId;
}
mapping (uint256=>Big) public bigRound;
mapping (uint256=>mapping (uint256=>Small)) public smallRound;
shareProfit public RTB1;
shareProfit public RTB2;
mapping (uint256=>mapping (uint256=>mapping (address=>uint256))) public userSmallRoundkey;
mapping (uint256=>mapping (address=>uint256)) public userBigRoundKey;
mapping (uint256=>mapping (uint256=>mapping (address=>KeyPurchases))) public userXkeyPurchases;
uint256 keysBought;
mapping (address=>uint256) public recommender;
mapping (address=>bool) public recommenderAllow;
uint256 public allowPrice;
uint256 devFee;
uint256 public smallId;
uint256 public bigId;
bool public isPaused = false;
event buyEvent(address indexed _buyer, uint256 _amount, uint256 _total, uint256 _bigRound, uint256 _smallRound, uint256 _startId, uint256 _endId, uint256 _index);
event lotteryEvent(address indexed _winner, uint256 _bigRound, uint256 _smallRound, uint256 _money, uint256 _type);
event withdrawEvent(address indexed _winner, uint256 _amount, uint256 _round);
event RecommenderAllow(address indexed _user, bool _status);
event createKey(uint256 _winkey, uint256 _bigRound, uint256 _smallRound);
modifier onlyOwner() {
require(msg.sender == owner, "only owner");
_;
}
modifier onlyService() {
require(msg.sender == service, "only service");
_;
}
modifier whenNotPaused() {
require(!isPaused, "is Paused");
_;
}
modifier isHuman() {
address _addr = msg.sender;
uint256 _codeLength;
assembly {_codeLength := extcodesize(_addr)}
require(_codeLength == 0, "sorry humans only");
_;
}
constructor (address _rtb1, address _rtb2) public {
owner = msg.sender;
service = msg.sender;
bigId = 1;
smallId = 1;
allowPrice = 0.01 ether;
RTB1 = shareProfit(_rtb1);
RTB2 = shareProfit(_rtb2);
}
function() external payable{
require(msg.value > 0);
bigRound[bigId].jackpotBalance = bigRound[bigId].jackpotBalance.add(msg.value);
}
///@dev Start new game
function startGame() public onlyOwner{
uint256 time = block.timestamp;
smallRound[bigId][smallId].startTime = time;
smallRound[bigId][smallId].endTime = time + 41400;
}
///@dev Buy key
function buy(uint256 _amount, address _invite) public isHuman whenNotPaused payable{
require(smallRound[bigId][smallId].startTime < block.timestamp, "The game has not started yet");
require(smallRound[bigId][smallId].endTime > block.timestamp, "The game is over");
uint256 _money = _amount.mul(getPrice());
require(_amount > 0 && _money > 0);
require(_money == msg.value, "The amount is incorrect");
if (_invite != address(0) && _invite != msg.sender && recommenderAllow[_invite] == true){
recommender[_invite] = _money.mul(10).div(100).add(recommender[_invite]);
_money = _money.mul(90).div(100);
}
_buy(_amount, _money);
}
///@dev Use vault
function buyAgain(uint256 _amount) public isHuman whenNotPaused {
require(smallRound[bigId][smallId].startTime < block.timestamp, "The game has not started yet");
require(smallRound[bigId][smallId].endTime > block.timestamp, "The game is over");
uint256 _money = _amount.mul(getPrice());
uint256 profit = getMyProfit(bigId);
require(_amount > 0 && _money > 0);
require(profit >= _money);
bigRound[bigId].received[msg.sender] = _money.add(bigRound[bigId].received[msg.sender]);
_buy(_amount, _money);
}
function _buy(uint256 _amount, uint256 _money) internal whenNotPaused{
//Number of record keys
userBigRoundKey[bigId][msg.sender] = userBigRoundKey[bigId][msg.sender].add(_amount);
userSmallRoundkey[bigId][smallId][msg.sender] = userSmallRoundkey[bigId][smallId][msg.sender].add(_amount);
//Record player's key
KeyPurchases storage purchases = userXkeyPurchases[bigId][smallId][msg.sender];
if (purchases.numPurchases == purchases.keysBought.length) {
purchases.keysBought.length += 1;
}
purchases.keysBought[purchases.numPurchases] = KeyPurchase(keysBought, keysBought + (_amount - 1)); // (eg: buy 10, get id's 0-9)
purchases.numPurchases++;
emit buyEvent(msg.sender, _amount, msg.value, bigId, smallId, keysBought, keysBought + (_amount - 1), purchases.numPurchases);
keysBought = keysBought.add(_amount);
//40% for all players
uint256 _playerFee = _money.mul(40).div(100);
if(bigRound[bigId].totalKey > 0){
bigRound[bigId].KeyProfit = _playerFee.div(bigRound[bigId].totalKey).add(bigRound[bigId].KeyProfit);
bigRound[bigId].received[msg.sender] = bigRound[bigId].KeyProfit.mul(_amount).add(bigRound[bigId].received[msg.sender]);
}else{
devFee = devFee.add(_playerFee);
}
//35% for jackpot
bigRound[bigId].jackpotBalance = _money.mul(35).div(100).add(bigRound[bigId].jackpotBalance);
//15% for RTB1 and RTB2
uint256 _shareFee = _money.mul(15).div(100);
RTB1.increaseProfit.value(_shareFee.mul(3).div(10))(); // 300/1000 = 30%
RTB2.increaseProfit.value(_shareFee.mul(7).div(10))(); // 700/1000 = 70%
//10% for winner
smallRound[bigId][smallId].winnerProfit = _money.mul(10).div(100).add(smallRound[bigId][smallId].winnerProfit);
bigRound[bigId].totalKey = bigRound[bigId].totalKey.add(_amount);
smallRound[bigId][smallId].totalKey = smallRound[bigId][smallId].totalKey.add(_amount);
}
///@dev Create a winner
function createWinner() public onlyService whenNotPaused{
require(smallRound[bigId][smallId].endTime < block.timestamp);
require(smallRound[bigId][smallId].winKey == 0);
uint256 seed = _random();
smallRound[bigId][smallId].winKey = addmod(uint256(blockhash(block.number-1)), seed, smallRound[bigId][smallId].totalKey);
emit createKey(smallRound[bigId][smallId].winKey, bigId, smallId);
}
///@dev Lottery
function lottery(address _winner, uint256 _checkIndex) external onlyService whenNotPaused{
require(_winner != address(0));
require(address(this).balance > smallRound[bigId][smallId].winnerProfit);
KeyPurchases storage keys = userXkeyPurchases[bigId][smallId][_winner];
if(keys.numPurchases > 0 && _checkIndex < keys.numPurchases){
KeyPurchase storage checkKeys = keys.keysBought[_checkIndex];
if(smallRound[bigId][smallId].winKey >= checkKeys.startId && smallRound[bigId][smallId].winKey <= checkKeys.endId){
smallRound[bigId][smallId].winner = _winner;
_winner.transfer(smallRound[bigId][smallId].winnerProfit);
emit lotteryEvent(_winner, bigId, smallId, smallRound[bigId][smallId].winnerProfit, 1);
_bigLottery(_winner);
}
}
}
function _bigLottery(address _winner) internal whenNotPaused{
uint256 seed = _random();
uint256 mod;
if(smallId < 50){
mod = (51 - smallId) * 3 - 4;
}else{
mod = 1;
}
uint256 number = addmod(uint256(blockhash(block.number-1)), seed, mod);
if(number == 0){
//Congratulations, win the grand prize
require(address(this).balance >= bigRound[bigId].jackpotBalance);
//10% for all player
uint256 _playerFee = bigRound[bigId].jackpotBalance.mul(10).div(100);
bigRound[bigId].KeyProfit = _playerFee.div(bigRound[bigId].totalKey).add(bigRound[bigId].KeyProfit);
//10% for next jackpot
uint256 _jackpotFee = bigRound[bigId].jackpotBalance.mul(10).div(100);
//10% for RTB1 and RTB2
uint256 _shareFee = bigRound[bigId].jackpotBalance.mul(10).div(100);
RTB1.increaseProfit.value(_shareFee.mul(3).div(10))(); // 300/1000 = 30%
RTB2.increaseProfit.value(_shareFee.mul(7).div(10))(); // 700/1000 = 70%
//8% for dev
devFee = bigRound[bigId].jackpotBalance.mul(8).div(100).add(devFee);
//62% for winner
uint256 _winnerProfit = bigRound[bigId].jackpotBalance.mul(62).div(100);
_winner.transfer(_winnerProfit);
emit lotteryEvent(_winner, bigId, smallId, _winnerProfit, 2);
bigRound[bigId].winnerProfit = _winnerProfit;
//Start a new round
bigId++;
smallId = 1;
bigRound[bigId].jackpotBalance = _jackpotFee;
}else{
//You didn't win the grand prize
//Start new round
smallId++;
}
keysBought = 0;
}
function withdraw(uint256 _round) public whenNotPaused{
uint profit = getMyProfit(_round);
uint256 money = recommender[msg.sender].add(profit);
require(money > 0);
recommender[msg.sender] = 0;
bigRound[_round].received[msg.sender] = bigRound[_round].received[msg.sender].add(profit);
msg.sender.transfer(money);
emit withdrawEvent(msg.sender, money, _round);
}
function devWithdraw() public onlyOwner{
owner.transfer(devFee);
emit withdrawEvent(owner, devFee, 0);
devFee = 0;
}
function getMyProfit(uint256 _round) public view returns(uint256){
return bigRound[_round].KeyProfit.mul(userBigRoundKey[_round][msg.sender]).sub(bigRound[_round].received[msg.sender]);
}
function getPrice() public view returns(uint256) {
require(smallId >= 1 && smallId <= 50);
uint256 _round = smallId.sub(1);
return _round.mul(_round).mul(1200000000000000).div(25).add(BASE_PRICE);
}
//random
function _random() internal view returns(uint256){
uint256 seed = uint256(keccak256( (
(block.timestamp).add
(block.difficulty).add
((uint256(keccak256(abi.encodePacked(block.coinbase)))) / (now)).add
(block.gaslimit).add
((uint256(keccak256(abi.encodePacked(msg.sender)))) / (now)).add
(block.number)
)));
return seed;
}
function setAllowPrice(uint256 _price) public onlyOwner{
allowPrice = _price;
}
function setRecommenderAllow() public payable{
require(msg.value == allowPrice);
require(recommenderAllow[msg.sender] == false);
devFee = devFee.add(msg.value);
emit RecommenderAllow(msg.sender, true);
recommenderAllow[msg.sender] = true;
}
function setGame(bool _bool) public onlyOwner{
isPaused = _bool;
}
function setService(address _addr) public onlyOwner{
service = _addr;
}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"constant":true,"inputs":[],"name":"bigId","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"createWinner","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_bool","type":"bool"}],"name":"setGame","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_round","type":"uint256"}],"name":"withdraw","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"smallId","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_amount","type":"uint256"}],"name":"buyAgain","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"allowPrice","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"},{"name":"","type":"uint256"}],"name":"smallRound","outputs":[{"name":"totalKey","type":"uint256"},{"name":"winner","type":"address"},{"name":"startTime","type":"uint256"},{"name":"endTime","type":"uint256"},{"name":"winKey","type":"uint256"},{"name":"winnerProfit","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_amount","type":"uint256"},{"name":"_invite","type":"address"}],"name":"buy","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"bigRound","outputs":[{"name":"totalKey","type":"uint256"},{"name":"jackpotBalance","type":"uint256"},{"name":"KeyProfit","type":"uint256"},{"name":"winner","type":"address"},{"name":"winnerProfit","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"recommender","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getPrice","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"RTB1","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_winner","type":"address"},{"name":"_checkIndex","type":"uint256"}],"name":"lottery","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"devWithdraw","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"isPaused","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_round","type":"uint256"}],"name":"getMyProfit","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_addr","type":"address"}],"name":"setService","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"},{"name":"","type":"uint256"},{"name":"","type":"address"}],"name":"userSmallRoundkey","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"},{"name":"","type":"address"}],"name":"userBigRoundKey","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_price","type":"uint256"}],"name":"setAllowPrice","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"service","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"startGame","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"RTB2","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"recommenderAllow","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"setRecommenderAllow","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":true,"inputs":[],"name":"BASE_PRICE","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"},{"name":"","type":"uint256"},{"name":"","type":"address"}],"name":"userXkeyPurchases","outputs":[{"name":"numPurchases","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[{"name":"_rtb1","type":"address"},{"name":"_rtb2","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_buyer","type":"address"},{"indexed":false,"name":"_amount","type":"uint256"},{"indexed":false,"name":"_total","type":"uint256"},{"indexed":false,"name":"_bigRound","type":"uint256"},{"indexed":false,"name":"_smallRound","type":"uint256"},{"indexed":false,"name":"_startId","type":"uint256"},{"indexed":false,"name":"_endId","type":"uint256"},{"indexed":false,"name":"_index","type":"uint256"}],"name":"buyEvent","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_winner","type":"address"},{"indexed":false,"name":"_bigRound","type":"uint256"},{"indexed":false,"name":"_smallRound","type":"uint256"},{"indexed":false,"name":"_money","type":"uint256"},{"indexed":false,"name":"_type","type":"uint256"}],"name":"lotteryEvent","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_winner","type":"address"},{"indexed":false,"name":"_amount","type":"uint256"},{"indexed":false,"name":"_round","type":"uint256"}],"name":"withdrawEvent","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_user","type":"address"},{"indexed":false,"name":"_status","type":"bool"}],"name":"RecommenderAllow","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"_winkey","type":"uint256"},{"indexed":false,"name":"_bigRound","type":"uint256"},{"indexed":false,"name":"_smallRound","type":"uint256"}],"name":"createKey","type":"event"}]Contract Creation Code
60806040526010805460ff1916905534801561001a57600080fd5b5060405160408061234283398101604052805160209091015160008054600160a060020a03338116600160a060020a031992831681179093556001805483169093178355600f839055600e92909255662386f26fc10000600c5560048054948316948216949094179093556005805491909216921691909117905561229e806100a46000396000f30060806040526004361061015b5763ffffffff60e060020a6000350416630806506e81146101a4578063080b3713146101cb578063112b2b07146101e25780632e1a7d4d146101fc57806357386c2a146102145780635af42b93146102295780636a343df31461024157806373ec9479146102565780637deb6025146102ac57806387164064146102c35780638da5cb5b1461030f578063976138c11461034057806398d5fdca14610361578063993ca7e314610376578063ab3512701461038b578063ad606c72146103af578063b187bd26146103c4578063bdf99016146103ed578063bf8bdac114610405578063c8ab601714610426578063c93e05a91461044d578063cd094fb114610471578063d598d4c914610489578063d65ab5f21461049e578063e87ed8b5146104b3578063e9dd9030146104c8578063eb40a9c8146104e9578063f86325ed146104f1578063fac6c82614610506575b6000341161016857600080fd5b600f5460009081526002602052604090206001015461018d903463ffffffff61052d16565b600f54600090815260026020526040902060010155005b3480156101b057600080fd5b506101b9610547565b60408051918252519081900360200190f35b3480156101d757600080fd5b506101e061054d565b005b3480156101ee57600080fd5b506101e06004351515610715565b34801561020857600080fd5b506101e060043561077c565b34801561022057600080fd5b506101b96108f1565b34801561023557600080fd5b506101e06004356108f7565b34801561024d57600080fd5b506101b9610b4e565b34801561026257600080fd5b50610271600435602435610b54565b60408051968752600160a060020a039095166020870152858501939093526060850191909152608084015260a0830152519081900360c00190f35b6101e0600435600160a060020a0360243516610b9e565b3480156102cf57600080fd5b506102db600435610e94565b60408051958652602086019490945284840192909252600160a060020a031660608401526080830152519081900360a00190f35b34801561031b57600080fd5b50610324610ecf565b60408051600160a060020a039092168252519081900360200190f35b34801561034c57600080fd5b506101b9600160a060020a0360043516610ede565b34801561036d57600080fd5b506101b9610ef0565b34801561038257600080fd5b50610324610f68565b34801561039757600080fd5b506101e0600160a060020a0360043516602435610f77565b3480156103bb57600080fd5b506101e061124e565b3480156103d057600080fd5b506103d9611332565b604080519115158252519081900360200190f35b3480156103f957600080fd5b506101b960043561133b565b34801561041157600080fd5b506101e0600160a060020a03600435166113a9565b34801561043257600080fd5b506101b9600435602435600160a060020a036044351661142c565b34801561045957600080fd5b506101b9600435600160a060020a036024351661144f565b34801561047d57600080fd5b506101e060043561146c565b34801561049557600080fd5b506103246114c5565b3480156104aa57600080fd5b506101e06114d4565b3480156104bf57600080fd5b50610324611573565b3480156104d457600080fd5b506103d9600160a060020a0360043516611582565b6101e0611597565b3480156104fd57600080fd5b506101b9611646565b34801561051257600080fd5b506101b9600435602435600160a060020a0360443516611651565b60008282018381101561053c57fe5b8091505b5092915050565b600f5481565b60015460009033600160a060020a039081169116146105b6576040805160e560020a62461bcd02815260206004820152600c60248201527f6f6e6c7920736572766963650000000000000000000000000000000000000000604482015290519081900360640190fd5b60105460ff16156105ff576040805160e560020a62461bcd0281526020600482015260096024820152600080516020612233833981519152604482015290519081900360640190fd5b600f546000908152600360208181526040808420600e5485529091529091200154421161062b57600080fd5b600f546000908152600360209081526040808320600e5484529091529020600401541561065757600080fd5b61065f611677565b600f546000908152600360209081526040808320600e54845290915290205490915080151561068a57fe5b8160001943014008600f80546000908152600360208181526040808420600e8054865290835281852060049081019790975594548085529282528084209454808552948252928390209094015482519081529384015282810191909152517fbedcee3c4a7b1afaa7da586cd10b7e8f7ade1613731fc9c58b4805cc9e6878d39181900360600190a150565b60005433600160a060020a03908116911614610769576040805160e560020a62461bcd02815260206004820152600a6024820152600080516020612253833981519152604482015290519081900360640190fd5b6010805460ff1916911515919091179055565b601054600090819060ff16156107ca576040805160e560020a62461bcd0281526020600482015260096024820152600080516020612233833981519152604482015290519081900360640190fd5b6107d38361133b565b600160a060020a0333166000908152600a60205260409020549092506107ff908363ffffffff61052d16565b90506000811161080e57600080fd5b600160a060020a0333166000818152600a6020908152604080832083905586835260028252808320938352600390930190522054610852908363ffffffff61052d16565b6000848152600260209081526040808320600160a060020a033316808552600390910190925280832093909355915183156108fc0291849190818181858888f193505050501580156108a8573d6000803e3d6000fd5b5060408051828152602081018590528151600160a060020a033316927f3f5274d9edd3b530545223adc84dcf865f2433783bc200984750bd356af57253928290030190a2505050565b600e5481565b60008033803b8015610953576040805160e560020a62461bcd02815260206004820152601160248201527f736f7272792068756d616e73206f6e6c79000000000000000000000000000000604482015290519081900360640190fd5b60105460ff161561099c576040805160e560020a62461bcd0281526020600482015260096024820152600080516020612233833981519152604482015290519081900360640190fd5b600f546000908152600360209081526040808320600e5484529091529020600201544211610a14576040805160e560020a62461bcd02815260206004820152601c60248201527f5468652067616d6520686173206e6f7420737461727465642079657400000000604482015290519081900360640190fd5b600f546000908152600360208181526040808420600e54855290915290912001544210610a8b576040805160e560020a62461bcd02815260206004820152601060248201527f5468652067616d65206973206f76657200000000000000000000000000000000604482015290519081900360640190fd5b610aa3610a96610ef0565b869063ffffffff61180216565b9350610ab0600f5461133b565b9250600085118015610ac25750600084115b1515610acd57600080fd5b83831015610ada57600080fd5b600f546000908152600260209081526040808320600160a060020a0333168452600301909152902054610b1490859063ffffffff61052d16565b600f546000908152600260209081526040808320600160a060020a0333168452600301909152902055610b47858561182d565b5050505050565b600c5481565b600360208181526000938452604080852090915291835291208054600182015460028301549383015460048401546005909401549294600160a060020a0390921693919290919086565b600033803b8015610bf9576040805160e560020a62461bcd02815260206004820152601160248201527f736f7272792068756d616e73206f6e6c79000000000000000000000000000000604482015290519081900360640190fd5b60105460ff1615610c42576040805160e560020a62461bcd0281526020600482015260096024820152600080516020612233833981519152604482015290519081900360640190fd5b600f546000908152600360209081526040808320600e5484529091529020600201544211610cba576040805160e560020a62461bcd02815260206004820152601c60248201527f5468652067616d6520686173206e6f7420737461727465642079657400000000604482015290519081900360640190fd5b600f546000908152600360208181526040808420600e54855290915290912001544210610d31576040805160e560020a62461bcd02815260206004820152601060248201527f5468652067616d65206973206f76657200000000000000000000000000000000604482015290519081900360640190fd5b610d3c610a96610ef0565b9250600085118015610d4e5750600083115b1515610d5957600080fd5b348314610db0576040805160e560020a62461bcd02815260206004820152601760248201527f54686520616d6f756e7420697320696e636f7272656374000000000000000000604482015290519081900360640190fd5b600160a060020a03841615801590610dda575033600160a060020a031684600160a060020a031614155b8015610e035750600160a060020a0384166000908152600b602052604090205460ff1615156001145b15610e8a57600160a060020a0384166000908152600a6020819052604090912054610e5891610e4c90606490610e4090889063ffffffff61180216565b9063ffffffff611db216565b9063ffffffff61052d16565b600160a060020a0385166000908152600a6020526040902055610e876064610e4085605a63ffffffff61180216565b92505b610b47858461182d565b6002602081905260009182526040909120805460018201549282015460048301546005909301549193929091600160a060020a039091169085565b600054600160a060020a031681565b600a6020526000908152604090205481565b6000806001600e5410158015610f0957506032600e5411155b1515610f1457600080fd5b600e54610f2890600163ffffffff611de616565b9050610f61660aa87bee538000610e4c6019610e4066044364c5bb0000610f55878063ffffffff61180216565b9063ffffffff61180216565b91505b5090565b600454600160a060020a031681565b600154600090819033600160a060020a03908116911614610fe2576040805160e560020a62461bcd02815260206004820152600c60248201527f6f6e6c7920736572766963650000000000000000000000000000000000000000604482015290519081900360640190fd5b60105460ff161561102b576040805160e560020a62461bcd0281526020600482015260096024820152600080516020612233833981519152604482015290519081900360640190fd5b600160a060020a038416151561104057600080fd5b600f546000908152600360209081526040808320600e548452909152902060050154600160a060020a033016311161107757600080fd5b600f546000908152600860209081526040808320600e5484528252808320600160a060020a0388168452909152812060018101549093501180156110be5750816001015483105b156112485781548290849081106110d157fe5b6000918252602080832060029092029091018054600f548452600383526040808520600e54865290935291909220600401549192501180159061113957506001810154600f546000908152600360209081526040808320600e54845290915290206004015411155b1561124857600f80546000908152600360208181526040808420600e80548652908352818520600101805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a038c1690811790915595548552928252808420925484529190528082206005015490516108fc82150292818181858888f193505050501580156111c9573d6000803e3d6000fd5b50600f54600e54600082815260036020908152604080832084845282529182902060050154825194855290840192909252828101919091526001606083015251600160a060020a038616917fe6147ff2b2d6ab20543fbed039f6682a2a55b0555979bd7ca5979b41f4141cf7919081900360800190a261124884611df8565b50505050565b60005433600160a060020a039081169116146112a2576040805160e560020a62461bcd02815260206004820152600a6024820152600080516020612253833981519152604482015290519081900360640190fd5b60008054600d54604051600160a060020a039092169281156108fc029290818181858888f193505050501580156112dd573d6000803e3d6000fd5b5060008054600d546040805191825260208201939093528251600160a060020a03909216927f3f5274d9edd3b530545223adc84dcf865f2433783bc200984750bd356af5725392918290030190a26000600d55565b60105460ff1681565b6000818152600260208181526040808420600160a060020a03331680865260038201845282862054878752600785528387209187529084529185205486865292849052909201546113a39291611397919063ffffffff61180216565b9063ffffffff611de616565b92915050565b60005433600160a060020a039081169116146113fd576040805160e560020a62461bcd02815260206004820152600a6024820152600080516020612253833981519152604482015290519081900360640190fd5b6001805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600660209081526000938452604080852082529284528284209052825290205481565b600760209081526000928352604080842090915290825290205481565b60005433600160a060020a039081169116146114c0576040805160e560020a62461bcd02815260206004820152600a6024820152600080516020612253833981519152604482015290519081900360640190fd5b600c55565b600154600160a060020a031681565b6000805433600160a060020a03908116911614611529576040805160e560020a62461bcd02815260206004820152600a6024820152600080516020612253833981519152604482015290519081900360640190fd5b50600f80546000908152600360208181526040808420600e80548652908352818520426002909101819055955485528383528185209054855290915290912061a1b8909201910155565b600554600160a060020a031681565b600b6020526000908152604090205460ff1681565b600c5434146115a557600080fd5b600160a060020a0333166000908152600b602052604090205460ff16156115cb57600080fd5b600d546115de903463ffffffff61052d16565b600d5560408051600181529051600160a060020a033316917fef1b08add0ca68a93a9ed0bdfed3d06b0079476ff4f202079009af1489c8929f919081900360200190a2600160a060020a0333166000908152600b60205260409020805460ff19166001179055565b660aa87bee53800081565b600860209081526000938452604080852082529284528284209052825290206001015481565b6000806117e843610e4c42336040516020018082600160a060020a0316600160a060020a03166c010000000000000000000000000281526014019150506040516020818303038152906040526040518082805190602001908083835b602083106116f25780518252601f1990920191602091820191016116d3565b5181516020939093036101000a600019018019909116921691909117905260405192018290039091209250505081151561172857fe5b04610e4c45610e4c42416040516020018082600160a060020a0316600160a060020a03166c010000000000000000000000000281526014019150506040516020818303038152906040526040518082805190602001908083835b602083106117a15780518252601f199092019160209182019101611782565b5181516020939093036101000a60001901801990911692169190911790526040519201829003909120925050508115156117d757fe5b04610e4c424463ffffffff61052d16565b604080519182525190819003602001902091508190505090565b6000808315156118155760009150610540565b5082820282848281151561182557fe5b041461053c57fe5b6010546000908190819060ff161561187d576040805160e560020a62461bcd0281526020600482015260096024820152600080516020612233833981519152604482015290519081900360640190fd5b600f546000908152600760209081526040808320600160a060020a03331684529091529020546118b3908663ffffffff61052d16565b600f80546000908152600760209081526040808320600160a060020a033316808552908352818420959095559254825260068152828220600e54835281528282209382529290925290205461190e908663ffffffff61052d16565b600f80546000908152600660209081526040808320600e80548552908352818420600160a060020a0333168086529084528285209690965593548352600882528083209354835292815282822093825292909252902080546001820154919450141561198557825460010161198384826121de565b505b6040805180820190915260095480825286016000190160208201526001840154845485919081106119b257fe5b6000918252602091829020835160029092020190815591810151600192830155848201805490920191829055600f54600e54600954604080518b815234958101959095528481019390935260608401919091526080830181905288016000190160a083015260c08201929092529051600160a060020a033316917f7ce6d920f1a28c7a278713a904453cd148edc5503b74275fcba433a52bc3bc51919081900360e00190a2600954611a6a908663ffffffff61052d16565b600955611a836064610e4086602863ffffffff61180216565b600f546000908152600260205260408120549193501015611b5357600f546000908152600260208190526040909120908101549054611ace9190610e4c90859063ffffffff611db216565b600f805460009081526002602081815260408084208301959095559254808352848320600160a060020a033316845260038101855294832054925291829052910154611b259190610e4c908863ffffffff61180216565b600f546000908152600260209081526040808320600160a060020a0333168452600301909152902055611b6a565b600d54611b66908363ffffffff61052d16565b600d555b600f54600090815260026020526040902060010154611b9990610e4c6064610e4088602363ffffffff61180216565b600f8054600090815260026020526040902060010191909155611bca90606490610e4090879063ffffffff61180216565b600454909150600160a060020a03166330cc248e611bf4600a610e4085600363ffffffff61180216565b6040518263ffffffff1660e060020a0281526004016020604051808303818588803b158015611c2257600080fd5b505af1158015611c36573d6000803e3d6000fd5b50505050506040513d6020811015611c4d57600080fd5b5050600554600160a060020a03166330cc248e611c76600a610e4085600763ffffffff61180216565b6040518263ffffffff1660e060020a0281526004016020604051808303818588803b158015611ca457600080fd5b505af1158015611cb8573d6000803e3d6000fd5b50505050506040513d6020811015611ccf57600080fd5b5050600f546000908152600360209081526040808320600e548452909152902060050154611d0d90610e4c6064610e4088600a63ffffffff61180216565b600f80546000908152600360209081526040808320600e5484528252808320600501949094559154815260029091522054611d4e908663ffffffff61052d16565b600f80546000908152600260209081526040808320949094559154815260038252828120600e5482529091522054611d8c908663ffffffff61052d16565b600f546000908152600360209081526040808320600e5484529091529020555050505050565b600080808311611dbe57fe5b8284811515611dc957fe5b0490508284811515611dd757fe5b06818402018414151561053c57fe5b600082821115611df257fe5b50900390565b60105460009081908190819081908190819060ff1615611e50576040805160e560020a62461bcd0281526020600482015260096024820152600080516020612233833981519152604482015290519081900360640190fd5b611e58611677565b96506032600e541015611e78576004600e54603303600302039550611e7d565b600195505b85801515611e8757fe5b876000194301400894508415156121c557600f54600090815260026020526040902060010154600160a060020a033016311015611ec357600080fd5b600f54600090815260026020526040902060010154611ef090606490610e4090600a63ffffffff61180216565b600f546000908152600260208190526040909120908101549054919550611f2291610e4c90879063ffffffff611db216565b600f8054600090815260026020819052604080832090910193909355905481522060010154611f5f90606490610e4090600a63ffffffff61180216565b600f54600090815260026020526040902060010154909350611f8f90606490610e4090600a63ffffffff61180216565b600454909250600160a060020a03166330cc248e611fb9600a610e4086600363ffffffff61180216565b6040518263ffffffff1660e060020a0281526004016020604051808303818588803b158015611fe757600080fd5b505af1158015611ffb573d6000803e3d6000fd5b50505050506040513d602081101561201257600080fd5b5050600554600160a060020a03166330cc248e61203b600a610e4086600763ffffffff61180216565b6040518263ffffffff1660e060020a0281526004016020604051808303818588803b15801561206957600080fd5b505af115801561207d573d6000803e3d6000fd5b50505050506040513d602081101561209457600080fd5b5050600d54600f546000908152600260205260409020600101546120cb9190610e4c90606490610e4090600863ffffffff61180216565b600d55600f546000908152600260205260409020600101546120fb90606490610e4090603e63ffffffff61180216565b604051909150600160a060020a0389169082156108fc029083906000818181858888f19350505050158015612134573d6000803e3d6000fd5b50600f54600e546040805192835260208301919091528181018390526002606083015251600160a060020a038a16917fe6147ff2b2d6ab20543fbed039f6682a2a55b0555979bd7ca5979b41f4141cf7919081900360800190a2600f80546000908152600260205260408082206005018490558254600190810193849055600e8190559282529020018390556121cf565b600e805460010190555b50506000600955505050505050565b81548183558181111561220a5760020281600202836000526020600020918201910161220a919061220f565b505050565b61222f91905b80821115610f645760008082556001820155600201612215565b90560069732050617573656400000000000000000000000000000000000000000000006f6e6c79206f776e657200000000000000000000000000000000000000000000a165627a7a723058206ca4a3b565d22a80f8d51ab51ac95271049875e57c81f055d378a5ab146741c20029000000000000000000000000d0955bd45d5eef5bedce84a3471c825288a14b01000000000000000000000000b9dad061b4ada5825abc2c9914e89181c0cdc56c
Deployed Bytecode
0x60806040526004361061015b5763ffffffff60e060020a6000350416630806506e81146101a4578063080b3713146101cb578063112b2b07146101e25780632e1a7d4d146101fc57806357386c2a146102145780635af42b93146102295780636a343df31461024157806373ec9479146102565780637deb6025146102ac57806387164064146102c35780638da5cb5b1461030f578063976138c11461034057806398d5fdca14610361578063993ca7e314610376578063ab3512701461038b578063ad606c72146103af578063b187bd26146103c4578063bdf99016146103ed578063bf8bdac114610405578063c8ab601714610426578063c93e05a91461044d578063cd094fb114610471578063d598d4c914610489578063d65ab5f21461049e578063e87ed8b5146104b3578063e9dd9030146104c8578063eb40a9c8146104e9578063f86325ed146104f1578063fac6c82614610506575b6000341161016857600080fd5b600f5460009081526002602052604090206001015461018d903463ffffffff61052d16565b600f54600090815260026020526040902060010155005b3480156101b057600080fd5b506101b9610547565b60408051918252519081900360200190f35b3480156101d757600080fd5b506101e061054d565b005b3480156101ee57600080fd5b506101e06004351515610715565b34801561020857600080fd5b506101e060043561077c565b34801561022057600080fd5b506101b96108f1565b34801561023557600080fd5b506101e06004356108f7565b34801561024d57600080fd5b506101b9610b4e565b34801561026257600080fd5b50610271600435602435610b54565b60408051968752600160a060020a039095166020870152858501939093526060850191909152608084015260a0830152519081900360c00190f35b6101e0600435600160a060020a0360243516610b9e565b3480156102cf57600080fd5b506102db600435610e94565b60408051958652602086019490945284840192909252600160a060020a031660608401526080830152519081900360a00190f35b34801561031b57600080fd5b50610324610ecf565b60408051600160a060020a039092168252519081900360200190f35b34801561034c57600080fd5b506101b9600160a060020a0360043516610ede565b34801561036d57600080fd5b506101b9610ef0565b34801561038257600080fd5b50610324610f68565b34801561039757600080fd5b506101e0600160a060020a0360043516602435610f77565b3480156103bb57600080fd5b506101e061124e565b3480156103d057600080fd5b506103d9611332565b604080519115158252519081900360200190f35b3480156103f957600080fd5b506101b960043561133b565b34801561041157600080fd5b506101e0600160a060020a03600435166113a9565b34801561043257600080fd5b506101b9600435602435600160a060020a036044351661142c565b34801561045957600080fd5b506101b9600435600160a060020a036024351661144f565b34801561047d57600080fd5b506101e060043561146c565b34801561049557600080fd5b506103246114c5565b3480156104aa57600080fd5b506101e06114d4565b3480156104bf57600080fd5b50610324611573565b3480156104d457600080fd5b506103d9600160a060020a0360043516611582565b6101e0611597565b3480156104fd57600080fd5b506101b9611646565b34801561051257600080fd5b506101b9600435602435600160a060020a0360443516611651565b60008282018381101561053c57fe5b8091505b5092915050565b600f5481565b60015460009033600160a060020a039081169116146105b6576040805160e560020a62461bcd02815260206004820152600c60248201527f6f6e6c7920736572766963650000000000000000000000000000000000000000604482015290519081900360640190fd5b60105460ff16156105ff576040805160e560020a62461bcd0281526020600482015260096024820152600080516020612233833981519152604482015290519081900360640190fd5b600f546000908152600360208181526040808420600e5485529091529091200154421161062b57600080fd5b600f546000908152600360209081526040808320600e5484529091529020600401541561065757600080fd5b61065f611677565b600f546000908152600360209081526040808320600e54845290915290205490915080151561068a57fe5b8160001943014008600f80546000908152600360208181526040808420600e8054865290835281852060049081019790975594548085529282528084209454808552948252928390209094015482519081529384015282810191909152517fbedcee3c4a7b1afaa7da586cd10b7e8f7ade1613731fc9c58b4805cc9e6878d39181900360600190a150565b60005433600160a060020a03908116911614610769576040805160e560020a62461bcd02815260206004820152600a6024820152600080516020612253833981519152604482015290519081900360640190fd5b6010805460ff1916911515919091179055565b601054600090819060ff16156107ca576040805160e560020a62461bcd0281526020600482015260096024820152600080516020612233833981519152604482015290519081900360640190fd5b6107d38361133b565b600160a060020a0333166000908152600a60205260409020549092506107ff908363ffffffff61052d16565b90506000811161080e57600080fd5b600160a060020a0333166000818152600a6020908152604080832083905586835260028252808320938352600390930190522054610852908363ffffffff61052d16565b6000848152600260209081526040808320600160a060020a033316808552600390910190925280832093909355915183156108fc0291849190818181858888f193505050501580156108a8573d6000803e3d6000fd5b5060408051828152602081018590528151600160a060020a033316927f3f5274d9edd3b530545223adc84dcf865f2433783bc200984750bd356af57253928290030190a2505050565b600e5481565b60008033803b8015610953576040805160e560020a62461bcd02815260206004820152601160248201527f736f7272792068756d616e73206f6e6c79000000000000000000000000000000604482015290519081900360640190fd5b60105460ff161561099c576040805160e560020a62461bcd0281526020600482015260096024820152600080516020612233833981519152604482015290519081900360640190fd5b600f546000908152600360209081526040808320600e5484529091529020600201544211610a14576040805160e560020a62461bcd02815260206004820152601c60248201527f5468652067616d6520686173206e6f7420737461727465642079657400000000604482015290519081900360640190fd5b600f546000908152600360208181526040808420600e54855290915290912001544210610a8b576040805160e560020a62461bcd02815260206004820152601060248201527f5468652067616d65206973206f76657200000000000000000000000000000000604482015290519081900360640190fd5b610aa3610a96610ef0565b869063ffffffff61180216565b9350610ab0600f5461133b565b9250600085118015610ac25750600084115b1515610acd57600080fd5b83831015610ada57600080fd5b600f546000908152600260209081526040808320600160a060020a0333168452600301909152902054610b1490859063ffffffff61052d16565b600f546000908152600260209081526040808320600160a060020a0333168452600301909152902055610b47858561182d565b5050505050565b600c5481565b600360208181526000938452604080852090915291835291208054600182015460028301549383015460048401546005909401549294600160a060020a0390921693919290919086565b600033803b8015610bf9576040805160e560020a62461bcd02815260206004820152601160248201527f736f7272792068756d616e73206f6e6c79000000000000000000000000000000604482015290519081900360640190fd5b60105460ff1615610c42576040805160e560020a62461bcd0281526020600482015260096024820152600080516020612233833981519152604482015290519081900360640190fd5b600f546000908152600360209081526040808320600e5484529091529020600201544211610cba576040805160e560020a62461bcd02815260206004820152601c60248201527f5468652067616d6520686173206e6f7420737461727465642079657400000000604482015290519081900360640190fd5b600f546000908152600360208181526040808420600e54855290915290912001544210610d31576040805160e560020a62461bcd02815260206004820152601060248201527f5468652067616d65206973206f76657200000000000000000000000000000000604482015290519081900360640190fd5b610d3c610a96610ef0565b9250600085118015610d4e5750600083115b1515610d5957600080fd5b348314610db0576040805160e560020a62461bcd02815260206004820152601760248201527f54686520616d6f756e7420697320696e636f7272656374000000000000000000604482015290519081900360640190fd5b600160a060020a03841615801590610dda575033600160a060020a031684600160a060020a031614155b8015610e035750600160a060020a0384166000908152600b602052604090205460ff1615156001145b15610e8a57600160a060020a0384166000908152600a6020819052604090912054610e5891610e4c90606490610e4090889063ffffffff61180216565b9063ffffffff611db216565b9063ffffffff61052d16565b600160a060020a0385166000908152600a6020526040902055610e876064610e4085605a63ffffffff61180216565b92505b610b47858461182d565b6002602081905260009182526040909120805460018201549282015460048301546005909301549193929091600160a060020a039091169085565b600054600160a060020a031681565b600a6020526000908152604090205481565b6000806001600e5410158015610f0957506032600e5411155b1515610f1457600080fd5b600e54610f2890600163ffffffff611de616565b9050610f61660aa87bee538000610e4c6019610e4066044364c5bb0000610f55878063ffffffff61180216565b9063ffffffff61180216565b91505b5090565b600454600160a060020a031681565b600154600090819033600160a060020a03908116911614610fe2576040805160e560020a62461bcd02815260206004820152600c60248201527f6f6e6c7920736572766963650000000000000000000000000000000000000000604482015290519081900360640190fd5b60105460ff161561102b576040805160e560020a62461bcd0281526020600482015260096024820152600080516020612233833981519152604482015290519081900360640190fd5b600160a060020a038416151561104057600080fd5b600f546000908152600360209081526040808320600e548452909152902060050154600160a060020a033016311161107757600080fd5b600f546000908152600860209081526040808320600e5484528252808320600160a060020a0388168452909152812060018101549093501180156110be5750816001015483105b156112485781548290849081106110d157fe5b6000918252602080832060029092029091018054600f548452600383526040808520600e54865290935291909220600401549192501180159061113957506001810154600f546000908152600360209081526040808320600e54845290915290206004015411155b1561124857600f80546000908152600360208181526040808420600e80548652908352818520600101805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a038c1690811790915595548552928252808420925484529190528082206005015490516108fc82150292818181858888f193505050501580156111c9573d6000803e3d6000fd5b50600f54600e54600082815260036020908152604080832084845282529182902060050154825194855290840192909252828101919091526001606083015251600160a060020a038616917fe6147ff2b2d6ab20543fbed039f6682a2a55b0555979bd7ca5979b41f4141cf7919081900360800190a261124884611df8565b50505050565b60005433600160a060020a039081169116146112a2576040805160e560020a62461bcd02815260206004820152600a6024820152600080516020612253833981519152604482015290519081900360640190fd5b60008054600d54604051600160a060020a039092169281156108fc029290818181858888f193505050501580156112dd573d6000803e3d6000fd5b5060008054600d546040805191825260208201939093528251600160a060020a03909216927f3f5274d9edd3b530545223adc84dcf865f2433783bc200984750bd356af5725392918290030190a26000600d55565b60105460ff1681565b6000818152600260208181526040808420600160a060020a03331680865260038201845282862054878752600785528387209187529084529185205486865292849052909201546113a39291611397919063ffffffff61180216565b9063ffffffff611de616565b92915050565b60005433600160a060020a039081169116146113fd576040805160e560020a62461bcd02815260206004820152600a6024820152600080516020612253833981519152604482015290519081900360640190fd5b6001805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600660209081526000938452604080852082529284528284209052825290205481565b600760209081526000928352604080842090915290825290205481565b60005433600160a060020a039081169116146114c0576040805160e560020a62461bcd02815260206004820152600a6024820152600080516020612253833981519152604482015290519081900360640190fd5b600c55565b600154600160a060020a031681565b6000805433600160a060020a03908116911614611529576040805160e560020a62461bcd02815260206004820152600a6024820152600080516020612253833981519152604482015290519081900360640190fd5b50600f80546000908152600360208181526040808420600e80548652908352818520426002909101819055955485528383528185209054855290915290912061a1b8909201910155565b600554600160a060020a031681565b600b6020526000908152604090205460ff1681565b600c5434146115a557600080fd5b600160a060020a0333166000908152600b602052604090205460ff16156115cb57600080fd5b600d546115de903463ffffffff61052d16565b600d5560408051600181529051600160a060020a033316917fef1b08add0ca68a93a9ed0bdfed3d06b0079476ff4f202079009af1489c8929f919081900360200190a2600160a060020a0333166000908152600b60205260409020805460ff19166001179055565b660aa87bee53800081565b600860209081526000938452604080852082529284528284209052825290206001015481565b6000806117e843610e4c42336040516020018082600160a060020a0316600160a060020a03166c010000000000000000000000000281526014019150506040516020818303038152906040526040518082805190602001908083835b602083106116f25780518252601f1990920191602091820191016116d3565b5181516020939093036101000a600019018019909116921691909117905260405192018290039091209250505081151561172857fe5b04610e4c45610e4c42416040516020018082600160a060020a0316600160a060020a03166c010000000000000000000000000281526014019150506040516020818303038152906040526040518082805190602001908083835b602083106117a15780518252601f199092019160209182019101611782565b5181516020939093036101000a60001901801990911692169190911790526040519201829003909120925050508115156117d757fe5b04610e4c424463ffffffff61052d16565b604080519182525190819003602001902091508190505090565b6000808315156118155760009150610540565b5082820282848281151561182557fe5b041461053c57fe5b6010546000908190819060ff161561187d576040805160e560020a62461bcd0281526020600482015260096024820152600080516020612233833981519152604482015290519081900360640190fd5b600f546000908152600760209081526040808320600160a060020a03331684529091529020546118b3908663ffffffff61052d16565b600f80546000908152600760209081526040808320600160a060020a033316808552908352818420959095559254825260068152828220600e54835281528282209382529290925290205461190e908663ffffffff61052d16565b600f80546000908152600660209081526040808320600e80548552908352818420600160a060020a0333168086529084528285209690965593548352600882528083209354835292815282822093825292909252902080546001820154919450141561198557825460010161198384826121de565b505b6040805180820190915260095480825286016000190160208201526001840154845485919081106119b257fe5b6000918252602091829020835160029092020190815591810151600192830155848201805490920191829055600f54600e54600954604080518b815234958101959095528481019390935260608401919091526080830181905288016000190160a083015260c08201929092529051600160a060020a033316917f7ce6d920f1a28c7a278713a904453cd148edc5503b74275fcba433a52bc3bc51919081900360e00190a2600954611a6a908663ffffffff61052d16565b600955611a836064610e4086602863ffffffff61180216565b600f546000908152600260205260408120549193501015611b5357600f546000908152600260208190526040909120908101549054611ace9190610e4c90859063ffffffff611db216565b600f805460009081526002602081815260408084208301959095559254808352848320600160a060020a033316845260038101855294832054925291829052910154611b259190610e4c908863ffffffff61180216565b600f546000908152600260209081526040808320600160a060020a0333168452600301909152902055611b6a565b600d54611b66908363ffffffff61052d16565b600d555b600f54600090815260026020526040902060010154611b9990610e4c6064610e4088602363ffffffff61180216565b600f8054600090815260026020526040902060010191909155611bca90606490610e4090879063ffffffff61180216565b600454909150600160a060020a03166330cc248e611bf4600a610e4085600363ffffffff61180216565b6040518263ffffffff1660e060020a0281526004016020604051808303818588803b158015611c2257600080fd5b505af1158015611c36573d6000803e3d6000fd5b50505050506040513d6020811015611c4d57600080fd5b5050600554600160a060020a03166330cc248e611c76600a610e4085600763ffffffff61180216565b6040518263ffffffff1660e060020a0281526004016020604051808303818588803b158015611ca457600080fd5b505af1158015611cb8573d6000803e3d6000fd5b50505050506040513d6020811015611ccf57600080fd5b5050600f546000908152600360209081526040808320600e548452909152902060050154611d0d90610e4c6064610e4088600a63ffffffff61180216565b600f80546000908152600360209081526040808320600e5484528252808320600501949094559154815260029091522054611d4e908663ffffffff61052d16565b600f80546000908152600260209081526040808320949094559154815260038252828120600e5482529091522054611d8c908663ffffffff61052d16565b600f546000908152600360209081526040808320600e5484529091529020555050505050565b600080808311611dbe57fe5b8284811515611dc957fe5b0490508284811515611dd757fe5b06818402018414151561053c57fe5b600082821115611df257fe5b50900390565b60105460009081908190819081908190819060ff1615611e50576040805160e560020a62461bcd0281526020600482015260096024820152600080516020612233833981519152604482015290519081900360640190fd5b611e58611677565b96506032600e541015611e78576004600e54603303600302039550611e7d565b600195505b85801515611e8757fe5b876000194301400894508415156121c557600f54600090815260026020526040902060010154600160a060020a033016311015611ec357600080fd5b600f54600090815260026020526040902060010154611ef090606490610e4090600a63ffffffff61180216565b600f546000908152600260208190526040909120908101549054919550611f2291610e4c90879063ffffffff611db216565b600f8054600090815260026020819052604080832090910193909355905481522060010154611f5f90606490610e4090600a63ffffffff61180216565b600f54600090815260026020526040902060010154909350611f8f90606490610e4090600a63ffffffff61180216565b600454909250600160a060020a03166330cc248e611fb9600a610e4086600363ffffffff61180216565b6040518263ffffffff1660e060020a0281526004016020604051808303818588803b158015611fe757600080fd5b505af1158015611ffb573d6000803e3d6000fd5b50505050506040513d602081101561201257600080fd5b5050600554600160a060020a03166330cc248e61203b600a610e4086600763ffffffff61180216565b6040518263ffffffff1660e060020a0281526004016020604051808303818588803b15801561206957600080fd5b505af115801561207d573d6000803e3d6000fd5b50505050506040513d602081101561209457600080fd5b5050600d54600f546000908152600260205260409020600101546120cb9190610e4c90606490610e4090600863ffffffff61180216565b600d55600f546000908152600260205260409020600101546120fb90606490610e4090603e63ffffffff61180216565b604051909150600160a060020a0389169082156108fc029083906000818181858888f19350505050158015612134573d6000803e3d6000fd5b50600f54600e546040805192835260208301919091528181018390526002606083015251600160a060020a038a16917fe6147ff2b2d6ab20543fbed039f6682a2a55b0555979bd7ca5979b41f4141cf7919081900360800190a2600f80546000908152600260205260408082206005018490558254600190810193849055600e8190559282529020018390556121cf565b600e805460010190555b50506000600955505050505050565b81548183558181111561220a5760020281600202836000526020600020918201910161220a919061220f565b505050565b61222f91905b80821115610f645760008082556001820155600201612215565b90560069732050617573656400000000000000000000000000000000000000000000006f6e6c79206f776e657200000000000000000000000000000000000000000000a165627a7a723058206ca4a3b565d22a80f8d51ab51ac95271049875e57c81f055d378a5ab146741c20029
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000d0955bd45d5eef5bedce84a3471c825288a14b01000000000000000000000000b9dad061b4ada5825abc2c9914e89181c0cdc56c
-----Decoded View---------------
Arg [0] : _rtb1 (address): 0xD0955bD45d5EeF5BEdCe84a3471c825288a14b01
Arg [1] : _rtb2 (address): 0xB9DaD061B4ADa5825aBC2c9914E89181c0Cdc56c
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000d0955bd45d5eef5bedce84a3471c825288a14b01
Arg [1] : 000000000000000000000000b9dad061b4ada5825abc2c9914e89181c0cdc56c
Swarm Source
bzzr://6ca4a3b565d22a80f8d51ab51ac95271049875e57c81f055d378a5ab146741c2
Loading...
Loading
Loading...
Loading
Net Worth in USD
$28,554.21
Net Worth in ETH
13.852573
Token Allocations
ETH
100.00%
Multichain Portfolio | 34 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|---|---|---|---|---|
| ETH | 100.00% | $2,066.68 | 13.8164 | $28,554.21 |
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.