ETH Price: $2,079.10 (-3.15%)

Contract

0x8bEf82e549c29affCEfDb73214ea436FCB98e9fa
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

More Info

Private Name Tags

TokenTracker

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Transfer70505752019-01-11 23:39:102609 days ago1547249950IN
0x8bEf82e5...FCB98e9fa
0 ETH0.00098441
Transfer57988392018-06-16 11:49:132819 days ago1529149753IN
0x8bEf82e5...FCB98e9fa
0 ETH0.0015206941
Transfer56770352018-05-26 0:09:312840 days ago1527293371IN
0x8bEf82e5...FCB98e9fa
0 ETH0.001558941
Transfer56606922018-05-23 2:16:222843 days ago1527041782IN
0x8bEf82e5...FCB98e9fa
0 ETH0.0027555
Transfer55012012018-04-25 4:09:122871 days ago1524629352IN
0x8bEf82e5...FCB98e9fa
0 ETH0.0015206941
Transfer52321462018-03-10 20:22:232916 days ago1520713343IN
0x8bEf82e5...FCB98e9fa
0 ETH0.000156073
Transfer50907602018-02-14 20:49:102940 days ago1518641350IN
0x8bEf82e5...FCB98e9fa
0 ETH0.0007788921
Approve50594452018-02-09 14:21:502946 days ago1518186110IN
0x8bEf82e5...FCB98e9fa
0 ETH0.000183884
Transfer50536732018-02-08 15:23:582947 days ago1518103438IN
0x8bEf82e5...FCB98e9fa
0 ETH0.0021383141

Latest 1 internal transaction

Advanced mode:
Parent Transaction Hash Method Block
From
To
Transfer46533512017-12-01 1:37:593016 days ago1512092279  Contract Creation0 ETH
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
ACO

Compiler Version
v0.4.18+commit.9cf6e910

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
/**
 *Submitted for verification at Etherscan.io on 2017-12-05
*/

pragma solidity ^0.4.17;

//Developed by Zenos Pavlakou

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 Ownable {
    
    address public owner;

    /**
     * The address whcih deploys this contrcat is automatically assgined ownership.
     * */
    function Ownable() public {
        owner = msg.sender;
    }

    /**
     * Functions with this modifier can only be executed by the owner of the contract. 
     * */
    modifier onlyOwner {
        require(msg.sender == owner);
        _;
    }
}


contract ERC20Basic {
    uint256 public totalSupply;
    function balanceOf(address who) constant public returns (uint256);
    function transfer(address to, uint256 value) public returns (bool);
    event Transfer(address indexed from, address indexed to, uint256 value);
}


contract ERC20 is ERC20Basic {
    function allowance(address owner, address spender) constant public returns (uint256);
    function transferFrom(address from, address to, uint256 value) public  returns (bool);
    function approve(address spender, uint256 value) public returns (bool);
    event Approval(address indexed owner, address indexed spender, uint256 value);
}


contract BasicToken is ERC20Basic, Ownable {

    using SafeMath for uint256;

    mapping (address => uint256) balances;

    modifier onlyPayloadSize(uint size) {
        if (msg.data.length < size + 4) {
        revert();
        }
        _;
    }

    /**
     * Transfers ACO tokens from the sender's account to another given account.
     * 
     * @param _to The address of the recipient.
     * @param _amount The amount of tokens to send.
     * */
    function transfer(address _to, uint256 _amount) public onlyPayloadSize(2 * 32) returns (bool) {
        require(balances[msg.sender] >= _amount);
        balances[msg.sender] = balances[msg.sender].sub(_amount);
        balances[_to] = balances[_to].add(_amount);
        Transfer(msg.sender, _to, _amount);
        return true;
    }

    /**
     * Returns the balance of a given address.
     * 
     * @param _addr The address of the balance to query.
     **/
    function balanceOf(address _addr) public constant returns (uint256) {
        return balances[_addr];
    }
}


contract AdvancedToken is BasicToken, ERC20 {

    mapping (address => mapping (address => uint256)) allowances;

    /**
     * Transfers tokens from the account of the owner by an approved spender. 
     * The spender cannot spend more than the approved amount. 
     * 
     * @param _from The address of the owners account.
     * @param _amount The amount of tokens to transfer.
     * */
    function transferFrom(address _from, address _to, uint256 _amount) public onlyPayloadSize(3 * 32) returns (bool) {
        require(allowances[_from][msg.sender] >= _amount && balances[_from] >= _amount);
        allowances[_from][msg.sender] = allowances[_from][msg.sender].sub(_amount);
        balances[_from] = balances[_from].sub(_amount);
        balances[_to] = balances[_to].add(_amount);
        Transfer(_from, _to, _amount);
        return true;
    }

    /**
     * Allows another account to spend a given amount of tokens on behalf of the 
     * owner's account. If the owner has previously allowed a spender to spend
     * tokens on his or her behalf and would like to change the approval amount,
     * he or she will first have to set the allowance back to 0 and then update
     * the allowance.
     * 
     * @param _spender The address of the spenders account.
     * @param _amount The amount of tokens the spender is allowed to spend.
     * */
    function approve(address _spender, uint256 _amount) public returns (bool) {
        require((_amount == 0) || (allowances[msg.sender][_spender] == 0));
        allowances[msg.sender][_spender] = _amount;
        Approval(msg.sender, _spender, _amount);
        return true;
    }


    /**
     * Returns the approved allowance from an owners account to a spenders account.
     * 
     * @param _owner The address of the owners account.
     * @param _spender The address of the spenders account.
     **/
    function allowance(address _owner, address _spender) public constant returns (uint256) {
        return allowances[_owner][_spender];
    }
}


contract MintableToken is AdvancedToken {

    bool public mintingFinished;

    event TokensMinted(address indexed to, uint256 amount);
    event MintingFinished();

    /**
     * Generates new ACO tokens during the ICO, after which the minting period 
     * will terminate permenantly. This function can only be called by the ICO 
     * contract.
     * 
     * @param _to The address of the account to mint new tokens to.
     * @param _amount The amount of tokens to mint. 
     * */
    function mint(address _to, uint256 _amount) external onlyOwner onlyPayloadSize(2 * 32) returns (bool) {
        require(_to != 0x0 && _amount > 0 && !mintingFinished);
        balances[_to] = balances[_to].add(_amount);
        totalSupply = totalSupply.add(_amount);
        Transfer(0x0, _to, _amount);
        TokensMinted(_to, _amount);
        return true;
    }

    /**
     * Terminates the minting period permenantly. This function can only be called
     * by the ICO contract only when the duration of the ICO has ended. 
     * */
    function finishMinting() external onlyOwner {
        require(!mintingFinished);
        mintingFinished = true;
        MintingFinished();
    }
    
    /**
     * Returns true if the minting period has ended, false otherwhise.
     * */
    function mintingFinished() public constant returns (bool) {
        return mintingFinished;
    }
}

contract ACO is MintableToken {

    uint8 public decimals;
    string public name;
    string public symbol;

    function ACO() public {
        totalSupply = 0;
        decimals = 18;
        name = "ACO";
        symbol = "ACO";
    }
}

Contract Security Audit

Contract ABI

API
[{"constant":true,"inputs":[],"name":"mintingFinished","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"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":"","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":"","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":"_to","type":"address"},{"name":"_amount","type":"uint256"}],"name":"mint","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_addr","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"finishMinting","outputs":[],"payable":false,"stateMutability":"nonpayable","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":"_amount","type":"uint256"}],"name":"transfer","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"},{"name":"_spender","type":"address"}],"name":"allowance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"name":"to","type":"address"},{"indexed":false,"name":"amount","type":"uint256"}],"name":"TokensMinted","type":"event"},{"anonymous":false,"inputs":[],"name":"MintingFinished","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"},{"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"}]

6060604052341561000f57600080fd5b60018054600160a060020a03191633600160a060020a0316179055600080556004805461ff00191661120017905560408051908101604052600381527f41434f0000000000000000000000000000000000000000000000000000000000602082015260059080516100849291602001906100d2565b5060408051908101604052600381527f41434f0000000000000000000000000000000000000000000000000000000000602082015260069080516100cc9291602001906100d2565b5061016d565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061011357805160ff1916838001178555610140565b82800160010185558215610140579182015b82811115610140578251825591602001919060010190610125565b5061014c929150610150565b5090565b61016a91905b8082111561014c5760008155600101610156565b90565b6109868061017c6000396000f3006060604052600436106100c45763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166305d2035b81146100c957806306fdde03146100f0578063095ea7b31461017a57806318160ddd1461019c57806323b872dd146101c1578063313ce567146101e957806340c10f191461021257806370a08231146102345780637d64bcb4146102535780638da5cb5b1461026857806395d89b4114610297578063a9059cbb146102aa578063dd62ed3e146102cc575b600080fd5b34156100d457600080fd5b6100dc6102f1565b604051901515815260200160405180910390f35b34156100fb57600080fd5b6101036102fa565b60405160208082528190810183818151815260200191508051906020019080838360005b8381101561013f578082015183820152602001610127565b50505050905090810190601f16801561016c5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561018557600080fd5b6100dc600160a060020a0360043516602435610398565b34156101a757600080fd5b6101af61043e565b60405190815260200160405180910390f35b34156101cc57600080fd5b6100dc600160a060020a0360043581169060243516604435610444565b34156101f457600080fd5b6101fc6105c6565b60405160ff909116815260200160405180910390f35b341561021d57600080fd5b6100dc600160a060020a03600435166024356105d4565b341561023f57600080fd5b6101af600160a060020a0360043516610714565b341561025e57600080fd5b61026661072f565b005b341561027357600080fd5b61027b610795565b604051600160a060020a03909116815260200160405180910390f35b34156102a257600080fd5b6101036107a4565b34156102b557600080fd5b6100dc600160a060020a036004351660243561080f565b34156102d757600080fd5b6101af600160a060020a0360043581169060243516610907565b60045460ff1690565b60058054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156103905780601f1061036557610100808354040283529160200191610390565b820191906000526020600020905b81548152906001019060200180831161037357829003601f168201915b505050505081565b60008115806103ca5750600160a060020a03338116600090815260036020908152604080832093871683529290522054155b15156103d557600080fd5b600160a060020a03338116600081815260036020908152604080832094881680845294909152908190208590557f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a350600192915050565b60005481565b60006060606436101561045657600080fd5b600160a060020a03808616600090815260036020908152604080832033909416835292905220548390108015906104a65750600160a060020a038516600090815260026020526040902054839010155b15156104b157600080fd5b600160a060020a03808616600090815260036020908152604080832033909416835292905220546104e8908463ffffffff61093216565b600160a060020a03808716600081815260036020908152604080832033909516835293815283822094909455908152600290925290205461052f908463ffffffff61093216565b600160a060020a038087166000908152600260205260408082209390935590861681522054610564908463ffffffff61094416565b600160a060020a03808616600081815260026020526040908190209390935591908716907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9086905190815260200160405180910390a3506001949350505050565b600454610100900460ff1681565b60015460009033600160a060020a039081169116146105f257600080fd5b6040604436101561060257600080fd5b600160a060020a0384161580159061061a5750600083115b8015610629575060045460ff16155b151561063457600080fd5b600160a060020a03841660009081526002602052604090205461065d908463ffffffff61094416565b600160a060020a0385166000908152600260205260408120919091555461068a908463ffffffff61094416565b6000908155600160a060020a038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8560405190815260200160405180910390a383600160a060020a03167f3f2c9d57c068687834f0de942a9babb9e5acab57d516d3480a3c16ee165a42738460405190815260200160405180910390a25060019392505050565b600160a060020a031660009081526002602052604090205490565b60015433600160a060020a0390811691161461074a57600080fd5b60045460ff161561075a57600080fd5b6004805460ff191660011790557fb828d9b5c78095deeeeff2eca2e5d4fe046ce3feb4c99702624a3fd384ad2dbc60405160405180910390a1565b600154600160a060020a031681565b60068054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156103905780601f1061036557610100808354040283529160200191610390565b60006040604436101561082157600080fd5b600160a060020a0333166000908152600260205260409020548390101561084757600080fd5b600160a060020a033316600090815260026020526040902054610870908463ffffffff61093216565b600160a060020a0333811660009081526002602052604080822093909355908616815220546108a5908463ffffffff61094416565b600160a060020a0380861660008181526002602052604090819020939093559133909116907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9086905190815260200160405180910390a35060019392505050565b600160a060020a03918216600090815260036020908152604080832093909416825291909152205490565b60008282111561093e57fe5b50900390565b60008282018381101561095357fe5b93925050505600a165627a7a723058202ccd9f253dfd5de038536b3561ddac7c9bb23d6511a8ddece0edd3b3a63509f50029

Deployed Bytecode

0x6060604052600436106100c45763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166305d2035b81146100c957806306fdde03146100f0578063095ea7b31461017a57806318160ddd1461019c57806323b872dd146101c1578063313ce567146101e957806340c10f191461021257806370a08231146102345780637d64bcb4146102535780638da5cb5b1461026857806395d89b4114610297578063a9059cbb146102aa578063dd62ed3e146102cc575b600080fd5b34156100d457600080fd5b6100dc6102f1565b604051901515815260200160405180910390f35b34156100fb57600080fd5b6101036102fa565b60405160208082528190810183818151815260200191508051906020019080838360005b8381101561013f578082015183820152602001610127565b50505050905090810190601f16801561016c5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561018557600080fd5b6100dc600160a060020a0360043516602435610398565b34156101a757600080fd5b6101af61043e565b60405190815260200160405180910390f35b34156101cc57600080fd5b6100dc600160a060020a0360043581169060243516604435610444565b34156101f457600080fd5b6101fc6105c6565b60405160ff909116815260200160405180910390f35b341561021d57600080fd5b6100dc600160a060020a03600435166024356105d4565b341561023f57600080fd5b6101af600160a060020a0360043516610714565b341561025e57600080fd5b61026661072f565b005b341561027357600080fd5b61027b610795565b604051600160a060020a03909116815260200160405180910390f35b34156102a257600080fd5b6101036107a4565b34156102b557600080fd5b6100dc600160a060020a036004351660243561080f565b34156102d757600080fd5b6101af600160a060020a0360043581169060243516610907565b60045460ff1690565b60058054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156103905780601f1061036557610100808354040283529160200191610390565b820191906000526020600020905b81548152906001019060200180831161037357829003601f168201915b505050505081565b60008115806103ca5750600160a060020a03338116600090815260036020908152604080832093871683529290522054155b15156103d557600080fd5b600160a060020a03338116600081815260036020908152604080832094881680845294909152908190208590557f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a350600192915050565b60005481565b60006060606436101561045657600080fd5b600160a060020a03808616600090815260036020908152604080832033909416835292905220548390108015906104a65750600160a060020a038516600090815260026020526040902054839010155b15156104b157600080fd5b600160a060020a03808616600090815260036020908152604080832033909416835292905220546104e8908463ffffffff61093216565b600160a060020a03808716600081815260036020908152604080832033909516835293815283822094909455908152600290925290205461052f908463ffffffff61093216565b600160a060020a038087166000908152600260205260408082209390935590861681522054610564908463ffffffff61094416565b600160a060020a03808616600081815260026020526040908190209390935591908716907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9086905190815260200160405180910390a3506001949350505050565b600454610100900460ff1681565b60015460009033600160a060020a039081169116146105f257600080fd5b6040604436101561060257600080fd5b600160a060020a0384161580159061061a5750600083115b8015610629575060045460ff16155b151561063457600080fd5b600160a060020a03841660009081526002602052604090205461065d908463ffffffff61094416565b600160a060020a0385166000908152600260205260408120919091555461068a908463ffffffff61094416565b6000908155600160a060020a038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8560405190815260200160405180910390a383600160a060020a03167f3f2c9d57c068687834f0de942a9babb9e5acab57d516d3480a3c16ee165a42738460405190815260200160405180910390a25060019392505050565b600160a060020a031660009081526002602052604090205490565b60015433600160a060020a0390811691161461074a57600080fd5b60045460ff161561075a57600080fd5b6004805460ff191660011790557fb828d9b5c78095deeeeff2eca2e5d4fe046ce3feb4c99702624a3fd384ad2dbc60405160405180910390a1565b600154600160a060020a031681565b60068054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156103905780601f1061036557610100808354040283529160200191610390565b60006040604436101561082157600080fd5b600160a060020a0333166000908152600260205260409020548390101561084757600080fd5b600160a060020a033316600090815260026020526040902054610870908463ffffffff61093216565b600160a060020a0333811660009081526002602052604080822093909355908616815220546108a5908463ffffffff61094416565b600160a060020a0380861660008181526002602052604090819020939093559133909116907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9086905190815260200160405180910390a35060019392505050565b600160a060020a03918216600090815260036020908152604080832093909416825291909152205490565b60008282111561093e57fe5b50900390565b60008282018381101561095357fe5b93925050505600a165627a7a723058202ccd9f253dfd5de038536b3561ddac7c9bb23d6511a8ddece0edd3b3a63509f50029

Swarm Source

bzzr://2ccd9f253dfd5de038536b3561ddac7c9bb23d6511a8ddece0edd3b3a63509f5

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ 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.