Skip to content
Verified contractPartial

hodlEthereum

Address0xecf7feecef955e1b6f3460831f230d0bf7119d55
Balance

0.01 ETH

 

Transactions

17

 

Compiler

solc 0.4.12

 

Same code

Only this contract

 

Details

Compiler
solc 0.4.12+commit.194ff033
Language
solidity
Optimization
No
License
Not stated
Match
Partialcreation code: yes, runtime code: yes
Verified on Sourcify
Created in block
12,626,627
Creation transaction
0x724e1303fb…291af54790

hodlEthereum.sol

pragma solidity ^0.4.12;
contract hodlEthereum {
    event Hodl(address indexed hodler, uint indexed amount);
    event Party(address indexed hodler, uint indexed amount);
    mapping (address => uint) public hodlers;
    uint constant partyTime = 1718459999; // 15th June 2024
    function() payable {
        hodlers[msg.sender] += msg.value;
        Hodl(msg.sender, msg.value);
    }
    function party() {
        require (block.timestamp > partyTime && hodlers[msg.sender] > 0);
        uint value = hodlers[msg.sender];
        hodlers[msg.sender] = 0;
        msg.sender.transfer(value);
        Party(msg.sender, value);
    }
}
Compiler settingsShow
{
  "optimizer": {
    "runs": 0,
    "enabled": false
  }
}

Source code and metadata: Sourcify.

The source code belongs to the authors of the contract.