Back to Home

Contract 0x4f82a4f1adfb...2b0d0559952c

Token
0x4f82a4f1adfb...2b0d0559952c
FrontierContract #3,528DecompiledEdit this contract
Deployed November 7, 2015 (10 years ago)Block 505,868

A redeemable voucher token: only the owner can hand units out, and a holder redeems them back to the owner with a message attached.

Frontier Era

Historical Significance

A one-way token, which is what most real-world vouchers are: issued by one party, spent back to that party, and not transferable between holders. It is a useful counterexample to the assumption that a balance mapping implies a currency, and the message carried into the Redeem event shows an early use of the log as an application's own record rather than as a notification.

Context

Deployed in November 2015, months before ERC-20 fixed what a token was expected to do. With no standard to conform to, a contract holding balances could restrict transfers however its author liked, and this one restricts them to the issuer.

Key Facts
Deployment Block
505,868
Deployment Date
Nov 7, 2015, 10:19 PM
Code Size
921.0 B
Gas at Deploy
275,350

Description

A voucher rather than a currency. Transfers can only be made by the owner, so units move outward from a single account and holders cannot trade them among themselves. A holder spends them through redeem(uint256, string), which returns the units to the owner and emits Redeem(address, uint256, string), putting the redeemer, the amount and a message of their choosing into the log.

Both paths delete a holder's entry once the balance reaches zero, so an account that has spent everything leaves no record in storage. The owner is fixed at 0x125244b5700dee9c20259282701d305873fde7f8.

The redemption message is the point of the design: the log, not the balance, is what the issuer reads to find out what a voucher was spent on.

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

Opcodes921
Unique Opcodes121
Jump Instructions41
Storage Operations27

External Links

Related contracts