Expand description
§thruput-sys
Low-level FFI bindings to the Thruput test executor, the native library
that thruput-native-exec runs contracts on. The bindings are generated
from the executor’s C headers with bindgen; the build script fetches and
links the library itself.
This crate is an implementation detail of thruput-native-exec. Use that
crate, or thruput-sdk’s dev feature, instead.
Structs§
- CreateDB
Result - FFIData
Buffer - FFIRv32
Stack Usage - FFISerialized
Address AndKey - FFISerialized
Auth Claim Data - FFISerialized
Invocation - FFISerialized
Signed Transaction - FFISource
Auth Data - Foreign
Host FnResult - Foreign
Invoke Result - Foreign
Traced Invoke Result - Foreign
TryCommit Result - GetCost
Model Result - GetNetwork
Config Result - GetRv32
Stack Usage Result - GetSnapshot
Storage Item Result - Open
Runtime Context Result - Open
Syscall Handler Result - Verify
Auth Result - Verify
Auth Result FromDB Result - Verify
Contract Result
Enums§
Constants§
Functions§
- abort_
transaction ⚠ - advance_
new_ ⚠block - close_
runtime_ ⚠context - close_
syscall_ ⚠handler - create_
db ⚠ - do_
verify_ ⚠contract - enable_
syscall_ ⚠logging - finish_
mock_ ⚠invocation_ frame - free_db⚠
- get_
cost_ ⚠model - get_
network_ ⚠config - get_
rv32_ ⚠stack_ usage - get_
snapshot_ ⚠storage_ item - mock_
syscall_ ⚠entrypoint - open_
mock_ ⚠invocation_ frame - open_
mocked_ ⚠syscall_ handler - open_
runtime_ ⚠context - open_
syscall_ ⚠handler - pop_
context ⚠ - push_
context ⚠ - register_
new_ ⚠contract - root_
invoke ⚠ - setup_
create_ ⚠contract - setup_
deploy_ ⚠contract - setup_
grant_ ⚠contract_ storage_ tokens - try_
commit_ ⚠transaction - verify_
signed_ ⚠transaction_ auth - verify_
signed_ ⚠transaction_ auth_ from_ db