Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Overview
Max Total Supply
69 POV
Holders
17
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 0 Decimals)
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
POVToken
Compiler Version
v0.5.11+commit.c082d0b4
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2019-10-31 */ // POVCrypto Token // Made for @TrustlessState and @ck_SNARKs // Each of these 69 Tokens were lovingly crafted by @nanexcool in Buenos Aires // Code adapted from https://github.com/makerdao/dss/blob/effdda3657f71fd6efc3465dc661b375d1bacc3e/src/dai.sol pragma solidity ^0.5.11; contract POVToken { // --- ERC20 Data --- string public constant name = "POV Crypto"; string public constant symbol = "POV"; uint8 public constant decimals = 0; uint256 public totalSupply; mapping (address => uint) public balanceOf; mapping (address => mapping (address => uint)) public allowance; event Approval(address indexed src, address indexed guy, uint wad); event Transfer(address indexed src, address indexed dst, uint wad); // --- Math --- function add(uint x, uint y) internal pure returns (uint z) { require((z = x + y) >= x); } function sub(uint x, uint y) internal pure returns (uint z) { require((z = x - y) <= x); } constructor(uint256 supply) public { balanceOf[msg.sender] = supply; totalSupply = supply; emit Transfer(address(0x0), msg.sender, supply); } // --- Token --- function transfer(address dst, uint wad) external returns (bool) { return transferFrom(msg.sender, dst, wad); } function transferFrom(address src, address dst, uint wad) public returns (bool) { require(balanceOf[src] >= wad, "pov/insufficient-balance"); if (src != msg.sender && allowance[src][msg.sender] != uint(-1)) { require(allowance[src][msg.sender] >= wad, "pov/insufficient-allowance"); allowance[src][msg.sender] = sub(allowance[src][msg.sender], wad); } balanceOf[src] = sub(balanceOf[src], wad); balanceOf[dst] = add(balanceOf[dst], wad); emit Transfer(src, dst, wad); return true; } function approve(address usr, uint wad) external returns (bool) { allowance[msg.sender][usr] = wad; emit Approval(msg.sender, usr, wad); return true; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"constant":true,"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"usr","type":"address"},{"internalType":"uint256","name":"wad","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","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":"src","type":"address"},{"internalType":"address","name":"dst","type":"address"},{"internalType":"uint256","name":"wad","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","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":"","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"dst","type":"address"},{"internalType":"uint256","name":"wad","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"supply","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"src","type":"address"},{"indexed":true,"internalType":"address","name":"guy","type":"address"},{"indexed":false,"internalType":"uint256","name":"wad","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"src","type":"address"},{"indexed":true,"internalType":"address","name":"dst","type":"address"},{"indexed":false,"internalType":"uint256","name":"wad","type":"uint256"}],"name":"Transfer","type":"event"}]
Contract Creation Code
608060405234801561001057600080fd5b506040516106573803806106578339818101604052602081101561003357600080fd5b5051336000818152600160209081526040808320859055848355805185815290517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a3506105c88061008f6000396000f3fe608060405234801561001057600080fd5b50600436106100935760003560e01c8063313ce56711610066578063313ce567146101a557806370a08231146101c357806395d89b41146101e9578063a9059cbb146101f1578063dd62ed3e1461021d57610093565b806306fdde0314610098578063095ea7b31461011557806318160ddd1461015557806323b872dd1461016f575b600080fd5b6100a061024b565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100da5781810151838201526020016100c2565b50505050905090810190601f1680156101075780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101416004803603604081101561012b57600080fd5b506001600160a01b038135169060200135610271565b604080519115158252519081900360200190f35b61015d6102d8565b60408051918252519081900360200190f35b6101416004803603606081101561018557600080fd5b506001600160a01b038135811691602081013590911690604001356102de565b6101ad61050c565b6040805160ff9092168252519081900360200190f35b61015d600480360360208110156101d957600080fd5b50356001600160a01b0316610511565b6100a0610523565b6101416004803603604081101561020757600080fd5b506001600160a01b038135169060200135610542565b61015d6004803603604081101561023357600080fd5b506001600160a01b0381358116916020013516610556565b6040518060400160405280600a815260200169504f562043727970746f60b01b81525081565b3360008181526002602090815260408083206001600160a01b038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a35060015b92915050565b60005481565b6001600160a01b03831660009081526001602052604081205482111561034b576040805162461bcd60e51b815260206004820152601860248201527f706f762f696e73756666696369656e742d62616c616e63650000000000000000604482015290519081900360640190fd5b6001600160a01b038416331480159061038957506001600160a01b038416600090815260026020908152604080832033845290915290205460001914155b15610459576001600160a01b0384166000908152600260209081526040808320338452909152902054821115610406576040805162461bcd60e51b815260206004820152601a60248201527f706f762f696e73756666696369656e742d616c6c6f77616e6365000000000000604482015290519081900360640190fd5b6001600160a01b03841660009081526002602090815260408083203384529091529020546104349083610573565b6001600160a01b03851660009081526002602090815260408083203384529091529020555b6001600160a01b03841660009081526001602052604090205461047c9083610573565b6001600160a01b0380861660009081526001602052604080822093909355908516815220546104ab9083610583565b6001600160a01b0380851660008181526001602090815260409182902094909455805186815290519193928816927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a35060019392505050565b600081565b60016020526000908152604090205481565b604051806040016040528060038152602001622827ab60e91b81525081565b600061054f3384846102de565b9392505050565b600260209081526000928352604080842090915290825290205481565b808203828111156102d257600080fd5b808201828110156102d257600080fdfea265627a7a7231582074b26f8e48f5939738f784b54917d99e8c50aa046211ef65aff9972cae5f866264736f6c634300050b00320000000000000000000000000000000000000000000000000000000000000045
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106100935760003560e01c8063313ce56711610066578063313ce567146101a557806370a08231146101c357806395d89b41146101e9578063a9059cbb146101f1578063dd62ed3e1461021d57610093565b806306fdde0314610098578063095ea7b31461011557806318160ddd1461015557806323b872dd1461016f575b600080fd5b6100a061024b565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100da5781810151838201526020016100c2565b50505050905090810190601f1680156101075780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101416004803603604081101561012b57600080fd5b506001600160a01b038135169060200135610271565b604080519115158252519081900360200190f35b61015d6102d8565b60408051918252519081900360200190f35b6101416004803603606081101561018557600080fd5b506001600160a01b038135811691602081013590911690604001356102de565b6101ad61050c565b6040805160ff9092168252519081900360200190f35b61015d600480360360208110156101d957600080fd5b50356001600160a01b0316610511565b6100a0610523565b6101416004803603604081101561020757600080fd5b506001600160a01b038135169060200135610542565b61015d6004803603604081101561023357600080fd5b506001600160a01b0381358116916020013516610556565b6040518060400160405280600a815260200169504f562043727970746f60b01b81525081565b3360008181526002602090815260408083206001600160a01b038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a35060015b92915050565b60005481565b6001600160a01b03831660009081526001602052604081205482111561034b576040805162461bcd60e51b815260206004820152601860248201527f706f762f696e73756666696369656e742d62616c616e63650000000000000000604482015290519081900360640190fd5b6001600160a01b038416331480159061038957506001600160a01b038416600090815260026020908152604080832033845290915290205460001914155b15610459576001600160a01b0384166000908152600260209081526040808320338452909152902054821115610406576040805162461bcd60e51b815260206004820152601a60248201527f706f762f696e73756666696369656e742d616c6c6f77616e6365000000000000604482015290519081900360640190fd5b6001600160a01b03841660009081526002602090815260408083203384529091529020546104349083610573565b6001600160a01b03851660009081526002602090815260408083203384529091529020555b6001600160a01b03841660009081526001602052604090205461047c9083610573565b6001600160a01b0380861660009081526001602052604080822093909355908516815220546104ab9083610583565b6001600160a01b0380851660008181526001602090815260409182902094909455805186815290519193928816927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a35060019392505050565b600081565b60016020526000908152604090205481565b604051806040016040528060038152602001622827ab60e91b81525081565b600061054f3384846102de565b9392505050565b600260209081526000928352604080842090915290825290205481565b808203828111156102d257600080fd5b808201828110156102d257600080fdfea265627a7a7231582074b26f8e48f5939738f784b54917d99e8c50aa046211ef65aff9972cae5f866264736f6c634300050b0032
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000000000000000000000000045
-----Decoded View---------------
Arg [0] : supply (uint256): 69
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000045
Deployed Bytecode Sourcemap
286:1882:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;286:1882:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;338:47;;;:::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;338:47:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1982:183;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;1982:183:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;482:26;;;:::i;:::-;;;;;;;;;;;;;;;;1384:590;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;1384:590:0;;;;;;;;;;;;;;;;;:::i;439:36::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;517:63;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;517:63:0;-1:-1:-1;;;;;517:63:0;;:::i;392:40::-;;;:::i;1253:125::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;1253:125:0;;;;;;;;:::i;587:63::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;587:63:0;;;;;;;;;;:::i;338:47::-;;;;;;;;;;;;;;-1:-1:-1;;;338:47:0;;;;:::o;1982:183::-;2067:10;2040:4;2057:21;;;:9;:21;;;;;;;;-1:-1:-1;;;;;2057:26:0;;;;;;;;;;;:32;;;2105:30;;;;;;;2040:4;;2057:26;;2067:10;;2105:30;;;;;;;;-1:-1:-1;2153:4:0;1982:183;;;;;:::o;482:26::-;;;;:::o;1384:590::-;-1:-1:-1;;;;;1497:14:0;;1467:4;1497:14;;;:9;:14;;;;;;:21;-1:-1:-1;1497:21:0;1489:58;;;;;-1:-1:-1;;;1489:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1562:17:0;;1569:10;1562:17;;;;:59;;-1:-1:-1;;;;;;1583:14:0;;;;;;:9;:14;;;;;;;;1598:10;1583:26;;;;;;;;-1:-1:-1;;1583:38:0;;1562:59;1558:244;;;-1:-1:-1;;;;;1646:14:0;;;;;;:9;:14;;;;;;;;1661:10;1646:26;;;;;;;;:33;-1:-1:-1;1646:33:0;1638:72;;;;;-1:-1:-1;;;1638:72:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1758:14:0;;;;;;:9;:14;;;;;;;;1773:10;1758:26;;;;;;;;1754:36;;1786:3;1754;:36::i;:::-;-1:-1:-1;;;;;1725:14:0;;;;;;:9;:14;;;;;;;;1740:10;1725:26;;;;;;;:65;1558:244;-1:-1:-1;;;;;1833:14:0;;;;;;:9;:14;;;;;;1829:24;;1849:3;1829;:24::i;:::-;-1:-1:-1;;;;;1812:14:0;;;;;;;:9;:14;;;;;;:41;;;;1885:14;;;;;;;1881:24;;1901:3;1881;:24::i;:::-;-1:-1:-1;;;;;1864:14:0;;;;;;;:9;:14;;;;;;;;;:41;;;;1921:23;;;;;;;1864:14;;1921:23;;;;;;;;;;;;;-1:-1:-1;1962:4:0;1384:590;;;;;:::o;439:36::-;474:1;439:36;:::o;517:63::-;;;;;;;;;;;;;:::o;392:40::-;;;;;;;;;;;;;;-1:-1:-1;;;392:40:0;;;;:::o;1253:125::-;1312:4;1336:34;1349:10;1361:3;1366;1336:12;:34::i;:::-;1329:41;1253:125;-1:-1:-1;;;1253:125:0:o;587:63::-;;;;;;;;;;;;;;;;;;;;;;;;:::o;938:104::-;1022:5;;;1017:16;;;;1009:25;;;;;828:104;912:5;;;907:16;;;;899:25;;;;
Swarm Source
bzzr://74b26f8e48f5939738f784b54917d99e8c50aa046211ef65aff9972cae5f8662
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.