Back to Home

GroveLib

Library
Part of The Piper Merriam Collection
0xaa4d33e9b994...b0b23f85235f
FrontierContract #2,425Exact Bytecode MatchEdit this contract

Bytecode verified via sibling

This contract shares identical runtime bytecode with GroveLib (0xce642b6a...) which has been verified through compiler archaeology.

Deployed October 22, 2015 (10 years ago)Block 424,342

An ordered index library for contract storage, deployed 22 October 2015.

Frontier EraVerified Source

Historical Significance

GroveLib maintains sorted indexes inside contract storage using a self balancing binary tree. It supports inserting a value under a key, querying for the node exactly at a value, and walking to the next or previous node in order, which is what lets a contract ask for the earliest entry above or below a threshold without scanning everything it holds. It was written to let the Ethereum Alarm Clock look up which scheduled call comes next, a query the EVM offers no native way to answer. Deployed as a standalone library so other contracts could link against it rather than carry their own copy.

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
424,342
Deployment Date
Oct 22, 2015, 11:07 PM
Code Size
4.3 KB
Gas at Deploy
1,175,251

Description

GroveLib maintains sorted indexes inside contract storage using a self balancing binary tree. It supports inserting a value under a key, querying for the node exactly at a value, and walking to the next or previous node in order, which is what lets a contract ask for the earliest entry above or below a threshold without scanning everything it holds. It was written to let the Ethereum Alarm Clock look up which scheduled call comes next, a query the EVM offers no native way to answer. Deployed as a standalone library so other contracts could link against it rather than carry their own copy.

Source Verified

Exact bytecode match(4,361 bytes)
Compiler: v0.1.5-

Historian Categories

Library
Heuristic Analysis

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

Detected Type: Library

Bytecode Overview

Opcodes4,361
Unique Opcodes165
Jump Instructions269
Storage Operations273

External Links

Related contracts