ERC-20
Overview
Max Total Supply
96,000,000 TAI
Holders
10,349
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
CustomToken
Compiler Version
v0.4.25+commit.59dbf8f1
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2020-03-04 */ pragma solidity ^0.4.25; library SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uint256) { if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b); return c; } function div(uint256 a, uint256 b) internal pure returns (uint256) { require(b > 0); uint256 c = a / b; return c; } function sub(uint256 a, uint256 b) internal pure returns (uint256) { require(b <= a); uint256 c = a - b; return c; } function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a); return c; } function mod(uint256 a, uint256 b) internal pure returns (uint256) { require(b != 0); return a % b; } } contract BaseToken { using SafeMath for uint256; string constant public name = 'Turing AI'; string constant public symbol = 'TAI'; uint8 constant public decimals = 18; uint256 public totalSupply = 9.6e25; uint256 constant public _totalLimit = 1e32; mapping (address => uint256) public balanceOf; mapping (address => mapping (address => uint256)) public allowance; event Transfer(address indexed from, address indexed to, uint256 value); event Approval(address indexed owner, address indexed spender, uint256 value); function _transfer(address from, address to, uint value) internal { require(to != address(0)); balanceOf[from] = balanceOf[from].sub(value); balanceOf[to] = balanceOf[to].add(value); emit Transfer(from, to, value); } function _mint(address account, uint256 value) internal { require(account != address(0)); totalSupply = totalSupply.add(value); require(_totalLimit >= totalSupply); balanceOf[account] = balanceOf[account].add(value); emit Transfer(address(0), account, value); } function transfer(address to, uint256 value) public returns (bool) { _transfer(msg.sender, to, value); return true; } function transferFrom(address from, address to, uint256 value) public returns (bool) { allowance[from][msg.sender] = allowance[from][msg.sender].sub(value); _transfer(from, to, value); return true; } function approve(address spender, uint256 value) public returns (bool) { require(spender != address(0)); allowance[msg.sender][spender] = value; emit Approval(msg.sender, spender, value); return true; } function increaseAllowance(address spender, uint256 addedValue) public returns (bool) { require(spender != address(0)); allowance[msg.sender][spender] = allowance[msg.sender][spender].add(addedValue); emit Approval(msg.sender, spender, allowance[msg.sender][spender]); return true; } function decreaseAllowance(address spender, uint256 subtractedValue) public returns (bool) { require(spender != address(0)); allowance[msg.sender][spender] = allowance[msg.sender][spender].sub(subtractedValue); emit Approval(msg.sender, spender, allowance[msg.sender][spender]); return true; } } contract CustomToken is BaseToken { constructor() public { balanceOf[0xc61CE560Bb1d19E388142afc05a4f672704Dc06d] = totalSupply; emit Transfer(address(0), 0xc61CE560Bb1d19E388142afc05a4f672704Dc06d, totalSupply); } }
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":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"spender","type":"address"},{"name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"_totalLimit","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","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":"spender","type":"address"},{"name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","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":"","type":"address"},{"name":"","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
60806040526a4f68ca6d8cd91c6000000060005534801561001f57600080fd5b506000805473c61ce560bb1d19e388142afc05a4f672704dc06d808352600160209081527f93e3659d66effb67b0705b6085f64efbff3559448447d5236515e76713fa6eda83905560408051938452519193927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929081900390910190a36106bb806100ac6000396000f3006080604052600436106100b95763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100be578063095ea7b31461014857806318160ddd1461018057806323b872dd146101a7578063313ce567146101d157806339509351146101fc57806339f85f5d1461022057806370a082311461023557806395d89b4114610256578063a457c2d71461026b578063a9059cbb1461028f578063dd62ed3e146102b3575b600080fd5b3480156100ca57600080fd5b506100d36102da565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561010d5781810151838201526020016100f5565b50505050905090810190601f16801561013a5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561015457600080fd5b5061016c600160a060020a0360043516602435610311565b604080519115158252519081900360200190f35b34801561018c57600080fd5b5061019561038f565b60408051918252519081900360200190f35b3480156101b357600080fd5b5061016c600160a060020a0360043581169060243516604435610395565b3480156101dd57600080fd5b506101e6610402565b6040805160ff9092168252519081900360200190f35b34801561020857600080fd5b5061016c600160a060020a0360043516602435610407565b34801561022c57600080fd5b506101956104b7565b34801561024157600080fd5b50610195600160a060020a03600435166104c9565b34801561026257600080fd5b506100d36104db565b34801561027757600080fd5b5061016c600160a060020a0360043516602435610512565b34801561029b57600080fd5b5061016c600160a060020a036004351660243561055d565b3480156102bf57600080fd5b50610195600160a060020a0360043581169060243516610573565b60408051808201909152600981527f547572696e672041490000000000000000000000000000000000000000000000602082015281565b6000600160a060020a038316151561032857600080fd5b336000818152600260209081526040808320600160a060020a03881680855290835292819020869055805186815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a350600192915050565b60005481565b600160a060020a03831660009081526002602090815260408083203384529091528120546103c9908363ffffffff61059016565b600160a060020a03851660009081526002602090815260408083203384529091529020556103f88484846105a7565b5060019392505050565b601281565b6000600160a060020a038316151561041e57600080fd5b336000908152600260209081526040808320600160a060020a0387168452909152902054610452908363ffffffff61067616565b336000818152600260209081526040808320600160a060020a0389168085529083529281902085905580519485525191937f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929081900390910190a350600192915050565b6d04ee2d6d415b85acef810000000081565b60016020526000908152604090205481565b60408051808201909152600381527f5441490000000000000000000000000000000000000000000000000000000000602082015281565b6000600160a060020a038316151561052957600080fd5b336000908152600260209081526040808320600160a060020a0387168452909152902054610452908363ffffffff61059016565b600061056a3384846105a7565b50600192915050565b600260209081526000928352604080842090915290825290205481565b600080838311156105a057600080fd5b5050900390565b600160a060020a03821615156105bc57600080fd5b600160a060020a0383166000908152600160205260409020546105e5908263ffffffff61059016565b600160a060020a03808516600090815260016020526040808220939093559084168152205461061a908263ffffffff61067616565b600160a060020a0380841660008181526001602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b60008282018381101561068857600080fd5b93925050505600a165627a7a7230582049c4ccf9622df45c9e3e6b5259c0ff9f57b3e8a2f16c9cbf178c9a010125d0e50029
Deployed Bytecode
0x6080604052600436106100b95763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100be578063095ea7b31461014857806318160ddd1461018057806323b872dd146101a7578063313ce567146101d157806339509351146101fc57806339f85f5d1461022057806370a082311461023557806395d89b4114610256578063a457c2d71461026b578063a9059cbb1461028f578063dd62ed3e146102b3575b600080fd5b3480156100ca57600080fd5b506100d36102da565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561010d5781810151838201526020016100f5565b50505050905090810190601f16801561013a5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561015457600080fd5b5061016c600160a060020a0360043516602435610311565b604080519115158252519081900360200190f35b34801561018c57600080fd5b5061019561038f565b60408051918252519081900360200190f35b3480156101b357600080fd5b5061016c600160a060020a0360043581169060243516604435610395565b3480156101dd57600080fd5b506101e6610402565b6040805160ff9092168252519081900360200190f35b34801561020857600080fd5b5061016c600160a060020a0360043516602435610407565b34801561022c57600080fd5b506101956104b7565b34801561024157600080fd5b50610195600160a060020a03600435166104c9565b34801561026257600080fd5b506100d36104db565b34801561027757600080fd5b5061016c600160a060020a0360043516602435610512565b34801561029b57600080fd5b5061016c600160a060020a036004351660243561055d565b3480156102bf57600080fd5b50610195600160a060020a0360043581169060243516610573565b60408051808201909152600981527f547572696e672041490000000000000000000000000000000000000000000000602082015281565b6000600160a060020a038316151561032857600080fd5b336000818152600260209081526040808320600160a060020a03881680855290835292819020869055805186815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a350600192915050565b60005481565b600160a060020a03831660009081526002602090815260408083203384529091528120546103c9908363ffffffff61059016565b600160a060020a03851660009081526002602090815260408083203384529091529020556103f88484846105a7565b5060019392505050565b601281565b6000600160a060020a038316151561041e57600080fd5b336000908152600260209081526040808320600160a060020a0387168452909152902054610452908363ffffffff61067616565b336000818152600260209081526040808320600160a060020a0389168085529083529281902085905580519485525191937f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929081900390910190a350600192915050565b6d04ee2d6d415b85acef810000000081565b60016020526000908152604090205481565b60408051808201909152600381527f5441490000000000000000000000000000000000000000000000000000000000602082015281565b6000600160a060020a038316151561052957600080fd5b336000908152600260209081526040808320600160a060020a0387168452909152902054610452908363ffffffff61059016565b600061056a3384846105a7565b50600192915050565b600260209081526000928352604080842090915290825290205481565b600080838311156105a057600080fd5b5050900390565b600160a060020a03821615156105bc57600080fd5b600160a060020a0383166000908152600160205260409020546105e5908263ffffffff61059016565b600160a060020a03808516600090815260016020526040808220939093559084168152205461061a908263ffffffff61067616565b600160a060020a0380841660008181526001602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b60008282018381101561068857600080fd5b93925050505600a165627a7a7230582049c4ccf9622df45c9e3e6b5259c0ff9f57b3e8a2f16c9cbf178c9a010125d0e50029
Deployed Bytecode Sourcemap
3343:244:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;930:41;;8:9:-1;5:2;;;30:1;27;20:12;5:2;930:41: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;930:41:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2419:243;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;2419:243:0;-1:-1:-1;;;;;2419:243:0;;;;;;;;;;;;;;;;;;;;;;;;;1064:35;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1064:35:0;;;;;;;;;;;;;;;;;;;;2180:231;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;2180:231:0;-1:-1:-1;;;;;2180:231:0;;;;;;;;;;;;1022:35;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1022:35:0;;;;;;;;;;;;;;;;;;;;;;;2670:324;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;2670:324:0;-1:-1:-1;;;;;2670:324:0;;;;;;;1106:42;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1106:42:0;;;;1157:45;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;1157:45:0;-1:-1:-1;;;;;1157:45:0;;;;;978:37;;8:9:-1;5:2;;;30:1;27;20:12;5:2;978:37:0;;;;3002:334;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;3002:334:0;-1:-1:-1;;;;;3002:334:0;;;;;;;2032:140;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;2032:140:0;-1:-1:-1;;;;;2032:140:0;;;;;;;1209:66;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;1209:66:0;-1:-1:-1;;;;;1209:66:0;;;;;;;;;;930:41;;;;;;;;;;;;;;;;;;;:::o;2419:243::-;2484:4;-1:-1:-1;;;;;2509:21:0;;;;2501:30;;;;;;2552:10;2542:21;;;;:9;:21;;;;;;;;-1:-1:-1;;;;;2542:30:0;;;;;;;;;;;;:38;;;2596:36;;;;;;;2542:30;;2552:10;2596:36;;;;;;;;;;;-1:-1:-1;2650:4:0;2419:243;;;;:::o;1064:35::-;;;;:::o;2180:231::-;-1:-1:-1;;;;;2306:15:0;;2259:4;2306:15;;;:9;:15;;;;;;;;2322:10;2306:27;;;;;;;;:38;;2338:5;2306:38;:31;:38;:::i;:::-;-1:-1:-1;;;;;2276:15:0;;;;;;:9;:15;;;;;;;;2292:10;2276:27;;;;;;;:68;2355:26;2286:4;2371:2;2375:5;2355:9;:26::i;:::-;-1:-1:-1;2399:4:0;2180:231;;;;;:::o;1022:35::-;1055:2;1022:35;:::o;2670:324::-;2750:4;-1:-1:-1;;;;;2775:21:0;;;;2767:30;;;;;;2851:10;2841:21;;;;:9;:21;;;;;;;;-1:-1:-1;;;;;2841:30:0;;;;;;;;;;:46;;2876:10;2841:46;:34;:46;:::i;:::-;2818:10;2808:21;;;;:9;:21;;;;;;;;-1:-1:-1;;;;;2808:30:0;;;;;;;;;;;;:79;;;2903:61;;;;;;2808:30;;2903:61;;;;;;;;;;;-1:-1:-1;2982:4:0;2670:324;;;;:::o;1106:42::-;1144:4;1106:42;:::o;1157:45::-;;;;;;;;;;;;;:::o;978:37::-;;;;;;;;;;;;;;;;;;;:::o;3002:334::-;3087:4;-1:-1:-1;;;;;3112:21:0;;;;3104:30;;;;;;3188:10;3178:21;;;;:9;:21;;;;;;;;-1:-1:-1;;;;;3178:30:0;;;;;;;;;;:51;;3213:15;3178:51;:34;:51;:::i;2032:140::-;2093:4;2110:32;2120:10;2132:2;2136:5;2110:9;:32::i;:::-;-1:-1:-1;2160:4:0;2032:140;;;;:::o;1209:66::-;;;;;;;;;;;;;;;;;;;;;;;;:::o;426:148::-;484:7;;512:6;;;;504:15;;;;;;-1:-1:-1;;542:5:0;;;426:148::o;1448:257::-;-1:-1:-1;;;;;1533:16:0;;;;1525:25;;;;;;-1:-1:-1;;;;;1579:15:0;;;;;;:9;:15;;;;;;:26;;1599:5;1579:26;:19;:26;:::i;:::-;-1:-1:-1;;;;;1561:15:0;;;;;;;:9;:15;;;;;;:44;;;;1632:13;;;;;;;:24;;1650:5;1632:24;:17;:24;:::i;:::-;-1:-1:-1;;;;;1616:13:0;;;;;;;:9;:13;;;;;;;;;:40;;;;1672:25;;;;;;;1616:13;;1672:25;;;;;;;;;;;;;1448:257;;;:::o;582:148::-;640:7;672:5;;;696:6;;;;688:15;;;;;;721:1;582:148;-1:-1:-1;;;582:148:0:o
Swarm Source
bzzr://49c4ccf9622df45c9e3e6b5259c0ff9f57b3e8a2f16c9cbf178c9a010125d0e5
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.