@lightprotocol/stateless.js - v0.22.1-alpha.1
    Preparing search index...

    Interface CompressedCpiContext

    Compressed CPI context.

    Use if you want to use a single ValidityProof to update two compressed accounts owned by separate programs.

    interface CompressedCpiContext {
        setContext: boolean;
        firstSetContext: boolean;
        cpiContextAccountIndex: number;
    }
    Index

    Properties

    setContext: boolean

    Is set by the program that is invoking the CPI to signal that it should set the cpi context.

    firstSetContext: boolean

    Is set to wipe the cpi context since someone could have set it before with unrelated data.

    cpiContextAccountIndex: number

    Index of cpi context account in remaining accounts.