ETH Price: $2,908.08 (+3.06%)
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Transfer56848882018-05-27 9:27:572356 days ago1527413277IN
0xEA091331...D92E2e176
0.005 ETH0.000204259.1
Transfer48959402018-01-12 11:56:542491 days ago1515758214IN
0xEA091331...D92E2e176
0.1 ETH0.0010550
Transfer48959062018-01-12 11:47:182491 days ago1515757638IN
0xEA091331...D92E2e176
0.1 ETH0.00086141
Transfer48958362018-01-12 11:27:492491 days ago1515756469IN
0xEA091331...D92E2e176
0.1 ETH0.00086141
Transfer48955732018-01-12 10:20:532491 days ago1515752453IN
0xEA091331...D92E2e176
0.09 ETH0.0012794257
Transfer48925062018-01-11 20:43:172492 days ago1515703397IN
0xEA091331...D92E2e176
0.2 ETH0.001122350
Transfer48920892018-01-11 18:53:492492 days ago1515696829IN
0xEA091331...D92E2e176
0.06 ETH0.0010550
Transfer48920152018-01-11 18:35:192492 days ago1515695719IN
0xEA091331...D92E2e176
0.05 ETH0.00052525
Transfer48919692018-01-11 18:23:432492 days ago1515695023IN
0xEA091331...D92E2e176
0.15 ETH0.0022446100
Transfer48909352018-01-11 13:50:132492 days ago1515678613IN
0xEA091331...D92E2e176
0.25 ETH0.001122350
Transfer48909292018-01-11 13:47:342492 days ago1515678454IN
0xEA091331...D92E2e176
0.41 ETH0.001122350
Transfer48909152018-01-11 13:43:592492 days ago1515678239IN
0xEA091331...D92E2e176
0.1 ETH0.0010550
Transfer48909022018-01-11 13:39:442492 days ago1515677984IN
0xEA091331...D92E2e176
0.05 ETH0.00246906110
Transfer48908892018-01-11 13:37:162492 days ago1515677836IN
0xEA091331...D92E2e176
0.05 ETH0.001122350
Transfer48908822018-01-11 13:35:272492 days ago1515677727IN
0xEA091331...D92E2e176
0.41 ETH0.001122350
Transfer48908582018-01-11 13:27:202492 days ago1515677240IN
0xEA091331...D92E2e176
0.01 ETH0.0010550
Transfer48871272018-01-10 20:48:402493 days ago1515617320IN
0xEA091331...D92E2e176
0.154139 ETH0.00086141
Transfer48870132018-01-10 20:17:202493 days ago1515615440IN
0xEA091331...D92E2e176
0.9709395 ETH0.004760250
Transfer48867212018-01-10 18:59:022493 days ago1515610742IN
0xEA091331...D92E2e176
0.08591172 ETH0.004760250
Transfer48856702018-01-10 14:22:262493 days ago1515594146IN
0xEA091331...D92E2e176
1 ETH0.0026081640
Transfer48851542018-01-10 12:10:032493 days ago1515586203IN
0xEA091331...D92E2e176
1.501 ETH0.0019040820
Transfer48848092018-01-10 10:43:572493 days ago1515581037IN
0xEA091331...D92E2e176
0.012 ETH0.0019992821
Transfer48845482018-01-10 9:34:432493 days ago1515576883IN
0xEA091331...D92E2e176
0.01217525 ETH0.0075684
Transfer48844802018-01-10 9:16:122493 days ago1515575772IN
0xEA091331...D92E2e176
0.102 ETH0.0038081640
Transfer48841022018-01-10 7:28:342494 days ago1515569314IN
0xEA091331...D92E2e176
0.10441847 ETH0.004760250
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To
48870132018-01-10 20:17:202493 days ago1515615440
0xEA091331...D92E2e176
0.9709395 ETH
48867212018-01-10 18:59:022493 days ago1515610742
0xEA091331...D92E2e176
0.08591172 ETH
48856702018-01-10 14:22:262493 days ago1515594146
0xEA091331...D92E2e176
1 ETH
48851542018-01-10 12:10:032493 days ago1515586203
0xEA091331...D92E2e176
1.501 ETH
48848092018-01-10 10:43:572493 days ago1515581037
0xEA091331...D92E2e176
0.012 ETH
48844802018-01-10 9:16:122493 days ago1515575772
0xEA091331...D92E2e176
0.102 ETH
48841022018-01-10 7:28:342494 days ago1515569314
0xEA091331...D92E2e176
0.10441847 ETH
48840242018-01-10 7:08:532494 days ago1515568133
0xEA091331...D92E2e176
2.55 ETH
48837092018-01-10 5:45:172494 days ago1515563117
0xEA091331...D92E2e176
0.7 ETH
48822432018-01-09 23:03:472494 days ago1515539027
0xEA091331...D92E2e176
0.1396 ETH
48822332018-01-09 23:01:272494 days ago1515538887
0xEA091331...D92E2e176
0.075 ETH
48802242018-01-09 14:07:212494 days ago1515506841
0xEA091331...D92E2e176
0.1286848 ETH
48800982018-01-09 13:32:582494 days ago1515504778
0xEA091331...D92E2e176
0.10626 ETH
48800622018-01-09 13:21:192494 days ago1515504079
0xEA091331...D92E2e176
2 ETH
48800172018-01-09 13:09:252494 days ago1515503365
0xEA091331...D92E2e176
0.05 ETH
48793192018-01-09 9:59:172494 days ago1515491957
0xEA091331...D92E2e176
0.02 ETH
48791892018-01-09 9:28:062494 days ago1515490086
0xEA091331...D92E2e176
0.03 ETH
48791892018-01-09 9:28:062494 days ago1515490086
0xEA091331...D92E2e176
0.01617354 ETH
48777062018-01-09 2:52:222495 days ago1515466342
0xEA091331...D92E2e176
0.275 ETH
48774482018-01-09 1:48:002495 days ago1515462480
0xEA091331...D92E2e176
0.04344439 ETH
48763482018-01-08 20:48:332495 days ago1515444513
0xEA091331...D92E2e176
0.28154 ETH
48740952018-01-08 10:50:012495 days ago1515408601
0xEA091331...D92E2e176
0.06351373 ETH
48709932018-01-07 21:13:362496 days ago1515359616
0xEA091331...D92E2e176
0.14630265 ETH
48705432018-01-07 19:22:292496 days ago1515352949
0xEA091331...D92E2e176
3.40135398 ETH
48689372018-01-07 12:27:002496 days ago1515328020
0xEA091331...D92E2e176
0.14530135 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
BTCxCrowdsale

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

pragma solidity ^0.4.18;
// This contract has the burn option
interface token {
    function transfer(address receiver, uint amount);
    function burn(uint256 _value) returns (bool);
    function balanceOf(address _address) returns (uint256);
}
contract owned {
    address public owner;

    function owned() public {
        owner = msg.sender;
    }

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

contract SafeMath {
    //internals

    function safeMul(uint a, uint b) internal returns(uint) {
        uint c = a * b;
        assert(a == 0 || c / a == b);
        return c;
    }

    function safeSub(uint a, uint b) internal returns(uint) {
        assert(b <= a);
        return a - b;
    }

    function safeAdd(uint a, uint b) internal returns(uint) {
        uint c = a + b;
        assert(c >= a && c >= b);
        return c;
    }

}

contract BTCxCrowdsale is owned, SafeMath {
    address public beneficiary;
    uint public fundingGoal;
    uint public amountRaised;  //The amount being raised by the crowdsale
    /* the end date of the crowdsale*/
    uint public deadline; /* the end date of the crowdsale*/
    uint public rate; //rate for the crowdsale
    uint public tokenDecimals;
    token public tokenReward; //
    uint public tokensSold = 0;  
    /* the start date of the crowdsale*/
    uint public start; /* the start date of the crowdsale*/
    mapping(address => uint256) public balanceOf;  //Ether deposited by the investor
    // bool fundingGoalReached = false;
    bool crowdsaleClosed = false; //It will be true when the crowsale gets closed

    event GoalReached(address beneficiary, uint capital);
    event FundTransfer(address backer, uint amount, bool isContribution);

    /**
     * Constrctor function
     *
     * Setup the owner
     */
    function BTCxCrowdsale( ) {
        beneficiary = 0x781AC8C2D6dc017c4259A1f06123659A4f6dFeD8;
        rate = 2; 
        tokenDecimals=8;
        fundingGoal = 14700000 * (10 ** tokenDecimals); 
        start = 1512831600; //      12/11/2017 @ 2:00pm (UTC)
        deadline =1515628740; //    01/10/2018 @ 11:59pm (UTC)
        tokenReward = token(0x5A82De3515fC4A4Db9BA9E869F269A1e85300092); //Token address. Modify by the current token address
    }    

    /**
     * Fallback function
     *
     * The function without name is the default function that is called whenever anyone sends funds to a contract
     */
     /*
   
     */
    function () payable {
        uint amount = msg.value;  //amount received by the contract
        uint numTokens; //number of token which will be send to the investor
        numTokens = getNumTokens(amount);   //It will be true if the soft capital was reached
        require(numTokens>0 && !crowdsaleClosed && now > start && now < deadline);
        balanceOf[msg.sender] = safeAdd(balanceOf[msg.sender], amount);
        amountRaised = safeAdd(amountRaised, amount); //Amount raised increments with the amount received by the investor
        tokensSold += numTokens; //Tokens sold increased too
        tokenReward.transfer(msg.sender, numTokens); //The contract sends the corresponding tokens to the investor
        beneficiary.transfer(amount);               //Forward ether to beneficiary
        FundTransfer(msg.sender, amount, true);
    }
    /*
    It calculates the amount of tokens to send to the investor 
    */
    function getNumTokens(uint _value) internal returns(uint numTokens) {
        numTokens = safeMul(_value,rate)/(10 ** tokenDecimals); //Number of tokens to give is equal to the amount received by the rate 
        return numTokens;
    }

    modifier afterDeadline() { if (now >= deadline) _; }

    /**
     * Check if goal was reached
     *
     * Checks if the goal or time limit has been reached and ends the campaign and burn the tokens
     */
    function checkGoalReached() afterDeadline {
        require(msg.sender == owner); //Checks if the one who executes the function is the owner of the contract
        if (tokensSold >=fundingGoal){
            GoalReached(beneficiary, amountRaised);
        }
        tokenReward.burn(tokenReward.balanceOf(this)); //Burns all the remaining tokens in the contract 
        crowdsaleClosed = true; //The crowdsale gets closed if it has expired
    }



}

Contract Security Audit

Contract ABI

[{"constant":false,"inputs":[],"name":"checkGoalReached","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"deadline","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"rate","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"beneficiary","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"tokenDecimals","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"tokensSold","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"tokenReward","outputs":[{"name":"","type":"address"}],"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":"fundingGoal","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"amountRaised","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":"start","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":false,"name":"beneficiary","type":"address"},{"indexed":false,"name":"capital","type":"uint256"}],"name":"GoalReached","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"backer","type":"address"},{"indexed":false,"name":"amount","type":"uint256"},{"indexed":false,"name":"isContribution","type":"bool"}],"name":"FundTransfer","type":"event"}]

60606040526000600855600b805460ff19169055341561001e57600080fd5b60008054600160a060020a033316600160a060020a03199182161790915560018054821673781ac8c2d6dc017c4259a1f06123659a4f6dfed8179055600260058190556008600655660538f50bd1e0009055635a2bfa70600955635a56a8c460045560078054909116735a82de3515fc4a4db9ba9e869f269a1e853000921790556105b5806100ae6000396000f3006060604052600436106100a05763ffffffff60e060020a60003504166301cb3b20811461023057806329dcb0cf146102455780632c4e722e1461026a57806338af3eed1461027d5780633b97e856146102ac578063518ab2a8146102bf5780636e66f6e9146102d257806370a08231146102e55780637a3a0e84146103045780637b3e5e7b146103175780638da5cb5b1461032a578063be9a65551461033d575b3460006100ac82610350565b90506000811180156100c15750600b5460ff16155b80156100ce575060095442115b80156100db575060045442105b15156100e657600080fd5b600160a060020a0333166000908152600a60205260409020546101099083610374565b600160a060020a0333166000908152600a602052604090205560035461012f9083610374565b6003556008805482019055600754600160a060020a031663a9059cbb338360405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401600060405180830381600087803b151561019057600080fd5b6102c65a03f115156101a157600080fd5b5050600154600160a060020a0316905082156108fc0283604051600060405180830381858888f1935050505015156101d857600080fd5b7fe842aea7a5f1b01049d752008c53c52890b1a6daf660cf39e8eec506112bbdf633836001604051600160a060020a039093168352602083019190915215156040808301919091526060909101905180910390a15050005b341561023b57600080fd5b610243610398565b005b341561025057600080fd5b6102586104ff565b60405190815260200160405180910390f35b341561027557600080fd5b610258610505565b341561028857600080fd5b61029061050b565b604051600160a060020a03909116815260200160405180910390f35b34156102b757600080fd5b61025861051a565b34156102ca57600080fd5b610258610520565b34156102dd57600080fd5b610290610526565b34156102f057600080fd5b610258600160a060020a0360043516610535565b341561030f57600080fd5b610258610547565b341561032257600080fd5b61025861054d565b341561033557600080fd5b610290610553565b341561034857600080fd5b610258610562565b6000600654600a0a61036483600554610568565b81151561036d57fe5b0492915050565b60008282018381108015906103895750828110155b151561039157fe5b9392505050565b60045442106104fd5760005433600160a060020a039081169116146103bc57600080fd5b6002546008541061041b576001546003547fec3f991caf7857d61663fd1bba1739e04abd4781238508cde554bb849d790c8591600160a060020a031690604051600160a060020a03909216825260208201526040908101905180910390a15b600754600160a060020a03166342966c68816370a082313060006040516020015260405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401602060405180830381600087803b151561047a57600080fd5b6102c65a03f1151561048b57600080fd5b5050506040518051905060006040516020015260405160e060020a63ffffffff84160281526004810191909152602401602060405180830381600087803b15156104d457600080fd5b6102c65a03f115156104e557600080fd5b50505060405180515050600b805460ff191660011790555b565b60045481565b60055481565b600154600160a060020a031681565b60065481565b60085481565b600754600160a060020a031681565b600a6020526000908152604090205481565b60025481565b60035481565b600054600160a060020a031681565b60095481565b6000828202831580610389575082848281151561058157fe5b041461039157fe00a165627a7a723058204380987d14ee6e3ff17d928ce2a6c7264e500f687cf655191ade5615fa24fc640029

Deployed Bytecode

0x6060604052600436106100a05763ffffffff60e060020a60003504166301cb3b20811461023057806329dcb0cf146102455780632c4e722e1461026a57806338af3eed1461027d5780633b97e856146102ac578063518ab2a8146102bf5780636e66f6e9146102d257806370a08231146102e55780637a3a0e84146103045780637b3e5e7b146103175780638da5cb5b1461032a578063be9a65551461033d575b3460006100ac82610350565b90506000811180156100c15750600b5460ff16155b80156100ce575060095442115b80156100db575060045442105b15156100e657600080fd5b600160a060020a0333166000908152600a60205260409020546101099083610374565b600160a060020a0333166000908152600a602052604090205560035461012f9083610374565b6003556008805482019055600754600160a060020a031663a9059cbb338360405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401600060405180830381600087803b151561019057600080fd5b6102c65a03f115156101a157600080fd5b5050600154600160a060020a0316905082156108fc0283604051600060405180830381858888f1935050505015156101d857600080fd5b7fe842aea7a5f1b01049d752008c53c52890b1a6daf660cf39e8eec506112bbdf633836001604051600160a060020a039093168352602083019190915215156040808301919091526060909101905180910390a15050005b341561023b57600080fd5b610243610398565b005b341561025057600080fd5b6102586104ff565b60405190815260200160405180910390f35b341561027557600080fd5b610258610505565b341561028857600080fd5b61029061050b565b604051600160a060020a03909116815260200160405180910390f35b34156102b757600080fd5b61025861051a565b34156102ca57600080fd5b610258610520565b34156102dd57600080fd5b610290610526565b34156102f057600080fd5b610258600160a060020a0360043516610535565b341561030f57600080fd5b610258610547565b341561032257600080fd5b61025861054d565b341561033557600080fd5b610290610553565b341561034857600080fd5b610258610562565b6000600654600a0a61036483600554610568565b81151561036d57fe5b0492915050565b60008282018381108015906103895750828110155b151561039157fe5b9392505050565b60045442106104fd5760005433600160a060020a039081169116146103bc57600080fd5b6002546008541061041b576001546003547fec3f991caf7857d61663fd1bba1739e04abd4781238508cde554bb849d790c8591600160a060020a031690604051600160a060020a03909216825260208201526040908101905180910390a15b600754600160a060020a03166342966c68816370a082313060006040516020015260405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401602060405180830381600087803b151561047a57600080fd5b6102c65a03f1151561048b57600080fd5b5050506040518051905060006040516020015260405160e060020a63ffffffff84160281526004810191909152602401602060405180830381600087803b15156104d457600080fd5b6102c65a03f115156104e557600080fd5b50505060405180515050600b805460ff191660011790555b565b60045481565b60055481565b600154600160a060020a031681565b60065481565b60085481565b600754600160a060020a031681565b600a6020526000908152604090205481565b60025481565b60035481565b600054600160a060020a031681565b60095481565b6000828202831580610389575082848281151561058157fe5b041461039157fe00a165627a7a723058204380987d14ee6e3ff17d928ce2a6c7264e500f687cf655191ade5615fa24fc640029

Swarm Source

bzzr://4380987d14ee6e3ff17d928ce2a6c7264e500f687cf655191ade5615fa24fc64

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.