ERC-20
Overview
Max Total Supply
10,000 ATAB
Holders
10
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
6,393.92809441436760801 ATABValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
ATAB
Compiler Version
v0.5.17+commit.d19bba13
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2020-11-03 */ /** *Submitted for verification at Etherscan.io on 2020-11-02 * * * ╔═╗╔╦╗╔═╗╔╗ * ╠═╣ ║ ╠═╣╠╩╗ * ╩ ╩ ╩ ╩ ╩╚═╝ * * Absolute Top Absolute Bottom is a community token whereby the community decides what the top and bottom of the token is. * * Selling is paused() until the community decides that we've reached the absolute TOP (We use voting for this) * * Selling is then enabled until the community believes we've reached the absolute BOTTOM (Same voting takes place) * * We unpaused() is called again we start selling again allowing other new guys to buy and repeat the same process again * * https://t.me/AbsoluteTopAbsoluteBottom * * Created by ~ 0x1337 * * * */ pragma solidity ^0.5.17; // ---------------------------------------------------------------------------- // ERC Token Standard #20 Interface // https://github.com/ethereum/EIPs/blob/master/EIPS/eip-20-token-standard.md // ---------------------------------------------------------------------------- contract ERC20Interface { function totalSupply() public view returns (uint); function balanceOf(address tokenOwner) public view returns (uint balance); function allowance(address tokenOwner, address spender) public view returns (uint remaining); function transfer(address to, uint tokens) public returns (bool success); function approve(address spender, uint tokens) public returns (bool success); function transferFrom(address from, address to, uint tokens) public returns (bool success); event Transfer(address indexed from, address indexed to, uint tokens); event Approval(address indexed tokenOwner, address indexed spender, uint tokens); } // ---------------------------------------------------------------------------- // Safe maths // ---------------------------------------------------------------------------- library SafeMath { function add(uint a, uint b) internal pure returns (uint c) { c = a + b; require(c >= a); } function sub(uint a, uint b) internal pure returns (uint c) { require(b <= a); c = a - b; } function mul(uint a, uint b) internal pure returns (uint c) { c = a * b; require(a == 0 || c / a == b); // the same as: if (a !=0 && c / a != b) {throw;} } function div(uint a, uint b) internal pure returns (uint c) { require(b > 0); c = a / b; } } // ---------------------------------------------------------------------------- // ERC20 Token, with the addition of symbol, name and decimals and an // initial fixed supply // ---------------------------------------------------------------------------- contract ATAB is ERC20Interface { using SafeMath for uint; string public symbol; string public name; uint8 public decimals; uint _totalSupply; mapping(address => uint) balances; mapping(address => mapping(address => uint)) allowed; // ------------------------------------------------------------------------ // Constructor // ------------------------------------------------------------------------ constructor() public { symbol = "ATAB"; name = "Absolute Top Absolute Bottom"; decimals = 18; _totalSupply = 10000 * 10**uint(decimals); balances[msg.sender] = _totalSupply; emit Transfer(address(0), msg.sender, _totalSupply); } // ------------------------------------------------------------------------ // Total supply // ------------------------------------------------------------------------ function totalSupply() public view returns (uint) { return _totalSupply; } // ------------------------------------------------------------------------ // Get the token balance for account `tokenOwner` // ------------------------------------------------------------------------ function balanceOf(address tokenOwner) public view returns (uint balance) { return balances[tokenOwner]; } // ------------------------------------------------------------------------ // Transfer the balance from token owner's account to `to` account // - Owner's account must have sufficient balance to transfer // - 0 value transfers are allowed // ------------------------------------------------------------------------ function transfer(address to, uint tokens) public returns (bool success) { require(to != address(0), "to address is a zero address"); balances[msg.sender] = balances[msg.sender].sub(tokens); balances[to] = balances[to].add(tokens); emit Transfer(msg.sender, to, tokens); return true; } // ------------------------------------------------------------------------ // Token owner can approve for `spender` to transferFrom(...) `tokens` // from the token owner's account // // https://github.com/ethereum/EIPs/blob/master/EIPS/eip-20-token-standard.md // recommends that there are no checks for the approval double-spend attack // as this should be implemented in user interfaces // ------------------------------------------------------------------------ function approve(address spender, uint tokens) public returns (bool success) { require(spender != address(0), "spender address is a zero address"); allowed[msg.sender][spender] = tokens; emit Approval(msg.sender, spender, tokens); return true; } // ------------------------------------------------------------------------ // Transfer `tokens` from the `from` account to the `to` account // // The calling account must already have sufficient tokens approve(...)-d // for spending from the `from` account and // - From account must have sufficient balance to transfer // - Spender must have sufficient allowance to transfer // - 0 value transfers are allowed // ------------------------------------------------------------------------ function transferFrom(address from, address to, uint tokens) public returns (bool success) { require(to != address(0), "to address is a zero address"); balances[from] = balances[from].sub(tokens); allowed[from][msg.sender] = allowed[from][msg.sender].sub(tokens); balances[to] = balances[to].add(tokens); emit Transfer(from, to, tokens); return true; } // ------------------------------------------------------------------------ // Returns the amount of tokens approved by the owner that can be // transferred to the spender's account // ------------------------------------------------------------------------ function allowance(address tokenOwner, address spender) public view returns (uint remaining) { return allowed[tokenOwner][spender]; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"tokenOwner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokens","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokens","type":"uint256"}],"name":"Transfer","type":"event"},{"constant":true,"inputs":[{"internalType":"address","name":"tokenOwner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"remaining","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"tokens","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"tokenOwner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"balance","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","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":"to","type":"address"},{"internalType":"uint256","name":"tokens","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokens","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405234801561001057600080fd5b506040805180820190915260048082526320aa20a160e11b602090920191825261003c916000916100f0565b5060408051808201909152601c8082527f4162736f6c75746520546f70204162736f6c75746520426f74746f6d000000006020909201918252610081916001916100f0565b5060028054601260ff19909116179081905560ff16600a0a612710026003819055336000818152600460209081526040808320859055805194855251929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a361018b565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061013157805160ff191683800117855561015e565b8280016001018555821561015e579182015b8281111561015e578251825591602001919060010190610143565b5061016a92915061016e565b5090565b61018891905b8082111561016a5760008155600101610174565b90565b6107278061019a6000396000f3fe608060405234801561001057600080fd5b50600436106100935760003560e01c8063313ce56711610066578063313ce567146101a557806370a08231146101c357806395d89b41146101e9578063a9059cbb146101f1578063dd62ed3e1461021d57610093565b806306fdde0314610098578063095ea7b31461011557806318160ddd1461015557806323b872dd1461016f575b600080fd5b6100a061024b565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100da5781810151838201526020016100c2565b50505050905090810190601f1680156101075780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101416004803603604081101561012b57600080fd5b506001600160a01b0381351690602001356102d8565b604080519115158252519081900360200190f35b61015d610387565b60408051918252519081900360200190f35b6101416004803603606081101561018557600080fd5b506001600160a01b0381358116916020810135909116906040013561038d565b6101ad6104f5565b6040805160ff9092168252519081900360200190f35b61015d600480360360208110156101d957600080fd5b50356001600160a01b03166104fe565b6100a0610519565b6101416004803603604081101561020757600080fd5b506001600160a01b038135169060200135610574565b61015d6004803603604081101561023357600080fd5b506001600160a01b0381358116916020013516610681565b60018054604080516020600284861615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156102d05780601f106102a5576101008083540402835291602001916102d0565b820191906000526020600020905b8154815290600101906020018083116102b357829003601f168201915b505050505081565b60006001600160a01b03831661031f5760405162461bcd60e51b81526004018080602001828103825260218152602001806106d26021913960400191505060405180910390fd5b3360008181526005602090815260408083206001600160a01b03881680855290835292819020869055805186815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a35060015b92915050565b60035490565b60006001600160a01b0383166103ea576040805162461bcd60e51b815260206004820152601c60248201527f746f20616464726573732069732061207a65726f206164647265737300000000604482015290519081900360640190fd5b6001600160a01b038416600090815260046020526040902054610413908363ffffffff6106ac16565b6001600160a01b0385166000908152600460209081526040808320939093556005815282822033835290522054610450908363ffffffff6106ac16565b6001600160a01b038086166000908152600560209081526040808320338452825280832094909455918616815260049091522054610494908363ffffffff6106c116565b6001600160a01b0380851660008181526004602090815260409182902094909455805186815290519193928816927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a35060019392505050565b60025460ff1681565b6001600160a01b031660009081526004602052604090205490565b6000805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156102d05780601f106102a5576101008083540402835291602001916102d0565b60006001600160a01b0383166105d1576040805162461bcd60e51b815260206004820152601c60248201527f746f20616464726573732069732061207a65726f206164647265737300000000604482015290519081900360640190fd5b336000908152600460205260409020546105f1908363ffffffff6106ac16565b33600090815260046020526040808220929092556001600160a01b03851681522054610623908363ffffffff6106c116565b6001600160a01b0384166000818152600460209081526040918290209390935580518581529051919233927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a350600192915050565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205490565b6000828211156106bb57600080fd5b50900390565b8181018281101561038157600080fdfe7370656e64657220616464726573732069732061207a65726f2061646472657373a265627a7a72315820a36dbafb04c2c01986ff5f41fe9ec98a186cd3dff78fc817328908424f519c9164736f6c63430005110032
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106100935760003560e01c8063313ce56711610066578063313ce567146101a557806370a08231146101c357806395d89b41146101e9578063a9059cbb146101f1578063dd62ed3e1461021d57610093565b806306fdde0314610098578063095ea7b31461011557806318160ddd1461015557806323b872dd1461016f575b600080fd5b6100a061024b565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100da5781810151838201526020016100c2565b50505050905090810190601f1680156101075780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101416004803603604081101561012b57600080fd5b506001600160a01b0381351690602001356102d8565b604080519115158252519081900360200190f35b61015d610387565b60408051918252519081900360200190f35b6101416004803603606081101561018557600080fd5b506001600160a01b0381358116916020810135909116906040013561038d565b6101ad6104f5565b6040805160ff9092168252519081900360200190f35b61015d600480360360208110156101d957600080fd5b50356001600160a01b03166104fe565b6100a0610519565b6101416004803603604081101561020757600080fd5b506001600160a01b038135169060200135610574565b61015d6004803603604081101561023357600080fd5b506001600160a01b0381358116916020013516610681565b60018054604080516020600284861615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156102d05780601f106102a5576101008083540402835291602001916102d0565b820191906000526020600020905b8154815290600101906020018083116102b357829003601f168201915b505050505081565b60006001600160a01b03831661031f5760405162461bcd60e51b81526004018080602001828103825260218152602001806106d26021913960400191505060405180910390fd5b3360008181526005602090815260408083206001600160a01b03881680855290835292819020869055805186815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a35060015b92915050565b60035490565b60006001600160a01b0383166103ea576040805162461bcd60e51b815260206004820152601c60248201527f746f20616464726573732069732061207a65726f206164647265737300000000604482015290519081900360640190fd5b6001600160a01b038416600090815260046020526040902054610413908363ffffffff6106ac16565b6001600160a01b0385166000908152600460209081526040808320939093556005815282822033835290522054610450908363ffffffff6106ac16565b6001600160a01b038086166000908152600560209081526040808320338452825280832094909455918616815260049091522054610494908363ffffffff6106c116565b6001600160a01b0380851660008181526004602090815260409182902094909455805186815290519193928816927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a35060019392505050565b60025460ff1681565b6001600160a01b031660009081526004602052604090205490565b6000805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156102d05780601f106102a5576101008083540402835291602001916102d0565b60006001600160a01b0383166105d1576040805162461bcd60e51b815260206004820152601c60248201527f746f20616464726573732069732061207a65726f206164647265737300000000604482015290519081900360640190fd5b336000908152600460205260409020546105f1908363ffffffff6106ac16565b33600090815260046020526040808220929092556001600160a01b03851681522054610623908363ffffffff6106c116565b6001600160a01b0384166000818152600460209081526040918290209390935580518581529051919233927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a350600192915050565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205490565b6000828211156106bb57600080fd5b50900390565b8181018281101561038157600080fdfe7370656e64657220616464726573732069732061207a65726f2061646472657373a265627a7a72315820a36dbafb04c2c01986ff5f41fe9ec98a186cd3dff78fc817328908424f519c9164736f6c63430005110032
Deployed Bytecode Sourcemap
2717:4047:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2717:4047:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2809:19;;;:::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;2809:19:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5162:271;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;5162:271:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;3602:82;;;:::i;:::-;;;;;;;;;;;;;;;;5954:386;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;5954:386:0;;;;;;;;;;;;;;;;;:::i;2833:21::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;3901:114;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;3901:114:0;-1:-1:-1;;;;;3901:114:0;;:::i;2784:20::-;;;:::i;4352:314::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;4352:314:0;;;;;;;;:::i;6616:141::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;6616:141:0;;;;;;;;;;:::i;2809:19::-;;;;;;;;;;;;;;;-1:-1:-1;;2809:19:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;5162:271::-;5225:12;-1:-1:-1;;;;;5254:21:0;;5246:67;;;;-1:-1:-1;;;5246:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5331:10;5323:19;;;;:7;:19;;;;;;;;-1:-1:-1;;;;;5323:28:0;;;;;;;;;;;;:37;;;5372;;;;;;;5323:28;;5331:10;5372:37;;;;;;;;;;;-1:-1:-1;5423:4:0;5162:271;;;;;:::o;3602:82::-;3666:12;;3602:82;:::o;5954:386::-;6031:12;-1:-1:-1;;;;;6060:16:0;;6052:57;;;;;-1:-1:-1;;;6052:57:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;6134:14:0;;;;;;:8;:14;;;;;;:26;;6153:6;6134:26;:18;:26;:::i;:::-;-1:-1:-1;;;;;6117:14:0;;;;;;:8;:14;;;;;;;;:43;;;;6195:7;:13;;;;;6209:10;6195:25;;;;;;:37;;6225:6;6195:37;:29;:37;:::i;:::-;-1:-1:-1;;;;;6167:13:0;;;;;;;:7;:13;;;;;;;;6181:10;6167:25;;;;;;;:65;;;;6254:12;;;;;:8;:12;;;;;:24;;6271:6;6254:24;:16;:24;:::i;:::-;-1:-1:-1;;;;;6239:12:0;;;;;;;:8;:12;;;;;;;;;:39;;;;6290:26;;;;;;;6239:12;;6290:26;;;;;;;;;;;;;-1:-1:-1;6330:4:0;5954:386;;;;;:::o;2833:21::-;;;;;;:::o;3901:114::-;-1:-1:-1;;;;;3989:20:0;3961:12;3989:20;;;:8;:20;;;;;;;3901:114::o;2784:20::-;;;;;;;;;;;;;;;-1:-1:-1;;2784:20:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4352:314;4411:12;-1:-1:-1;;;;;4440:16:0;;4432:57;;;;;-1:-1:-1;;;4432:57:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;4529:10;4520:20;;;;:8;:20;;;;;;:32;;4545:6;4520:32;:24;:32;:::i;:::-;4506:10;4497:20;;;;:8;:20;;;;;;:55;;;;-1:-1:-1;;;;;4574:12:0;;;;;;:24;;4591:6;4574:24;:16;:24;:::i;:::-;-1:-1:-1;;;;;4559:12:0;;;;;;:8;:12;;;;;;;;;:39;;;;4610:32;;;;;;;4559:12;;4619:10;;4610:32;;;;;;;;;;-1:-1:-1;4656:4:0;4352:314;;;;:::o;6616:141::-;-1:-1:-1;;;;;6723:19:0;;;6693:14;6723:19;;;:7;:19;;;;;;;;:28;;;;;;;;;;;;;6616:141::o;2069:104::-;2121:6;2149:1;2144;:6;;2136:15;;;;;;-1:-1:-1;2162:5:0;;;2069:104::o;1961:::-;2032:5;;;2052:6;;;;2044:15;;;;
Swarm Source
bzzr://a36dbafb04c2c01986ff5f41fe9ec98a186cd3dff78fc817328908424f519c91
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.