ETH Price: $2,464.88 (+0.65%)
 

Overview

Max Total Supply

1,000,000,000 AAC

Holders

8,611

Market

Price

$0.00 @ 0.000000 ETH

Onchain Market Cap

$2,250.00

Circulating Supply Market Cap

$0.00

Other Info

Token Contract (WITH 5 Decimals)

Balance
51 AAC

Value
$0.00 ( ~0 Eth) [0.0000%]
0xD0cf40da82ecB3B2B2588cd90D3382B8b865256d
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

There are no matching entries

Please try again later

Contract Source Code Verified (Exact Match)

Contract Name:
AAC

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-29
*/

pragma solidity ^0.4.18;

// ----------------------------------------------------------------------------------------------
// Acute Angle Coin by AAC Limited.
// An ERC20 standard
//
// author: AcuteAngleCoin 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 AAC is ERC20Interface {
    uint256 public constant decimals = 5;

    string public constant symbol = "AAC";
    string public constant name = "AcuteAngleCoin";

    uint256 public _totalSupply = 10 ** 14; // total supply is 10^14 unit, equivalent to 10^9 AAC

    // Owner of this contract
    address public owner;

    // Balances AAC 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 AAC()
        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

Contract ABI

[{"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"}]

6060604052655af3107a40006000556000600655341561001e57600080fd5b60018054600160a060020a03338116600160a060020a0319909216919091179182905560008054929091168152600260205260409020556106a5806100646000396000f3006060604052600436106100cf5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100d4578063095ea7b31461015e57806318160ddd1461019457806323b872dd146101b9578063313ce567146101e15780633eaaf86b146101f457806370a08231146102075780638da5cb5b1461022657806395d89b41146102555780639b1fe0d414610268578063a9059cbb14610287578063b5f7f636146102a9578063dd62ed3e146102bc578063e1254fba146102e1575b600080fd5b34156100df57600080fd5b6100e7610300565b60405160208082528190810183818151815260200191508051906020019080838360005b8381101561012357808201518382015260200161010b565b50505050905090810190601f1680156101505780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561016957600080fd5b610180600160a060020a0360043516602435610337565b604051901515815260200160405180910390f35b341561019f57600080fd5b6101a76103de565b60405190815260200160405180910390f35b34156101c457600080fd5b610180600160a060020a03600435811690602435166044356103e4565b34156101ec57600080fd5b6101a76104da565b34156101ff57600080fd5b6101a76104df565b341561021257600080fd5b6101a7600160a060020a03600435166104e5565b341561023157600080fd5b610239610500565b604051600160a060020a03909116815260200160405180910390f35b341561026057600080fd5b6100e761050f565b341561027357600080fd5b610180600160a060020a0360043516610546565b341561029257600080fd5b610180600160a060020a0360043516602435610564565b34156102b457600080fd5b6101a761062d565b34156102c757600080fd5b6101a7600160a060020a0360043581169060243516610633565b34156102ec57600080fd5b6101a7600160a060020a036004351661065e565b60408051908101604052600e81527f4163757465416e676c65436f696e000000000000000000000000000000000000602082015281565b60008115806103695750600160a060020a03338116600090815260036020908152604080832093871683529290522054155b151561037457600080fd5b600160a060020a03338116600081815260036020908152604080832094881680845294909152908190208590557f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a35060015b92915050565b60005490565b600160a060020a03831660009081526002602052604081205482901080159061040d5750600082115b80156104405750600160a060020a0380851660009081526003602090815260408083203390941683529290522054829010155b156104cf57600160a060020a0380851660008181526002602081815260408084208054899003905560038252808420338716855282528084208054899003905594881680845291905290839020805486019055917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a35060016104d3565b5060005b9392505050565b600581565b60005481565b600160a060020a031660009081526002602052604090205490565b600154600160a060020a031681565b60408051908101604052600381527f4141430000000000000000000000000000000000000000000000000000000000602082015281565b600160a060020a031660009081526004602052604090205460ff1690565b600160a060020a03331660009081526002602052604081205482901080159061058e575060008210155b80156105b35750600160a060020a038316600090815260026020526040902054828101115b1561062557600160a060020a033381166000818152600260205260408082208054879003905592861680825290839020805486019055917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a35060016103d8565b5060006103d8565b60065481565b600160a060020a03918216600090815260036020908152604080832093909416825291909152205490565b600160a060020a0316600090815260056020526040902054905600a165627a7a7230582060d587e418468b16eed0ec449c1b0b21e00d6a32d920a31f3e81996b1a09646c0029

Deployed Bytecode

0x6060604052600436106100cf5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100d4578063095ea7b31461015e57806318160ddd1461019457806323b872dd146101b9578063313ce567146101e15780633eaaf86b146101f457806370a08231146102075780638da5cb5b1461022657806395d89b41146102555780639b1fe0d414610268578063a9059cbb14610287578063b5f7f636146102a9578063dd62ed3e146102bc578063e1254fba146102e1575b600080fd5b34156100df57600080fd5b6100e7610300565b60405160208082528190810183818151815260200191508051906020019080838360005b8381101561012357808201518382015260200161010b565b50505050905090810190601f1680156101505780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561016957600080fd5b610180600160a060020a0360043516602435610337565b604051901515815260200160405180910390f35b341561019f57600080fd5b6101a76103de565b60405190815260200160405180910390f35b34156101c457600080fd5b610180600160a060020a03600435811690602435166044356103e4565b34156101ec57600080fd5b6101a76104da565b34156101ff57600080fd5b6101a76104df565b341561021257600080fd5b6101a7600160a060020a03600435166104e5565b341561023157600080fd5b610239610500565b604051600160a060020a03909116815260200160405180910390f35b341561026057600080fd5b6100e761050f565b341561027357600080fd5b610180600160a060020a0360043516610546565b341561029257600080fd5b610180600160a060020a0360043516602435610564565b34156102b457600080fd5b6101a761062d565b34156102c757600080fd5b6101a7600160a060020a0360043581169060243516610633565b34156102ec57600080fd5b6101a7600160a060020a036004351661065e565b60408051908101604052600e81527f4163757465416e676c65436f696e000000000000000000000000000000000000602082015281565b60008115806103695750600160a060020a03338116600090815260036020908152604080832093871683529290522054155b151561037457600080fd5b600160a060020a03338116600081815260036020908152604080832094881680845294909152908190208590557f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a35060015b92915050565b60005490565b600160a060020a03831660009081526002602052604081205482901080159061040d5750600082115b80156104405750600160a060020a0380851660009081526003602090815260408083203390941683529290522054829010155b156104cf57600160a060020a0380851660008181526002602081815260408084208054899003905560038252808420338716855282528084208054899003905594881680845291905290839020805486019055917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a35060016104d3565b5060005b9392505050565b600581565b60005481565b600160a060020a031660009081526002602052604090205490565b600154600160a060020a031681565b60408051908101604052600381527f4141430000000000000000000000000000000000000000000000000000000000602082015281565b600160a060020a031660009081526004602052604090205460ff1690565b600160a060020a03331660009081526002602052604081205482901080159061058e575060008210155b80156105b35750600160a060020a038316600090815260026020526040902054828101115b1561062557600160a060020a033381166000818152600260205260408082208054879003905592861680825290839020805486019055917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a35060016103d8565b5060006103d8565b60065481565b600160a060020a03918216600090815260036020908152604080832093909416825291909152205490565b600160a060020a0316600090815260056020526040902054905600a165627a7a7230582060d587e418468b16eed0ec449c1b0b21e00d6a32d920a31f3e81996b1a09646c0029

Swarm Source

bzzr://60d587e418468b16eed0ec449c1b0b21e00d6a32d920a31f3e81996b1a09646c
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.