Module merkle_context

Source

Structs§

AddressMerkleContext
MerkleContext
MerkleOutputContext
Context which contains the accounts necessary for emitting the output compressed account.
PackedAddressMerkleContext
PackedMerkleContext
PackedMerkleOutputContext
Context which contains the indices of accounts necessary for emitting the output compressed account.
QueueIndex
RemainingAccounts
Collection of remaining accounts which are sent to the program.

Functions§

pack_address_merkle_context
Returns a PackedAddressMerkleContext and fills up remaining_accounts based on the given merkle_context.
pack_address_merkle_contexts
Returns a vector of PackedAddressMerkleContext and fills up remaining_accounts based on the given merkle_contexts.
pack_merkle_context
pack_merkle_contexts
pack_merkle_output_context
Returns a PackedMerkleOutputContext and fills up remaining_accounts based on the given merkle_output_context.
pack_merkle_output_contexts
Returns a vector of PackedMerkleOutputContext and fills up remaining_accounts based on the given merkle_contexts.