Sponsored:   LH-CRYPTO - 200 instruments (BTC, EUR, GOLD, OIL, SHARES). Leverage up to 1:500. OPEN ACCOUNT
Contract Overview
Balance: 0 Ether
Ether Value: $0
Transactions: 8 txns
Misc:
Address Watch: Add To Watch List
Contract Creator: 0x8dffcce1d47c6325340712ab1b8fd7328075730cat txn 0x86aa0f6286eb09ef8be5b7ea6a73503916c95ffa9fdc23a340d0aa8c65bbca09
 Latest 8 txns

TxHash Age From To Value [TxFee]
0xd3f20a8ef2e8f5fa8384dd5d0daa714544acca1a5a81048c3a780420ed1dbecf64 days 11 hrs ago0xe5343204341c133aa5db2d60622b2d8da58dcfae  IN   0x2ada0cddb716033e52c3d591ad12a59103230e521 Ether0.0000906397
0xf3fec7f4186784eea85504aa96c10639a6b4c5cbbbcdad8ef50ea869aa7bb74564 days 18 hrs ago0xd724f7caaa7c04407327c0e0243776c99c1a8a38  IN   0x2ada0cddb716033e52c3d591ad12a59103230e521 Ether0.00042158
0x7a3a0b1cad265d9ad4126e5453d517ef641bc279feafe6525c7a3c5fc4593bf065 days 13 hrs ago0x8dffcce1d47c6325340712ab1b8fd7328075730c  IN   0x2ada0cddb716033e52c3d591ad12a59103230e521 Ether0.000168632
0x91e4aab48ddeb7dced94cd8ff0e20595d9bb966325916ab72f758217bdb9418565 days 13 hrs ago0x8dffcce1d47c6325340712ab1b8fd7328075730c  IN   0x2ada0cddb716033e52c3d591ad12a59103230e521 Ether0.00014418036
0x5730516af77f6c90264dd6a6a38b47a0eb1b0199319955ba9035f44bb66de23065 days 14 hrs ago0xd724f7caaa7c04407327c0e0243776c99c1a8a38  IN   0x2ada0cddb716033e52c3d591ad12a59103230e521 Ether0.000105395
0xb434bd0b06d1837655a5468562732009b57f029afb22ab9a1f77e9a5d61d17e365 days 17 hrs ago0xd724f7caaa7c04407327c0e0243776c99c1a8a38  IN   0x2ada0cddb716033e52c3d591ad12a59103230e521 Ether0.000105395
0xc8bdaee9f37b1881fddfd2e27b872e0a632ba642561bc50cb83b66ceab8a898f65 days 18 hrs ago0xd724f7caaa7c04407327c0e0243776c99c1a8a38  IN   0x2ada0cddb716033e52c3d591ad12a59103230e521 Ether0.000126
0x86aa0f6286eb09ef8be5b7ea6a73503916c95ffa9fdc23a340d0aa8c65bbca0968 days 13 hrs ago0x8dffcce1d47c6325340712ab1b8fd7328075730c  IN    Contract Creation0 Ether0.01353069
[ Download CSV Export  ] 
 Internal Transactions as a result of Contract Execution
View All
ParentTxHash Block Age From To Value
Contract Source Code Verified (Exact Match)
Contract Name: SGEICO
Compiler Text: v0.4.25+commit.59dbf8f1
Optimization Enabled: No
Runs (Optimiser):  200



  Contract Source Code   Find Similiar Contracts

pragma solidity ^0.4.16;

interface Token {
    function transferFrom(address _from, address _to, uint256 _value) external;
}

contract SGEICO {

    Token public tokenReward;
    address public creator;
    address public owner = 0x8dfFcCE1d47C6325340712AB1B8fD7328075730C;

    uint256 public price;
    uint256 public startDate;
    uint256 public endDate;

    modifier isCreator() {
        require(msg.sender == creator);
        _;
    }

    event FundTransfer(address backer, uint amount, bool isContribution);

    constructor () public {
        creator = msg.sender;
        startDate = 1536969600;
        endDate = 1544832000;
        price = 1100;
        tokenReward = Token(0x40489719E489782959486A04B765E1E93E5B221a);
    }

    function setOwner(address _owner) isCreator public {
        owner = _owner;
    }

    function setCreator(address _creator) isCreator public {
        creator = _creator;
    }

    function setStartDate(uint256 _startDate) isCreator public {
        startDate = _startDate;
    }

    function setEndtDate(uint256 _endDate) isCreator public {
        endDate = _endDate;
    }

    function setPrice(uint256 _price) isCreator public {
        price = _price;
    }

    function setToken(address _token) isCreator public {
        tokenReward = Token(_token);
    }

    function kill() isCreator public {
        selfdestruct(owner);
    }

    function () payable public {
        require(msg.value > 1 ether);
        require(now > startDate);
        require(now < endDate);
	    uint amount = msg.value * price;
        uint _amount = amount / 4;
        amount += _amount;
        tokenReward.transferFrom(owner, msg.sender, amount);
        emit FundTransfer(msg.sender, amount, true);
        owner.transfer(msg.value);
    }
}

    Contract ABI  
[{"constant":true,"inputs":[],"name":"creator","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"startDate","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_owner","type":"address"}],"name":"setOwner","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_token","type":"address"}],"name":"setToken","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_creator","type":"address"}],"name":"setCreator","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"kill","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"tokenReward","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_endDate","type":"uint256"}],"name":"setEndtDate","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_startDate","type":"uint256"}],"name":"setStartDate","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_price","type":"uint256"}],"name":"setPrice","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"price","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"endDate","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"anonymous":false,"inputs":[{"indexed":false,"name":"backer","type":"address"},{"indexed":false,"name":"amount","type":"uint256"},{"indexed":false,"name":"isContribution","type":"bool"}],"name":"FundTransfer","type":"event"}]

  Contract Creation Code Switch To Opcodes View
6080604052738dffcce1d47c6325340712ab1b8fd7328075730c600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555034801561006557600080fd5b5033600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550635b9c4b80600481905550635c14440060058190555061044c6003819055507340489719e489782959486a04b765e1e93e5b221a6000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550610a74806101296000396000f3006080604052600436106100c5576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806302d05d3f146103305780630b97bc861461038757806313af4035146103b2578063144fa6d7146103f55780633f5160181461043857806341c0e1b51461047b5780636e66f6e914610492578063739cb57d146104e957806382d95df5146105165780638da5cb5b1461054357806391b7f5ed1461059a578063a035b1fe146105c7578063c24a0f8b146105f2575b600080670de0b6b3a7640000341115156100de57600080fd5b600454421115156100ee57600080fd5b600554421015156100fe57600080fd5b6003543402915060048281151561011157fe5b04905080820191506000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1633856040518463ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050600060405180830381600087803b15801561023357600080fd5b505af1158015610247573d6000803e3d6000fd5b505050507fe842aea7a5f1b01049d752008c53c52890b1a6daf660cf39e8eec506112bbdf633836001604051808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200183815260200182151515158152602001935050505060405180910390a1600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc349081150290604051600060405180830381858888f1935050505015801561032b573d6000803e3d6000fd5b505050005b34801561033c57600080fd5b5061034561061d565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561039357600080fd5b5061039c610643565b6040518082815260200191505060405180910390f35b3480156103be57600080fd5b506103f3600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610649565b005b34801561040157600080fd5b50610436600480360381019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506106e9565b005b34801561044457600080fd5b50610479600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610788565b005b34801561048757600080fd5b50610490610828565b005b34801561049e57600080fd5b506104a76108bf565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3480156104f557600080fd5b50610514600480360381019080803590602001909291905050506108e4565b005b34801561052257600080fd5b506105416004803603810190808035906020019092919050505061094a565b005b34801561054f57600080fd5b506105586109b0565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3480156105a657600080fd5b506105c5600480360381019080803590602001909291905050506109d6565b005b3480156105d357600080fd5b506105dc610a3c565b6040518082815260200191505060405180910390f35b3480156105fe57600080fd5b50610607610a42565b6040518082815260200191505060405180910390f35b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60045481565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156106a557600080fd5b80600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561074557600080fd5b806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156107e457600080fd5b80600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561088457600080fd5b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16ff5b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561094057600080fd5b8060058190555050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156109a657600080fd5b8060048190555050565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610a3257600080fd5b8060038190555050565b60035481565b600554815600a165627a7a72305820a50f5332883f8218a3e7259ceb786cb584ea12046ec330679182647c6f5492d70029

   Swarm Source:
bzzr://a50f5332883f8218a3e7259ceb786cb584ea12046ec330679182647c6f5492d7

 

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.