ERC-20
Overview
Max Total Supply
10,000,000 LOCK
Holders
108
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:
StandardContract
Compiler Version
v0.5.13+commit.5b0b510c
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2020-02-12 */ pragma solidity 0.5.13; contract StandardContract { mapping (address => uint256) public balanceOf; string public name = "LOCK COIN"; string public symbol = "LOCK"; uint8 public decimals = 18; address public genesisAddress = address(0xaC08A8eF16D1C875f2A829368A0FdEBc4e9fA7Ef); uint256 public totalSupply = 10000000 * (uint256(10) ** decimals); event Transfer(address indexed from, address indexed to, uint256 value); constructor() public { balanceOf[genesisAddress] = totalSupply; emit Transfer(address(0), genesisAddress, totalSupply); } function transfer(address to, uint256 value) public returns (bool success) { require(balanceOf[msg.sender] >= value); balanceOf[msg.sender] -= value; balanceOf[to] += value; emit Transfer(msg.sender, to, value); return true; } event Approval(address indexed owner, address indexed spender, uint256 value); mapping(address => mapping(address => uint256)) public allowance; function approve(address spender, uint256 value) public returns (bool success) { allowance[msg.sender][spender] = value; emit Approval(msg.sender, spender, value); return true; } function transferFrom(address from, address to, uint256 value) public returns (bool success) { require(value <= balanceOf[from]); require(value <= allowance[from][msg.sender]); balanceOf[from] -= value; balanceOf[to] += value; allowance[from][msg.sender] -= value; emit Transfer(from, to, value); return true; } }
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":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","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":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"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"},{"constant":false,"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","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":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"genesisAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"value","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":"value","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60c0604052600960808190527f4c4f434b20434f494e000000000000000000000000000000000000000000000060a090815261003e916001919061013d565b506040805180820190915260048082527f4c4f434b0000000000000000000000000000000000000000000000000000000060209092019182526100839160029161013d565b5060038054601260ff1990911617610100600160a81b03191674ac08a8ef16d1c875f2a829368a0fdebc4e9fa7ef00179081905560ff16600a0a62989680026004553480156100d157600080fd5b50600454600380546001600160a01b03610100918290048116600090815260208181526040808320879055945485519687529451939094049091169390927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a36101d8565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061017e57805160ff19168380011785556101ab565b828001600101855582156101ab579182015b828111156101ab578251825591602001919060010190610190565b506101b79291506101bb565b5090565b6101d591905b808211156101b757600081556001016101c1565b90565b6105b1806101e76000396000f3fe608060405234801561001057600080fd5b506004361061009e5760003560e01c80636065fb33116100665780636065fb33146101ce57806370a08231146101f257806395d89b4114610218578063a9059cbb14610220578063dd62ed3e1461024c5761009e565b806306fdde03146100a3578063095ea7b31461012057806318160ddd1461016057806323b872dd1461017a578063313ce567146101b0575b600080fd5b6100ab61027a565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100e55781810151838201526020016100cd565b50505050905090810190601f1680156101125780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61014c6004803603604081101561013657600080fd5b506001600160a01b038135169060200135610307565b604080519115158252519081900360200190f35b61016861036d565b60408051918252519081900360200190f35b61014c6004803603606081101561019057600080fd5b506001600160a01b03813581169160208101359091169060400135610373565b6101b8610450565b6040805160ff9092168252519081900360200190f35b6101d6610459565b604080516001600160a01b039092168252519081900360200190f35b6101686004803603602081101561020857600080fd5b50356001600160a01b031661046d565b6100ab61047f565b61014c6004803603604081101561023657600080fd5b506001600160a01b0381351690602001356104d7565b6101686004803603604081101561026257600080fd5b506001600160a01b038135811691602001351661055f565b60018054604080516020600284861615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156102ff5780601f106102d4576101008083540402835291602001916102ff565b820191906000526020600020905b8154815290600101906020018083116102e257829003601f168201915b505050505081565b3360008181526005602090815260408083206001600160a01b038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a350600192915050565b60045481565b6001600160a01b03831660009081526020819052604081205482111561039857600080fd5b6001600160a01b03841660009081526005602090815260408083203384529091529020548211156103c857600080fd5b6001600160a01b038085166000818152602081815260408083208054889003905593871680835284832080548801905583835260058252848320338452825291849020805487900390558351868152935191937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929081900390910190a35060019392505050565b60035460ff1681565b60035461010090046001600160a01b031681565b60006020819052908152604090205481565b6002805460408051602060018416156101000260001901909316849004601f810184900484028201840190925281815292918301828280156102ff5780601f106102d4576101008083540402835291602001916102ff565b336000908152602081905260408120548211156104f357600080fd5b33600081815260208181526040808320805487900390556001600160a01b03871680845292819020805487019055805186815290519293927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a350600192915050565b60056020908152600092835260408084209091529082529020548156fea265627a7a72315820705e8e4d157a02fa31c7bcf20664db08e3c239b93848cfbbe494e4bdcc234ec764736f6c634300050d0032
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061009e5760003560e01c80636065fb33116100665780636065fb33146101ce57806370a08231146101f257806395d89b4114610218578063a9059cbb14610220578063dd62ed3e1461024c5761009e565b806306fdde03146100a3578063095ea7b31461012057806318160ddd1461016057806323b872dd1461017a578063313ce567146101b0575b600080fd5b6100ab61027a565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100e55781810151838201526020016100cd565b50505050905090810190601f1680156101125780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61014c6004803603604081101561013657600080fd5b506001600160a01b038135169060200135610307565b604080519115158252519081900360200190f35b61016861036d565b60408051918252519081900360200190f35b61014c6004803603606081101561019057600080fd5b506001600160a01b03813581169160208101359091169060400135610373565b6101b8610450565b6040805160ff9092168252519081900360200190f35b6101d6610459565b604080516001600160a01b039092168252519081900360200190f35b6101686004803603602081101561020857600080fd5b50356001600160a01b031661046d565b6100ab61047f565b61014c6004803603604081101561023657600080fd5b506001600160a01b0381351690602001356104d7565b6101686004803603604081101561026257600080fd5b506001600160a01b038135811691602001351661055f565b60018054604080516020600284861615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156102ff5780601f106102d4576101008083540402835291602001916102ff565b820191906000526020600020905b8154815290600101906020018083116102e257829003601f168201915b505050505081565b3360008181526005602090815260408083206001600160a01b038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a350600192915050565b60045481565b6001600160a01b03831660009081526020819052604081205482111561039857600080fd5b6001600160a01b03841660009081526005602090815260408083203384529091529020548211156103c857600080fd5b6001600160a01b038085166000818152602081815260408083208054889003905593871680835284832080548801905583835260058252848320338452825291849020805487900390558351868152935191937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929081900390910190a35060019392505050565b60035460ff1681565b60035461010090046001600160a01b031681565b60006020819052908152604090205481565b6002805460408051602060018416156101000260001901909316849004601f810184900484028201840190925281815292918301828280156102ff5780601f106102d4576101008083540402835291602001916102ff565b336000908152602081905260408120548211156104f357600080fd5b33600081815260208181526040808320805487900390556001600160a01b03871680845292819020805487019055805186815290519293927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a350600192915050565b60056020908152600092835260408084209091529082529020548156fea265627a7a72315820705e8e4d157a02fa31c7bcf20664db08e3c239b93848cfbbe494e4bdcc234ec764736f6c634300050d0032
Deployed Bytecode Sourcemap
27:1682:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;27:1682:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;114:32;;;:::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;114:32:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1061:233;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;1061:233:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;312:65;;;:::i;:::-;;;;;;;;;;;;;;;;1302:404;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;1302:404:0;;;;;;;;;;;;;;;;;:::i;189:26::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;222:83;;;:::i;:::-;;;;-1:-1:-1;;;;;222:83:0;;;;;;;;;;;;;;60:45;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;60:45:0;-1:-1:-1;;;;;60:45:0;;:::i;153:29::-;;;:::i;618:276::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;618:276:0;;;;;;;;:::i;988:64::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;988:64:0;;;;;;;;;;:::i;114:32::-;;;;;;;;;;;;;;;-1:-1:-1;;114:32:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;1061:233::-;1184:10;1144:12;1174:21;;;:9;:21;;;;;;;;-1:-1:-1;;;;;1174:30:0;;;;;;;;;;;:38;;;1228:36;;;;;;;1144:12;;1174:30;;1184:10;;1228:36;;;;;;;;-1:-1:-1;1282:4:0;1061:233;;;;:::o;312:65::-;;;;:::o;1302:404::-;-1:-1:-1;;;;;1446:15:0;;1399:12;1446:15;;;;;;;;;;;1437:24;;;1429:33;;;;;;-1:-1:-1;;;;;1490:15:0;;;;;;:9;:15;;;;;;;;1506:10;1490:27;;;;;;;;1481:36;;;1473:45;;;;;;-1:-1:-1;;;;;1531:15:0;;;:9;:15;;;;;;;;;;;:24;;;;;;;1566:13;;;;;;;;;:22;;;;;;1599:15;;;:9;:15;;;;;1615:10;1599:27;;;;;;;;:36;;;;;;;1651:25;;;;;;;1566:13;;1651:25;;;;;;;;;;;-1:-1:-1;1694:4:0;1302:404;;;;;:::o;189:26::-;;;;;;:::o;222:83::-;;;;;;-1:-1:-1;;;;;222:83:0;;:::o;60:45::-;;;;;;;;;;;;;;:::o;153:29::-;;;;;;;;;;;;;;-1:-1:-1;;153:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;618:276;722:10;679:12;712:21;;;;;;;;;;;:30;-1:-1:-1;712:30:0;704:39;;;;;;764:10;754:9;:21;;;;;;;;;;;:30;;;;;;;-1:-1:-1;;;;;795:13:0;;;;;;;;;:22;;;;;;833:31;;;;;;;795:13;;764:10;833:31;;;;;;;;;;;-1:-1:-1;882:4:0;618:276;;;;:::o;988:64::-;;;;;;;;;;;;;;;;;;;;;;;;:::o
Swarm Source
bzzr://705e8e4d157a02fa31c7bcf20664db08e3c239b93848cfbbe494e4bdcc234ec7
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.