ERC-20
Overview
Max Total Supply
20,000,000 TPV
Holders
39
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
2,731.436779648649174274 TPVValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
TokenERC20
Compiler Version
v0.4.16+commit.d7661dd9
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2021-07-01 */ pragma solidity ^0.4.16; contract TokenERC20 { string public name; string public symbol; uint8 public decimals = 18; uint256 public totalSupply; mapping (address => uint256) public balanceOf; // mapping (address => mapping (address => uint256)) public allowance; event Transfer(address indexed from, address indexed to, uint256 value); event Burn(address indexed from, uint256 value); function TokenERC20(uint256 initialSupply, string tokenName, string tokenSymbol) public { totalSupply = initialSupply * 10 ** uint256(decimals); balanceOf[msg.sender] = totalSupply; name = tokenName; symbol = tokenSymbol; } function _transfer(address _from, address _to, uint _value) internal { require(_to != 0x0); require(balanceOf[_from] >= _value); require(balanceOf[_to] + _value > balanceOf[_to]); uint previousBalances = balanceOf[_from] + balanceOf[_to]; balanceOf[_from] -= _value; balanceOf[_to] += _value; Transfer(_from, _to, _value); assert(balanceOf[_from] + balanceOf[_to] == previousBalances); } 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 success) { require(_value <= allowance[_from][msg.sender]); // Check allowance allowance[_from][msg.sender] -= _value; _transfer(_from, _to, _value); return true; } function approve(address _spender, uint256 _value) public returns (bool success) { allowance[msg.sender][_spender] = _value; return true; } function burn(uint256 _value) public returns (bool success) { require(balanceOf[msg.sender] >= _value); balanceOf[msg.sender] -= _value; totalSupply -= _value; Burn(msg.sender, _value); return true; } function burnFrom(address _from, uint256 _value) public returns (bool success) { require(balanceOf[_from] >= _value); require(_value <= allowance[_from][msg.sender]); balanceOf[_from] -= _value; allowance[_from][msg.sender] -= _value; totalSupply -= _value; Burn(_from, _value); return true; } }
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":"success","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":"success","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":"_value","type":"uint256"}],"name":"burn","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_from","type":"address"},{"name":"_value","type":"uint256"}],"name":"burnFrom","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","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":"_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":[{"name":"initialSupply","type":"uint256"},{"name":"tokenName","type":"string"},{"name":"tokenSymbol","type":"string"}],"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":"from","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Burn","type":"event"}]
Contract Creation Code
60606040526002805460ff19166012179055341561001c57600080fd5b6040516109ad3803806109ad833981016040528080519190602001805182019190602001805190910190505b60025460ff16600a0a83026003819055600160a060020a0333166000908152600460205260408120919091558280516100859291602001906100a3565b5060018180516100999291602001906100a3565b505b505050610143565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106100e457805160ff1916838001178555610111565b82800160010185558215610111579182015b828111156101115782518255916020019190600101906100f6565b5b5061011e929150610122565b5090565b61014091905b8082111561011e5760008155600101610128565b5090565b90565b61085b806101526000396000f300606060405236156100ac5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100b1578063095ea7b31461013c57806318160ddd1461017257806323b872dd14610197578063313ce567146101d357806342966c68146101fc57806370a082311461022657806379cc67901461025757806395d89b411461028d578063a9059cbb14610318578063dd62ed3e1461034e575b600080fd5b34156100bc57600080fd5b6100c4610385565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156101015780820151818401525b6020016100e8565b50505050905090810190601f16801561012e5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561014757600080fd5b61015e600160a060020a0360043516602435610423565b604051901515815260200160405180910390f35b341561017d57600080fd5b610185610454565b60405190815260200160405180910390f35b34156101a257600080fd5b61015e600160a060020a036004358116906024351660443561045a565b604051901515815260200160405180910390f35b34156101de57600080fd5b6101e66104d2565b60405160ff909116815260200160405180910390f35b341561020757600080fd5b61015e6004356104db565b604051901515815260200160405180910390f35b341561023157600080fd5b610185600160a060020a0360043516610567565b60405190815260200160405180910390f35b341561026257600080fd5b61015e600160a060020a0360043516602435610579565b604051901515815260200160405180910390f35b341561029857600080fd5b6100c4610656565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156101015780820151818401525b6020016100e8565b50505050905090810190601f16801561012e5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561032357600080fd5b61015e600160a060020a03600435166024356106f4565b604051901515815260200160405180910390f35b341561035957600080fd5b610185600160a060020a036004358116906024351661070b565b60405190815260200160405180910390f35b60008054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561041b5780601f106103f05761010080835404028352916020019161041b565b820191906000526020600020905b8154815290600101906020018083116103fe57829003601f168201915b505050505081565b600160a060020a03338116600090815260056020908152604080832093861683529290522081905560015b92915050565b60035481565b600160a060020a0380841660009081526005602090815260408083203390941683529290529081205482111561048f57600080fd5b600160a060020a03808516600090815260056020908152604080832033909416835292905220805483900390556104c7848484610728565b5060015b9392505050565b60025460ff1681565b600160a060020a0333166000908152600460205260408120548290101561050157600080fd5b600160a060020a03331660008181526004602052604090819020805485900390556003805485900390557fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca59084905190815260200160405180910390a25060015b919050565b60046020526000908152604090205481565b600160a060020a0382166000908152600460205260408120548290101561059f57600080fd5b600160a060020a03808416600090815260056020908152604080832033909416835292905220548211156105d257600080fd5b600160a060020a038084166000818152600460209081526040808320805488900390556005825280832033909516835293905282902080548590039055600380548590039055907fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca59084905190815260200160405180910390a25060015b92915050565b60018054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561041b5780601f106103f05761010080835404028352916020019161041b565b820191906000526020600020905b8154815290600101906020018083116103fe57829003601f168201915b505050505081565b6000610701338484610728565b5060015b92915050565b600560209081526000928352604080842090915290825290205481565b6000600160a060020a038316151561073f57600080fd5b600160a060020a0384166000908152600460205260409020548290101561076557600080fd5b600160a060020a0383166000908152600460205260409020548281011161078b57600080fd5b50600160a060020a0380831660008181526004602052604080822080549488168084528284208054888103909155938590528154870190915591909301927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a3600160a060020a0380841660009081526004602052604080822054928716825290205401811461082857fe5b5b505050505600a165627a7a72305820cd996951d79bcc2f5b2c3be9d171e140fe5d3f939e0c1d498bde2fb19b4dbda600290000000000000000000000000000000000000000000000000000000001312d00000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000007547076537761700000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000035450560000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x606060405236156100ac5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100b1578063095ea7b31461013c57806318160ddd1461017257806323b872dd14610197578063313ce567146101d357806342966c68146101fc57806370a082311461022657806379cc67901461025757806395d89b411461028d578063a9059cbb14610318578063dd62ed3e1461034e575b600080fd5b34156100bc57600080fd5b6100c4610385565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156101015780820151818401525b6020016100e8565b50505050905090810190601f16801561012e5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561014757600080fd5b61015e600160a060020a0360043516602435610423565b604051901515815260200160405180910390f35b341561017d57600080fd5b610185610454565b60405190815260200160405180910390f35b34156101a257600080fd5b61015e600160a060020a036004358116906024351660443561045a565b604051901515815260200160405180910390f35b34156101de57600080fd5b6101e66104d2565b60405160ff909116815260200160405180910390f35b341561020757600080fd5b61015e6004356104db565b604051901515815260200160405180910390f35b341561023157600080fd5b610185600160a060020a0360043516610567565b60405190815260200160405180910390f35b341561026257600080fd5b61015e600160a060020a0360043516602435610579565b604051901515815260200160405180910390f35b341561029857600080fd5b6100c4610656565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156101015780820151818401525b6020016100e8565b50505050905090810190601f16801561012e5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561032357600080fd5b61015e600160a060020a03600435166024356106f4565b604051901515815260200160405180910390f35b341561035957600080fd5b610185600160a060020a036004358116906024351661070b565b60405190815260200160405180910390f35b60008054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561041b5780601f106103f05761010080835404028352916020019161041b565b820191906000526020600020905b8154815290600101906020018083116103fe57829003601f168201915b505050505081565b600160a060020a03338116600090815260056020908152604080832093861683529290522081905560015b92915050565b60035481565b600160a060020a0380841660009081526005602090815260408083203390941683529290529081205482111561048f57600080fd5b600160a060020a03808516600090815260056020908152604080832033909416835292905220805483900390556104c7848484610728565b5060015b9392505050565b60025460ff1681565b600160a060020a0333166000908152600460205260408120548290101561050157600080fd5b600160a060020a03331660008181526004602052604090819020805485900390556003805485900390557fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca59084905190815260200160405180910390a25060015b919050565b60046020526000908152604090205481565b600160a060020a0382166000908152600460205260408120548290101561059f57600080fd5b600160a060020a03808416600090815260056020908152604080832033909416835292905220548211156105d257600080fd5b600160a060020a038084166000818152600460209081526040808320805488900390556005825280832033909516835293905282902080548590039055600380548590039055907fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca59084905190815260200160405180910390a25060015b92915050565b60018054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561041b5780601f106103f05761010080835404028352916020019161041b565b820191906000526020600020905b8154815290600101906020018083116103fe57829003601f168201915b505050505081565b6000610701338484610728565b5060015b92915050565b600560209081526000928352604080842090915290825290205481565b6000600160a060020a038316151561073f57600080fd5b600160a060020a0384166000908152600460205260409020548290101561076557600080fd5b600160a060020a0383166000908152600460205260409020548281011161078b57600080fd5b50600160a060020a0380831660008181526004602052604080822080549488168084528284208054888103909155938590528154870190915591909301927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a3600160a060020a0380841660009081526004602052604080822054928716825290205401811461082857fe5b5b505050505600a165627a7a72305820cd996951d79bcc2f5b2c3be9d171e140fe5d3f939e0c1d498bde2fb19b4dbda60029
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000000000000000000001312d00000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000007547076537761700000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000035450560000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : initialSupply (uint256): 20000000
Arg [1] : tokenName (string): TpvSwap
Arg [2] : tokenSymbol (string): TPV
-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000001312d00
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000007
Arg [4] : 5470765377617000000000000000000000000000000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [6] : 5450560000000000000000000000000000000000000000000000000000000000
Deployed Bytecode Sourcemap
28:2421:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:2;8:100;;;99:1;94:3;90;84:5;80:1;75:3;71;64:6;8:100;52:2;45:3;8:100;;;12:14;3:109;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1648:171:0;;;;;;;;;;-1:-1:-1;;;;;1648:171:0;;;;;;;;;;;;;;;;;;;;;;;;142:26;;;;;;;;;;;;;;;;;;;;;;;;;;;1344:296;;;;;;;;;;-1:-1:-1;;;;;1344:296:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;107:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1827:250;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;177:45;;;;;;;;;;-1:-1:-1;;;;;177:45:0;;;;;;;;;;;;;;;;;;;;2085:361;;;;;;;;;;-1:-1:-1;;;;;2085:361:0;;;;;;;;;;;;;;;;;;;;;;;;80:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:2;8:100;;;99:1;94:3;90;84:5;80:1;75:3;71;64:6;8:100;52:2;45:3;8:100;;;12:14;3:109;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1192:144:0;;;;;;;;;;-1:-1:-1;;;;;1192:144:0;;;;;;;;;;;;;;;;;;;;;;;;233:66;;;;;;;;;;-1:-1:-1;;;;;233:66:0;;;;;;;;;;;;;;;;;;;;;;;;;55:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;1648:171::-;-1:-1:-1;;;;;1759:10:0;1749:21;;1724:12;1749:21;;;:9;:21;;;;;;;;:31;;;;;;;;;:40;;;1807:4;1648:171;;;;;:::o;142:26::-;;;;:::o;1344:296::-;-1:-1:-1;;;;;1469:16:0;;;1426:12;1469:16;;;:9;:16;;;;;;;;1486:10;1469:28;;;;;;;;;;;;1459:38;;;1451:47;;;;;;-1:-1:-1;;;;;1532:16:0;;;;;;;:9;:16;;;;;;;;1549:10;1532:28;;;;;;;;;:38;;;;;;;1581:29;1542:5;1598:3;1564:6;1581:9;:29::i;:::-;-1:-1:-1;1628:4:0;1344:296;;;;;;:::o;107:26::-;;;;;;:::o;1827:250::-;-1:-1:-1;;;;;1916:10:0;1906:21;1873:12;1906:21;;;:9;:21;;;;;;:31;;;;1898:40;;;;;;-1:-1:-1;;;;;1959:10:0;1949:21;;;;;:9;:21;;;;;;;:31;;;;;;;1991:11;:21;;;;;;;2023:24;;1974:6;;2023:24;;;;;;;;;;;;;-1:-1:-1;2065:4:0;1827:250;;;;:::o;177:45::-;;;;;;;;;;;;;:::o;2085:361::-;-1:-1:-1;;;;;2183:16:0;;2150:12;2183:16;;;:9;:16;;;;;;:26;;;;2175:35;;;;;;-1:-1:-1;;;;;2239:16:0;;;;;;;:9;:16;;;;;;;;2256:10;2239:28;;;;;;;;;;2229:38;;;2221:47;;;;;;-1:-1:-1;;;;;2279:16:0;;;;;;;:9;:16;;;;;;;;:26;;;;;;;2316:9;:16;;;;;2333:10;2316:28;;;;;;;;;;;:38;;;;;;;2365:11;:21;;;;;;;2279:16;2397:19;;2299:6;;2397:19;;;;;;;;;;;;;-1:-1:-1;2434:4:0;2085:361;;;;;:::o;80:20::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;1192:144::-;1255:4;1272:34;1282:10;1294:3;1299:6;1272:9;:34::i;:::-;-1:-1:-1;1324:4:0;1192:144;;;;;:::o;233:66::-;;;;;;;;;;;;;;;;;;;;;;;;:::o;720:464::-;936:21;-1:-1:-1;;;;;808:10:0;;;;800:19;;;;;;-1:-1:-1;;;;;838:16:0;;;;;;:9;:16;;;;;;:26;;;;830:35;;;;;;-1:-1:-1;;;;;910:14:0;;;;;;:9;:14;;;;;;884:23;;;:40;876:49;;;;;;-1:-1:-1;;;;;;979:14:0;;;;;;;:9;:14;;;;;;;;960:16;;;;;;;;;;;1004:26;;;;;;1041:14;;;;:24;;;;;;;960:33;;;;;1076:28;;1024:6;;1076:28;;;;;;;;;;;;;-1:-1:-1;;;;;1141:14:0;;;;;;;:9;:14;;;;;;;1122:16;;;;;;;;:33;:53;;1115:61;;;;720:464;;;;;:::o
Swarm Source
bzzr://cd996951d79bcc2f5b2c3be9d171e140fe5d3f939e0c1d498bde2fb19b4dbda6
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.