Sponsored Link:   SHARPAY.io • Share button with blockchain profit • ICOBench TOP Project • 30% Bonus • Buy Now!
Contract Overview
Balance: 0.001668811511001621 Ether
Ether Value: $0.89 (@ $532.13/ETH)
Transactions: 1669 txns
Token Contract: POWHShadow (PWHS)
 Latest 25 txns from a total Of 1669 transactions
View All

TxHash Age From To Value [TxFee]
0xe949707e1c9420af86d281bd101e0278a0eb1719c4f7a6667170c152bd67c174101 days 15 hrs ago0x32e2fc92c0bebd9a2c386b611296cf12f4d3e831  IN   0x9f4fd6c336388f2ab7dc7bbe4740ae7b88b880d70 Ether0.000204756
0x1e3c6c180f872f99383efe1737dc45a2520bf1a880cd282a0b229a88c59e6a99109 days 18 hrs ago0x8877a6089c12f03e1d7b2aef24b2815590ec2d4a  IN   0x9f4fd6c336388f2ab7dc7bbe4740ae7b88b880d70 Ether0.000083914
0xa4a70c537965486229c6f83d325bf05a558c4af6380e61198b10359370c5fc22109 days 23 hrs ago0x8e0d985f3ec1857bec39b76aaabdea6b31b67d53  IN   0x9f4fd6c336388f2ab7dc7bbe4740ae7b88b880d70 Ether0.000042825
0xee583022e0468d7184d89a8101101940e0a12260e723e7583129d5419fb0d916111 days 18 hrs ago0x779a5c6d631997c0dfd78c9cdd227a16911268eb  IN   0x9f4fd6c336388f2ab7dc7bbe4740ae7b88b880d70 Ether0.000251742
0x8664e200360b9026f41008842caf2dc410637539d39ea7fe265ed1c14052daaf113 days 11 hrs ago0x7a3cd67fc7fc3c02b330a121d8a74075ccd8a0c7  IN   0x9f4fd6c336388f2ab7dc7bbe4740ae7b88b880d70 Ether0.000083914
0xeb6bed140ec2df9b1dd92e8857f6a2e059106774fd3c8dc008d787bfcf144285114 days 3 hrs ago0xde1740ad08de3f332351fd95202127d2b020c404  IN   0x9f4fd6c336388f2ab7dc7bbe4740ae7b88b880d70 Ether0.000045782
0x3f7bd0fee45d4363777fb68932cf2d28a2883f6da3cb47643de2ad384701deda114 days 8 hrs ago0xcf980af1bc849aea360084ce07afbb929ad066c7  IN   0x9f4fd6c336388f2ab7dc7bbe4740ae7b88b880d70 Ether0.003604597
0xacca082173687def3753e86c0b7a8c4f6cd83e3e91cc3806e12157950004eb2a114 days 8 hrs ago0x19ed10db2960b9b21283fdfde464e7bf3a87d05d  IN   0x9f4fd6c336388f2ab7dc7bbe4740ae7b88b880d70 Ether0.001868616
0xa7d5e912103d1495ad0d7e567c0c9901da029c967ea4759aa0f8c67d4474b085114 days 8 hrs ago0xde1740ad08de3f332351fd95202127d2b020c404  IN   0x9f4fd6c336388f2ab7dc7bbe4740ae7b88b880d70 Ether0.000081222
0xbb21a042c0b44506737d10be3f0a3f7a41faa9138ccd36527817f625cd652a3d114 days 9 hrs ago0x5cf2ed81398a014ae45aa254cc48e63850c71fa8  IN   0x9f4fd6c336388f2ab7dc7bbe4740ae7b88b880d70 Ether0.00040806
0xf4b2e0baeea028e1836c942c08b84ee146b686911d699287a3ee3efcfeddc19e114 days 9 hrs ago0x563d627866223fff880fcacd95d2ca210b06994f  IN   0x9f4fd6c336388f2ab7dc7bbe4740ae7b88b880d70.0000011 Ether0.000527608
0x829eb2a168f62ffcf245e7bf7152e48c030a97f233a526a5dc4848c4b3aa0adf114 days 9 hrs ago0x8dbae1872309118827e2ce5b302947f71de9d576  IN   0x9f4fd6c336388f2ab7dc7bbe4740ae7b88b880d70 Ether0.000465828
0x711d38c6463c6cca35156e68f03889974a6ec209f4b0295c5293518515762e73114 days 9 hrs ago0x8dbae1872309118827e2ce5b302947f71de9d576  IN   0x9f4fd6c336388f2ab7dc7bbe4740ae7b88b880d70 Ether0.000307655
0x59be628c36eb80b2aa655f7ef4eac4282e3bbe50a11b0f3173f88e4a25124dce114 days 9 hrs ago0x31a6a87a3293fd15d63ca995ce3330f27988b922  IN   0x9f4fd6c336388f2ab7dc7bbe4740ae7b88b880d70 Ether0.00061209
0x880a297e79cfff057ffc9a224fc82b8cc2c8e89ff3fa497ca4ec8053d6eed94a114 days 9 hrs ago0x563d627866223fff880fcacd95d2ca210b06994f  IN   0x9f4fd6c336388f2ab7dc7bbe4740ae7b88b880d70.0000011 Ether0.000395706
0xf26bac1570fed19179e7ba6616139e538fc059176a799d23d7583a5252ded189114 days 9 hrs ago0x8dbae1872309118827e2ce5b302947f71de9d576  IN   0x9f4fd6c336388f2ab7dc7bbe4740ae7b88b880d70 Ether0.000285828
0xeba0dda317ef77cc5cb47703662b0795cfc4aab0ad1f2eb86129a9bc8cc5f82d114 days 9 hrs ago0x8dbae1872309118827e2ce5b302947f71de9d576  IN   0x9f4fd6c336388f2ab7dc7bbe4740ae7b88b880d70 Ether0.000307655
0xdaa9d48dcfa05ea4886036783a5e2a7fae20d73ff641ea1229b4e2b51f3916b7114 days 9 hrs ago0x563d627866223fff880fcacd95d2ca210b06994f  IN   0x9f4fd6c336388f2ab7dc7bbe4740ae7b88b880d70.0000011 Ether0.000329755
0x4d81ae43934a9c13948270919fc29b82df65f70235175a33f5e7f1b812f22dbd114 days 9 hrs ago0x8dbae1872309118827e2ce5b302947f71de9d576  IN   0x9f4fd6c336388f2ab7dc7bbe4740ae7b88b880d70 Ether0.00038947
0x0bb6b88188e995c487159b37d59b11fc7834ea820d837bd1514d528c991959eb114 days 9 hrs ago0x8dbae1872309118827e2ce5b302947f71de9d576  IN   0x9f4fd6c336388f2ab7dc7bbe4740ae7b88b880d70 Ether0.000307655
0xbf803f0077d21b436b091b99b9a9d29aee3521ff04e623e7ea46d37b0fba6940114 days 9 hrs ago0x8dbae1872309118827e2ce5b302947f71de9d576  IN   0x9f4fd6c336388f2ab7dc7bbe4740ae7b88b880d70 Ether0.000364585
0x221bfc7058366428493826bdd340cbedb3983a5e15dcf9633ab79bab6235babd114 days 10 hrs ago0x8dbae1872309118827e2ce5b302947f71de9d576  IN   0x9f4fd6c336388f2ab7dc7bbe4740ae7b88b880d70 Ether0.00042119
0x58bc18c91d71f610f573cb93c291839a658a505aa8e898d47a452b4b52996a17114 days 10 hrs ago0x563d627866223fff880fcacd95d2ca210b06994f  IN   0x9f4fd6c336388f2ab7dc7bbe4740ae7b88b880d70 Ether0.00022948
0x0a3f51677bf55c72a06a88515242fa12f8018030ad5a0664358d3d8a2f4dce1a114 days 10 hrs ago0xdb1c3b27f5b0c894ca11365255139217bac1eda6  IN   0x9f4fd6c336388f2ab7dc7bbe4740ae7b88b880d70 Ether0.000051445
0xbda01403dee62c6d5d2e1d497e9b0524edeb9ecd9ee61cea0e658a1a009b06c3114 days 10 hrs ago0x3d48fc8127a940a4fac670a34528fd3c78454b7c  IN   0x9f4fd6c336388f2ab7dc7bbe4740ae7b88b880d70 Ether0.00027119
[ Download CSV Export  ] 
 Internal Transactions as a result of Contract Execution
 Latest 25 Internal Txns, Click here to View More View All
ParentTxHash Block Age From To Value
0xbb21a042c0b44506737d10be3f0a3f7a41faa9138ccd36527817f625cd652a3d5020167114 days 9 hrs ago0x9f4fd6c336388f2ab7dc7bbe4740ae7b88b880d70x5cf2ed81398a014ae45aa254cc48e63850c71fa80.061114162568637249 Ether
0x59be628c36eb80b2aa655f7ef4eac4282e3bbe50a11b0f3173f88e4a25124dce5020135114 days 9 hrs ago0x9f4fd6c336388f2ab7dc7bbe4740ae7b88b880d70x31a6a87a3293fd15d63ca995ce3330f27988b9220.336471944058320106 Ether
0x30a9aff68819ce9d5604d6a2b31e670502defb67a01653a2ec099124daf4c01c5015009115 days 6 hrs ago0x9f4fd6c336388f2ab7dc7bbe4740ae7b88b880d70x6229cf71deccb5d87767e747f5a5c7738db7e40f0.001888739782279794 Ether
0xa913b8591f1355481bf760de74a05d97423492f4d1555668e50d5b42744f80b85014748115 days 7 hrs ago0x9f4fd6c336388f2ab7dc7bbe4740ae7b88b880d70x10995e3aeb79bf1ed250049beeb9e185785c9a8c13.650823930173084188 Ether
0xf8c77b539211bc3bc4abb1779d753535195fa3868456bf22a921f419e5d34e375014576115 days 8 hrs ago0x9f4fd6c336388f2ab7dc7bbe4740ae7b88b880d70x5941a5e599ebc44cd894f30db52a4398e3f305fb506.084598072427218589 Ether
0x8a583eab384d986ae9d7e8c5ce24682da6988c94ba12bb8e239c5fc01b7fd3ee5014560115 days 8 hrs ago0x9f4fd6c336388f2ab7dc7bbe4740ae7b88b880d70x3396135d707d7039821bef849b570c2172d62e51280.243341326521317739 Ether
0x59fc19451161f00d1211924209bdbe3651941eccd00713c2150c0fdb52fe00e75014540115 days 8 hrs ago0x9f4fd6c336388f2ab7dc7bbe4740ae7b88b880d70x1b2a8c6e1d1887bae0a2bc67fd0bc9ae2f33dcb355.169169628711825792 Ether
0x05cc6f15c72bea3e6b2e8f4d3e024d492667cdd52cebfae42cd416ed6219d5235014506115 days 8 hrs ago0x9f4fd6c336388f2ab7dc7bbe4740ae7b88b880d70x1b2a8c6e1d1887bae0a2bc67fd0bc9ae2f33dcb32.782605847928166124 Ether
0x232e8587f0a512e437876d5ffe288658f2c9e4f538576026918cbc10cf06c58a5003309117 days 6 hrs ago0x9f4fd6c336388f2ab7dc7bbe4740ae7b88b880d70x736a02d543a28b6ed2f5af6f0852bf0921c445990.241321557721107455 Ether
0xa9561722a7da63152f72254f2d1065196a9941dd4cdfc16c53f7be9140f3baa75003298117 days 6 hrs ago0x9f4fd6c336388f2ab7dc7bbe4740ae7b88b880d70x03325a7901b392f2668b94f4b3d43b73680e3eb40.034763572819653193 Ether
0xa51503d1ee8e359f1109029413f3d44e7d7abfd50e7bf0f78035a458bd4cc7a15003297117 days 6 hrs ago0x9f4fd6c336388f2ab7dc7bbe4740ae7b88b880d70x01cda25972d33da6bf1aacf7714a0ad883a684640.036009523956166742 Ether
0xf8b759dc5efa5db664374438fc472de856d46179cc889677315d6c54d99e96e05003297117 days 6 hrs ago0x9f4fd6c336388f2ab7dc7bbe4740ae7b88b880d70xcde993b6cc5cf39a3087fa166a81769f924146f60.000061670767971592 Ether
0x783d481555a692848d9ac24b85932078fe41aa4fc552d5bcfc685375a11c179a5003297117 days 6 hrs ago0x9f4fd6c336388f2ab7dc7bbe4740ae7b88b880d70x5096acf1a026c89c72090401582926562711b3c30.041252388136261537 Ether
0x540bf747e32ab3163036622d55ff74eba6b22658819e95658e81833003cb5a0e5003294117 days 6 hrs ago0x9f4fd6c336388f2ab7dc7bbe4740ae7b88b880d70xcde993b6cc5cf39a3087fa166a81769f924146f60.052583247117991053 Ether
0x68e519473f17ac2691d10ec4f6b0c5a137e30b0e921cbc7a14a7f0c1c5d1b13f5003291117 days 6 hrs ago0x9f4fd6c336388f2ab7dc7bbe4740ae7b88b880d70xb0087b3f980571ea0e465c8fb4640a3fef4e72920.04113661410305632 Ether
0xae24951d235c72a75beb26bea808090c2e5fc4acf29b27bb24a0f80566a3480e5003290117 days 6 hrs ago0x9f4fd6c336388f2ab7dc7bbe4740ae7b88b880d70x6098ae21c3c715da4c555de7941ce467702713dd0.45571532159026325 Ether
0x6246621de73aea1a7223744bb3a61631a39a461d1f9acf89607fb251477d71c85003283117 days 6 hrs ago0x9f4fd6c336388f2ab7dc7bbe4740ae7b88b880d70x0534b11e6150ae0578d3f5a1931515f220f206340.033793181336860823 Ether
0xe5ea6679707d99f2573074165237b423586dabb6abfc9d77d43fd4b39bf50d2a5003281117 days 6 hrs ago0x9f4fd6c336388f2ab7dc7bbe4740ae7b88b880d70x044861b4070d42125b6593ba99b5275aa508d6ff0.022943532504114523 Ether
0x268f12f7e37ef4ce1b8dd07b74f699652cedfd37efac462770c9afc17d7471235003281117 days 6 hrs ago0x9f4fd6c336388f2ab7dc7bbe4740ae7b88b880d70x3b59ed89749087f8d682c031064fc06b9c9976120.039656611834094668 Ether
0xd7e33856f91d67a466a113d48b29d1cf752eb3ae33854a13fedf0c4656bbfe965003274117 days 6 hrs ago0x9f4fd6c336388f2ab7dc7bbe4740ae7b88b880d70x74102f15b68b8ae3e53e29a8a1a4ca04dbbe1b8d0.530461094196224272 Ether
0xb0c866163e0bde7fc0f4791078c337adf5352de3d949690bda40d86db582c2f75003273117 days 6 hrs ago0x9f4fd6c336388f2ab7dc7bbe4740ae7b88b880d70x8388f757332371f89c397d1ee9cf68e856fb249c0.006371746829512918 Ether
0x6d6ad8e2c52ac268c2b36ce72d6a43f5239276692e45ac62ba09bfaeaf7a78d55003261117 days 6 hrs ago0x9f4fd6c336388f2ab7dc7bbe4740ae7b88b880d70x0534b11e6150ae0578d3f5a1931515f220f206340.018986551768877088 Ether
0xa58c21bbdff5626910c7d73032bb388292b9711ffd1c305bc8cabf216a390b325003260117 days 6 hrs ago0x9f4fd6c336388f2ab7dc7bbe4740ae7b88b880d70xda9dd1d5650771e114525838d1158c78d99c916b0.033649881544056287 Ether
0x7c009a8413cd6c9a3ef213a9145e635996dc830a8f5e6dfce0439d79e15708f45003260117 days 6 hrs ago0x9f4fd6c336388f2ab7dc7bbe4740ae7b88b880d70x3b59ed89749087f8d682c031064fc06b9c9976120.009096027713715216 Ether
0xe5cfc5c8d2581b517f4a5dd348cdb217bb06e14dc473cb6c31e255db2918419d5003258117 days 6 hrs ago0x9f4fd6c336388f2ab7dc7bbe4740ae7b88b880d70x9b2419c74d656d52b2d119674a8cc75e40fb49e20.02197481028300978 Ether
[ Download CSV Export  ] 
Contract Source Code Verified (Exact match)
Contract Name: PonziToken
Compiler Version: v0.4.18+commit.9cf6e910
Optimization Enabled: Yes
Runs (Optimiser):  200



  Contract Source Code   Find Similiar Contracts

pragma solidity ^0.4.18;

// If you wanna escape this contract REALLY FAST
// 1. open MEW/METAMASK
// 2. Put this as data: 0xb1e35242
// 3. send 150000+ gas
// That calls the getMeOutOfHere() method
// Remember, cashout fee is 10% :^)

// PROOF OF STEEL HANDS Version, 10% Fee on Purchase and Sell
contract PonziToken {
	uint256 constant PRECISION = 0x10000000000000000;  // 2^64
	// CRR = 50%
	int constant CRRN = 1;
	int constant CRRD = 2;
	// The price coefficient. Chosen such that at 1 token total supply
	// the reserve is 0.5ether and price 1 ether/token.
	// stop being a memelord no this does not mean only 50% of people can cash out
	int constant LOGC = -0x296ABF784A358468C;
	
	string constant public name = "POWHShadow";
	string constant public symbol = "PWHS";
	uint8 constant public decimals = 18;
	uint256 public totalSupply;
	// amount of shares for each address (scaled number)
	mapping(address => uint256) public balanceOfOld;
	// allowance map, see erc20
	mapping(address => mapping(address => uint256)) public allowance;
	// amount payed out for each address (scaled number)
	mapping(address => int256) payouts;
	// sum of all payouts (scaled number)
	int256 totalPayouts;
	// amount earned for each share (scaled number)
	uint256 earningsPerShare;
	
	event Transfer(address indexed from, address indexed to, uint256 value);
    event Approval(address indexed owner, address indexed spender, uint256 value);

	//address owner;

	function PonziToken() public {
		//owner = msg.sender;
	}
	
	// These are functions solely created to appease the frontend
	function balanceOf(address _owner) public constant returns (uint256 balance) {
        return balanceOfOld[_owner];
    }

	function withdraw(uint tokenCount) // the parameter is ignored, yes
      public
      returns (bool)
    {
		var balance = dividends(msg.sender);
		payouts[msg.sender] += (int256) (balance * PRECISION);
		totalPayouts += (int256) (balance * PRECISION);
		msg.sender.transfer(balance);
		return true;
    }
	
	function sellMyTokensDaddy() public {
		var balance = balanceOf(msg.sender);
		transferTokens(msg.sender, address(this),  balance); // this triggers the internal sell function
	}

    function getMeOutOfHere() public {
		sellMyTokensDaddy();
        withdraw(1); // parameter is ignored
	}
	
	function fund()
      public
      payable 
      returns (bool)
    {
      if (msg.value > 0.000001 ether)
			buy();
		else
			return false;
	  
      return true;
    }

	function buyPrice() public constant returns (uint) {
		return getTokensForEther(1 finney);
	}
	
	function sellPrice() public constant returns (uint) {
		return getEtherForTokens(1 finney);
	}

	// End of useless functions

	// Invariants
	// totalPayout/Supply correct:
	//   totalPayouts = \sum_{addr:address} payouts(addr)
	//   totalSupply  = \sum_{addr:address} balanceOfOld(addr)
	// dividends not negative:
	//   \forall addr:address. payouts[addr] <= earningsPerShare * balanceOfOld[addr]
	// supply/reserve correlation:
	//   totalSupply ~= exp(LOGC + CRRN/CRRD*log(reserve())
	//   i.e. totalSupply = C * reserve()**CRR
	// reserve equals balance minus payouts
	//   reserve() = this.balance - \sum_{addr:address} dividends(addr)

	function transferTokens(address _from, address _to, uint256 _value) internal {
		if (balanceOfOld[_from] < _value)
			revert();
		if (_to == address(this)) {
			sell(_value);
		} else {
		    int256 payoutDiff = (int256) (earningsPerShare * _value);
		    balanceOfOld[_from] -= _value;
		    balanceOfOld[_to] += _value;
		    payouts[_from] -= payoutDiff;
		    payouts[_to] += payoutDiff;
		}
		Transfer(_from, _to, _value);
	}
	
	function transfer(address _to, uint256 _value) public {
	    transferTokens(msg.sender, _to,  _value);
	}
	
    function transferFrom(address _from, address _to, uint256 _value) public {
        var _allowance = allowance[_from][msg.sender];
        if (_allowance < _value)
            revert();
        allowance[_from][msg.sender] = _allowance - _value;
        transferTokens(_from, _to, _value);
    }

    function approve(address _spender, uint256 _value) public {
        // To change the approve amount you first have to reduce the addresses`
        //  allowance to zero by calling `approve(_spender, 0)` if it is not
        //  already 0 to mitigate the race condition described here:
        //  https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
        if ((_value != 0) && (allowance[msg.sender][_spender] != 0)) revert();
        allowance[msg.sender][_spender] = _value;
        Approval(msg.sender, _spender, _value);
    }

	function dividends(address _owner) public constant returns (uint256 amount) {
		return (uint256) ((int256)(earningsPerShare * balanceOfOld[_owner]) - payouts[_owner]) / PRECISION;
	}

	function withdrawOld(address to) public {
		var balance = dividends(msg.sender);
		payouts[msg.sender] += (int256) (balance * PRECISION);
		totalPayouts += (int256) (balance * PRECISION);
		to.transfer(balance);
	}

	function balance() internal constant returns (uint256 amount) {
		return this.balance - msg.value;
	}
	function reserve() public constant returns (uint256 amount) {
		return balance()
			- ((uint256) ((int256) (earningsPerShare * totalSupply) - totalPayouts) / PRECISION) - 1;
	}

	function buy() internal {
		if (msg.value < 0.000001 ether || msg.value > 1000000 ether)
			revert();
		var sender = msg.sender;
		// 10 % of the amount is used to pay holders.
		var fee = (uint)(msg.value / 10);
		
		// compute number of bought tokens
		var numEther = msg.value - fee;
		var numTokens = getTokensForEther(numEther);

		var buyerfee = fee * PRECISION;
		if (totalSupply > 0) {
			// compute how the fee distributed to previous holders and buyer.
			// The buyer already gets a part of the fee as if he would buy each token separately.
			var holderreward =
			    (PRECISION - (reserve() + numEther) * numTokens * PRECISION / (totalSupply + numTokens) / numEther)
			    * (uint)(CRRD) / (uint)(CRRD-CRRN);
			var holderfee = fee * holderreward;
			buyerfee -= holderfee;
		
			// Fee is distributed to all existing tokens before buying
			var feePerShare = holderfee / totalSupply;
			earningsPerShare += feePerShare;
		}
		// add numTokens to total supply
		totalSupply += numTokens;
		// add numTokens to balance
		balanceOfOld[sender] += numTokens;
		// fix payouts so that sender doesn't get old earnings for the new tokens.
		// also add its buyerfee
		var payoutDiff = (int256) ((earningsPerShare * numTokens) - buyerfee);
		payouts[sender] += payoutDiff;
		totalPayouts += payoutDiff;
	}
	
	function sell(uint256 amount) internal {
		var fees = (uint)(getEtherForTokens(amount)/10);
		var numEthers = getEtherForTokens(amount) - fees;
		// remove tokens
		totalSupply -= amount;
		balanceOfOld[msg.sender] -= amount;
		
		// fix payouts and put the ethers in payout
		var payoutDiff = (int256) (earningsPerShare * amount + (numEthers * PRECISION));
		payouts[msg.sender] -= payoutDiff;
		totalPayouts -= payoutDiff;

	}
	function getTokensForEther(uint256 ethervalue) public constant returns (uint256 tokens) {
		return fixedExp(fixedLog(reserve() + ethervalue)*CRRN/CRRD + LOGC) - totalSupply;
	}

	function getEtherForTokens(uint256 tokens) public constant returns (uint256 ethervalue) {
		if (tokens == totalSupply)
			return reserve();
		return reserve() - fixedExp((fixedLog(totalSupply - tokens) - LOGC) * CRRD/CRRN);
	}

	int256 constant one       = 0x10000000000000000;
	uint256 constant sqrt2    = 0x16a09e667f3bcc908;
	uint256 constant sqrtdot5 = 0x0b504f333f9de6484;
	int256 constant ln2       = 0x0b17217f7d1cf79ac;
	int256 constant ln2_64dot5= 0x2cb53f09f05cc627c8;
	int256 constant c1        = 0x1ffffffffff9dac9b;
	int256 constant c3        = 0x0aaaaaaac16877908;
	int256 constant c5        = 0x0666664e5e9fa0c99;
	int256 constant c7        = 0x049254026a7630acf;
	int256 constant c9        = 0x038bd75ed37753d68;
	int256 constant c11       = 0x03284a0c14610924f;

	function fixedLog(uint256 a) internal pure returns (int256 log) {
		int32 scale = 0;
		while (a > sqrt2) {
			a /= 2;
			scale++;
		}
		while (a <= sqrtdot5) {
			a *= 2;
			scale--;
		}
		int256 s = (((int256)(a) - one) * one) / ((int256)(a) + one);
		// The polynomial R = c1*x + c3*x^3 + ... + c11 * x^11
		// approximates the function log(1+x)-log(1-x)
		// Hence R(s) = log((1+s)/(1-s)) = log(a)
		var z = (s*s) / one;
		return scale * ln2 +
			(s*(c1 + (z*(c3 + (z*(c5 + (z*(c7 + (z*(c9 + (z*c11/one))
				/one))/one))/one))/one))/one);
	}

	int256 constant c2 =  0x02aaaaaaaaa015db0;
	int256 constant c4 = -0x000b60b60808399d1;
	int256 constant c6 =  0x0000455956bccdd06;
	int256 constant c8 = -0x000001b893ad04b3a;
	function fixedExp(int256 a) internal pure returns (uint256 exp) {
		int256 scale = (a + (ln2_64dot5)) / ln2 - 64;
		a -= scale*ln2;
		// The polynomial R = 2 + c2*x^2 + c4*x^4 + ...
		// approximates the function x*(exp(x)+1)/(exp(x)-1)
		// Hence exp(x) = (R(x)+x)/(R(x)-x)
		int256 z = (a*a) / one;
		int256 R = ((int256)(2) * one) +
			(z*(c2 + (z*(c4 + (z*(c6 + (z*c8/one))/one))/one))/one);
		exp = (uint256) (((R + a) * one) / (R - a));
		if (scale >= 0)
			exp <<= scale;
		else
			exp >>= -scale;
		return exp;
	}

	/*function destroy() external {
	    selfdestruct(owner);
	}*/

	function () payable public {
		if (msg.value > 0)
			buy();
		else
			withdrawOld(msg.sender);
	}
}

    Contract ABI  
[{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_value","type":"uint256"}],"name":"approve","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_from","type":"address"},{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transferFrom","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"balanceOfOld","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"tokenCount","type":"uint256"}],"name":"withdraw","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"to","type":"address"}],"name":"withdrawOld","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"sellPrice","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"ethervalue","type":"uint256"}],"name":"getTokensForEther","outputs":[{"name":"tokens","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"}],"name":"dividends","outputs":[{"name":"amount","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"}],"name":"balanceOf","outputs":[{"name":"balance","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"sellMyTokensDaddy","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"buyPrice","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transfer","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"getMeOutOfHere","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"fund","outputs":[{"name":"","type":"bool"}],"payable":true,"stateMutability":"payable","type":"function"},{"constant":true,"inputs":[{"name":"tokens","type":"uint256"}],"name":"getEtherForTokens","outputs":[{"name":"ethervalue","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"reserve","outputs":[{"name":"amount","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"},{"name":"","type":"address"}],"name":"allowance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"anonymous":false,"inputs":[{"indexed":true,"name":"from","type":"address"},{"indexed":true,"name":"to","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"owner","type":"address"},{"indexed":true,"name":"spender","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Approval","type":"event"}]

  Contract Creation Code Switch To Opcodes View
6060604052341561000f57600080fd5b610cba8061001e6000396000f30060606040526004361061011c5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde03811461013d578063095ea7b3146101c757806318160ddd146101e957806323b872dd1461020e578063276c9d0a146102365780632e1a7d4d14610255578063313ce5671461027f57806339ffe67c146102a85780634b750334146102c757806362dbf261146102da57806368306e43146102f057806370a082311461030f57806375c7d4e11461032e5780638620410b1461034157806395d89b4114610354578063a9059cbb14610367578063b1e3524214610389578063b60d42881461039c578063b9f308f2146103a4578063cd3293de146103ba578063dd62ed3e146103cd575b60003411156101325761012d6103f2565b61013b565b61013b3361050e565b005b341561014857600080fd5b61015061057d565b60405160208082528190810183818151815260200191508051906020019080838360005b8381101561018c578082015183820152602001610174565b50505050905090810190601f1680156101b95780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156101d257600080fd5b61013b600160a060020a03600435166024356105b4565b34156101f457600080fd5b6101fc610655565b60405190815260200160405180910390f35b341561021957600080fd5b61013b600160a060020a036004358116906024351660443561065b565b341561024157600080fd5b6101fc600160a060020a03600435166106cb565b341561026057600080fd5b61026b6004356106dd565b604051901515815260200160405180910390f35b341561028a57600080fd5b61029261074f565b60405160ff909116815260200160405180910390f35b34156102b357600080fd5b61013b600160a060020a036004351661050e565b34156102d257600080fd5b6101fc610754565b34156102e557600080fd5b6101fc60043561076c565b34156102fb57600080fd5b6101fc600160a060020a03600435166107ae565b341561031a57600080fd5b6101fc600160a060020a03600435166107e4565b341561033957600080fd5b61013b6107ff565b341561034c57600080fd5b6101fc61081a565b341561035f57600080fd5b61015061082c565b341561037257600080fd5b61013b600160a060020a0360043516602435610863565b341561039457600080fd5b61013b61086e565b61026b610880565b34156103af57600080fd5b6101fc6004356108aa565b34156103c557600080fd5b6101fc6108f8565b34156103d857600080fd5b6101fc600160a060020a0360043581169060243516610925565b600080600080600080600080600064e8d4a5100034108061041c575069d3c21bcecceda100000034115b1561042657600080fd5b339850600a34049750873403965061043d8761076c565b9550604060020a880294506000805411156104bf5760016002036002888860005401604060020a8a8c61046e6108f8565b01020281151561047a57fe5b0481151561048457fe5b04604060020a030281151561049557fe5b04935083880292508285039450600054838115156104af57fe5b6005805492909104918201905591505b50506000805485018155600160a060020a039097168752505060016020908152604080872080548501905560055460039092529095208054959092020393840190555050600480549091019055565b6000610519336107ae565b600160a060020a03338116600090815260036020526040908190208054604060020a850290810190915560048054909101905591925083169082156108fc0290839051600060405180830381858888f19350505050151561057957600080fd5b5050565b60408051908101604052600a81527f504f5748536861646f7700000000000000000000000000000000000000000000602082015281565b80158015906105e75750600160a060020a0333811660009081526002602090815260408083209386168352929052205415155b156105f157600080fd5b600160a060020a03338116600081815260026020908152604080832094871680845294909152908190208490557f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259084905190815260200160405180910390a35050565b60005481565b600160a060020a03808416600090815260026020908152604080832033909416835292905220548181101561068f57600080fd5b600160a060020a0380851660009081526002602090815260408083203390941683529290522082820390556106c5848484610942565b50505050565b60016020526000908152604090205481565b6000806106e9336107ae565b600160a060020a033316600081815260036020526040908190208054604060020a85029081019091556004805490910190559192509082156108fc0290839051600060405180830381858888f19350505050151561074657600080fd5b50600192915050565b601281565b600061076666038d7ea4c680006108aa565b90505b90565b600080546107a5680296abf784a358468b19600260016107948761078e6108f8565b01610a33565b0281151561079e57fe5b0501610b18565b0390505b919050565b600160a060020a0316600090815260036020908152604080832054600190925290912054600554604060020a9102919091030490565b600160a060020a031660009081526001602052604090205490565b600061080a336107e4565b9050610817333083610942565b50565b600061076666038d7ea4c6800061076c565b60408051908101604052600481527f5057485300000000000000000000000000000000000000000000000000000000602082015281565b610579338383610942565b6108766107ff565b61081760016106dd565b600064e8d4a5100034111561089c576108976103f2565b6108a4565b506000610769565b50600190565b600080548214156108c4576108bd6108f8565b90506107a9565b6108f460016002680296abf784a358468b196108e38660005403610a33565b03028115156108ee57fe5b05610b18565b6107a55b60006001604060020a600454600054600554020381151561091557fe5b0461091e610bfc565b0303905090565b600260209081526000928352604080842090915290825290205481565b600160a060020a0383166000908152600160205260408120548290101561096857600080fd5b30600160a060020a031683600160a060020a031614156109905761098b82610c0c565b6109e6565b50600554600160a060020a03808516600081815260016020908152604080832080548890039055938716808352848320805488019055928252600390528281208054948602948590039055908152208054820190555b82600160a060020a031684600160a060020a03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405190815260200160405180910390a350505050565b60008080805b68016a09e667f3bcc908851115610a5b57600285049450600190920191610a39565b5b67b504f333f9de64848511610a7e576002949094029360001990920191610a5c565b604060020a8501604060020a80870302811515610a9757fe5b05915050604060020a818002819005906801ffffffffff9dac9b67666664e5e9fa0c996738bd75ed37753d68673284a0c14610924f85028490050184028390056749254026a7630acf01840283900501830282900567aaaaaaac168779080183028290050183020567b17217f7d1cf79ac8460030b02019350505050919050565b6000808080604067b17217f7d1cf79ac682cb53f09f05cc627c887010503925067b17217f7d1cf79ac830285039450604060020a858602811515610b5857fe5b059150604060020a672aaaaaaaaa015db0660455956bccdd06651b893ad04b3919850283900501840282900566b60b60808399d01901840282900501830205604060020a600202019050848103604060020a86830102811515610bb757fe5b05935060008312610bdb5782846000821215610bcf57fe5b9060020a029350610bf4565b82600003846000821215610beb57fe5b9060020a900493505b505050919050565b34600160a060020a033016310390565b6000806000600a610c1c856108aa565b811515610c2557fe5b04925082610c32856108aa565b60008054879003815533600160a060020a0316815260016020908152604080832080548a900390556005546003909252909120805493909203604060020a029602959095019081900390945550506004805492909203909155505600a165627a7a7230582005e743977a50068b9c9578f15b3acf4aa09c53b93c1862db27f8e186dc9ac6040029

   Swarm Source:
bzzr://05e743977a50068b9c9578f15b3acf4aa09c53b93c1862db27f8e186dc9ac604

 

View All
Block Age txn Difficulty GasUsed Reward
View All
Block Age UncleNumber Difficulty GasUsed Reward
Make sure to use the "downvote" button for any spammy posts, and the "upvote" for interesting conversations.