ERC-20
Overview
Max Total Supply
10,000,000,000 Show
Holders
5,529
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
6,500,000 ShowValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
ShowCoinToken
Compiler Version
v0.4.16+commit.d7661dd9
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2018-04-27 */ pragma solidity ^0.4.11; contract ShowCoinToken{ mapping (address => uint256) balances; address public owner; address public lockOwner; string public name; string public symbol; uint8 public decimals; uint256 public lockAmount ; uint256 public startTime ; // total amount of tokens uint256 public totalSupply; // `allowed` tracks any extra transfer rights as in all ERC20 tokens mapping (address => mapping (address => uint256)) allowed; function ShowCoinToken() public { owner = 0xd32c3c303BD6bd65066C1373720b5442A414f9CC; // Set owner of contract lockOwner = 0xC9BA6e5Eda033c66D34ab64d02d14590963Ce0c2; startTime = 1514649600; name = "ShowCoin"; // Set the name for display purposes symbol = "Show"; // Set the symbol for display purposes decimals = 18; // Amount of decimals for display purposes totalSupply = 10000000000000000000000000000; // Total supply balances[owner] = totalSupply * 90 /100 ; balances[0x7b9b375B036dF9482033Aa7fee9273c78F40Aa85]=20000000000000000; lockAmount = totalSupply / 10 ; } /// @param _owner The address from which the balance will be retrieved /// @return The balance function balanceOf(address _owner) public constant returns (uint256 balance) { return balances[_owner]; } /// @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) public returns (bool success) { require(_value > 0 ); // Check send token value > 0; require(balances[msg.sender] >= _value); balances[msg.sender] -= _value; balances[_to] += _value; Transfer(msg.sender, _to, _value); return true; } /// @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) public returns (bool success) { require(balances[_from] >= _value); // Check if the sender has enough require(balances[_to] + _value >= balances[_to]); // Check for overflows require(_value <= allowed[_from][msg.sender]); // Check allowance balances[_from] -= _value; balances[_to] += _value; allowed[_from][_to] -= _value; Transfer(_from, _to, _value); return true; } /// @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) public returns (bool success) { require(balances[msg.sender] >= _value); allowed[msg.sender][_spender] = _value; Approval(msg.sender, _spender, _value); return true; } /// @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) public constant returns (uint256 remaining) { return allowed[_owner][_spender]; } /* This unnamed function is called whenever someone tries to send ether to it */ function () private { revert(); // Prevents accidental sending of ether } function releaseToken() public{ require(now >= startTime +2 years); uint256 i = ((now - startTime -2 years) / (0.5 years)); uint256 releasevalue = totalSupply /40 ; require(lockAmount > (4 - i - 1) * releasevalue); lockAmount -= releasevalue ; balances[lockOwner] += releasevalue ; } event Transfer(address indexed _from, address indexed _to, uint256 _value); event Approval(address indexed _owner, address indexed _spender, uint256 _value); }
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":"lockOwner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"}],"name":"balanceOf","outputs":[{"name":"balance","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"startTime","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","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":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"lockAmount","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","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":"releaseToken","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":false,"stateMutability":"nonpayable","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
6060604052341561000f57600080fd5b5b60018054600160a060020a031990811673d32c3c303bd6bd65066c1373720b5442a414f9cc179091556002805490911673c9ba6e5eda033c66d34ab64d02d14590963ce0c2179055635a47b80060075560408051908101604052600881527f53686f77436f696e000000000000000000000000000000000000000000000000602082015260039080516100a7929160200190610190565b506040805190810160405260048082527f53686f770000000000000000000000000000000000000000000000000000000060208301529080516100ee929160200190610190565b506005805460ff191660121790556b204fce5e3e2502611000000060085560646c0b5c0e8d21d902d61fa00000005b600154600160a060020a0316600090815260208190526040812092909104909155737b9b375b036df9482033aa7fee9273c78f40aa85905266470de4df8200007fbce6bc24ea503a3595bee1905855c3b194e866437caf2de1f7847ca3a1f50b4f55600854600a905b046006555b610230565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106101d157805160ff19168380011785556101fe565b828001600101855582156101fe579182015b828111156101fe5782518255916020019190600101906101e3565b5b5061020b92915061020f565b5090565b61022d91905b8082111561020b5760008155600101610215565b5090565b90565b6108c78061023f6000396000f300606060405236156100cd5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100e0578063095ea7b31461016b57806318160ddd146101a157806323b872dd146101c6578063313ce5671461020257806369cd61be1461022b57806370a082311461025a57806378e979251461028b5780638da5cb5b146102b057806395d89b41146102df578063a9059cbb1461036a578063d8df5dc1146103a0578063dd62ed3e146103c5578063ec715a31146103fc575b34156100d857600080fd5b5b600080fd5b005b34156100eb57600080fd5b6100f3610411565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156101305780820151818401525b602001610117565b50505050905090810190601f16801561015d5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561017657600080fd5b61018d600160a060020a03600435166024356104af565b604051901515815260200160405180910390f35b34156101ac57600080fd5b6101b461053f565b60405190815260200160405180910390f35b34156101d157600080fd5b61018d600160a060020a0360043581169060243516604435610545565b604051901515815260200160405180910390f35b341561020d57600080fd5b61021561064f565b60405160ff909116815260200160405180910390f35b341561023657600080fd5b61023e610658565b604051600160a060020a03909116815260200160405180910390f35b341561026557600080fd5b6101b4600160a060020a0360043516610667565b60405190815260200160405180910390f35b341561029657600080fd5b6101b4610686565b60405190815260200160405180910390f35b34156102bb57600080fd5b61023e61068c565b604051600160a060020a03909116815260200160405180910390f35b34156102ea57600080fd5b6100f361069b565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156101305780820151818401525b602001610117565b50505050905090810190601f16801561015d5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561037557600080fd5b61018d600160a060020a0360043516602435610739565b604051901515815260200160405180910390f35b34156103ab57600080fd5b6101b46107dc565b60405190815260200160405180910390f35b34156103d057600080fd5b6101b4600160a060020a03600435811690602435166107e2565b60405190815260200160405180910390f35b341561040757600080fd5b6100de61080f565b005b60038054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156104a75780601f1061047c576101008083540402835291602001916104a7565b820191906000526020600020905b81548152906001019060200180831161048a57829003601f168201915b505050505081565b600160a060020a033316600090815260208190526040812054829010156104d557600080fd5b600160a060020a03338116600081815260096020908152604080832094881680845294909152908190208590557f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a35060015b92915050565b60085481565b600160a060020a0383166000908152602081905260408120548290101561056b57600080fd5b600160a060020a038316600090815260208190526040902054828101101561059257600080fd5b600160a060020a03808516600090815260096020908152604080832033909416835292905220548211156105c557600080fd5b600160a060020a0380851660008181526020818152604080832080548890039055938716808352848320805488019055838352600982528483208184529091529083902080548690039055917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a35060015b9392505050565b60055460ff1681565b600254600160a060020a031681565b600160a060020a0381166000908152602081905260409020545b919050565b60075481565b600154600160a060020a031681565b60048054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156104a75780601f1061047c576101008083540402835291602001916104a7565b820191906000526020600020905b81548152906001019060200180831161048a57829003601f168201915b505050505081565b600080821161074757600080fd5b600160a060020a0333166000908152602081905260409020548290101561076d57600080fd5b600160a060020a033381166000818152602081905260408082208054879003905592861680825290839020805486019055917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a35060015b92915050565b60065481565b600160a060020a038083166000908152600960209081526040808320938516835292905220545b92915050565b6000806007546303c2670001421015151561082957600080fd5b62f099c06303c2670060075442030381151561084157fe5b049150602860085481151561085257fe5b04905080600183600403030260065411151561086d57600080fd5b600680548290039055600254600160a060020a031660009081526020819052604090208054820190555b50505600a165627a7a72305820a29d36373a55d247c5858b3d41bc0de3ba900b07ca2de125ed7f94da3ef4b1c60029
Deployed Bytecode
0x606060405236156100cd5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100e0578063095ea7b31461016b57806318160ddd146101a157806323b872dd146101c6578063313ce5671461020257806369cd61be1461022b57806370a082311461025a57806378e979251461028b5780638da5cb5b146102b057806395d89b41146102df578063a9059cbb1461036a578063d8df5dc1146103a0578063dd62ed3e146103c5578063ec715a31146103fc575b34156100d857600080fd5b5b600080fd5b005b34156100eb57600080fd5b6100f3610411565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156101305780820151818401525b602001610117565b50505050905090810190601f16801561015d5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561017657600080fd5b61018d600160a060020a03600435166024356104af565b604051901515815260200160405180910390f35b34156101ac57600080fd5b6101b461053f565b60405190815260200160405180910390f35b34156101d157600080fd5b61018d600160a060020a0360043581169060243516604435610545565b604051901515815260200160405180910390f35b341561020d57600080fd5b61021561064f565b60405160ff909116815260200160405180910390f35b341561023657600080fd5b61023e610658565b604051600160a060020a03909116815260200160405180910390f35b341561026557600080fd5b6101b4600160a060020a0360043516610667565b60405190815260200160405180910390f35b341561029657600080fd5b6101b4610686565b60405190815260200160405180910390f35b34156102bb57600080fd5b61023e61068c565b604051600160a060020a03909116815260200160405180910390f35b34156102ea57600080fd5b6100f361069b565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156101305780820151818401525b602001610117565b50505050905090810190601f16801561015d5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561037557600080fd5b61018d600160a060020a0360043516602435610739565b604051901515815260200160405180910390f35b34156103ab57600080fd5b6101b46107dc565b60405190815260200160405180910390f35b34156103d057600080fd5b6101b4600160a060020a03600435811690602435166107e2565b60405190815260200160405180910390f35b341561040757600080fd5b6100de61080f565b005b60038054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156104a75780601f1061047c576101008083540402835291602001916104a7565b820191906000526020600020905b81548152906001019060200180831161048a57829003601f168201915b505050505081565b600160a060020a033316600090815260208190526040812054829010156104d557600080fd5b600160a060020a03338116600081815260096020908152604080832094881680845294909152908190208590557f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a35060015b92915050565b60085481565b600160a060020a0383166000908152602081905260408120548290101561056b57600080fd5b600160a060020a038316600090815260208190526040902054828101101561059257600080fd5b600160a060020a03808516600090815260096020908152604080832033909416835292905220548211156105c557600080fd5b600160a060020a0380851660008181526020818152604080832080548890039055938716808352848320805488019055838352600982528483208184529091529083902080548690039055917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a35060015b9392505050565b60055460ff1681565b600254600160a060020a031681565b600160a060020a0381166000908152602081905260409020545b919050565b60075481565b600154600160a060020a031681565b60048054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156104a75780601f1061047c576101008083540402835291602001916104a7565b820191906000526020600020905b81548152906001019060200180831161048a57829003601f168201915b505050505081565b600080821161074757600080fd5b600160a060020a0333166000908152602081905260409020548290101561076d57600080fd5b600160a060020a033381166000818152602081905260408082208054879003905592861680825290839020805486019055917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a35060015b92915050565b60065481565b600160a060020a038083166000908152600960209081526040808320938516835292905220545b92915050565b6000806007546303c2670001421015151561082957600080fd5b62f099c06303c2670060075442030381151561084157fe5b049150602860085481151561085257fe5b04905080600183600403030260065411151561086d57600080fd5b600680548290039055600254600160a060020a031660009081526020819052604090208054820190555b50505600a165627a7a72305820a29d36373a55d247c5858b3d41bc0de3ba900b07ca2de125ed7f94da3ef4b1c60029
Swarm Source
bzzr://a29d36373a55d247c5858b3d41bc0de3ba900b07ca2de125ed7f94da3ef4b1c6
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.