Contract 0x6329316475A98027e62246D25e4A5eD8d7F9Fc51

 

TxHash Block Age From To Value [TxFee]
0xd8d4056c2abd1edb3d870c3ea72211bf6d5383bf5861472a5dd76cdaf38506fd6692385100 days 4 hrs ago0x7c2208083b2def60eaeb5e4c0603eca8ab906bd6 IN  0x6329316475a98027e62246d25e4a5ed8d7f9fc511.2465 Ether0.000539912
0xc21f5fb7f1f89cbd586ee740b27f8661a434ea4764bc698bec5d2eea06be7c0b6691662100 days 7 hrs ago0xaf22c6d40b5c1a039209eda784be57199b4fa8ca IN  0x6329316475a98027e62246d25e4a5ed8d7f9fc511.2423 Ether0.000586068
0x4e2bddba85533b3094a60de456ddc35d60cc74fdd6013512775e6ec224590cfe6674993103 days 35 mins ago0x89678c9dee8ea64b42eab9d235d1f2b28e23c40b IN  0x6329316475a98027e62246d25e4a5ed8d7f9fc510.544825 Ether0.000175
0x72fcb1338ad002480d204a521747885ae5581cc940311b46489f3a76e8ed1d3e6667795104 days 4 hrs ago0x1d02e96feb9ecff744054cf55680c2931718e7f8 IN  0x6329316475a98027e62246d25e4a5ed8d7f9fc510.0002 Ether0.000084
0x59b32ee741270e840ba946c9fea0ac9de0890510567f948d0d88a71c628d0c2d6650585107 days 42 mins ago0x89678c9dee8ea64b42eab9d235d1f2b28e23c40b IN  0x6329316475a98027e62246d25e4a5ed8d7f9fc510.526174568 Ether0.0000875
0x9632b3741ed8f03647d0fb11d3972d7b84587750830ebede4906f72f79360c556636964109 days 6 hrs ago0x26624c535392def525cc157ea376f221d3129ea0 IN  0x6329316475a98027e62246d25e4a5ed8d7f9fc510.05 Ether0.000108996
0x87d7891c3b35185404e416e8f8b60130d9c0a991394b194c573bc9438b51d69c6636033109 days 10 hrs ago0x26624c535392def525cc157ea376f221d3129ea0 IN  0x6329316475a98027e62246d25e4a5ed8d7f9fc510.05 Ether0.000136245
0xc5de48c2978a55aaa01625b1d4b0fe1a8e8c196cb2ec83efda62d7fe5d24750c6598934115 days 12 hrs ago0x253b987835a92554f413626029dfef8004d8656c IN  0x6329316475a98027e62246d25e4a5ed8d7f9fc510 Ether0.000085672
0xf0a6bd6c08cb2fcdd662fda35b8ca02e216c68e3405915d4f5407d891e8f992e6598917115 days 12 hrs ago0x253b987835a92554f413626029dfef8004d8656c IN  0x6329316475a98027e62246d25e4a5ed8d7f9fc510 Ether0.000097228
0xf90f851c49a8e48c7ea421557df78ef792ff94cc9e9da04ecf7149c2a1deee216598556115 days 13 hrs ago0x7e3e5d9bf9eee10a6fd8a1cbcaef63b94b743c4e IN  0x6329316475a98027e62246d25e4a5ed8d7f9fc510 Ether0.000085672
0xe3bafcdac25b07111df72a744eaa239b8144a71d68c7571762976865cf06c7ca6585790117 days 15 hrs ago0x253b987835a92554f413626029dfef8004d8656c IN  0x6329316475a98027e62246d25e4a5ed8d7f9fc510 Ether0.00021418
0x434da72d6d56d45f83d776c1db19fda1c98282262db373bf83b249f441dbc6366585752117 days 15 hrs ago0x253b987835a92554f413626029dfef8004d8656c IN  0x6329316475a98027e62246d25e4a5ed8d7f9fc510 Ether0.000215307
0x23a96ead61f2ed8566dec9aa21ad9d4d01e8d5b40a50a218a860540f716462cb6584342117 days 21 hrs ago0x5904fb27590a3ebeb41230a874d03939ae745a7a IN  0x6329316475a98027e62246d25e4a5ed8d7f9fc510 Ether0.000085672
0x5cc7458f8d02e69a61ba073507538155b135bb023d5ddfcbc3825c6e9d7c3d086584119117 days 22 hrs ago0x84180c239ae7251084e4e3a8a4b64fe812e36c5b IN  0x6329316475a98027e62246d25e4a5ed8d7f9fc510.505 Ether0.000528024
0x842bbb473e1ae081dd95ac8869f4c668549bfadb699d80f4c9d3aabdb199435a6576769119 days 3 hrs ago0xb9c2638f354008b89844a4e47998f25564a24cd5 IN  0x6329316475a98027e62246d25e4a5ed8d7f9fc510.0788 Ether0.0002079
0x7e730b9758fa0121fdc5f8b6d8fec8402c180d68bab347eb6ee17fc6d0844f136571804119 days 22 hrs ago0x1f7c30d6cd73a4b11228e41d6cd6a57f99c7d890 IN  0x6329316475a98027e62246d25e4a5ed8d7f9fc510 Ether0.000143538
0xed23202184ef3f9e96cf6c67a38535e4b3228039fab5f52ff290387fd9d564256563243121 days 7 hrs ago0xeebcfce40ec0624355d72a101a6eda802c56946e IN  0x6329316475a98027e62246d25e4a5ed8d7f9fc510 Ether0.00021418
0x7d720b379e5fd6aecc983bac24fc41d84b8d0f86b6ca243449aea37101fcdc076562887121 days 9 hrs ago0x2d220ac78fb0155964dcc9c5bbbae23e7b262b95 IN  0x6329316475a98027e62246d25e4a5ed8d7f9fc510 Ether0.000441
0xe4d57de3661b20dad6907f8d70d920a0924fe558b29288d2ef2c539a017b2a826556518122 days 10 hrs ago0x8496dfb635f14683385b0dcb8fa940e02db0ec67 IN  0x6329316475a98027e62246d25e4a5ed8d7f9fc510 Ether0.000143538
0xc891d32219b1e5e5341252d9acba31751c912420f39248b2b6d498180045ac5d6541917124 days 19 hrs ago0xf951dc5ace171a831ec23be101f031ab6336e772 IN  0x6329316475a98027e62246d25e4a5ed8d7f9fc510 Ether0.00010709
0x5fb947e745d5dcf66d52a3be99f863cc8461c1942f6cead667189de44069e4c46536740125 days 16 hrs ago0x7b3025b0a526d9d73e40e50515f539cae9dfda18 IN  0x6329316475a98027e62246d25e4a5ed8d7f9fc510 Ether0.000064254
0xd0da88c07adf5578d2aa79ac44103fde51a9da55d838228cd953edc8562530926534520126 days 43 mins ago0x416cea3f06faf33892ccea591c6f422af29cb175 IN  0x6329316475a98027e62246d25e4a5ed8d7f9fc510 Ether0.0000406942
0xdf8cd46b0338877837d29559a6eda172df90dac72f408dd3d7f98c5587badc3e6533710126 days 3 hrs ago0x1cbb90bed54291751ccc4c5f4381cc577d4bfdd0 IN  0x6329316475a98027e62246d25e4a5ed8d7f9fc510 Ether0.0000492614
0xa3695df29b3076b48a81d5dee7fda5d3ffe479d73cd705e5a61cc50294ed0f096533105126 days 6 hrs ago0xdeec37da53d7e23a8b509f8c6f25fcff342f46a4 IN  0x6329316475a98027e62246d25e4a5ed8d7f9fc510 Ether0.0000471196
0xdfd765485aced7a35637f37c86a77ff57e9880616551ef0a3119a021f7931b8b6532038126 days 10 hrs ago0xf951dc5ace171a831ec23be101f031ab6336e772 IN  0x6329316475a98027e62246d25e4a5ed8d7f9fc510 Ether0.000160635
[ Download CSV Export 

Latest 20 Internal Transactions Internal Transactions as a result of Contract Execution

Parent TxHash Block Age From To Value
0xd8d4056c2abd1edb3d870c3ea72211bf6d5383bf5861472a5dd76cdaf38506fd6692385100 days 4 hrs ago0x6329316475a98027e62246d25e4a5ed8d7f9fc510x26aa63e9cb879d253e73261658e53fa9763e49271.2465 Ether
0xc21f5fb7f1f89cbd586ee740b27f8661a434ea4764bc698bec5d2eea06be7c0b6691662100 days 7 hrs ago0x6329316475a98027e62246d25e4a5ed8d7f9fc510x26aa63e9cb879d253e73261658e53fa9763e49271.2423 Ether
0x5cc7458f8d02e69a61ba073507538155b135bb023d5ddfcbc3825c6e9d7c3d086584119117 days 22 hrs ago0x6329316475a98027e62246d25e4a5ed8d7f9fc510x83dc8423170e95ee18b770bbdd6b3becb73c9c300.531578947368421052 Ether
0x27f3a00fd80728849dd72350e18822665ffc94e19b9c8d74686e3421745268286525064127 days 13 hrs ago0x6329316475a98027e62246d25e4a5ed8d7f9fc510x83dc8423170e95ee18b770bbdd6b3becb73c9c300.05263157894736842 Ether
0xb964951072294ba35206d74798be1558dd59d178f305bde0f3b32d12549050236523117127 days 21 hrs ago0x6329316475a98027e62246d25e4a5ed8d7f9fc510x83dc8423170e95ee18b770bbdd6b3becb73c9c300.063157894736842105 Ether
0x7c1d6739115a105318aa3cee1312eb7f2f9bb976f88fa24eaea6a07a6ffbcb5a6520824128 days 6 hrs ago0x6329316475a98027e62246d25e4a5ed8d7f9fc510x83dc8423170e95ee18b770bbdd6b3becb73c9c300.05263157894736842 Ether
0x4a8c99bfc85170efbbb9c46cc6678f31762506b5c59bf4dbf14159a959f0b2b16520246128 days 8 hrs ago0x6329316475a98027e62246d25e4a5ed8d7f9fc510x83dc8423170e95ee18b770bbdd6b3becb73c9c300.05263157894736842 Ether
0xc0fc5177dd9b2aac91dd85ea2daf37cea2d995e2f5aaea6613682a831b00cab06519865128 days 10 hrs ago0x6329316475a98027e62246d25e4a5ed8d7f9fc510x83dc8423170e95ee18b770bbdd6b3becb73c9c300.05263157894736842 Ether
0xd4d7fe994d63f4d594c8dc2cf8eeda16d940a68020b2e3a67395fec2fbd2e39b6519758128 days 10 hrs ago0x6329316475a98027e62246d25e4a5ed8d7f9fc510x83dc8423170e95ee18b770bbdd6b3becb73c9c300.05263157894736842 Ether
0x2e5d58e6e3cfccd632e88a83eed32f47ca6e9a19bb4c33b0b248bd7d9529b3bd6519756128 days 10 hrs ago0x6329316475a98027e62246d25e4a5ed8d7f9fc510x83dc8423170e95ee18b770bbdd6b3becb73c9c300.05263157894736842 Ether
0x0af0dfb4dbaf14bb95cae5a4f0e9ad9daff4db41193e2a6207895e9b8cba698f6519448128 days 11 hrs ago0x6329316475a98027e62246d25e4a5ed8d7f9fc510x83dc8423170e95ee18b770bbdd6b3becb73c9c300.001052631578947367 Ether
0x917c79dd7da00e0438a3dabe73b9bbde303fb8db234d1d8501c17c6a230e996e6519437128 days 11 hrs ago0x6329316475a98027e62246d25e4a5ed8d7f9fc510x83dc8423170e95ee18b770bbdd6b3becb73c9c300.05263157894736842 Ether
0x9e2882ed74576a0c98757fd32f1946c796af41a764093977f191b21061aefa3e6519437128 days 11 hrs ago0x6329316475a98027e62246d25e4a5ed8d7f9fc510x83dc8423170e95ee18b770bbdd6b3becb73c9c300.001052631578947367 Ether
0x8d86dd96164c4bf8c457e8daa916f7054e3b12687939bcc74b9a222e386f45286519434128 days 11 hrs ago0x6329316475a98027e62246d25e4a5ed8d7f9fc510x83dc8423170e95ee18b770bbdd6b3becb73c9c300.05263157894736842 Ether
0x73a6a68e06a7368da6f5b7507547e8f2cb3b58dd23e4f0dd032f1835acc3c33f6519271128 days 12 hrs ago0x6329316475a98027e62246d25e4a5ed8d7f9fc510x83dc8423170e95ee18b770bbdd6b3becb73c9c300.053684210526315789 Ether
0xa47d6950e8900f616572bd06f42dd7030f34b37c59e672a17e54abef4200d3106519256128 days 12 hrs ago0x6329316475a98027e62246d25e4a5ed8d7f9fc510x83dc8423170e95ee18b770bbdd6b3becb73c9c300.063157894736842104 Ether
0xc1334bc6c58b380ab36e818a1a3baa90745e9b1bf29a14cfc10d09b3e84842556519219128 days 12 hrs ago0x6329316475a98027e62246d25e4a5ed8d7f9fc510x83dc8423170e95ee18b770bbdd6b3becb73c9c300.05263157894736842 Ether
0x0af2110398ebb6246d91b71b3448b4bdc2c6928beab6f002cdb814674b7932676519215128 days 12 hrs ago0x6329316475a98027e62246d25e4a5ed8d7f9fc510x83dc8423170e95ee18b770bbdd6b3becb73c9c300.042105263157894736 Ether
0x66c5c513dfe0c0286c11abcaaadf5b3482c56189693c62cd0cc7e0decce9c89d6519166128 days 12 hrs ago0x6329316475a98027e62246d25e4a5ed8d7f9fc510x83dc8423170e95ee18b770bbdd6b3becb73c9c300.05263157894736842 Ether
0x1b46793e294eaa7f033bfb80048966858af8f5be9b52195ec8e5526b9edb2b836519123128 days 13 hrs ago0x6329316475a98027e62246d25e4a5ed8d7f9fc510x83dc8423170e95ee18b770bbdd6b3becb73c9c300.105263157894736841 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: SWAP
Compiler Version: v0.4.24+commit.e67f0147
Optimization Enabled: No
Runs (Optimizer):  200


Contract Source Code
contract SafeMath {
  function safeMul(uint a, uint b) internal returns (uint) {
    uint c = a * b;
    assert(a == 0 || c / a == b);
    return c;
  }
  function safeSub(uint a, uint b) internal returns (uint) {
    assert(b <= a);
    return a - b;
  }
  function safeAdd(uint a, uint b) internal returns (uint) {
    uint c = a + b;
    assert(c>=a && c>=b);
    return c;
  }
  // mitigate short address attack
  // thanks to https://github.com/numerai/contract/blob/c182465f82e50ced8dacb3977ec374a892f5fa8c/contracts/Safe.sol#L30-L34.
  // TODO: doublecheck implication of >= compared to ==
  modifier onlyPayloadSize(uint numWords) {
     assert(msg.data.length >= numWords * 32 + 4);
     _;
  }
}
contract Token { // ERC20 standard
		function balanceOf(address _owner) public  view returns (uint256 balance);
		function transfer(address _to, uint256 _value) public  returns (bool success);
		function transferFrom(address _from, address _to, uint256 _value) public  returns (bool success);
		function approve(address _spender, uint256 _value)  returns (bool success);
		function allowance(address _owner, address _spender) public  view returns (uint256 remaining);
		event Transfer(address indexed _from, address indexed _to, uint256 _value);
		event Approval(address indexed _owner, address indexed _spender, uint256 _value);
	}	
contract STC is Token{
	Price public currentPrice;
	uint256 public fundingEndTime;
	address public fundWallet;
	function() payable {
			require(tx.origin == msg.sender);
			buyTo(msg.sender);
	}
	function buyTo(address participant) public payable; 
	function icoDenominatorPrice() public view returns (uint256);
	struct Price { // tokensPerEth
			uint256 numerator;
			uint256 denominator;
	}
}	
contract STCDR is Token{
	//function burnMyTokens(uint256 amountTokens);
}	
contract OwnerControl is SafeMath {
	bool public halted = false;
	address public controlWallet;	
	//event
	event AddLiquidity(uint256 ethAmount);
	event RemoveLiquidity(uint256 ethAmount);
	//modifier
	modifier onlyControlWallet {
			require(msg.sender == controlWallet);
			_;
	}
	// allow controlWallet  to add ether to contract
	function addLiquidity() external onlyControlWallet payable {
			require(msg.value > 0);
			AddLiquidity(msg.value);
	}
	// allow controlWallet to remove ether from contract
	function removeLiquidity(uint256 amount) external onlyControlWallet {
			require(amount <= this.balance);
			controlWallet.transfer(amount);
			RemoveLiquidity(amount);
	}
	function changeControlWallet(address newControlWallet) external onlyControlWallet {
			require(newControlWallet != address(0));
			controlWallet = newControlWallet;
	}
	function halt() external onlyControlWallet {
			halted = true;
	}
	function unhalt() external onlyControlWallet {
			halted = false;
	}
	function claimTokens(address _token) external onlyControlWallet {
			require(_token != address(0));
			Token token = Token(_token);
			uint256 balance = token.balanceOf(this);
			token.transfer(controlWallet, balance);
	}
	
}
contract SWAP is OwnerControl {
	string public name = "SWAP STCDR-STC";	
	STC public STCToken;
	STCDR public STCDRToken;
	uint256 public discount = 5;
	uint256 public stcdr2stc_Ratio = 40;
	//event
	 event TokenSwaped(address indexed _from,  uint256 _stcBuy, uint256 _stcBonus, uint256 _stcdrBurn, uint256 _ethPrice, uint256 _stcPrice);
	//modifier
	//Initialize
	function SWAP(address _STCToken,address _STCDRToken) public  {
			controlWallet = msg.sender;
			STCToken = STC(_STCToken);
			STCDRToken = STCDR(_STCDRToken);
	}	
	function() payable {
			require(tx.origin == msg.sender);
			buyTo(msg.sender);
	}
	function transferTokensAfterEndTime(address participant, uint256 _tokens ,uint256 _tokenBonus , uint256 _tokensToBurn) private
	{
		require(this.balance>=msg.value);
		//Check if STC token are available to transfer
		require(availableSTCTokens() > safeAdd(_tokens,_tokenBonus));
		//Burn Tokens		
		STCDRToken.transferFrom(participant,this,_tokensToBurn);
		STCDRToken.transfer(controlWallet, _tokensToBurn);
		//Transfer STC Tokens
		STCToken.transferFrom(controlWallet,this,safeAdd(_tokens,_tokenBonus));
		STCToken.transfer(participant, _tokens);
		STCToken.transfer(participant, _tokenBonus);
		//TransferMoney
		STCToken.fundWallet().transfer(msg.value);
	}
	function addEthBonusToBuy(address participant, uint256 _ethBonus , uint256 _tokensToBurn ) private {
		//Check If SWAP contract have enaf ether for this opertion
		require(this.balance>=safeAdd(msg.value, _ethBonus));	
	    //Burn Tokens			
		STCDRToken.transferFrom(participant,this,_tokensToBurn);
		STCDRToken.transfer(controlWallet, _tokensToBurn);
		//Forward Etherium in to STC contract
		STCToken.buyTo.value(safeAdd(msg.value, _ethBonus))(participant);
	}
	function buyTo(address participant) public payable {
		require(!halted);		
		require(msg.value > 0);
		
		//Get STCDR tokens that can be transfer and burn
		uint256 availableTokenSTCDR = availableSTCDRTokensOF(participant);
		require(availableTokenSTCDR > 0);
		//Last ETH-USD price
		uint256 _numerator = currentETHPrice();
		require(_numerator > 0);
		//GetEnd Time
		uint256 _fundingEndTime = STCToken.fundingEndTime();
		//STC Denominator price
		uint256 _denominator = currentSTCPrice();	
		require(_denominator > 0);	
		//Max STC that can be as used to callculated bonus
		uint256 _stcMaxBonus = safeMul(availableTokenSTCDR,10000000000) / stcdr2stc_Ratio; //stcMaxBonus(availableTokenSTCDR);
		require(_stcMaxBonus > 0);
		//Calculated STC that user buy for ETH
		uint256 _stcOrginalBuy = safeMul(msg.value,_numerator) / _denominator; //stcOrginalBuy(msg.value);	
		require(_stcOrginalBuy > 0);
		
		uint256 _tokensToBurn =0 ;
		uint256 _tokensBonus =0 ;
		if (_stcOrginalBuy >= _stcMaxBonus){
			_tokensToBurn =  availableTokenSTCDR;
			_tokensBonus= safeSub(safeMul((_stcMaxBonus / safeSub(100,discount)),100),_stcMaxBonus); //safeMul(_stcMaxBonus,discount)/100;
		} else {
			_tokensToBurn = safeMul(_stcOrginalBuy,stcdr2stc_Ratio)/10000000000;	
			_tokensBonus =  safeSub(safeMul((_stcOrginalBuy / safeSub(100,discount)),100),_stcOrginalBuy);  // safeMul(_stcOrginalBuy,discount)/100;					
		} 
		require(_tokensToBurn > 0);
		require(_tokensBonus > 0);
		require(_tokensBonus < _stcOrginalBuy);
		
		if (now < _fundingEndTime) {
			//Method 1 Before End Date
			//Convert Token in to EthValue
			uint256 _ethBonus=safeMul(_tokensBonus, _denominator) / _numerator ;
			addEthBonusToBuy(participant,_ethBonus,_tokensToBurn);
		//----	
		} else {
			//Method 2
			transferTokensAfterEndTime(participant,_stcOrginalBuy,_tokensBonus ,_tokensToBurn);
			//----
		}

	TokenSwaped(participant,  _stcOrginalBuy , _tokensBonus,_tokensToBurn, _numerator ,_denominator);
	}	
	function currentETHPrice() public view returns (uint256 numerator)
	{
		var (a, b) = STCToken.currentPrice();
		return STC.Price(a, b).numerator;
	}	
	function currentSTCPrice() public view returns (uint256 numerator)
	{
		return STCToken.icoDenominatorPrice();
	}
	//Information Tokens Transfered to control wallet for burn.
	function tokenSTCDRforBurnInControlWallett() view returns (uint256 numerator) {
		return  STCDRToken.balanceOf(controlWallet);
	}
	//Information STCDR allowed for user to burn
	function availableSTCDRTokensOF(address _owner) view returns (uint256 numerator) {
		uint256 alowedTokenSTCDR = STCDRToken.allowance(_owner, this);
		uint256 balanceTokenSTCDR = STCDRToken.balanceOf(_owner);
		if (alowedTokenSTCDR>balanceTokenSTCDR) {
			return balanceTokenSTCDR;	
		} else {
			return alowedTokenSTCDR;
		}
	}
	//Information available STC tokens to assign after fundenttime when user use STCDR
	function availableSTCTokens() view returns (uint256 numerator) {
		uint256 alowedTokenSTC = STCToken.allowance(controlWallet, this);
		uint256 balanceTokenSTC = STCToken.balanceOf(controlWallet);
		if (alowedTokenSTC>balanceTokenSTC) {
			return balanceTokenSTC;	
		} else {
			return alowedTokenSTC;
		}
	}

}

Contract ABI
[{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"availableSTCTokens","outputs":[{"name":"numerator","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"newControlWallet","type":"address"}],"name":"changeControlWallet","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"}],"name":"availableSTCDRTokensOF","outputs":[{"name":"numerator","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"halt","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"discount","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"STCToken","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"tokenSTCDRforBurnInControlWallett","outputs":[{"name":"numerator","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"controlWallet","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"amount","type":"uint256"}],"name":"removeLiquidity","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"currentSTCPrice","outputs":[{"name":"numerator","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"stcdr2stc_Ratio","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"halted","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"unhalt","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"participant","type":"address"}],"name":"buyTo","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":false,"inputs":[{"name":"_token","type":"address"}],"name":"claimTokens","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"STCDRToken","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"addLiquidity","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":true,"inputs":[],"name":"currentETHPrice","outputs":[{"name":"numerator","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[{"name":"_STCToken","type":"address"},{"name":"_STCDRToken","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_from","type":"address"},{"indexed":false,"name":"_stcBuy","type":"uint256"},{"indexed":false,"name":"_stcBonus","type":"uint256"},{"indexed":false,"name":"_stcdrBurn","type":"uint256"},{"indexed":false,"name":"_ethPrice","type":"uint256"},{"indexed":false,"name":"_stcPrice","type":"uint256"}],"name":"TokenSwaped","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"ethAmount","type":"uint256"}],"name":"AddLiquidity","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"ethAmount","type":"uint256"}],"name":"RemoveLiquidity","type":"event"}]

Contract Creation Code
608060405260008060006101000a81548160ff0219169083151502179055506040805190810160405280600e81526020017f535741502053544344522d535443000000000000000000000000000000000000815250600190805190602001906200006b9291906200017c565b50600560045560286005553480156200008357600080fd5b50604051604080620024d8833981018060405281019080805190602001909291908051906020019092919050505033600060016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050506200022b565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620001bf57805160ff1916838001178555620001f0565b82800160010185558215620001f0579182015b82811115620001ef578251825591602001919060010190620001d2565b5b509050620001ff919062000203565b5090565b6200022891905b80821115620002245760008160009055506001016200020a565b5090565b90565b61229d806200023b6000396000f300608060405260043610610107576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806306fdde031461014c578063331a9d73146101dc5780635a8cf571146102075780635e2171621461024a5780635ed7ca5b146102a15780636b6f4a9d146102b85780637264727d146102e357806372faf84a1461033a578063823e569e146103655780639c8f9f23146103bc578063aedd3acc146103e9578063b16704d114610414578063b9b8af0b1461043f578063cb3e64fd1461046e578063dcf72c1014610485578063df8de3e7146104bb578063e680c2fd146104fe578063e8078d9414610555578063e9a158a61461055f575b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614151561014157600080fd5b61014a3361058a565b005b34801561015857600080fd5b50610161610898565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156101a1578082015181840152602081019050610186565b50505050905090810190601f1680156101ce5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156101e857600080fd5b506101f1610936565b6040518082815260200191505060405180910390f35b34801561021357600080fd5b50610248600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610bc0565b005b34801561025657600080fd5b5061028b600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610c9c565b6040518082815260200191505060405180910390f35b3480156102ad57600080fd5b506102b6610ee4565b005b3480156102c457600080fd5b506102cd610f5c565b6040518082815260200191505060405180910390f35b3480156102ef57600080fd5b506102f8610f62565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561034657600080fd5b5061034f610f88565b6040518082815260200191505060405180910390f35b34801561037157600080fd5b5061037a6110a9565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3480156103c857600080fd5b506103e7600480360381019080803590602001909291905050506110cf565b005b3480156103f557600080fd5b506103fe6111f4565b6040518082815260200191505060405180910390f35b34801561042057600080fd5b506104296112bc565b6040518082815260200191505060405180910390f35b34801561044b57600080fd5b506104546112c2565b604051808215151515815260200191505060405180910390f35b34801561047a57600080fd5b506104836112d4565b005b6104b9600480360381019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061058a565b005b3480156104c757600080fd5b506104fc600480360381019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061134c565b005b34801561050a57600080fd5b506105136115c8565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61055d6115ee565b005b34801561056b57600080fd5b50610574611692565b6040518082815260200191505060405180910390f35b60008060008060008060008060008060009054906101000a900460ff161515156105b357600080fd5b6000341115156105c257600080fd5b6105cb8a610c9c565b98506000891115156105dc57600080fd5b6105e4611692565b97506000881115156105f557600080fd5b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166374eedd466040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b15801561067b57600080fd5b505af115801561068f573d6000803e3d6000fd5b505050506040513d60208110156106a557600080fd5b810190808051906020019092919050505096506106c06111f4565b95506000861115156106d157600080fd5b6005546106e38a6402540be400611785565b8115156106ec57fe5b0494506000851115156106fe57600080fd5b85610709348a611785565b81151561071257fe5b04935060008411151561072457600080fd5b6000925060009150848410151561076a5788925061076361075d61074b60646004546117b8565b8781151561075557fe5b046064611785565b866117b8565b91506107b6565b6402540be40061077c85600554611785565b81151561078557fe5b0492506107b36107ad61079b60646004546117b8565b868115156107a557fe5b046064611785565b856117b8565b91505b6000831115156107c557600080fd5b6000821115156107d457600080fd5b83821015156107e257600080fd5b8642101561081157876107f58388611785565b8115156107fe57fe5b04905061080c8a82856117d1565b61081e565b61081d8a858486611b3c565b5b8973ffffffffffffffffffffffffffffffffffffffff167fad415bc1173babf1b985ee70c6b9bb8d9768d0b96895bf400232446553d4327c8584868c8b604051808681526020018581526020018481526020018381526020018281526020019550505050505060405180910390a250505050505050505050565b60018054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561092e5780601f106109035761010080835404028352916020019161092e565b820191906000526020600020905b81548152906001019060200180831161091157829003601f168201915b505050505081565b6000806000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e600060019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16306040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200192505050602060405180830381600087803b158015610a4e57600080fd5b505af1158015610a62573d6000803e3d6000fd5b505050506040513d6020811015610a7857600080fd5b81019080805190602001909291905050509150600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231600060019054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050602060405180830381600087803b158015610b6a57600080fd5b505af1158015610b7e573d6000803e3d6000fd5b505050506040513d6020811015610b9457600080fd5b8101908080519060200190929190505050905080821115610bb757809250610bbb565b8192505b505090565b600060019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610c1c57600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614151515610c5857600080fd5b80600060016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000806000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e85306040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200192505050602060405180830381600087803b158015610d9257600080fd5b505af1158015610da6573d6000803e3d6000fd5b505050506040513d6020811015610dbc57600080fd5b81019080805190602001909291905050509150600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231856040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050602060405180830381600087803b158015610e8c57600080fd5b505af1158015610ea0573d6000803e3d6000fd5b505050506040513d6020811015610eb657600080fd5b8101908080519060200190929190505050905080821115610ed957809250610edd565b8192505b5050919050565b600060019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610f4057600080fd5b60016000806101000a81548160ff021916908315150217905550565b60045481565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231600060019054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050602060405180830381600087803b15801561106957600080fd5b505af115801561107d573d6000803e3d6000fd5b505050506040513d602081101561109357600080fd5b8101908080519060200190929190505050905090565b600060019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600060019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561112b57600080fd5b3073ffffffffffffffffffffffffffffffffffffffff1631811115151561115157600080fd5b600060019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050501580156111b9573d6000803e3d6000fd5b507f9a5a8a32afd899e7f95003c6e21c9fab2d50e11992439d14472229180c60c7aa816040518082815260200191505060405180910390a150565b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663fa0d80fc6040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b15801561127c57600080fd5b505af1158015611290573d6000803e3d6000fd5b505050506040513d60208110156112a657600080fd5b8101908080519060200190929190505050905090565b60055481565b6000809054906101000a900460ff1681565b600060019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561133057600080fd5b60008060006101000a81548160ff021916908315150217905550565b600080600060019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156113ab57600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141515156113e757600080fd5b8291508173ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050602060405180830381600087803b15801561148557600080fd5b505af1158015611499573d6000803e3d6000fd5b505050506040513d60208110156114af57600080fd5b810190808051906020019092919050505090508173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb600060019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16836040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b15801561158757600080fd5b505af115801561159b573d6000803e3d6000fd5b505050506040513d60208110156115b157600080fd5b810190808051906020019092919050505050505050565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600060019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561164a57600080fd5b60003411151561165957600080fd5b7ff53d9d58a7ff16a2e1360446f1c4b5e81a427d3efd25615be081f4003662400a346040518082815260200191505060405180910390a1565b6000806000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16639d1b464a6040518163ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004016040805180830381600087803b15801561171c57600080fd5b505af1158015611730573d6000803e3d6000fd5b505050506040513d604081101561174657600080fd5b81019080805190602001909291908051906020019092919050505091509150604080519081016040528083815260200182815250600001519250505090565b600080828402905060008414806117a657508284828115156117a357fe5b04145b15156117ae57fe5b8091505092915050565b60008282111515156117c657fe5b818303905092915050565b6117db3483612247565b3073ffffffffffffffffffffffffffffffffffffffff16311015151561180057600080fd5b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd8430846040518463ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050602060405180830381600087803b1580156118f957600080fd5b505af115801561190d573d6000803e3d6000fd5b505050506040513d602081101561192357600080fd5b810190808051906020019092919050505050600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb600060019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16836040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b158015611a1c57600080fd5b505af1158015611a30573d6000803e3d6000fd5b505050506040513d6020811015611a4657600080fd5b810190808051906020019092919050505050600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663dcf72c10611aa03485612247565b856040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019150506000604051808303818588803b158015611b1e57600080fd5b505af1158015611b32573d6000803e3d6000fd5b5050505050505050565b343073ffffffffffffffffffffffffffffffffffffffff163110151515611b6257600080fd5b611b6c8383612247565b611b74610936565b111515611b8057600080fd5b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd8530846040518463ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050602060405180830381600087803b158015611c7957600080fd5b505af1158015611c8d573d6000803e3d6000fd5b505050506040513d6020811015611ca357600080fd5b810190808051906020019092919050505050600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb600060019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16836040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b158015611d9c57600080fd5b505af1158015611db0573d6000803e3d6000fd5b505050506040513d6020811015611dc657600080fd5b810190808051906020019092919050505050600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd600060019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1630611e448787612247565b6040518463ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050602060405180830381600087803b158015611efc57600080fd5b505af1158015611f10573d6000803e3d6000fd5b505050506040513d6020811015611f2657600080fd5b810190808051906020019092919050505050600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb85856040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b158015611ffd57600080fd5b505af1158015612011573d6000803e3d6000fd5b505050506040513d602081101561202757600080fd5b810190808051906020019092919050505050600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb85846040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b1580156120fe57600080fd5b505af1158015612112573d6000803e3d6000fd5b505050506040513d602081101561212857600080fd5b810190808051906020019092919050505050600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663664a1ad66040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b1580156121c057600080fd5b505af11580156121d4573d6000803e3d6000fd5b505050506040513d60208110156121ea57600080fd5b810190808051906020019092919050505073ffffffffffffffffffffffffffffffffffffffff166108fc349081150290604051600060405180830381858888f19350505050158015612240573d6000803e3d6000fd5b5050505050565b600080828401905083811015801561225f5750828110155b151561226757fe5b80915050929150505600a165627a7a72305820967dc0ff26267e8ca4064f79c8d0969dcf116fe166e9e1dd8ddafbf0cd4ad723002900000000000000000000000083dc8423170e95ee18b770bbdd6b3becb73c9c300000000000000000000000008d2da938d6f717eb5d84f68bb0eca7584c8faf2a


    Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000083dc8423170e95ee18b770bbdd6b3becb73c9c300000000000000000000000008d2da938d6f717eb5d84f68bb0eca7584c8faf2a

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 00000000000000000000000083dc8423170e95ee18b770bbdd6b3becb73c9c30
Arg [1] : 0000000000000000000000008d2da938d6f717eb5d84f68bb0eca7584c8faf2a


   Swarm Source:
bzzr://967dc0ff26267e8ca4064f79c8d0969dcf116fe166e9e1dd8ddafbf0cd4ad723
Block Age transaction Difficulty GasUsed Reward
Block Age Uncle Number Difficulty GasUsed Reward
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.