Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Overview
Max Total Supply
132,046,997 EDG
Holders
7,475 ( 0.013%)
Market
Price
$0.00 @ 0.000001 ETH
Onchain Market Cap
$279,233.18
Circulating Supply Market Cap
$243,495.00
Other Info
Token Contract (WITH 0 Decimals)
Balance
106 EDGValue
$0.22 ( ~6.55808757071471E-05 Eth) [0.0001%]Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
EdgelessToken
Compiler Version
v0.4.8+commit.60cc1668
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2017-02-24 */ /** * The Edgeless token contract complies with the ERC20 standard (see https://github.com/ethereum/EIPs/issues/20). * Additionally tokens can be locked for a defined time interval by token holders. * The owner's share of tokens is locked for the first year and all tokens not * being sold during the crowdsale but 60.000.000 (owner's share + bounty program) are burned. * Author: Julia Altenried * */ pragma solidity ^0.4.6; contract SafeMath { //internals function safeMul(uint a, uint b) internal returns (uint) { uint c = a * b; assert(a == 0 || c / a == b); return c; } function safeSub(uint a, uint b) internal returns (uint) { assert(b <= a); return a - b; } function safeAdd(uint a, uint b) internal returns (uint) { uint c = a + b; assert(c>=a && c>=b); return c; } function assert(bool assertion) internal { if (!assertion) throw; } } contract EdgelessToken is SafeMath { /* Public variables of the token */ string public standard = 'ERC20'; string public name = 'Edgeless'; string public symbol = 'EDG'; uint8 public decimals = 0; uint256 public totalSupply; address public owner; /* from this time on tokens may be transfered (after ICO)*/ uint256 public startTime = 1490112000; /* tells if tokens have been burned already */ bool burned; /* This creates an array with all balances */ mapping (address => uint256) public balanceOf; mapping (address => mapping (address => uint256)) public allowance; /* This generates a public event on the blockchain that will notify clients */ event Transfer(address indexed from, address indexed to, uint256 value); event Approval(address indexed owner, address indexed spender, uint256 value); event Burned(uint amount); /* Initializes contract with initial supply tokens to the creator of the contract */ function EdgelessToken() { owner = 0x003230BBE64eccD66f62913679C8966Cf9F41166; balanceOf[owner] = 500000000; // Give the owner all initial tokens totalSupply = 500000000; // Update total supply } /* Send some of your tokens to a given address */ function transfer(address _to, uint256 _value) returns (bool success){ if (now < startTime) throw; //check if the crowdsale is already over if(msg.sender == owner && now < startTime + 1 years && safeSub(balanceOf[msg.sender],_value) < 50000000) throw; //prevent the owner of spending his share of tokens within the first year balanceOf[msg.sender] = safeSub(balanceOf[msg.sender],_value); // Subtract from the sender balanceOf[_to] = safeAdd(balanceOf[_to],_value); // Add the same to the recipient Transfer(msg.sender, _to, _value); // Notify anyone listening that this transfer took place return true; } /* Allow another contract or person to spend some tokens in your behalf */ function approve(address _spender, uint256 _value) returns (bool success) { allowance[msg.sender][_spender] = _value; Approval(msg.sender, _spender, _value); return true; } /* A contract or person attempts to get the tokens of somebody else. * This is only allowed if the token holder approved. */ function transferFrom(address _from, address _to, uint256 _value) returns (bool success) { if (now < startTime && _from!=owner) throw; //check if the crowdsale is already over if(_from == owner && now < startTime + 1 years && safeSub(balanceOf[_from],_value) < 50000000) throw; //prevent the owner of spending his share of tokens within the first year var _allowance = allowance[_from][msg.sender]; balanceOf[_from] = safeSub(balanceOf[_from],_value); // Subtract from the sender balanceOf[_to] = safeAdd(balanceOf[_to],_value); // Add the same to the recipient allowance[_from][msg.sender] = safeSub(_allowance,_value); Transfer(_from, _to, _value); return true; } /* to be called when ICO is closed, burns the remaining tokens but the owners share (50 000 000) and the ones reserved * for the bounty program (10 000 000). * anybody may burn the tokens after ICO ended, but only once (in case the owner holds more tokens in the future). * this ensures that the owner will not posses a majority of the tokens. */ function burn(){ //if tokens have not been burned already and the ICO ended if(!burned && now>startTime){ uint difference = safeSub(balanceOf[owner], 60000000);//checked for overflow above balanceOf[owner] = 60000000; totalSupply = safeSub(totalSupply, difference); burned = true; Burned(difference); } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_value","type":"uint256"}],"name":"approve","outputs":[{"name":"success","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_from","type":"address"},{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transferFrom","outputs":[{"name":"success","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint8"}],"payable":false,"type":"function"},{"constant":false,"inputs":[],"name":"burn","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"standard","outputs":[{"name":"","type":"string"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"startTime","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transfer","outputs":[{"name":"success","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"},{"name":"","type":"address"}],"name":"allowance","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"inputs":[],"payable":false,"type":"constructor"},{"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"},{"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":false,"name":"amount","type":"uint256"}],"name":"Burned","type":"event"}]
Contract Creation Code
60a0604052600560608190527f45524332300000000000000000000000000000000000000000000000000000006080908152600080548180527f455243323000000000000000000000000000000000000000000000000000000a825590927f290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e563602060026001851615610100026000190190941693909304601f01929092048201929091906100d5565b828001600101855582156100d5579182015b828111156100d55782518255916020019190600101906100ba565b5b506100f69291505b808211156100f257600081556001016100de565b5090565b50506040805180820190915260088082527f456467656c65737300000000000000000000000000000000000000000000000060209283019081526001805460008290528251601060ff1990911617825590937fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf6600283871615610100026000190190931692909204601f0104810192916101b8565b828001600101855582156101b8579182015b828111156101b857825182559160200191906001019061019d565b5b506101d99291505b808211156100f257600081556001016100de565b5090565b50506040805180820190915260038082527f454447000000000000000000000000000000000000000000000000000000000060209283019081526002805460008290528251600660ff1990911617825590937f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace60018316156101000260001901909216859004601f010481019291610299565b82800160010185558215610299579182015b8281111561029957825182559160200191906001019061027e565b5b506102ba9291505b808211156100f257600081556001016100de565b5090565b50506003805460ff191690556358d14e0060065534610000575b60058054600160a060020a031916723230bbe64eccd66f62913679c8966cf9f411661790819055600160a060020a03166000908152600860205260409020631dcd6500908190556004555b5b610a348061032f6000396000f300606060405236156100a95763ffffffff60e060020a60003504166306fdde0381146100ae578063095ea7b31461013b57806318160ddd1461016b57806323b872dd1461018a578063313ce567146101c057806344df8e70146101e35780635a3b7e42146101f257806370a082311461027f57806378e97925146102aa5780638da5cb5b146102c957806395d89b41146102f2578063a9059cbb1461037f578063dd62ed3e146103af575b610000565b34610000576100bb6103e0565b604080516020808252835181830152835191928392908301918501908083838215610101575b80518252602083111561010157601f1990920191602091820191016100e1565b505050905090810190601f16801561012d5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3461000057610157600160a060020a036004351660243561046d565b604080519115158252519081900360200190f35b34610000576101786104d8565b60408051918252519081900360200190f35b3461000057610157600160a060020a03600435811690602435166044356104de565b604080519115158252519081900360200190f35b34610000576101cd61066d565b6040805160ff9092168252519081900360200190f35b34610000576101f0610676565b005b34610000576100bb610734565b604080516020808252835181830152835191928392908301918501908083838215610101575b80518252602083111561010157601f1990920191602091820191016100e1565b505050905090810190601f16801561012d5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3461000057610178600160a060020a03600435166107c2565b60408051918252519081900360200190f35b34610000576101786107d4565b60408051918252519081900360200190f35b34610000576102d66107da565b60408051600160a060020a039092168252519081900360200190f35b34610000576100bb6107e9565b604080516020808252835181830152835191928392908301918501908083838215610101575b80518252602083111561010157601f1990920191602091820191016100e1565b505050905090810190601f16801561012d5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3461000057610157600160a060020a0360043516602435610874565b604080519115158252519081900360200190f35b3461000057610178600160a060020a036004358116906024351661099a565b60408051918252519081900360200190f35b60018054604080516020600284861615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156104655780601f1061043a57610100808354040283529160200191610465565b820191906000526020600020905b81548152906001019060200180831161044857829003601f168201915b505050505081565b600160a060020a03338116600081815260096020908152604080832094871680845294825280832086905580518681529051929493927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a35060015b92915050565b60045481565b60006000600654421080156105015750600554600160a060020a03868116911614155b1561050b57610000565b600554600160a060020a03868116911614801561052f57506006546301e133800142105b80156105615750600160a060020a0385166000908152600860205260409020546302faf0809061055f90856109b7565b105b1561056b57610000565b50600160a060020a038085166000818152600960209081526040808320339095168352938152838220549282526008905291909120546105ab90846109b7565b600160a060020a0380871660009081526008602052604080822093909355908616815220546105da90846109d0565b600160a060020a0385166000908152600860205260409020556105fd81846109b7565b600160a060020a038087166000818152600960209081526040808320338616845282529182902094909455805187815290519288169391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a3600191505b509392505050565b60035460ff1681565b60075460009060ff1615801561068d575060065442115b1561073057600554600160a060020a03166000908152600860205260409020546106bb9063039387006109b7565b600554600160a060020a03166000908152600860205260409020630393870090556004549091506106ec90826109b7565b6004556007805460ff191660011790556040805182815290517fd83c63197e8e676d80ab0122beba9a9d20f3828839e9a1d6fe81d242e9cd7e6e9181900360200190a15b5b50565b6000805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156104655780601f1061043a57610100808354040283529160200191610465565b820191906000526020600020905b81548152906001019060200180831161044857829003601f168201915b505050505081565b60086020526000908152604090205481565b60065481565b600554600160a060020a031681565b6002805460408051602060018416156101000260001901909316849004601f810184900484028201840190925281815292918301828280156104655780601f1061043a57610100808354040283529160200191610465565b820191906000526020600020905b81548152906001019060200180831161044857829003601f168201915b505050505081565b600060065442101561088557610000565b60055433600160a060020a0390811691161480156108aa57506006546301e133800142105b80156108dc5750600160a060020a0333166000908152600860205260409020546302faf080906108da90846109b7565b105b156108e657610000565b600160a060020a03331660009081526008602052604090205461090990836109b7565b600160a060020a03338116600090815260086020526040808220939093559085168152205461093890836109d0565b600160a060020a038085166000818152600860209081526040918290209490945580518681529051919333909316927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a35060015b92915050565b600960209081526000928352604080842090915290825290205481565b60006109c5838311156109f8565b508082035b92915050565b60008282016109ed8482108015906109e85750838210155b6109f8565b8091505b5092915050565b80151561073057610000565b5b505600a165627a7a723058206d46e98f7b3ac249e8109d4a1bac89cf1f7285b29a7d3d8f556f4247a12ab9c20029
Deployed Bytecode
0x606060405236156100a95763ffffffff60e060020a60003504166306fdde0381146100ae578063095ea7b31461013b57806318160ddd1461016b57806323b872dd1461018a578063313ce567146101c057806344df8e70146101e35780635a3b7e42146101f257806370a082311461027f57806378e97925146102aa5780638da5cb5b146102c957806395d89b41146102f2578063a9059cbb1461037f578063dd62ed3e146103af575b610000565b34610000576100bb6103e0565b604080516020808252835181830152835191928392908301918501908083838215610101575b80518252602083111561010157601f1990920191602091820191016100e1565b505050905090810190601f16801561012d5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3461000057610157600160a060020a036004351660243561046d565b604080519115158252519081900360200190f35b34610000576101786104d8565b60408051918252519081900360200190f35b3461000057610157600160a060020a03600435811690602435166044356104de565b604080519115158252519081900360200190f35b34610000576101cd61066d565b6040805160ff9092168252519081900360200190f35b34610000576101f0610676565b005b34610000576100bb610734565b604080516020808252835181830152835191928392908301918501908083838215610101575b80518252602083111561010157601f1990920191602091820191016100e1565b505050905090810190601f16801561012d5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3461000057610178600160a060020a03600435166107c2565b60408051918252519081900360200190f35b34610000576101786107d4565b60408051918252519081900360200190f35b34610000576102d66107da565b60408051600160a060020a039092168252519081900360200190f35b34610000576100bb6107e9565b604080516020808252835181830152835191928392908301918501908083838215610101575b80518252602083111561010157601f1990920191602091820191016100e1565b505050905090810190601f16801561012d5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3461000057610157600160a060020a0360043516602435610874565b604080519115158252519081900360200190f35b3461000057610178600160a060020a036004358116906024351661099a565b60408051918252519081900360200190f35b60018054604080516020600284861615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156104655780601f1061043a57610100808354040283529160200191610465565b820191906000526020600020905b81548152906001019060200180831161044857829003601f168201915b505050505081565b600160a060020a03338116600081815260096020908152604080832094871680845294825280832086905580518681529051929493927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a35060015b92915050565b60045481565b60006000600654421080156105015750600554600160a060020a03868116911614155b1561050b57610000565b600554600160a060020a03868116911614801561052f57506006546301e133800142105b80156105615750600160a060020a0385166000908152600860205260409020546302faf0809061055f90856109b7565b105b1561056b57610000565b50600160a060020a038085166000818152600960209081526040808320339095168352938152838220549282526008905291909120546105ab90846109b7565b600160a060020a0380871660009081526008602052604080822093909355908616815220546105da90846109d0565b600160a060020a0385166000908152600860205260409020556105fd81846109b7565b600160a060020a038087166000818152600960209081526040808320338616845282529182902094909455805187815290519288169391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a3600191505b509392505050565b60035460ff1681565b60075460009060ff1615801561068d575060065442115b1561073057600554600160a060020a03166000908152600860205260409020546106bb9063039387006109b7565b600554600160a060020a03166000908152600860205260409020630393870090556004549091506106ec90826109b7565b6004556007805460ff191660011790556040805182815290517fd83c63197e8e676d80ab0122beba9a9d20f3828839e9a1d6fe81d242e9cd7e6e9181900360200190a15b5b50565b6000805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156104655780601f1061043a57610100808354040283529160200191610465565b820191906000526020600020905b81548152906001019060200180831161044857829003601f168201915b505050505081565b60086020526000908152604090205481565b60065481565b600554600160a060020a031681565b6002805460408051602060018416156101000260001901909316849004601f810184900484028201840190925281815292918301828280156104655780601f1061043a57610100808354040283529160200191610465565b820191906000526020600020905b81548152906001019060200180831161044857829003601f168201915b505050505081565b600060065442101561088557610000565b60055433600160a060020a0390811691161480156108aa57506006546301e133800142105b80156108dc5750600160a060020a0333166000908152600860205260409020546302faf080906108da90846109b7565b105b156108e657610000565b600160a060020a03331660009081526008602052604090205461090990836109b7565b600160a060020a03338116600090815260086020526040808220939093559085168152205461093890836109d0565b600160a060020a038085166000818152600860209081526040918290209490945580518681529051919333909316927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a35060015b92915050565b600960209081526000928352604080842090915290825290205481565b60006109c5838311156109f8565b508082035b92915050565b60008282016109ed8482108015906109e85750838210155b6109f8565b8091505b5092915050565b80151561073057610000565b5b505600a165627a7a723058206d46e98f7b3ac249e8109d4a1bac89cf1f7285b29a7d3d8f556f4247a12ab9c20029
Swarm Source
bzzr://6d46e98f7b3ac249e8109d4a1bac89cf1f7285b29a7d3d8f556f4247a12ab9c2
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.