ERC-20
Overview
Max Total Supply
1,776,000,000 DTC
Holders
29
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 8 Decimals)
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
DtcToken
Compiler Version
v0.5.0+commit.1d4f565a
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2019-08-27 */ pragma solidity ^0.5.0; interface IERC20 { function totalSupply() external view returns (uint256); function balanceOf(address account) external view returns (uint256); function transfer(address recipient, uint256 amount) external returns (bool); function allowance(address owner, address spender) external view returns (uint256); function approve(address spender, uint256 amount) external returns (bool); function transferFrom(address sender, address recipient, uint256 amount) external returns (bool); event Transfer(address indexed from, address indexed to, uint256 value); event Approval(address indexed owner, address indexed spender, uint256 value); } library SafeMath { function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } function sub(uint256 a, uint256 b) internal pure returns (uint256) { require(b <= a, "SafeMath: subtraction overflow"); uint256 c = a - b; return c; } function mul(uint256 a, uint256 b) internal pure returns (uint256) { if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } function div(uint256 a, uint256 b) internal pure returns (uint256) { require(b > 0, "SafeMath: division by zero"); uint256 c = a / b; return c; } function mod(uint256 a, uint256 b) internal pure returns (uint256) { require(b != 0, "SafeMath: modulo by zero"); return a % b; } } contract DtcToken is IERC20 { string public constant name = 'Data transaction'; string public constant symbol = 'DTC'; uint8 public constant decimals = 8; uint constant _initial_supply = 177600000000000000; constructor() public { _totalSupply = _initial_supply; _balances[msg.sender] = _initial_supply; emit Transfer(address(0), msg.sender, _initial_supply); } using SafeMath for uint256; mapping (address => uint256) private _balances; mapping (address => mapping (address => uint256)) private _allowances; uint256 private _totalSupply; function totalSupply() public view returns (uint256) { return _totalSupply; } function balanceOf(address account) public view returns (uint256) { return _balances[account]; } function transfer(address recipient, uint256 amount) public returns (bool) { _transfer(msg.sender, recipient, amount); return true; } function allowance(address owner, address spender) public view returns (uint256) { return _allowances[owner][spender]; } function approve(address spender, uint256 value) public returns (bool) { _approve(msg.sender, spender, value); return true; } function transferFrom(address sender, address recipient, uint256 amount) public returns (bool) { _transfer(sender, recipient, amount); _approve(sender, msg.sender, _allowances[sender][msg.sender].sub(amount)); return true; } function _transfer(address sender, address recipient, uint256 amount) internal { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _balances[sender] = _balances[sender].sub(amount); _balances[recipient] = _balances[recipient].add(amount); emit Transfer(sender, recipient, amount); } function _approve(address owner, address spender, uint256 value) internal { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = value; emit Approval(owner, spender, value); } }
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":"sender","type":"address"},{"name":"recipient","type":"address"},{"name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"account","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"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":"recipient","type":"address"},{"name":"amount","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"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","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"}]
Contract Creation Code
608060405234801561001057600080fd5b50670276f642501c0000600281905533600081815260208181526040808320859055805194855251929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a361081f806100756000396000f3fe6080604052600436106100985763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde03811461009d578063095ea7b31461012757806318160ddd1461017457806323b872dd1461019b578063313ce567146101de57806370a082311461020957806395d89b411461023c578063a9059cbb14610251578063dd62ed3e1461028a575b600080fd5b3480156100a957600080fd5b506100b26102c5565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100ec5781810151838201526020016100d4565b50505050905090810190601f1680156101195780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561013357600080fd5b506101606004803603604081101561014a57600080fd5b50600160a060020a0381351690602001356102fc565b604080519115158252519081900360200190f35b34801561018057600080fd5b50610189610312565b60408051918252519081900360200190f35b3480156101a757600080fd5b50610160600480360360608110156101be57600080fd5b50600160a060020a03813581169160208101359091169060400135610318565b3480156101ea57600080fd5b506101f361036f565b6040805160ff9092168252519081900360200190f35b34801561021557600080fd5b506101896004803603602081101561022c57600080fd5b5035600160a060020a0316610374565b34801561024857600080fd5b506100b261038f565b34801561025d57600080fd5b506101606004803603604081101561027457600080fd5b50600160a060020a0381351690602001356103c6565b34801561029657600080fd5b50610189600480360360408110156102ad57600080fd5b50600160a060020a03813581169160200135166103d3565b60408051808201909152601081527f44617461207472616e73616374696f6e00000000000000000000000000000000602082015281565b60006103093384846103fe565b50600192915050565b60025490565b600061032584848461056b565b600160a060020a038416600090815260016020908152604080832033808552925290912054610365918691610360908663ffffffff61072f16565b6103fe565b5060019392505050565b600881565b600160a060020a031660009081526020819052604090205490565b60408051808201909152600381527f4454430000000000000000000000000000000000000000000000000000000000602082015281565b600061030933848461056b565b600160a060020a03918216600090815260016020908152604080832093909416825291909152205490565b600160a060020a0383161515610483576040805160e560020a62461bcd028152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f7265737300000000000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b600160a060020a0382161515610509576040805160e560020a62461bcd02815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f7373000000000000000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b600160a060020a03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b600160a060020a03831615156105f1576040805160e560020a62461bcd02815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f6472657373000000000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b600160a060020a0382161515610677576040805160e560020a62461bcd02815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f6573730000000000000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b600160a060020a0383166000908152602081905260409020546106a0908263ffffffff61072f16565b600160a060020a0380851660009081526020819052604080822093909355908416815220546106d5908263ffffffff61078f16565b600160a060020a038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600082821115610789576040805160e560020a62461bcd02815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b6000828201838110156107ec576040805160e560020a62461bcd02815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b939250505056fea165627a7a72305820ea5097adb6b998d8383dc2d2820967f939c3a2a03d7be7fed0c0251ab1214bc50029
Deployed Bytecode
0x6080604052600436106100985763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde03811461009d578063095ea7b31461012757806318160ddd1461017457806323b872dd1461019b578063313ce567146101de57806370a082311461020957806395d89b411461023c578063a9059cbb14610251578063dd62ed3e1461028a575b600080fd5b3480156100a957600080fd5b506100b26102c5565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100ec5781810151838201526020016100d4565b50505050905090810190601f1680156101195780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561013357600080fd5b506101606004803603604081101561014a57600080fd5b50600160a060020a0381351690602001356102fc565b604080519115158252519081900360200190f35b34801561018057600080fd5b50610189610312565b60408051918252519081900360200190f35b3480156101a757600080fd5b50610160600480360360608110156101be57600080fd5b50600160a060020a03813581169160208101359091169060400135610318565b3480156101ea57600080fd5b506101f361036f565b6040805160ff9092168252519081900360200190f35b34801561021557600080fd5b506101896004803603602081101561022c57600080fd5b5035600160a060020a0316610374565b34801561024857600080fd5b506100b261038f565b34801561025d57600080fd5b506101606004803603604081101561027457600080fd5b50600160a060020a0381351690602001356103c6565b34801561029657600080fd5b50610189600480360360408110156102ad57600080fd5b50600160a060020a03813581169160200135166103d3565b60408051808201909152601081527f44617461207472616e73616374696f6e00000000000000000000000000000000602082015281565b60006103093384846103fe565b50600192915050565b60025490565b600061032584848461056b565b600160a060020a038416600090815260016020908152604080832033808552925290912054610365918691610360908663ffffffff61072f16565b6103fe565b5060019392505050565b600881565b600160a060020a031660009081526020819052604090205490565b60408051808201909152600381527f4454430000000000000000000000000000000000000000000000000000000000602082015281565b600061030933848461056b565b600160a060020a03918216600090815260016020908152604080832093909416825291909152205490565b600160a060020a0383161515610483576040805160e560020a62461bcd028152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f7265737300000000000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b600160a060020a0382161515610509576040805160e560020a62461bcd02815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f7373000000000000000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b600160a060020a03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b600160a060020a03831615156105f1576040805160e560020a62461bcd02815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f6472657373000000000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b600160a060020a0382161515610677576040805160e560020a62461bcd02815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f6573730000000000000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b600160a060020a0383166000908152602081905260409020546106a0908263ffffffff61072f16565b600160a060020a0380851660009081526020819052604080822093909355908416815220546106d5908263ffffffff61078f16565b600160a060020a038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600082821115610789576040805160e560020a62461bcd02815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b6000828201838110156107ec576040805160e560020a62461bcd02815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b939250505056fea165627a7a72305820ea5097adb6b998d8383dc2d2820967f939c3a2a03d7be7fed0c0251ab1214bc50029
Deployed Bytecode Sourcemap
1695:2324:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1730:48;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1730:48:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;1730:48:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2834:148;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2834:148:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;2834:148:0;;;;;;;;;;;;;;;;;;;;;;;;;;;2319:91;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2319:91:0;;;;;;;;;;;;;;;;;;;;2988:256;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2988:256:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;2988:256:0;;;;;;;;;;;;;;;;;;1829:34;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1829:34:0;;;;;;;;;;;;;;;;;;;;;;;2416:110;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2416:110:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2416:110:0;-1:-1:-1;;;;;2416:110:0;;;1785:37;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1785:37:0;;;;2532:156;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2532:156:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;2532:156:0;;;;;;;;;2694:134;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2694:134:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;2694:134:0;;;;;;;;;;;1730:48;;;;;;;;;;;;;;;;;;;:::o;2834:148::-;2899:4;2916:36;2925:10;2937:7;2946:5;2916:8;:36::i;:::-;-1:-1:-1;2970:4:0;2834:148;;;;:::o;2319:91::-;2390:12;;2319:91;:::o;2988:256::-;3077:4;3094:36;3104:6;3112:9;3123:6;3094:9;:36::i;:::-;-1:-1:-1;;;;;3170:19:0;;;;;;:11;:19;;;;;;;;3158:10;3170:31;;;;;;;;;3141:73;;3150:6;;3170:43;;3206:6;3170:43;:35;:43;:::i;:::-;3141:8;:73::i;:::-;-1:-1:-1;3232:4:0;2988:256;;;;;:::o;1829:34::-;1862:1;1829:34;:::o;2416:110::-;-1:-1:-1;;;;;2500:18:0;2473:7;2500:18;;;;;;;;;;;;2416:110::o;1785:37::-;;;;;;;;;;;;;;;;;;;:::o;2532:156::-;2601:4;2618:40;2628:10;2640:9;2651:6;2618:9;:40::i;2694:134::-;-1:-1:-1;;;;;2793:18:0;;;2766:7;2793:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;2694:134::o;3683:333::-;-1:-1:-1;;;;;3776:19:0;;;;3768:68;;;;;-1:-1:-1;;;;;3768:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;3855:21:0;;;;3847:68;;;;;-1:-1:-1;;;;;3847:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;3926:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:35;;;3977:31;;;;;;;;;;;;;;;;;3683:333;;;:::o;3250:427::-;-1:-1:-1;;;;;3348:20:0;;;;3340:70;;;;;-1:-1:-1;;;;;3340:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;3429:23:0;;;;3421:71;;;;;-1:-1:-1;;;;;3421:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;3523:17:0;;:9;:17;;;;;;;;;;;:29;;3545:6;3523:29;:21;:29;:::i;:::-;-1:-1:-1;;;;;3503:17:0;;;:9;:17;;;;;;;;;;;:49;;;;3586:20;;;;;;;:32;;3611:6;3586:32;:24;:32;:::i;:::-;-1:-1:-1;;;;;3563:20:0;;;:9;:20;;;;;;;;;;;;:55;;;;3634:35;;;;;;;3563:20;;3634:35;;;;;;;;;;;;;3250:427;;;:::o;913:182::-;971:7;999:6;;;;991:49;;;;;-1:-1:-1;;;;;991:49:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1063:5:0;;;913:182::o;728:179::-;786:7;818:5;;;842:6;;;;834:46;;;;;-1:-1:-1;;;;;834:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;898:1;728:179;-1:-1:-1;;;728:179:0:o
Swarm Source
bzzr://ea5097adb6b998d8383dc2d2820967f939c3a2a03d7be7fed0c0251ab1214bc5
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.