ERC-20
Gaming
Overview
Max Total Supply
66,509,518.5 NxC
Holders
1,004 (0.00%)
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 3 Decimals)
Balance
0.491 NxCValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Nexium
Compiler Version
v0.3.1-2016-04-07-054bc2a
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2016-05-18 */ contract tokenSpender { function receiveApproval(address _from, uint256 _value, address _token, bytes _extraData); } contract Nexium { /* Public variables of the token */ string public name; string public symbol; uint8 public decimals; uint256 public initialSupply; address public burnAddress; /* This creates an array with all balances */ mapping (address => uint) public balanceOf; mapping (address => mapping (address => uint)) public allowance; /* This generates a public event on the blockchain that will notify clients */ event Transfer(address indexed from, address indexed to, uint value); event Approval(address indexed from, address indexed spender, uint value); /* Initializes contract with initial supply tokens to the creator of the contract */ function Nexium() { initialSupply = 100000000000; balanceOf[msg.sender] = initialSupply; // Give the creator all initial tokens name = 'Nexium'; // Set the name for display purposes symbol = 'NxC'; // Set the symbol for display purposes decimals = 3; // Amount of decimals for display purposes burnAddress = 0x1b32000000000000000000000000000000000000; } function totalSupply() returns(uint){ return initialSupply - balanceOf[burnAddress]; } /* Send coins */ function transfer(address _to, uint256 _value) returns (bool success) { if (balanceOf[msg.sender] >= _value && _value > 0) { balanceOf[msg.sender] -= _value; balanceOf[_to] += _value; Transfer(msg.sender, _to, _value); return true; } else return false; } /* Allow another contract to spend some tokens in your behalf */ function approveAndCall(address _spender, uint256 _value, bytes _extraData) returns (bool success) { allowance[msg.sender][_spender] = _value; tokenSpender spender = tokenSpender(_spender); spender.receiveApproval(msg.sender, _value, this, _extraData); Approval(msg.sender, _spender, _value); return true; } /*Allow another adress to use your money but doesn't notify it*/ function approve(address _spender, uint256 _value) returns (bool success) { allowance[msg.sender][_spender] = _value; Approval(msg.sender, _spender, _value); return true; } /* A contract attempts to get the coins */ function transferFrom(address _from, address _to, uint256 _value) returns (bool success) { if (balanceOf[_from] >= _value && allowance[_from][msg.sender] >= _value && _value > 0) { balanceOf[_to] += _value; Transfer(_from, _to, _value); balanceOf[_from] -= _value; allowance[_from][msg.sender] -= _value; return true; } else return false; } /* This unnamed function is called whenever someone tries to send ether to it */ function () { throw; // Prevents accidental sending of ether } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_value","type":"uint256"}],"name":"approve","outputs":[{"name":"success","type":"bool"}],"type":"function"},{"constant":false,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"type":"function"},{"constant":false,"inputs":[{"name":"_from","type":"address"},{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transferFrom","outputs":[{"name":"success","type":"bool"}],"type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint8"}],"type":"function"},{"constant":true,"inputs":[],"name":"initialSupply","outputs":[{"name":"","type":"uint256"}],"type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"type":"function"},{"constant":true,"inputs":[],"name":"burnAddress","outputs":[{"name":"","type":"address"}],"type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transfer","outputs":[{"name":"success","type":"bool"}],"type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_value","type":"uint256"},{"name":"_extraData","type":"bytes"}],"name":"approveAndCall","outputs":[{"name":"success","type":"bool"}],"type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"},{"name":"","type":"address"}],"name":"allowance","outputs":[{"name":"","type":"uint256"}],"type":"function"},{"inputs":[],"type":"constructor"},{"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":true,"name":"spender","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Approval","type":"event"}]
Contract Creation Code
64174876e8006003819055600160a060020a03331660009081526005602090815260408083209390935560a090925260066060527f4e657869756d000000000000000000000000000000000000000000000000000060805280548180527f4e657869756d000000000000000000000000000000000000000000000000000c825590916100d991601f6002600019610100600185161502019092169190910401047f290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e563908101905b8082111561016b57600081556001016100c5565b505060408051808201909152600381527f4e784300000000000000000000000000000000000000000000000000000000006020918201908152600180546000829052915160ff191660061781559161016f91600281851615610100026000190190911604601f01047fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf6908101906100c5565b5090565b50506002805460ff1916600317905560048054600160a060020a031916731b32000000000000000000000000000000000000179055610674806101b26000396000f3606060405236156100985760e060020a600035046306fdde0381146100a0578063095ea7b3146100fd57806318160ddd1461016757806323b872dd14610199578063313ce567146102d1578063378dc3dc146102dd57806370a08231146102e657806370d5ae05146102fe57806395d89b4114610310578063a9059cbb1461036c578063cae9ca51146103ff578063dd62ed3e1461059f575b610000610002565b6105c460008054602060026001831615610100026000190190921691909104601f810182900490910260809081016040526060828152929190828280156106675780601f1061063c57610100808354040283529160200191610667565b610187600435602435600160a060020a03338116600081815260066020908152604080832094871680845294825282208590556060858152919392917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259190a35060015b92915050565b600454600160a060020a0316600090815260056020526040902054600354035b60408051918252519081900360200190f35b610187600435602435604435600160a060020a0383166000908152600560205260408120548290108015906101ec5750600660209081526040808320600160a060020a0333168452909152812054829010155b80156101f85750600082115b156102ca57600160a060020a038084168083526005602090815260408420805486019055606085815291928716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9190a3816005600050600086600160a060020a03168152602001908152602001600020600082828250540392505081905550816006600050600086600160a060020a03168152602001908152602001600020600050600033600160a060020a03168152602001908152602001600020600082828250540392505081905550600190505b9392505050565b61063260025460ff1681565b61018760035481565b61018760043560056020526000908152604090205481565b610632600454600160a060020a031681565b6105c4600180546020600282841615610100026000190190921691909104601f810182900490910260809081016040526060828152929190828280156106675780601f1061063c57610100808354040283529160200191610667565b610187600435602435600160a060020a03331660009081526005602052604081205482901080159061039e5750600082115b1561066f57604080822080548490039055600160a060020a0380851680845291832080548501905560608481523391909116907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602090a3506001610161565b60806020604435600481810135601f810184900490930284016040526060838152610187948235946024803595606494939101919081908382808284375094965050505050505060006000836006600050600033600160a060020a03168152602001908152602001600020600050600087600160a060020a031681526020019081526020016000206000508190555084905080600160a060020a0316638f4ffcb1338630876040518560e060020a0281526004018085600160a060020a0316815260200184815260200183600160a060020a03168152602001806020018281038252838181518152602001915080519060200190808383829060006004602084601f0104600f02600301f150905090810190601f1680156105345780820380516001836020036101000a031916815260200191505b50955050505050506000604051808303816000876161da5a03f115610002575050604080518681529051600160a060020a033316917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925919081900360200190a3506001949350505050565b6006602090815260043560009081526040808220909252602435815220546101879081565b60405180806020018281038252838181518152602001915080519060200190808383829060006004602084601f0104600f02600301f150905090810190601f1680156106245780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6060908152602090f35b820191906000526020600020905b81548152906001019060200180831161064a57829003601f168201915b505050505081565b61016156
Deployed Bytecode
0x606060405236156100985760e060020a600035046306fdde0381146100a0578063095ea7b3146100fd57806318160ddd1461016757806323b872dd14610199578063313ce567146102d1578063378dc3dc146102dd57806370a08231146102e657806370d5ae05146102fe57806395d89b4114610310578063a9059cbb1461036c578063cae9ca51146103ff578063dd62ed3e1461059f575b610000610002565b6105c460008054602060026001831615610100026000190190921691909104601f810182900490910260809081016040526060828152929190828280156106675780601f1061063c57610100808354040283529160200191610667565b610187600435602435600160a060020a03338116600081815260066020908152604080832094871680845294825282208590556060858152919392917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259190a35060015b92915050565b600454600160a060020a0316600090815260056020526040902054600354035b60408051918252519081900360200190f35b610187600435602435604435600160a060020a0383166000908152600560205260408120548290108015906101ec5750600660209081526040808320600160a060020a0333168452909152812054829010155b80156101f85750600082115b156102ca57600160a060020a038084168083526005602090815260408420805486019055606085815291928716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9190a3816005600050600086600160a060020a03168152602001908152602001600020600082828250540392505081905550816006600050600086600160a060020a03168152602001908152602001600020600050600033600160a060020a03168152602001908152602001600020600082828250540392505081905550600190505b9392505050565b61063260025460ff1681565b61018760035481565b61018760043560056020526000908152604090205481565b610632600454600160a060020a031681565b6105c4600180546020600282841615610100026000190190921691909104601f810182900490910260809081016040526060828152929190828280156106675780601f1061063c57610100808354040283529160200191610667565b610187600435602435600160a060020a03331660009081526005602052604081205482901080159061039e5750600082115b1561066f57604080822080548490039055600160a060020a0380851680845291832080548501905560608481523391909116907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602090a3506001610161565b60806020604435600481810135601f810184900490930284016040526060838152610187948235946024803595606494939101919081908382808284375094965050505050505060006000836006600050600033600160a060020a03168152602001908152602001600020600050600087600160a060020a031681526020019081526020016000206000508190555084905080600160a060020a0316638f4ffcb1338630876040518560e060020a0281526004018085600160a060020a0316815260200184815260200183600160a060020a03168152602001806020018281038252838181518152602001915080519060200190808383829060006004602084601f0104600f02600301f150905090810190601f1680156105345780820380516001836020036101000a031916815260200191505b50955050505050506000604051808303816000876161da5a03f115610002575050604080518681529051600160a060020a033316917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925919081900360200190a3506001949350505050565b6006602090815260043560009081526040808220909252602435815220546101879081565b60405180806020018281038252838181518152602001915080519060200190808383829060006004602084601f0104600f02600301f150905090810190601f1680156106245780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6060908152602090f35b820191906000526020600020905b81548152906001019060200180831161064a57829003601f168201915b505050505081565b61016156
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.