Crate agave_syscalls

Crate agave_syscalls 

Source
👎Deprecated since 3.1.0: This crate has been marked for formal inclusion in the Agave Unstable API. From v4.0.0 onward, the agave-unstable-api crate feature must be specified to acknowledge use of an interface that may break without warning.

Macros§

translate_mutDeprecated

Structs§

SyscallAbortDeprecated
Abort syscall functions, called when the SBF program calls abort() LLVM will insert calls to abort() 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
SyscallAllocFreeDeprecated
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.
SyscallAltBn128Deprecated
alt_bn128 group operations
SyscallAltBn128CompressionDeprecated
alt_bn128 g1 and g2 compression and decompression
SyscallBigModExpDeprecated
Big integer modular exponentiation
SyscallCreateProgramAddressDeprecated
Create a program address
SyscallCurveGroupOpsDeprecated
SyscallCurveMultiscalarMultiplicationDeprecated
SyscallCurvePointValidationDeprecated
SyscallGetClockSysvarDeprecated
Get a Clock sysvar
SyscallGetEpochRewardsSysvarDeprecated
Get a EpochRewards sysvar
SyscallGetEpochScheduleSysvarDeprecated
Get a EpochSchedule sysvar
SyscallGetEpochStakeDeprecated
SyscallGetFeesSysvarDeprecated
Get a Fees sysvar
SyscallGetLastRestartSlotSysvarDeprecated
Get a Last Restart Slot sysvar
SyscallGetProcessedSiblingInstructionDeprecated
Get a processed sigling instruction
SyscallGetRentSysvarDeprecated
Get a Rent sysvar
SyscallGetReturnDataDeprecated
Get return data
SyscallGetStackHeightDeprecated
Get current call stack height
SyscallGetSysvarDeprecated
Get a slice of a Sysvar in-memory representation
SyscallHashDeprecated
SyscallInvokeSignedCDeprecated
Cross-program invocation called from C
SyscallInvokeSignedRustDeprecated
Cross-program invocation called from Rust
SyscallLogDeprecated
Log a user’s info message
SyscallLogBpfComputeUnitsDeprecated
Log current compute consumption
SyscallLogDataDeprecated
Log data handling
SyscallLogPubkeyDeprecated
Log a Pubkey as a base58 string
SyscallLogU64Deprecated
Log 5 64-bit values
SyscallMemcmpDeprecated
memcmp
SyscallMemcpyDeprecated
memcpy
SyscallMemmoveDeprecated
memmove
SyscallMemsetDeprecated
memset
SyscallPanicDeprecated
Panic syscall function, called when the SBF program calls ’sol_panic_()` Causes the SBF program to be halted immediately
SyscallPoseidonDeprecated
SyscallRemainingComputeUnitsDeprecated
Read remaining compute units
SyscallSecp256k1RecoverDeprecated
secp256k1_recover
SyscallSetReturnDataDeprecated
Set return data
SyscallTryFindProgramAddressDeprecated
Create a program address

Enums§

SyscallErrorDeprecated
Error definitions

Functions§

create_program_runtime_environment_v1Deprecated
create_program_runtime_environment_v2Deprecated