Module loaders

Module loaders 

Source
Expand description

This file contains all of the code that is used to load and validate account and instruction data.

Each loader describes specific account types and constraints that must be met for the instruction data to be valid. Each AccountInfo is checked according to a particular checker struct and if the account data is invalid, an error is returned and the instruction will fail.

The loader structs are used to validate the accounts passed into the program based on the current instruction.

Functionsยง

get_seat_address
get_vault_address