Type alias Accounts<A>

Accounts<A>: {
    [N in A["name"]]: Account<A & {
        name: N;
    }>
}

A set of accounts mapping one-to-one to the program's accounts struct, i.e., the type deriving #[derive(Accounts)].

The name of each field should match the name for that account in the IDL.

If multiple accounts are nested in the rust program, then they should be nested here.

Type Parameters