Docs.rs
cairo-vm-1.0.1
cairo-vm 1.0.1
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.7.0
normal
optional
cairo-lang-starknet ^2.7.0
normal
optional
cairo-lang-starknet-classes ^2.7.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
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.6%
of the crate is documented
Platform
i686-unknown-linux-gnu
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
1.0.1
Module hint_
code
Constants
In cairo_
vm::
hint_
processor::
builtin_
hint_
processor
Module
cairo_vm
::
hint_processor
::
builtin_hint_processor
::
hint_code
Copy item path
source
·
[
−
]
Constants
§
ADD_
NO_
UINT384_
CHECK
ADD_
SEGMENT
ASSER
T_
250_
BITS
ASSER
T_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T
SQUAS
H_
DICT_
INNE
R_
ASSER
T_
LEN_
KEYS
SQUAS
H_
DICT_
INNE
R_
CHEC
K_
ACCES
S_
INDEX
SQUAS
H_
DICT_
INNE
R_
CONTINU
E_
LOOP
SQUAS
H_
DICT_
INNE
R_
FIRS
T_
ITERATION
SQUAS
H_
DICT_
INNE
R_
LEN_
ASSERT
SQUAS
H_
DICT_
INNE
R_
NEXT_
KEY
SQUAS
H_
DICT_
INNE
R_
SKIP_
LOOP
SQUAS
H_
DICT_
INNE
R_
USED_
ACCESSE
S_
ASSERT
SUB_
REDUCE
D_
A_
AND_
REDUCE
D_
B
TEMPORAR
Y_
ARRAY
UINT128_
ADD
UINT256_
ADD
UINT256_
ADD_
LOW
UINT256_
EXPANDE
D_
UNSIGNE
D_
DIV_
REM
UINT256_
GET_
SQUAR
E_
ROOT
UINT256_
MUL_
DIV_
MOD
UINT256_
MUL_
INV_
MOD_
P
UINT256_
SIGNE
D_
NN
UINT256_
SQRT
UINT256_
SQRT_
FELT
UINT256_
SUB
UINT256_
UNSIGNE
D_
DIV_
REM
UINT384_
DIV
UINT384_
GET_
SQUAR
E_
ROOT
UINT384_
SIGNE
D_
NN
UINT384_
SPLI
T_
128
UINT384_
SQRT
UINT384_
UNSIGNE
D_
DIV_
REM
UINT512_
UNSIGNE
D_
DIV_
REM
UNSAF
E_
KECCAK
UNSAF
E_
KECCA
K_
FINALIZE
UNSIGNE
D_
DIV_
REM
UNSIGNE
D_
DIV_
REM_
UINT768_
BY_
UINT384
UNSIGNE
D_
DIV_
REM_
UINT768_
BY_
UINT384_
STRIPPED
USOR
T_
BODY
USOR
T_
ENTE
R_
SCOPE
USOR
T_
VERIFY
USOR
T_
VERIF
Y_
MULTIPLICIT
Y_
ASSERT
USOR
T_
VERIF
Y_
MULTIPLICIT
Y_
BODY
VERIF
Y_
ECDS
A_
SIGNATURE
VERIF
Y_
ZERO_
EXTERNA
L_
SECP
VERIF
Y_
ZERO_
V1
VERIF
Y_
ZERO_
V2
VERIF
Y_
ZERO_
V3
VM_
ENTE
R_
SCOPE
VM_
EXIT_
SCOPE
XS_
SAFE_
DIV