ETH Price: $3,586.48 (+4.65%)
Gas: 6.21 Gwei
 

Overview

Max Total Supply

2,100,000,000 CYT

Holders

69

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
300 CYT

Value
$0.00
0xA5F3551222397B68Dcc30d32d779C8851A166bE8
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:
CYT

Compiler Version
v0.5.11+commit.c082d0b4

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license
/**
 *Submitted for verification at Etherscan.io on 2019-11-18
*/

pragma solidity >=0.5.11;

// ERC Token Standard #20 Interface
// https://github.com/ethereum/EIPs/issues/20
contract CYT {
    string public constant symbol = "CYT";
    string public constant name = "crystal token";
    uint8 public constant decimals = 18;
    uint256 _totalSupply = 21 * (10 ** 8) * (10 ** 18);

    address public owner;

  
    mapping(address => uint256) balances;
    
    mapping(address => mapping (address => uint256)) allowed;

    constructor() public {
        owner = msg.sender;
        balances[owner] = _totalSupply;
    }

    function () external {
        revert("Send back ether sent to me");
    }

    function totalSupply() public view returns (uint256) {
        return _totalSupply;
    }

    function balanceOf(address _owner) public view returns (uint256 balance) {
        return balances[_owner];
    }

    function transfer(address _to, uint256 _amount) public returns (bool success) {
        if (balances[msg.sender] >= _amount && _amount > 0 && balances[_to] + _amount > balances[_to]) {
            balances[msg.sender] -= _amount;
            balances[_to] += _amount;
            emit Transfer(msg.sender, _to, _amount);
            return true;
        } else {
            return false;
        }
    }

  
    function transferFrom(address _from, address _to, uint256 _amount) public returns (bool success) {
        if (balances[_from] >= _amount && allowed[_from][msg.sender] >= _amount && _amount > 0 && balances[_to] + _amount > balances[_to]) {
            balances[_from] -= _amount;
            allowed[_from][msg.sender] -= _amount;
            balances[_to] += _amount;
            emit Transfer(_from, _to, _amount);
            return true;
        } else {
            return false;
        }
    }


    function approve(address _spender, uint256 _amount) public returns (bool success) {
        allowed[msg.sender][_spender] = _amount;
        emit Approval(msg.sender, _spender, _amount);
        return true;
    }

    
    function allowance(address _owner, address _spender) public view returns (uint256 remaining) {
        return allowed[_owner][_spender];
    }

    event Transfer(address indexed _from, address indexed _to, uint256 _value);
    event Approval(address indexed _owner, address indexed _spender, uint256 _value);
}

Contract Security Audit

Contract ABI

[{"constant":true,"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_spender","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"balance","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"address","name":"_spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"remaining","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":false,"stateMutability":"nonpayable","type":"fallback"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_from","type":"address"},{"indexed":true,"internalType":"address","name":"_to","type":"address"},{"indexed":false,"internalType":"uint256","name":"_value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_owner","type":"address"},{"indexed":true,"internalType":"address","name":"_spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"_value","type":"uint256"}],"name":"Approval","type":"event"}]

60806040526b06c9144c1c690d4cb400000060005534801561002057600080fd5b50600180546001600160a01b031916331790819055600080546001600160a01b03929092168152600260205260409020556105d6806100606000396000f3fe608060405234801561001057600080fd5b506004361061009e5760003560e01c806370a082311161006657806370a08231146102165780638da5cb5b1461023c57806395d89b4114610260578063a9059cbb14610268578063dd62ed3e146102945761009e565b806306fdde03146100eb578063095ea7b31461016857806318160ddd146101a857806323b872dd146101c2578063313ce567146101f8575b6040805162461bcd60e51b815260206004820152601a60248201527f53656e64206261636b2065746865722073656e7420746f206d65000000000000604482015290519081900360640190fd5b6100f36102c2565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561012d578181015183820152602001610115565b50505050905090810190601f16801561015a5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101946004803603604081101561017e57600080fd5b506001600160a01b0381351690602001356102eb565b604080519115158252519081900360200190f35b6101b0610352565b60408051918252519081900360200190f35b610194600480360360608110156101d857600080fd5b506001600160a01b03813581169160208101359091169060400135610358565b61020061046a565b6040805160ff9092168252519081900360200190f35b6101b06004803603602081101561022c57600080fd5b50356001600160a01b031661046f565b61024461048a565b604080516001600160a01b039092168252519081900360200190f35b6100f3610499565b6101946004803603604081101561027e57600080fd5b506001600160a01b0381351690602001356104b8565b6101b0600480360360408110156102aa57600080fd5b506001600160a01b0381358116916020013516610576565b6040518060400160405280600d81526020016c31b93cb9ba30b6103a37b5b2b760991b81525081565b3360008181526003602090815260408083206001600160a01b038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a35060015b92915050565b60005490565b6001600160a01b03831660009081526002602052604081205482118015906103a357506001600160a01b03841660009081526003602090815260408083203384529091529020548211155b80156103af5750600082115b80156103d457506001600160a01b038316600090815260026020526040902054828101115b1561045f576001600160a01b0380851660008181526002602081815260408084208054899003905560038252808420338552825280842080548990039055948816808452918152918490208054870190558351868152935190937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92908290030190a3506001610463565b5060005b9392505050565b601281565b6001600160a01b031660009081526002602052604090205490565b6001546001600160a01b031681565b6040518060400160405280600381526020016210d65560ea1b81525081565b3360009081526002602052604081205482118015906104d75750600082115b80156104fc57506001600160a01b038316600090815260026020526040902054828101115b1561056e57336000818152600260209081526040808320805487900390556001600160a01b03871680845292819020805487019055805186815290519293927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a350600161034c565b50600061034c565b6001600160a01b0391821660009081526003602090815260408083209390941682529190915220549056fea265627a7a7231582051f2fb5fd7c518030bff40c092c9eddf692375eba83a861b3e24b64f5fb5ae7764736f6c634300050b0032

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061009e5760003560e01c806370a082311161006657806370a08231146102165780638da5cb5b1461023c57806395d89b4114610260578063a9059cbb14610268578063dd62ed3e146102945761009e565b806306fdde03146100eb578063095ea7b31461016857806318160ddd146101a857806323b872dd146101c2578063313ce567146101f8575b6040805162461bcd60e51b815260206004820152601a60248201527f53656e64206261636b2065746865722073656e7420746f206d65000000000000604482015290519081900360640190fd5b6100f36102c2565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561012d578181015183820152602001610115565b50505050905090810190601f16801561015a5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101946004803603604081101561017e57600080fd5b506001600160a01b0381351690602001356102eb565b604080519115158252519081900360200190f35b6101b0610352565b60408051918252519081900360200190f35b610194600480360360608110156101d857600080fd5b506001600160a01b03813581169160208101359091169060400135610358565b61020061046a565b6040805160ff9092168252519081900360200190f35b6101b06004803603602081101561022c57600080fd5b50356001600160a01b031661046f565b61024461048a565b604080516001600160a01b039092168252519081900360200190f35b6100f3610499565b6101946004803603604081101561027e57600080fd5b506001600160a01b0381351690602001356104b8565b6101b0600480360360408110156102aa57600080fd5b506001600160a01b0381358116916020013516610576565b6040518060400160405280600d81526020016c31b93cb9ba30b6103a37b5b2b760991b81525081565b3360008181526003602090815260408083206001600160a01b038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a35060015b92915050565b60005490565b6001600160a01b03831660009081526002602052604081205482118015906103a357506001600160a01b03841660009081526003602090815260408083203384529091529020548211155b80156103af5750600082115b80156103d457506001600160a01b038316600090815260026020526040902054828101115b1561045f576001600160a01b0380851660008181526002602081815260408084208054899003905560038252808420338552825280842080548990039055948816808452918152918490208054870190558351868152935190937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92908290030190a3506001610463565b5060005b9392505050565b601281565b6001600160a01b031660009081526002602052604090205490565b6001546001600160a01b031681565b6040518060400160405280600381526020016210d65560ea1b81525081565b3360009081526002602052604081205482118015906104d75750600082115b80156104fc57506001600160a01b038316600090815260026020526040902054828101115b1561056e57336000818152600260209081526040808320805487900390556001600160a01b03871680845292819020805487019055805186815290519293927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a350600161034c565b50600061034c565b6001600160a01b0391821660009081526003602090815260408083209390941682529190915220549056fea265627a7a7231582051f2fb5fd7c518030bff40c092c9eddf692375eba83a861b3e24b64f5fb5ae7764736f6c634300050b0032

Deployed Bytecode Sourcemap

113:2270:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;113:2270:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;616:36;;;-1:-1:-1;;;616:36:0;;;;;;;;;;;;;;;;;;;;;;;;;;;177:45;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;177:45:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1835:217;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;1835:217:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;668:91;;;:::i;:::-;;;;;;;;;;;;;;;;1315:510;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;1315:510:0;;;;;;;;;;;;;;;;;:::i;229:35::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;767:115;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;767:115:0;-1:-1:-1;;;;;767:115:0;;:::i;330:20::-;;;:::i;:::-;;;;-1:-1:-1;;;;;330:20:0;;;;;;;;;;;;;;133:37;;;:::i;890:413::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;890:413:0;;;;;;;;:::i;2066:144::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;2066:144:0;;;;;;;;;;:::i;177:45::-;;;;;;;;;;;;;;-1:-1:-1;;;177:45:0;;;;:::o;1835:217::-;1936:10;1903:12;1928:19;;;:7;:19;;;;;;;;-1:-1:-1;;;;;1928:29:0;;;;;;;;;;;:39;;;1983;;;;;;;1903:12;;1928:29;;1936:10;;1983:39;;;;;;;;-1:-1:-1;2040:4:0;1835:217;;;;;:::o;668:91::-;712:7;739:12;668:91;:::o;1315:510::-;-1:-1:-1;;;;;1427:15:0;;1398:12;1427:15;;;:8;:15;;;;;;:26;-1:-1:-1;1427:26:0;;;:67;;-1:-1:-1;;;;;;1457:14:0;;;;;;:7;:14;;;;;;;;1472:10;1457:26;;;;;;;;:37;-1:-1:-1;1457:37:0;1427:67;:82;;;;;1508:1;1498:7;:11;1427:82;:125;;;;-1:-1:-1;;;;;;1539:13:0;;;;;;:8;:13;;;;;;1513:23;;;:39;1427:125;1423:395;;;-1:-1:-1;;;;;1569:15:0;;;;;;;:8;:15;;;;;;;;:26;;;;;;;1610:7;:14;;;;;1625:10;1610:26;;;;;;;:37;;;;;;;1662:13;;;;;;;;;;;;;:24;;;;;;1706:29;;;;;;;1662:13;;1706:29;;;;;;;;;-1:-1:-1;1757:4:0;1750:11;;1423:395;-1:-1:-1;1801:5:0;1423:395;1315:510;;;;;:::o;229:35::-;262:2;229:35;:::o;767:115::-;-1:-1:-1;;;;;858:16:0;823:15;858:16;;;:8;:16;;;;;;;767:115::o;330:20::-;;;-1:-1:-1;;;;;330:20:0;;:::o;133:37::-;;;;;;;;;;;;;;-1:-1:-1;;;133:37:0;;;;:::o;890:413::-;992:10;954:12;983:20;;;:8;:20;;;;;;:31;-1:-1:-1;983:31:0;;;:46;;;1028:1;1018:7;:11;983:46;:89;;;;-1:-1:-1;;;;;;1059:13:0;;;;;;:8;:13;;;;;;1033:23;;;:39;983:89;979:317;;;1098:10;1089:20;;;;:8;:20;;;;;;;;:31;;;;;;;-1:-1:-1;;;;;1135:13:0;;;;;;;;;:24;;;;;;1179:34;;;;;;;1135:13;;1098:10;1179:34;;;;;;;;;;;-1:-1:-1;1235:4:0;1228:11;;979:317;-1:-1:-1;1279:5:0;1272:12;;2066:144;-1:-1:-1;;;;;2177:15:0;;;2140:17;2177:15;;;:7;:15;;;;;;;;:25;;;;;;;;;;;;;2066:144::o

Swarm Source

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