Contract Overview
Balance: 0 Ether
Ether Value: $0
Transactions: 6 txns
Misc:
Address Watch: Add To Watch List
Contract Creator: 0xabc45921642cbe058555361490f49b6321ed6989at txn 0x4b746cb6ce44cf9934bbfe79579d5183c4912a96c38d2e9eead666554089c160
 Latest 6 txns

TxHash Age From To Value [TxFee]
0x72730992d5bac8a7624af542471f0a078a7499c0027d517226282ad4eac2b11b71 days 9 hrs ago0xcee695ad729b3af94b2d15061d56c1245b2bcce9  IN   0x34f7560337e832066972caed80c844b01548c4050.4 Ether0.000298648
0xfe5f819c412151736a8969d1e6bdf8335bb711fa9cff4a2ccfd29cabc65a77dc134 days 3 hrs ago0x9b170b352f8ed4afdc80aadf45fbd13d4619c585  IN   0x34f7560337e832066972caed80c844b01548c4051.001 Ether0.003676142
0x540b6fe9fb7a4d91e146e3095a1dca76d919e8382a37b46196b205d65a4ebbbd136 days 1 hr ago0x0de2b189f1c825c0378bfa67bca24c2fe43c8fe1  IN   0x34f7560337e832066972caed80c844b01548c4050.04 Ether0.000179324
0xbb96cecda6a0763371a8d26019447fb2e853d36e93920f8a0be24c5bc3bca923143 days 4 hrs ago0xb95d31637a4b631ab4c4c6781b7607cb4239285c  IN   0x34f7560337e832066972caed80c844b01548c4050.8 Ether0.003676142
0xb1f0e25e4683683883e8d28b983ace9acfa80633c82fbf0b8ec9e69c61d74de6146 days 45 mins ago0x49c4572fd9425622b9d886d3e521bb95b796b0dd  IN   0x34f7560337e832066972caed80c844b01548c4051.2 Ether0.000269324
0x4b746cb6ce44cf9934bbfe79579d5183c4912a96c38d2e9eead666554089c160198 days 10 hrs ago0xabc45921642cbe058555361490f49b6321ed6989  IN    Contract Creation0 Ether0.013554716
[ Download CSV Export  ] 
 Internal Transactions as a result of Contract Execution
 Latest 10 Internal Transactions

ParentTxHash Block Age From To Value
0x72730992d5bac8a7624af542471f0a078a7499c0027d517226282ad4eac2b11b645693571 days 9 hrs ago0x34f7560337e832066972caed80c844b01548c4050xabc45921642cbe058555361490f49b6321ed69890.368 Ether
0x72730992d5bac8a7624af542471f0a078a7499c0027d517226282ad4eac2b11b645693571 days 9 hrs ago0x34f7560337e832066972caed80c844b01548c4050x8610a40e51454a5bbc6fc3d31874595d7b2cb8f00.032 Ether
0xfe5f819c412151736a8969d1e6bdf8335bb711fa9cff4a2ccfd29cabc65a77dc6081267134 days 3 hrs ago0x34f7560337e832066972caed80c844b01548c4050xabc45921642cbe058555361490f49b6321ed69890.92092 Ether
0xfe5f819c412151736a8969d1e6bdf8335bb711fa9cff4a2ccfd29cabc65a77dc6081267134 days 3 hrs ago0x34f7560337e832066972caed80c844b01548c4050x8610a40e51454a5bbc6fc3d31874595d7b2cb8f00.08008 Ether
0x540b6fe9fb7a4d91e146e3095a1dca76d919e8382a37b46196b205d65a4ebbbd6070126136 days 1 hr ago0x34f7560337e832066972caed80c844b01548c4050xabc45921642cbe058555361490f49b6321ed69890.0368 Ether
0x540b6fe9fb7a4d91e146e3095a1dca76d919e8382a37b46196b205d65a4ebbbd6070126136 days 1 hr ago0x34f7560337e832066972caed80c844b01548c4050x8610a40e51454a5bbc6fc3d31874595d7b2cb8f00.0032 Ether
0xbb96cecda6a0763371a8d26019447fb2e853d36e93920f8a0be24c5bc3bca9236027822143 days 4 hrs ago0x34f7560337e832066972caed80c844b01548c4050xabc45921642cbe058555361490f49b6321ed69890.736 Ether
0xbb96cecda6a0763371a8d26019447fb2e853d36e93920f8a0be24c5bc3bca9236027822143 days 4 hrs ago0x34f7560337e832066972caed80c844b01548c4050x8610a40e51454a5bbc6fc3d31874595d7b2cb8f00.064 Ether
0xb1f0e25e4683683883e8d28b983ace9acfa80633c82fbf0b8ec9e69c61d74de66011059146 days 45 mins ago0x34f7560337e832066972caed80c844b01548c4050xabc45921642cbe058555361490f49b6321ed69891.104 Ether
0xb1f0e25e4683683883e8d28b983ace9acfa80633c82fbf0b8ec9e69c61d74de66011059146 days 45 mins ago0x34f7560337e832066972caed80c844b01548c4050x8610a40e51454a5bbc6fc3d31874595d7b2cb8f00.096 Ether
[ Download CSV Export  ] 
Warning: The Compiled Contract might be susceptible to ExpExponentCleanup (medium/high-severity), EventStructWrongData (very low-severity) SolidityCompiler Bugs.

Contract Source Code Verified (Exact Match)
Contract Name: Sale
Compiler Text: v0.4.24+commit.e67f0147
Optimization Enabled: No
Runs (Optimiser):  200



  Contract Source Code   Find Similiar Contracts

pragma solidity ^0.4.24;

interface token {
    function transferFrom(address _from, address _to, uint256 _value) public returns (bool success);
}

contract Sale {
    address private maintoken = 0x2054a15c6822a722378d13c4e4ea85365e46e50b;
    address private owner = 0xabc45921642cbe058555361490f49b6321ed6989;
    address private owner8 = 0x8610a40e51454a5bbc6fc3d31874595d7b2cb8f0;
    uint256 private sendtoken;
    uint256 public cost1token = 0.0004 ether;
    uint256 private ethersum;
    uint256 private ethersum8;
    token public tokenReward;
    
    function Sale() public {
        tokenReward = token(maintoken);
    }
    
    function() external payable {
        sendtoken = (msg.value)/cost1token;
        if (msg.value >= 5 ether) {
            sendtoken = (msg.value)/cost1token;
            sendtoken = sendtoken*125/100;
        }
        if (msg.value >= 10 ether) {
            sendtoken = (msg.value)/cost1token;
            sendtoken = sendtoken*150/100;
        }
        if (msg.value >= 15 ether) {
            sendtoken = (msg.value)/cost1token;
            sendtoken = sendtoken*175/100;
        }
        if (msg.value >= 20 ether) {
            sendtoken = (msg.value)/cost1token;
            sendtoken = sendtoken*200/100;
        }
        tokenReward.transferFrom(owner, msg.sender, sendtoken);
        
        ethersum8 = (msg.value)*8/100;
    	ethersum = (msg.value)-ethersum8;    	    	    	    	        
        owner8.transfer(ethersum8);
        owner.transfer(ethersum);
    }
}

    Contract ABI  
[{"constant":true,"inputs":[],"name":"tokenReward","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"cost1token","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"}]

  Contract Creation Code Switch To Opcodes View
6080604052732054a15c6822a722378d13c4e4ea85365e46e50b6000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555073abc45921642cbe058555361490f49b6321ed6989600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550738610a40e51454a5bbc6fc3d31874595d7b2cb8f0600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555066016bcc41e9000060045534801561011957600080fd5b506000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506104858061018b6000396000f30060806040526004361061004c576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff1680636e66f6e9146103ab5780639518589a14610402575b6004543481151561005957fe5b04600381905550674563918244f400003410151561009e576004543481151561007e57fe5b046003819055506064607d6003540281151561009657fe5b046003819055505b678ac7230489e80000341015156100dc57600454348115156100bc57fe5b0460038190555060646096600354028115156100d457fe5b046003819055505b67d02ab486cedc00003410151561011a57600454348115156100fa57fe5b04600381905550606460af6003540281151561011257fe5b046003819055505b6801158e460913d0000034101515610159576004543481151561013957fe5b04600381905550606460c86003540281151561015157fe5b046003819055505b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16336003546040518463ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050602060405180830381600087803b15801561027657600080fd5b505af115801561028a573d6000803e3d6000fd5b505050506040513d60208110156102a057600080fd5b8101908080519060200190929190505050506064600834028115156102c157fe5b046006819055506006543403600581905550600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc6006549081150290604051600060405180830381858888f1935050505015801561033d573d6000803e3d6000fd5b50600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc6005549081150290604051600060405180830381858888f193505050501580156103a8573d6000803e3d6000fd5b50005b3480156103b757600080fd5b506103c061042d565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561040e57600080fd5b50610417610453565b6040518082815260200191505060405180910390f35b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600454815600a165627a7a723058201a01948912786a795168a47f24556511066c6a253523262d348286d2eed2541e0029

   Swarm Source:
bzzr://1a01948912786a795168a47f24556511066c6a253523262d348286d2eed2541e

 

View All
Block Age transaction Difficulty GasUsed Reward
View All
Block Age UncleNumber Difficulty GasUsed Reward
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.