Contract: 0x4ab274fc3a81b300a0016b3805d9b94c81fa54d2
Deployment tx: 0x2321b9ae...
Block: 1,211,128
Date: March 24, 2016
Deployer: 0xd1220a0cf47c7b9be7a2e6ba89f429762e7b9adb (Alex Van de Sande / avsa)
MeatConversionCalculator is a playful Ethereum contract by Alex Van de Sande (avsa), an early Ethereum Foundation developer and Mist wallet creator. The contract calculates estimated unicorn meat yield using a multi-block random number generator, with configurable parameters for average unicorn size and reliability percentage.
The contract was deployed during Homestead (March 2016) using the same compiler and deployment pattern as the MeatGrindersAssociation contract deployed the same day.
Source code published by the author (avsa) in a public gist:
- Gist: https://gist.github.com/alexvandesande/3abc9f741471e08a6356
- The gist includes the compiler version in comments:
Solc: '0.2.1-91a6b35f/.-Emscripten/clang/int linked to libethereum-' with optim - Init parameters: 1000, 90
- Compiler:
soljson-v0.2.1+commit.91a6b35f - Optimizer: ON (enabled, 200 runs)
- Language: Solidity
Compiling MeatConversionCalculator.sol with soljson-v0.2.1+commit.91a6b35f (optimizer ON) produces a byte-for-byte exact match of both the creation bytecode and 490-byte on-chain runtime bytecode. No source modifications required.
The source was taken directly from the author's gist with the interface comment header stripped, preserving the contract owned base and contract MeatConversionCalculator is owned structure exactly as published.
Verified on Sourcify (match ID 26529973) at https://sourcify.dev/#/lookup/0x4ab274fc3a81b300a0016b3805d9b94c81fa54d2
MeatConversionCalculator.sol- source from avsa's gist (unmodified logic)onchain-runtime.hex- on-chain runtime bytecode (490 bytes)