Correct immutableReferences documentation from array to object

This commit is contained in:
Harry Altman 2020-08-12 19:16:10 -04:00
parent e68d16d8e0
commit 590572d50d

View File

@ -441,11 +441,11 @@ Output Description
}, },
"deployedBytecode": { "deployedBytecode": {
..., // The same layout as above. ..., // The same layout as above.
"immutableReferences": [ "immutableReferences": {
// There are two references to the immutable with AST ID 3, both 32 bytes long. One is // There are two references to the immutable with AST ID 3, both 32 bytes long. One is
// at bytecode offset 42, the other at bytecode offset 80. // at bytecode offset 42, the other at bytecode offset 80.
"3": [{ "start": 42, "length": 32 }, { "start": 80, "length": 32 }] "3": [{ "start": 42, "length": 32 }, { "start": 80, "length": 32 }]
] }
}, },
// The list of function hashes // The list of function hashes
"methodIdentifiers": { "methodIdentifiers": {