Module anchor_spl::shmem[][src]

Expand description

CPI API for interacting with the SPL shared memory program.

Structs

Ret
Shmem

Statics

ID

The static program ID

Functions

check_id

Confirms that a given pubkey is equivalent to the program ID

id

Returns the program ID

ret

ret writes the given data field to the shared memory account acting as a return value that can be used across CPI. The caleee should use this to write data into the shared memory account. The caler should use the account directly to pull out and interpret the bytes. Shared memory serialization is not specified and is up to the caller and callee.