Skip to main content

Crate arcium_anchor

Crate arcium_anchor 

Source

Re-exports§

pub use solana_address_lookup_table_interface;

Modules§

prelude
traits
This module contains a set of traits that are used to make the functions in the main module need to take less params (e.g. not needing the mxe_offset as a separate param and instead directly calling .mxe_offset() on the provided param assuming it implements the trait). We do it like this because the objects that usually end up implementing this are the anchor account structs, which we can’t directly modify to add the fields that we need to pass to the functions in the main module. Therefore these get mostly implemented by macros in arcium-macros.

Macros§

derive_cluster_pda
derive_comp_def_pda
derive_comp_pda
derive_execpool_pda
derive_mempool_pda
derive_mxe_lut_pda
derive_mxe_pda
derive_seed
derive_sign_pda

Structs§

ArgBuilder
EncDataStruct
MXEEncryptedStruct
SharedEncryptedStruct
ShortVec

Enums§

ArciumError
RawComputationOutputs
SignedComputationOutputs
Signed computation result encoded as raw bytes plus a BLS signature.

Constants§

ARCIUM_CLOCK_ACCOUNT_ADDRESS
ARCIUM_FEE_POOL_ACCOUNT_ADDRESS
CLOCK_PDA_SEED
CLUSTER_PDA_SEED
COMP_DEF_PDA_SEED
COMP_PDA_SEED
EXECPOOL_PDA_SEED
LUT_PROGRAM_ID
MEMPOOL_PDA_SEED
MXE_PDA_SEED
POOL_PDA_SEED
SIGN_PDA_SEED

Traits§

HasSize
Output types with a compile-time serialized size.

Functions§

comp_def_offset
const_match_computation
init_comp_def
queue_computation