Sponsored Link:   SHIFT.cash - smart-contract based car title lending platform, 30 billion market, 35+ employees. Join NOW.
Contract Overview
ETH Balance: 36.869434942394911065 Ether
ETH USD Value: $30,990.23 (@ $840.54/ETH)
No Of Transactions: 136 txns
  Latest 25 txns from a total Of 136 transactions View All

TxHash Age From To Value [TxFee]
0x797d3375b814a7849910392e4b6769c748c539914d25be8a3e3692d686afffe022 days 6 hrs ago0xa73408e620f7dd0e7c6162c3cbb31336a35f95db  IN   0x3076d20cef23cf934fc6f857eb97e2baa63fc9fb1.5 Ether0.002796
0xff477c4614759dd0d1d682be3171fcff3aa33e1f836b277dde541c064166a45f24 days 5 hrs ago0xa56a64cc23a5f912302cd7a9574a5dae7e744804  IN   0x3076d20cef23cf934fc6f857eb97e2baa63fc9fb1 Ether0.00117432
0x113b6ebe4dd8c510f9ca98bea98a706e3a995b7131828b273d1870625aa9cda324 days 6 hrs ago0xa56a64cc23a5f912302cd7a9574a5dae7e744804  IN   0x3076d20cef23cf934fc6f857eb97e2baa63fc9fb1 Ether0.000441
0x58ad1e1f7c2f0dee0015f474de1935af1ddf969806297ea8f438432807eec28e24 days 6 hrs ago0xa56a64cc23a5f912302cd7a9574a5dae7e744804  IN   0x3076d20cef23cf934fc6f857eb97e2baa63fc9fb1 Ether0.000441
0x0ed8492fe8fba1c7fa7555c17cda95b37c4d43a430d3de74de41d446c463325424 days 7 hrs ago0x2dfc68edfaefee0b99be3d2593f42ca66abbb377  IN   0x3076d20cef23cf934fc6f857eb97e2baa63fc9fb3.41786295 Ether0.00229272
0xd353104ec2253edd2876838ebe8be6126936d38d2cadb42cdd87c28f6d6e2d5424 days 7 hrs ago0x2dfc68edfaefee0b99be3d2593f42ca66abbb377  IN   0x3076d20cef23cf934fc6f857eb97e2baa63fc9fb3.41786295 Ether0.000861
0x326ac17679d13081af452dbd71675e69e8d805712f9c695950af0e8642392c0e26 days 14 hrs ago0xc0ca912c02890f148f01e5070b430a78c81a0b75  IN   0x3076d20cef23cf934fc6f857eb97e2baa63fc9fb1 Ether0.002796
0x4b7d0d15e07525c4427413ffb97653d2283d2bbc3ca1595b84c39a69dea8783d27 days 20 hrs ago0x955b9a09232b4450e45a290bab46697c2f40fbae  IN   0x3076d20cef23cf934fc6f857eb97e2baa63fc9fb0.01 Ether0.00392832
0x75aa5cb6092a0ebbe9f84eac9bb0ee62fa23ddeff4330f74883904cda8f7a83b32 days 16 hrs ago0x18a9281e91029fb848b8beb7dc56fbb14ca8249f  IN   0x3076d20cef23cf934fc6f857eb97e2baa63fc9fb1.6272 Ether0.002796
0x378ce1cecdfa80f5cefd7786ccb8d7cc35c1d6bd004b03623578c4575d025b8d34 days 9 hrs ago0x0681d8db095565fe8a346fa0277bffde9c0edbbf  IN   0x3076d20cef23cf934fc6f857eb97e2baa63fc9fb1.489517 Ether0.005592
0x273dcd5e1066d1b026410d5c3f06baeda0da851119c84eead0dd811f9770d96634 days 12 hrs ago0x35ac3dca25f0bd44931105dbd1d08941f7d7915f  IN   0x3076d20cef23cf934fc6f857eb97e2baa63fc9fb0.10604045 Ether0.0011184
0x1c832f8140b7f5b0d933e1dc26b86dc5b71f1243971bc27c1a5c37028e43a85334 days 23 hrs ago0xa40c09bc2338cfdba7863628c29456dee14b1a59  IN   0x3076d20cef23cf934fc6f857eb97e2baa63fc9fb1.27 Ether0.0022368
0x3cfad99635bafd8977df2c5ed77537e40970a2110d0a87f553502909a51589e535 days 1 hr ago0xf63de3cc6ee2aef71eb177ef7d8de01c082dd9a2  IN   0x3076d20cef23cf934fc6f857eb97e2baa63fc9fb1 Ether0.0011184
0x4fc5dc22284b965b02ae44447c0ae2dd193c2245419690c4a73efa4005dc416b37 days 4 hrs ago0xdd8da08515884b1ad678e95c097bb0f49a523570  IN   0x3076d20cef23cf934fc6f857eb97e2baa63fc9fb0.54660538 Ether0.00167772
0xc25bdd5d9998114d28e60aeca92ec62bf81aae9e152cec35f51be4143ffe17c637 days 5 hrs ago0xdd8da08515884b1ad678e95c097bb0f49a523570  IN   0x3076d20cef23cf934fc6f857eb97e2baa63fc9fb1.03 Ether0.00229272
0x41b6a26199b7176fc47d463af040fee794d8303db10acced7fe99bbfa33c728237 days 5 hrs ago0xdd8da08515884b1ad678e95c097bb0f49a523570  IN   0x3076d20cef23cf934fc6f857eb97e2baa63fc9fb1.03 Ether0.000861
0xf4b51414df92c7b091e63ff0ee7d688ebd08d4d839ffc0dd4729576b0170acf638 days 2 hrs agoPoloniex Wallet  IN   0x3076d20cef23cf934fc6f857eb97e2baa63fc9fb1.87 Ether0.002340624
0x90033d0832c0414043edc14d0d0115f52d017b5a7895c8b0df8dd9777c7576cf38 days 9 hrs ago0x152c902c011bb66e43e66db4dc98dde7e86602e4  IN   0x3076d20cef23cf934fc6f857eb97e2baa63fc9fb0.03311701 Ether0.00290784
0x48c705ea94be9f44c4819218e0c832f5078a1e3bbbfcfb0ca73f12bbdcdd759b38 days 12 hrs ago0xebbd8382b091f02f159ad8f7c4e54b4f6b18ae88  IN   0x3076d20cef23cf934fc6f857eb97e2baa63fc9fb0.09157295 Ether0.00290784
0x2d7064ac05097a47402b8813ce220821d4fc38b42bc93d73ad10ef9b3e2568b139 days 19 hrs ago0x5eb08b376add73af1f9bbdc76a9bb61c11020c12  IN   0x3076d20cef23cf934fc6f857eb97e2baa63fc9fb1 Ether0.0033552
0xb2d6a2b9a5b3e14657e465abac5d405c603ab02136ea701889e0f527cf6a0e4642 days 13 hrs ago0xc5cfad39c0f2b216dd8be3c0e025c331d4d242e1  IN   0x3076d20cef23cf934fc6f857eb97e2baa63fc9fb2 Ether0.00117432
0x3bdd0ba932dd74b23ff73e122aefad60414f752795cbc42c776588d1336ed36c43 days 11 hrs ago0x5400c54d682d1ee00d7a9f1854a1fdb4d697cea8  IN   0x3076d20cef23cf934fc6f857eb97e2baa63fc9fb1.1 Ether0.002796
0xcbfce7dc8f4d61394399d7ce309fd420ddaebedd104a23381b196c23dbb932ea48 days 2 hrs ago0xdfd4871821fb5cec7101790a1b8459307c32d6ce  IN   0x3076d20cef23cf934fc6f857eb97e2baa63fc9fb0.06127451 Ether0.004920467904
0xd1d1322ba4ad3ef20f0c1cd1c358fe930792c35d7174f259297ff02bf918381550 days 4 hrs ago0x32550a6a92680d217dd58536d9fb0d3630cb47ad  IN   0x3076d20cef23cf934fc6f857eb97e2baa63fc9fb1 Ether0.00117432
0x56e0a723f90baf791676dd7b9fb20eea857767cdd417cb6309f998f59bfb32b752 days 3 hrs agoBittrex  IN   0x3076d20cef23cf934fc6f857eb97e2baa63fc9fb1 Ether0.00208692
[ Download CSV Export  ] 
 Internal Transactions as a result of Contract Execution
  Latest 11 Internal Transactions

ParentTxHash Block Age From To Value
0xd7043582afccd0282be8bc86835618d68ea7c70cf11a9ce252ebbbde6b8c83bf50968537 days 10 hrs ago0x97f599b5ab34dd6223a0a80c2794c04cddf594880x3076d20cef23cf934fc6f857eb97e2baa63fc9fb0.0891 Ether
0xc0f34173fd752b8ff0a67067e821342accc4ac918e18fa89da78958dabbce929508163310 days 26 mins ago0x97f599b5ab34dd6223a0a80c2794c04cddf594880x3076d20cef23cf934fc6f857eb97e2baa63fc9fb1.089 Ether
0x9f81c4dbc6afaa7014ab3d719b334088f2e510eab9495b53c409479f9fbada85503053418 days 14 hrs ago0x97f599b5ab34dd6223a0a80c2794c04cddf594880x3076d20cef23cf934fc6f857eb97e2baa63fc9fb4.95 Ether
0x41e87b5b83d3641bc4018bd62dcafe6101c4785bee7e14abb0f0093c31cf1b73502550519 days 10 hrs ago0x97f599b5ab34dd6223a0a80c2794c04cddf594880x3076d20cef23cf934fc6f857eb97e2baa63fc9fb0.724390279238550078 Ether
0x79944fedc745c54a64abd08de973244fc99ab60265fb05b078230968d294e02d501027922 days 35 mins ago0x7211f65a7876433635601b9480e57f812a3665d80x3076d20cef23cf934fc6f857eb97e2baa63fc9fb0.01923545646 Ether
0x949c1e8c2c1cca5382dc90eba2c5363a0278f1f8ae72ac526356e03c53597429500952422 days 3 hrs ago0x7211f65a7876433635601b9480e57f812a3665d80x3076d20cef23cf934fc6f857eb97e2baa63fc9fb0.98933589909 Ether
0xf0d47b0b4deb19b1cf33946ecbdd4b5bd7e0f1de6d76ddd6ec62edfda93e6a2b500414723 days 1 hr ago0x7211f65a7876433635601b9480e57f812a3665d80x3076d20cef23cf934fc6f857eb97e2baa63fc9fb0.98993109303 Ether
0xff701409cfdacb188ce11bbfe0c9c8fdc9bb7e21a79c061186d66e0b5305140b500134423 days 12 hrs ago0x7211f65a7876433635601b9480e57f812a3665d80x3076d20cef23cf934fc6f857eb97e2baa63fc9fb0.08492567292 Ether
0xc3f1b26018ea5d0933917022097da0d2b34326e0b278ae34b5ea8db8a82488f0499956923 days 20 hrs ago0x7211f65a7876433635601b9480e57f812a3665d80x3076d20cef23cf934fc6f857eb97e2baa63fc9fb0.00082925469 Ether
0xfcd3cc1547eee1f782f578bb9cf6dbf83171b648f4f5b8f42a83b28f5c72f310477584462 days 23 hrs ago0x3076d20cef23cf934fc6f857eb97e2baa63fc9fb0x955b9a09232b4450e45a290bab46697c2f40fbae39 Ether
0x4c629cb8a1317ca1fde6809f409e5d883bd9a32e32579805e57e99919799affa477580562 days 23 hrs ago0x3076d20cef23cf934fc6f857eb97e2baa63fc9fb0x955b9a09232b4450e45a290bab46697c2f40fbae10 wei
[ Download CSV Export  ] 
Contract Source Code Verified
Contract Name: GoldeaSale
Compiler Version: v0.4.18+commit.9cf6e910
Optimization Enabled: Yes
Runs (Optimiser):  200



  Contract Source Code   Find Similiar Contracts
pragma solidity ^0.4.18;

contract ERC20Basic {
  uint256 public totalSupply;
  string public name;
  string public symbol;
  uint8 public decimals;
  function balanceOf(address who) constant public returns (uint256);
  function transfer(address to, uint256 value) public returns (bool);
  event Transfer(address indexed from, address indexed to, uint256 value);
}

contract ExternalToken {
    function burn(uint256 _value, bytes _data) public;
}

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;
    }
}

contract BasicToken is ERC20Basic {
  using SafeMath for uint256;

  mapping(address => uint256) balances;

  /**
  * @dev transfer token for a specified address
  * @param _to The address to transfer to.
  * @param _value The amount to be transferred.
  */
  function transfer(address _to, uint256 _value) public returns (bool) {
    require(_to != address(0));

    // SafeMath.sub will throw if there is not enough balance.
    balances[msg.sender] = balances[msg.sender].sub(_value);
    balances[_to] = balances[_to].add(_value);
    Transfer(msg.sender, _to, _value);
    return true;
  }

  /**
  * @dev Gets the balance of the specified address.
  * @param _owner The address to query the the balance of. 
  * @return An uint256 representing the amount owned by the passed address.
  */
  function balanceOf(address _owner) constant public returns (uint256 balance) {
    return balances[_owner];
  }

}

contract TokenReceiver {
    function onTokenTransfer(address _from, uint256 _value, bytes _data) public;
}

contract Ownable {
  address public owner;


  /**
   * @dev The Ownable constructor sets the original `owner` of the contract to the sender
   * account.
   */
  function Ownable() public {
    owner = msg.sender;
  }


  /**
   * @dev Throws if called by any account other than the owner.
   */
  modifier onlyOwner() {
    require(msg.sender == owner);
    _;
  }


  /**
   * @dev Allows the current owner to transfer control of the contract to a newOwner.
   * @param newOwner The address to transfer ownership to.
   */
  function transferOwnership(address newOwner) onlyOwner public {
    require(newOwner != address(0));      
    owner = newOwner;
  }

}

contract Pausable is Ownable {
  event Pause();
  event Unpause();

  bool public paused = false;


  /**
   * @dev Modifier to make a function callable only when the contract is not paused.
   */
  modifier whenNotPaused() {
    require(!paused);
    _;
  }

  /**
   * @dev Modifier to make a function callable only when the contract is paused.
   */
  modifier whenPaused() {
    require(paused);
    _;
  }

  /**
   * @dev called by the owner to pause, triggers stopped state
   */
  function pause() onlyOwner whenNotPaused public {
    paused = true;
    Pause();
  }

  /**
   * @dev called by the owner to unpause, returns to normal state
   */
  function unpause() onlyOwner whenPaused public {
    paused = false;
    Unpause();
  }
}

contract AbstractSale is TokenReceiver, Pausable {
    using SafeMath for uint256;

    event BonusChange(uint256 bonus);
    event RateChange(address token, uint256 rate);
    event Purchase(address indexed buyer, address token, uint256 value, uint256 amount);
    event Withdraw(address token, address to, uint256 value);
    event Burn(address token, uint256 value, bytes data);

    mapping (address => uint256) rates;
    uint256 public bonus;

    function onTokenTransfer(address _from, uint256 _value, bytes _data) whenNotPaused public {
        onReceive(msg.sender, _from, _value, _data);
    }

    function() payable whenNotPaused public {
        receiveWithData("");
    }

    function receiveWithData(bytes _data) payable whenNotPaused public {
        onReceive(address(0), msg.sender, msg.value, _data);
    }

    function onReceive(address _token, address _from, uint256 _value, bytes _data) internal {
        uint256 tokens = getAmount(_token, _value);
        require(tokens > 0);
        address buyer;
        if (_data.length == 20) {
            buyer = address(toBytes20(_data, 0));
        } else {
            require(_data.length == 0);
            buyer = _from;
        }
        Purchase(buyer, _token, _value, tokens);
        doPurchase(buyer, tokens);
    }

    function doPurchase(address buyer, uint256 amount) internal;

    function toBytes20(bytes b, uint256 _start) pure internal returns (bytes20 result) {
        require(_start + 20 <= b.length);
        assembly {
            let from := add(_start, add(b, 0x20))
            result := mload(from)
        }
    }

    function getAmount(address _token, uint256 _value) constant public returns (uint256) {
        uint256 rate = getRate(_token);
        require(rate > 0);
        uint256 beforeBonus = _value.mul(rate);
        return beforeBonus.add(beforeBonus.mul(bonus).div(100)).div(10**18);
    }

    function getRate(address _token) constant public returns (uint256) {
        return rates[_token];
    }

    function setRate(address _token, uint256 _rate) onlyOwner public {
        rates[_token] = _rate;
        RateChange(_token, _rate);
    }

    function setBonus(uint256 _bonus) onlyOwner public {
        bonus = _bonus;
        BonusChange(_bonus);
    }

    function withdraw(address _token, address _to, uint256 _amount) onlyOwner public {
        require(_to != address(0));
        verifyCanWithdraw(_token, _to, _amount);
        if (_token == address(0)) {
            _to.transfer(_amount);
        } else {
            ERC20(_token).transfer(_to, _amount);
        }
        Withdraw(_token, _to, _amount);
    }

    function burnWithData(address _token, uint256 _amount, bytes _data) onlyOwner public {
        ExternalToken(_token).burn(_amount, _data);
        Burn(_token, _amount, _data);
    }

    function verifyCanWithdraw(address _token, address _to, uint256 _amount) internal {

    }
}

contract Sale is AbstractSale {
    ERC20 public token;

    function Sale(address _token) public {
        token = ERC20(_token);
    }

    function doPurchase(address buyer, uint256 amount) internal {
        token.transfer(buyer, amount);
    }

    /**
     * @dev It should not let owners transfer tokens to protect investors
     */
    function verifyCanWithdraw(address _token, address _to, uint256 _amount) internal {
        require(_token != address(token));
    }
}

contract GoldeaSale is Sale {
    address public btcToken;
    uint256 public constant end = 1522540800;
    uint256 public constant total = 200000000000000;

    function GoldeaSale(address _token, address _btcToken) Sale(_token) public {
        btcToken = _btcToken;
    }

    function changeParameters(uint256 _ethRate, uint256 _btcRate, uint256 _bonus) onlyOwner public {
        setRate(address(0), _ethRate);
        setRate(btcToken, _btcRate);
        setBonus(_bonus);
    }

    function setBtcToken(address _btcToken) onlyOwner public {
        btcToken = _btcToken;
    }

    function doPurchase(address buyer, uint256 amount) internal {
        require(now < end);
        super.doPurchase(buyer, amount);
    }

    function burn() onlyOwner public {
        require(now >= end);
        BurnableToken(token).burn(token.balanceOf(this));
    }
}

contract ERC20 is ERC20Basic {
  function allowance(address owner, address spender) constant public returns (uint256);
  function transferFrom(address from, address to, uint256 value) public returns (bool);
  function approve(address spender, uint256 value) public returns (bool);
  event Approval(address indexed owner, address indexed spender, uint256 value);
}

contract StandardToken is ERC20, BasicToken {

  mapping (address => mapping (address => uint256)) allowed;


  /**
   * @dev Transfer tokens from one address to another
   * @param _from address The address which you want to send tokens from
   * @param _to address The address which you want to transfer to
   * @param _value uint256 the amount of tokens to be transferred
   */
  function transferFrom(address _from, address _to, uint256 _value) public returns (bool) {
    require(_to != address(0));

    var _allowance = allowed[_from][msg.sender];

    // Check is not needed because sub(_allowance, _value) will already throw if this condition is not met
    // require (_value <= _allowance);

    balances[_from] = balances[_from].sub(_value);
    balances[_to] = balances[_to].add(_value);
    allowed[_from][msg.sender] = _allowance.sub(_value);
    Transfer(_from, _to, _value);
    return true;
  }

  /**
   * @dev Approve the passed address to spend the specified amount of tokens on behalf of msg.sender.
   * @param _spender The address which will spend the funds.
   * @param _value The amount of tokens to be spent.
   */
  function approve(address _spender, uint256 _value) public returns (bool) {

    // To change the approve amount you first have to reduce the addresses`
    //  allowance to zero by calling `approve(_spender, 0)` if it is not
    //  already 0 to mitigate the race condition described here:
    //  https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
    require((_value == 0) || (allowed[msg.sender][_spender] == 0));

    allowed[msg.sender][_spender] = _value;
    Approval(msg.sender, _spender, _value);
    return true;
  }

  /**
   * @dev Function to check the amount of tokens that an owner allowed to a spender.
   * @param _owner address The address which owns the funds.
   * @param _spender address The address which will spend the funds.
   * @return A uint256 specifying the amount of tokens still available for the spender.
   */
  function allowance(address _owner, address _spender) constant public returns (uint256 remaining) {
    return allowed[_owner][_spender];
  }
  
  /**
   * approve should be called when allowed[_spender] == 0. To increment
   * allowed value is better to use this function to avoid 2 calls (and wait until 
   * the first transaction is mined)
   * From MonolithDAO Token.sol
   */
  function increaseApproval (address _spender, uint _addedValue) public
    returns (bool success) {
    allowed[msg.sender][_spender] = allowed[msg.sender][_spender].add(_addedValue);
    Approval(msg.sender, _spender, allowed[msg.sender][_spender]);
    return true;
  }

  function decreaseApproval (address _spender, uint _subtractedValue) public
    returns (bool success) {
    uint oldValue = allowed[msg.sender][_spender];
    if (_subtractedValue > oldValue) {
      allowed[msg.sender][_spender] = 0;
    } else {
      allowed[msg.sender][_spender] = oldValue.sub(_subtractedValue);
    }
    Approval(msg.sender, _spender, allowed[msg.sender][_spender]);
    return true;
  }

}

contract BurnableToken is StandardToken {

    /**
     * @dev Burns a specific amount of tokens.
     * @param _value The amount of token to be burned.
     */
    function burn(uint _value)
        public
    {
        require(_value > 0);

        address burner = msg.sender;
        balances[burner] = balances[burner].sub(_value);
        totalSupply = totalSupply.sub(_value);
        Burn(burner, _value);
    }

    event Burn(address indexed burner, uint indexed value);
}

    Contract ABI  
[{"constant":true,"inputs":[],"name":"btcToken","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_bonus","type":"uint256"}],"name":"setBonus","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_token","type":"address"},{"name":"_rate","type":"uint256"}],"name":"setRate","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"total","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_token","type":"address"}],"name":"getRate","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"unpause","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"burn","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"paused","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"bonus","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_token","type":"address"},{"name":"_amount","type":"uint256"},{"name":"_data","type":"bytes"}],"name":"burnWithData","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"pause","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_data","type":"bytes"}],"name":"receiveWithData","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":false,"inputs":[{"name":"_from","type":"address"},{"name":"_value","type":"uint256"},{"name":"_data","type":"bytes"}],"name":"onTokenTransfer","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_token","type":"address"},{"name":"_to","type":"address"},{"name":"_amount","type":"uint256"}],"name":"withdraw","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_token","type":"address"},{"name":"_value","type":"uint256"}],"name":"getAmount","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"end","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_btcToken","type":"address"}],"name":"setBtcToken","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"token","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_ethRate","type":"uint256"},{"name":"_btcRate","type":"uint256"},{"name":"_bonus","type":"uint256"}],"name":"changeParameters","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"inputs":[{"name":"_token","type":"address"},{"name":"_btcToken","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"anonymous":false,"inputs":[{"indexed":false,"name":"bonus","type":"uint256"}],"name":"BonusChange","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"token","type":"address"},{"indexed":false,"name":"rate","type":"uint256"}],"name":"RateChange","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"buyer","type":"address"},{"indexed":false,"name":"token","type":"address"},{"indexed":false,"name":"value","type":"uint256"},{"indexed":false,"name":"amount","type":"uint256"}],"name":"Purchase","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"token","type":"address"},{"indexed":false,"name":"to","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Withdraw","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"token","type":"address"},{"indexed":false,"name":"value","type":"uint256"},{"indexed":false,"name":"data","type":"bytes"}],"name":"Burn","type":"event"},{"anonymous":false,"inputs":[],"name":"Pause","type":"event"},{"anonymous":false,"inputs":[],"name":"Unpause","type":"event"}]

  Contract Creation Code Switch To Opcodes View
60606040526000805460a060020a60ff0219169055341561001f57600080fd5b604051604080610ec1833981016040528080519190602001805160008054600160a060020a03338116600160a060020a031992831617909255600380549683169682169690961790955560048054919092169416939093179092555050610e368061008b6000396000f3006060604052600436106101035763ffffffff60e060020a600035041663074bc10181146101335780630b98f975146101625780632bdb7097146101785780632ddbd13a1461019a57806337cef791146101bf5780633f4ba83a146101de57806344df8e70146101f15780635c975abb1461020457806375b4d78c1461022b57806383e49c531461023e5780638456cb59146102a35780638da5cb5b146102b6578063949a9d59146102c9578063a4c0ed361461030f578063d9caed1214610374578063e0b999a11461039c578063efbe1c1c146103be578063f2fde38b146103d1578063fb7450be146103f0578063fc0c546a1461040f578063fc8ad37c14610422575b60005460a060020a900460ff161561011a57600080fd5b61013160206040519081016040526000815261043e565b005b341561013e57600080fd5b610146610465565b604051600160a060020a03909116815260200160405180910390f35b341561016d57600080fd5b610131600435610474565b341561018357600080fd5b610131600160a060020a03600435166024356104ca565b34156101a557600080fd5b6101ad61054b565b60405190815260200160405180910390f35b34156101ca57600080fd5b6101ad600160a060020a0360043516610555565b34156101e957600080fd5b610131610570565b34156101fc57600080fd5b6101316105ef565b341561020f57600080fd5b6102176106e1565b604051901515815260200160405180910390f35b341561023657600080fd5b6101ad6106f1565b341561024957600080fd5b61013160048035600160a060020a03169060248035919060649060443590810190830135806020601f820181900481020160405190810160405281815292919060208401838380828437509496506106f795505050505050565b34156102ae57600080fd5b61013161088f565b34156102c157600080fd5b610146610913565b61013160046024813581810190830135806020601f8201819004810201604051908101604052818152929190602084018383808284375094965061043e95505050505050565b341561031a57600080fd5b61013160048035600160a060020a03169060248035919060649060443590810190830135806020601f8201819004810201604051908101604052818152929190602084018383808284375094965061092295505050505050565b341561037f57600080fd5b610131600160a060020a0360043581169060243516604435610945565b34156103a757600080fd5b6101ad600160a060020a0360043516602435610a94565b34156103c957600080fd5b6101ad610b0e565b34156103dc57600080fd5b610131600160a060020a0360043516610b16565b34156103fb57600080fd5b610131600160a060020a0360043516610b75565b341561041a57600080fd5b610146610bbf565b341561042d57600080fd5b610131600435602435604435610bce565b60005460a060020a900460ff161561045557600080fd5b6104626000333484610c13565b50565b600454600160a060020a031681565b60005433600160a060020a0390811691161461048f57600080fd5b60028190557fbc1292a04f45daf3f193a81979c9a45579112b1e460793ea0e5be82b7b44ac298160405190815260200160405180910390a150565b60005433600160a060020a039081169116146104e557600080fd5b600160a060020a038216600090815260016020526040908190208290557ffa9eee6b142afc22a1af1f2aa5676c202fd1aa4138fde6a13484e6dc6b3f4ac1908390839051600160a060020a03909216825260208201526040908101905180910390a15050565b65b5e620f4800081565b600160a060020a031660009081526001602052604090205490565b60005433600160a060020a0390811691161461058b57600080fd5b60005460a060020a900460ff1615156105a357600080fd5b6000805474ff0000000000000000000000000000000000000000191690557f7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b3360405160405180910390a1565b60005433600160a060020a0390811691161461060a57600080fd5b635ac0210042101561061b57600080fd5b600354600160a060020a03166342966c68816370a082313060006040516020015260405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401602060405180830381600087803b151561067a57600080fd5b6102c65a03f1151561068b57600080fd5b5050506040518051905060405160e060020a63ffffffff84160281526004810191909152602401600060405180830381600087803b15156106cb57600080fd5b6102c65a03f115156106dc57600080fd5b505050565b60005460a060020a900460ff1681565b60025481565b60005433600160a060020a0390811691161461071257600080fd5b82600160a060020a031663fe9d930383836040518363ffffffff1660e060020a0281526004018083815260200180602001828103825283818151815260200191508051906020019080838360005b83811015610778578082015183820152602001610760565b50505050905090810190601f1680156107a55780820380516001836020036101000a031916815260200191505b509350505050600060405180830381600087803b15156107c457600080fd5b6102c65a03f115156107d557600080fd5b5050507f8d38f5a0c1764ff1cca876ce8fe136163fddfce925659e6ad05437cfff6fd392838383604051600160a060020a03841681526020810183905260606040820181815290820183818151815260200191508051906020019080838360005b8381101561084e578082015183820152602001610836565b50505050905090810190601f16801561087b5780820380516001836020036101000a031916815260200191505b5094505050505060405180910390a1505050565b60005433600160a060020a039081169116146108aa57600080fd5b60005460a060020a900460ff16156108c157600080fd5b6000805474ff0000000000000000000000000000000000000000191660a060020a1790557f6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff62560405160405180910390a1565b600054600160a060020a031681565b60005460a060020a900460ff161561093957600080fd5b6106dc33848484610c13565b60005433600160a060020a0390811691161461096057600080fd5b600160a060020a038216151561097557600080fd5b610980838383610cdf565b600160a060020a03831615156109c657600160a060020a03821681156108fc0282604051600060405180830381858888f1935050505015156109c157600080fd5b610a3f565b82600160a060020a031663a9059cbb838360006040516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b1515610a2357600080fd5b6102c65a03f11515610a3457600080fd5b505050604051805150505b7f9b1bfa7fa9ee420a16e124f794c35ac9f90472acc99140eb2f6447c714cad8eb838383604051600160a060020a039384168152919092166020820152604080820192909252606001905180910390a1505050565b6000806000610aa285610555565b915060008211610ab157600080fd5b610ac1848363ffffffff610cfa16565b9050610b05670de0b6b3a7640000610aec610af86064610aec60025487610cfa90919063ffffffff16565b9063ffffffff610d2516565b849063ffffffff610d3c16565b95945050505050565b635ac0210081565b60005433600160a060020a03908116911614610b3157600080fd5b600160a060020a0381161515610b4657600080fd5b6000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b60005433600160a060020a03908116911614610b9057600080fd5b6004805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600354600160a060020a031681565b60005433600160a060020a03908116911614610be957600080fd5b610bf46000846104ca565b600454610c0a90600160a060020a0316836104ca565b6106dc81610474565b600080610c208685610a94565b915060008211610c2f57600080fd5b825160141415610c5b57610c44836000610d4b565b6c0100000000000000000000000090049050610c6a565b825115610c6757600080fd5b50835b80600160a060020a03167f46661dab58311a6838247afecbee792192b4f27fc8b3e7168c66bc55ec2e404e8786856040518084600160a060020a0316600160a060020a03168152602001838152602001828152602001935050505060405180910390a2610cd78183610d6e565b505050505050565b600354600160a060020a03848116911614156106dc57600080fd5b6000828202831580610d165750828482811515610d1357fe5b04145b1515610d1e57fe5b9392505050565b6000808284811515610d3357fe5b04949350505050565b600082820183811015610d1e57fe5b60008251601483011115610d5e57600080fd5b6020830182018051949350505050565b635ac021004210610d7e57600080fd5b610d888282610d8c565b5050565b600354600160a060020a031663a9059cbb838360006040516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b1515610deb57600080fd5b6102c65a03f11515610dfc57600080fd5b5050506040518051505050505600a165627a7a7230582057eef3629ff818a29ba0d65cc63b33553a305a6eec4dee0ceb1519988d5652390029000000000000000000000000b4ee72d819c23a48a02c12c29331641426599266000000000000000000000000f876c67ce21a03a848dbae562d583296ee5a8449

    Constructor Arguments (ABI-encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000b4ee72d819c23a48a02c12c29331641426599266000000000000000000000000f876c67ce21a03a848dbae562d583296ee5a8449

-----Decoded View---------------
Found 2 constructor arguments :
Arg [0] : 000000000000000000000000b4ee72d819c23a48a02c12c29331641426599266
Arg [1] : 000000000000000000000000f876c67ce21a03a848dbae562d583296ee5a8449


   Swarm Source:
bzzr://57eef3629ff818a29ba0d65cc63b33553a305a6eec4dee0ceb1519988d565239

 

View All
Block Age txn Difficulty GasUsed Reward
View All
Block Age UncleNumber Difficulty GasUsed Reward
Make sure to use the "downvote" button for any spammy posts, and the "upvote" for interesting conversations.