Back to Home

VerifySignature

Utility
0xee82e544eabc...1bdd586807ff
FrontierContract #3,572Exact Bytecode MatchEdit this contract
Deployed November 8, 2015 (10 years ago)Block 508,520

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

Frontier EraVerified Source
Key Facts
Deployment Block
508,520
Deployment Date
Nov 8, 2015, 10:55 AM
Code Size
667.0 B
Gas at Deploy
210,949

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(667 bytes)
Compiler: v0.1.6+

Exact runtime and creation bytecode match with soljson v0.1.6+commit.d41f8b7c, optimizer on. Source: github.com/bertani/poolicy verifysignature.sol @ 49987b6 (author's original, verbatim). Verified on Etherscan. Not submitted to Sourcify: its oldest supported compiler is v0.1.7.

Heuristic Analysis

The following characteristics were detected through bytecode analysis and may not be accurate.

Detected Type: Utility
Contains SELFDESTRUCT opcode

Bytecode Overview

Opcodes667
Unique Opcodes167
Jump Instructions34
Storage Operations10

External Links

Related contracts