Last active
June 5, 2023 08:13
-
-
Save shanefontaine/78f1c628405b2942a5f0fcd02d967f13 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Name | Description | On-chain Retrival | Off-chain Retrieval | |
---|---|---|---|---|
Creation Bytecode | Code that generates the runtime bytecode | type(ContractName).creationCode | getTransactionByHash | |
Runtime Bytecode | Code that is stored on-chain that describes a smart contract | extcodecopy(a) or type(ContractName).runtimeCode | getCode | |
Bytecode | Umbrella term that encompasses both runtime bytecode and creation bytecode | NA | NA | |
Deployed Bytecode | Same as runtime bytecode | extcodecopy(a) or type(ContractName).runtimeCode | getCode | |
Init Code | Same as creation bytecode | type(ContractName).creationCode | getTransactionByHash |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment