ETH Price: $3,126.97 (-0.31%)
Gas: 9.94 Gwei

Token

Coin Tour (COT)
 

Overview

Max Total Supply

19,120,000.00002 COT

Holders

6,141

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 8 Decimals)

Balance
2,000 COT

Value
$0.00
0x8799fefe5051fdbd36117519c60abdfec82654a3
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:
CoinTour

Compiler Version
v0.4.13+commit.fb4cb1a

Optimization Enabled:
Yes with 200 runs

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

pragma solidity ^0.4.13;

contract Ownable {
    
    address owner;
    
    function Ownable() public{
        owner = msg.sender;
    }

    modifier onlyOwner() {
        require(msg.sender == owner);
        _;
    }

    function transferOwnership(address newOwner) public onlyOwner{
    require(newOwner != address(0));      
    owner = newOwner;
  }
}

contract CoinTour is Ownable {
    
    string public  name  = "Coin Tour";
    
    string public  symbol = "COT";
    
    uint32 public  decimals = 8 ;
    
    uint public totalSupply = 2100000000000000;
    
    uint public etap = 1000000000000000;
    
    uint public forCommand = 100000000000000;
    
    uint public sendCount = 200000000000;
    
    address public commandAddress = 0xA92AdaA9B9C4F2A4219132E6B9bd07B6a1F4e01e;
    
    uint startEtap1 = 1511949600;
    uint endEtap1 = 1512028800;
    
    uint startEtap2 = 1512468000;
    uint endEtap2 = 1512554400;

    mapping (address => uint) balances;
    
    mapping (address => mapping(address => uint)) allowed;
    
    function CoinTour() public {
        balances[commandAddress] = forCommand;
        balances[owner] = totalSupply-forCommand;
    }
    
    function balanceOf(address who) public constant returns (uint balance) {
        return balances[who];
    }

    function transfer(address _to, uint _value) public returns (bool success) {
            if(balances[msg.sender] >= _value && balances[_to] + _value >= balances[_to]) {
                balances[msg.sender] -= _value; 
                balances[_to] += _value;
                Transfer(msg.sender, _to, _value);
                return true;
            }
        return false;
    }
    
    function multisend(address[] temp) public onlyOwner returns (bool success){
        if((now > startEtap1 && now < endEtap1)||(now > startEtap2 && now < endEtap2)){
            for(uint i = 0; i < temp.length; i++) {
                if (now>=startEtap1 && now <=endEtap1 && balances[owner]>etap || now>=startEtap2 && now <=endEtap2 && balances[owner]>0){
                    balances[owner] -= sendCount;
                    balances[temp[i]] += sendCount;
                    Transfer(owner, temp[i],sendCount);
                }
            }
            return true; 
        }
        return false;
    }
    
    function burn() onlyOwner public {
        require (now>=endEtap1 && now <=startEtap2 || now >= endEtap2);
        uint _value;
        if (now>=endEtap1 && now <=startEtap2) {
            _value = balances[owner] - etap;
            require(_value > 0);
        }
        else _value = balances[owner];
        balances[owner] -= _value;
        totalSupply -= _value;
        Burn(owner, _value);
    }
    
    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 Burn(address indexed burner, uint indexed value);

    event Transfer(address indexed _from, address indexed _to, uint _value);
    
    event Approval(address indexed _owner, address indexed _spender, uint _value);   
}

Contract Security Audit

Contract ABI

[{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_value","type":"uint256"}],"name":"approve","outputs":[{"name":"success","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"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,"type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint32"}],"payable":false,"type":"function"},{"constant":false,"inputs":[],"name":"burn","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"temp","type":"address[]"}],"name":"multisend","outputs":[{"name":"success","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"forCommand","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"sendCount","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"who","type":"address"}],"name":"balanceOf","outputs":[{"name":"balance","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"etap","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transfer","outputs":[{"name":"success","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"commandAddress","outputs":[{"name":"","type":"address"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"},{"name":"_spender","type":"address"}],"name":"allowance","outputs":[{"name":"remaining","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"type":"function"},{"inputs":[],"payable":false,"type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"name":"burner","type":"address"},{"indexed":true,"name":"value","type":"uint256"}],"name":"Burn","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"},{"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"}]

606060405260408051908101604052600981527f436f696e20546f757200000000000000000000000000000000000000000000006020820152600190805161004b929160200190610177565b5060408051908101604052600381527f434f54000000000000000000000000000000000000000000000000000000000060208201526002908051610093929160200190610177565b506003805463ffffffff19166008908117909155660775f05a07400060045566038d7ea4c68000600555655af3107a4000600655642e90edd0006007558054600160a060020a03191673a92adaa9b9c4f2a4219132e6b9bd07b6a1f4e01e179055635a1e8520600955635a1fba80600a55635a266e20600b55635a27bfa0600c55341561011f57600080fd5b5b5b60008054600160a060020a03191633600160a060020a03161790555b600654600854600160a060020a039081166000908152600d602052604080822084905560045482549093168252902091900390555b610217565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106101b857805160ff19168380011785556101e5565b828001600101855582156101e5579182015b828111156101e55782518255916020019190600101906101ca565b5b506101f29291506101f6565b5090565b61021491905b808211156101f257600081556001016101fc565b5090565b90565b610bdd806102266000396000f300606060405236156100e35763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100e8578063095ea7b31461017357806318160ddd146101a957806323b872dd146101ce578063313ce5671461020a57806344df8e70146102365780634d2e1b7f1461024b578063697fa3e6146102ae5780636ed65dae146102d357806370a08231146102f85780637686cea91461032957806395d89b411461034e578063a9059cbb146103d9578063ca733c321461040f578063dd62ed3e1461043e578063f2fde38b14610475575b600080fd5b34156100f357600080fd5b6100fb610496565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156101385780820151818401525b60200161011f565b50505050905090810190601f1680156101655780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561017e57600080fd5b610195600160a060020a0360043516602435610534565b604051901515815260200160405180910390f35b34156101b457600080fd5b6101bc6105a1565b60405190815260200160405180910390f35b34156101d957600080fd5b610195600160a060020a03600435811690602435166044356105a7565b604051901515815260200160405180910390f35b341561021557600080fd5b61021d6106ba565b60405163ffffffff909116815260200160405180910390f35b341561024157600080fd5b6102496106c6565b005b341561025657600080fd5b61019560046024813581810190830135806020818102016040519081016040528093929190818152602001838360200280828437509496506107d695505050505050565b604051901515815260200160405180910390f35b34156102b957600080fd5b6101bc61098a565b60405190815260200160405180910390f35b34156102de57600080fd5b6101bc610990565b60405190815260200160405180910390f35b341561030357600080fd5b6101bc600160a060020a0360043516610996565b60405190815260200160405180910390f35b341561033457600080fd5b6101bc6109b5565b60405190815260200160405180910390f35b341561035957600080fd5b6100fb6109bb565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156101385780820151818401525b60200161011f565b50505050905090810190601f1680156101655780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156103e457600080fd5b610195600160a060020a0360043516602435610a59565b604051901515815260200160405180910390f35b341561041a57600080fd5b610422610b18565b604051600160a060020a03909116815260200160405180910390f35b341561044957600080fd5b6101bc600160a060020a0360043581169060243516610b27565b60405190815260200160405180910390f35b341561048057600080fd5b610249600160a060020a0360043516610b54565b005b60018054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561052c5780601f106105015761010080835404028352916020019161052c565b820191906000526020600020905b81548152906001019060200180831161050f57829003601f168201915b505050505081565b600160a060020a033381166000818152600e6020908152604080832094871680845294909152808220859055909291907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a35060015b92915050565b60045481565b600160a060020a038084166000908152600e60209081526040808320339094168352929052908120548290108015906105f95750600160a060020a0384166000908152600d6020526040902054829010155b801561061f5750600160a060020a0383166000908152600d602052604090205482810110155b156106af57600160a060020a038085166000818152600e602090815260408083203386168452825280832080548890039055838352600d9091528082208054879003905592861680825290839020805486019055917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a35060016106b3565b5060005b9392505050565b60035463ffffffff1681565b6000805433600160a060020a039081169116146106e257600080fd5b600a5442101580156106f65750600b544211155b806107035750600c544210155b151561070e57600080fd5b600a5442101580156107225750600b544211155b15610759575060055460008054600160a060020a03168152600d60205260408120549190910390811161075457600080fd5b610774565b5060008054600160a060020a03168152600d60205260409020545b60008054600160a060020a039081168252600d602052604080832080548590039055600480548590039055915483929116907fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca5905160405180910390a35b5b50565b60008054819033600160a060020a039081169116146107f457600080fd5b600954421180156108065750600a5442105b8061081e5750600b544211801561081e5750600c5442105b5b1561097e575060005b82518110156109755760095442101580156108455750600a544211155b801561086a575060055460008054600160a060020a03168152600d6020526040902054115b806108a65750600b5442101580156108845750600c544211155b80156108a6575060008054600160a060020a03168152600d6020526040812054115b5b1561096c576007805460008054600160a060020a03168152600d6020819052604082208054939093039092559154918584815181106108e257fe5b90602001906020020151600160a060020a0316815260208101919091526040016000208054909101905582818151811061091857fe5b90602001906020020151600054600754600160a060020a0392831692909116907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060405190815260200160405180910390a35b5b600101610828565b60019150610983565b600091505b5b50919050565b60065481565b60075481565b600160a060020a0381166000908152600d60205260409020545b919050565b60055481565b60028054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561052c5780601f106105015761010080835404028352916020019161052c565b820191906000526020600020905b81548152906001019060200180831161050f57829003601f168201915b505050505081565b600160a060020a0333166000908152600d6020526040812054829010801590610a9c5750600160a060020a0383166000908152600d602052604090205482810110155b15610b0e57600160a060020a033381166000818152600d60205260408082208054879003905592861680825290839020805486019055917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a350600161059b565b5060005b92915050565b600854600160a060020a031681565b600160a060020a038083166000908152600e60209081526040808320938516835292905220545b92915050565b60005433600160a060020a03908116911614610b6f57600080fd5b600160a060020a0381161515610b8457600080fd5b6000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383161790555b5b505600a165627a7a723058204dbbb878ca7d57daecef068e63694bb604eaef864a7ede2ceefa0d392371a1c90029

Deployed Bytecode

0x606060405236156100e35763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100e8578063095ea7b31461017357806318160ddd146101a957806323b872dd146101ce578063313ce5671461020a57806344df8e70146102365780634d2e1b7f1461024b578063697fa3e6146102ae5780636ed65dae146102d357806370a08231146102f85780637686cea91461032957806395d89b411461034e578063a9059cbb146103d9578063ca733c321461040f578063dd62ed3e1461043e578063f2fde38b14610475575b600080fd5b34156100f357600080fd5b6100fb610496565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156101385780820151818401525b60200161011f565b50505050905090810190601f1680156101655780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561017e57600080fd5b610195600160a060020a0360043516602435610534565b604051901515815260200160405180910390f35b34156101b457600080fd5b6101bc6105a1565b60405190815260200160405180910390f35b34156101d957600080fd5b610195600160a060020a03600435811690602435166044356105a7565b604051901515815260200160405180910390f35b341561021557600080fd5b61021d6106ba565b60405163ffffffff909116815260200160405180910390f35b341561024157600080fd5b6102496106c6565b005b341561025657600080fd5b61019560046024813581810190830135806020818102016040519081016040528093929190818152602001838360200280828437509496506107d695505050505050565b604051901515815260200160405180910390f35b34156102b957600080fd5b6101bc61098a565b60405190815260200160405180910390f35b34156102de57600080fd5b6101bc610990565b60405190815260200160405180910390f35b341561030357600080fd5b6101bc600160a060020a0360043516610996565b60405190815260200160405180910390f35b341561033457600080fd5b6101bc6109b5565b60405190815260200160405180910390f35b341561035957600080fd5b6100fb6109bb565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156101385780820151818401525b60200161011f565b50505050905090810190601f1680156101655780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156103e457600080fd5b610195600160a060020a0360043516602435610a59565b604051901515815260200160405180910390f35b341561041a57600080fd5b610422610b18565b604051600160a060020a03909116815260200160405180910390f35b341561044957600080fd5b6101bc600160a060020a0360043581169060243516610b27565b60405190815260200160405180910390f35b341561048057600080fd5b610249600160a060020a0360043516610b54565b005b60018054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561052c5780601f106105015761010080835404028352916020019161052c565b820191906000526020600020905b81548152906001019060200180831161050f57829003601f168201915b505050505081565b600160a060020a033381166000818152600e6020908152604080832094871680845294909152808220859055909291907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a35060015b92915050565b60045481565b600160a060020a038084166000908152600e60209081526040808320339094168352929052908120548290108015906105f95750600160a060020a0384166000908152600d6020526040902054829010155b801561061f5750600160a060020a0383166000908152600d602052604090205482810110155b156106af57600160a060020a038085166000818152600e602090815260408083203386168452825280832080548890039055838352600d9091528082208054879003905592861680825290839020805486019055917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a35060016106b3565b5060005b9392505050565b60035463ffffffff1681565b6000805433600160a060020a039081169116146106e257600080fd5b600a5442101580156106f65750600b544211155b806107035750600c544210155b151561070e57600080fd5b600a5442101580156107225750600b544211155b15610759575060055460008054600160a060020a03168152600d60205260408120549190910390811161075457600080fd5b610774565b5060008054600160a060020a03168152600d60205260409020545b60008054600160a060020a039081168252600d602052604080832080548590039055600480548590039055915483929116907fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca5905160405180910390a35b5b50565b60008054819033600160a060020a039081169116146107f457600080fd5b600954421180156108065750600a5442105b8061081e5750600b544211801561081e5750600c5442105b5b1561097e575060005b82518110156109755760095442101580156108455750600a544211155b801561086a575060055460008054600160a060020a03168152600d6020526040902054115b806108a65750600b5442101580156108845750600c544211155b80156108a6575060008054600160a060020a03168152600d6020526040812054115b5b1561096c576007805460008054600160a060020a03168152600d6020819052604082208054939093039092559154918584815181106108e257fe5b90602001906020020151600160a060020a0316815260208101919091526040016000208054909101905582818151811061091857fe5b90602001906020020151600054600754600160a060020a0392831692909116907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060405190815260200160405180910390a35b5b600101610828565b60019150610983565b600091505b5b50919050565b60065481565b60075481565b600160a060020a0381166000908152600d60205260409020545b919050565b60055481565b60028054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561052c5780601f106105015761010080835404028352916020019161052c565b820191906000526020600020905b81548152906001019060200180831161050f57829003601f168201915b505050505081565b600160a060020a0333166000908152600d6020526040812054829010801590610a9c5750600160a060020a0383166000908152600d602052604090205482810110155b15610b0e57600160a060020a033381166000818152600d60205260408082208054879003905592861680825290839020805486019055917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a350600161059b565b5060005b92915050565b600854600160a060020a031681565b600160a060020a038083166000908152600e60209081526040808320938516835292905220545b92915050565b60005433600160a060020a03908116911614610b6f57600080fd5b600160a060020a0381161515610b8457600080fd5b6000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383161790555b5b505600a165627a7a723058204dbbb878ca7d57daecef068e63694bb604eaef864a7ede2ceefa0d392371a1c90029

Swarm Source

bzzr://4dbbb878ca7d57daecef068e63694bb604eaef864a7ede2ceefa0d392371a1c9
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.