ETH Price: $3,289.46 (-0.68%)

Contract

0x7F4B2A690605A7cbb66F7AA6885EbD906a5e2E9E
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Transfer112558962020-11-14 12:38:391526 days ago1605357519IN
TICOEX: Old Token
0 ETH0.0007363119.81571552
Transfer92983282020-01-17 10:56:231828 days ago1579258583IN
TICOEX: Old Token
0 ETH0.000031
Transfer92401642020-01-08 13:13:071837 days ago1578489187IN
TICOEX: Old Token
0 ETH0.0006918330
Transfer92399272020-01-08 12:11:481837 days ago1578485508IN
TICOEX: Old Token
0 ETH0.0006918330
Transfer92398332020-01-08 11:49:011837 days ago1578484141IN
TICOEX: Old Token
0 ETH0.0006918330
Transfer92397292020-01-08 11:24:491837 days ago1578482689IN
TICOEX: Old Token
0 ETH0.0006918330
Transfer92078572020-01-03 14:32:521842 days ago1578061972IN
TICOEX: Old Token
0 ETH0.0006918330
Transfer91521502019-12-23 19:24:241853 days ago1577129064IN
TICOEX: Old Token
0 ETH0.00014646.6
Transfer91521292019-12-23 19:18:181853 days ago1577128698IN
TICOEX: Old Token
0 ETH0.00020719
Transfer91521152019-12-23 19:14:001853 days ago1577128440IN
TICOEX: Old Token
0 ETH0.000151876.6
Transfer91261272019-12-18 15:04:001858 days ago1576681440IN
TICOEX: Old Token
0 ETH0.0003547216
Transfer90605472019-12-06 12:47:071870 days ago1575636427IN
TICOEX: Old Token
0 ETH0.000071983.3
Transfer90427692019-12-03 8:41:371873 days ago1575362497IN
TICOEX: Old Token
0 ETH0.000021871
Transfer90403692019-12-02 22:17:221874 days ago1575325042IN
TICOEX: Old Token
0 ETH0.0015119941
Transfer90266352019-11-30 11:55:531876 days ago1575114953IN
TICOEX: Old Token
0 ETH0.000021811
Transfer90266222019-11-30 11:52:591876 days ago1575114779IN
TICOEX: Old Token
0 ETH0.000051751
Transfer90170272019-11-28 19:09:481878 days ago1574968188IN
TICOEX: Old Token
0 ETH0.000259075
Transfer90115782019-11-27 19:49:081879 days ago1574884148IN
TICOEX: Old Token
0 ETH0.000176118.05
Transfer90096772019-11-27 11:53:381879 days ago1574855618IN
TICOEX: Old Token
0 ETH0.0013088460
Transfer90084242019-11-27 6:37:191879 days ago1574836639IN
TICOEX: Old Token
0 ETH0.0002413611
Transfer90083912019-11-27 6:28:031879 days ago1574836083IN
TICOEX: Old Token
0 ETH0.000073752
Transfer90083812019-11-27 6:23:561879 days ago1574835836IN
TICOEX: Old Token
0 ETH0.000103882
Transfer90078472019-11-27 4:03:381880 days ago1574827418IN
TICOEX: Old Token
0 ETH0.0007152330
Transfer90078422019-11-27 4:02:391880 days ago1574827359IN
TICOEX: Old Token
0 ETH0.0007152330
Transfer90078292019-11-27 3:58:191880 days ago1574827099IN
TICOEX: Old Token
0 ETH0.0007152330
View all transactions

Latest 3 internal transactions

Advanced mode:
Parent Transaction Hash Block
From
To
68625992018-12-10 19:25:352231 days ago1544469935
TICOEX: Old Token
0.001 ETH
68620682018-12-10 17:22:202231 days ago1544462540
TICOEX: Old Token
0.00026047 ETH
68617212018-12-10 16:03:102231 days ago1544457790
TICOEX: Old Token
0.00010655 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Topinvestmentcoin

Compiler Version
v0.4.25+commit.59dbf8f1

Optimization Enabled:
Yes with 200 runs

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

pragma solidity ^0.4.25;

library SafeMath {
  function mul(uint256 a, uint256 b) internal constant returns (uint256) {
    uint256 c = a * b;
    assert(a == 0 || c / a == b);
    return c;
  }

  function div(uint256 a, uint256 b) internal constant 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 constant returns (uint256) {
    assert(b <= a);
    return a - b;
  }

  function add(uint256 a, uint256 b) internal constant returns (uint256) {
    uint256 c = a + b;
    assert(c >= a);
    return c;
  }
}

    // ERC20 Token Smart Contract
    contract Topinvestmentcoin {
        
        string public constant name = "Topinvestmentcoin";
        string public constant symbol = "TICO";
        uint8 public constant decimals = 8;
        uint public _totalSupply = 20000000000000000;
        uint256 public RATE = 500;
        bool public isMinting = true;
        
        using SafeMath for uint256;
        address public owner;
        
         // Functions with this modifier can only be executed by the owner
         modifier onlyOwner() {
            if (msg.sender != owner) {
                throw;
            }
             _;
         }
     
        // Balances for each account
        mapping(address => uint256) balances;
        // Owner of account approves the transfer of an amount to another account
        mapping(address => mapping(address=>uint256)) allowed;

        // Its a payable function works as a token factory.
        function () payable{
            createTokens();
        }

        // Constructor
        constructor() public {
            owner = 0x1850363833e923c99e555710f889716c5bb46bb1; 
            balances[owner] = _totalSupply;
        }

        //allows owner to burn tokens that are not sold in a crowdsale
        function burnTokens(uint256 _value) onlyOwner {

             require(balances[msg.sender] >= _value && _value > 0 );
             _totalSupply = _totalSupply.sub(_value);
             balances[msg.sender] = balances[msg.sender].sub(_value);
             
        }



        // This function creates Tokens  
         function createTokens() payable {
            if(isMinting == true){
                require(msg.value > 0);
                uint256  tokens = msg.value.mul(RATE);
                balances[msg.sender] = balances[msg.sender].add(tokens);
                _totalSupply = _totalSupply.add(tokens);
                owner.transfer(msg.value);
            }
            else{
                throw;
            }
        }


        function endCrowdsale() onlyOwner {
            isMinting = false;
        }

        function changeCrowdsaleRate(uint256 _value) onlyOwner {
            RATE = _value;
        }


        
        function totalSupply() constant returns(uint256){
            return _totalSupply;
        }
        // What is the balance of a particular account?
        function balanceOf(address _owner) constant returns(uint256){
            return balances[_owner];
        }

         // Transfer the balance from owner's account to another account   
        function transfer(address _to, uint256 _value)  returns(bool) {
            require(balances[msg.sender] >= _value && _value > 0 );
            balances[msg.sender] = balances[msg.sender].sub(_value);
            balances[_to] = balances[_to].add(_value);
            Transfer(msg.sender, _to, _value);
            return true;
        }
        
    // 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 _value)  returns(bool) {
        require(allowed[_from][msg.sender] >= _value && balances[_from] >= _value && _value > 0);
        balances[_from] = balances[_from].sub(_value);
        balances[_to] = balances[_to].add(_value);
        allowed[_from][msg.sender] = allowed[_from][msg.sender].sub(_value);
        Transfer(_from, _to, _value);
        return true;
    }
    
    // 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 _value) returns(bool){
        allowed[msg.sender][_spender] = _value; 
        Approval(msg.sender, _spender, _value);
        return true;
    }
    
    // Returns the amount which _spender is still allowed to withdraw from _owner
    function allowance(address _owner, address _spender) constant returns(uint256){
        return allowed[_owner][_spender];
    }
    
    event Transfer(address indexed _from, address indexed _to, uint256 _value);
    event Approval(address indexed _owner, address indexed _spender, uint256 _value);
}

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":"_value","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":"endCrowdsale","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_from","type":"address"},{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transferFrom","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"isMinting","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"_totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_value","type":"uint256"}],"name":"changeCrowdsaleRate","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"RATE","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_value","type":"uint256"}],"name":"burnTokens","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_owner","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":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transfer","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"createTokens","outputs":[],"payable":true,"stateMutability":"payable","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"},{"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"}]

608060405266470de4df8200006000556101f460019081556002805460ff1916909117905534801561003057600080fd5b5060028054741850363833e923c99e555710f889716c5bb46bb10061010060a860020a0319909116179081905560008054610100909204600160a060020a03168152600360205260409020556109228061008b6000396000f3006080604052600436106100f05763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100fa578063095ea7b31461018457806318160ddd146101bc5780632095f2d4146101e357806323b872dd146101f85780632a8092df14610222578063313ce567146102375780633eaaf86b146102625780635c07ac9414610277578063664e97041461028f5780636d1b229d146102a457806370a08231146102bc5780638da5cb5b146102dd57806395d89b411461030e578063a9059cbb14610323578063b4427263146100f0578063dd62ed3e14610347575b6100f861036e565b005b34801561010657600080fd5b5061010f61043c565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610149578181015183820152602001610131565b50505050905090810190601f1680156101765780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561019057600080fd5b506101a8600160a060020a0360043516602435610473565b604080519115158252519081900360200190f35b3480156101c857600080fd5b506101d16104d9565b60408051918252519081900360200190f35b3480156101ef57600080fd5b506100f86104df565b34801561020457600080fd5b506101a8600160a060020a0360043581169060243516604435610507565b34801561022e57600080fd5b506101a8610676565b34801561024357600080fd5b5061024c61067f565b6040805160ff9092168252519081900360200190f35b34801561026e57600080fd5b506101d1610684565b34801561028357600080fd5b506100f860043561068a565b34801561029b57600080fd5b506101d16106ab565b3480156102b057600080fd5b506100f86004356106b1565b3480156102c857600080fd5b506101d1600160a060020a036004351661073f565b3480156102e957600080fd5b506102f261075a565b60408051600160a060020a039092168252519081900360200190f35b34801561031a57600080fd5b5061010f61076e565b34801561032f57600080fd5b506101a8600160a060020a03600435166024356107a5565b34801561035357600080fd5b506101d1600160a060020a036004358116906024351661087f565b60025460009060ff16151560011415610434576000341161038e57600080fd5b6001546103a290349063ffffffff6108aa16565b336000908152600360205260409020549091506103c5908263ffffffff6108d516565b33600090815260036020526040812091909155546103e9908263ffffffff6108d516565b6000908155600254604051600160a060020a0361010090920491909116913480156108fc02929091818181858888f1935050505015801561042e573d6000803e3d6000fd5b50610439565b600080fd5b50565b60408051808201909152601181527f546f70696e766573746d656e74636f696e000000000000000000000000000000602082015281565b336000818152600460209081526040808320600160a060020a038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a350600192915050565b60005490565b6002546101009004600160a060020a031633146104fb57600080fd5b6002805460ff19169055565b600160a060020a038316600090815260046020908152604080832033845290915281205482118015906105525750600160a060020a0384166000908152600360205260409020548211155b801561055e5750600082115b151561056957600080fd5b600160a060020a038416600090815260036020526040902054610592908363ffffffff6108e416565b600160a060020a0380861660009081526003602052604080822093909355908516815220546105c7908363ffffffff6108d516565b600160a060020a03808516600090815260036020908152604080832094909455918716815260048252828120338252909152205461060b908363ffffffff6108e416565b600160a060020a03808616600081815260046020908152604080832033845282529182902094909455805186815290519287169391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a35060019392505050565b60025460ff1681565b600881565b60005481565b6002546101009004600160a060020a031633146106a657600080fd5b600155565b60015481565b6002546101009004600160a060020a031633146106cd57600080fd5b3360009081526003602052604090205481118015906106ec5750600081115b15156106f757600080fd5b60005461070a908263ffffffff6108e416565b60009081553381526003602052604090205461072c908263ffffffff6108e416565b3360009081526003602052604090205550565b600160a060020a031660009081526003602052604090205490565b6002546101009004600160a060020a031681565b60408051808201909152600481527f5449434f00000000000000000000000000000000000000000000000000000000602082015281565b3360009081526003602052604081205482118015906107c45750600082115b15156107cf57600080fd5b336000908152600360205260409020546107ef908363ffffffff6108e416565b3360009081526003602052604080822092909255600160a060020a03851681522054610821908363ffffffff6108d516565b600160a060020a0384166000818152600360209081526040918290209390935580518581529051919233927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a350600192915050565b600160a060020a03918216600090815260046020908152604080832093909416825291909152205490565b60008282028315806108c657508284828115156108c357fe5b04145b15156108ce57fe5b9392505050565b6000828201838110156108ce57fe5b6000828211156108f057fe5b509003905600a165627a7a72305820eb73b93e790c63fd81e28863cf31d505e385cfff099d838caa830f92fd46f22a0029

Deployed Bytecode

0x6080604052600436106100f05763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100fa578063095ea7b31461018457806318160ddd146101bc5780632095f2d4146101e357806323b872dd146101f85780632a8092df14610222578063313ce567146102375780633eaaf86b146102625780635c07ac9414610277578063664e97041461028f5780636d1b229d146102a457806370a08231146102bc5780638da5cb5b146102dd57806395d89b411461030e578063a9059cbb14610323578063b4427263146100f0578063dd62ed3e14610347575b6100f861036e565b005b34801561010657600080fd5b5061010f61043c565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610149578181015183820152602001610131565b50505050905090810190601f1680156101765780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561019057600080fd5b506101a8600160a060020a0360043516602435610473565b604080519115158252519081900360200190f35b3480156101c857600080fd5b506101d16104d9565b60408051918252519081900360200190f35b3480156101ef57600080fd5b506100f86104df565b34801561020457600080fd5b506101a8600160a060020a0360043581169060243516604435610507565b34801561022e57600080fd5b506101a8610676565b34801561024357600080fd5b5061024c61067f565b6040805160ff9092168252519081900360200190f35b34801561026e57600080fd5b506101d1610684565b34801561028357600080fd5b506100f860043561068a565b34801561029b57600080fd5b506101d16106ab565b3480156102b057600080fd5b506100f86004356106b1565b3480156102c857600080fd5b506101d1600160a060020a036004351661073f565b3480156102e957600080fd5b506102f261075a565b60408051600160a060020a039092168252519081900360200190f35b34801561031a57600080fd5b5061010f61076e565b34801561032f57600080fd5b506101a8600160a060020a03600435166024356107a5565b34801561035357600080fd5b506101d1600160a060020a036004358116906024351661087f565b60025460009060ff16151560011415610434576000341161038e57600080fd5b6001546103a290349063ffffffff6108aa16565b336000908152600360205260409020549091506103c5908263ffffffff6108d516565b33600090815260036020526040812091909155546103e9908263ffffffff6108d516565b6000908155600254604051600160a060020a0361010090920491909116913480156108fc02929091818181858888f1935050505015801561042e573d6000803e3d6000fd5b50610439565b600080fd5b50565b60408051808201909152601181527f546f70696e766573746d656e74636f696e000000000000000000000000000000602082015281565b336000818152600460209081526040808320600160a060020a038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a350600192915050565b60005490565b6002546101009004600160a060020a031633146104fb57600080fd5b6002805460ff19169055565b600160a060020a038316600090815260046020908152604080832033845290915281205482118015906105525750600160a060020a0384166000908152600360205260409020548211155b801561055e5750600082115b151561056957600080fd5b600160a060020a038416600090815260036020526040902054610592908363ffffffff6108e416565b600160a060020a0380861660009081526003602052604080822093909355908516815220546105c7908363ffffffff6108d516565b600160a060020a03808516600090815260036020908152604080832094909455918716815260048252828120338252909152205461060b908363ffffffff6108e416565b600160a060020a03808616600081815260046020908152604080832033845282529182902094909455805186815290519287169391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a35060019392505050565b60025460ff1681565b600881565b60005481565b6002546101009004600160a060020a031633146106a657600080fd5b600155565b60015481565b6002546101009004600160a060020a031633146106cd57600080fd5b3360009081526003602052604090205481118015906106ec5750600081115b15156106f757600080fd5b60005461070a908263ffffffff6108e416565b60009081553381526003602052604090205461072c908263ffffffff6108e416565b3360009081526003602052604090205550565b600160a060020a031660009081526003602052604090205490565b6002546101009004600160a060020a031681565b60408051808201909152600481527f5449434f00000000000000000000000000000000000000000000000000000000602082015281565b3360009081526003602052604081205482118015906107c45750600082115b15156107cf57600080fd5b336000908152600360205260409020546107ef908363ffffffff6108e416565b3360009081526003602052604080822092909255600160a060020a03851681522054610821908363ffffffff6108d516565b600160a060020a0384166000818152600360209081526040918290209390935580518581529051919233927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a350600192915050565b600160a060020a03918216600090815260046020908152604080832093909416825291909152205490565b60008282028315806108c657508284828115156108c357fe5b04145b15156108ce57fe5b9392505050565b6000828201838110156108ce57fe5b6000828211156108f057fe5b509003905600a165627a7a72305820eb73b93e790c63fd81e28863cf31d505e385cfff099d838caa830f92fd46f22a0029

Swarm Source

bzzr://eb73b93e790c63fd81e28863cf31d505e385cfff099d838caa830f92fd46f22a

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
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.