Docs.rs
cairo-vm-2.0.0-rc1
cairo-vm 2.0.0-rc1
Docs.rs crate page
Apache-2.0
Links
Repository
crates.io
Source
Owners
klaus993
github:lambdaclass:crates-io-publishers:owners
orizi
liorgold2
AbdelStark
Dependencies
anyhow ^1.0.69
normal
arbitrary ^1.3.0
normal
optional
ark-ff ^0.4.2
normal
optional
ark-std ^0.4.0
normal
optional
bincode ^2.0.0-rc.3
normal
bitvec ^1
normal
cairo-lang-casm ^2.9.0-dev.0
normal
optional
cairo-lang-starknet ^2.9.0-dev.0
normal
optional
cairo-lang-starknet-classes ^2.9.0-dev.0
normal
optional
clap ^4.3.10
normal
optional
generic-array ^0.14.7
normal
hashbrown ^0.14.0
normal
hex ^0.4.3
normal
keccak ^0.1.2
normal
lazy_static ^1.4.0
normal
nom ^7
normal
num-bigint ^0.4
normal
num-integer ^0.1.45
normal
num-prime ^0.4.3
normal
optional
num-traits ^0.2
normal
rand ^0.8.5
normal
rust_decimal ^1.35.0
normal
serde ^1.0
normal
serde_json ^1.0
normal
sha2 ^0.10.7
normal
sha3 ^0.10.8
normal
starknet-crypto ^0.6.1
normal
starknet-types-core ^0.1.2
normal
thiserror-no-std ^2.0.2
normal
wasm-bindgen =0.2.92
normal
zip ^0.6.6
normal
optional
assert_matches ^1.5.0
dev
num-prime ^0.4.3
dev
rstest ^0.17.0
dev
criterion ^0.5.1
dev
iai-callgrind ^0.3.1
dev
mimalloc ^0.1.37
dev
proptest ^1.0.0
dev
wasm-bindgen-test ^0.3.34
dev
Versions
9.29%
of the crate is documented
Go to latest stable release
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
Rust
About docs.rs
Privacy policy
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
cairo_
vm
2.0.0-rc1
Module hint_
code
Module Items
Constants
In cairo_
vm::
hint_
processor::
builtin_
hint_
processor
cairo_vm
::
hint_processor
::
builtin_hint_processor
Module
hint_code
Copy item path
Source
Constants
ยง
ADD_
NO_
UINT384_
CHECK
ADD_
SEGMENT
ASSERT_
250_
BITS
ASSERT_
LE_
FELT
ASSERT_
LE_
FELT_
EXCLUDED_
0
ASSERT_
LE_
FELT_
EXCLUDED_
1
ASSERT_
LE_
FELT_
EXCLUDED_
2
ASSERT_
LE_
FELT_
V_
0_
6
ASSERT_
LE_
FELT_
V_
0_
8
ASSERT_
LT_
FELT
ASSERT_
NN
ASSERT_
NOT_
EQUAL
ASSERT_
NOT_
ZERO
A_
B_
BITAND_
1
BIGINT_
PACK_
DIV_
MOD
BIGINT_
SAFE_
DIV
BIGINT_
TO_
UINT256
BLAK
E2S_
ADD_
UINT256
BLAK
E2S_
ADD_
UINT256_
BIGEND
BLAK
E2S_
COMPUTE
BLAK
E2S_
FINALIZE
BLAK
E2S_
FINALIZE_
V2
BLAK
E2S_
FINALIZE_
V3
BLOCK_
PERMUTATION
BLOCK_
PERMUTATION_
WHITELIST_
V1
BLOCK_
PERMUTATION_
WHITELIST_
V2
CAIRO_
KECCAK_
FINALIZE_
V1
CAIRO_
KECCAK_
FINALIZE_
V2
CAIRO_
KECCAK_
INPUT_
IS_
FULL_
WORD
CHAINED_
EC_
OP_
RANDOM_
EC_
POINT
COMPARE_
BYTES_
IN_
WORD_
NONDET
COMPARE_
KECCAK_
FULL_
RATE_
IN_
BYTES_
NONDET
COMPUTE_
SLOPE_
SECP256
R1_
V1
COMPUTE_
SLOPE_
SECP256
R1_
V2
COMPUTE_
SLOPE_
V1
COMPUTE_
SLOPE_
V2
COMPUTE_
SLOPE_
WHITELIST
DEFAULT_
DICT_
NEW
DICT_
NEW
DICT_
READ
DICT_
SQUASH_
COPY_
DICT
DICT_
SQUASH_
UPDATE_
PTR
DICT_
UPDATE
DICT_
WRITE
DIV_
MOD_
N_
PACKED_
DIVMOD_
EXTERNAL_
N
DIV_
MOD_
N_
PACKED_
DIVMOD_
V1
DIV_
MOD_
N_
SAFE_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_
PACK_
ED25519
IS_
ZERO_
PACK_
EXTERNAL_
SECP_
V1
IS_
ZERO_
PACK_
EXTERNAL_
SECP_
V2
IS_
ZERO_
PACK_
V1
IS_
ZERO_
PACK_
V2
KECCAK_
WRITE_
ARGS
MEMCPY_
CONTINUE_
COPYING
MEMCPY_
ENTER_
SCOPE
MEMSET_
CONTINUE_
LOOP
MEMSET_
ENTER_
SCOPE
NONDET_
BIGIN
T3_
V1
NONDET_
BIGIN
T3_
V2
NONDET_
ELEMENTS_
OVER_
TEN
NONDET_
ELEMENTS_
OVER_
TWO
NONDET_
N_
GREATER_
THAN_
2
NONDET_
N_
GREATER_
THAN_
10
PACK_
MODN_
DIV_
MODN
POW
QUAD_
BIT
RANDOM_
EC_
POINT
RECOVER_
Y
REDUCE_
ED25519
REDUCE_
V1
REDUCE_
V2
RELOCATE_
SEGMENT
RUN_
P_
CIRCUIT
RUN_
P_
CIRCUIT_
WITH_
LARGE_
BATCH_
SIZE
SEARCH_
SORTED_
LOWER
SET_ADD
SHA256_
FINALIZE
SHA256_
INPUT
SHA256_
MAIN_
ARBITRARY_
INPUT_
LENGTH
SHA256_
MAIN_
CONSTANT_
INPUT_
LENGTH
SIGNED_
DIV_
REM
SPLIT_
64
SPLIT_
FELT
SPLIT_
INPUT_
3
SPLIT_
INPUT_
6
SPLIT_
INPUT_
9
SPLIT_
INPUT_
12
SPLIT_
INPUT_
15
SPLIT_
INT
SPLIT_
INT_
ASSERT_
RANGE
SPLIT_
N_
BYTES
SPLIT_
OUTPUT_
0
SPLIT_
OUTPUT_
1
SPLIT_
OUTPUT_
MID_
LOW_
HIGH
SPLIT_
XX
SQRT
SQUARE_
SLOPE_
X_
MOD_
P
SQUASH_
DICT
SQUASH_
DICT_
INNER_
ASSERT_
LEN_
KEYS
SQUASH_
DICT_
INNER_
CHECK_
ACCESS_
INDEX
SQUASH_
DICT_
INNER_
CONTINUE_
LOOP
SQUASH_
DICT_
INNER_
FIRST_
ITERATION
SQUASH_
DICT_
INNER_
LEN_
ASSERT
SQUASH_
DICT_
INNER_
NEXT_
KEY
SQUASH_
DICT_
INNER_
SKIP_
LOOP
SQUASH_
DICT_
INNER_
USED_
ACCESSES_
ASSERT
SUB_
REDUCED_
A_
AND_
REDUCED_
B
TEMPORARY_
ARRAY
UINT128_
ADD
UINT256_
ADD
UINT256_
ADD_
LOW
UINT256_
EXPANDED_
UNSIGNED_
DIV_
REM
UINT256_
GET_
SQUARE_
ROOT
UINT256_
MUL_
DIV_
MOD
UINT256_
MUL_
INV_
MOD_
P
UINT256_
SIGNED_
NN
UINT256_
SQRT
UINT256_
SQRT_
FELT
UINT256_
SUB
UINT256_
UNSIGNED_
DIV_
REM
UINT384_
DIV
UINT384_
GET_
SQUARE_
ROOT
UINT384_
SIGNED_
NN
UINT384_
SPLIT_
128
UINT384_
SQRT
UINT384_
UNSIGNED_
DIV_
REM
UINT512_
UNSIGNED_
DIV_
REM
UNSAFE_
KECCAK
UNSAFE_
KECCAK_
FINALIZE
UNSIGNED_
DIV_
REM
UNSIGNED_
DIV_
REM_
UINT768_
BY_
UINT384
UNSIGNED_
DIV_
REM_
UINT768_
BY_
UINT384_
STRIPPED
USORT_
BODY
USORT_
ENTER_
SCOPE
USORT_
VERIFY
USORT_
VERIFY_
MULTIPLICITY_
ASSERT
USORT_
VERIFY_
MULTIPLICITY_
BODY
VERIFY_
ECDSA_
SIGNATURE
VERIFY_
ZERO_
EXTERNAL_
SECP
VERIFY_
ZERO_
V1
VERIFY_
ZERO_
V2
VERIFY_
ZERO_
V3
VM_
ENTER_
SCOPE
VM_
EXIT_
SCOPE
XS_
SAFE_
DIV