ETH Price: $2,638.25 (+1.94%)

Token

ARMOR (ARMOR)
 

Overview

Max Total Supply

1,000,000,000 ARMOR

Holders

7

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
200 ARMOR

Value
$0.00
0xef4c0044813d1d644a4d7b363bd6f96cb0288e9b
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
Control

Compiler Version
v0.4.18+commit.9cf6e910

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
/**
 *Submitted for verification at Etherscan.io on 2018-04-11
*/

pragma solidity ^0.4.18;
    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) {
            // assert(b > 0); // Solidity automatically throws when dividing by 0
            uint256 c = a / b;
            // assert(a == b * c + a % b); // There is no case in which this doesn't hold
            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;
        }
    }
    library ERC20Interface {
        function totalSupply() public constant returns (uint);
        function balanceOf(address tokenOwner) public constant returns (uint balance);
        function allowance(address tokenOwner, address spender) public constant returns (uint remaining);
        function transfer(address to, uint tokens) public returns (bool success);
        function approve(address spender, uint tokens) public returns (bool success);
        function transferFrom(address from, address to, uint tokens) public returns (bool success);
        event Transfer(address indexed from, address indexed to, uint tokens);
        event Approval(address indexed tokenOwner, address indexed spender, uint tokens);
    }
    library ApproveAndCallFallBack {
        function receiveApproval(address from, uint256 tokens, address token, bytes data) public;
    }
    contract owned {
    
    
    	    address public owner;
    
    
    	    function owned() payable public {
    	        owner = msg.sender;
    	    }
    	    
    	    modifier onlyOwner {
    	        require(owner == msg.sender);
    	        _;
    	    }
    
    
    	    function changeOwner(address _owner) onlyOwner public {
    	        owner = _owner;
    	    }
    	}
    contract Crowdsale is owned {
    	    
    	    uint256 public totalSupply;
    	
    	    mapping (address => uint256) public balanceOf;
    
    
    	    event Transfer(address indexed from, address indexed to, uint256 value);
    	    
    	    function Crowdsale() payable owned() public {
                totalSupply = 1000000000 * 1000000000000000000; 
                // ico
    	        balanceOf[this] = 900000000 * 1000000000000000000;   
    	        balanceOf[owner] = totalSupply - balanceOf[this];
    	        Transfer(this, owner, balanceOf[owner]);
    	    }
    
    	    function () payable public {
    	        require(balanceOf[this] > 0);
    	        
    	        uint256 tokensPerOneEther = 200000 * 1000000000000000000;
    	        uint256 tokens = tokensPerOneEther * msg.value / 1000000000000000000;
    	        if (tokens > balanceOf[this]) {
    	            tokens = balanceOf[this];
    	            uint valueWei = tokens * 1000000000000000000 / tokensPerOneEther;
    	            msg.sender.transfer(msg.value - valueWei);
    	        }
    	        require(tokens > 0);
    	        balanceOf[msg.sender] += tokens;
    	        balanceOf[this] -= tokens;
    	        Transfer(this, msg.sender, tokens);
    	    }
    	}
    contract ARMOR is Crowdsale {
        
            using SafeMath for uint256;
            string  public name        = 'ARMOR';
    	    string  public symbol      = 'ARMOR';
    	    string  public standard    = 'ARMOR 0.1';
            
    	    uint8   public decimals    = 18;
    	    mapping (address => mapping (address => uint256)) internal allowed;
    	    
    	    function ARMOR() payable Crowdsale() public {}
    	    
    	    function transfer(address _to, uint256 _value) public {
    	        require(balanceOf[msg.sender] >= _value);
    	        balanceOf[msg.sender] -= _value;
    	        balanceOf[_to] += _value;
    	        Transfer(msg.sender, _to, _value);
    	    }
    	}
    contract Control is ARMOR {
    	    function Control() payable ARMOR() public {}
    	    function withdraw() onlyOwner {    
    	        owner.transfer(this.balance);  
    	    }
    	    function killMe()  onlyOwner {
    	        selfdestruct(owner);
    	    }
    	}

Contract Security Audit

Contract ABI

[{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"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":"decimals","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"withdraw","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"standard","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","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":false,"inputs":[{"name":"_owner","type":"address"}],"name":"changeOwner","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transfer","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"killMe","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"inputs":[],"payable":true,"stateMutability":"payable","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"}]

606060405260408051908101604052600581527f41524d4f520000000000000000000000000000000000000000000000000000006020820152600390805161004b92916020019061019c565b5060408051908101604052600581527f41524d4f520000000000000000000000000000000000000000000000000000006020820152600490805161009392916020019061019c565b5060408051908101604052600981527f41524d4f5220302e310000000000000000000000000000000000000000000000602082015260059080516100db92916020019061019c565b506006805460ff1916601217905560008054600160a060020a03338116600160a060020a03199092169190911782556b033b2e3c9fd0803ce80000006001908155308216808452600260205260408085206b02e87669c308736a04000000905591548454841685528285206b02e87669c308736a03ffffff199091019055835490921680845292819020547fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef915190815260200160405180910390a3610237565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106101dd57805160ff191683800117855561020a565b8280016001018555821561020a579182015b8281111561020a5782518255916020019190600101906101ef565b5061021692915061021a565b5090565b61023491905b808211156102165760008155600101610220565b90565b6106d1806102466000396000f3006060604052600436106100ae5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146101f457806318160ddd1461027e578063313ce567146102a35780633ccfd60b146102cc5780635a3b7e42146102e157806370a08231146102f45780638da5cb5b1461031357806395d89b4114610342578063a6f9dae114610355578063a9059cbb14610374578063b603cd8014610396575b600160a060020a033016600090815260026020526040812054819081908190116100d757600080fd5b30600160a060020a0316600090815260026020526040902054692a5a058fc295ed0000009350670de0b6b3a764000034850204925082111561017b57600160a060020a033016600090815260026020526040902054915082670de0b6b3a7640000830281151561014357fe5b04905033600160a060020a03166108fc8234039081150290604051600060405180830381858888f19350505050151561017b57600080fd5b6000821161018857600080fd5b600160a060020a0333811660008181526002602052604080822080548701905530909316808252908390208054869003905590917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a3505050005b34156101ff57600080fd5b6102076103a9565b60405160208082528190810183818151815260200191508051906020019080838360005b8381101561024357808201518382015260200161022b565b50505050905090810190601f1680156102705780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561028957600080fd5b610291610447565b60405190815260200160405180910390f35b34156102ae57600080fd5b6102b661044d565b60405160ff909116815260200160405180910390f35b34156102d757600080fd5b6102df610456565b005b34156102ec57600080fd5b6102076104ac565b34156102ff57600080fd5b610291600160a060020a0360043516610517565b341561031e57600080fd5b610326610529565b604051600160a060020a03909116815260200160405180910390f35b341561034d57600080fd5b610207610538565b341561036057600080fd5b6102df600160a060020a03600435166105a3565b341561037f57600080fd5b6102df600160a060020a03600435166024356105ed565b34156103a157600080fd5b6102df61067c565b60038054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561043f5780601f106104145761010080835404028352916020019161043f565b820191906000526020600020905b81548152906001019060200180831161042257829003601f168201915b505050505081565b60015481565b60065460ff1681565b60005433600160a060020a0390811691161461047157600080fd5b600054600160a060020a039081169030163180156108fc0290604051600060405180830381858888f1935050505015156104aa57600080fd5b565b60058054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561043f5780601f106104145761010080835404028352916020019161043f565b60026020526000908152604090205481565b600054600160a060020a031681565b60048054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561043f5780601f106104145761010080835404028352916020019161043f565b60005433600160a060020a039081169116146105be57600080fd5b6000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600160a060020a0333166000908152600260205260409020548190101561061357600080fd5b600160a060020a033381166000818152600260205260408082208054869003905592851680825290839020805485019055917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9084905190815260200160405180910390a35050565b60005433600160a060020a0390811691161461069757600080fd5b600054600160a060020a0316ff00a165627a7a7230582031a043ee27fe59f64401c924fb6bef4cf33f2e7b8036ec42acf934983a5033ff0029

Deployed Bytecode

0x6060604052600436106100ae5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146101f457806318160ddd1461027e578063313ce567146102a35780633ccfd60b146102cc5780635a3b7e42146102e157806370a08231146102f45780638da5cb5b1461031357806395d89b4114610342578063a6f9dae114610355578063a9059cbb14610374578063b603cd8014610396575b600160a060020a033016600090815260026020526040812054819081908190116100d757600080fd5b30600160a060020a0316600090815260026020526040902054692a5a058fc295ed0000009350670de0b6b3a764000034850204925082111561017b57600160a060020a033016600090815260026020526040902054915082670de0b6b3a7640000830281151561014357fe5b04905033600160a060020a03166108fc8234039081150290604051600060405180830381858888f19350505050151561017b57600080fd5b6000821161018857600080fd5b600160a060020a0333811660008181526002602052604080822080548701905530909316808252908390208054869003905590917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a3505050005b34156101ff57600080fd5b6102076103a9565b60405160208082528190810183818151815260200191508051906020019080838360005b8381101561024357808201518382015260200161022b565b50505050905090810190601f1680156102705780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561028957600080fd5b610291610447565b60405190815260200160405180910390f35b34156102ae57600080fd5b6102b661044d565b60405160ff909116815260200160405180910390f35b34156102d757600080fd5b6102df610456565b005b34156102ec57600080fd5b6102076104ac565b34156102ff57600080fd5b610291600160a060020a0360043516610517565b341561031e57600080fd5b610326610529565b604051600160a060020a03909116815260200160405180910390f35b341561034d57600080fd5b610207610538565b341561036057600080fd5b6102df600160a060020a03600435166105a3565b341561037f57600080fd5b6102df600160a060020a03600435166024356105ed565b34156103a157600080fd5b6102df61067c565b60038054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561043f5780601f106104145761010080835404028352916020019161043f565b820191906000526020600020905b81548152906001019060200180831161042257829003601f168201915b505050505081565b60015481565b60065460ff1681565b60005433600160a060020a0390811691161461047157600080fd5b600054600160a060020a039081169030163180156108fc0290604051600060405180830381858888f1935050505015156104aa57600080fd5b565b60058054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561043f5780601f106104145761010080835404028352916020019161043f565b60026020526000908152604090205481565b600054600160a060020a031681565b60048054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561043f5780601f106104145761010080835404028352916020019161043f565b60005433600160a060020a039081169116146105be57600080fd5b6000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600160a060020a0333166000908152600260205260409020548190101561061357600080fd5b600160a060020a033381166000818152600260205260408082208054869003905592851680825290839020805485019055917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9084905190815260200160405180910390a35050565b60005433600160a060020a0390811691161461069757600080fd5b600054600160a060020a0316ff00a165627a7a7230582031a043ee27fe59f64401c924fb6bef4cf33f2e7b8036ec42acf934983a5033ff0029

Swarm Source

bzzr://31a043ee27fe59f64401c924fb6bef4cf33f2e7b8036ec42acf934983a5033ff
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.