Contract Overview
Balance: 1 Ether
Ether Value: $168.66 (@ $168.66/ETH)
Transactions: 6 txns
Misc:
Address Watch: Add To Watch List
Contract Creator: 0x139130177c2c98e3a934098560d4ba7e5cd37375at txn 0x016fc24e8d7c04836a82da5dad4db97a41a16f21e9f4138985e014e6928e2d53
Token Balance:
 Latest 6 txns

TxHash Age From To Value [TxFee]
0x25e34dd25f54d5e14db61df38bfe25e9e2458d8aeb266210a1b1773770db710156 days 32 mins ago0x12ed9c7ce5434961ab43626f4558d1dcafad4723  IN   0x9828f591b21ee4ad4fd803fc7339588cb83a6b840 Ether0.000467
0xa7fb387b6a6b8af577ec354497badf2838ec1fd3f816faeb6ad69407bde7b3ca109 days 19 hrs ago0xe65fa86d7c876edd021fee57479cc301e0fb657b  IN   0x9828f591b21ee4ad4fd803fc7339588cb83a6b840 Ether0.0011739
0xef2dc41389f60a280eca3cd925ed6a902eb2531577187357dd0c37ec4d9fee5a396 days 2 hrs ago0xc3b0533d965ac6077d6acf8c5510733c1bf025be  IN   0x9828f591b21ee4ad4fd803fc7339588cb83a6b840 Ether0.000185776
0xebc7cfe7dff5f116f0647a6f4e014983cbc7bdd9c8e812ab8d946f2596c0a227396 days 2 hrs ago0xc3b0533d965ac6077d6acf8c5510733c1bf025be  IN   0x9828f591b21ee4ad4fd803fc7339588cb83a6b840 Ether0.00023478
0x6695164e90fba7400cb62a719d2d30585f7235504624d2568476e50b5956bdaa830 days 5 hrs ago0x139130177c2c98e3a934098560d4ba7e5cd37375  IN   0x9828f591b21ee4ad4fd803fc7339588cb83a6b841 Ether0.08728764
0x016fc24e8d7c04836a82da5dad4db97a41a16f21e9f4138985e014e6928e2d53830 days 7 hrs ago0x139130177c2c98e3a934098560d4ba7e5cd37375  IN    Contract Creation0 Ether0.00472387872
[ Download CSV Export  ] 
 Internal Transactions as a result of Contract Execution
View All
ParentTxHash Block Age From To Value



  Contract Source Code   Find Similiar Contracts

/// Simple contract that collects money, keeps them till the certain birthday
/// time and then allows certain recipient to take the collected money.
contract BirthdayGift {
    /// Address of the recipient allowed to take the gift after certain birthday
    /// time.
    address public recipient;

    /// Birthday time, the gift could be taken after.
    uint public birthday;

    /// Congratulate recipient and give the gift.
    ///
    /// @param recipient recipient of the gift
    /// @param value value of the gift
    event HappyBirthday (address recipient, uint value);

    /// Instantiate the contract with given recipient and birthday time.
    ///
    /// @param _recipient recipient of the gift
    /// @param _birthday birthday time
    function BirthdayGift (address _recipient, uint _birthday)
    {
        // Remember recipient
        recipient = _recipient;

        // Remember birthday time
        birthday = _birthday;
    }

    /// Collect money if birthday time didn't come yet.
    function ()
    {
        // Do not collect after birthday time
        if (block.timestamp >= birthday) throw;
    }

    /// Take a gift.
    function Take ()
    {
        // Only proper recipient is allowed to take the gift
        if (msg.sender != recipient) throw;

        // Gift couldn't be taken before birthday time
        if (block.timestamp < birthday) throw;

        // Let's congratulate our recipient
        HappyBirthday (recipient, this.balance);

        // And finally give the gift!
        if (!recipient.send (this.balance)) throw;
    }
}

    Contract ABI  
[{"constant":true,"inputs":[],"name":"birthday","outputs":[{"name":"","type":"uint256"}],"type":"function"},{"constant":true,"inputs":[],"name":"recipient","outputs":[{"name":"","type":"address"}],"type":"function"},{"constant":false,"inputs":[],"name":"Take","outputs":[],"type":"function"},{"inputs":[{"name":"_recipient","type":"address"},{"name":"_birthday","type":"uint256"}],"type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"name":"recipient","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"HappyBirthday","type":"event"}]

  Contract Creation Code Switch To Opcodes View
6060604081815280610165833960a090525160805160008054600160a060020a031916909217825560015561012c90819061003990396000f3606060405236156100355760e060020a60003504635f9f4734811461004657806366d003ac1461004f578063ac110d8e14610061575b61007f600154421061008157610002565b61008360015481565b610083600054600160a060020a031681565b61007f60005433600160a060020a0390811691161461008d57610002565b005b565b6060908152602090f35b60015442101561009c57610002565b600054600160a060020a03908116606090815230909116316080527f7ff86a3550c489de55163d2ee165a3420b682f6daff6a7392e1b720405e6feb090604090a1600060009054906101000a9004600160a060020a0316600160a060020a0316600030600160a060020a031631604051809050600060405180830381858888f1935050505015156100815761000256

    Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000024a610718e248d2d624e850c1552871f32391a8800000000000000000000000000000000000000000000000000000000798603fc

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 00000000000000000000000024a610718e248d2d624e850c1552871f32391a88
Arg [1] : 00000000000000000000000000000000000000000000000000000000798603fc


 

View All
Block Age transaction Difficulty GasUsed 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.