An early experiment in checking a Bitcoin-style signature with ecrecover, using hex-string parsing helpers.
Key Facts
Description
A test contract for verifying a Bitcoin-style ECDSA signature on Ethereum. It holds a message hash, the r, s and v values of a signature over it, and the expected signer, written as hex strings and parsed on chain, then passes them to the ecrecover precompile. The deployer published the final version as verifysignature.sol in the poolicy repository, a project to enforce Bitcoin mining pool policies from Ethereum.
Source Verified
Exact runtime and creation bytecode match with soljson v0.1.6+commit.d41f8b7c, optimizer on. Source: handwritten reconstruction from bytecode. Verified on Etherscan. Not submitted to Sourcify: its oldest supported compiler is v0.1.7. Contract name is a stand-in: stand-in: an earlier iteration of the deployer's signature-verification experiment, deployed in the hours before the same author published the final version as VerifySignature in github.com/bertani/poolicy (verifysignature.sol, 2015-11-08), which is byte-exact for 0xee82e544eabcafa92f0bffc2c7131bdd586807ff.
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)
// Submitted by EthereumHistory (ethereumhistory.com)
contract VerifySignature {
address owner;
function VerifySignature() {
owner = msg.sender;
}
function kill() {
if (msg.sender == owner) suicide(msg.sender);
}
function verify(bytes a, bytes b, bytes c) {
}
}External Links
Related contracts
LastIsMe
Same deployerA last-player-wins game: each entry makes the sender the last player, and after enough blocks with no new entry the pot is paid to them.
0xd6b955...30dd2aSeptember 8, 2015LastIsMe
Same deployerA last-player-wins game: each entry makes the sender the last player, and after enough blocks with no new entry the pot is paid to them.
0x6197b2...2eda88September 8, 2015LastIsMe
Same deployerA last-player-wins game: each entry makes the sender the last player, and after enough blocks with no new entry the pot is paid to them.
0x78eea8...58ac23September 8, 2015LastIsMe
Same deployerA last-player-wins game: each entry makes the sender the last player, and after enough blocks with no new entry the pot is paid to them.
0xb84f79...af6a30September 9, 2015LastIsMe
Same deployerA last-player-wins game: each entry makes the sender the last player, and after enough blocks with no new entry the pot is paid to them.
0xf6a239...378d81September 9, 2015LastIsMe
Same deployerA last-player-wins game: each entry makes the sender the last player, and after enough blocks with no new entry the pot is paid to them.
0x7d692b...5e0c15September 9, 2015