ERC-20
Website Down
Overview
Max Total Supply
1,000,000,000 CRE
Holders
38,250 (0.00%)
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
60 CREValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
CybereitsToken
Compiler Version
v0.4.19+commit.c4cbbb05
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2018-01-11 */ pragma solidity ^0.4.18; library SafeMath { function sub(uint256 a, uint256 b) internal pure returns (uint256) { assert(b <= a); return a - b; } function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; assert(c >= a); return c; } } contract Ownable { address public owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev The Ownable constructor sets the original `owner` of the contract to the sender * account. */ function Ownable() public { owner = msg.sender; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(msg.sender == owner); _; } /** * @dev Allows the current owner to transfer control of the contract to a newOwner. * @param newOwner The address to transfer ownership to. */ function transferOwnership(address newOwner) public onlyOwner { require(newOwner != address(0)); OwnershipTransferred(owner, newOwner); owner = newOwner; } } contract ERC20 { function totalSupply() public constant returns (uint supply); function balanceOf( address owner ) public constant returns (uint value); function allowance( address owner, address spender ) public constant returns (uint _allowance); function transfer( address to, uint value) public returns (bool ok); function transferFrom( address from, address to, uint value) public returns (bool ok); function approve( address spender, uint value ) public returns (bool ok); event Transfer( address indexed from, address indexed to, uint value); event Approval( address indexed owner, address indexed spender, uint value); } contract Token is ERC20 { using SafeMath for uint256; uint256 supply; mapping(address => uint256) balances; mapping (address => mapping (address => uint256)) approvals; function balanceOf(address owner) public constant returns (uint256 balance) { return balances[owner]; } function allowance(address owner, address spender) public constant returns (uint256) { return approvals[owner][spender]; } function transfer(address _to, uint256 _value) public returns (bool) { require(_to != address(0)); require(_value <= balances[msg.sender]); require(balances[_to] < balances[_to].add(_value)); balances[msg.sender] = balances[msg.sender].sub(_value); balances[_to] = balances[_to].add(_value); Transfer(msg.sender, _to, _value); return true; } function transferFrom(address from, address to, uint256 value) public returns (bool) { assert(balances[from] >= value); assert(approvals[from][msg.sender] >= value); approvals[from][msg.sender] = approvals[from][msg.sender].sub(value); balances[from] = balances[from].sub(value); balances[to] = balances[to].add(value); Transfer(from, to, value); return true; } function approve(address spender, uint256 value) public returns (bool) { approvals[msg.sender][spender] = value; Approval(msg.sender, spender, value); return true; } function totalSupply() public constant returns (uint) { return supply; } event Approval(address indexed owner, address indexed spender, uint256 value); } contract CybereitsToken is Token, Ownable { string public name = "Cybereits Token"; string public symbol = "CRE"; uint public decimals; address public teamLockAddr; function CybereitsToken( uint256 total, uint256 _decimals, uint256 _teamLockPercent, address _teamAddr1, address _teamAddr2, address _teamAddr3, address _teamAddr4, address _teamAddr5, address _teamAddr6 ) public { decimals = _decimals; var multiplier = 10 ** decimals; supply = total * multiplier; var teamLockAmount = _teamLockPercent * supply / 100; teamLockAddr = new CybereitsTeamLock( teamLockAmount, _teamAddr1, _teamAddr2, _teamAddr3, _teamAddr4, _teamAddr5, _teamAddr6 ); balances[teamLockAddr] = teamLockAmount; balances[msg.sender] = supply - teamLockAmount; } } contract CybereitsTeamLock { event Unlock(address from, uint amount); mapping (address => uint256) allocations; mapping (address => uint256) frozen; CybereitsToken cre; function CybereitsTeamLock( uint256 lockAmount, address _teamAddr1, address _teamAddr2, address _teamAddr3, address _teamAddr4, address _teamAddr5, address _teamAddr6 ) public { cre = CybereitsToken(msg.sender); allocations[_teamAddr1] = lockAmount / 6; frozen[_teamAddr1] = now + 6 * 30 days; allocations[_teamAddr2] = lockAmount / 6; frozen[_teamAddr2] = now + 12 * 30 days; allocations[_teamAddr3] = lockAmount / 6; frozen[_teamAddr3] = now + 18 * 30 days; allocations[_teamAddr4] = lockAmount / 6; frozen[_teamAddr4] = now + 24 * 30 days; allocations[_teamAddr5] = lockAmount / 6; frozen[_teamAddr5] = now + 30 * 30 days; allocations[_teamAddr6] = lockAmount / 6; frozen[_teamAddr6] = now + 36 * 30 days; } function unlock(address unlockAddr) external returns (bool) { require(allocations[unlockAddr] != 0); require(now >= frozen[unlockAddr]); var amount = allocations[unlockAddr]; assert(cre.transfer(unlockAddr, amount)); allocations[unlockAddr] = 0; Unlock(unlockAddr, amount); return true; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"spender","type":"address"},{"name":"value","type":"uint256"}],"name":"approve","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"from","type":"address"},{"name":"to","type":"address"},{"name":"value","type":"uint256"}],"name":"transferFrom","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"name":"balance","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transfer","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"owner","type":"address"},{"name":"spender","type":"address"}],"name":"allowance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"teamLockAddr","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[{"name":"total","type":"uint256"},{"name":"_decimals","type":"uint256"},{"name":"_teamLockPercent","type":"uint256"},{"name":"_teamAddr1","type":"address"},{"name":"_teamAddr2","type":"address"},{"name":"_teamAddr3","type":"address"},{"name":"_teamAddr4","type":"address"},{"name":"_teamAddr5","type":"address"},{"name":"_teamAddr6","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"name":"previousOwner","type":"address"},{"indexed":true,"name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"owner","type":"address"},{"indexed":true,"name":"spender","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"from","type":"address"},{"indexed":true,"name":"to","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Transfer","type":"event"}]
Contract Creation Code
606060405260408051908101604052600f81527f43796265726569747320546f6b656e00000000000000000000000000000000006020820152600490805161004b9291602001906101da565b5060408051908101604052600381527f4352450000000000000000000000000000000000000000000000000000000000602082015260059080516100939291602001906101da565b50341561009f57600080fd5b60405161012080610e1b83398101604052808051919060200180519190602001805191906020018051919060200180519190602001805191906020018051919060200180519190602001805160038054600160a060020a03191633600160a060020a031617905560068a9055600a8a900a8b81026000819055919350915060649089020480888888888888610132610258565b968752600160a060020a03958616602088015293851660408088019190915292851660608701529084166080860152831660a0850152911660c083015260e09091019051809103906000f080151561018957600080fd5b60078054600160a060020a031916600160a060020a03928316179081905581166000908152600160205260408082208490558154339093168252902091900390555061028598505050505050505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061021b57805160ff1916838001178555610248565b82800160010185558215610248579182015b8281111561024857825182559160200191906001019061022d565b50610254929150610268565b5090565b60405161034a80610ad183390190565b61028291905b80821115610254576000815560010161026e565b90565b61083d806102946000396000f3006060604052600436106100b95763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100be578063095ea7b31461014857806318160ddd1461017e57806323b872dd146101a3578063313ce567146101cb57806370a08231146101de5780638da5cb5b146101fd57806395d89b411461022c578063a9059cbb1461023f578063dd62ed3e14610261578063f2fde38b14610286578063f798abce146102a7575b600080fd5b34156100c957600080fd5b6100d16102ba565b60405160208082528190810183818151815260200191508051906020019080838360005b8381101561010d5780820151838201526020016100f5565b50505050905090810190601f16801561013a5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561015357600080fd5b61016a600160a060020a0360043516602435610358565b604051901515815260200160405180910390f35b341561018957600080fd5b6101916103c4565b60405190815260200160405180910390f35b34156101ae57600080fd5b61016a600160a060020a03600435811690602435166044356103ca565b34156101d657600080fd5b610191610532565b34156101e957600080fd5b610191600160a060020a0360043516610538565b341561020857600080fd5b610210610553565b604051600160a060020a03909116815260200160405180910390f35b341561023757600080fd5b6100d1610562565b341561024a57600080fd5b61016a600160a060020a03600435166024356105cd565b341561026c57600080fd5b610191600160a060020a0360043581169060243516610714565b341561029157600080fd5b6102a5600160a060020a036004351661073f565b005b34156102b257600080fd5b6102106107da565b60048054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156103505780601f1061032557610100808354040283529160200191610350565b820191906000526020600020905b81548152906001019060200180831161033357829003601f168201915b505050505081565b600160a060020a03338116600081815260026020908152604080832094871680845294909152808220859055909291907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a350600192915050565b60005490565b600160a060020a038316600090815260016020526040812054829010156103ed57fe5b600160a060020a03808516600090815260026020908152604080832033909416835292905220548290101561041e57fe5b600160a060020a0380851660009081526002602090815260408083203390941683529290522054610455908363ffffffff6107e916565b600160a060020a03808616600081815260026020908152604080832033909516835293815283822094909455908152600190925290205461049c908363ffffffff6107e916565b600160a060020a0380861660009081526001602052604080822093909355908516815220546104d1908363ffffffff6107fb16565b600160a060020a03808516600081815260016020526040908190209390935591908616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a35060019392505050565b60065481565b600160a060020a031660009081526001602052604090205490565b600354600160a060020a031681565b60058054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156103505780601f1061032557610100808354040283529160200191610350565b6000600160a060020a03831615156105e457600080fd5b600160a060020a03331660009081526001602052604090205482111561060957600080fd5b600160a060020a038316600090815260016020526040902054610632908363ffffffff6107fb16565b600160a060020a0384166000908152600160205260409020541061065557600080fd5b600160a060020a03331660009081526001602052604090205461067e908363ffffffff6107e916565b600160a060020a0333811660009081526001602052604080822093909355908516815220546106b3908363ffffffff6107fb16565b600160a060020a0380851660008181526001602052604090819020939093559133909116907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a350600192915050565b600160a060020a03918216600090815260026020908152604080832093909416825291909152205490565b60035433600160a060020a0390811691161461075a57600080fd5b600160a060020a038116151561076f57600080fd5b600354600160a060020a0380831691167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36003805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600754600160a060020a031681565b6000828211156107f557fe5b50900390565b60008282018381101561080a57fe5b93925050505600a165627a7a72305820282901dafbcd29410a1a3e0df7fe6ab7d4d091090e01f37f5d8bfcc9bc9fa0b800296060604052341561000f57600080fd5b60405160e08061034a8339810160405280805191906020018051919060200180519190602001805191906020018051919060200180519190602001805160028054600160a060020a03338116600160a060020a0319909216919091179091559788166000908152602081815260408083206006909c049b8c905560018083528184204262ed4e0081019091559a8c1684528383528184208d90558083528184206301da9c008c019055988b1683528282528083208c90558882528083206302c7ea008b019055968a1682528181528682208b90558781528682206303b538008a01905594891681528085528581208a90558685528581206304a286008901905597168752505084815281852095909555935291812063058fd40090920190915561020b90819061013f90396000f3006060604052600436106100405763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416632f6c493c8114610045575b600080fd5b341561005057600080fd5b610064600160a060020a0360043516610078565b604051901515815260200160405180910390f35b600160a060020a0381166000908152602081905260408120548190151561009e57600080fd5b600160a060020a0383166000908152600160205260409020544210156100c357600080fd5b50600160a060020a03808316600090815260208190526040808220546002549093169163a9059cbb918691859151602001526040517c010000000000000000000000000000000000000000000000000000000063ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b151561015157600080fd5b6102c65a03f1151561016257600080fd5b50505060405180519050151561017457fe5b600160a060020a038316600090815260208190526040808220919091557f6381d9813cabeb57471b5a7e05078e64845ccdb563146a6911d536f24ce960f1908490839051600160a060020a03909216825260208201526040908101905180910390a1506001929150505600a165627a7a723058206d24abddb11db28ed71c1a84896804ba64573874ce1692cbb6c04d1b53f84d540029000000000000000000000000000000000000000000000000000000003b9aca000000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000001e0000000000000000000000005ab94f969a1782556a7e707829ca2e45629b4d57000000000000000000000000ff081546b25cc66f1212c42479602c33e143842300000000000000000000000012cba028ee378a4db328cce26df39cf09a195bf90000000000000000000000007985f5418dc6abf5bbac49aa9d3524e5f0aaefd90000000000000000000000001ee326252b7e6e9219adc364a72d9ea92a7bae35000000000000000000000000ed048b377e5912a36a6b9443d871d5f10349a9a1
Deployed Bytecode
0x6060604052600436106100b95763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100be578063095ea7b31461014857806318160ddd1461017e57806323b872dd146101a3578063313ce567146101cb57806370a08231146101de5780638da5cb5b146101fd57806395d89b411461022c578063a9059cbb1461023f578063dd62ed3e14610261578063f2fde38b14610286578063f798abce146102a7575b600080fd5b34156100c957600080fd5b6100d16102ba565b60405160208082528190810183818151815260200191508051906020019080838360005b8381101561010d5780820151838201526020016100f5565b50505050905090810190601f16801561013a5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561015357600080fd5b61016a600160a060020a0360043516602435610358565b604051901515815260200160405180910390f35b341561018957600080fd5b6101916103c4565b60405190815260200160405180910390f35b34156101ae57600080fd5b61016a600160a060020a03600435811690602435166044356103ca565b34156101d657600080fd5b610191610532565b34156101e957600080fd5b610191600160a060020a0360043516610538565b341561020857600080fd5b610210610553565b604051600160a060020a03909116815260200160405180910390f35b341561023757600080fd5b6100d1610562565b341561024a57600080fd5b61016a600160a060020a03600435166024356105cd565b341561026c57600080fd5b610191600160a060020a0360043581169060243516610714565b341561029157600080fd5b6102a5600160a060020a036004351661073f565b005b34156102b257600080fd5b6102106107da565b60048054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156103505780601f1061032557610100808354040283529160200191610350565b820191906000526020600020905b81548152906001019060200180831161033357829003601f168201915b505050505081565b600160a060020a03338116600081815260026020908152604080832094871680845294909152808220859055909291907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a350600192915050565b60005490565b600160a060020a038316600090815260016020526040812054829010156103ed57fe5b600160a060020a03808516600090815260026020908152604080832033909416835292905220548290101561041e57fe5b600160a060020a0380851660009081526002602090815260408083203390941683529290522054610455908363ffffffff6107e916565b600160a060020a03808616600081815260026020908152604080832033909516835293815283822094909455908152600190925290205461049c908363ffffffff6107e916565b600160a060020a0380861660009081526001602052604080822093909355908516815220546104d1908363ffffffff6107fb16565b600160a060020a03808516600081815260016020526040908190209390935591908616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a35060019392505050565b60065481565b600160a060020a031660009081526001602052604090205490565b600354600160a060020a031681565b60058054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156103505780601f1061032557610100808354040283529160200191610350565b6000600160a060020a03831615156105e457600080fd5b600160a060020a03331660009081526001602052604090205482111561060957600080fd5b600160a060020a038316600090815260016020526040902054610632908363ffffffff6107fb16565b600160a060020a0384166000908152600160205260409020541061065557600080fd5b600160a060020a03331660009081526001602052604090205461067e908363ffffffff6107e916565b600160a060020a0333811660009081526001602052604080822093909355908516815220546106b3908363ffffffff6107fb16565b600160a060020a0380851660008181526001602052604090819020939093559133909116907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a350600192915050565b600160a060020a03918216600090815260026020908152604080832093909416825291909152205490565b60035433600160a060020a0390811691161461075a57600080fd5b600160a060020a038116151561076f57600080fd5b600354600160a060020a0380831691167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36003805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600754600160a060020a031681565b6000828211156107f557fe5b50900390565b60008282018381101561080a57fe5b93925050505600a165627a7a72305820282901dafbcd29410a1a3e0df7fe6ab7d4d091090e01f37f5d8bfcc9bc9fa0b80029
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000003b9aca000000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000001e0000000000000000000000005ab94f969a1782556a7e707829ca2e45629b4d57000000000000000000000000ff081546b25cc66f1212c42479602c33e143842300000000000000000000000012cba028ee378a4db328cce26df39cf09a195bf90000000000000000000000007985f5418dc6abf5bbac49aa9d3524e5f0aaefd90000000000000000000000001ee326252b7e6e9219adc364a72d9ea92a7bae35000000000000000000000000ed048b377e5912a36a6b9443d871d5f10349a9a1
-----Decoded View---------------
Arg [0] : total (uint256): 1000000000
Arg [1] : _decimals (uint256): 18
Arg [2] : _teamLockPercent (uint256): 30
Arg [3] : _teamAddr1 (address): 0x5Ab94F969A1782556A7e707829cA2e45629B4d57
Arg [4] : _teamAddr2 (address): 0xff081546B25Cc66F1212c42479602c33e1438423
Arg [5] : _teamAddr3 (address): 0x12CBA028eE378A4db328cce26dF39cf09a195bF9
Arg [6] : _teamAddr4 (address): 0x7985F5418dc6aBf5bBAC49Aa9d3524E5f0AAeFd9
Arg [7] : _teamAddr5 (address): 0x1EE326252b7E6E9219adC364A72D9Ea92A7bae35
Arg [8] : _teamAddr6 (address): 0xeD048b377e5912a36A6b9443d871d5f10349a9a1
-----Encoded View---------------
9 Constructor Arguments found :
Arg [0] : 000000000000000000000000000000000000000000000000000000003b9aca00
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000012
Arg [2] : 000000000000000000000000000000000000000000000000000000000000001e
Arg [3] : 0000000000000000000000005ab94f969a1782556a7e707829ca2e45629b4d57
Arg [4] : 000000000000000000000000ff081546b25cc66f1212c42479602c33e1438423
Arg [5] : 00000000000000000000000012cba028ee378a4db328cce26df39cf09a195bf9
Arg [6] : 0000000000000000000000007985f5418dc6abf5bbac49aa9d3524e5f0aaefd9
Arg [7] : 0000000000000000000000001ee326252b7e6e9219adc364a72d9ea92a7bae35
Arg [8] : 000000000000000000000000ed048b377e5912a36a6b9443d871d5f10349a9a1
Swarm Source
bzzr://6d24abddb11db28ed71c1a84896804ba64573874ce1692cbb6c04d1b53f84d54
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.