Back to Home

ArrayPasser

program
0xc8c2ed93af09...8d9d527e9057
FrontierContract #1,694Exact Bytecode MatchEdit this contract
Deployed September 30, 2015 (10 years ago)Block 313,141

A tutorial contract testing fixed-size array passing as function parameters in Solidity.

Frontier EraVerified Source

Historical Significance

An early mainnet test of array parameter passing in Solidity, from a systematic tutorial series exploring ABI encoding of complex types.

Context

Deployed in late September 2015 during the Frontier era. ABI encoding of arrays and complex types was still being refined in the Solidity compiler.

Key Facts
Deployer
Cyrus Adkisson(0xcf684d...ad1bac)
Deployment Block
313,141
Deployment Date
Sep 30, 2015, 04:47 PM
Code Size
1.3 KB
Gas at Deploy
396,809
Transactions by Year
20151

Description

A tutorial contract from Cyrus Adkisson's solidity-baby-steps series (contract #47) that tests passing fixed-size arrays as parameters to Solidity functions. Explores how arrays are encoded in calldata and how they can be received and processed by contract functions.

Deployed twice on September 30, 2015. Part of a series of contracts (#47) testing different data passing mechanisms including arrays, bytes32, and strings.

Source Verified

SolidityExact bytecode match(1,339 bytes)
Compiler: soljson

Exact creation bytecode match. Author Cyrus Adkisson published source at https://github.com/cyrusadkisson/solidity-baby-steps/blob/master/contracts/47_array_passer.sol. Batch-matched against 357 deploy TXs from deployer 0xcf684dfb8304729355b58315e8019b1aa2ad1bac.

Heuristic Analysis

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

Detected Type: program

Bytecode Overview

Opcodes1,339
Unique Opcodes76
Jump Instructions45
Storage Operations17

External Links