ERC-20
Overview
Max Total Supply
93,000,000 OPTC2
Holders
1
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
93,000,000 OPTC2Value
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Similar Match Source Code This contract matches the deployed Bytecode of the Source Code for Contract 0x36f76dDD...e507be54C The constructor portion of the code might be different and could alter the actual behaviour of the contract
Contract Name:
StdContract
Compiler Version
v0.5.10+commit.5a6ea5b1
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2019-10-24 */ pragma solidity 0.5.10; contract StdContract { mapping (address => uint256) public balanceOf; string public name = "Optical Network"; string public symbol = "OPTC2"; uint8 public decimals = 18; address public genesisAddress = address(0xaC08A8eF16D1C875f2A829368A0FdEBc4e9fA7Ef); uint256 public totalSupply = 93000000 * (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
[{"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":true,"inputs":[],"name":"genesisAddress","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","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":"value","type":"uint256"}],"name":"transfer","outputs":[{"name":"success","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":[],"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
60c0604052600f60808190527f4f70746963616c204e6574776f726b000000000000000000000000000000000060a090815261003e916001919061013e565b506040805180820190915260058082527f4f5054433200000000000000000000000000000000000000000000000000000060209092019182526100839160029161013e565b5060038054601260ff1990911617610100600160a81b03191674ac08a8ef16d1c875f2a829368a0fdebc4e9fa7ef00179081905560ff16600a0a63058b1140026004553480156100d257600080fd5b50600454600380546001600160a01b03610100918290048116600090815260208181526040808320879055945485519687529451939094049091169390927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a36101d9565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061017f57805160ff19168380011785556101ac565b828001600101855582156101ac579182015b828111156101ac578251825591602001919060010190610191565b506101b89291506101bc565b5090565b6101d691905b808211156101b857600081556001016101c2565b90565b6105b1806101e86000396000f3fe608060405234801561001057600080fd5b506004361061009e5760003560e01c80636065fb33116100665780636065fb33146101ce57806370a08231146101f257806395d89b4114610218578063a9059cbb14610220578063dd62ed3e1461024c5761009e565b806306fdde03146100a3578063095ea7b31461012057806318160ddd1461016057806323b872dd1461017a578063313ce567146101b0575b600080fd5b6100ab61027a565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100e55781810151838201526020016100cd565b50505050905090810190601f1680156101125780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61014c6004803603604081101561013657600080fd5b506001600160a01b038135169060200135610307565b604080519115158252519081900360200190f35b61016861036d565b60408051918252519081900360200190f35b61014c6004803603606081101561019057600080fd5b506001600160a01b03813581169160208101359091169060400135610373565b6101b8610450565b6040805160ff9092168252519081900360200190f35b6101d6610459565b604080516001600160a01b039092168252519081900360200190f35b6101686004803603602081101561020857600080fd5b50356001600160a01b031661046d565b6100ab61047f565b61014c6004803603604081101561023657600080fd5b506001600160a01b0381351690602001356104d7565b6101686004803603604081101561026257600080fd5b506001600160a01b038135811691602001351661055f565b60018054604080516020600284861615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156102ff5780601f106102d4576101008083540402835291602001916102ff565b820191906000526020600020905b8154815290600101906020018083116102e257829003601f168201915b505050505081565b3360008181526005602090815260408083206001600160a01b038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a350600192915050565b60045481565b6001600160a01b03831660009081526020819052604081205482111561039857600080fd5b6001600160a01b03841660009081526005602090815260408083203384529091529020548211156103c857600080fd5b6001600160a01b038085166000818152602081815260408083208054889003905593871680835284832080548801905583835260058252848320338452825291849020805487900390558351868152935191937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929081900390910190a35060019392505050565b60035460ff1681565b60035461010090046001600160a01b031681565b60006020819052908152604090205481565b6002805460408051602060018416156101000260001901909316849004601f810184900484028201840190925281815292918301828280156102ff5780601f106102d4576101008083540402835291602001916102ff565b336000908152602081905260408120548211156104f357600080fd5b33600081815260208181526040808320805487900390556001600160a01b03871680845292819020805487019055805186815290519293927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a350600192915050565b60056020908152600092835260408084209091529082529020548156fea265627a7a7230582004bcd6f75a56d050b7fc35e3c7e9c14122ecfb61ad604b8e49331fc4124cf4d864736f6c634300050a0032
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061009e5760003560e01c80636065fb33116100665780636065fb33146101ce57806370a08231146101f257806395d89b4114610218578063a9059cbb14610220578063dd62ed3e1461024c5761009e565b806306fdde03146100a3578063095ea7b31461012057806318160ddd1461016057806323b872dd1461017a578063313ce567146101b0575b600080fd5b6100ab61027a565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100e55781810151838201526020016100cd565b50505050905090810190601f1680156101125780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61014c6004803603604081101561013657600080fd5b506001600160a01b038135169060200135610307565b604080519115158252519081900360200190f35b61016861036d565b60408051918252519081900360200190f35b61014c6004803603606081101561019057600080fd5b506001600160a01b03813581169160208101359091169060400135610373565b6101b8610450565b6040805160ff9092168252519081900360200190f35b6101d6610459565b604080516001600160a01b039092168252519081900360200190f35b6101686004803603602081101561020857600080fd5b50356001600160a01b031661046d565b6100ab61047f565b61014c6004803603604081101561023657600080fd5b506001600160a01b0381351690602001356104d7565b6101686004803603604081101561026257600080fd5b506001600160a01b038135811691602001351661055f565b60018054604080516020600284861615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156102ff5780601f106102d4576101008083540402835291602001916102ff565b820191906000526020600020905b8154815290600101906020018083116102e257829003601f168201915b505050505081565b3360008181526005602090815260408083206001600160a01b038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a350600192915050565b60045481565b6001600160a01b03831660009081526020819052604081205482111561039857600080fd5b6001600160a01b03841660009081526005602090815260408083203384529091529020548211156103c857600080fd5b6001600160a01b038085166000818152602081815260408083208054889003905593871680835284832080548801905583835260058252848320338452825291849020805487900390558351868152935191937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929081900390910190a35060019392505050565b60035460ff1681565b60035461010090046001600160a01b031681565b60006020819052908152604090205481565b6002805460408051602060018416156101000260001901909316849004601f810184900484028201840190925281815292918301828280156102ff5780601f106102d4576101008083540402835291602001916102ff565b336000908152602081905260408120548211156104f357600080fd5b33600081815260208181526040808320805487900390556001600160a01b03871680845292819020805487019055805186815290519293927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a350600192915050565b60056020908152600092835260408084209091529082529020548156fea265627a7a7230582004bcd6f75a56d050b7fc35e3c7e9c14122ecfb61ad604b8e49331fc4124cf4d864736f6c634300050a0032
Deployed Bytecode Sourcemap
27:1684:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;27:1684:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;109:38;;;:::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;109:38:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1063:233;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;1063:233:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;314:65;;;:::i;:::-;;;;;;;;;;;;;;;;1304:404;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;1304:404:0;;;;;;;;;;;;;;;;;:::i;191:26::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;224:83;;;:::i;:::-;;;;-1:-1:-1;;;;;224:83:0;;;;;;;;;;;;;;55:45;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;55:45:0;-1:-1:-1;;;;;55:45:0;;:::i;154:30::-;;;:::i;620:276::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;620:276:0;;;;;;;;:::i;990:64::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;990:64:0;;;;;;;;;;:::i;109:38::-;;;;;;;;;;;;;;;-1:-1:-1;;109:38:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;1063:233::-;1186:10;1146:12;1176:21;;;:9;:21;;;;;;;;-1:-1:-1;;;;;1176:30:0;;;;;;;;;;;:38;;;1230:36;;;;;;;1146:12;;1176:30;;1186:10;;1230:36;;;;;;;;-1:-1:-1;1284:4:0;1063:233;;;;:::o;314:65::-;;;;:::o;1304:404::-;-1:-1:-1;;;;;1448:15:0;;1401:12;1448:15;;;;;;;;;;;1439:24;;;1431:33;;;;;;-1:-1:-1;;;;;1492:15:0;;;;;;:9;:15;;;;;;;;1508:10;1492:27;;;;;;;;1483:36;;;1475:45;;;;;;-1:-1:-1;;;;;1533:15:0;;;:9;:15;;;;;;;;;;;:24;;;;;;;1568:13;;;;;;;;;:22;;;;;;1601:15;;;:9;:15;;;;;1617:10;1601:27;;;;;;;;:36;;;;;;;1653:25;;;;;;;1568:13;;1653:25;;;;;;;;;;;-1:-1:-1;1696:4:0;1304:404;;;;;:::o;191:26::-;;;;;;:::o;224:83::-;;;;;;-1:-1:-1;;;;;224:83:0;;:::o;55:45::-;;;;;;;;;;;;;;:::o;154:30::-;;;;;;;;;;;;;;-1:-1:-1;;154:30:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;620:276;724:10;681:12;714:21;;;;;;;;;;;:30;-1:-1:-1;714:30:0;706:39;;;;;;766:10;756:9;:21;;;;;;;;;;;:30;;;;;;;-1:-1:-1;;;;;797:13:0;;;;;;;;;:22;;;;;;835:31;;;;;;;797:13;;766:10;835:31;;;;;;;;;;;-1:-1:-1;884:4:0;620:276;;;;:::o;990:64::-;;;;;;;;;;;;;;;;;;;;;;;;:::o
Swarm Source
bzzr://04bcd6f75a56d050b7fc35e3c7e9c14122ecfb61ad604b8e49331fc4124cf4d8
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.