ETH Price: $2,591.36 (+0.63%)
Gas: 5 Gwei

Contract

0x7125df83a5D3945728036D3C5e48E2C9e38d1607
 

Overview

ETH Balance

0.05405555 ETH

Eth Value

$140.08 (@ $2,591.36/ETH)

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Transfer67040012018-11-14 16:48:562095 days ago1542214136IN
0x7125df83...9e38d1607
0.00001111 ETH0.0002896714.95
Transfer67038632018-11-14 16:17:142095 days ago1542212234IN
0x7125df83...9e38d1607
0.00001111 ETH0.000091064.7
Transfer67038222018-11-14 16:06:492095 days ago1542211609IN
0x7125df83...9e38d1607
0.00001111 ETH0.000096885
Transfer67038052018-11-14 16:01:352095 days ago1542211295IN
0x7125df83...9e38d1607
0.00001111 ETH0.000115865.98
Transfer67037492018-11-14 15:49:062095 days ago1542210546IN
0x7125df83...9e38d1607
0.00001111 ETH0.00007754
Transfer67025722018-11-14 11:12:432095 days ago1542193963IN
0x7125df83...9e38d1607
0.01 ETH0.000726547.475
Transfer67025432018-11-14 11:04:262095 days ago1542193466IN
0x7125df83...9e38d1607
0.03 ETH0.000583186
Transfer67023882018-11-14 10:30:082095 days ago1542191408IN
0x7125df83...9e38d1607
0.02 ETH0.000485985
Transfer67023772018-11-14 10:25:552095 days ago1542191155IN
0x7125df83...9e38d1607
0.1 ETH0.000485985
Transfer67023632018-11-14 10:22:422095 days ago1542190962IN
0x7125df83...9e38d1607
0.02 ETH0.000568784
0x6080604067022052018-11-14 9:41:222095 days ago1542188482IN
 Create: Smartolution
0 ETH0.002268464

Latest 5 internal transactions

Advanced mode:
Parent Transaction Hash Block From To
67040012018-11-14 16:48:562095 days ago1542214136
0x7125df83...9e38d1607
0.014 ETH
67038632018-11-14 16:17:142095 days ago1542212234
0x7125df83...9e38d1607
0.07 ETH
67038222018-11-14 16:06:492095 days ago1542211609
0x7125df83...9e38d1607
0.021 ETH
67038052018-11-14 16:01:352095 days ago1542211295
0x7125df83...9e38d1607
0.007 ETH
67037492018-11-14 15:49:062095 days ago1542210546
0x7125df83...9e38d1607
0.014 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Smartolution

Compiler Version
v0.4.25+commit.59dbf8f1

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
/**
 *Submitted for verification at Etherscan.io on 2018-11-14
*/

pragma solidity ^0.4.25;

/**
 * Smartolution.org!
 *
 * Hey, 
 * 
 * You know the rules of ponzi already,
 * but let me briefly explain how this one works ;)
 * 
 * This is your personal 45 days magic piggy bank!
 * 
 * 1. Send fixed amount of ether every 24 hours (5900 blocks).
 * 2. With every new transaction collect exponentially greater return!
 * 3. Keep sending the same amount of ether! (can't trick the code, bro)
 * 4. Don't send too often (early transactions will be rejected, uh oh)
 * 5. Don't be late, you won't loose your %, but who wants to be the last?
 *  
 * Play by the rules and save up to 170%!
 *
 * Gas limit: 150 000 (only the first time, average ~ 50 000)
 * Gas price: https://ethgasstation.info/
 *
 */
contract Smartolution {

    struct User {
        uint value;
        uint index;
        uint atBlock;
    }

    mapping (address => User) public users;
    
    uint public total;
    uint public advertisement;
    uint public team;
   
    address public teamAddress;
    address public advertisementAddress;

    constructor(address _advertisementAddress, address _teamAddress) public {
        advertisementAddress = _advertisementAddress;
        teamAddress = _teamAddress;
    }

    function () public payable {
        require(msg.value == 0.00001111 ether || (msg.value >= 0.01 ether && msg.value <= 5 ether), "Min: 0.01 ether, Max: 5 ether, Exit: 0.00001111 eth");

        User storage user = users[msg.sender]; // this is you

        if (msg.value != 0.00001111 ether) {
            total += msg.value;                 // total 
            advertisement += msg.value / 30;    // 3.3% advertisement
            team += msg.value / 200;            // 0.5% team
            
            if (user.value == 0) { 
                user.value = msg.value;
                user.atBlock = block.number;
                user.index = 1;     
            } else {
                require(block.number - user.atBlock >= 5900, "Too soon, try again later");

                uint idx = ++user.index;
                uint amount = msg.value > user.value ? user.value : msg.value;
                
                if (idx == 45) {
                    user.value = 0; // game over for you, my friend!
                } else {
                    // if you are late for more than 4 hours (984 blocks)
                    // then next deposit/payment will be delayed accordingly
                    if (block.number - user.atBlock - 5900 < 984) { 
                        user.atBlock += 5900;
                    } else {
                        user.atBlock = block.number - 984;
                    }
                }

                // sprinkle that with some magic numbers and voila
                msg.sender.transfer(amount * idx * idx * (24400 - 500 * amount / 1 ether) / 10000000);
            }
        } else {
            require(user.index <= 10, "It's too late to request a refund at this point");

            msg.sender.transfer(user.index * user.value * 70 / 100);
            user.value = 0;
        }
        
    }

    /**
     * This one is easy, claim reserved ether for the team or advertisement
     */ 
    function claim(uint amount) public {
        if (msg.sender == advertisementAddress) {
            require(amount > 0 && amount <= advertisement, "Can't claim more than was reserved");

            advertisement -= amount;
            msg.sender.transfer(amount);
        } else 
        if (msg.sender == teamAddress) {
            require(amount > 0 && amount <= team, "Can't claim more than was reserved");

            team -= amount;
            msg.sender.transfer(amount);
        }
    }
}

Contract Security Audit

Contract ABI

[{"constant":true,"inputs":[],"name":"teamAddress","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"total","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"amount","type":"uint256"}],"name":"claim","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"advertisementAddress","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"team","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"advertisement","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"users","outputs":[{"name":"value","type":"uint256"},{"name":"index","type":"uint256"},{"name":"atBlock","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[{"name":"_advertisementAddress","type":"address"},{"name":"_teamAddress","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"}]

608060405234801561001057600080fd5b5060405160408061075183398101604052805160209091015160058054600160a060020a03938416600160a060020a031991821617909155600480549390921692169190911790556106ea806100676000396000f3006080604052600436106100825763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416631c75f08581146103765780632ddbd13a146103b4578063379607f5146103db5780633f7db053146103f557806385f2aef21461040a578063a715d9bf1461041f578063a87430ba14610434575b600080600034650a1abf9a7c0014806100b55750662386f26fc1000034101580156100b55750674563918244f400003411155b1515610131576040805160e560020a62461bcd02815260206004820152603360248201527f4d696e3a20302e30312065746865722c204d61783a20352065746865722c204560448201527f7869743a20302e30303030313131312065746800000000000000000000000000606482015290519081900360840190fd5b3360009081526020819052604090209250650a1abf9a7c0034146102a857600180543490810190915560028054601e83040190556003805460c890920490910190558254151561018f573483554360028401556001808401556102a3565b61170c83600201544303101515156101f1576040805160e560020a62461bcd02815260206004820152601960248201527f546f6f20736f6f6e2c2074727920616761696e206c6174657200000000000000604482015290519081900360640190fd5b6001808401805490910190819055835490925034116102105734610213565b82545b905081602d14156102275760008355610258565b6103d861170c8460020154430303101561024c5760028301805461170c019055610258565b6103d719430160028401555b604051339062989680670de0b6b3a76400006101f4850204615f50038486028602020480156108fc02916000818181858888f193505050501580156102a1573d6000803e3d6000fd5b505b610371565b6001830154600a101561032b576040805160e560020a62461bcd02815260206004820152602f60248201527f4974277320746f6f206c61746520746f2072657175657374206120726566756e60448201527f64206174207468697320706f696e740000000000000000000000000000000000606482015290519081900360840190fd5b8254600184015433916108fc9160649102604602049081150290604051600060405180830381858888f1935050505015801561036b573d6000803e3d6000fd5b50600083555b505050005b34801561038257600080fd5b5061038b610480565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b3480156103c057600080fd5b506103c961049c565b60408051918252519081900360200190f35b3480156103e757600080fd5b506103f36004356104a2565b005b34801561040157600080fd5b5061038b610675565b34801561041657600080fd5b506103c9610691565b34801561042b57600080fd5b506103c9610697565b34801561044057600080fd5b5061046273ffffffffffffffffffffffffffffffffffffffff6004351661069d565b60408051938452602084019290925282820152519081900360600190f35b60045473ffffffffffffffffffffffffffffffffffffffff1681565b60015481565b60055473ffffffffffffffffffffffffffffffffffffffff1633141561058c576000811180156104d457506002548111155b1515610550576040805160e560020a62461bcd02815260206004820152602260248201527f43616e277420636c61696d206d6f7265207468616e207761732072657365727660448201527f6564000000000000000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b600280548290039055604051339082156108fc029083906000818181858888f19350505050158015610586573d6000803e3d6000fd5b50610672565b60045473ffffffffffffffffffffffffffffffffffffffff16331415610672576000811180156105be57506003548111155b151561063a576040805160e560020a62461bcd02815260206004820152602260248201527f43616e277420636c61696d206d6f7265207468616e207761732072657365727660448201527f6564000000000000000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b600380548290039055604051339082156108fc029083906000818181858888f19350505050158015610670573d6000803e3d6000fd5b505b50565b60055473ffffffffffffffffffffffffffffffffffffffff1681565b60035481565b60025481565b600060208190529081526040902080546001820154600290920154909190835600a165627a7a72305820c3bc0ac7f863e301d36021f0273d6928ad417f31c109d15d21e72fb04b38bef60029000000000000000000000000e1f3294e25bb72a2fb53addb82aa1a033797e6e3000000000000000000000000fef4c8d00521696871857c12a098f86c6bc5340e

Deployed Bytecode

0x6080604052600436106100825763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416631c75f08581146103765780632ddbd13a146103b4578063379607f5146103db5780633f7db053146103f557806385f2aef21461040a578063a715d9bf1461041f578063a87430ba14610434575b600080600034650a1abf9a7c0014806100b55750662386f26fc1000034101580156100b55750674563918244f400003411155b1515610131576040805160e560020a62461bcd02815260206004820152603360248201527f4d696e3a20302e30312065746865722c204d61783a20352065746865722c204560448201527f7869743a20302e30303030313131312065746800000000000000000000000000606482015290519081900360840190fd5b3360009081526020819052604090209250650a1abf9a7c0034146102a857600180543490810190915560028054601e83040190556003805460c890920490910190558254151561018f573483554360028401556001808401556102a3565b61170c83600201544303101515156101f1576040805160e560020a62461bcd02815260206004820152601960248201527f546f6f20736f6f6e2c2074727920616761696e206c6174657200000000000000604482015290519081900360640190fd5b6001808401805490910190819055835490925034116102105734610213565b82545b905081602d14156102275760008355610258565b6103d861170c8460020154430303101561024c5760028301805461170c019055610258565b6103d719430160028401555b604051339062989680670de0b6b3a76400006101f4850204615f50038486028602020480156108fc02916000818181858888f193505050501580156102a1573d6000803e3d6000fd5b505b610371565b6001830154600a101561032b576040805160e560020a62461bcd02815260206004820152602f60248201527f4974277320746f6f206c61746520746f2072657175657374206120726566756e60448201527f64206174207468697320706f696e740000000000000000000000000000000000606482015290519081900360840190fd5b8254600184015433916108fc9160649102604602049081150290604051600060405180830381858888f1935050505015801561036b573d6000803e3d6000fd5b50600083555b505050005b34801561038257600080fd5b5061038b610480565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b3480156103c057600080fd5b506103c961049c565b60408051918252519081900360200190f35b3480156103e757600080fd5b506103f36004356104a2565b005b34801561040157600080fd5b5061038b610675565b34801561041657600080fd5b506103c9610691565b34801561042b57600080fd5b506103c9610697565b34801561044057600080fd5b5061046273ffffffffffffffffffffffffffffffffffffffff6004351661069d565b60408051938452602084019290925282820152519081900360600190f35b60045473ffffffffffffffffffffffffffffffffffffffff1681565b60015481565b60055473ffffffffffffffffffffffffffffffffffffffff1633141561058c576000811180156104d457506002548111155b1515610550576040805160e560020a62461bcd02815260206004820152602260248201527f43616e277420636c61696d206d6f7265207468616e207761732072657365727660448201527f6564000000000000000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b600280548290039055604051339082156108fc029083906000818181858888f19350505050158015610586573d6000803e3d6000fd5b50610672565b60045473ffffffffffffffffffffffffffffffffffffffff16331415610672576000811180156105be57506003548111155b151561063a576040805160e560020a62461bcd02815260206004820152602260248201527f43616e277420636c61696d206d6f7265207468616e207761732072657365727660448201527f6564000000000000000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b600380548290039055604051339082156108fc029083906000818181858888f19350505050158015610670573d6000803e3d6000fd5b505b50565b60055473ffffffffffffffffffffffffffffffffffffffff1681565b60035481565b60025481565b600060208190529081526040902080546001820154600290920154909190835600a165627a7a72305820c3bc0ac7f863e301d36021f0273d6928ad417f31c109d15d21e72fb04b38bef60029

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

000000000000000000000000e1f3294e25bb72a2fb53addb82aa1a033797e6e3000000000000000000000000fef4c8d00521696871857c12a098f86c6bc5340e

-----Decoded View---------------
Arg [0] : _advertisementAddress (address): 0xE1f3294e25bB72a2fB53Addb82aA1a033797e6e3
Arg [1] : _teamAddress (address): 0xFef4c8d00521696871857C12a098F86C6bc5340e

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000e1f3294e25bb72a2fb53addb82aa1a033797e6e3
Arg [1] : 000000000000000000000000fef4c8d00521696871857c12a098f86c6bc5340e


Swarm Source

bzzr://c3bc0ac7f863e301d36021f0273d6928ad417f31c109d15d21e72fb04b38bef6

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.