Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Overview
Max Total Supply
10,000,000 FSCP
Holders
208
Total Transfers
-
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 Source Code Verified (Exact Match)
Contract Name:
FSCP
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-06 */ pragma solidity ^0.4.11; library SafeMath { function mul(uint256 a, uint256 b) internal constant returns (uint256) { uint256 c = a * b; assert(a == 0 || c / a == b); return c; } function div(uint256 a, uint256 b) internal constant returns (uint256) { // assert(b > 0); // Solidity automatically throws when dividing by 0 uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } function sub(uint256 a, uint256 b) internal constant returns (uint256) { assert(b <= a); return a - b; } function add(uint256 a, uint256 b) internal constant returns (uint256) { uint256 c = a + b; assert(c >= a); return c; } } contract Ownable { address public owner; function Ownable() { owner = msg.sender; } modifier onlyOwner() { require(msg.sender == owner); _; } function transferOwnership(address newOwner) onlyOwner { require(newOwner != address(0)); owner = newOwner; } function kill(){ if (owner == msg.sender) { selfdestruct(owner); } } } contract ERC20Basic is Ownable { uint256 public totalSupply; function balanceOf(address who) public constant returns (uint256); function transfer(address to, uint256 value) public returns (bool); event Transfer(address indexed from, address indexed to, uint256 value); } contract BasicToken is ERC20Basic { using SafeMath for uint256; mapping(address => uint256) balances; function transfer(address _to, uint256 _value) public returns (bool) { balances[msg.sender] = balances[msg.sender].sub(_value); balances[_to] = balances[_to].add(_value); Transfer(msg.sender, _to, _value); return true; } function balanceOf(address _owner) public constant returns (uint256 balance) { return balances[_owner]; } } contract ERC20 is ERC20Basic { function allowance(address owner, address spender) constant returns (uint256); function transferFrom(address from, address to, uint256 value) returns (bool); function approve(address spender, uint256 value) returns (bool); event Approval(address indexed owner, address indexed spender, uint256 value); } contract StandardToken is ERC20, BasicToken { mapping (address => mapping (address => uint256)) allowed; event Burn(address indexed burner, uint256 value); event Mint(address indexed to, uint256 amount); event MintFinished(); bool public mintingFinished = false; modifier canMint() { require(!mintingFinished); _; } function mint(address _to, uint256 _amount) onlyOwner canMint public returns (bool) { totalSupply = totalSupply.add(_amount); balances[_to] = balances[_to].add(_amount); emit Mint(_to, _amount); emit Transfer(address(0), _to, _amount); return true; } function finishMinting() onlyOwner canMint public returns (bool) { mintingFinished = true; emit MintFinished(); return true; } function burn(uint256 _value) public { require(_value <= balances[msg.sender]); address burner = msg.sender; balances[burner] = balances[burner].sub(_value); totalSupply = totalSupply.sub(_value); Burn(burner, _value); Transfer(burner, address(0), _value); } function transferFrom(address _from, address _to, uint256 _value) public returns (bool) { require(_to != address(0)); require(_value <= balances[_from]); require(_value <= allowed[_from][msg.sender]); balances[_from] = balances[_from].sub(_value); balances[_to] = balances[_to].add(_value); allowed[_from][msg.sender] = allowed[_from][msg.sender].sub(_value); Transfer(_from, _to, _value); return true; } function approve(address _spender, uint256 _value) public returns (bool) { require((_value == 0) || (allowed[msg.sender][_spender] == 0)); allowed[msg.sender][_spender] = _value; Approval(msg.sender, _spender, _value); return true; } function allowance(address _owner, address _spender) constant returns (uint256 remaining) { return allowed[_owner][_spender]; } } contract FSCP is StandardToken { string public constant name = "Five Star Coin Pro"; string public constant symbol = "FSCP"; uint256 public constant decimals = 8; uint256 public constant INITIAL_SUPPLY = 10000000 * 10**8; function FSCP() { totalSupply = INITIAL_SUPPLY; balances[msg.sender] = INITIAL_SUPPLY; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"constant":true,"inputs":[],"name":"mintingFinished","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"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":"","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":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"INITIAL_SUPPLY","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":"_to","type":"address"},{"name":"_amount","type":"uint256"}],"name":"mint","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"kill","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_value","type":"uint256"}],"name":"burn","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"}],"name":"balanceOf","outputs":[{"name":"balance","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"finishMinting","outputs":[{"name":"","type":"bool"}],"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":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"},{"name":"_spender","type":"address"}],"name":"allowance","outputs":[{"name":"remaining","type":"uint256"}],"payable":false,"stateMutability":"view","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"},{"anonymous":false,"inputs":[{"indexed":true,"name":"burner","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Burn","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"to","type":"address"},{"indexed":false,"name":"amount","type":"uint256"}],"name":"Mint","type":"event"},{"anonymous":false,"inputs":[],"name":"MintFinished","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"},{"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"}]
Contract Creation Code
60806040526004805460ff1916905534801561001a57600080fd5b5060008054600160a060020a03191633908117825566038d7ea4c6800060018190559082526002602052604090912055610a30806100596000396000f3006080604052600436106100f05763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166305d2035b81146100f557806306fdde031461011e578063095ea7b3146101a857806318160ddd146101cc57806323b872dd146101f35780632ff2e9dc1461021d578063313ce5671461023257806340c10f191461024757806341c0e1b51461026b57806342966c681461028257806370a082311461029a5780637d64bcb4146102bb5780638da5cb5b146102d057806395d89b4114610301578063a9059cbb14610316578063dd62ed3e1461033a578063f2fde38b14610361575b600080fd5b34801561010157600080fd5b5061010a610382565b604080519115158252519081900360200190f35b34801561012a57600080fd5b5061013361038b565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561016d578181015183820152602001610155565b50505050905090810190601f16801561019a5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156101b457600080fd5b5061010a600160a060020a03600435166024356103c2565b3480156101d857600080fd5b506101e1610464565b60408051918252519081900360200190f35b3480156101ff57600080fd5b5061010a600160a060020a036004358116906024351660443561046a565b34801561022957600080fd5b506101e16105d1565b34801561023e57600080fd5b506101e16105dc565b34801561025357600080fd5b5061010a600160a060020a03600435166024356105e1565b34801561027757600080fd5b506102806106d2565b005b34801561028e57600080fd5b506102806004356106f5565b3480156102a657600080fd5b506101e1600160a060020a03600435166107d3565b3480156102c757600080fd5b5061010a6107ee565b3480156102dc57600080fd5b506102e5610852565b60408051600160a060020a039092168252519081900360200190f35b34801561030d57600080fd5b50610133610861565b34801561032257600080fd5b5061010a600160a060020a0360043516602435610898565b34801561034657600080fd5b506101e1600160a060020a0360043581169060243516610936565b34801561036d57600080fd5b50610280600160a060020a0360043516610961565b60045460ff1681565b60408051808201909152601281527f46697665205374617220436f696e2050726f0000000000000000000000000000602082015281565b60008115806103f25750336000908152600360209081526040808320600160a060020a0387168452909152902054155b15156103fd57600080fd5b336000818152600360209081526040808320600160a060020a03881680855290835292819020869055805186815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a350600192915050565b60015481565b6000600160a060020a038316151561048157600080fd5b600160a060020a0384166000908152600260205260409020548211156104a657600080fd5b600160a060020a03841660009081526003602090815260408083203384529091529020548211156104d657600080fd5b600160a060020a0384166000908152600260205260409020546104ff908363ffffffff6109bc16565b600160a060020a038086166000908152600260205260408082209390935590851681522054610534908363ffffffff6109ce16565b600160a060020a038085166000908152600260209081526040808320949094559187168152600382528281203382529091522054610578908363ffffffff6109bc16565b600160a060020a03808616600081815260036020908152604080832033845282529182902094909455805186815290519287169391926000805160206109e5833981519152929181900390910190a35060019392505050565b66038d7ea4c6800081565b600881565b60008054600160a060020a031633146105f957600080fd5b60045460ff161561060957600080fd5b60015461061c908363ffffffff6109ce16565b600155600160a060020a038316600090815260026020526040902054610648908363ffffffff6109ce16565b600160a060020a038416600081815260026020908152604091829020939093558051858152905191927f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d412139688592918290030190a2604080518381529051600160a060020a038516916000916000805160206109e58339815191529181900360200190a350600192915050565b600054600160a060020a03163314156106f357600054600160a060020a0316ff5b565b3360009081526002602052604081205482111561071157600080fd5b5033600081815260026020526040902054610732908363ffffffff6109bc16565b600160a060020a03821660009081526002602052604090205560015461075e908363ffffffff6109bc16565b600155604080518381529051600160a060020a038316917fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca5919081900360200190a2604080518381529051600091600160a060020a038416916000805160206109e58339815191529181900360200190a35050565b600160a060020a031660009081526002602052604090205490565b60008054600160a060020a0316331461080657600080fd5b60045460ff161561081657600080fd5b6004805460ff191660011790556040517fae5184fba832cb2b1f702aca6117b8d265eaf03ad33eb133f19dde0f5920fa0890600090a150600190565b600054600160a060020a031681565b60408051808201909152600481527f4653435000000000000000000000000000000000000000000000000000000000602082015281565b336000908152600260205260408120546108b8908363ffffffff6109bc16565b3360009081526002602052604080822092909255600160a060020a038516815220546108ea908363ffffffff6109ce16565b600160a060020a0384166000818152600260209081526040918290209390935580518581529051919233926000805160206109e58339815191529281900390910190a350600192915050565b600160a060020a03918216600090815260036020908152604080832093909416825291909152205490565b600054600160a060020a0316331461097857600080fd5b600160a060020a038116151561098d57600080fd5b6000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b6000828211156109c857fe5b50900390565b6000828201838110156109dd57fe5b93925050505600ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa165627a7a72305820325a4481024f15b0908ea2c6c96834460cea5c034fd2bb9291437a125e66ef0d0029
Deployed Bytecode
0x6080604052600436106100f05763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166305d2035b81146100f557806306fdde031461011e578063095ea7b3146101a857806318160ddd146101cc57806323b872dd146101f35780632ff2e9dc1461021d578063313ce5671461023257806340c10f191461024757806341c0e1b51461026b57806342966c681461028257806370a082311461029a5780637d64bcb4146102bb5780638da5cb5b146102d057806395d89b4114610301578063a9059cbb14610316578063dd62ed3e1461033a578063f2fde38b14610361575b600080fd5b34801561010157600080fd5b5061010a610382565b604080519115158252519081900360200190f35b34801561012a57600080fd5b5061013361038b565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561016d578181015183820152602001610155565b50505050905090810190601f16801561019a5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156101b457600080fd5b5061010a600160a060020a03600435166024356103c2565b3480156101d857600080fd5b506101e1610464565b60408051918252519081900360200190f35b3480156101ff57600080fd5b5061010a600160a060020a036004358116906024351660443561046a565b34801561022957600080fd5b506101e16105d1565b34801561023e57600080fd5b506101e16105dc565b34801561025357600080fd5b5061010a600160a060020a03600435166024356105e1565b34801561027757600080fd5b506102806106d2565b005b34801561028e57600080fd5b506102806004356106f5565b3480156102a657600080fd5b506101e1600160a060020a03600435166107d3565b3480156102c757600080fd5b5061010a6107ee565b3480156102dc57600080fd5b506102e5610852565b60408051600160a060020a039092168252519081900360200190f35b34801561030d57600080fd5b50610133610861565b34801561032257600080fd5b5061010a600160a060020a0360043516602435610898565b34801561034657600080fd5b506101e1600160a060020a0360043581169060243516610936565b34801561036d57600080fd5b50610280600160a060020a0360043516610961565b60045460ff1681565b60408051808201909152601281527f46697665205374617220436f696e2050726f0000000000000000000000000000602082015281565b60008115806103f25750336000908152600360209081526040808320600160a060020a0387168452909152902054155b15156103fd57600080fd5b336000818152600360209081526040808320600160a060020a03881680855290835292819020869055805186815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a350600192915050565b60015481565b6000600160a060020a038316151561048157600080fd5b600160a060020a0384166000908152600260205260409020548211156104a657600080fd5b600160a060020a03841660009081526003602090815260408083203384529091529020548211156104d657600080fd5b600160a060020a0384166000908152600260205260409020546104ff908363ffffffff6109bc16565b600160a060020a038086166000908152600260205260408082209390935590851681522054610534908363ffffffff6109ce16565b600160a060020a038085166000908152600260209081526040808320949094559187168152600382528281203382529091522054610578908363ffffffff6109bc16565b600160a060020a03808616600081815260036020908152604080832033845282529182902094909455805186815290519287169391926000805160206109e5833981519152929181900390910190a35060019392505050565b66038d7ea4c6800081565b600881565b60008054600160a060020a031633146105f957600080fd5b60045460ff161561060957600080fd5b60015461061c908363ffffffff6109ce16565b600155600160a060020a038316600090815260026020526040902054610648908363ffffffff6109ce16565b600160a060020a038416600081815260026020908152604091829020939093558051858152905191927f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d412139688592918290030190a2604080518381529051600160a060020a038516916000916000805160206109e58339815191529181900360200190a350600192915050565b600054600160a060020a03163314156106f357600054600160a060020a0316ff5b565b3360009081526002602052604081205482111561071157600080fd5b5033600081815260026020526040902054610732908363ffffffff6109bc16565b600160a060020a03821660009081526002602052604090205560015461075e908363ffffffff6109bc16565b600155604080518381529051600160a060020a038316917fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca5919081900360200190a2604080518381529051600091600160a060020a038416916000805160206109e58339815191529181900360200190a35050565b600160a060020a031660009081526002602052604090205490565b60008054600160a060020a0316331461080657600080fd5b60045460ff161561081657600080fd5b6004805460ff191660011790556040517fae5184fba832cb2b1f702aca6117b8d265eaf03ad33eb133f19dde0f5920fa0890600090a150600190565b600054600160a060020a031681565b60408051808201909152600481527f4653435000000000000000000000000000000000000000000000000000000000602082015281565b336000908152600260205260408120546108b8908363ffffffff6109bc16565b3360009081526002602052604080822092909255600160a060020a038516815220546108ea908363ffffffff6109ce16565b600160a060020a0384166000818152600260209081526040918290209390935580518581529051919233926000805160206109e58339815191529281900390910190a350600192915050565b600160a060020a03918216600090815260036020908152604080832093909416825291909152205490565b600054600160a060020a0316331461097857600080fd5b600160a060020a038116151561098d57600080fd5b6000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b6000828211156109c857fe5b50900390565b6000828201838110156109dd57fe5b93925050505600ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa165627a7a72305820325a4481024f15b0908ea2c6c96834460cea5c034fd2bb9291437a125e66ef0d0029
Swarm Source
bzzr://325a4481024f15b0908ea2c6c96834460cea5c034fd2bb9291437a125e66ef0d
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.