ETH Price: $3,119.77 (-1.50%)
 

Overview

ETH Balance

0.053077205083874585 ETH

Eth Value

$165.59 (@ $3,119.77/ETH)

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Send Value51478622018-02-24 12:26:542531 days ago1519475214IN
CarTaxiBonus
0 ETH0.000093873
Send Value51478622018-02-24 12:26:542531 days ago1519475214IN
CarTaxiBonus
0 ETH0.000093873
Send Value51478622018-02-24 12:26:542531 days ago1519475214IN
CarTaxiBonus
0 ETH0.000093873
Send Value51478622018-02-24 12:26:542531 days ago1519475214IN
CarTaxiBonus
0 ETH0.000093873
Send Value51478622018-02-24 12:26:542531 days ago1519475214IN
CarTaxiBonus
0 ETH0.000168873
Send Value51478622018-02-24 12:26:542531 days ago1519475214IN
CarTaxiBonus
0 ETH0.000168873
Send Value51478622018-02-24 12:26:542531 days ago1519475214IN
CarTaxiBonus
0 ETH0.000094063
Send Value51478622018-02-24 12:26:542531 days ago1519475214IN
CarTaxiBonus
0 ETH0.000093873
Send Value51478622018-02-24 12:26:542531 days ago1519475214IN
CarTaxiBonus
0 ETH0.000093673
Send Value51478622018-02-24 12:26:542531 days ago1519475214IN
CarTaxiBonus
0 ETH0.000093673
Send Value51478622018-02-24 12:26:542531 days ago1519475214IN
CarTaxiBonus
0 ETH0.000093873
Send Value51478622018-02-24 12:26:542531 days ago1519475214IN
CarTaxiBonus
0 ETH0.000093873
Send Value51478622018-02-24 12:26:542531 days ago1519475214IN
CarTaxiBonus
0 ETH0.000093873
Send Value51478622018-02-24 12:26:542531 days ago1519475214IN
CarTaxiBonus
0 ETH0.000093673
Send Value51478622018-02-24 12:26:542531 days ago1519475214IN
CarTaxiBonus
0 ETH0.000093873
Send Value51478622018-02-24 12:26:542531 days ago1519475214IN
CarTaxiBonus
0 ETH0.000093873
Send Value51478622018-02-24 12:26:542531 days ago1519475214IN
CarTaxiBonus
0 ETH0.000093673
Send Value51478622018-02-24 12:26:542531 days ago1519475214IN
CarTaxiBonus
0 ETH0.000093873
Send Value51478622018-02-24 12:26:542531 days ago1519475214IN
CarTaxiBonus
0 ETH0.000093873
Send Value51478622018-02-24 12:26:542531 days ago1519475214IN
CarTaxiBonus
0 ETH0.000093673
Send Value51478622018-02-24 12:26:542531 days ago1519475214IN
CarTaxiBonus
0 ETH0.000093873
Send Value51478622018-02-24 12:26:542531 days ago1519475214IN
CarTaxiBonus
0 ETH0.000168673
Send Value51478622018-02-24 12:26:542531 days ago1519475214IN
CarTaxiBonus
0 ETH0.000168293
Send Value51478622018-02-24 12:26:542531 days ago1519475214IN
CarTaxiBonus
0 ETH0.000093873
Send Value51478622018-02-24 12:26:542531 days ago1519475214IN
CarTaxiBonus
0 ETH0.000093673
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block
From
To
51478622018-02-24 12:26:542531 days ago1519475214
CarTaxiBonus
0.00259923 ETH
51478622018-02-24 12:26:542531 days ago1519475214
CarTaxiBonus
0.00552653 ETH
51478622018-02-24 12:26:542531 days ago1519475214
CarTaxiBonus
0.00123271 ETH
51478622018-02-24 12:26:542531 days ago1519475214
CarTaxiBonus
0.00042041 ETH
51478622018-02-24 12:26:542531 days ago1519475214
CarTaxiBonus
0.0008348 ETH
51478622018-02-24 12:26:542531 days ago1519475214
CarTaxiBonus
0.00034062 ETH
51478622018-02-24 12:26:542531 days ago1519475214
CarTaxiBonus
0.07784557 ETH
51478622018-02-24 12:26:542531 days ago1519475214
CarTaxiBonus
0.00270339 ETH
51478622018-02-24 12:26:542531 days ago1519475214
CarTaxiBonus
0.00003072 ETH
51478622018-02-24 12:26:542531 days ago1519475214
CarTaxiBonus
0.00006146 ETH
51478622018-02-24 12:26:542531 days ago1519475214
CarTaxiBonus
0.00276518 ETH
51478622018-02-24 12:26:542531 days ago1519475214
CarTaxiBonus
0.00074623 ETH
51478622018-02-24 12:26:542531 days ago1519475214
CarTaxiBonus
0.00287173 ETH
51478622018-02-24 12:26:542531 days ago1519475214
CarTaxiBonus
0.0001263 ETH
51478622018-02-24 12:26:542531 days ago1519475214
CarTaxiBonus
0.00034062 ETH
51478622018-02-24 12:26:542531 days ago1519475214
CarTaxiBonus
0.00035111 ETH
51478622018-02-24 12:26:542531 days ago1519475214
CarTaxiBonus
0.00013968 ETH
51478622018-02-24 12:26:542531 days ago1519475214
CarTaxiBonus
0.00476873 ETH
51478622018-02-24 12:26:542531 days ago1519475214
CarTaxiBonus
0.00034062 ETH
51478622018-02-24 12:26:542531 days ago1519475214
CarTaxiBonus
0.000107 ETH
51478622018-02-24 12:26:542531 days ago1519475214
CarTaxiBonus
0.00197561 ETH
51478622018-02-24 12:26:542531 days ago1519475214
CarTaxiBonus
0.00018768 ETH
51478622018-02-24 12:26:542531 days ago1519475214
CarTaxiBonus
0.00008941 ETH
51478622018-02-24 12:26:542531 days ago1519475214
CarTaxiBonus
0.01214837 ETH
51478622018-02-24 12:26:542531 days ago1519475214
CarTaxiBonus
0.00006059 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
CarTaxiBonus

Compiler Version
v0.4.17-nightly.2017.9.21+commit.725b4fc2

Optimization Enabled:
No with 200 runs

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

pragma solidity ^0.4.11;


contract CarTaxiCrowdsale {
    function soldTokensOnPreIco() constant returns (uint256);
    function soldTokensOnIco() constant returns (uint256);
}

contract CarTaxiToken {
    function balanceOf(address owner) constant returns (uint256 balance);
    function getOwnerCount() constant returns (uint256 value);
}

contract CarTaxiBonus {

    CarTaxiCrowdsale public carTaxiCrowdsale;
    CarTaxiToken public carTaxiToken;


    address public owner;
    address public carTaxiCrowdsaleAddress = 0x77CeFf4173a56cd22b6184Fa59c668B364aE55B8;
    address public carTaxiTokenAddress = 0x662aBcAd0b7f345AB7FfB1b1fbb9Df7894f18e66;

    uint constant BASE = 1000000000000000000;
    uint public totalTokens;
    uint public totalBonuses;
    uint public iteration = 0;
    
    bool init = false;

    //mapping (address => bool) private contributors;


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

    function setOwner(address _owner) public onlyOwner{
        require(_owner != 0x0);
        owner = _owner;
    }

    function CarTaxiBonus() {
        owner = msg.sender;
        carTaxiCrowdsale = CarTaxiCrowdsale(carTaxiCrowdsaleAddress);
        carTaxiToken = CarTaxiToken(carTaxiTokenAddress);
    }

    function sendValue(address addr, uint256 val) public onlyOwner{
        addr.transfer(val);
    }

    function setTotalTokens(uint256 _totalTokens) public onlyOwner{
        totalTokens = _totalTokens;
    }

    function setTotalBonuses(uint256 _totalBonuses) public onlyOwner{
        totalBonuses = _totalBonuses;
    }

    function sendAuto(address addr) public onlyOwner{

        uint256 addrTokens = carTaxiToken.balanceOf(addr);

        require(addrTokens > 0);
        require(totalTokens > 0);

        uint256 pie = addrTokens * totalBonuses / totalTokens;

        addr.transfer(pie);
        
    }

    function withdrawEther() public onlyOwner {
        require(this.balance > 0);
        owner.transfer(this.balance);
    }
    
    function () payable { }
  
}

Contract Security Audit

Contract ABI

[{"constant":true,"inputs":[],"name":"iteration","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_owner","type":"address"}],"name":"setOwner","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"carTaxiTokenAddress","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"addr","type":"address"},{"name":"val","type":"uint256"}],"name":"sendValue","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"addr","type":"address"}],"name":"sendAuto","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"carTaxiCrowdsale","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"withdrawEther","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"totalTokens","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":"carTaxiToken","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_totalTokens","type":"uint256"}],"name":"setTotalTokens","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"carTaxiCrowdsaleAddress","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_totalBonuses","type":"uint256"}],"name":"setTotalBonuses","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"totalBonuses","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"}]

60606040527377ceff4173a56cd22b6184fa59c668b364ae55b8600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555073662abcad0b7f345ab7ffb1b1fbb9df7894f18e66600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060006007556000600860006101000a81548160ff02191690831515021790555034156100d957600080fd5b33600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506109e7806101ee6000396000f300606060405236156100ce576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff1680630c0399a4146100d057806313af4035146100f95780631e550ca21461013257806324a084df14610187578063376d1555146101c95780635ab68072146102025780637362377b146102575780637e1c0c091461026c5780638da5cb5b14610295578063a43b7cd5146102ea578063b0b922631461033f578063be01bc8714610362578063e5d8103e146103b7578063f9bacc1c146103da575b005b34156100db57600080fd5b6100e3610403565b6040518082815260200191505060405180910390f35b341561010457600080fd5b610130600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610409565b005b341561013d57600080fd5b6101456104cf565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561019257600080fd5b6101c7600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919080359060200190919050506104f5565b005b34156101d457600080fd5b610200600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610595565b005b341561020d57600080fd5b61021561074f565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561026257600080fd5b61026a610774565b005b341561027757600080fd5b61027f610871565b6040518082815260200191505060405180910390f35b34156102a057600080fd5b6102a8610877565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34156102f557600080fd5b6102fd61089d565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561034a57600080fd5b61036060048080359060200190919050506108c3565b005b341561036d57600080fd5b610375610929565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34156103c257600080fd5b6103d8600480803590602001909190505061094f565b005b34156103e557600080fd5b6103ed6109b5565b6040518082815260200191505060405180910390f35b60075481565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561046557600080fd5b60008173ffffffffffffffffffffffffffffffffffffffff161415151561048b57600080fd5b80600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561055157600080fd5b8173ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050151561059157600080fd5b5050565b600080600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156105f457600080fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231846000604051602001526040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050602060405180830381600087803b15156106b957600080fd5b6102c65a03f115156106ca57600080fd5b5050506040518051905091506000821115156106e557600080fd5b60006005541115156106f657600080fd5b600554600654830281151561070757fe5b0490508273ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050151561074a57600080fd5b505050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156107d057600080fd5b60003073ffffffffffffffffffffffffffffffffffffffff16311115156107f657600080fd5b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc3073ffffffffffffffffffffffffffffffffffffffff16319081150290604051600060405180830381858888f19350505050151561086f57600080fd5b565b60055481565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561091f57600080fd5b8060058190555050565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156109ab57600080fd5b8060068190555050565b600654815600a165627a7a723058202e20b475b3f503706fb5887285bbb3e24576eaa265babf5f0a42bf6a676afcb80029

Deployed Bytecode

0x606060405236156100ce576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff1680630c0399a4146100d057806313af4035146100f95780631e550ca21461013257806324a084df14610187578063376d1555146101c95780635ab68072146102025780637362377b146102575780637e1c0c091461026c5780638da5cb5b14610295578063a43b7cd5146102ea578063b0b922631461033f578063be01bc8714610362578063e5d8103e146103b7578063f9bacc1c146103da575b005b34156100db57600080fd5b6100e3610403565b6040518082815260200191505060405180910390f35b341561010457600080fd5b610130600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610409565b005b341561013d57600080fd5b6101456104cf565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561019257600080fd5b6101c7600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919080359060200190919050506104f5565b005b34156101d457600080fd5b610200600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610595565b005b341561020d57600080fd5b61021561074f565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561026257600080fd5b61026a610774565b005b341561027757600080fd5b61027f610871565b6040518082815260200191505060405180910390f35b34156102a057600080fd5b6102a8610877565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34156102f557600080fd5b6102fd61089d565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561034a57600080fd5b61036060048080359060200190919050506108c3565b005b341561036d57600080fd5b610375610929565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34156103c257600080fd5b6103d8600480803590602001909190505061094f565b005b34156103e557600080fd5b6103ed6109b5565b6040518082815260200191505060405180910390f35b60075481565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561046557600080fd5b60008173ffffffffffffffffffffffffffffffffffffffff161415151561048b57600080fd5b80600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561055157600080fd5b8173ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050151561059157600080fd5b5050565b600080600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156105f457600080fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231846000604051602001526040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050602060405180830381600087803b15156106b957600080fd5b6102c65a03f115156106ca57600080fd5b5050506040518051905091506000821115156106e557600080fd5b60006005541115156106f657600080fd5b600554600654830281151561070757fe5b0490508273ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050151561074a57600080fd5b505050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156107d057600080fd5b60003073ffffffffffffffffffffffffffffffffffffffff16311115156107f657600080fd5b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc3073ffffffffffffffffffffffffffffffffffffffff16319081150290604051600060405180830381858888f19350505050151561086f57600080fd5b565b60055481565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561091f57600080fd5b8060058190555050565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156109ab57600080fd5b8060068190555050565b600654815600a165627a7a723058202e20b475b3f503706fb5887285bbb3e24576eaa265babf5f0a42bf6a676afcb80029

Swarm Source

bzzr://2e20b475b3f503706fb5887285bbb3e24576eaa265babf5f0a42bf6a676afcb8

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.