Sponsored Link:   ARNA Genomics - FIRST BLOCKCHAIN BIOTECH ECOSYSTEM. Join ICO Now!
Contract Overview
ETH Balance: 0 Ether
ETH USD Value: $0
No Of Transactions: 1 txn
  Latest 1 txn

TxHash Age From To Value [TxFee]
0x6136670cb14971e79b687d0a0bbdcdeadd902868460c4c06e04c6a2ef86e56db69 days 8 hrs ago0xca6e6cdc307dc8cbdf456b6e9941c8bdf22c5d4b  IN    Contract Creation0 Ether0.005878272
[ Download CSV Export  ] 
 Internal Transactions as a result of Contract Execution
View All
ParentTxHash Block Age From To Value
Warning: The compiled contract might be susceptible to ZeroFunctionSelector (very low-severity) Solidity compiler bugs.

Contract Source Code Verified
Contract Name: IndirectBuyRSC
Compiler Version: v0.4.16+commit.d7661dd9
Optimization Enabled: No
Runs (Optimiser):  200



  Contract Source Code   Find Similiar Contracts
pragma solidity ^0.4.11;

contract RoseCoin {
    // What is the balance of a particular account?
    function balanceOf(address _owner) constant returns (uint256);
    // Send _value amount of tokens to address _to
    function transfer(address _to, uint256 _value) returns (bool success);
    // Buy RoseCoin by sending Ether    
    function buy() payable returns (uint256 amount);
}

contract IndirectBuyRSC{
    RoseCoin constant coin = RoseCoin(0x5c457eA26f82Df1FcA1a8844804a7A89F56dd5e5);
    function buy(address _receiver) payable{
        coin.buy.value(msg.value)();
        coin.transfer(_receiver, coin.balanceOf(this));
    }
}

    Contract ABI  
[{"constant":false,"inputs":[{"name":"_receiver","type":"address"}],"name":"buy","outputs":[],"payable":true,"stateMutability":"payable","type":"function"}]

  Contract Creation Code Switch To Opcodes View
6060604052341561000f57600080fd5b5b6102e58061001f6000396000f30060606040526000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff168063f088d5471461003e575b600080fd5b61006a600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190505061006c565b005b735c457ea26f82df1fca1a8844804a7a89f56dd5e573ffffffffffffffffffffffffffffffffffffffff1663a6f2ae3a346000604051602001526040518263ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004016020604051808303818588803b15156100ec57600080fd5b6125ee5a03f115156100fd57600080fd5b505050506040518051905050735c457ea26f82df1fca1a8844804a7a89f56dd5e573ffffffffffffffffffffffffffffffffffffffff1663a9059cbb82735c457ea26f82df1fca1a8844804a7a89f56dd5e573ffffffffffffffffffffffffffffffffffffffff166370a08231306000604051602001526040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050602060405180830381600087803b15156101f157600080fd5b6102c65a03f1151561020257600080fd5b505050604051805190506000604051602001526040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b151561029957600080fd5b6102c65a03f115156102aa57600080fd5b50505060405180519050505b505600a165627a7a7230582000ca5455bdfeead80bedbf23f696e9e1122670a7dc2e31e20ce71b96a253801d0029

   Swarm Source:
bzzr://00ca5455bdfeead80bedbf23f696e9e1122670a7dc2e31e20ce71b96a253801d
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.