More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 24,934 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Transfer | 9005598 | 1810 days ago | IN | 0 ETH | 0.0000215 | ||||
Transfer | 8724329 | 1856 days ago | IN | 0 ETH | 0.00003577 | ||||
Transfer | 8608279 | 1874 days ago | IN | 0 ETH | 0.00068565 | ||||
Transfer | 7490679 | 2048 days ago | IN | 0 ETH | 0.00014309 | ||||
Transfer | 7354395 | 2069 days ago | IN | 0.01 ETH | 0.00023997 | ||||
Transfer | 7327779 | 2074 days ago | IN | 0 ETH | 0.00030511 | ||||
Transfer | 6666553 | 2193 days ago | IN | 0 ETH | 0.00021 | ||||
Transfer | 6648268 | 2196 days ago | IN | 0 ETH | 0.00041735 | ||||
Transfer | 6616370 | 2202 days ago | IN | 0 ETH | 0.00071546 | ||||
Transfer | 6589384 | 2206 days ago | IN | 0 ETH | 0.00010433 | ||||
Transfer | 6587027 | 2206 days ago | IN | 0 ETH | 0.00029811 | ||||
Transfer | 6544477 | 2213 days ago | IN | 0 ETH | 0.00071546 | ||||
Transfer | 6539627 | 2214 days ago | IN | 0 ETH | 0.00029811 | ||||
Transfer | 6539625 | 2214 days ago | IN | 0 ETH | 0.00023848 | ||||
Transfer | 6470151 | 2225 days ago | IN | 0 ETH | 0.00005962 | ||||
Transfer | 6469288 | 2226 days ago | IN | 0 ETH | 0.00011924 | ||||
Transfer | 6292149 | 2255 days ago | IN | 0 ETH | 0.00122225 | ||||
Transfer | 6273000 | 2258 days ago | IN | 0 ETH | 0.00008943 | ||||
Transfer | 6271222 | 2258 days ago | IN | 0 ETH | 0.000126 | ||||
Transfer | 6227621 | 2266 days ago | IN | 0 ETH | 0.00011924 | ||||
Transfer | 6210975 | 2268 days ago | IN | 0 ETH | 0.00122225 | ||||
Transfer | 6205907 | 2269 days ago | IN | 0 ETH | 0.00024963 | ||||
Transfer | 6189047 | 2272 days ago | IN | 0 ETH | 0.00122225 | ||||
Transfer | 6179586 | 2274 days ago | IN | 0 ETH | 0.0000252 | ||||
Transfer | 6175746 | 2274 days ago | IN | 0 ETH | 0.00122225 |
Loading...
Loading
Contract Name:
TBECrowdsale
Compiler Version
v0.4.24+commit.e67f0147
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/** *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
- No Contract Security Audit Submitted- Submit Audit Here
[{"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"}]
Contract Creation Code
608060405273700635ad386228debcfbb5705d2207f529af8323600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555034801561006557600080fd5b5033600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506064600181905550426004819055506203f4806004540160058190555073f18b97b312ef48c5d2b5c21c739d499b7c65cf966000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550610bb7806101276000396000f3006080604052600436106100db576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806302d05d3f146103225780630b97bc861461037957806313af4035146103a4578063144fa6d7146103e7578063211149041461042a578063412664ae146104815780636e66f6e9146104ce57806370a0823114610525578063739cb57d1461057c57806382d95df5146105a95780638da5cb5b146105d657806391b7f5ed1461062d5780639884e8011461065a578063a035b1fe146106b5578063c24a0f8b146106e0575b6000600454421115156100ed57600080fd5b600554421015156100fd57600080fd5b6001549050670de0b6b3a76400003481151561011557fe5b04600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055506000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b15801561022657600080fd5b505af115801561023a573d6000803e3d6000fd5b505050507fe842aea7a5f1b01049d752008c53c52890b1a6daf660cf39e8eec506112bbdf633826001604051808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200183815260200182151515158152602001935050505060405180910390a1600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc349081150290604051600060405180830381858888f1935050505015801561031e573d6000803e3d6000fd5b5050005b34801561032e57600080fd5b5061033761070b565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561038557600080fd5b5061038e610731565b6040518082815260200191505060405180910390f35b3480156103b057600080fd5b506103e5600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610737565b005b3480156103f357600080fd5b50610428600480360381019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506107d7565b005b34801561043657600080fd5b5061046b600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610876565b6040518082815260200191505060405180910390f35b34801561048d57600080fd5b506104cc600480360381019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919050505061088e565b005b3480156104da57600080fd5b506104e36109ca565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561053157600080fd5b50610566600480360381019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506109ef565b6040518082815260200191505060405180910390f35b34801561058857600080fd5b506105a760048036038101908080359060200190929190505050610a07565b005b3480156105b557600080fd5b506105d460048036038101908080359060200190929190505050610a6d565b005b3480156105e257600080fd5b506105eb610ad3565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561063957600080fd5b5061065860048036038101908080359060200190929190505050610af9565b005b34801561066657600080fd5b5061069b600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610b5f565b604051808215151515815260200191505060405180910390f35b3480156106c157600080fd5b506106ca610b7f565b6040518082815260200191505060405180910390f35b3480156106ec57600080fd5b506106f5610b85565b6040518082815260200191505060405180910390f35b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60045481565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561079357600080fd5b80600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561083357600080fd5b806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60076020528060005260406000206000915090505481565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156108ea57600080fd5b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb83836040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b1580156109ae57600080fd5b505af11580156109c2573d6000803e3d6000fd5b505050505050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60086020528060005260406000206000915090505481565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610a6357600080fd5b8060058190555050565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610ac957600080fd5b8060048190555050565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610b5557600080fd5b8060018190555050565b60066020528060005260406000206000915054906101000a900460ff1681565b60015481565b600554815600a165627a7a723058201b2d3995207a81c02590c58add55542c51dd884380c54ac5506ad9776ba0619e0029
Deployed Bytecode
0x6080604052600436106100db576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806302d05d3f146103225780630b97bc861461037957806313af4035146103a4578063144fa6d7146103e7578063211149041461042a578063412664ae146104815780636e66f6e9146104ce57806370a0823114610525578063739cb57d1461057c57806382d95df5146105a95780638da5cb5b146105d657806391b7f5ed1461062d5780639884e8011461065a578063a035b1fe146106b5578063c24a0f8b146106e0575b6000600454421115156100ed57600080fd5b600554421015156100fd57600080fd5b6001549050670de0b6b3a76400003481151561011557fe5b04600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055506000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b15801561022657600080fd5b505af115801561023a573d6000803e3d6000fd5b505050507fe842aea7a5f1b01049d752008c53c52890b1a6daf660cf39e8eec506112bbdf633826001604051808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200183815260200182151515158152602001935050505060405180910390a1600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc349081150290604051600060405180830381858888f1935050505015801561031e573d6000803e3d6000fd5b5050005b34801561032e57600080fd5b5061033761070b565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561038557600080fd5b5061038e610731565b6040518082815260200191505060405180910390f35b3480156103b057600080fd5b506103e5600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610737565b005b3480156103f357600080fd5b50610428600480360381019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506107d7565b005b34801561043657600080fd5b5061046b600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610876565b6040518082815260200191505060405180910390f35b34801561048d57600080fd5b506104cc600480360381019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919050505061088e565b005b3480156104da57600080fd5b506104e36109ca565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561053157600080fd5b50610566600480360381019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506109ef565b6040518082815260200191505060405180910390f35b34801561058857600080fd5b506105a760048036038101908080359060200190929190505050610a07565b005b3480156105b557600080fd5b506105d460048036038101908080359060200190929190505050610a6d565b005b3480156105e257600080fd5b506105eb610ad3565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561063957600080fd5b5061065860048036038101908080359060200190929190505050610af9565b005b34801561066657600080fd5b5061069b600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610b5f565b604051808215151515815260200191505060405180910390f35b3480156106c157600080fd5b506106ca610b7f565b6040518082815260200191505060405180910390f35b3480156106ec57600080fd5b506106f5610b85565b6040518082815260200191505060405180910390f35b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60045481565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561079357600080fd5b80600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561083357600080fd5b806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60076020528060005260406000206000915090505481565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156108ea57600080fd5b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb83836040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b1580156109ae57600080fd5b505af11580156109c2573d6000803e3d6000fd5b505050505050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60086020528060005260406000206000915090505481565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610a6357600080fd5b8060058190555050565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610ac957600080fd5b8060048190555050565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610b5557600080fd5b8060018190555050565b60066020528060005260406000206000915054906101000a900460ff1681565b60015481565b600554815600a165627a7a723058201b2d3995207a81c02590c58add55542c51dd884380c54ac5506ad9776ba0619e0029
Swarm Source
bzzr://1b2d3995207a81c02590c58add55542c51dd884380c54ac5506ad9776ba0619e
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
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.