ETH Price: $3,202.52 (+4.97%)

Contract

0x4F45901E24Ab443529dC52AFF4452B081f9564fA
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Transfer90055982019-11-26 18:18:321810 days ago1574792312IN
0x4F45901E...81f9564fA
0 ETH0.00002151
Transfer87243292019-10-12 3:20:231856 days ago1570850423IN
0x4F45901E...81f9564fA
0 ETH0.000035771.2
Transfer86082792019-09-23 23:05:161874 days ago1569279916IN
0x4F45901E...81f9564fA
0 ETH0.0006856523.00000051
Transfer74906792019-04-02 18:54:312048 days ago1554231271IN
0x4F45901E...81f9564fA
0 ETH0.000143094.8
Transfer73543952019-03-12 12:57:272069 days ago1552395447IN
0x4F45901E...81f9564fA
0.01 ETH0.000239978.05
Transfer73277792019-03-08 9:17:542074 days ago1552036674IN
0x4F45901E...81f9564fA
0 ETH0.0003051110.235
Transfer66665532018-11-08 13:38:202193 days ago1541684300IN
0x4F45901E...81f9564fA
0 ETH0.0002110
Transfer66482682018-11-05 13:35:322196 days ago1541424932IN
0x4F45901E...81f9564fA
0 ETH0.0004173514
Transfer66163702018-10-31 7:47:472202 days ago1540972067IN
0x4F45901E...81f9564fA
0 ETH0.0007154624
Transfer65893842018-10-26 22:01:022206 days ago1540591262IN
0x4F45901E...81f9564fA
0 ETH0.000104333.5
Transfer65870272018-10-26 12:42:132206 days ago1540557733IN
0x4F45901E...81f9564fA
0 ETH0.0002981110
Transfer65444772018-10-19 13:54:032213 days ago1539957243IN
0x4F45901E...81f9564fA
0 ETH0.0007154624
Transfer65396272018-10-18 18:38:472214 days ago1539887927IN
0x4F45901E...81f9564fA
0 ETH0.0002981110
Transfer65396252018-10-18 18:38:312214 days ago1539887911IN
0x4F45901E...81f9564fA
0 ETH0.000238488
Transfer64701512018-10-07 11:53:412225 days ago1538913221IN
0x4F45901E...81f9564fA
0 ETH0.000059622
Transfer64692882018-10-07 8:32:322226 days ago1538901152IN
0x4F45901E...81f9564fA
0 ETH0.000119244
Transfer62921492018-09-08 4:23:212255 days ago1536380601IN
0x4F45901E...81f9564fA
0 ETH0.0012222541
Transfer62730002018-09-04 23:21:542258 days ago1536103314IN
0x4F45901E...81f9564fA
0 ETH0.000089433
Transfer62712222018-09-04 16:21:462258 days ago1536078106IN
0x4F45901E...81f9564fA
0 ETH0.0001265
Transfer62276212018-08-28 7:39:472266 days ago1535441987IN
0x4F45901E...81f9564fA
0 ETH0.000119244
Transfer62109752018-08-25 12:24:532268 days ago1535199893IN
0x4F45901E...81f9564fA
0 ETH0.0012222541
Transfer62059072018-08-24 15:49:502269 days ago1535125790IN
0x4F45901E...81f9564fA
0 ETH0.000249639.90625
Transfer61890472018-08-21 19:23:352272 days ago1534879415IN
0x4F45901E...81f9564fA
0 ETH0.0012222541
Transfer61795862018-08-20 5:05:232274 days ago1534741523IN
0x4F45901E...81f9564fA
0 ETH0.00002521
Transfer61757462018-08-19 13:34:502274 days ago1534685690IN
0x4F45901E...81f9564fA
0 ETH0.0012222541
View all transactions

Latest 5 internal transactions

Advanced mode:
Parent Transaction Hash Block From To
60278562018-07-25 14:01:552299 days ago1532527315
0x4F45901E...81f9564fA
0.01 ETH
59279422018-07-08 15:16:422316 days ago1531063002
0x4F45901E...81f9564fA
0.00000001 ETH
59279372018-07-08 15:15:462316 days ago1531062946
0x4F45901E...81f9564fA
0.00000001 ETH
59279322018-07-08 15:14:362316 days ago1531062876
0x4F45901E...81f9564fA
0.00000001 ETH
58053832018-06-17 14:22:592337 days ago1529245379
0x4F45901E...81f9564fA
0.001 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
TBECrowdsale

Compiler Version
v0.4.24+commit.e67f0147

Optimization Enabled:
No with 200 runs

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

pragma solidity ^0.4.24;

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

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

    mapping (address => bool) public tokenAddress;
    mapping (address => uint256) public balanceOfEther;
    mapping (address => uint256) public balanceOf;

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

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

    function TBECrowdsale() public {
        creator = msg.sender;
        price = 100;
        startDate = now;
        endDate = startDate + 3 days;
        tokenReward = Token(0xf18b97b312EF48C5d2b5C21c739d499B7c65Cf96);
    }



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

    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 sendToken(address _to, uint256 _value) isCreator public {
        tokenReward.transfer(_to, _value);      
    }

    
    function () payable public {
        require(now > startDate);
        require(now < endDate);
        
        
        uint256 amount = price;

       
        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":"_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":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"sendToken","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"tokenReward","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"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":"","type":"address"}],"name":"tokenAddress","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":"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"}]

608060405273700635ad386228debcfbb5705d2207f529af8323600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555034801561006557600080fd5b5033600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506064600181905550426004819055506203f4806004540160058190555073f18b97b312ef48c5d2b5c21c739d499b7c65cf966000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550610bb7806101276000396000f3006080604052600436106100db576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806302d05d3f146103225780630b97bc861461037957806313af4035146103a4578063144fa6d7146103e7578063211149041461042a578063412664ae146104815780636e66f6e9146104ce57806370a0823114610525578063739cb57d1461057c57806382d95df5146105a95780638da5cb5b146105d657806391b7f5ed1461062d5780639884e8011461065a578063a035b1fe146106b5578063c24a0f8b146106e0575b6000600454421115156100ed57600080fd5b600554421015156100fd57600080fd5b6001549050670de0b6b3a76400003481151561011557fe5b04600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055506000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b15801561022657600080fd5b505af115801561023a573d6000803e3d6000fd5b505050507fe842aea7a5f1b01049d752008c53c52890b1a6daf660cf39e8eec506112bbdf633826001604051808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200183815260200182151515158152602001935050505060405180910390a1600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc349081150290604051600060405180830381858888f1935050505015801561031e573d6000803e3d6000fd5b5050005b34801561032e57600080fd5b5061033761070b565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561038557600080fd5b5061038e610731565b6040518082815260200191505060405180910390f35b3480156103b057600080fd5b506103e5600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610737565b005b3480156103f357600080fd5b50610428600480360381019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506107d7565b005b34801561043657600080fd5b5061046b600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610876565b6040518082815260200191505060405180910390f35b34801561048d57600080fd5b506104cc600480360381019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919050505061088e565b005b3480156104da57600080fd5b506104e36109ca565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561053157600080fd5b50610566600480360381019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506109ef565b6040518082815260200191505060405180910390f35b34801561058857600080fd5b506105a760048036038101908080359060200190929190505050610a07565b005b3480156105b557600080fd5b506105d460048036038101908080359060200190929190505050610a6d565b005b3480156105e257600080fd5b506105eb610ad3565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561063957600080fd5b5061065860048036038101908080359060200190929190505050610af9565b005b34801561066657600080fd5b5061069b600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610b5f565b604051808215151515815260200191505060405180910390f35b3480156106c157600080fd5b506106ca610b7f565b6040518082815260200191505060405180910390f35b3480156106ec57600080fd5b506106f5610b85565b6040518082815260200191505060405180910390f35b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60045481565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561079357600080fd5b80600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561083357600080fd5b806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60076020528060005260406000206000915090505481565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156108ea57600080fd5b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb83836040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b1580156109ae57600080fd5b505af11580156109c2573d6000803e3d6000fd5b505050505050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60086020528060005260406000206000915090505481565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610a6357600080fd5b8060058190555050565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610ac957600080fd5b8060048190555050565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610b5557600080fd5b8060018190555050565b60066020528060005260406000206000915054906101000a900460ff1681565b60015481565b600554815600a165627a7a723058201b2d3995207a81c02590c58add55542c51dd884380c54ac5506ad9776ba0619e0029

Deployed Bytecode

0x6080604052600436106100db576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806302d05d3f146103225780630b97bc861461037957806313af4035146103a4578063144fa6d7146103e7578063211149041461042a578063412664ae146104815780636e66f6e9146104ce57806370a0823114610525578063739cb57d1461057c57806382d95df5146105a95780638da5cb5b146105d657806391b7f5ed1461062d5780639884e8011461065a578063a035b1fe146106b5578063c24a0f8b146106e0575b6000600454421115156100ed57600080fd5b600554421015156100fd57600080fd5b6001549050670de0b6b3a76400003481151561011557fe5b04600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055506000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b15801561022657600080fd5b505af115801561023a573d6000803e3d6000fd5b505050507fe842aea7a5f1b01049d752008c53c52890b1a6daf660cf39e8eec506112bbdf633826001604051808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200183815260200182151515158152602001935050505060405180910390a1600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc349081150290604051600060405180830381858888f1935050505015801561031e573d6000803e3d6000fd5b5050005b34801561032e57600080fd5b5061033761070b565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561038557600080fd5b5061038e610731565b6040518082815260200191505060405180910390f35b3480156103b057600080fd5b506103e5600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610737565b005b3480156103f357600080fd5b50610428600480360381019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506107d7565b005b34801561043657600080fd5b5061046b600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610876565b6040518082815260200191505060405180910390f35b34801561048d57600080fd5b506104cc600480360381019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919050505061088e565b005b3480156104da57600080fd5b506104e36109ca565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561053157600080fd5b50610566600480360381019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506109ef565b6040518082815260200191505060405180910390f35b34801561058857600080fd5b506105a760048036038101908080359060200190929190505050610a07565b005b3480156105b557600080fd5b506105d460048036038101908080359060200190929190505050610a6d565b005b3480156105e257600080fd5b506105eb610ad3565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561063957600080fd5b5061065860048036038101908080359060200190929190505050610af9565b005b34801561066657600080fd5b5061069b600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610b5f565b604051808215151515815260200191505060405180910390f35b3480156106c157600080fd5b506106ca610b7f565b6040518082815260200191505060405180910390f35b3480156106ec57600080fd5b506106f5610b85565b6040518082815260200191505060405180910390f35b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60045481565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561079357600080fd5b80600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561083357600080fd5b806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60076020528060005260406000206000915090505481565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156108ea57600080fd5b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb83836040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b1580156109ae57600080fd5b505af11580156109c2573d6000803e3d6000fd5b505050505050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60086020528060005260406000206000915090505481565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610a6357600080fd5b8060058190555050565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610ac957600080fd5b8060048190555050565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610b5557600080fd5b8060018190555050565b60066020528060005260406000206000915054906101000a900460ff1681565b60015481565b600554815600a165627a7a723058201b2d3995207a81c02590c58add55542c51dd884380c54ac5506ad9776ba0619e0029

Swarm Source

bzzr://1b2d3995207a81c02590c58add55542c51dd884380c54ac5506ad9776ba0619e

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.