Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Retail
Overview
Max Total Supply
3,000,000,000 WYS
Holders
1,914 (0.00%)
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
WysToken
Compiler Version
v0.4.19-nightly.2017.11.11+commit.284c3839
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2017-11-22 */ pragma solidity ^0.4.16; contract ERC20 { uint256 public totalSupply; function balanceOf(address _owner) public constant returns (uint balance); function transfer(address _to, uint _value) public returns (bool success); function transferFrom(address _from, address _to, uint _value) public returns (bool success); function approve(address _spender, uint _value) public returns (bool success); function allowance(address _owner, address _spender) public constant returns (uint remaining); event Transfer(address indexed _from, address indexed _to, uint _value); event Approval(address indexed _owner, address indexed _spender, uint _value); } library SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a * b; assert(a == 0 || c / a == b); return c; } function div(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a / b; return c; } function sub(uint256 a, uint256 b) internal pure returns (uint256) { assert(b <= a); return a - b; } function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; assert(c >= a); return c; } } contract StandardToken is ERC20 { using SafeMath for uint256; mapping(address => uint256) balances; mapping(address => mapping (address => uint256)) internal allowed; function transfer(address _to, uint256 _value) public returns (bool) { require(_to != address(0)); require(_value <= balances[msg.sender]); 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]; } 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) { allowed[msg.sender][_spender] = _value; Approval(msg.sender, _spender, _value); return true; } function allowance(address _owner, address _spender) public constant returns (uint256 remaining) { return allowed[_owner][_spender]; } function increaseApproval(address _spender, uint _addedValue) public returns (bool success) { allowed[msg.sender][_spender] = allowed[msg.sender][_spender].add(_addedValue); Approval(msg.sender, _spender, allowed[msg.sender][_spender]); return true; } function decreaseApproval(address _spender, uint _subtractedValue) public returns (bool success) { uint oldValue = allowed[msg.sender][_spender]; if (_subtractedValue > oldValue) { allowed[msg.sender][_spender] = 0; } else { allowed[msg.sender][_spender] = oldValue.sub(_subtractedValue); } Approval(msg.sender, _spender, allowed[msg.sender][_spender]); return true; } } contract Ownable { address public owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); function Ownable() public { owner = msg.sender; } modifier onlyOwner() { require(msg.sender == owner); _; } function transferOwnership(address newOwner) onlyOwner public { require(newOwner != address(0)); OwnershipTransferred(owner, newOwner); owner = newOwner; } } contract BurnableToken is StandardToken { event Burn(address indexed burner, uint256 value); function burn(uint256 _value) public { require(_value > 0); require(_value <= balances[msg.sender]); address burner = msg.sender; balances[burner] = balances[burner].sub(_value); totalSupply = totalSupply.sub(_value); Burn(burner, _value); } } contract WysToken is BurnableToken, Ownable { string public constant name = "wys Token"; string public constant symbol = "WYS"; uint8 public constant decimals = 18; string public version = "2.0"; address internal wyskerTeam; uint256 public totalSupply; function WysToken(uint256 _totalSupply, address _wyskerTeam) public { wyskerTeam = _wyskerTeam; totalSupply = _totalSupply; balances[wyskerTeam] = totalSupply; } function issueTokens(address _to, uint256 _value) onlyOwner public returns (bool) { require(_to != address(0)); require(_value <= balances[wyskerTeam]); balances[wyskerTeam] = balances[wyskerTeam].sub(_value); balances[_to] = balances[_to].add(_value); Transfer(msg.sender, _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":"","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":"decimals","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_value","type":"uint256"}],"name":"burn","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"issueTokens","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"version","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_subtractedValue","type":"uint256"}],"name":"decreaseApproval","outputs":[{"name":"success","type":"bool"}],"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":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":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_addedValue","type":"uint256"}],"name":"increaseApproval","outputs":[{"name":"success","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":[{"name":"_totalSupply","type":"uint256"},{"name":"_wyskerTeam","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"name":"previousOwner","type":"address"},{"indexed":true,"name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"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":"_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
606060405260408051908101604052600381527f322e3000000000000000000000000000000000000000000000000000000000006020820152600490805161004b9291602001906100c3565b50341561005757600080fd5b604051604080610d4d833981016040528080519190602001805160038054600160a060020a03338116600160a060020a031992831617909255600580549383169390911692909217918290556006859055166000908152600160205260409020929092555061015e9050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061010457805160ff1916838001178555610131565b82800160010185558215610131579182015b82811115610131578251825591602001919060010190610116565b5061013d929150610141565b5090565b61015b91905b8082111561013d5760008155600101610147565b90565b610be08061016d6000396000f3006060604052600436106100e55763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100ea578063095ea7b31461017457806318160ddd146101aa57806323b872dd146101cf578063313ce567146101f757806342966c6814610220578063475a9fa91461023857806354fd4d501461025a578063661884631461026d57806370a082311461028f5780638da5cb5b146102ae57806395d89b41146102dd578063a9059cbb146102f0578063d73dd62314610312578063dd62ed3e14610334578063f2fde38b14610359575b600080fd5b34156100f557600080fd5b6100fd610378565b60405160208082528190810183818151815260200191508051906020019080838360005b83811015610139578082015183820152602001610121565b50505050905090810190601f1680156101665780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561017f57600080fd5b610196600160a060020a03600435166024356103af565b604051901515815260200160405180910390f35b34156101b557600080fd5b6101bd61041b565b60405190815260200160405180910390f35b34156101da57600080fd5b610196600160a060020a0360043581169060243516604435610421565b341561020257600080fd5b61020a6105a3565b60405160ff909116815260200160405180910390f35b341561022b57600080fd5b6102366004356105a8565b005b341561024357600080fd5b610196600160a060020a0360043516602435610671565b341561026557600080fd5b6100fd61078f565b341561027857600080fd5b610196600160a060020a036004351660243561082d565b341561029a57600080fd5b6101bd600160a060020a0360043516610927565b34156102b957600080fd5b6102c1610942565b604051600160a060020a03909116815260200160405180910390f35b34156102e857600080fd5b6100fd610951565b34156102fb57600080fd5b610196600160a060020a0360043516602435610988565b341561031d57600080fd5b610196600160a060020a0360043516602435610a22565b341561033f57600080fd5b6101bd600160a060020a0360043581169060243516610ac6565b341561036457600080fd5b610236600160a060020a0360043516610af1565b60408051908101604052600981527f77797320546f6b656e0000000000000000000000000000000000000000000000602082015281565b600160a060020a03338116600081815260026020908152604080832094871680845294909152808220859055909291907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a350600192915050565b60065481565b6000600160a060020a038316151561043857600080fd5b600160a060020a03841660009081526001602052604090205482111561045d57600080fd5b600160a060020a038085166000908152600260209081526040808320339094168352929052205482111561049057600080fd5b600160a060020a0384166000908152600160205260409020546104b9908363ffffffff610b8c16565b600160a060020a0380861660009081526001602052604080822093909355908516815220546104ee908363ffffffff610b9e16565b600160a060020a03808516600090815260016020908152604080832094909455878316825260028152838220339093168252919091522054610536908363ffffffff610b8c16565b600160a060020a03808616600081815260026020908152604080832033861684529091529081902093909355908516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a35060019392505050565b601281565b60008082116105b657600080fd5b600160a060020a0333166000908152600160205260409020548211156105db57600080fd5b5033600160a060020a0381166000908152600160205260409020546106009083610b8c565b600160a060020a0382166000908152600160205260408120919091555461062d908363ffffffff610b8c16565b600055600160a060020a0381167fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca58360405190815260200160405180910390a25050565b60035460009033600160a060020a0390811691161461068f57600080fd5b600160a060020a03831615156106a457600080fd5b600554600160a060020a03166000908152600160205260409020548211156106cb57600080fd5b600554600160a060020a03166000908152600160205260409020546106f6908363ffffffff610b8c16565b600554600160a060020a03908116600090815260016020526040808220939093559085168152205461072e908363ffffffff610b9e16565b600160a060020a0380851660008181526001602052604090819020939093559133909116907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a350600192915050565b60048054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156108255780601f106107fa57610100808354040283529160200191610825565b820191906000526020600020905b81548152906001019060200180831161080857829003601f168201915b505050505081565b600160a060020a0333811660009081526002602090815260408083209386168352929052908120548083111561088a57600160a060020a0333811660009081526002602090815260408083209388168352929052908120556108c1565b61089a818463ffffffff610b8c16565b600160a060020a033381166000908152600260209081526040808320938916835292905220555b600160a060020a0333811660008181526002602090815260408083209489168084529490915290819020547f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925915190815260200160405180910390a35060019392505050565b600160a060020a031660009081526001602052604090205490565b600354600160a060020a031681565b60408051908101604052600381527f5759530000000000000000000000000000000000000000000000000000000000602082015281565b6000600160a060020a038316151561099f57600080fd5b600160a060020a0333166000908152600160205260409020548211156109c457600080fd5b600160a060020a0333166000908152600160205260409020546109ed908363ffffffff610b8c16565b600160a060020a03338116600090815260016020526040808220939093559085168152205461072e908363ffffffff610b9e16565b600160a060020a033381166000908152600260209081526040808320938616835292905290812054610a5a908363ffffffff610b9e16565b600160a060020a0333811660008181526002602090815260408083209489168084529490915290819020849055919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591905190815260200160405180910390a350600192915050565b600160a060020a03918216600090815260026020908152604080832093909416825291909152205490565b60035433600160a060020a03908116911614610b0c57600080fd5b600160a060020a0381161515610b2157600080fd5b600354600160a060020a0380831691167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36003805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600082821115610b9857fe5b50900390565b600082820183811015610bad57fe5b93925050505600a165627a7a723058206e52691d3a0a72c7ad53f88525cb9eaa3076207f0b252bf438237d0c1e7ea37e0029000000000000000000000000000000000000000009b18ab5df7180b6b800000000000000000000000000000000a6232f89cbc90581f41573739456e87345111a
Deployed Bytecode
0x6060604052600436106100e55763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100ea578063095ea7b31461017457806318160ddd146101aa57806323b872dd146101cf578063313ce567146101f757806342966c6814610220578063475a9fa91461023857806354fd4d501461025a578063661884631461026d57806370a082311461028f5780638da5cb5b146102ae57806395d89b41146102dd578063a9059cbb146102f0578063d73dd62314610312578063dd62ed3e14610334578063f2fde38b14610359575b600080fd5b34156100f557600080fd5b6100fd610378565b60405160208082528190810183818151815260200191508051906020019080838360005b83811015610139578082015183820152602001610121565b50505050905090810190601f1680156101665780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561017f57600080fd5b610196600160a060020a03600435166024356103af565b604051901515815260200160405180910390f35b34156101b557600080fd5b6101bd61041b565b60405190815260200160405180910390f35b34156101da57600080fd5b610196600160a060020a0360043581169060243516604435610421565b341561020257600080fd5b61020a6105a3565b60405160ff909116815260200160405180910390f35b341561022b57600080fd5b6102366004356105a8565b005b341561024357600080fd5b610196600160a060020a0360043516602435610671565b341561026557600080fd5b6100fd61078f565b341561027857600080fd5b610196600160a060020a036004351660243561082d565b341561029a57600080fd5b6101bd600160a060020a0360043516610927565b34156102b957600080fd5b6102c1610942565b604051600160a060020a03909116815260200160405180910390f35b34156102e857600080fd5b6100fd610951565b34156102fb57600080fd5b610196600160a060020a0360043516602435610988565b341561031d57600080fd5b610196600160a060020a0360043516602435610a22565b341561033f57600080fd5b6101bd600160a060020a0360043581169060243516610ac6565b341561036457600080fd5b610236600160a060020a0360043516610af1565b60408051908101604052600981527f77797320546f6b656e0000000000000000000000000000000000000000000000602082015281565b600160a060020a03338116600081815260026020908152604080832094871680845294909152808220859055909291907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a350600192915050565b60065481565b6000600160a060020a038316151561043857600080fd5b600160a060020a03841660009081526001602052604090205482111561045d57600080fd5b600160a060020a038085166000908152600260209081526040808320339094168352929052205482111561049057600080fd5b600160a060020a0384166000908152600160205260409020546104b9908363ffffffff610b8c16565b600160a060020a0380861660009081526001602052604080822093909355908516815220546104ee908363ffffffff610b9e16565b600160a060020a03808516600090815260016020908152604080832094909455878316825260028152838220339093168252919091522054610536908363ffffffff610b8c16565b600160a060020a03808616600081815260026020908152604080832033861684529091529081902093909355908516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a35060019392505050565b601281565b60008082116105b657600080fd5b600160a060020a0333166000908152600160205260409020548211156105db57600080fd5b5033600160a060020a0381166000908152600160205260409020546106009083610b8c565b600160a060020a0382166000908152600160205260408120919091555461062d908363ffffffff610b8c16565b600055600160a060020a0381167fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca58360405190815260200160405180910390a25050565b60035460009033600160a060020a0390811691161461068f57600080fd5b600160a060020a03831615156106a457600080fd5b600554600160a060020a03166000908152600160205260409020548211156106cb57600080fd5b600554600160a060020a03166000908152600160205260409020546106f6908363ffffffff610b8c16565b600554600160a060020a03908116600090815260016020526040808220939093559085168152205461072e908363ffffffff610b9e16565b600160a060020a0380851660008181526001602052604090819020939093559133909116907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a350600192915050565b60048054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156108255780601f106107fa57610100808354040283529160200191610825565b820191906000526020600020905b81548152906001019060200180831161080857829003601f168201915b505050505081565b600160a060020a0333811660009081526002602090815260408083209386168352929052908120548083111561088a57600160a060020a0333811660009081526002602090815260408083209388168352929052908120556108c1565b61089a818463ffffffff610b8c16565b600160a060020a033381166000908152600260209081526040808320938916835292905220555b600160a060020a0333811660008181526002602090815260408083209489168084529490915290819020547f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925915190815260200160405180910390a35060019392505050565b600160a060020a031660009081526001602052604090205490565b600354600160a060020a031681565b60408051908101604052600381527f5759530000000000000000000000000000000000000000000000000000000000602082015281565b6000600160a060020a038316151561099f57600080fd5b600160a060020a0333166000908152600160205260409020548211156109c457600080fd5b600160a060020a0333166000908152600160205260409020546109ed908363ffffffff610b8c16565b600160a060020a03338116600090815260016020526040808220939093559085168152205461072e908363ffffffff610b9e16565b600160a060020a033381166000908152600260209081526040808320938616835292905290812054610a5a908363ffffffff610b9e16565b600160a060020a0333811660008181526002602090815260408083209489168084529490915290819020849055919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591905190815260200160405180910390a350600192915050565b600160a060020a03918216600090815260026020908152604080832093909416825291909152205490565b60035433600160a060020a03908116911614610b0c57600080fd5b600160a060020a0381161515610b2157600080fd5b600354600160a060020a0380831691167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36003805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600082821115610b9857fe5b50900390565b600082820183811015610bad57fe5b93925050505600a165627a7a723058206e52691d3a0a72c7ad53f88525cb9eaa3076207f0b252bf438237d0c1e7ea37e0029
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000009B18AB5DF7180B6B800000000000000000000000000000000A6232F89cBc90581F41573739456e87345111a
-----Decoded View---------------
Arg [0] : _totalSupply (uint256): 3000000000000000000000000000
Arg [1] : _wyskerTeam (address): 0x00A6232F89cBc90581F41573739456e87345111a
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000000000000000000009B18AB5DF7180B6B8000000
Arg [1] : 00000000000000000000000000A6232F89cBc90581F41573739456e87345111a
Swarm Source
bzzr://6e52691d3a0a72c7ad53f88525cb9eaa3076207f0b252bf438237d0c1e7ea37e
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.