[][src]Module casperlabs_engine_core::runtime

Structs

Runtime

Functions

extract_access_rights_from_keys

Groups a collection of keys by their address and accumulates access rights per key.

extract_access_rights_from_urefs

Groups a collection of urefs by their addresses and accumulates access rights per key

instance_and_memory
key_to_tuple

Turns key into a ([u8; 32], AccessRights) tuple. Returns None if key is not Key::URef as it wouldn't have AccessRights associated with it. Helper function for creating named_keys associating addresses and corresponding AccessRights.

rename_export_to_call

Rename function called name in the module to call. wasmi's entrypoint for a contracts is a function called call, so we have to rename function before storing it in the GlobalState.