Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 387 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Transfer | 9960800 | 1657 days ago | IN | 0 ETH | 0.00113277 | ||||
Transfer | 9942325 | 1660 days ago | IN | 0 ETH | 0.00068277 | ||||
Transfer | 9942309 | 1660 days ago | IN | 0 ETH | 0.00068277 | ||||
Transfer | 9942296 | 1660 days ago | IN | 0 ETH | 0.00068241 | ||||
Transfer | 9942296 | 1660 days ago | IN | 0 ETH | 0.00068277 | ||||
Transfer | 9942285 | 1660 days ago | IN | 0 ETH | 0.00068241 | ||||
Transfer | 9942285 | 1660 days ago | IN | 0 ETH | 0.00068241 | ||||
Transfer | 9942269 | 1660 days ago | IN | 0 ETH | 0.00068241 | ||||
Transfer | 9942269 | 1660 days ago | IN | 0 ETH | 0.00068277 | ||||
Transfer | 9942269 | 1660 days ago | IN | 0 ETH | 0.00068241 | ||||
Transfer | 9942258 | 1660 days ago | IN | 0 ETH | 0.00068241 | ||||
Transfer | 9942258 | 1660 days ago | IN | 0 ETH | 0.00068241 | ||||
Transfer | 9942257 | 1660 days ago | IN | 0 ETH | 0.00068241 | ||||
Transfer | 9942257 | 1660 days ago | IN | 0 ETH | 0.00068241 | ||||
Transfer | 9942257 | 1660 days ago | IN | 0 ETH | 0.00068241 | ||||
Transfer | 9942245 | 1660 days ago | IN | 0 ETH | 0.00068241 | ||||
Transfer | 9942245 | 1660 days ago | IN | 0 ETH | 0.00068277 | ||||
Transfer | 9942245 | 1660 days ago | IN | 0 ETH | 0.00068277 | ||||
Transfer | 9942245 | 1660 days ago | IN | 0 ETH | 0.00068241 | ||||
Transfer | 9942245 | 1660 days ago | IN | 0 ETH | 0.00068241 | ||||
Transfer | 9942245 | 1660 days ago | IN | 0 ETH | 0.00068277 | ||||
Transfer | 9942245 | 1660 days ago | IN | 0 ETH | 0.00068277 | ||||
Transfer | 9942245 | 1660 days ago | IN | 0 ETH | 0.00068277 | ||||
Transfer | 9942245 | 1660 days ago | IN | 0 ETH | 0.00068277 | ||||
Transfer | 9942245 | 1660 days ago | IN | 0 ETH | 0.00068277 |
Loading...
Loading
Similar Match Source Code This contract matches the deployed Bytecode of the Source Code for Contract 0x57f43261...E61Da0668 The constructor portion of the code might be different and could alter the actual behaviour of the contract
Contract Name:
ENC
Compiler Version
v0.4.18+commit.9cf6e910
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2018-08-24 */ pragma solidity ^0.4.18; // ---------------------------------------------------------------------------------------------- // Enetrix Coinby ENC Limited. // An ERC20 standard // // author: ENC Team contract ERC20Interface { function totalSupply() public constant returns (uint256 _totalSupply); function balanceOf(address _owner) public constant returns (uint256 balance); function transfer(address _to, uint256 _value) public returns (bool success); function transferFrom(address _from, address _to, uint256 _value) public returns (bool success); function approve(address _spender, uint256 _value) public returns (bool success); function allowance(address _owner, address _spender) public constant returns (uint256 remaining); event Transfer(address indexed _from, address indexed _to, uint256 _value); event Approval(address indexed _owner, address indexed _spender, uint256 _value); } contract ENC is ERC20Interface { uint256 public constant decimals = 5; string public constant symbol = "ENC"; string public constant name = "Enetrix Coin"; uint256 public _totalSupply = 10 ** 14 / 2; // total supply is 10^14 unit, equivalent to 10^9 ENC // Owner of this contract address public owner; // Balances ENC for each account mapping(address => uint256) private balances; // Owner of account approves the transfer of an amount to another account mapping(address => mapping (address => uint256)) private allowed; // List of approved investors mapping(address => bool) private approvedInvestorList; // deposit mapping(address => uint256) private deposit; // totalTokenSold uint256 public totalTokenSold = 0; /** * @dev Fix for the ERC20 short address attack. */ modifier onlyPayloadSize(uint size) { if(msg.data.length < size + 4) { revert(); } _; } /// @dev Constructor function ENC() public { owner = msg.sender; balances[owner] = _totalSupply; } /// @dev Gets totalSupply /// @return Total supply function totalSupply() public constant returns (uint256) { return _totalSupply; } /// @dev Gets account's balance /// @param _addr Address of the account /// @return Account balance function balanceOf(address _addr) public constant returns (uint256) { return balances[_addr]; } /// @dev check address is approved investor /// @param _addr address function isApprovedInvestor(address _addr) public constant returns (bool) { return approvedInvestorList[_addr]; } /// @dev get ETH deposit /// @param _addr address get deposit /// @return amount deposit of an buyer function getDeposit(address _addr) public constant returns(uint256){ return deposit[_addr]; } /// @dev Transfers the balance from msg.sender to an account /// @param _to Recipient address /// @param _amount Transfered amount in unit /// @return Transfer status function transfer(address _to, uint256 _amount) public returns (bool) { // if sender's balance has enough unit and amount >= 0, // and the sum is not overflow, // then do transfer if ( (balances[msg.sender] >= _amount) && (_amount >= 0) && (balances[_to] + _amount > balances[_to]) ) { balances[msg.sender] -= _amount; balances[_to] += _amount; Transfer(msg.sender, _to, _amount); return true; } else { return false; } } // Send _value amount of tokens from address _from to address _to // The transferFrom method is used for a withdraw workflow, allowing contracts to send // tokens on your behalf, for example to "deposit" to a contract address and/or to charge // fees in sub-currencies; the command should fail unless the _from account has // deliberately authorized the sender of the message via some mechanism; we propose // these standardized APIs for approval: function transferFrom( address _from, address _to, uint256 _amount ) public returns (bool success) { if (balances[_from] >= _amount && _amount > 0 && allowed[_from][msg.sender] >= _amount) { balances[_from] -= _amount; allowed[_from][msg.sender] -= _amount; balances[_to] += _amount; Transfer(_from, _to, _amount); return true; } else { return false; } } // Allow _spender to withdraw from your account, multiple times, up to the _value amount. // If this function is called again it overwrites the current allowance with _value. function approve(address _spender, uint256 _amount) public returns (bool success) { require((_amount == 0) || (allowed[msg.sender][_spender] == 0)); allowed[msg.sender][_spender] = _amount; Approval(msg.sender, _spender, _amount); return true; } // get allowance function allowance(address _owner, address _spender) public constant returns (uint256 remaining) { return allowed[_owner][_spender]; } function () public payable{ revert(); } }
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":"_amount","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":"_amount","type":"uint256"}],"name":"transferFrom","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"_totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_addr","type":"address"}],"name":"balanceOf","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":true,"inputs":[{"name":"_addr","type":"address"}],"name":"isApprovedInvestor","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_amount","type":"uint256"}],"name":"transfer","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"totalTokenSold","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":true,"inputs":[{"name":"_addr","type":"address"}],"name":"getDeposit","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","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"}]
Deployed Bytecode
0x6060604052600436106100cf5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100d4578063095ea7b31461015e57806318160ddd1461019457806323b872dd146101b9578063313ce567146101e15780633eaaf86b146101f457806370a08231146102075780638da5cb5b1461022657806395d89b41146102555780639b1fe0d414610268578063a9059cbb14610287578063b5f7f636146102a9578063dd62ed3e146102bc578063e1254fba146102e1575b600080fd5b34156100df57600080fd5b6100e7610300565b60405160208082528190810183818151815260200191508051906020019080838360005b8381101561012357808201518382015260200161010b565b50505050905090810190601f1680156101505780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561016957600080fd5b610180600160a060020a0360043516602435610337565b604051901515815260200160405180910390f35b341561019f57600080fd5b6101a76103de565b60405190815260200160405180910390f35b34156101c457600080fd5b610180600160a060020a03600435811690602435166044356103e4565b34156101ec57600080fd5b6101a76104da565b34156101ff57600080fd5b6101a76104df565b341561021257600080fd5b6101a7600160a060020a03600435166104e5565b341561023157600080fd5b610239610500565b604051600160a060020a03909116815260200160405180910390f35b341561026057600080fd5b6100e761050f565b341561027357600080fd5b610180600160a060020a0360043516610546565b341561029257600080fd5b610180600160a060020a0360043516602435610564565b34156102b457600080fd5b6101a761062d565b34156102c757600080fd5b6101a7600160a060020a0360043581169060243516610633565b34156102ec57600080fd5b6101a7600160a060020a036004351661065e565b60408051908101604052600c81527f456e657472697820436f696e0000000000000000000000000000000000000000602082015281565b60008115806103695750600160a060020a03338116600090815260036020908152604080832093871683529290522054155b151561037457600080fd5b600160a060020a03338116600081815260036020908152604080832094881680845294909152908190208590557f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a35060015b92915050565b60005490565b600160a060020a03831660009081526002602052604081205482901080159061040d5750600082115b80156104405750600160a060020a0380851660009081526003602090815260408083203390941683529290522054829010155b156104cf57600160a060020a0380851660008181526002602081815260408084208054899003905560038252808420338716855282528084208054899003905594881680845291905290839020805486019055917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a35060016104d3565b5060005b9392505050565b600581565b60005481565b600160a060020a031660009081526002602052604090205490565b600154600160a060020a031681565b60408051908101604052600381527f454e430000000000000000000000000000000000000000000000000000000000602082015281565b600160a060020a031660009081526004602052604090205460ff1690565b600160a060020a03331660009081526002602052604081205482901080159061058e575060008210155b80156105b35750600160a060020a038316600090815260026020526040902054828101115b1561062557600160a060020a033381166000818152600260205260408082208054879003905592861680825290839020805486019055917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a35060016103d8565b5060006103d8565b60065481565b600160a060020a03918216600090815260036020908152604080832093909416825291909152205490565b600160a060020a0316600090815260056020526040902054905600a165627a7a723058206ffc802d6a6be2c506f50399e377afa421ac0e768cb927b389b7e8c8bbfb00220029
Swarm Source
bzzr://6ffc802d6a6be2c506f50399e377afa421ac0e768cb927b389b7e8c8bbfb0022
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.