Modules§
Macros§
- create_
vm - Create the SBF virtual machine
- mock_
create_ vm
Structs§
Constants§
- DEFAULT_
LOADER_ COMPUTE_ UNITS - DEPRECATED_
LOADER_ COMPUTE_ UNITS - MEMORY_
POOL - UPGRADEABLE_
LOADER_ COMPUTE_ UNITS
Functions§
- calculate_
heap_ cost - Only used in macro, do not use directly!
- check_
loader_ id - create_
vm - Only used in macro, do not use directly!
- direct_
deploy_ program - Directly deploy a program using a provided invoke context. This function should only be invoked from the runtime, since it does not provide any account loads or checks.
- execute
- load_
program_ from_ bytes - process_
instruction_ inner