Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Overview
Max Total Supply
88,000,000 XPC
Holders
489
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 8 Decimals)
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
ExpressCoin
Compiler Version
v0.4.24+commit.e67f0147
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2018-06-27 */ pragma solidity ^0.4.16; contract owned { address public owner; constructor() public { owner = msg.sender; } modifier onlyOwner { require(msg.sender == owner); _; } function transferOwnership(address newOwner) onlyOwner public { owner = newOwner; } } contract ExpressCoin is owned { string public constant name = "ExpressCoin"; string public constant symbol = "XPC"; uint public constant decimals = 8; uint constant ONETOKEN = 10 ** uint(decimals); uint constant MILLION = 1000000; uint public totalSupply; constructor() public { totalSupply = 88 * MILLION * ONETOKEN; balanceOf[msg.sender] = totalSupply; } mapping (address => uint256) public balanceOf; event Transfer(address indexed from, address indexed to, uint256 value); event Burn(address indexed from, uint256 value); function transfer(address _to, uint256 _value) public { _transferXToken(msg.sender, _to, _value); } function _transferXToken(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; emit Transfer(_from, _to, _value); assert(balanceOf[_from] + balanceOf[_to] == previousBalances); } function() payable public { } function withdrawEther() onlyOwner public{ owner.transfer(this.balance); } function mint(address target, uint256 token) onlyOwner public { balanceOf[target] += token; totalSupply += token; emit Transfer(0, this, token); emit Transfer(this, target, token); } function burn(uint256 _value) public returns (bool success) { require(balanceOf[msg.sender] >= _value); balanceOf[msg.sender] -= _value; totalSupply -= _value; emit Burn(msg.sender, _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":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"target","type":"address"},{"name":"token","type":"uint256"}],"name":"mint","outputs":[],"payable":false,"stateMutability":"nonpayable","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":"withdrawEther","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"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":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"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
608060405234801561001057600080fd5b5060008054600160a060020a031916339081178255661f438daa0600006001819055908252600260205260409091205561062c8061004f6000396000f3006080604052600436106100ae5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100b057806318160ddd1461013a578063313ce5671461016157806340c10f191461017657806342966c681461019a57806370a08231146101c65780637362377b146101e75780638da5cb5b146101fc57806395d89b411461022d578063a9059cbb14610242578063f2fde38b14610266575b005b3480156100bc57600080fd5b506100c5610287565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100ff5781810151838201526020016100e7565b50505050905090810190601f16801561012c5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561014657600080fd5b5061014f6102be565b60408051918252519081900360200190f35b34801561016d57600080fd5b5061014f6102c4565b34801561018257600080fd5b506100ae600160a060020a03600435166024356102c9565b3480156101a657600080fd5b506101b260043561037f565b604080519115158252519081900360200190f35b3480156101d257600080fd5b5061014f600160a060020a03600435166103f7565b3480156101f357600080fd5b506100ae610409565b34801561020857600080fd5b5061021161045e565b60408051600160a060020a039092168252519081900360200190f35b34801561023957600080fd5b506100c561046d565b34801561024e57600080fd5b506100ae600160a060020a03600435166024356104a4565b34801561027257600080fd5b506100ae600160a060020a03600435166104b3565b60408051808201909152600b81527f45787072657373436f696e000000000000000000000000000000000000000000602082015281565b60015481565b600881565b600054600160a060020a031633146102e057600080fd5b600160a060020a03821660009081526002602090815260408083208054850190556001805485019055805184815290513093927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef928290030190a3604080518281529051600160a060020a0384169130917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b3360009081526002602052604081205482111561039b57600080fd5b3360008181526002602090815260409182902080548690039055600180548690039055815185815291517fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca59281900390910190a2506001919050565b60026020526000908152604090205481565b600054600160a060020a0316331461042057600080fd5b60008054604051600160a060020a0390911691303180156108fc02929091818181858888f1935050505015801561045b573d6000803e3d6000fd5b50565b600054600160a060020a031681565b60408051808201909152600381527f5850430000000000000000000000000000000000000000000000000000000000602082015281565b6104af3383836104f9565b5050565b600054600160a060020a031633146104ca57600080fd5b6000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b6000600160a060020a038316151561051057600080fd5b600160a060020a03841660009081526002602052604090205482111561053557600080fd5b600160a060020a0383166000908152600260205260409020548281011161055b57600080fd5b50600160a060020a038083166000818152600260209081526040808320805495891680855282852080548981039091559486905281548801909155815187815291519390950194927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a3600160a060020a038084166000908152600260205260408082205492871682529020540181146105fa57fe5b505050505600a165627a7a7230582062cc988760c9568ee5d49540f647722f0bf350414ae28d880367dafd19deae9a0029
Deployed Bytecode
0x6080604052600436106100ae5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100b057806318160ddd1461013a578063313ce5671461016157806340c10f191461017657806342966c681461019a57806370a08231146101c65780637362377b146101e75780638da5cb5b146101fc57806395d89b411461022d578063a9059cbb14610242578063f2fde38b14610266575b005b3480156100bc57600080fd5b506100c5610287565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100ff5781810151838201526020016100e7565b50505050905090810190601f16801561012c5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561014657600080fd5b5061014f6102be565b60408051918252519081900360200190f35b34801561016d57600080fd5b5061014f6102c4565b34801561018257600080fd5b506100ae600160a060020a03600435166024356102c9565b3480156101a657600080fd5b506101b260043561037f565b604080519115158252519081900360200190f35b3480156101d257600080fd5b5061014f600160a060020a03600435166103f7565b3480156101f357600080fd5b506100ae610409565b34801561020857600080fd5b5061021161045e565b60408051600160a060020a039092168252519081900360200190f35b34801561023957600080fd5b506100c561046d565b34801561024e57600080fd5b506100ae600160a060020a03600435166024356104a4565b34801561027257600080fd5b506100ae600160a060020a03600435166104b3565b60408051808201909152600b81527f45787072657373436f696e000000000000000000000000000000000000000000602082015281565b60015481565b600881565b600054600160a060020a031633146102e057600080fd5b600160a060020a03821660009081526002602090815260408083208054850190556001805485019055805184815290513093927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef928290030190a3604080518281529051600160a060020a0384169130917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b3360009081526002602052604081205482111561039b57600080fd5b3360008181526002602090815260409182902080548690039055600180548690039055815185815291517fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca59281900390910190a2506001919050565b60026020526000908152604090205481565b600054600160a060020a0316331461042057600080fd5b60008054604051600160a060020a0390911691303180156108fc02929091818181858888f1935050505015801561045b573d6000803e3d6000fd5b50565b600054600160a060020a031681565b60408051808201909152600381527f5850430000000000000000000000000000000000000000000000000000000000602082015281565b6104af3383836104f9565b5050565b600054600160a060020a031633146104ca57600080fd5b6000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b6000600160a060020a038316151561051057600080fd5b600160a060020a03841660009081526002602052604090205482111561053557600080fd5b600160a060020a0383166000908152600260205260409020548281011161055b57600080fd5b50600160a060020a038083166000818152600260209081526040808320805495891680855282852080548981039091559486905281548801909155815187815291519390950194927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a3600160a060020a038084166000908152600260205260408082205492871682529020540181146105fa57fe5b505050505600a165627a7a7230582062cc988760c9568ee5d49540f647722f0bf350414ae28d880367dafd19deae9a0029
Swarm Source
bzzr://62cc988760c9568ee5d49540f647722f0bf350414ae28d880367dafd19deae9a
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.