Feature Tip: Add private address tag to any address under My Name Tag !
Social rebranding to Sociall. Read the announcement here.
ERC-20
Social Networking
Overview
Max Total Supply
16,714,019.66436979 SCL
Holders
52,746 (0.00%)
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:
SCLToken
Compiler Version
v0.4.11+commit.68ef5810
Optimization Enabled:
Yes with 0 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2017-08-02 */ pragma solidity ^0.4.6; contract Owned { // The address of the account that is the current owner address public owner; // The publiser is the inital owner function Owned() { owner = msg.sender; } /** * Access is restricted to the current owner */ modifier onlyOwner() { if (msg.sender != owner) throw; _; } /** * Transfer ownership to `_newOwner` * * @param _newOwner The address of the account that will become the new owner */ function transferOwnership(address _newOwner) onlyOwner { owner = _newOwner; } } // Abstract contract for the full ERC 20 Token standard // https://github.com/ethereum/EIPs/issues/20 contract Token { /* This is a slight change to the ERC20 base standard. function totalSupply() constant returns (uint256 supply); is replaced with: uint256 public totalSupply; This automatically creates a getter function for the totalSupply. This is moved to the base contract since public getter functions are not currently recognised as an implementation of the matching abstract function by the compiler. */ /// total amount of tokens uint256 public totalSupply; /// @param _owner The address from which the balance will be retrieved /// @return The balance function balanceOf(address _owner) constant returns (uint256 balance); /// @notice send `_value` token to `_to` from `msg.sender` /// @param _to The address of the recipient /// @param _value The amount of token to be transferred /// @return Whether the transfer was successful or not function transfer(address _to, uint256 _value) returns (bool success); /// @notice send `_value` token to `_to` from `_from` on the condition it is approved by `_from` /// @param _from The address of the sender /// @param _to The address of the recipient /// @param _value The amount of token to be transferred /// @return Whether the transfer was successful or not function transferFrom(address _from, address _to, uint256 _value) returns (bool success); /// @notice `msg.sender` approves `_spender` to spend `_value` tokens /// @param _spender The address of the account able to transfer the tokens /// @param _value The amount of tokens to be approved for transfer /// @return Whether the approval was successful or not function approve(address _spender, uint256 _value) returns (bool success); /// @param _owner The address of the account owning tokens /// @param _spender The address of the account able to transfer the tokens /// @return Amount of remaining tokens allowed to spent function allowance(address _owner, address _spender) constant returns (uint256 remaining); event Transfer(address indexed _from, address indexed _to, uint256 _value); event Approval(address indexed _owner, address indexed _spender, uint256 _value); } /** * Implements ERC 20 Token standard: https://github.com/ethereum/EIPs/issues/20 * * Modified version of https://github.com/ConsenSys/Tokens that implements the * original Token contract, an abstract contract for the full ERC 20 Token standard */ contract StandardToken is Token { // Token starts if the locked state restricting transfers bool public locked; // DCORP token balances mapping (address => uint256) balances; // DCORP token allowances mapping (address => mapping (address => uint256)) allowed; /** * Get balance of `_owner` * * @param _owner The address from which the balance will be retrieved * @return The balance */ function balanceOf(address _owner) constant returns (uint256 balance) { return balances[_owner]; } /** * Send `_value` token to `_to` from `msg.sender` * * @param _to The address of the recipient * @param _value The amount of token to be transferred * @return Whether the transfer was successful or not */ function transfer(address _to, uint256 _value) returns (bool success) { // Unable to transfer while still locked if (locked) { throw; } // Check if the sender has enough tokens if (balances[msg.sender] < _value) { throw; } // Check for overflows if (balances[_to] + _value < balances[_to]) { throw; } // Transfer tokens balances[msg.sender] -= _value; balances[_to] += _value; // Notify listners Transfer(msg.sender, _to, _value); return true; } /** * Send `_value` token to `_to` from `_from` on the condition it is approved by `_from` * * @param _from The address of the sender * @param _to The address of the recipient * @param _value The amount of token to be transferred * @return Whether the transfer was successful or not */ function transferFrom(address _from, address _to, uint256 _value) returns (bool success) { // Unable to transfer while still locked if (locked) { throw; } // Check if the sender has enough if (balances[_from] < _value) { throw; } // Check for overflows if (balances[_to] + _value < balances[_to]) { throw; } // Check allowance if (_value > allowed[_from][msg.sender]) { throw; } // Transfer tokens balances[_to] += _value; balances[_from] -= _value; // Update allowance allowed[_from][msg.sender] -= _value; // Notify listners Transfer(_from, _to, _value); return true; } /** * `msg.sender` approves `_spender` to spend `_value` tokens * * @param _spender The address of the account able to transfer the tokens * @param _value The amount of tokens to be approved for transfer * @return Whether the approval was successful or not */ function approve(address _spender, uint256 _value) returns (bool success) { // Unable to approve while still locked if (locked) { throw; } // Update allowance allowed[msg.sender][_spender] = _value; // Notify listners Approval(msg.sender, _spender, _value); return true; } /** * Get the amount of remaining tokens that `_spender` is allowed to spend from `_owner` * * @param _owner The address of the account owning tokens * @param _spender The address of the account able to transfer the tokens * @return Amount of remaining tokens allowed to spent */ function allowance(address _owner, address _spender) constant returns (uint256 remaining) { return allowed[_owner][_spender]; } } /** * @title SCL (Social) token * * Implements ERC 20 Token standard: https://github.com/ethereum/EIPs/issues/20 with the addition * of ownership, a lock and issuing. * * #created 05/03/2017 * #author Frank Bonnet */ contract SCLToken is Owned, StandardToken { // Ethereum token standaard string public standard = "Token 0.1"; // Full name string public name = "SOCIAL"; // Symbol string public symbol = "SCL"; // No decimal points uint8 public decimals = 8; /** * Starts with a total supply of zero and the creator starts with * zero tokens (just like everyone else) */ function SCLToken() { balances[msg.sender] = 0; totalSupply = 0; locked = true; } /** * Unlocks the token irreversibly so that the transfering of value is enabled * * @return Whether the unlocking was successful or not */ function unlock() onlyOwner returns (bool success) { locked = false; return true; } /** * Issues `_value` new tokens to `_recipient` (_value < 0 guarantees that tokens are never removed) * * @param _recipient The address to which the tokens will be issued * @param _value The amount of new tokens to issue * @return Whether the approval was successful or not */ function issue(address _recipient, uint256 _value) onlyOwner returns (bool success) { // Guarantee positive if (_value < 0) { throw; } // Create tokens balances[_recipient] += _value; totalSupply += _value; // Notify listners Transfer(0, owner, _value); Transfer(owner, _recipient, _value); return true; } /** * Prevents accidental sending of ether */ function () { throw; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_value","type":"uint256"}],"name":"approve","outputs":[{"name":"success","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"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,"type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint8"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"standard","outputs":[{"name":"","type":"string"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"}],"name":"balanceOf","outputs":[{"name":"balance","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_recipient","type":"address"},{"name":"_value","type":"uint256"}],"name":"issue","outputs":[{"name":"success","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"type":"function"},{"constant":false,"inputs":[],"name":"unlock","outputs":[{"name":"success","type":"bool"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transfer","outputs":[{"name":"success","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"locked","outputs":[{"name":"","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"},{"name":"_spender","type":"address"}],"name":"allowance","outputs":[{"name":"remaining","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"type":"function"},{"inputs":[],"payable":false,"type":"constructor"},{"payable":false,"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":"_owner","type":"address"},{"indexed":true,"name":"_spender","type":"address"},{"indexed":false,"name":"_value","type":"uint256"}],"name":"Approval","type":"event"}]
Contract Creation Code
60a0604052600960608190527f546f6b656e20302e310000000000000000000000000000000000000000000000608090815261003e916005919061012c565b506040805180820190915260068082527f534f4349414c00000000000000000000000000000000000000000000000000006020909201918252610081918161012c565b506040805180820190915260038082527f53434c000000000000000000000000000000000000000000000000000000000060209092019182526100c69160079161012c565b506008805460ff19168117905534156100db57fe5b5b5b60008054600160a060020a03191633600160a060020a03161790555b600160a060020a033316600090815260036020526040812081905560019081556002805460ff191690911790555b6101cc565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061016d57805160ff191683800117855561019a565b8280016001018555821561019a579182015b8281111561019a57825182559160200191906001019061017f565b5b506101a79291506101ab565b5090565b6101c991905b808211156101a757600081556001016101b1565b5090565b90565b610a6e806101db6000396000f300606060405236156100bf5763ffffffff60e060020a60003504166306fdde0381146100d5578063095ea7b31461016557806318160ddd1461019857806323b872dd146101ba578063313ce567146101f35780635a3b7e421461021957806370a08231146102a9578063867904b4146102d75780638da5cb5b1461030a57806395d89b4114610336578063a69df4b5146103c6578063a9059cbb146103ea578063cf3090121461041d578063dd62ed3e14610441578063f2fde38b14610475575b34156100c757fe5b6100d35b60006000fd5b565b005b34156100dd57fe5b6100e5610493565b60408051602080825283518183015283519192839290830191850190808383821561012b575b80518252602083111561012b57601f19909201916020918201910161010b565b505050905090810190601f1680156101575780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561016d57fe5b610184600160a060020a0360043516602435610521565b604080519115158252519081900360200190f35b34156101a057fe5b6101a861059c565b60408051918252519081900360200190f35b34156101c257fe5b610184600160a060020a03600435811690602435166044356105a2565b604080519115158252519081900360200190f35b34156101fb57fe5b6102036106b3565b6040805160ff9092168252519081900360200190f35b341561022157fe5b6100e56106bc565b60408051602080825283518183015283519192839290830191850190808383821561012b575b80518252602083111561012b57601f19909201916020918201910161010b565b505050905090810190601f1680156101575780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156102b157fe5b6101a8600160a060020a036004351661074a565b60408051918252519081900360200190f35b34156102df57fe5b610184600160a060020a0360043516602435610769565b604080519115158252519081900360200190f35b341561031257fe5b61031a610822565b60408051600160a060020a039092168252519081900360200190f35b341561033e57fe5b6100e5610831565b60408051602080825283518183015283519192839290830191850190808383821561012b575b80518252602083111561012b57601f19909201916020918201910161010b565b505050905090810190601f1680156101575780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156103ce57fe5b6101846108bf565b604080519115158252519081900360200190f35b34156103f257fe5b610184600160a060020a03600435166024356108ee565b604080519115158252519081900360200190f35b341561042557fe5b6101846109b0565b604080519115158252519081900360200190f35b341561044957fe5b6101a8600160a060020a03600435811690602435166109b9565b60408051918252519081900360200190f35b341561047d57fe5b6100d3600160a060020a03600435166109e6565b005b6006805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156105195780601f106104ee57610100808354040283529160200191610519565b820191906000526020600020905b8154815290600101906020018083116104fc57829003601f168201915b505050505081565b60025460009060ff16156105355760006000fd5b600160a060020a03338116600081815260046020908152604080832094881680845294825291829020869055815186815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a35060015b92915050565b60015481565b60025460009060ff16156105b65760006000fd5b600160a060020a038416600090815260036020526040902054829010156105dd5760006000fd5b600160a060020a03831660009081526003602052604090205482810110156106055760006000fd5b600160a060020a03808516600090815260046020908152604080832033909416835292905220548211156106395760006000fd5b600160a060020a0380841660008181526003602090815260408083208054880190558885168084528184208054899003905560048352818420339096168452948252918290208054879003905581518681529151929392600080516020610a238339815191529281900390910190a35060015b9392505050565b60085460ff1681565b6005805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156105195780601f106104ee57610100808354040283529160200191610519565b820191906000526020600020905b8154815290600101906020018083116104fc57829003601f168201915b505050505081565b600160a060020a0381166000908152600360205260409020545b919050565b6000805433600160a060020a039081169116146107865760006000fd5b60008210156107955760006000fd5b600160a060020a0380841660009081526003602090815260408083208054870190556001805487019055825481518781529151941693600080516020610a23833981519152929181900390910190a3600054604080518481529051600160a060020a03808716931691600080516020610a23833981519152919081900360200190a35060015b5b92915050565b600054600160a060020a031681565b6007805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156105195780601f106104ee57610100808354040283529160200191610519565b820191906000526020600020905b8154815290600101906020018083116104fc57829003601f168201915b505050505081565b6000805433600160a060020a039081169116146108dc5760006000fd5b506002805460ff1916905560015b5b90565b60025460009060ff16156109025760006000fd5b600160a060020a033316600090815260036020526040902054829010156109295760006000fd5b600160a060020a03831660009081526003602052604090205482810110156109515760006000fd5b600160a060020a0333811660008181526003602090815260408083208054889003905593871680835291849020805487019055835186815293519193600080516020610a23833981519152929081900390910190a35060015b92915050565b60025460ff1681565b600160a060020a038083166000908152600460209081526040808320938516835292905220545b92915050565b60005433600160a060020a03908116911614610a025760006000fd5b60008054600160a060020a031916600160a060020a0383161790555b5b505600ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa165627a7a723058208faf822dd87d2d5e441abf51f5817da517fd27be52eafba92cfb187bd94736480029
Deployed Bytecode
0x606060405236156100bf5763ffffffff60e060020a60003504166306fdde0381146100d5578063095ea7b31461016557806318160ddd1461019857806323b872dd146101ba578063313ce567146101f35780635a3b7e421461021957806370a08231146102a9578063867904b4146102d75780638da5cb5b1461030a57806395d89b4114610336578063a69df4b5146103c6578063a9059cbb146103ea578063cf3090121461041d578063dd62ed3e14610441578063f2fde38b14610475575b34156100c757fe5b6100d35b60006000fd5b565b005b34156100dd57fe5b6100e5610493565b60408051602080825283518183015283519192839290830191850190808383821561012b575b80518252602083111561012b57601f19909201916020918201910161010b565b505050905090810190601f1680156101575780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561016d57fe5b610184600160a060020a0360043516602435610521565b604080519115158252519081900360200190f35b34156101a057fe5b6101a861059c565b60408051918252519081900360200190f35b34156101c257fe5b610184600160a060020a03600435811690602435166044356105a2565b604080519115158252519081900360200190f35b34156101fb57fe5b6102036106b3565b6040805160ff9092168252519081900360200190f35b341561022157fe5b6100e56106bc565b60408051602080825283518183015283519192839290830191850190808383821561012b575b80518252602083111561012b57601f19909201916020918201910161010b565b505050905090810190601f1680156101575780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156102b157fe5b6101a8600160a060020a036004351661074a565b60408051918252519081900360200190f35b34156102df57fe5b610184600160a060020a0360043516602435610769565b604080519115158252519081900360200190f35b341561031257fe5b61031a610822565b60408051600160a060020a039092168252519081900360200190f35b341561033e57fe5b6100e5610831565b60408051602080825283518183015283519192839290830191850190808383821561012b575b80518252602083111561012b57601f19909201916020918201910161010b565b505050905090810190601f1680156101575780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156103ce57fe5b6101846108bf565b604080519115158252519081900360200190f35b34156103f257fe5b610184600160a060020a03600435166024356108ee565b604080519115158252519081900360200190f35b341561042557fe5b6101846109b0565b604080519115158252519081900360200190f35b341561044957fe5b6101a8600160a060020a03600435811690602435166109b9565b60408051918252519081900360200190f35b341561047d57fe5b6100d3600160a060020a03600435166109e6565b005b6006805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156105195780601f106104ee57610100808354040283529160200191610519565b820191906000526020600020905b8154815290600101906020018083116104fc57829003601f168201915b505050505081565b60025460009060ff16156105355760006000fd5b600160a060020a03338116600081815260046020908152604080832094881680845294825291829020869055815186815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a35060015b92915050565b60015481565b60025460009060ff16156105b65760006000fd5b600160a060020a038416600090815260036020526040902054829010156105dd5760006000fd5b600160a060020a03831660009081526003602052604090205482810110156106055760006000fd5b600160a060020a03808516600090815260046020908152604080832033909416835292905220548211156106395760006000fd5b600160a060020a0380841660008181526003602090815260408083208054880190558885168084528184208054899003905560048352818420339096168452948252918290208054879003905581518681529151929392600080516020610a238339815191529281900390910190a35060015b9392505050565b60085460ff1681565b6005805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156105195780601f106104ee57610100808354040283529160200191610519565b820191906000526020600020905b8154815290600101906020018083116104fc57829003601f168201915b505050505081565b600160a060020a0381166000908152600360205260409020545b919050565b6000805433600160a060020a039081169116146107865760006000fd5b60008210156107955760006000fd5b600160a060020a0380841660009081526003602090815260408083208054870190556001805487019055825481518781529151941693600080516020610a23833981519152929181900390910190a3600054604080518481529051600160a060020a03808716931691600080516020610a23833981519152919081900360200190a35060015b5b92915050565b600054600160a060020a031681565b6007805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156105195780601f106104ee57610100808354040283529160200191610519565b820191906000526020600020905b8154815290600101906020018083116104fc57829003601f168201915b505050505081565b6000805433600160a060020a039081169116146108dc5760006000fd5b506002805460ff1916905560015b5b90565b60025460009060ff16156109025760006000fd5b600160a060020a033316600090815260036020526040902054829010156109295760006000fd5b600160a060020a03831660009081526003602052604090205482810110156109515760006000fd5b600160a060020a0333811660008181526003602090815260408083208054889003905593871680835291849020805487019055835186815293519193600080516020610a23833981519152929081900390910190a35060015b92915050565b60025460ff1681565b600160a060020a038083166000908152600460209081526040808320938516835292905220545b92915050565b60005433600160a060020a03908116911614610a025760006000fd5b60008054600160a060020a031916600160a060020a0383161790555b5b505600ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa165627a7a723058208faf822dd87d2d5e441abf51f5817da517fd27be52eafba92cfb187bd94736480029
Swarm Source
bzzr://8faf822dd87d2d5e441abf51f5817da517fd27be52eafba92cfb187bd9473648
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.