Module syscalls

Source

Structs§

GetClassHashAtLibfunc
Libfunc for the get_class_hash_at system call.
KeccakLibfunc
Libfunc for the keccak system call. The libfunc does not add any padding and the input needs to be a multiple of 1088 bits (== 17 u64 word).
ReplaceClassLibfunc
Libfunc for the replace_class system call.
Sha256ProcessBlockLibfunc
Libfunc for the sha256_process_block system call. The input needs a Sha256StateHandleType for the previous state and a span of 16 words (each word is 32 bits).
Sha256StateHandleDigestLibfunc
Libfunc for converting a ContractAddress into a felt252.
Sha256StateHandleInitLibfunc
Libfunc for converting a ContractAddress into a felt252.
Sha256StateHandleType
Type representing the sha256 state handle.
SystemType
Type for Starknet system object. Used to make system calls.

Traits§

SyscallGenericLibfunc
Trait for implementing a library function for syscalls.

Functions§

sha256_state_handle_unwrapped_type
The inner type of the Sha256StateHandle: Box<[u32; 8]>.