mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Document immutable references output.
This commit is contained in:
parent
84d7bac4f6
commit
4a23ce087c
@ -302,7 +302,8 @@ Input Description
|
|||||||
// evm.bytecode.opcodes - Opcodes list
|
// evm.bytecode.opcodes - Opcodes list
|
||||||
// evm.bytecode.sourceMap - Source mapping (useful for debugging)
|
// evm.bytecode.sourceMap - Source mapping (useful for debugging)
|
||||||
// evm.bytecode.linkReferences - Link references (if unlinked object)
|
// evm.bytecode.linkReferences - Link references (if unlinked object)
|
||||||
// evm.deployedBytecode* - Deployed bytecode (has the same options as evm.bytecode)
|
// evm.deployedBytecode* - Deployed bytecode (has all the options that evm.bytecode has)
|
||||||
|
// evm.deployedBytecode.immutableReferences - Map from AST ids to bytecode ranges that reference immutables
|
||||||
// evm.methodIdentifiers - The list of function hashes
|
// evm.methodIdentifiers - The list of function hashes
|
||||||
// evm.gasEstimates - Function gas estimates
|
// evm.gasEstimates - Function gas estimates
|
||||||
// ewasm.wast - eWASM S-expressions format (not supported at the moment)
|
// ewasm.wast - eWASM S-expressions format (not supported at the moment)
|
||||||
@ -424,8 +425,14 @@ Output Description
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
// The same layout as above.
|
"deployedBytecode": {
|
||||||
"deployedBytecode": { },
|
..., // The same layout as above.
|
||||||
|
"immutableReferences": [
|
||||||
|
// 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.
|
||||||
|
"3": [{ "start": 42, "length": 32 }, { "start": 80, "length": 32 }]
|
||||||
|
]
|
||||||
|
},
|
||||||
// The list of function hashes
|
// The list of function hashes
|
||||||
"methodIdentifiers": {
|
"methodIdentifiers": {
|
||||||
"delegate(address)": "5c19a95c"
|
"delegate(address)": "5c19a95c"
|
||||||
|
Loading…
Reference in New Issue
Block a user