Crate sol_chainsaw

Crate sol_chainsaw 

Source

Re-exports§

pub use json::JsonSerializationOpts;

Modules§

de
idl
json
solana_sdk

Structs§

ChainsawDeserializer
Setup to deserialize accounts for a given program. The accounts are expected to have been serialized using the borsh format.

Enums§

ChainsawError
IdlProvider
The provider responsible for generating the IDL. Some providers like [Anchor] also prefix the account data in a specific way, i.e. by adding a discriminator

Functions§

account_discriminator
Derives the account discriminator form the account name using the same algorithm that anchor uses.
try_idl_address
Resolves the address of the account where the program [IDL] is stored.

Type Aliases§

ChainsawResult
DiscriminatorBytes