ETH Price: $3,279.13 (-1.56%)

Contract

0xf93CA51746cE6e1cc2485C534EEBe71AE987a7aD
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To

There are no matching entries

> 10 Internal Transactions found.

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block
From
To
24410612016-10-14 21:47:102991 days ago1476481630
0xf93CA517...AE987a7aD
0 ETH
24410322016-10-14 21:43:072991 days ago1476481387
0xf93CA517...AE987a7aD
0 ETH
24410222016-10-14 21:40:592991 days ago1476481259
0xf93CA517...AE987a7aD
0 ETH
24404512016-10-14 19:33:032991 days ago1476473583
0xf93CA517...AE987a7aD
0 ETH
24402092016-10-14 18:35:372991 days ago1476470137
0xf93CA517...AE987a7aD
0 ETH
24397052016-10-14 16:38:392991 days ago1476463119
0xf93CA517...AE987a7aD
0 ETH
24389362016-10-14 13:27:502992 days ago1476451670
0xf93CA517...AE987a7aD
0 ETH
24385172016-10-14 11:39:212992 days ago1476445161
0xf93CA517...AE987a7aD
0 ETH
24385072016-10-14 11:35:482992 days ago1476444948
0xf93CA517...AE987a7aD
0 ETH
24384912016-10-14 11:31:582992 days ago1476444718
0xf93CA517...AE987a7aD
0 ETH
24384822016-10-14 11:29:082992 days ago1476444548
0xf93CA517...AE987a7aD
0 ETH
24384762016-10-14 11:28:252992 days ago1476444505
0xf93CA517...AE987a7aD
0 ETH
24384732016-10-14 11:27:152992 days ago1476444435
0xf93CA517...AE987a7aD
0 ETH
24384652016-10-14 11:24:342992 days ago1476444274
0xf93CA517...AE987a7aD
0 ETH
24384592016-10-14 11:22:492992 days ago1476444169
0xf93CA517...AE987a7aD
0 ETH
24384382016-10-14 11:18:022992 days ago1476443882
0xf93CA517...AE987a7aD
0 ETH
24384332016-10-14 11:17:032992 days ago1476443823
0xf93CA517...AE987a7aD
0 ETH
24384182016-10-14 11:13:042992 days ago1476443584
0xf93CA517...AE987a7aD
0 ETH
24384112016-10-14 11:12:072992 days ago1476443527
0xf93CA517...AE987a7aD
0 ETH
24383832016-10-14 11:06:362992 days ago1476443196
0xf93CA517...AE987a7aD
0 ETH
24383592016-10-14 11:02:052992 days ago1476442925
0xf93CA517...AE987a7aD
0 ETH
24383382016-10-14 10:57:082992 days ago1476442628
0xf93CA517...AE987a7aD
0 ETH
24383322016-10-14 10:55:592992 days ago1476442559
0xf93CA517...AE987a7aD
0 ETH
24383212016-10-14 10:53:392992 days ago1476442419
0xf93CA517...AE987a7aD
0 ETH
24382872016-10-14 10:44:332992 days ago1476441873
0xf93CA517...AE987a7aD
0 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Kardashian

Compiler Version
v0.3.5-2016-07-01-48238c9

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
/**
 *Submitted for verification at Etherscan.io on 2016-07-12
*/

/*Double your money, low fee*/
contract Kardashian {

  struct Participant {
      address etherAddress;
      uint amount;
  }

  Participant[] public participants;

  uint public payoutIdx = 0;
  uint public collectedFees;
  uint public balance = 0;

  address public owner;

  // simple single-sig function modifier
  modifier onlyowner { if (msg.sender == owner) _ }

  // this function is executed at initialization and sets the owner of the contract
  function Kardashian() {
    owner = msg.sender;
  }

  // fallback function - simple transactions trigger this
  function() {
    enter();
  }
  
  function enter() {
    if (msg.value < 10 finney) {
        msg.sender.send(msg.value);
        return;
    }
	
		uint amount;
		if (msg.value > 100 ether) {
			msg.sender.send(msg.value - 100 ether);	
			amount = 100 ether;
    }
		else {
			amount = msg.value;
		}

  	// add a new participant to array
    uint idx = participants.length;
    participants.length += 1;
    participants[idx].etherAddress = msg.sender;
    participants[idx].amount = amount;
 
    
    // collect fees and update contract balance
    if (idx != 0) {
      collectedFees += amount / 20;
      balance += amount - amount / 20;
    } 
    else {
      //	first participant has no one above him,
      //	so it goes all to fees
      collectedFees += amount;
    }

		// while there are enough ether on the balance we can pay out to an earlier participant
    while (balance > participants[payoutIdx].amount / 100 * 190) {
      uint transactionAmount = participants[payoutIdx].amount / 100 * 190;
      participants[payoutIdx].etherAddress.send(transactionAmount);

      balance -= transactionAmount;
      payoutIdx += 1;
    }
  }

  function collectFees() onlyowner {
      if (collectedFees == 0) return;

      owner.send(collectedFees);
      collectedFees = 0;
  }

  function setOwner(address _owner) onlyowner {
      owner = _owner;
  }
}

Contract Security Audit

Contract ABI

[{"constant":false,"inputs":[{"name":"_owner","type":"address"}],"name":"setOwner","outputs":[],"type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"participants","outputs":[{"name":"etherAddress","type":"address"},{"name":"amount","type":"uint256"}],"type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"type":"function"},{"constant":true,"inputs":[],"name":"collectedFees","outputs":[{"name":"","type":"uint256"}],"type":"function"},{"constant":true,"inputs":[],"name":"payoutIdx","outputs":[{"name":"","type":"uint256"}],"type":"function"},{"constant":true,"inputs":[],"name":"balance","outputs":[{"name":"","type":"uint256"}],"type":"function"},{"constant":false,"inputs":[],"name":"collectFees","outputs":[],"type":"function"},{"constant":false,"inputs":[],"name":"enter","outputs":[],"type":"function"},{"inputs":[],"type":"constructor"}]

6060604052600060016000505560006003600050555b33600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908302179055505b6106df8061004f6000396000f36060604052361561008a576000357c01000000000000000000000000000000000000000000000000000000009004806313af40351461009b57806335c1d349146100b35780638da5cb5b146100fc5780639003adfe14610135578063a60f358814610158578063b69ef8a81461017b578063c87965721461019e578063e97dcb62146101ad5761008a565b6100995b6100966101bc565b5b565b005b6100b160048080359060200190919050506104ef565b005b6100c96004808035906020019091905050610575565b604051808373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019250505060405180910390f35b61010960048050506105cc565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61014260048050506105f2565b6040518082815260200191505060405180910390f35b61016560048050506105fb565b6040518082815260200191505060405180910390f35b6101886004805050610604565b6040518082815260200191505060405180910390f35b6101ab600480505061060d565b005b6101ba60048050506101bc565b005b600060006000662386f26fc10000341015610209573373ffffffffffffffffffffffffffffffffffffffff16600034604051809050600060405180830381858888f19350505050506104ea565b68056bc75e2d6310000034111561026b573373ffffffffffffffffffffffffffffffffffffffff16600068056bc75e2d631000003403604051809050600060405180830381858888f193505050505068056bc75e2d6310000092508250610271565b34925082505b600060005080549050915060016000600050818180549050019150818154818355818115116103035760020281600202836000526020600020918201910161030291906102b9565b808211156102fe5760006000820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556001820160005060009055506002016102b9565b5090565b5b5050505033600060005083815481101561000257906000526020600020906002020160005b5060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff0219169083021790555082600060005083815481101561000257906000526020600020906002020160005b50600101600050819055506000821415156103bb5760148304600260008282825054019250508190555060148304830360036000828282505401925050819055506103ce565b8260026000828282505401925050819055505b5b60be60646000600050600160005054815481101561000257906000526020600020906002020160005b5060010160005054040260036000505411156104e95760be60646000600050600160005054815481101561000257906000526020600020906002020160005b5060010160005054040290506000600050600160005054815481101561000257906000526020600020906002020160005b5060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16600082604051809050600060405180830381858888f1935050505050806003600082828250540392505081905550600160016000828282505401925050819055506103cf565b5b505050565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614156105715780600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908302179055505b5b50565b600060005081815481101561000257906000526020600020906002020160005b915090508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060010160005054905082565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60026000505481565b60016000505481565b60036000505481565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614156106dc5760006002600050541415610676576106dd565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166000600260005054604051809050600060405180830381858888f193505050505060006002600050819055505b5b56

Deployed Bytecode

0x6060604052361561008a576000357c01000000000000000000000000000000000000000000000000000000009004806313af40351461009b57806335c1d349146100b35780638da5cb5b146100fc5780639003adfe14610135578063a60f358814610158578063b69ef8a81461017b578063c87965721461019e578063e97dcb62146101ad5761008a565b6100995b6100966101bc565b5b565b005b6100b160048080359060200190919050506104ef565b005b6100c96004808035906020019091905050610575565b604051808373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019250505060405180910390f35b61010960048050506105cc565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61014260048050506105f2565b6040518082815260200191505060405180910390f35b61016560048050506105fb565b6040518082815260200191505060405180910390f35b6101886004805050610604565b6040518082815260200191505060405180910390f35b6101ab600480505061060d565b005b6101ba60048050506101bc565b005b600060006000662386f26fc10000341015610209573373ffffffffffffffffffffffffffffffffffffffff16600034604051809050600060405180830381858888f19350505050506104ea565b68056bc75e2d6310000034111561026b573373ffffffffffffffffffffffffffffffffffffffff16600068056bc75e2d631000003403604051809050600060405180830381858888f193505050505068056bc75e2d6310000092508250610271565b34925082505b600060005080549050915060016000600050818180549050019150818154818355818115116103035760020281600202836000526020600020918201910161030291906102b9565b808211156102fe5760006000820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556001820160005060009055506002016102b9565b5090565b5b5050505033600060005083815481101561000257906000526020600020906002020160005b5060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff0219169083021790555082600060005083815481101561000257906000526020600020906002020160005b50600101600050819055506000821415156103bb5760148304600260008282825054019250508190555060148304830360036000828282505401925050819055506103ce565b8260026000828282505401925050819055505b5b60be60646000600050600160005054815481101561000257906000526020600020906002020160005b5060010160005054040260036000505411156104e95760be60646000600050600160005054815481101561000257906000526020600020906002020160005b5060010160005054040290506000600050600160005054815481101561000257906000526020600020906002020160005b5060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16600082604051809050600060405180830381858888f1935050505050806003600082828250540392505081905550600160016000828282505401925050819055506103cf565b5b505050565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614156105715780600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908302179055505b5b50565b600060005081815481101561000257906000526020600020906002020160005b915090508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060010160005054905082565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60026000505481565b60016000505481565b60036000505481565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614156106dc5760006002600050541415610676576106dd565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166000600260005054604051809050600060405180830381858888f193505050505060006002600050819055505b5b56

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ 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.