This contract is not yet documented
Know something about this contract? Switch to the History tab and suggest an edit to help preserve Ethereum history.
Key Facts
Source Verified
Sourcify partial match (chain 1, address 0xA0b80fDe1F922c87b2E768F783AFdE30e52614d6). Compiled with solc 0.1.4+commit.5f6c3cdf, optimizer on, contract AlarmTest.
Heuristic Analysis
The following characteristics were detected through bytecode analysis and may not be accurate.
Frontier Era
The initial release of Ethereum. A bare-bones implementation for technical users.
Bytecode Overview
Verified Source Available
Source verified through compiler archaeology and exact bytecode matching.
View Verification ProofShow source code (Solidity)
// Recovered by EthereumHistory (ethereumhistory.com) -sw
contract Alarm {
function scheduleCall(address contractAddress, bytes4 signature, bytes32 dataHash, uint targetBlock, uint8 gracePeriod, uint nonce);
function accountBalances(address) returns (uint);
function withdraw(uint amount);
}
contract AlarmTest {
address owner;
Alarm alarm = Alarm(0xdb15058402c241b04a03846f6fb104b1fbeea10b);
uint8 gracePeriod = 255;
bool public flag;
uint public value;
function AlarmTest() {
owner = msg.sender;
}
function kill() {
if (msg.sender != owner) return;
alarm.withdraw(alarm.accountBalances(address(this)));
suicide(owner);
}
function setGracePeriod(uint8 g) {
gracePeriod = g;
}
function scheduleDoIt(uint blocks) {
alarm.scheduleCall(address(this), 0xb29f0835, 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470, block.number + blocks, gracePeriod, 0);
}
function scheduleUndoIt(uint blocks) {
alarm.scheduleCall(address(this), 0x185061da, 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470, block.number + blocks, gracePeriod, 0);
}
function scheduleSetIt(uint blocks, uint v) {
address(alarm).call(bytes4(sha3("registerData()")), v);
alarm.scheduleCall(address(this), bytes4(sha3("setIt(uint256)")), sha3(v), block.number + blocks, gracePeriod, 0);
}
function doIt() {
flag = true;
}
function undoIt() {
flag = false;
}
function setIt(uint v) {
value = v;
}
}External Links
Related contracts
MemberRegistry
Same deployerOwner-controlled dynamic-array member registry.
0x1f3b19...7c161aAugust 13, 2015Members
Same deployerOwner-controlled member registry with array + mapping tracking.
0xaeb2ac...a5fd37August 14, 2015MembershipRoster
Same deployerAn Ethereum Public Trust roster contract for adding, removing, and checking members.
0xf1d327...aa0455August 14, 2015KillMul
Same deployerTest/utility contract with `suicide(address)` kill switch and a `multiply2` helper.
0x3e5e1f...7c78cdAugust 14, 2015Members
Same deployerOwner-controlled member registry using sequential id + mapping storage.
0xc6810e...db4e6fAugust 14, 2015CallerPool
Same deployerThe bonded caller pool of the Ethereum Alarm Clock: callers post a bond, take turns being the designated executor, and forfeit it if they miss.
0x329219...fc3e8bSeptember 22, 2015