Back to Home

African Gold Dinar(D)

Token
0xd92c36f15a43...25b19946e4e6
HomesteadContract #14KExact Bytecode MatchEdit this contract
Deployed April 2, 2016 (10 years ago)Block 1,261,284

Apr 2, 2016 MyToken-tutorial fork — owner mint/freeze, allowances, and a built-in buy/sell with prices left at zero at deploy.

Homestead EraVerified Source

Historical Significance

African Gold Dinar preserves a transitional pre-ERC-20 design: allowances are tracked with a separate spentAllowance mapping (rather than mutating the original allowance map on each spend), administrative minting and freezing are baked directly into the token, and exchange functions live in the same contract rather than in a separate market layer. It belongs to the broader cluster of April 2016 tutorial-derived tokens that experimented with these patterns just weeks before the ERC-20 standard converged around approve / transferFrom.

Context

Deployed on April 2, 2016 at block 1,261,284 by 0x28ba0b04488b9fb1f50f9b9ef782a9899855a5d6 (deploy tx 0x417de6c36d1b9047c931af008b6da60ba00d54ba88677857d6f2bb678e104532, nonce 6). The deployer is the same address passed as the centralMinter constructor argument, so the constructor sets owner = msg.sender and credits the deployer with the full 200,000.000 D initial supply.

The contract is part of the broader MyToken tutorial lineage that dominated early Frontier and Homestead-era token experiments — owned + tokenRecipient + MyToken with public state getters, a fallback that throws to reject plain ETH transfers, and the owner-administered mint / freeze / setPrices interface. African Gold Dinar's prices were never configured on-chain, so the buy/sell paths were inert from launch.

Token Information
Token Name
African Gold Dinar
Symbol
D
Decimals
3
Key Facts
Deployment Block
1,261,284
Deployment Date
Apr 2, 2016, 10:19 AM
Code Size
2.3 KB
Gas at Deploy
837,391
Transactions by Year
20166

Description

African Gold Dinar (symbol D, 3 decimals) is an April 2, 2016 token built from the early MyToken Ethereum-tutorial family. It exposes the standard balance / allowance / freeze / mint / buy / sell surface and is intended to hold its own tokens for the built-in exchange path. The constructor sets decimals = 3 and credits the deployer with 200,000,000 base units (= 200,000.000 D), but neither sellPrice nor buyPrice is initialized — both stay at zero until the owner calls setPrices(), so the buy() path divides by zero and reverts and sell() returns nothing to senders until prices are configured.

The reconstructed source compiles with soljson v0.2.1+commit.91a6b35f and the optimizer enabled to bytecode that matches the on-chain creation AND runtime byte-for-byte. EthereumHistory's first verification recorded native solc v0.1.5; that was wrong — v0.1.5 emits the pre-nightly identity-precompile gas formula (words*3 + 15) in the public-string getter helper, while the on-chain code uses the swapped formula (words*15 + 3) that solc adopted in v0.1.7-nightly.2015.11.19+commit.58110b27 and kept through v0.3.2.

Source Verified

SolidityExact bytecode match(2,346 bytes)
Compiler: soljson

Exact creation and runtime bytecode match. Runtime: 2,346 bytes (SHA-256 5bcf41862ed3c02bf976b5dd34cb623ab6ef40775dbd9c54cefd2b29b29069b1). Creation: 3,121 bytes = 2,833 code + 288 constructor args (SHA-256 4fe71400eb256a617b27e443861f159421b45120770a91caad98eab7d6f89422). Compiler: soljson v0.2.1+commit.91a6b35f, optimizer ON. Verified on Sourcify (creationMatch + runtimeMatch = match) and Etherscan (Pass - Verified). Initial EH verification recorded native solc v0.1.5; corrected based on the identity-precompile gas-formula signature (words*15 + 3) which only appears in v0.1.7-nightly.2015.11.19 and later.

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,346
Unique Opcodes168
Jump Instructions114
Storage Operations73

External Links