ETH Price: $2,648.62 (+0.33%)

Token

Angle ore circle (Tsoc)
 

Overview

Max Total Supply

5,000,000,000 Tsoc

Holders

193

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Filtered by Token Holder
bgg8888.eth
Balance
388 Tsoc

Value
$0.00
0x4cbbf33f4cfaaa8a467059a97eaa1b2f8521895c
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
Tsoc

Compiler Version
v0.4.24+commit.e67f0147

Optimization Enabled:
Yes with 200 runs

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

pragma solidity ^0.4.8;

/**
 * Math operations with safety checks
 */
contract SafeMath {
  function safeMul(uint256 a, uint256 b) internal returns (uint256) {
    uint256 c = a * b;
    assert(a == 0 || c / a == b);
    return c;
  }

  function safeDiv(uint256 a, uint256 b) internal returns (uint256) {
    assert(b > 0);
    uint256 c = a / b;
    assert(a == b * c + a % b);
    return c;
  }

  function safeSub(uint256 a, uint256 b) internal returns (uint256) {
    assert(b <= a);
    return a - b;
  }

  function safeAdd(uint256 a, uint256 b) internal returns (uint256) {
    uint256 c = a + b;
    assert(c>=a && c>=b);
    return c;
  }

  function assert(bool assertion) internal {
    // if (!assertion) {
    //   throw;
    // }
    require(assertion);
  }
}
contract Tsoc is SafeMath{
    string public name;
    string public symbol;
    uint8 public decimals;
    uint256 public totalSupply;
	address public owner;

    /* 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);

    /* This notifies clients about the amount burnt */
    event Burn(address indexed from, uint256 value);
	

    /* Initializes contract with initial supply tokens to the creator of the contract */
    constructor() public {
        totalSupply = 5*10**27 ;
        balanceOf[msg.sender] = totalSupply;              // Give the creator all initial tokens
        name = "Angle ore circle";                               // Set the name for display purposes
        symbol = "Tsoc" ;                             // Set the symbol for display purposes
        decimals = 18 ;                            // Amount of decimals for display purposes
		owner = msg.sender;
    }

    /* Send coins */
    function transfer(address _to, uint256 _value) public {
        require(_to != 0x0);                               // Prevent transfer to 0x0 address. Use burn() instead
		require(_value > 0) ; 
        require(balanceOf[msg.sender] >= _value);           // Check if the sender has enough
        require(balanceOf[_to] + _value >= balanceOf[_to]) ; // Check for overflows
        balanceOf[msg.sender] = SafeMath.safeSub(balanceOf[msg.sender], _value);                     // Subtract from the sender
        balanceOf[_to] = SafeMath.safeAdd(balanceOf[_to], _value);                            // Add the same to the recipient
        emit Transfer(msg.sender, _to, _value);                   // Notify anyone listening that this transfer took place
    }

    /* Allow another contract to spend some tokens in your behalf */
    function approve(address _spender, uint256 _value) public returns (bool success) {
		require (_value > 0) ; 
        allowance[msg.sender][_spender] = _value;
        return true;
    }
       

    /* A contract attempts to get the coins */
    function transferFrom(address _from, address _to, uint256 _value)public returns (bool success) {
        require(_to!=0x0);                                // Prevent transfer to 0x0 address. Use burn() instead
		require(_value>0); 
        require(balanceOf[_from] >= _value);                 // Check if the sender has enough
        require(balanceOf[_to] + _value >= balanceOf[_to]);  // Check for overflows
        require(_value <= allowance[_from][msg.sender]) ;     // Check allowance
        balanceOf[_from] = SafeMath.safeSub(balanceOf[_from], _value);                           // Subtract from the sender
        balanceOf[_to] = SafeMath.safeAdd(balanceOf[_to], _value);                             // Add the same to the recipient
        allowance[_from][msg.sender] = SafeMath.safeSub(allowance[_from][msg.sender], _value);
        emit Transfer(_from, _to, _value);
        return true;
    }

    function burn(uint256 _value) public returns (bool success) {
        require(balanceOf[msg.sender] >= _value);            // Check if the sender has enough
		require (_value > 0) ; 
        balanceOf[msg.sender] = SafeMath.safeSub(balanceOf[msg.sender], _value);                      // Subtract from the sender
        totalSupply = SafeMath.safeSub(totalSupply,_value);                                // Updates totalSupply
        emit Burn(msg.sender, _value);
        return true;
    }
	// transfer balance to owner
	function withdrawEther(uint256 amount) public {
		require(msg.sender == owner);
		owner.transfer(amount);
	}
	
	// can accept ether
    function() public payable
    {
    }
}

Contract Security Audit

Contract ABI

[{"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":"success","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":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"amount","type":"uint256"}],"name":"withdrawEther","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_value","type":"uint256"}],"name":"burn","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"balanceOf","outputs":[{"name":"","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":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"},{"name":"","type":"address"}],"name":"allowance","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":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":"from","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Burn","type":"event"}]

608060405234801561001057600080fd5b506b1027e72f1f12813088000000600381905533600090815260056020908152604080832093909355825180840190935260108084527f416e676c65206f726520636972636c65000000000000000000000000000000009390910192835261007892906100e2565b506040805180820190915260048082527f54736f630000000000000000000000000000000000000000000000000000000060209092019182526100bd916001916100e2565b506002805460ff1916601217905560048054600160a060020a0319163317905561017d565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061012357805160ff1916838001178555610150565b82800160010185558215610150579182015b82811115610150578251825591602001919060010190610135565b5061015c929150610160565b5090565b61017a91905b8082111561015c5760008155600101610166565b90565b6108548061018c6000396000f3006080604052600436106100b95763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100bb578063095ea7b31461014557806318160ddd1461017d57806323b872dd146101a4578063313ce567146101ce5780633bed33ce146101f957806342966c681461021157806370a08231146102295780638da5cb5b1461024a57806395d89b411461027b578063a9059cbb14610290578063dd62ed3e146102b4575b005b3480156100c757600080fd5b506100d06102db565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561010a5781810151838201526020016100f2565b50505050905090810190601f1680156101375780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561015157600080fd5b50610169600160a060020a0360043516602435610369565b604080519115158252519081900360200190f35b34801561018957600080fd5b506101926103a5565b60408051918252519081900360200190f35b3480156101b057600080fd5b50610169600160a060020a03600435811690602435166044356103ab565b3480156101da57600080fd5b506101e3610546565b6040805160ff9092168252519081900360200190f35b34801561020557600080fd5b506100b960043561054f565b34801561021d57600080fd5b506101696004356105a4565b34801561023557600080fd5b50610192600160a060020a0360043516610645565b34801561025657600080fd5b5061025f610657565b60408051600160a060020a039092168252519081900360200190f35b34801561028757600080fd5b506100d0610666565b34801561029c57600080fd5b506100b9600160a060020a03600435166024356106c0565b3480156102c057600080fd5b50610192600160a060020a03600435811690602435166107c4565b6000805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156103615780601f1061033657610100808354040283529160200191610361565b820191906000526020600020905b81548152906001019060200180831161034457829003601f168201915b505050505081565b600080821161037757600080fd5b50336000908152600660209081526040808320600160a060020a039590951683529390529190912055600190565b60035481565b6000600160a060020a03831615156103c257600080fd5b600082116103cf57600080fd5b600160a060020a0384166000908152600560205260409020548211156103f457600080fd5b600160a060020a038316600090815260056020526040902054828101101561041b57600080fd5b600160a060020a038416600090815260066020908152604080832033845290915290205482111561044b57600080fd5b600160a060020a03841660009081526005602052604090205461046e90836107e1565b600160a060020a03808616600090815260056020526040808220939093559085168152205461049d90836107f5565b600160a060020a0380851660009081526005602090815260408083209490945591871681526006825282812033825290915220546104db90836107e1565b600160a060020a03808616600081815260066020908152604080832033845282529182902094909455805186815290519287169391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a35060019392505050565b60025460ff1681565b600454600160a060020a0316331461056657600080fd5b600454604051600160a060020a039091169082156108fc029083906000818181858888f193505050501580156105a0573d6000803e3d6000fd5b5050565b336000908152600560205260408120548211156105c057600080fd5b600082116105cd57600080fd5b336000908152600560205260409020546105e790836107e1565b3360009081526005602052604090205560035461060490836107e1565b60035560408051838152905133917fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca5919081900360200190a2506001919050565b60056020526000908152604090205481565b600454600160a060020a031681565b60018054604080516020600284861615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156103615780601f1061033657610100808354040283529160200191610361565b600160a060020a03821615156106d557600080fd5b600081116106e257600080fd5b336000908152600560205260409020548111156106fe57600080fd5b600160a060020a038216600090815260056020526040902054818101101561072557600080fd5b3360009081526005602052604090205461073f90826107e1565b3360009081526005602052604080822092909255600160a060020a0384168152205461076b90826107f5565b600160a060020a0383166000818152600560209081526040918290209390935580518481529051919233927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b600660209081526000928352604080842090915290825290205481565b60006107ef83831115610819565b50900390565b600082820161081284821080159061080d5750838210155b610819565b9392505050565b80151561082557600080fd5b505600a165627a7a72305820fb60f451b1358e59fe5bea52ead8918dbc2fac888f735e7e40ab7e9257c737bb0029

Deployed Bytecode

0x6080604052600436106100b95763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100bb578063095ea7b31461014557806318160ddd1461017d57806323b872dd146101a4578063313ce567146101ce5780633bed33ce146101f957806342966c681461021157806370a08231146102295780638da5cb5b1461024a57806395d89b411461027b578063a9059cbb14610290578063dd62ed3e146102b4575b005b3480156100c757600080fd5b506100d06102db565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561010a5781810151838201526020016100f2565b50505050905090810190601f1680156101375780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561015157600080fd5b50610169600160a060020a0360043516602435610369565b604080519115158252519081900360200190f35b34801561018957600080fd5b506101926103a5565b60408051918252519081900360200190f35b3480156101b057600080fd5b50610169600160a060020a03600435811690602435166044356103ab565b3480156101da57600080fd5b506101e3610546565b6040805160ff9092168252519081900360200190f35b34801561020557600080fd5b506100b960043561054f565b34801561021d57600080fd5b506101696004356105a4565b34801561023557600080fd5b50610192600160a060020a0360043516610645565b34801561025657600080fd5b5061025f610657565b60408051600160a060020a039092168252519081900360200190f35b34801561028757600080fd5b506100d0610666565b34801561029c57600080fd5b506100b9600160a060020a03600435166024356106c0565b3480156102c057600080fd5b50610192600160a060020a03600435811690602435166107c4565b6000805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156103615780601f1061033657610100808354040283529160200191610361565b820191906000526020600020905b81548152906001019060200180831161034457829003601f168201915b505050505081565b600080821161037757600080fd5b50336000908152600660209081526040808320600160a060020a039590951683529390529190912055600190565b60035481565b6000600160a060020a03831615156103c257600080fd5b600082116103cf57600080fd5b600160a060020a0384166000908152600560205260409020548211156103f457600080fd5b600160a060020a038316600090815260056020526040902054828101101561041b57600080fd5b600160a060020a038416600090815260066020908152604080832033845290915290205482111561044b57600080fd5b600160a060020a03841660009081526005602052604090205461046e90836107e1565b600160a060020a03808616600090815260056020526040808220939093559085168152205461049d90836107f5565b600160a060020a0380851660009081526005602090815260408083209490945591871681526006825282812033825290915220546104db90836107e1565b600160a060020a03808616600081815260066020908152604080832033845282529182902094909455805186815290519287169391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a35060019392505050565b60025460ff1681565b600454600160a060020a0316331461056657600080fd5b600454604051600160a060020a039091169082156108fc029083906000818181858888f193505050501580156105a0573d6000803e3d6000fd5b5050565b336000908152600560205260408120548211156105c057600080fd5b600082116105cd57600080fd5b336000908152600560205260409020546105e790836107e1565b3360009081526005602052604090205560035461060490836107e1565b60035560408051838152905133917fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca5919081900360200190a2506001919050565b60056020526000908152604090205481565b600454600160a060020a031681565b60018054604080516020600284861615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156103615780601f1061033657610100808354040283529160200191610361565b600160a060020a03821615156106d557600080fd5b600081116106e257600080fd5b336000908152600560205260409020548111156106fe57600080fd5b600160a060020a038216600090815260056020526040902054818101101561072557600080fd5b3360009081526005602052604090205461073f90826107e1565b3360009081526005602052604080822092909255600160a060020a0384168152205461076b90826107f5565b600160a060020a0383166000818152600560209081526040918290209390935580518481529051919233927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b600660209081526000928352604080842090915290825290205481565b60006107ef83831115610819565b50900390565b600082820161081284821080159061080d5750838210155b610819565b9392505050565b80151561082557600080fd5b505600a165627a7a72305820fb60f451b1358e59fe5bea52ead8918dbc2fac888f735e7e40ab7e9257c737bb0029

Swarm Source

bzzr://fb60f451b1358e59fe5bea52ead8918dbc2fac888f735e7e40ab7e9257c737bb
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.