Back to Home

VerifySignature

Utility
0x46e90a29a43b...201b69c7cfd1
FrontierContract #3,539Exact Bytecode MatchEdit this contract
Deployed November 7, 2015 (10 years ago)Block 505,981

An early experiment in checking a Bitcoin-style signature with ecrecover, using hex-string parsing helpers.

Frontier EraVerified Source
Key Facts
Deployment Block
505,981
Deployment Date
Nov 7, 2015, 10:50 PM
Code Size
1.4 KB
Gas at Deploy
397,466

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

SolidityExact bytecode match(1,393 bytes)
Compiler: v0.1.6+

Exact runtime and creation bytecode match with soljson v0.1.6+commit.d41f8b7c, optimizer on. Source: handwritten reconstruction; parseBytes32 adapted from the Oraclize parseAddr of the period; selector names parse2()/returnBytes(string) and event Log(byte[32]) recovered by dictionary search. 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.

Detected Type: Utility
Contains SELFDESTRUCT opcode

Bytecode Overview

Opcodes1,393
Unique Opcodes130
Jump Instructions64
Storage Operations14

External Links

Related contracts