Coda by Ian Macalinao
    Preparing search index...

    Type Alias LifecycleHook

    External plugin adapter that invokes a program via CPI at configured lifecycle events.

    type LifecycleHook = {
        dataAuthority: Option<Authority>;
        extraAccounts: Option<ExtraAccount[]>;
        hookedProgram: Address;
        schema: ExternalPluginAdapterSchema;
    }
    Index
    dataAuthority: Option<Authority>

    The authority allowed to write data returned by the hook, if any.

    extraAccounts: Option<ExtraAccount[]>

    Additional accounts to forward to the hooked program.

    hookedProgram: Address

    The program invoked via CPI at the configured lifecycle events.

    The serialization format used for data returned by the hook.