Back to Home

GroveLib

Library
Part of The Piper Merriam Collection
0xb8c0ed3de087...06317905a0af
FrontierContract #2,352Exact 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 21, 2015 (10 years ago)Block 419,441

An ordered index library for contract storage, deployed 21 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 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.

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
419,441
Deployment Date
Oct 21, 2015, 10:42 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 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.

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