Contract 0x3f1d986b03a7ec829ed915708bfb57786b4690c5

Contract Overview

Balance:
87.2869875281 Ether
TxHash Block Age From To Value [TxFee]
0xa45b26f6bb69a459daef1d967190d56bc116f2126deae4b2e7a32422586c9a483128257163 days 1 hr ago0x31b98d14007bdee637298086988a0bbd31184523 IN  0x3f1d986b03a7ec829ed915708bfb57786b4690c518.75 Ether0.000021
0x974ded62e7cdd88f18da5472c1962e717f32c224615db4f03a20b6dfef07bfdb3062201174 days 13 hrs ago0xa2a7c2971b960f820b7a0bb1fff1aaceed916c6f IN  0x3f1d986b03a7ec829ed915708bfb57786b4690c50 Ether0.000099388
0x2671ed23c641521190abf65cd492415df494813e79d005bf6a527955259abc883061341174 days 16 hrs ago0x81b2014537135e7d7ced3e04bce32a96ad72fa84 IN  0x3f1d986b03a7ec829ed915708bfb57786b4690c50.11 Ether0.000035108
0x3111ed6812a937f9c52d924963a917b5ae391c26d7b06795af48ca31b7f2d3d73060702174 days 19 hrs ago0x81b2014537135e7d7ced3e04bce32a96ad72fa84 IN  0x3f1d986b03a7ec829ed915708bfb57786b4690c50.01 Ether0.000050108
0xcfe04e0fc6493309eb6c6cdd4914708632386d767d6028d5aeac02fb56988fd23059379175 days 53 mins ago0x0d4e7101a51a0a3d6bc93431cc1ceb12ea03feaa IN  0x3f1d986b03a7ec829ed915708bfb57786b4690c50 Ether0.000046178
0xb5b02cbdc759dfd0079f24f55dcf51b47068e81ce3fba50d4332377eaac817513059359175 days 58 mins ago0x45000e1345bf74fc92893b4ef981bff668db97b9 IN  0x3f1d986b03a7ec829ed915708bfb57786b4690c50.01 Ether0.000035204
0x7983463f4adaf25c29627a8b07bc111c772066c822b6ff572fc42c2687e559403059260175 days 1 hr ago0x0d4e7101a51a0a3d6bc93431cc1ceb12ea03feaa IN  0x3f1d986b03a7ec829ed915708bfb57786b4690c50.01 Ether0.000035108
0x82f02300bedb6602dd0559a3d1d77a36efff122104b9f062ae3d69b04974bbec3059243175 days 1 hr ago0x579ed6dc721a053ff5933418f3096e4c0a627f74 IN  0x3f1d986b03a7ec829ed915708bfb57786b4690c50.01 Ether0.000035108
0x077bd43a6feea9ce8ad86b137d7c58a833d71d67b3c5ee763731fd9649f5320b3059239175 days 1 hr ago0x0d4e7101a51a0a3d6bc93431cc1ceb12ea03feaa IN  0x3f1d986b03a7ec829ed915708bfb57786b4690c50.01 Ether0.000035108
0xf1c80abc8c6ba15e067a4eaafdefa111d72df4bfe876e14b83bf5dc912eaae613059236175 days 1 hr ago0x579ed6dc721a053ff5933418f3096e4c0a627f74 IN  0x3f1d986b03a7ec829ed915708bfb57786b4690c50.01 Ether0.000035108
0xb6d20c4bf2d9ac0a18aa7faac63f68d09e13227e2814a10f68df6cb24eff17d83059235175 days 1 hr ago0x579ed6dc721a053ff5933418f3096e4c0a627f74 IN  0x3f1d986b03a7ec829ed915708bfb57786b4690c50.01 Ether0.000035108
0x597d99f7474e53ba8be6b1425704f3514bf97c02580040ebbba01bbce5872a012962471191 days 20 hrs ago0x45000e1345bf74fc92893b4ef981bff668db97b9 IN  0x3f1d986b03a7ec829ed915708bfb57786b4690c50.01 Ether0.000035204
0x227f91d11abd3eda5ff41e00d6f71e15c8d6ea55536c08f3040fd5b699ad54382962453191 days 20 hrs ago0xc8fc380c9020c2b0f22fbf92c9b59343e650ea81 IN  0x3f1d986b03a7ec829ed915708bfb57786b4690c50.01 Ether0.000035108
0x50aa11dae135489c5a6901021b97034a606977e05e3cba2dc651cb55dee579b82962425191 days 20 hrs ago0x45000e1345bf74fc92893b4ef981bff668db97b9 IN  0x3f1d986b03a7ec829ed915708bfb57786b4690c50.01 Ether0.000035204
0x36b978b5cc2e5afd31576d34532105a97e0c30abfbbdd03c08df7a6e63f65a9a2962370191 days 21 hrs ago0x9c02f6d4e114d6ecff9859ff3d9080d9259b843c IN  0x3f1d986b03a7ec829ed915708bfb57786b4690c51 Ether0.000105324
0x5e76ed36f78c3ba832d83a202f5d2b4def527875907c52f805575d53d5ccd31c2962366191 days 21 hrs ago0x003b927748d163b67e72e419b43249ef3abb07df IN  0x3f1d986b03a7ec829ed915708bfb57786b4690c51 Ether0.000150324
0x6bfbed4a6e8c1dcae812412c8d3618cb4f8417b8adc85f382d070990e70be4a42962359191 days 21 hrs ago0xb8cc09c2faf4bdf0a4d056a9dc3991038f018bd8 IN  0x3f1d986b03a7ec829ed915708bfb57786b4690c51 Ether0.000050108
0x2accd34e63350f3239eb3952e1fe2fd5c5e19d392c900f7cb9de5835d373a5362961691191 days 23 hrs ago0xa2a7c2971b960f820b7a0bb1fff1aaceed916c6f IN  0x3f1d986b03a7ec829ed915708bfb57786b4690c50 Ether0.000085592
0x98cde7dded58bd45c53bed318c53b8430d883497be0e2d65cf7a2b718d0ee1762961685191 days 23 hrs ago0x9c02f6d4e114d6ecff9859ff3d9080d9259b843c IN  0x3f1d986b03a7ec829ed915708bfb57786b4690c50 Ether0.000046178
0x512953b282d5889a18380c9a56f905603e514f478f04c35b7d58243f184c92f32961650192 days 8 mins ago0x45000e1345bf74fc92893b4ef981bff668db97b9 IN  0x3f1d986b03a7ec829ed915708bfb57786b4690c50.01 Ether0.000035204
0x9a5a5e3b0f0cf75d9f45ef11e9862501e6b464a00b60889a7d1fa7200984a58f2961622192 days 15 mins ago0x11a9d9ddebe92aa244eff9f3f5b0384f78652db6 IN  0x3f1d986b03a7ec829ed915708bfb57786b4690c50 Ether0.000046178
0x6dc36b3cf903c54168cad369b9618b8e039e77e08e7fe3203744e1ac8fbf59a42961602192 days 20 mins ago0x11a9d9ddebe92aa244eff9f3f5b0384f78652db6 IN  0x3f1d986b03a7ec829ed915708bfb57786b4690c51 Ether0.000050108
0xfd94b1c45842a1f112a2f007ee74f3546d5040d277ed982aa8df7393fc2ff5982961589192 days 23 mins ago0xa2a7c2971b960f820b7a0bb1fff1aaceed916c6f IN  0x3f1d986b03a7ec829ed915708bfb57786b4690c50 Ether0.000085013
0xe8e6288d1e355197408f274881a97701f008fc511c732ab314f104665c2473002961585192 days 24 mins ago0x9c02f6d4e114d6ecff9859ff3d9080d9259b843c IN  0x3f1d986b03a7ec829ed915708bfb57786b4690c50 Ether0.000046178
0xc649a654879f4692abfc536af6bb24f69a920335cc3d70ec6c6b7d153ffb81612961569192 days 28 mins ago0x9c02f6d4e114d6ecff9859ff3d9080d9259b843c IN  0x3f1d986b03a7ec829ed915708bfb57786b4690c51 Ether0.000035108
[ Download CSV Export 

Latest 25 internal transaction, Click here to view more Internal Transactions as a result of Contract Execution

Parent TxHash Block Age From To Value
0x974ded62e7cdd88f18da5472c1962e717f32c224615db4f03a20b6dfef07bfdb3062201174 days 13 hrs ago0x3f1d986b03a7ec829ed915708bfb57786b4690c50x0d4e7101a51a0a3d6bc93431cc1ceb12ea03feaa0.015672 Ether
0x2accd34e63350f3239eb3952e1fe2fd5c5e19d392c900f7cb9de5835d373a5362961691191 days 23 hrs ago0x3f1d986b03a7ec829ed915708bfb57786b4690c50x9c02f6d4e114d6ecff9859ff3d9080d9259b843c0.4324905174 Ether
0xfd94b1c45842a1f112a2f007ee74f3546d5040d277ed982aa8df7393fc2ff5982961589192 days 23 mins ago0x3f1d986b03a7ec829ed915708bfb57786b4690c50x9c02f6d4e114d6ecff9859ff3d9080d9259b843c0.8 Ether
0xffe534382d86ba132ecc7d6e11d4111c225ab426facbc3a1bc64b0e2aab443d22946613194 days 16 hrs ago0x3f1d986b03a7ec829ed915708bfb57786b4690c50x9c02f6d4e114d6ecff9859ff3d9080d9259b843c2.1814068977 Ether
0x480accb3ad3224915195fa7e880d80ce437b568d1a145ae2458db0cbc4b56f6b2932492197 days 17 hrs ago0x3f1d986b03a7ec829ed915708bfb57786b4690c50x9c02f6d4e114d6ecff9859ff3d9080d9259b843c0.83642079 Ether
0x5baa1950d286121db78c40aec6b0b855bda28fd82abf3fd9c05b705efdfd25f22932271197 days 18 hrs ago0x3f1d986b03a7ec829ed915708bfb57786b4690c50x9c02f6d4e114d6ecff9859ff3d9080d9259b843c1.05 Ether
0x8536484e6c43bb667d738c99056ca71e300ec722db96b0e227cc559397dd00f62932009197 days 19 hrs ago0x3f1d986b03a7ec829ed915708bfb57786b4690c50x589e2a720bd0fbee4b9763603f9be2a18e6f73521.6836208964 Ether
0x4f92d51f22826cef8fee815e98fb73e387a9c6c278d487d482d32c258a5da2072931845197 days 19 hrs ago0x3f1d986b03a7ec829ed915708bfb57786b4690c50x9c02f6d4e114d6ecff9859ff3d9080d9259b843c0.153846156 Ether
0x4c092aebfc896cbaf586bc7057c39d33714d46e8bef0858f8e4f4ded593811f42931810197 days 20 hrs ago0x3f1d986b03a7ec829ed915708bfb57786b4690c50x9c02f6d4e114d6ecff9859ff3d9080d9259b843c0.8 Ether
0xf4d2a81a0b45993efdb5261691c94f11c4583bfb74c39ac432aebd67307775c12931557197 days 21 hrs ago0x3f1d986b03a7ec829ed915708bfb57786b4690c50xb738807fa22fff8d2ff986323730ead81f450cb41.0538060832 Ether
0x29b961c1783f86e1aaeae50af7284905a2eff32a93bc9568003b0cb00204d6db2926847198 days 16 hrs ago0x3f1d986b03a7ec829ed915708bfb57786b4690c50xc2e8bd34d86f01431ba06cccc663412d721db5a50.8 Ether
0x1cd99d01e06ff1230bfe54458b8f883847ffa9737345ddf8cd8a6de5967be1012926614198 days 17 hrs ago0x3f1d986b03a7ec829ed915708bfb57786b4690c50xc196c7ddd0cee47faea2c6928ad8990da02af2420.0118875047 Ether
0xf7ca81d3e6ff7e6410c6f58f20b0f7cbe05726af8b167c0f4dbc7621386f42182926572198 days 17 hrs ago0x3f1d986b03a7ec829ed915708bfb57786b4690c50xc196c7ddd0cee47faea2c6928ad8990da02af2420.0051958849 Ether
0xe72a97fdabde5d29b7e054ec4b31429e08e89115daa085b84ca356c2141d43c52926208198 days 19 hrs ago0x3f1d986b03a7ec829ed915708bfb57786b4690c50xe1855ee9278c3e461ee633cc9cf1c4ceec894ea51.05 Ether
0x805bf8dcfe8ca32c944d9d83847ab5054ce21254f56153f7af1852f0190b868e2926176198 days 19 hrs ago0x3f1d986b03a7ec829ed915708bfb57786b4690c50xdd424951f79a28b6261d3692561081944fc1d0490.2738877896 Ether
0x8679fd9a9ffc07f9e26c792ec750364e068424eff01ec6bd3e2437f19d58f2ab2926156198 days 19 hrs ago0x3f1d986b03a7ec829ed915708bfb57786b4690c50x7f528c6f91182297219d45471c7dc13891de93510.25 Ether
0x135080a2a1bed4a3111b651a5aaca656d6ef83d3bd689999b030e6938fd768692914778200 days 19 hrs ago0x3f1d986b03a7ec829ed915708bfb57786b4690c50xb738807fa22fff8d2ff986323730ead81f450cb40.0903907079 Ether
0x7ac0467c608ad8af1a0f9a9c3dfa56decea0f2d96dc3326444bce77083fc6e9c2914765200 days 19 hrs ago0x3f1d986b03a7ec829ed915708bfb57786b4690c50x779985cec2709f1ac7b4b2b94bda289d232a75bb0.70960929 Ether
0x40b27e6ac024748118dfa56ca105251c52d0b81390469c01cd4f4a4197936d6c2914765200 days 19 hrs ago0x3f1d986b03a7ec829ed915708bfb57786b4690c50x53278918ba94146c6aba71640d49241fe72eb2131.05 Ether
0x381e57b023780314f182ac039e614a61d288f714d12f9bbae91a4c811982b0222914695200 days 19 hrs ago0x3f1d986b03a7ec829ed915708bfb57786b4690c50xb738807fa22fff8d2ff986323730ead81f450cb40.488 Ether
0xebb49b94930f2382628bcdd41324c5df74bd1a4f562a8469065e55d4ecf5ffe72914539200 days 20 hrs ago0x3f1d986b03a7ec829ed915708bfb57786b4690c50x86c12f99acc1c7a3cc720fa059d4901c933ffefc0.00925 Ether
0xeda803efea7d8f236d47fb908edb228792596aab23b59dd5eabfeff082c5e6052914423200 days 20 hrs ago0x3f1d986b03a7ec829ed915708bfb57786b4690c50x53278918ba94146c6aba71640d49241fe72eb2131.05 Ether
0xf33114aa0b4cebef7fccee3c8f069dcd26635dfc2ea3fa98a5f352065f2b68932914395200 days 20 hrs ago0x3f1d986b03a7ec829ed915708bfb57786b4690c50xb738807fa22fff8d2ff986323730ead81f450cb40.535 Ether
0xbabbb93ab226598c3615b96a7c94814ac62858f065067d47270c5d0eac2f4be42914251200 days 21 hrs ago0x3f1d986b03a7ec829ed915708bfb57786b4690c50xd512aad7c2d357368c9b37e1c09cbca74b1b60f70.89 Ether
0x92d8a0539a860bc29922ba8bb97df6f36859d6db91fb5402aa4307a1f9be3bb62914084200 days 22 hrs ago0x3f1d986b03a7ec829ed915708bfb57786b4690c50x2486cfec98a5fad14bae19ecff7e7ed53df5cee11.09599051 Ether
[ Download CSV Export 
Warning: The compiled contract might be susceptible to ExpExponentCleanup (medium/high-severity), EventStructWrongData (very low-severity) Solidity Compiler Bugs.

Contract Source Code Verified (Exact Match)

Contract Name:
SuperCard

Compiler Version
v0.4.24+commit.e67f0147

Optimization Enabled:
Yes

Runs (Optimizer):
200

Contract Source Code

pragma solidity ^0.4.24;

/*--------------------------------------------------
 ____                           ____              _ 
/ ___| _   _ _ __   ___ _ __   / ___|__ _ _ __ __| |
\___ \| | | | '_ \ / _ \ '__| | |   / _` | '__/ _` |
 ___) | |_| | |_) |  __/ |    | |__| (_| | | | (_| |
|____/ \__,_| .__/ \___|_|     \____\__,_|_|  \__,_|
            |_|                                   

                                    2018-08-29 V1.1
---------------------------------------------------*/

contract SuperCard {
	event onRecieveEth
    (
        address user,
		uint256 ethIn,
        uint256 timeStamp
    );
	
    event onSendEth
    (
        address user,
		uint256 ethOut,
        uint256 timeStamp
    );

	event onPotAddup
    (
        address operator,
		uint256 amount
    );

	using SafeMath for *;

    string constant public name   = "SuperCard";
    string constant public symbol = "SPC";

	struct Player 
	{
        uint256 ethIn;  // total input
        uint256 ethOut; // total output
	}

	struct txRecord 
	{
        address user; // player address
		bool used;    // replay
		bool todo;    // 
	}

	mapping( address => Player) public plyr_;    // (address => data) player data
	mapping( bytes32 => txRecord) public txRec_; // (hashCode => data) hashCode data

    address _admin;
	address _cfo;

	bool public activated_ = false;

    uint256 public plan_active_time = now + 7200 seconds;

	// total received
	uint256 totalETHin = 0;

	// total sendout
	uint256 totalETHout = 0;

	uint256 _pot = 0;

//==============================================================================
//     _ _  _  __|_ _    __|_ _  _  .
//    (_(_)| |_\ | | |_|(_ | (_)|   .  (initial data setup upon contract deploy)
//==============================================================================
	constructor()
		public
	{
		_admin = msg.sender;
		_cfo = msg.sender;
	}

	modifier onlyCFOAndAdmin()
	{
		require(((msg.sender == _cfo) || (msg.sender == _admin)), "sorry, not cfo/admin");
		_;
	}

	modifier onlyCFO()
	{
		require(msg.sender == _cfo, "sorry, not cfo");
		_;
	}

	modifier isHuman() 
	{
        address _addr = msg.sender;
        uint256 _codeLength;

        assembly {_codeLength := extcodesize(_addr)}
        require(_codeLength == 0, "sorry, humans only");
        _;
    }

	modifier isActivated()
	{
        if ( activated_ == false )
		{
          if (now >= plan_active_time)
		  {
			  activated_ = true;
          }
        }
        require(activated_ == true, "sorry, its not start yet.");
        _;
    }

    function setPlanActiveTime(uint256 _time)
		onlyCFOAndAdmin()
		public
    {
        plan_active_time = _time;
    }

	function getPlanActiveTime()
		public
		view
		returns(uint256, uint256)
    {
        return(plan_active_time, now);
    }

	function newCFO(string addr)
		onlyCFOAndAdmin()
		public 
		returns (bool)
	{
		address newCFOaddress;

		newCFOaddress = parseAddr(addr);

		if (newCFOaddress != _cfo)
		{
			_cfo = newCFOaddress;
			return true;
		}
		else
		{
			return false;
		}
	}

	function distribute(address addr, uint256 ethPay)
		public
		onlyCFOAndAdmin()
		isActivated()
	{
		require((ethPay <= address(this).balance), "sorry, demand more than balance");
		require((ethPay > 0), "sorry, pay zero");

		addr.transfer(ethPay);

		emit onSendEth
		(
			addr,
			ethPay,
			now
		);
	}

	function potAddup()
        external
		onlyCFOAndAdmin()
        payable
    {
        _pot = _pot.add(msg.value);

		emit onPotAddup
		(
			msg.sender,
			msg.value
		);
    }

	function buy()
        public
		isHuman()
        payable
    {
		uint256 _now = now;

		if (activated_ == false)
		{
			require((_now >= plan_active_time), "sorry, buy before start");
			activated_ = true;
		}

		require((msg.value > 0), "sorry, buy zero eth");
		address buyer = msg.sender;

		plyr_[buyer].ethIn = (plyr_[buyer].ethIn).add(msg.value);
		totalETHin = totalETHin.add(msg.value);
		emit onRecieveEth
		(
			buyer,
			msg.value,
			_now
		);
    }
	
    function()
        public
		isHuman()
		isActivated()
        payable
    {
		uint256 _now = now;
		address buyer = msg.sender;

		require((_now >= plan_active_time), "sorry, buy before start");
		require((msg.value > 0), "sorry, buy zero eth");

		plyr_[buyer].ethIn = (plyr_[buyer].ethIn).add(msg.value);
		totalETHin = totalETHin.add(msg.value);
		emit onRecieveEth
		(
			buyer,
			msg.value,
			_now
		);
    }

	function queryhashcodeused(bytes32 hashCode)
		public
		view
		isActivated()
		isHuman()
		returns(bool)
	{
		if((txRec_[hashCode].user != 0) || (txRec_[hashCode].used == true))
		{
			return true;
		}
		else
		{
			return false;
		}
	}

	function withdraw(bytes32 hashCode)
        public
		isActivated()
		isHuman()
    {
		require((plyr_[msg.sender].ethIn > 0), "sorry, not user");
		require((txRec_[hashCode].used != true), "sorry, user replay withdraw");

		txRec_[hashCode].user = msg.sender;
		txRec_[hashCode].todo = true;
		txRec_[hashCode].used = true;
	}

	// uint256 amount, wei format
	function approve(string orderid, string addr, string amt, string txtime, uint256 amount)
		public
        onlyCFO()
		isActivated()
	{
		address user;
		bytes32 hashCode;
		uint256 ethOut;

		user = parseAddr(addr);

		hashCode = sha256(orderid, addr, amt, txtime);

		require((txRec_[hashCode].user == user), "sorry, hashcode error");
		require((txRec_[hashCode].todo == true), "sorry, hashcode replay");

		txRec_[hashCode].todo = false;

		ethOut = amount; // wei format
		require(((ethOut > 0) && (ethOut <= address(this).balance)), "sorry, approve amount error");

		totalETHout = totalETHout.add(ethOut);
		plyr_[user].ethOut = (plyr_[user].ethOut).add(ethOut);
		user.transfer(ethOut);

		emit onSendEth
		(
	        user,
			ethOut,
			now
		);
	}

	function getUserInfo(string useraddress)
		public
		view
		onlyCFOAndAdmin()
		returns(address, uint256, uint256)
	{
		address user;

		user = parseAddr(useraddress);

		return
		(
			user,   // player address
			plyr_[user].ethIn,  // total input
			plyr_[user].ethOut  // total output
		);
	}

	function parseAddr(string _a)
	    internal
	    returns (address)
	{
        bytes memory tmp = bytes(_a);
        uint160 iaddr = 0;
        uint160 b1;
        uint160 b2;
        for (uint i=2; i<2+2*20; i+=2){
            iaddr *= 256;
            b1 = uint160(tmp[i]);
            b2 = uint160(tmp[i+1]);
            if ((b1 >= 97)&&(b1 <= 102)) b1 -= 87;
            else if ((b1 >= 65)&&(b1 <= 70)) b1 -= 55;
            else if ((b1 >= 48)&&(b1 <= 57)) b1 -= 48;
            if ((b2 >= 97)&&(b2 <= 102)) b2 -= 87;
            else if ((b2 >= 65)&&(b2 <= 70)) b2 -= 55;
            else if ((b2 >= 48)&&(b2 <= 57)) b2 -= 48;
            iaddr += (b1*16+b2);
        }
        return address(iaddr);
    }
}

/**
 * @title SafeMath v0.1.9
 * @dev Math operations with safety checks that throw on error
 * change notes:  original SafeMath library from OpenZeppelin modified by Inventor
 * - added sqrt
 * - added sq
 * - added pwr
 * - changed asserts to requires with error log outputs
 * - removed div, its useless
 */
library SafeMath {

    /**
    * @dev Multiplies two numbers, throws on overflow.
    */
    function mul(uint256 a, uint256 b)
        internal
        pure
        returns (uint256 c)
    {
        if (a == 0) {
            return 0;
        }
        c = a * b;
        require(c / a == b, "SafeMath mul failed");
        return c;
    }

    /**
    * @dev Subtracts two numbers, throws on overflow (i.e. if subtrahend is greater than minuend).
    */
    function sub(uint256 a, uint256 b)
        internal
        pure
        returns (uint256)
    {
        require(b <= a, "SafeMath sub failed");
        return a - b;
    }

    /**
    * @dev Adds two numbers, throws on overflow.
    */
    function add(uint256 a, uint256 b)
        internal
        pure
        returns (uint256 c)
    {
        c = a + b;
        require(c >= a, "SafeMath add failed");
        return c;
    }
}

Contract ABI

[{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"plan_active_time","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"addr","type":"string"}],"name":"newCFO","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_time","type":"uint256"}],"name":"setPlanActiveTime","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"useraddress","type":"string"}],"name":"getUserInfo","outputs":[{"name":"","type":"address"},{"name":"","type":"uint256"},{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"hashCode","type":"bytes32"}],"name":"withdraw","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"orderid","type":"string"},{"name":"addr","type":"string"},{"name":"amt","type":"string"},{"name":"txtime","type":"string"},{"name":"amount","type":"uint256"}],"name":"approve","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"buy","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":false,"inputs":[],"name":"potAddup","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":true,"inputs":[{"name":"hashCode","type":"bytes32"}],"name":"queryhashcodeused","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"plyr_","outputs":[{"name":"ethIn","type":"uint256"},{"name":"ethOut","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"activated_","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getPlanActiveTime","outputs":[{"name":"","type":"uint256"},{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"bytes32"}],"name":"txRec_","outputs":[{"name":"user","type":"address"},{"name":"used","type":"bool"},{"name":"todo","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"addr","type":"address"},{"name":"ethPay","type":"uint256"}],"name":"distribute","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"anonymous":false,"inputs":[{"indexed":false,"name":"user","type":"address"},{"indexed":false,"name":"ethIn","type":"uint256"},{"indexed":false,"name":"timeStamp","type":"uint256"}],"name":"onRecieveEth","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"user","type":"address"},{"indexed":false,"name":"ethOut","type":"uint256"},{"indexed":false,"name":"timeStamp","type":"uint256"}],"name":"onSendEth","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"operator","type":"address"},{"indexed":false,"name":"amount","type":"uint256"}],"name":"onPotAddup","type":"event"}]

Contract Creation Code

60806040526003805460a060020a60ff0219169055611c20420160045560006005819055600681905560075534801561003757600080fd5b506002805433600160a060020a03199182168117909255600380549091169091179055611923806100696000396000f3006080604052600436106100e55763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146103145780631e711ec01461039e57806327c7c3ce146103c55780633a83f9a1146104325780637c9b7fdd1461044c5780638e19899e146104cd57806395d89b41146104e5578063a155380c146104fa578063a6f2ae3a1461060f578063a9fb11b314610617578063b34f59cb1461061f578063c68b0cd414610637578063d53b267914610671578063e507d6dd14610686578063e59bafe91461069b578063fb932108146106dd575b60008033803b801561012f576040805160e560020a62461bcd02815260206004820152601260248201526000805160206118d8833981519152604482015290519081900360640190fd5b60035460a060020a900460ff161515610162576004544210610162576003805460a060020a60ff02191660a060020a1790555b60035460a060020a900460ff1615156001146101b6576040805160e560020a62461bcd02815260206004820152601960248201526000805160206118b8833981519152604482015290519081900360640190fd5b600454429450339350841015610216576040805160e560020a62461bcd02815260206004820152601760248201527f736f7272792c20627579206265666f7265207374617274000000000000000000604482015290519081900360640190fd5b6000341161026e576040805160e560020a62461bcd02815260206004820152601360248201527f736f7272792c20627579207a65726f2065746800000000000000000000000000604482015290519081900360640190fd5b600160a060020a038316600090815260208190526040902054610297903463ffffffff61070116565b600160a060020a0384166000908152602081905260409020556005546102c3903463ffffffff61070116565b60055560408051600160a060020a038516815234602082015280820186905290517f3c88ff489e16a86c68da5b6f66908e046a3b590c6cdeee001fab0c277858d6249181900360600190a150505050005b34801561032057600080fd5b50610329610762565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561036357818101518382015260200161034b565b50505050905090810190601f1680156103905780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156103aa57600080fd5b506103b3610799565b60408051918252519081900360200190f35b3480156103d157600080fd5b506040805160206004803580820135601f810184900484028501840190955284845261041e94369492936024939284019190819084018382808284375094975061079f9650505050505050565b604080519115158252519081900360200190f35b34801561043e57600080fd5b5061044a600435610868565b005b34801561045857600080fd5b506040805160206004803580820135601f81018490048402850184019095528484526104a59436949293602493928401919081908401838280828437509497506108d49650505050505050565b60408051600160a060020a039094168452602084019290925282820152519081900360600190f35b3480156104d957600080fd5b5061044a60043561097b565b3480156104f157600080fd5b50610329610b97565b34801561050657600080fd5b506040805160206004803580820135601f810184900484028501840190955284845261044a94369492936024939284019190819084018382808284375050604080516020601f89358b018035918201839004830284018301909452808352979a99988101979196509182019450925082915084018382808284375050604080516020601f89358b018035918201839004830284018301909452808352979a99988101979196509182019450925082915084018382808284375050604080516020601f89358b018035918201839004830284018301909452808352979a9998810197919650918201945092508291508401838280828437509497505093359450610bce9350505050565b61044a61109f565b61044a611268565b34801561062b57600080fd5b5061041e600435611321565b34801561064357600080fd5b50610658600160a060020a036004351661144c565b6040805192835260208301919091528051918290030190f35b34801561067d57600080fd5b5061041e611465565b34801561069257600080fd5b50610658611475565b3480156106a757600080fd5b506106b360043561147d565b60408051600160a060020a0390941684529115156020840152151582820152519081900360600190f35b3480156106e957600080fd5b5061044a600160a060020a03600435166024356114c0565b8181018281101561075c576040805160e560020a62461bcd02815260206004820152601360248201527f536166654d61746820616464206661696c656400000000000000000000000000604482015290519081900360640190fd5b92915050565b60408051808201909152600981527f5375706572436172640000000000000000000000000000000000000000000000602082015281565b60045481565b6003546000908190600160a060020a03163314806107c75750600254600160a060020a031633145b151561080b576040805160e560020a62461bcd0281526020600482015260146024820152600080516020611898833981519152604482015290519081900360640190fd5b610814836116e2565b600354909150600160a060020a0380831691161461085d576003805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03831617905560019150610862565b600091505b50919050565b600354600160a060020a031633148061088b5750600254600160a060020a031633145b15156108cf576040805160e560020a62461bcd0281526020600482015260146024820152600080516020611898833981519152604482015290519081900360640190fd5b600455565b600354600090819081908190600160a060020a03163314806109005750600254600160a060020a031633145b1515610944576040805160e560020a62461bcd0281526020600482015260146024820152600080516020611898833981519152604482015290519081900360640190fd5b61094d856116e2565b600160a060020a03811660009081526020819052604090208054600190910154919790965090945092505050565b60035460a060020a900460ff1615156109ae5760045442106109ae576003805460a060020a60ff02191660a060020a1790555b60035460a060020a900460ff161515600114610a02576040805160e560020a62461bcd02815260206004820152601960248201526000805160206118b8833981519152604482015290519081900360640190fd5b33803b8015610a49576040805160e560020a62461bcd02815260206004820152601260248201526000805160206118d8833981519152604482015290519081900360640190fd5b3360009081526020819052604081205411610aae576040805160e560020a62461bcd02815260206004820152600f60248201527f736f7272792c206e6f7420757365720000000000000000000000000000000000604482015290519081900360640190fd5b60008381526001602081905260409091205460a060020a900460ff1615151415610b22576040805160e560020a62461bcd02815260206004820152601b60248201527f736f7272792c2075736572207265706c61792077697468647261770000000000604482015290519081900360640190fd5b50506000908152600160205260409020805460a060020a60ff021975ff0000000000000000000000000000000000000000001973ffffffffffffffffffffffffffffffffffffffff199092163317919091167501000000000000000000000000000000000000000000171660a060020a179055565b60408051808201909152600381527f5350430000000000000000000000000000000000000000000000000000000000602082015281565b60035460009081908190600160a060020a03163314610c37576040805160e560020a62461bcd02815260206004820152600e60248201527f736f7272792c206e6f742063666f000000000000000000000000000000000000604482015290519081900360640190fd5b60035460a060020a900460ff161515610c6a576004544210610c6a576003805460a060020a60ff02191660a060020a1790555b60035460a060020a900460ff161515600114610cbe576040805160e560020a62461bcd02815260206004820152601960248201526000805160206118b8833981519152604482015290519081900360640190fd5b610cc7876116e2565b92506002888888886040518085805190602001908083835b60208310610cfe5780518252601f199092019160209182019101610cdf565b51815160209384036101000a600019018019909216911617905287519190930192870191508083835b60208310610d465780518252601f199092019160209182019101610d27565b51815160209384036101000a600019018019909216911617905286519190930192860191508083835b60208310610d8e5780518252601f199092019160209182019101610d6f565b51815160209384036101000a600019018019909216911617905285519190930192850191508083835b60208310610dd65780518252601f199092019160209182019101610db7565b6001836020036101000a0380198251168184511680821785525050505050509050019450505050506020604051808303816000865af1158015610e1d573d6000803e3d6000fd5b5050506040513d6020811015610e3257600080fd5b5051600081815260016020526040902054909250600160a060020a03848116911614610ea8576040805160e560020a62461bcd02815260206004820152601560248201527f736f7272792c2068617368636f6465206572726f720000000000000000000000604482015290519081900360640190fd5b6000828152600160208190526040909120547501000000000000000000000000000000000000000000900460ff16151514610f2d576040805160e560020a62461bcd02815260206004820152601660248201527f736f7272792c2068617368636f6465207265706c617900000000000000000000604482015290519081900360640190fd5b506000818152600160205260408120805475ff00000000000000000000000000000000000000000019169055839081118015610f6a575030318111155b1515610fc0576040805160e560020a62461bcd02815260206004820152601b60248201527f736f7272792c20617070726f766520616d6f756e74206572726f720000000000604482015290519081900360640190fd5b600654610fd3908263ffffffff61070116565b600655600160a060020a038316600090815260208190526040902060010154611002908263ffffffff61070116565b600160a060020a038416600081815260208190526040808220600101939093559151909183156108fc02918491818181858888f1935050505015801561104c573d6000803e3d6000fd5b5060408051600160a060020a038516815260208101839052428183015290517fc3f90e4a6f6196ad4280d2ec16114d659aa01e636580f94fa9f3d265fe72b5169181900360600190a15050505050505050565b60008033803b80156110e9576040805160e560020a62461bcd02815260206004820152601260248201526000805160206118d8833981519152604482015290519081900360640190fd5b60035442945060a060020a900460ff16151561117057600454841015611159576040805160e560020a62461bcd02815260206004820152601760248201527f736f7272792c20627579206265666f7265207374617274000000000000000000604482015290519081900360640190fd5b6003805460a060020a60ff02191660a060020a1790555b600034116111c8576040805160e560020a62461bcd02815260206004820152601360248201527f736f7272792c20627579207a65726f2065746800000000000000000000000000604482015290519081900360640190fd5b336000818152602081905260409020549093506111eb903463ffffffff61070116565b600160a060020a038416600090815260208190526040902055600554611217903463ffffffff61070116565b60055560408051600160a060020a038516815234602082015280820186905290517f3c88ff489e16a86c68da5b6f66908e046a3b590c6cdeee001fab0c277858d6249181900360600190a150505050565b600354600160a060020a031633148061128b5750600254600160a060020a031633145b15156112cf576040805160e560020a62461bcd0281526020600482015260146024820152600080516020611898833981519152604482015290519081900360640190fd5b6007546112e2903463ffffffff61070116565b6007556040805133815234602082015281517f7c7eda6b1cff3f6634907b8d1db17cf6182c8f1e04247574fc5e1e139743c74c929181900390910190a1565b60035460009060a060020a900460ff161515611357576004544210611357576003805460a060020a60ff02191660a060020a1790555b60035460a060020a900460ff1615156001146113ab576040805160e560020a62461bcd02815260206004820152601960248201526000805160206118b8833981519152604482015290519081900360640190fd5b33803b80156113f2576040805160e560020a62461bcd02815260206004820152601260248201526000805160206118d8833981519152604482015290519081900360640190fd5b600084815260016020526040902054600160a060020a0316151580611432575060008481526001602081905260409091205460a060020a900460ff161515145b156114405760019250611445565b600092505b5050919050565b6000602081905290815260409020805460019091015482565b60035460a060020a900460ff1681565b600454429091565b600160205260009081526040902054600160a060020a0381169060ff60a060020a8204811691750100000000000000000000000000000000000000000090041683565b600354600160a060020a03163314806114e35750600254600160a060020a031633145b1515611527576040805160e560020a62461bcd0281526020600482015260146024820152600080516020611898833981519152604482015290519081900360640190fd5b60035460a060020a900460ff16151561155a57600454421061155a576003805460a060020a60ff02191660a060020a1790555b60035460a060020a900460ff1615156001146115ae576040805160e560020a62461bcd02815260206004820152601960248201526000805160206118b8833981519152604482015290519081900360640190fd5b3031811115611607576040805160e560020a62461bcd02815260206004820152601f60248201527f736f7272792c2064656d616e64206d6f7265207468616e2062616c616e636500604482015290519081900360640190fd5b6000811161165f576040805160e560020a62461bcd02815260206004820152600f60248201527f736f7272792c20706179207a65726f0000000000000000000000000000000000604482015290519081900360640190fd5b604051600160a060020a0383169082156108fc029083906000818181858888f19350505050158015611695573d6000803e3d6000fd5b5060408051600160a060020a038416815260208101839052428183015290517fc3f90e4a6f6196ad4280d2ec16114d659aa01e636580f94fa9f3d265fe72b5169181900360600190a15050565b60008181808060025b602a81101561188c5761010084029350848181518110151561170957fe5b90602001015160f860020a900460f860020a0260f860020a90049250848160010181518110151561173657fe5b016020015160f860020a9081900481020491506061600160a060020a0384161080159061176d5750606683600160a060020a031611155b1561177d576057830392506117e1565b604183600160a060020a0316101580156117a15750604683600160a060020a031611155b156117b1576037830392506117e1565b603083600160a060020a0316101580156117d55750603983600160a060020a031611155b156117e1576030830392505b606182600160a060020a0316101580156118055750606682600160a060020a031611155b1561181557605782039150611879565b604182600160a060020a0316101580156118395750604682600160a060020a031611155b1561184957603782039150611879565b603082600160a060020a03161015801561186d5750603982600160a060020a031611155b15611879576030820391505b60108302820193909301926002016116eb565b5091959450505050505600736f7272792c206e6f742063666f2f61646d696e000000000000000000000000736f7272792c20697473206e6f74207374617274207965742e00000000000000736f7272792c2068756d616e73206f6e6c790000000000000000000000000000a165627a7a723058204485b6597b119af8175c9b83a4c819d95c385e851994a0b581fdc5c1229ff8b20029

Swarm Source

bzzr://4485b6597b119af8175c9b83a4c819d95c385e851994a0b581fdc5c1229ff8b2
Block Age Transaction Difficulty GasUsed Reward
Block Age Uncle Number Difficulty GasUsed Reward