Crate example_contract_deployment

Source
Expand description

Example that deploys a contract by forging and executing a contract creation transaction.

Constantsยง

INIT_CODE ๐Ÿ”’
Load number parameter and set to storage with slot 0
RET ๐Ÿ”’
Copy runtime bytecode to memory and return
RUNTIME_BYTECODE ๐Ÿ”’
Load storage from slot zero to memory

Functionsยง

main ๐Ÿ”’