Sponsored:   INLOCK - Put Your BTC, Get Your Cash! Crypto Backed Loans, 3.2M Raised Already. Join NOW!
 Latest 25 txns From a total of 143 Transactions

TxHash Age From To Value [TxFee]
0xd5c9214db0124144d41b29e05d2a999797e5e7869b608c0d68e5a58941d9426c84 days 15 hrs ago0xcac00e0de4f4d64fc36cb4a0a41fbd1ae1323590  IN   0x3076d20cef23cf934fc6f857eb97e2baa63fc9fb0 Ether0.001876545
0x6e01e22da92524d895f7d33da2f56b968e074a4e543c8a9ee23fd83efb794e45107 days 13 hrs ago0xcac00e0de4f4d64fc36cb4a0a41fbd1ae1323590  IN   0x3076d20cef23cf934fc6f857eb97e2baa63fc9fb0 Ether0.001869505
0xb7d0e0d4038c89169aee1e5e46ad43677343fd18a56a844cda8011b34cc630d2107 days 13 hrs ago0xcac00e0de4f4d64fc36cb4a0a41fbd1ae1323590  IN   0x3076d20cef23cf934fc6f857eb97e2baa63fc9fb0 Ether0.001873025
0x41baf4955c4f18e217ee72442be15bc8007e04c04b304cb2c9eb4283d0034910107 days 14 hrs ago0xcac00e0de4f4d64fc36cb4a0a41fbd1ae1323590  IN   0x3076d20cef23cf934fc6f857eb97e2baa63fc9fb0 Ether0.001873025
0xfe458f7e3cdfe12e310046a89efa49b84d692f0764b61361d95376a2a067ccae107 days 14 hrs ago0xcebb7c36ac60e3493c8a40a7ac9e4809540842c3  IN   0x3076d20cef23cf934fc6f857eb97e2baa63fc9fb0 Ether0.00121115
0x7382ccf058f5525e3e518bae099c7ac789d4faae41e4426d8de7403cfd939ec0107 days 14 hrs ago0xcebb7c36ac60e3493c8a40a7ac9e4809540842c3  IN   0x3076d20cef23cf934fc6f857eb97e2baa63fc9fb0 Ether0.00121115
0x8af876bfbfcea289fb2bb41087c1e9991a5d4bafdcd32a4e10eaf06152b19c1d108 days 12 hrs ago0xcac00e0de4f4d64fc36cb4a0a41fbd1ae1323590  IN   0x3076d20cef23cf934fc6f857eb97e2baa63fc9fb0.01 Ether0.001521575
0x797d3375b814a7849910392e4b6769c748c539914d25be8a3e3692d686afffe0232 days 35 mins ago0xa73408e620f7dd0e7c6162c3cbb31336a35f95db  IN   0x3076d20cef23cf934fc6f857eb97e2baa63fc9fb1.5 Ether0.002796
0xff477c4614759dd0d1d682be3171fcff3aa33e1f836b277dde541c064166a45f234 days 10 mins ago0xa56a64cc23a5f912302cd7a9574a5dae7e744804  IN   0x3076d20cef23cf934fc6f857eb97e2baa63fc9fb1 Ether0.00117432
0x113b6ebe4dd8c510f9ca98bea98a706e3a995b7131828b273d1870625aa9cda3234 days 18 mins ago0xa56a64cc23a5f912302cd7a9574a5dae7e744804  IN   0x3076d20cef23cf934fc6f857eb97e2baa63fc9fb1 Ether0.000441
0x58ad1e1f7c2f0dee0015f474de1935af1ddf969806297ea8f438432807eec28e234 days 56 mins ago0xa56a64cc23a5f912302cd7a9574a5dae7e744804  IN   0x3076d20cef23cf934fc6f857eb97e2baa63fc9fb1 Ether0.000441
0x0ed8492fe8fba1c7fa7555c17cda95b37c4d43a430d3de74de41d446c4633254234 days 1 hr ago0x2dfc68edfaefee0b99be3d2593f42ca66abbb377  IN   0x3076d20cef23cf934fc6f857eb97e2baa63fc9fb3.41786295 Ether0.00229272
0xd353104ec2253edd2876838ebe8be6126936d38d2cadb42cdd87c28f6d6e2d54234 days 1 hr ago0x2dfc68edfaefee0b99be3d2593f42ca66abbb377  IN   0x3076d20cef23cf934fc6f857eb97e2baa63fc9fb3.41786295 Ether0.000861
0x326ac17679d13081af452dbd71675e69e8d805712f9c695950af0e8642392c0e236 days 8 hrs ago0xc0ca912c02890f148f01e5070b430a78c81a0b75  IN   0x3076d20cef23cf934fc6f857eb97e2baa63fc9fb1 Ether0.002796
0x4b7d0d15e07525c4427413ffb97653d2283d2bbc3ca1595b84c39a69dea8783d237 days 15 hrs ago0x955b9a09232b4450e45a290bab46697c2f40fbae  IN   0x3076d20cef23cf934fc6f857eb97e2baa63fc9fb0.01 Ether0.00392832
0x75aa5cb6092a0ebbe9f84eac9bb0ee62fa23ddeff4330f74883904cda8f7a83b242 days 10 hrs ago0x18a9281e91029fb848b8beb7dc56fbb14ca8249f  IN   0x3076d20cef23cf934fc6f857eb97e2baa63fc9fb1.6272 Ether0.002796
0x378ce1cecdfa80f5cefd7786ccb8d7cc35c1d6bd004b03623578c4575d025b8d244 days 3 hrs agoBinance_4  IN   0x3076d20cef23cf934fc6f857eb97e2baa63fc9fb1.489517 Ether0.005592
0x273dcd5e1066d1b026410d5c3f06baeda0da851119c84eead0dd811f9770d966244 days 6 hrs ago0x35ac3dca25f0bd44931105dbd1d08941f7d7915f  IN   0x3076d20cef23cf934fc6f857eb97e2baa63fc9fb0.10604045 Ether0.0011184
0x1c832f8140b7f5b0d933e1dc26b86dc5b71f1243971bc27c1a5c37028e43a853244 days 17 hrs ago0xa40c09bc2338cfdba7863628c29456dee14b1a59  IN   0x3076d20cef23cf934fc6f857eb97e2baa63fc9fb1.27 Ether0.0022368
0x3cfad99635bafd8977df2c5ed77537e40970a2110d0a87f553502909a51589e5244 days 20 hrs ago0xf63de3cc6ee2aef71eb177ef7d8de01c082dd9a2  IN   0x3076d20cef23cf934fc6f857eb97e2baa63fc9fb1 Ether0.0011184
0x4fc5dc22284b965b02ae44447c0ae2dd193c2245419690c4a73efa4005dc416b246 days 22 hrs ago0xdd8da08515884b1ad678e95c097bb0f49a523570  IN   0x3076d20cef23cf934fc6f857eb97e2baa63fc9fb0.54660538 Ether0.00167772
0xc25bdd5d9998114d28e60aeca92ec62bf81aae9e152cec35f51be4143ffe17c6246 days 23 hrs ago0xdd8da08515884b1ad678e95c097bb0f49a523570  IN   0x3076d20cef23cf934fc6f857eb97e2baa63fc9fb1.03 Ether0.00229272
0x41b6a26199b7176fc47d463af040fee794d8303db10acced7fe99bbfa33c7282246 days 23 hrs ago0xdd8da08515884b1ad678e95c097bb0f49a523570  IN   0x3076d20cef23cf934fc6f857eb97e2baa63fc9fb1.03 Ether0.000861
0xf4b51414df92c7b091e63ff0ee7d688ebd08d4d839ffc0dd4729576b0170acf6247 days 20 hrs agoPoloniex_1  IN   0x3076d20cef23cf934fc6f857eb97e2baa63fc9fb1.87 Ether0.002340624
0x90033d0832c0414043edc14d0d0115f52d017b5a7895c8b0df8dd9777c7576cf248 days 3 hrs ago0x152c902c011bb66e43e66db4dc98dde7e86602e4  IN   0x3076d20cef23cf934fc6f857eb97e2baa63fc9fb0.03311701 Ether0.00290784
[ Download CSV Export  ] 
 Internal Transactions as a result of Contract Execution
 Latest 17 Internal Transactions

ParentTxHash Block Age From To Value
0xd5c9214db0124144d41b29e05d2a999797e5e7869b608c0d68e5a58941d9426c586865284 days 15 hrs ago0x3076d20cef23cf934fc6f857eb97e2baa63fc9fb0x955b9a09232b4450e45a290bab46697c2f40fbae30.5 Ether
0x6e01e22da92524d895f7d33da2f56b968e074a4e543c8a9ee23fd83efb794e455736467107 days 13 hrs ago0x3076d20cef23cf934fc6f857eb97e2baa63fc9fb0xfd8a49a338ea8a87751f3ee438bad9b4d20d914b6.412 Ether
0xb7d0e0d4038c89169aee1e5e46ad43677343fd18a56a844cda8011b34cc630d25736439107 days 13 hrs ago0x3076d20cef23cf934fc6f857eb97e2baa63fc9fb0xfd8a49a338ea8a87751f3ee438bad9b4d20d914b1 Ether
0x41baf4955c4f18e217ee72442be15bc8007e04c04b304cb2c9eb4283d00349105736291107 days 14 hrs ago0x3076d20cef23cf934fc6f857eb97e2baa63fc9fb0x61da56048c9f06311c1686a5f6521974346ce8870.001 Ether
0x992ec0edad45706631fc49425d779dafdfc020f4158ef60b859bcdc222d0d1635417991163 days 2 hrs ago0x31a240648e2baf4f9f17225987f6f53fceb1699a0x3076d20cef23cf934fc6f857eb97e2baa63fc9fb0.000000007777777777 Ether
0x60f4b1235b16c9709189362f03853b7e000dc4f23efacf9f4a87a25390600b3e5220773196 days 4 hrs ago0x97f599b5ab34dd6223a0a80c2794c04cddf594880x3076d20cef23cf934fc6f857eb97e2baa63fc9fb1.485 Ether
0xd7043582afccd0282be8bc86835618d68ea7c70cf11a9ce252ebbbde6b8c83bf5096853217 days 4 hrs ago0x97f599b5ab34dd6223a0a80c2794c04cddf594880x3076d20cef23cf934fc6f857eb97e2baa63fc9fb0.0891 Ether
0xc0f34173fd752b8ff0a67067e821342accc4ac918e18fa89da78958dabbce9295081633219 days 18 hrs ago0x97f599b5ab34dd6223a0a80c2794c04cddf594880x3076d20cef23cf934fc6f857eb97e2baa63fc9fb1.089 Ether
0x9f81c4dbc6afaa7014ab3d719b334088f2e510eab9495b53c409479f9fbada855030534228 days 8 hrs ago0x97f599b5ab34dd6223a0a80c2794c04cddf594880x3076d20cef23cf934fc6f857eb97e2baa63fc9fb4.95 Ether
0x41e87b5b83d3641bc4018bd62dcafe6101c4785bee7e14abb0f0093c31cf1b735025505229 days 4 hrs ago0x97f599b5ab34dd6223a0a80c2794c04cddf594880x3076d20cef23cf934fc6f857eb97e2baa63fc9fb0.724390279238550078 Ether
0x79944fedc745c54a64abd08de973244fc99ab60265fb05b078230968d294e02d5010279231 days 18 hrs ago0x7211f65a7876433635601b9480e57f812a3665d80x3076d20cef23cf934fc6f857eb97e2baa63fc9fb0.01923545646 Ether
0x949c1e8c2c1cca5382dc90eba2c5363a0278f1f8ae72ac526356e03c535974295009524231 days 21 hrs ago0x7211f65a7876433635601b9480e57f812a3665d80x3076d20cef23cf934fc6f857eb97e2baa63fc9fb0.98933589909 Ether
0xf0d47b0b4deb19b1cf33946ecbdd4b5bd7e0f1de6d76ddd6ec62edfda93e6a2b5004147232 days 19 hrs ago0x7211f65a7876433635601b9480e57f812a3665d80x3076d20cef23cf934fc6f857eb97e2baa63fc9fb0.98993109303 Ether
0xff701409cfdacb188ce11bbfe0c9c8fdc9bb7e21a79c061186d66e0b5305140b5001344233 days 6 hrs ago0x7211f65a7876433635601b9480e57f812a3665d80x3076d20cef23cf934fc6f857eb97e2baa63fc9fb0.08492567292 Ether
0xc3f1b26018ea5d0933917022097da0d2b34326e0b278ae34b5ea8db8a82488f04999569233 days 14 hrs ago0x7211f65a7876433635601b9480e57f812a3665d80x3076d20cef23cf934fc6f857eb97e2baa63fc9fb0.00082925469 Ether
0xfcd3cc1547eee1f782f578bb9cf6dbf83171b648f4f5b8f42a83b28f5c72f3104775844272 days 17 hrs ago0x3076d20cef23cf934fc6f857eb97e2baa63fc9fb0x955b9a09232b4450e45a290bab46697c2f40fbae39 Ether
0x4c629cb8a1317ca1fde6809f409e5d883bd9a32e32579805e57e99919799affa4775805272 days 17 hrs ago0x3076d20cef23cf934fc6f857eb97e2baa63fc9fb0x955b9a09232b4450e45a290bab46697c2f40fbae10 wei
[ Download CSV Export  ] 
Warning: The Compiled Contract might be susceptible to ExpExponentCleanup (medium/high-severity), EventStructWrongData (very low-severity), NestedArrayFunctionCallDecoder (medium-severity) SolidityCompiler Bugs.

Contract Source Code Verified (Exact Match)
Contract Name: GoldeaSale
Compiler Text: 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

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000b4ee72d819c23a48a02c12c29331641426599266
Arg [1] : 000000000000000000000000f876c67ce21a03a848dbae562d583296ee5a8449


   Swarm Source:
bzzr://57eef3629ff818a29ba0d65cc63b33553a305a6eec4dee0ceb1519988d565239

 

View All
Block Age transaction Difficulty Reward
View All
Block Age UncleNumber Difficulty GasUsed Reward
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.