ETH Price: $3,648.77 (-6.05%)

Contract

0xa5F169399a678bfd87A97B933CC33c8217e0cC9A
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Transfer52770002018-03-18 11:20:102467 days ago1521372010IN
0xa5F16939...217e0cC9A
0.35 ETH0.000109392
Transfer52765032018-03-18 9:21:002467 days ago1521364860IN
0xa5F16939...217e0cC9A
0.35 ETH0.000109392
Transfer52763082018-03-18 8:35:312467 days ago1521362131IN
0xa5F16939...217e0cC9A
0.35 ETH0.000109392
Transfer52761832018-03-18 8:00:152467 days ago1521360015IN
0xa5F16939...217e0cC9A
0.35 ETH0.000109392
Transfer52761552018-03-18 7:54:022467 days ago1521359642IN
0xa5F16939...217e0cC9A
0.35 ETH0.000109392
Transfer52761152018-03-18 7:41:502467 days ago1521358910IN
0xa5F16939...217e0cC9A
0.35 ETH0.000109392
Transfer52760182018-03-18 7:19:222467 days ago1521357562IN
0xa5F16939...217e0cC9A
0.35 ETH0.000109392
Add To Categorie...52759642018-03-18 7:04:082467 days ago1521356648IN
0xa5F16939...217e0cC9A
0 ETH0.000087332
Transfer52759122018-03-18 6:52:502467 days ago1521355970IN
0xa5F16939...217e0cC9A
0.05 ETH0.000138652
Add To Whitelist52758882018-03-18 6:49:132467 days ago1521355753IN
0xa5F16939...217e0cC9A
0 ETH0.000088122
Transfer52758662018-03-18 6:44:012467 days ago1521355441IN
0xa5F16939...217e0cC9A
0.005 ETH0.000043782
Transfer52757932018-03-18 6:26:102467 days ago1521354370IN
0xa5F16939...217e0cC9A
0.01 ETH0.000109392
Set Start Date52757302018-03-18 6:11:232467 days ago1521353483IN
0xa5F16939...217e0cC9A
0 ETH0.000054892
Set Endt Date52757102018-03-18 6:06:522467 days ago1521353212IN
0xa5F16939...217e0cC9A
0 ETH0.00005482
Transfer52754512018-03-18 5:08:592467 days ago1521349739IN
0xa5F16939...217e0cC9A
0.01 ETH0.000042592
Set Start Date52754382018-03-18 5:04:482467 days ago1521349488IN
0xa5F16939...217e0cC9A
0 ETH0.000054892
Transfer52753822018-03-18 4:49:432467 days ago1521348583IN
0xa5F16939...217e0cC9A
0.01 ETH0.000109392
Set Price52753202018-03-18 4:36:012467 days ago1521347761IN
0xa5F16939...217e0cC9A
0 ETH0.000054722
Add To Whitelist52750522018-03-18 3:35:492467 days ago1521344149IN
0xa5F16939...217e0cC9A
0 ETH0.000047382
Transfer52725472018-03-17 17:25:332468 days ago1521307533IN
0xa5F16939...217e0cC9A
0.02 ETH0.000139392
Set Start Date52720192018-03-17 15:17:042468 days ago1521299824IN
0xa5F16939...217e0cC9A
0 ETH0.000054892
Set Token52718732018-03-17 14:41:522468 days ago1521297712IN
0xa5F16939...217e0cC9A
0 ETH0.000057322
Add To Categorie...52702312018-03-17 7:54:312468 days ago1521273271IN
0xa5F16939...217e0cC9A
0 ETH0.000043661
Add To Categorie...52695292018-03-17 4:52:522468 days ago1521262372IN
0xa5F16939...217e0cC9A
0 ETH0.000087772
Add To Whitelist52685942018-03-17 1:00:252468 days ago1521248425IN
0xa5F16939...217e0cC9A
0 ETH0.0018065841
View all transactions

Latest 11 internal transactions

Advanced mode:
Parent Transaction Hash Block
From
To
52770002018-03-18 11:20:102467 days ago1521372010
0xa5F16939...217e0cC9A
0.35 ETH
52765032018-03-18 9:21:002467 days ago1521364860
0xa5F16939...217e0cC9A
0.35 ETH
52763082018-03-18 8:35:312467 days ago1521362131
0xa5F16939...217e0cC9A
0.35 ETH
52761832018-03-18 8:00:152467 days ago1521360015
0xa5F16939...217e0cC9A
0.35 ETH
52761552018-03-18 7:54:022467 days ago1521359642
0xa5F16939...217e0cC9A
0.35 ETH
52761152018-03-18 7:41:502467 days ago1521358910
0xa5F16939...217e0cC9A
0.35 ETH
52760182018-03-18 7:19:222467 days ago1521357562
0xa5F16939...217e0cC9A
0.35 ETH
52759122018-03-18 6:52:502467 days ago1521355970
0xa5F16939...217e0cC9A
0.05 ETH
52757932018-03-18 6:26:102467 days ago1521354370
0xa5F16939...217e0cC9A
0.01 ETH
52753822018-03-18 4:49:432467 days ago1521348583
0xa5F16939...217e0cC9A
0.01 ETH
52725472018-03-17 17:25:332468 days ago1521307533
0xa5F16939...217e0cC9A
0.02 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
TBECrowdsale

Compiler Version
v0.4.19+commit.c4cbbb05

Optimization Enabled:
Yes with 200 runs

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

pragma solidity ^0.4.16;

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

contract TBECrowdsale {
    
    Token public tokenReward;
    uint256 public price;
    address public creator;
    address public owner = 0x0;
    uint256 public startDate;
    uint256 public endDate;

    mapping (address => bool) public whitelist;
    mapping (address => bool) public categorie1;
    mapping (address => bool) public categorie2;
    mapping (address => uint256) public balanceOfEther;

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

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

    function TBECrowdsale() public {
        creator = msg.sender;
        price = 8000;
        startDate = now;
        endDate = startDate + 30 days;
        tokenReward = Token(0x647972c6A5bD977Db85dC364d18cC05D3Db70378);
    }

    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 addToWhitelist(address _address) isCreator public {
        whitelist[_address] = true;
    }

    function addToCategorie1(address _address) isCreator public {
        categorie1[_address] = true;
    }

    function addToCategorie2(address _address) isCreator public {
        categorie2[_address] = true;
    }

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

    function sendToken(address _to, uint256 _value) isCreator public {
        tokenReward.transfer(_to, _value);      
    }

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

    function () payable public {
        require(msg.value > 0);
        require(now > startDate);
        require(now < endDate);
        require(whitelist[msg.sender]);
        
        if (categorie1[msg.sender]) {
            require(balanceOfEther[msg.sender] <= 2);
        }

        uint256 amount = msg.value * price;

        if (now > startDate && now <= startDate + 5) {
            uint256 _amount = amount / 10;
            amount += _amount * 3;
        }

        balanceOfEther[msg.sender] += msg.value / 1 ether;
        tokenReward.transfer(msg.sender, amount);
        FundTransfer(msg.sender, amount, true);
        owner.transfer(msg.value);
    }
}

Contract Security Audit

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":"_address","type":"address"}],"name":"addToCategorie1","outputs":[],"payable":false,"stateMutability":"nonpayable","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":true,"inputs":[{"name":"","type":"address"}],"name":"balanceOfEther","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_creator","type":"address"}],"name":"setCreator","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"sendToken","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"kill","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"categorie2","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","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":"_address","type":"address"}],"name":"addToCategorie2","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":"","type":"address"}],"name":"whitelist","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"price","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"categorie1","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"endDate","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_address","type":"address"}],"name":"addToWhitelist","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":"backer","type":"address"},{"indexed":false,"name":"amount","type":"uint256"},{"indexed":false,"name":"isContribution","type":"bool"}],"name":"FundTransfer","type":"event"}]

606060405260038054600160a060020a0319169055341561001f57600080fd5b60028054600160a060020a033316600160a060020a031991821617909155611f4060015542600481905562278d00016005556000805490911673647972c6a5bd977db85dc364d18cc05d3db703781790556108b58061007f6000396000f3006060604052600436106101035763ffffffff60e060020a60003504166302d05d3f81146102e95780630b97bc86146103185780630c611a6a1461033d57806313af40351461035e578063144fa6d71461037d578063211149041461039c5780633f516018146103bb578063412664ae146103da57806341c0e1b5146103fc5780634d4ddf7d1461040f5780636e66f6e914610442578063739cb57d14610455578063781c29fe1461046b57806382d95df51461048a5780638da5cb5b146104a057806391b7f5ed146104b35780639b19251a146104c9578063a035b1fe146104e8578063bc169d4f146104fb578063c24a0f8b1461051a578063e43252d71461052d575b6000803481901161011357600080fd5b600454421161012157600080fd5b600554421061012f57600080fd5b600160a060020a03331660009081526006602052604090205460ff16151561015657600080fd5b600160a060020a03331660009081526007602052604090205460ff161561019e57600160a060020a033316600090815260096020526040902054600290111561019e57600080fd5b60015434029150600454421180156101bb57506004546005014211155b156101cf57600a8204905080600302820191505b33600160a060020a038181166000908152600960205260408082208054670de0b6b3a7640000340401905590549091169163a9059cbb9185905160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401600060405180830381600087803b151561024957600080fd5b6102c65a03f1151561025a57600080fd5b5050507fe842aea7a5f1b01049d752008c53c52890b1a6daf660cf39e8eec506112bbdf633836001604051600160a060020a039093168352602083019190915215156040808301919091526060909101905180910390a1600354600160a060020a03163480156108fc0290604051600060405180830381858888f1935050505015156102e557600080fd5b5050005b34156102f457600080fd5b6102fc61054c565b604051600160a060020a03909116815260200160405180910390f35b341561032357600080fd5b61032b61055b565b60405190815260200160405180910390f35b341561034857600080fd5b61035c600160a060020a0360043516610561565b005b341561036957600080fd5b61035c600160a060020a03600435166105a0565b341561038857600080fd5b61035c600160a060020a03600435166105ea565b34156103a757600080fd5b61032b600160a060020a0360043516610634565b34156103c657600080fd5b61035c600160a060020a0360043516610646565b34156103e557600080fd5b61035c600160a060020a0360043516602435610690565b341561040757600080fd5b61035c610719565b341561041a57600080fd5b61042e600160a060020a0360043516610742565b604051901515815260200160405180910390f35b341561044d57600080fd5b6102fc610757565b341561046057600080fd5b61035c600435610766565b341561047657600080fd5b61035c600160a060020a0360043516610786565b341561049557600080fd5b61035c6004356107c5565b34156104ab57600080fd5b6102fc6107e5565b34156104be57600080fd5b61035c6004356107f4565b34156104d457600080fd5b61042e600160a060020a0360043516610814565b34156104f357600080fd5b61032b610829565b341561050657600080fd5b61042e600160a060020a036004351661082f565b341561052557600080fd5b61032b610844565b341561053857600080fd5b61035c600160a060020a036004351661084a565b600254600160a060020a031681565b60045481565b60025433600160a060020a0390811691161461057c57600080fd5b600160a060020a03166000908152600760205260409020805460ff19166001179055565b60025433600160a060020a039081169116146105bb57600080fd5b6003805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b60025433600160a060020a0390811691161461060557600080fd5b6000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b60096020526000908152604090205481565b60025433600160a060020a0390811691161461066157600080fd5b6002805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b60025433600160a060020a039081169116146106ab57600080fd5b600054600160a060020a031663a9059cbb838360405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401600060405180830381600087803b151561070157600080fd5b6102c65a03f1151561071257600080fd5b5050505050565b60025433600160a060020a0390811691161461073457600080fd5b600354600160a060020a0316ff5b60086020526000908152604090205460ff1681565b600054600160a060020a031681565b60025433600160a060020a0390811691161461078157600080fd5b600555565b60025433600160a060020a039081169116146107a157600080fd5b600160a060020a03166000908152600860205260409020805460ff19166001179055565b60025433600160a060020a039081169116146107e057600080fd5b600455565b600354600160a060020a031681565b60025433600160a060020a0390811691161461080f57600080fd5b600155565b60066020526000908152604090205460ff1681565b60015481565b60076020526000908152604090205460ff1681565b60055481565b60025433600160a060020a0390811691161461086557600080fd5b600160a060020a03166000908152600660205260409020805460ff191660011790555600a165627a7a723058207bb05164433073d115d7fe7229e214fe452790ecbbf3f66d3f214ca042f4f2640029

Deployed Bytecode

0x6060604052600436106101035763ffffffff60e060020a60003504166302d05d3f81146102e95780630b97bc86146103185780630c611a6a1461033d57806313af40351461035e578063144fa6d71461037d578063211149041461039c5780633f516018146103bb578063412664ae146103da57806341c0e1b5146103fc5780634d4ddf7d1461040f5780636e66f6e914610442578063739cb57d14610455578063781c29fe1461046b57806382d95df51461048a5780638da5cb5b146104a057806391b7f5ed146104b35780639b19251a146104c9578063a035b1fe146104e8578063bc169d4f146104fb578063c24a0f8b1461051a578063e43252d71461052d575b6000803481901161011357600080fd5b600454421161012157600080fd5b600554421061012f57600080fd5b600160a060020a03331660009081526006602052604090205460ff16151561015657600080fd5b600160a060020a03331660009081526007602052604090205460ff161561019e57600160a060020a033316600090815260096020526040902054600290111561019e57600080fd5b60015434029150600454421180156101bb57506004546005014211155b156101cf57600a8204905080600302820191505b33600160a060020a038181166000908152600960205260408082208054670de0b6b3a7640000340401905590549091169163a9059cbb9185905160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401600060405180830381600087803b151561024957600080fd5b6102c65a03f1151561025a57600080fd5b5050507fe842aea7a5f1b01049d752008c53c52890b1a6daf660cf39e8eec506112bbdf633836001604051600160a060020a039093168352602083019190915215156040808301919091526060909101905180910390a1600354600160a060020a03163480156108fc0290604051600060405180830381858888f1935050505015156102e557600080fd5b5050005b34156102f457600080fd5b6102fc61054c565b604051600160a060020a03909116815260200160405180910390f35b341561032357600080fd5b61032b61055b565b60405190815260200160405180910390f35b341561034857600080fd5b61035c600160a060020a0360043516610561565b005b341561036957600080fd5b61035c600160a060020a03600435166105a0565b341561038857600080fd5b61035c600160a060020a03600435166105ea565b34156103a757600080fd5b61032b600160a060020a0360043516610634565b34156103c657600080fd5b61035c600160a060020a0360043516610646565b34156103e557600080fd5b61035c600160a060020a0360043516602435610690565b341561040757600080fd5b61035c610719565b341561041a57600080fd5b61042e600160a060020a0360043516610742565b604051901515815260200160405180910390f35b341561044d57600080fd5b6102fc610757565b341561046057600080fd5b61035c600435610766565b341561047657600080fd5b61035c600160a060020a0360043516610786565b341561049557600080fd5b61035c6004356107c5565b34156104ab57600080fd5b6102fc6107e5565b34156104be57600080fd5b61035c6004356107f4565b34156104d457600080fd5b61042e600160a060020a0360043516610814565b34156104f357600080fd5b61032b610829565b341561050657600080fd5b61042e600160a060020a036004351661082f565b341561052557600080fd5b61032b610844565b341561053857600080fd5b61035c600160a060020a036004351661084a565b600254600160a060020a031681565b60045481565b60025433600160a060020a0390811691161461057c57600080fd5b600160a060020a03166000908152600760205260409020805460ff19166001179055565b60025433600160a060020a039081169116146105bb57600080fd5b6003805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b60025433600160a060020a0390811691161461060557600080fd5b6000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b60096020526000908152604090205481565b60025433600160a060020a0390811691161461066157600080fd5b6002805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b60025433600160a060020a039081169116146106ab57600080fd5b600054600160a060020a031663a9059cbb838360405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401600060405180830381600087803b151561070157600080fd5b6102c65a03f1151561071257600080fd5b5050505050565b60025433600160a060020a0390811691161461073457600080fd5b600354600160a060020a0316ff5b60086020526000908152604090205460ff1681565b600054600160a060020a031681565b60025433600160a060020a0390811691161461078157600080fd5b600555565b60025433600160a060020a039081169116146107a157600080fd5b600160a060020a03166000908152600860205260409020805460ff19166001179055565b60025433600160a060020a039081169116146107e057600080fd5b600455565b600354600160a060020a031681565b60025433600160a060020a0390811691161461080f57600080fd5b600155565b60066020526000908152604090205460ff1681565b60015481565b60076020526000908152604090205460ff1681565b60055481565b60025433600160a060020a0390811691161461086557600080fd5b600160a060020a03166000908152600660205260409020805460ff191660011790555600a165627a7a723058207bb05164433073d115d7fe7229e214fe452790ecbbf3f66d3f214ca042f4f2640029

Swarm Source

bzzr://7bb05164433073d115d7fe7229e214fe452790ecbbf3f66d3f214ca042f4f264

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.