Crate streamflow[][src]

Structs

StreamFlow

StreamFlow is the struct containing all our necessary metadata.

Functions

any_as_u8_slice

Serialize any to u8 slice.

entrypoint

Safety

process_instruction

The program entrypoint

unpack_account_data

Deserialize account data into StreamFlow struct. This is used for reading the metadata from the account holding the locked funds.

unpack_init_instruction

Deserialize instruction_data into StreamFlow struct. This is used to read instructions given to us by the program’s initializer.