Back to Home

StringLib

Library
Part of The Piper Merriam Collection
0x443b53559d33...7029718203fb
FrontierContract #2,538Exact Bytecode MatchEdit this contract
Deployed October 23, 2015 (10 years ago)Block 429,081

A string and bytes conversion library, deployed 2015-10-23.

Frontier EraVerified Source

Historical Significance

Solidity of this period could not compare two strings: there was no built-in equality for a dynamic type, so every contract that needed it wrote the comparison itself or linked against something like this. Deploying a few hundred bytes of helper as its own contract, to be called into by others, is what passed for a package manager in 2015.

Context

Deployed in October 2015, when contracts had no standard library and common routines were put on chain individually to be linked against.

Key Facts
Deployer
Piper Merriam(0xd3cda9...293601)
Deployment Block
429,081
Deployment Date
Oct 23, 2015, 08:42 PM
Code Size
265.0 B
Gas at Deploy
86,071

Description

StringLib converts between a 32 byte word and an unsigned integer in both directions, which is the operation contracts of the period needed to build and parse packed identifiers by hand. It holds no state and has no owner. At a few hundred bytes it is one of the smaller deliberate library deployments of the era, put on chain so other contracts could link against it instead of duplicating the code.

Source Verified

Exact bytecode match(265 bytes)
Compiler: v0.1.6+

Historian Categories

Library
Heuristic Analysis

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

Detected Type: Library

Bytecode Overview

Opcodes265
Unique Opcodes64
Jump Instructions23
Storage Operations0

External Links

Related contracts