ERC-20
Overview
Max Total Supply
69,420,000,000 PSALE
Holders
751
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:
PRESALE
Compiler Version
v0.5.8+commit.23d335f2
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-05-20 */ pragma solidity 0.5.8; /** * * $PRESALE * * On-chain memetic experience * * If you have a question please send an on-chain message so everyone can see answer :) * */ interface ERC20 { function totalSupply() external view returns (uint256); function balanceOf(address who) external view returns (uint256); function allowance(address owner, address spender) external view returns (uint256); function transfer(address to, uint256 value) external returns (bool); function approve(address spender, uint256 value) external returns (bool); function transferFrom(address from, address to, uint256 value) external returns (bool); event Transfer(address indexed from, address indexed to, uint256 value); event Approval(address indexed owner, address indexed spender, uint256 value); } contract PRESALE is ERC20 { using SafeMath for uint256; mapping (address => uint256) private balances; mapping (address => mapping (address => uint256)) private allowed; string public constant name = "PRESALE"; string public constant symbol = "PSALE"; uint8 public constant decimals = 18; uint256 constant MAX_SUPPLY = 69420000000 * (10 ** 18); constructor() public { balances[msg.sender] = MAX_SUPPLY; emit Transfer(address(0), msg.sender, MAX_SUPPLY); } function totalSupply() public view returns (uint256) { return MAX_SUPPLY; } function balanceOf(address player) public view returns (uint256) { return balances[player]; } function allowance(address player, address spender) public view returns (uint256) { return allowed[player][spender]; } function transfer(address to, uint256 amount) public returns (bool) { require(to != address(0)); transferInternal(msg.sender, to, amount); return true; } function transferFrom(address from, address to, uint256 amount) public returns (bool) { require(to != address(0)); allowed[from][msg.sender] = allowed[from][msg.sender].sub(amount); transferInternal(from, to, amount); return true; } function transferInternal(address from, address to, uint256 amount) internal { balances[from] = balances[from].sub(amount); balances[to] = balances[to].add(amount); emit Transfer(from, to, amount); } function approve(address spender, uint256 value) public returns (bool) { require(spender != address(0)); allowed[msg.sender][spender] = value; emit Approval(msg.sender, spender, value); return true; } } 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) { uint256 c = a / b; return c; } function sub(uint256 a, uint256 b) internal pure returns (uint256) { require(b <= a); return a - b; } function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a); return c; } function ceil(uint256 a, uint256 m) internal pure returns (uint256) { uint256 c = add(a,m); uint256 d = sub(c,1); return mul(div(d,m),m); } }
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":"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":"player","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":"to","type":"address"},{"name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"player","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
608060405234801561001057600080fd5b50336000818152602081815260408083206be04ee0ccb27ac646ac00000090819055815190815290517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a3610529806100736000396000f3fe608060405234801561001057600080fd5b50600436106100935760003560e01c8063313ce56711610066578063313ce567146101a557806370a08231146101c357806395d89b41146101e9578063a9059cbb146101f1578063dd62ed3e1461021d57610093565b806306fdde0314610098578063095ea7b31461011557806318160ddd1461015557806323b872dd1461016f575b600080fd5b6100a061024b565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100da5781810151838201526020016100c2565b50505050905090810190601f1680156101075780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101416004803603604081101561012b57600080fd5b506001600160a01b038135169060200135610271565b604080519115158252519081900360200190f35b61015d6102ed565b60408051918252519081900360200190f35b6101416004803603606081101561018557600080fd5b506001600160a01b038135811691602081013590911690604001356102fd565b6101ad61037f565b6040805160ff9092168252519081900360200190f35b61015d600480360360208110156101d957600080fd5b50356001600160a01b0316610384565b6100a061039f565b6101416004803603604081101561020757600080fd5b506001600160a01b0381351690602001356103c3565b61015d6004803603604081101561023357600080fd5b506001600160a01b03813581169160200135166103ec565b604051806040016040528060078152602001600160c81b6650524553414c450281525081565b60006001600160a01b03831661028657600080fd5b3360008181526001602090815260408083206001600160a01b03881680855290835292819020869055805186815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a350600192915050565b6be04ee0ccb27ac646ac00000090565b60006001600160a01b03831661031257600080fd5b6001600160a01b0384166000908152600160209081526040808320338452909152902054610346908363ffffffff61041716565b6001600160a01b038516600090815260016020908152604080832033845290915290205561037584848461042c565b5060019392505050565b601281565b6001600160a01b031660009081526020819052604090205490565b604051806040016040528060058152602001600160d81b645053414c450281525081565b60006001600160a01b0383166103d857600080fd5b6103e333848461042c565b50600192915050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b60008282111561042657600080fd5b50900390565b6001600160a01b038316600090815260208190526040902054610455908263ffffffff61041716565b6001600160a01b03808516600090815260208190526040808220939093559084168152205461048a908263ffffffff6104e416565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b6000828201838110156104f657600080fd5b939250505056fea165627a7a7230582009db785b8665d6a0e09633f367389752e8cbb3b2af1c8bd394e8150185eaede20029
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106100935760003560e01c8063313ce56711610066578063313ce567146101a557806370a08231146101c357806395d89b41146101e9578063a9059cbb146101f1578063dd62ed3e1461021d57610093565b806306fdde0314610098578063095ea7b31461011557806318160ddd1461015557806323b872dd1461016f575b600080fd5b6100a061024b565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100da5781810151838201526020016100c2565b50505050905090810190601f1680156101075780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101416004803603604081101561012b57600080fd5b506001600160a01b038135169060200135610271565b604080519115158252519081900360200190f35b61015d6102ed565b60408051918252519081900360200190f35b6101416004803603606081101561018557600080fd5b506001600160a01b038135811691602081013590911690604001356102fd565b6101ad61037f565b6040805160ff9092168252519081900360200190f35b61015d600480360360208110156101d957600080fd5b50356001600160a01b0316610384565b6100a061039f565b6101416004803603604081101561020757600080fd5b506001600160a01b0381351690602001356103c3565b61015d6004803603604081101561023357600080fd5b506001600160a01b03813581169160200135166103ec565b604051806040016040528060078152602001600160c81b6650524553414c450281525081565b60006001600160a01b03831661028657600080fd5b3360008181526001602090815260408083206001600160a01b03881680855290835292819020869055805186815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a350600192915050565b6be04ee0ccb27ac646ac00000090565b60006001600160a01b03831661031257600080fd5b6001600160a01b0384166000908152600160209081526040808320338452909152902054610346908363ffffffff61041716565b6001600160a01b038516600090815260016020908152604080832033845290915290205561037584848461042c565b5060019392505050565b601281565b6001600160a01b031660009081526020819052604090205490565b604051806040016040528060058152602001600160d81b645053414c450281525081565b60006001600160a01b0383166103d857600080fd5b6103e333848461042c565b50600192915050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b60008282111561042657600080fd5b50900390565b6001600160a01b038316600090815260208190526040902054610455908263ffffffff61041716565b6001600160a01b03808516600090815260208190526040808220939093559084168152205461048a908263ffffffff6104e416565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b6000828201838110156104f657600080fd5b939250505056fea165627a7a7230582009db785b8665d6a0e09633f367389752e8cbb3b2af1c8bd394e8150185eaede20029
Deployed Bytecode Sourcemap
830:1844:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;830:1844:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1024:40;;;:::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;1024:40:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2428:241;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;2428:241:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;1363:89;;;:::i;:::-;;;;;;;;;;;;;;;;1908:273;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;1908:273:0;;;;;;;;;;;;;;;;;:::i;1117:35::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;1460:107;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1460:107:0;-1:-1:-1;;;;;1460:107:0;;:::i;1071:39::-;;;:::i;1715:185::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;1715:185:0;;;;;;;;:::i;1575:132::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;1575:132:0;;;;;;;;;;:::i;1024:40::-;;;;;;;;;;;;;;-1:-1:-1;;;;;1024:40:0;;;;:::o;2428:241::-;2493:4;-1:-1:-1;;;;;2518:21:0;;2510:30;;;;;;2559:10;2551:19;;;;:7;:19;;;;;;;;-1:-1:-1;;;;;2551:28:0;;;;;;;;;;;;:36;;;2603;;;;;;;2551:28;;2559:10;2603:36;;;;;;;;;;;-1:-1:-1;2657:4:0;2428:241;;;;:::o;1363:89::-;1189:24;1363:89;:::o;1908:273::-;1988:4;-1:-1:-1;;;;;2013:16:0;;2005:25;;;;;;-1:-1:-1;;;;;2069:13:0;;;;;;:7;:13;;;;;;;;2083:10;2069:25;;;;;;;;:37;;2099:6;2069:37;:29;:37;:::i;:::-;-1:-1:-1;;;;;2041:13:0;;;;;;:7;:13;;;;;;;;2055:10;2041:25;;;;;;;:65;2117:34;2049:4;2140:2;2144:6;2117:16;:34::i;:::-;-1:-1:-1;2169:4:0;1908:273;;;;;:::o;1117:35::-;1150:2;1117:35;:::o;1460:107::-;-1:-1:-1;;;;;1543:16:0;1516:7;1543:16;;;;;;;;;;;;1460:107::o;1071:39::-;;;;;;;;;;;;;;-1:-1:-1;;;;;1071:39:0;;;;:::o;1715:185::-;1777:4;-1:-1:-1;;;;;1802:16:0;;1794:25;;;;;;1830:40;1847:10;1859:2;1863:6;1830:16;:40::i;:::-;-1:-1:-1;1888:4:0;1715:185;;;;:::o;1575:132::-;-1:-1:-1;;;;;1675:15:0;;;1648:7;1675:15;;;:7;:15;;;;;;;;:24;;;;;;;;;;;;;1575:132::o;3007:114::-;3065:7;3094:1;3089;:6;;3081:15;;;;;;-1:-1:-1;3110:5:0;;;3007:114::o;2189:231::-;-1:-1:-1;;;;;2294:14:0;;:8;:14;;;;;;;;;;;:26;;2313:6;2294:26;:18;:26;:::i;:::-;-1:-1:-1;;;;;2277:14:0;;;:8;:14;;;;;;;;;;;:43;;;;2346:12;;;;;;;:24;;2363:6;2346:24;:16;:24;:::i;:::-;-1:-1:-1;;;;;2331:12:0;;;:8;:12;;;;;;;;;;;;:39;;;;2386:26;;;;;;;2331:12;;2386:26;;;;;;;;;;;;;2189:231;;;:::o;3127:134::-;3185:7;3213:5;;;3233:6;;;;3225:15;;;;;;3254:1;3127:134;-1:-1:-1;;;3127:134:0:o
Swarm Source
bzzr://09db785b8665d6a0e09633f367389752e8cbb3b2af1c8bd394e8150185eaede2
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.