Back to Home

Hash DB Token(Karma)

Token
0x0bf43e740895...179403a20147
DAO ForkContract #22KExact Bytecode MatchEdit this contract
Deployed August 7, 2016 (9 years ago)Block 2,028,941

2017 ERC-20 token tied to HashDB, an early Ethereum-backed data store; mintable via buy() with refund-on-overpay and frontend-bypass transferFrom.

DAO Fork EraVerified Source

Historical Significance

The Karma token illustrates an early experiment in making reputation or engagement units transferable and redeemable rather than purely symbolic. Unlike later non-transferable reputation systems, this implementation treated karma as a liquid ERC-20 asset.

Context

Source-reconstructed via byte-for-byte match with solc v0.3.5 + optimizer ON. Cracked by inferring nested-if vs combined-if patterns and !=0 vs >0 from optimizer output.

Token Information
Token Name
Hash DB Token
Symbol
Karma
Decimals
0
Key Facts
Deployment Block
2,028,941
Deployment Date
Aug 7, 2016, 08:03 PM
Code Size
2.3 KB
Gas at Deploy
892,849
Transactions by Year
20162

Description

Hash DB Token is a 2016 ERC-20-like token deployed on August 7, 2016. It is a bespoke template, not the standard ConsenSys MyAdvancedToken. Distinctive features include separate setOwner/setFrontend admin functions, transferFrom that skips allowance for owner/frontend callers, and an owner-refund pattern in buy(). Source reconstructed via soljson v0.3.1 to within 1 byte of exact bytecode match.

Source Verified

SolidityExact bytecode match(2,406 bytes)
Compiler: 0.3.5+c

Source-reconstructed byte-for-byte using solc v0.3.5 + optimizer ON. Closed 18-byte gap with three fixes: 1) local var spender = tokenRecipient(_spender) AFTER the SSTORE in approveAndCall, 2) split nested-if to (totalSupply !=0 && newSellPrice > sellPrice) throw form, 3) unguarded second newSellPrice > newBuyPrice throw.. Optimizer: ON (200 runs)

Heuristic Analysis

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

Detected Type: Token
Has ERC-20-like patterns

Bytecode Overview

Opcodes2,406
Unique Opcodes155
Jump Instructions148
Storage Operations64

External Links