ERC-20
Overview
Max Total Supply
1,285,000,000 ENAU
Holders
7,279
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 4 Decimals)
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
NAUTokenCoin
Compiler Version
v0.4.20-nightly.2018.1.4+commit.a0771691
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2018-01-05 */ pragma solidity ^0.4.13; contract Ownable { address public owner; function Ownable() public { owner = msg.sender; } modifier onlyOwner() { require(msg.sender == owner); _; } function transferOwnership(address newOwner) onlyOwner public { owner = newOwner; } } contract NAUTokenCoin is Ownable { string public constant name = "eNAU"; string public constant symbol = "ENAU"; uint32 public constant decimals = 4; uint public constant INITIAL_SUPPLY = 12850000000000; uint public totalSupply = 0; mapping (address => uint) balances; mapping (address => mapping(address => uint)) allowed; function NAUTokenCoin () public { totalSupply = INITIAL_SUPPLY; balances[msg.sender] = INITIAL_SUPPLY; } function balanceOf(address _owner) public constant returns (uint balance) { return balances[_owner]; } function transfer(address _to, uint _value) public returns (bool success) { if(balances[msg.sender] >= _value && balances[msg.sender] + _value >= balances[msg.sender]) { balances[msg.sender] -= _value; balances[_to] += _value; Transfer(msg.sender, _to, _value); return true; } return false; } function transferFrom(address _from, address _to, uint _value) public returns (bool success) { if (allowed[_from][msg.sender] >= _value && balances[_from] >= _value && balances[_to] + _value >= balances[_to]) { allowed[_from][msg.sender] -= _value; balances[_from] -= _value; balances[_to] += _value; Transfer(_from, _to, _value); return true; } return false; } function approve(address _spender, uint _value) public returns (bool success) { allowed[msg.sender][_spender] = _value; Approval(msg.sender, _spender, _value); return true; } function allowance(address _owner, address _spender) public constant returns (uint remaining) { return allowed[_owner][_spender]; } event Transfer(address indexed _from, address indexed _to, uint _value); event Approval(address indexed _owner, address indexed _spender, uint _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":"INITIAL_SUPPLY","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint32"}],"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":"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":"_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":"_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
60606040526000600155341561001457600080fd5b60008054600160a060020a033316600160a060020a031990911681178255650bafdfaf74006001819055908252600260205260409091205561065f8061005b6000396000f3006060604052600436106100b95763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100be578063095ea7b31461014857806318160ddd1461017e57806323b872dd146101a35780632ff2e9dc146101cb578063313ce567146101de57806370a082311461020a5780638da5cb5b1461022957806395d89b4114610258578063a9059cbb1461026b578063dd62ed3e1461028d578063f2fde38b146102b2575b600080fd5b34156100c957600080fd5b6100d16102d3565b60405160208082528190810183818151815260200191508051906020019080838360005b8381101561010d5780820151838201526020016100f5565b50505050905090810190601f16801561013a5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561015357600080fd5b61016a600160a060020a036004351660243561030a565b604051901515815260200160405180910390f35b341561018957600080fd5b610191610377565b60405190815260200160405180910390f35b34156101ae57600080fd5b61016a600160a060020a036004358116906024351660443561037d565b34156101d657600080fd5b610191610490565b34156101e957600080fd5b6101f161049a565b60405163ffffffff909116815260200160405180910390f35b341561021557600080fd5b610191600160a060020a036004351661049f565b341561023457600080fd5b61023c6104ba565b604051600160a060020a03909116815260200160405180910390f35b341561026357600080fd5b6100d16104c9565b341561027657600080fd5b61016a600160a060020a0360043516602435610500565b341561029857600080fd5b610191600160a060020a03600435811690602435166105be565b34156102bd57600080fd5b6102d1600160a060020a03600435166105e9565b005b60408051908101604052600481527f654e415500000000000000000000000000000000000000000000000000000000602082015281565b600160a060020a03338116600081815260036020908152604080832094871680845294909152808220859055909291907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a35060015b92915050565b60015481565b600160a060020a038084166000908152600360209081526040808320339094168352929052908120548290108015906103cf5750600160a060020a038416600090815260026020526040902054829010155b80156103f55750600160a060020a03831660009081526002602052604090205482810110155b1561048557600160a060020a038085166000818152600360209081526040808320338616845282528083208054889003905583835260029091528082208054879003905592861680825290839020805486019055917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a3506001610489565b5060005b9392505050565b650bafdfaf740081565b600481565b600160a060020a031660009081526002602052604090205490565b600054600160a060020a031681565b60408051908101604052600481527f454e415500000000000000000000000000000000000000000000000000000000602082015281565b600160a060020a0333166000908152600260205260408120548290108015906105435750600160a060020a03331660009081526002602052604090205482810110155b156105b557600160a060020a033381166000818152600260205260408082208054879003905592861680825290839020805486019055917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a3506001610371565b50600092915050565b600160a060020a03918216600090815260036020908152604080832093909416825291909152205490565b60005433600160a060020a0390811691161461060457600080fd5b6000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03929092169190911790555600a165627a7a723058202f55bf76f86829bd710bbfa799f774b580af461d08958b66dd10ba0758ca73d50029
Deployed Bytecode
0x6060604052600436106100b95763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100be578063095ea7b31461014857806318160ddd1461017e57806323b872dd146101a35780632ff2e9dc146101cb578063313ce567146101de57806370a082311461020a5780638da5cb5b1461022957806395d89b4114610258578063a9059cbb1461026b578063dd62ed3e1461028d578063f2fde38b146102b2575b600080fd5b34156100c957600080fd5b6100d16102d3565b60405160208082528190810183818151815260200191508051906020019080838360005b8381101561010d5780820151838201526020016100f5565b50505050905090810190601f16801561013a5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561015357600080fd5b61016a600160a060020a036004351660243561030a565b604051901515815260200160405180910390f35b341561018957600080fd5b610191610377565b60405190815260200160405180910390f35b34156101ae57600080fd5b61016a600160a060020a036004358116906024351660443561037d565b34156101d657600080fd5b610191610490565b34156101e957600080fd5b6101f161049a565b60405163ffffffff909116815260200160405180910390f35b341561021557600080fd5b610191600160a060020a036004351661049f565b341561023457600080fd5b61023c6104ba565b604051600160a060020a03909116815260200160405180910390f35b341561026357600080fd5b6100d16104c9565b341561027657600080fd5b61016a600160a060020a0360043516602435610500565b341561029857600080fd5b610191600160a060020a03600435811690602435166105be565b34156102bd57600080fd5b6102d1600160a060020a03600435166105e9565b005b60408051908101604052600481527f654e415500000000000000000000000000000000000000000000000000000000602082015281565b600160a060020a03338116600081815260036020908152604080832094871680845294909152808220859055909291907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a35060015b92915050565b60015481565b600160a060020a038084166000908152600360209081526040808320339094168352929052908120548290108015906103cf5750600160a060020a038416600090815260026020526040902054829010155b80156103f55750600160a060020a03831660009081526002602052604090205482810110155b1561048557600160a060020a038085166000818152600360209081526040808320338616845282528083208054889003905583835260029091528082208054879003905592861680825290839020805486019055917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a3506001610489565b5060005b9392505050565b650bafdfaf740081565b600481565b600160a060020a031660009081526002602052604090205490565b600054600160a060020a031681565b60408051908101604052600481527f454e415500000000000000000000000000000000000000000000000000000000602082015281565b600160a060020a0333166000908152600260205260408120548290108015906105435750600160a060020a03331660009081526002602052604090205482810110155b156105b557600160a060020a033381166000818152600260205260408082208054879003905592861680825290839020805486019055917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a3506001610371565b50600092915050565b600160a060020a03918216600090815260036020908152604080832093909416825291909152205490565b60005433600160a060020a0390811691161461060457600080fd5b6000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03929092169190911790555600a165627a7a723058202f55bf76f86829bd710bbfa799f774b580af461d08958b66dd10ba0758ca73d50029
Swarm Source
bzzr://2f55bf76f86829bd710bbfa799f774b580af461d08958b66dd10ba0758ca73d5
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.