Structs§
- Blake3
Hasher - Keccak256
Hasher - Sha256
Hasher - Syscall
Abort - Abort syscall functions, called when the SBF program calls
abort()
LLVM will insert calls toabort()
if it detects an untenable situation,abort()
is not intended to be called explicitly by the program. Causes the SBF program to be halted immediately - Syscall
Alloc Free - Dynamic memory allocation syscall called when the SBF program calls
sol_alloc_free_()
. The allocator is expected to allocate/free from/to a given chunk of memory and enforce size restrictions. The memory chunk is given to the allocator during allocator creation and information about that memory (start address and size) is passed to the VM to use for enforcement. - Syscall
AltBn128 - alt_bn128 group operations
- Syscall
AltBn128 Compression - alt_bn128 g1 and g2 compression and decompression
- Syscall
BigMod Exp - Big integer modular exponentiation
- Syscall
Create Program Address - Create a program address
- Syscall
Curve Group Ops - Syscall
Curve Multiscalar Multiplication - Syscall
Curve Point Validation - Syscall
GetClock Sysvar - Get a Clock sysvar
- Syscall
GetEpoch Rewards Sysvar - Get a EpochRewards sysvar
- Syscall
GetEpoch Schedule Sysvar - Get a EpochSchedule sysvar
- Syscall
GetEpoch Stake - Syscall
GetFees Sysvar - Get a Fees sysvar
- Syscall
GetLast Restart Slot Sysvar - Get a Last Restart Slot sysvar
- Syscall
GetProcessed Sibling Instruction - Get a processed sigling instruction
- Syscall
GetRent Sysvar - Get a Rent sysvar
- Syscall
GetReturn Data - Get return data
- Syscall
GetStack Height - Get current call stack height
- Syscall
GetSysvar - Get a slice of a Sysvar in-memory representation
- Syscall
Hash - Syscall
Invoke SignedC - Cross-program invocation called from C
- Syscall
Invoke Signed Rust - Cross-program invocation called from Rust
- Syscall
Log - Log a user’s info message
- Syscall
LogBpf Compute Units - Log current compute consumption
- Syscall
LogData - Log data handling
- Syscall
LogPubkey - Log a
Pubkey
as a base58 string - Syscall
LogU64 - Log 5 64-bit values
- Syscall
Memcmp - memcmp
- Syscall
Memcpy - memcpy
- Syscall
Memmove - memmove
- Syscall
Memset - memset
- Syscall
Panic - Panic syscall function, called when the SBF program calls ’sol_panic_()` Causes the SBF program to be halted immediately
- Syscall
Poseidon - Syscall
Remaining Compute Units - Read remaining compute units
- Syscall
Secp256k1 Recover - secp256k1_recover
- Syscall
SetReturn Data - Set return data
- Syscall
TryFind Program Address - Create a program address
Enums§
- Syscall
Error - Error definitions
Constants§
- MAX_
SIGNERS - Maximum signers