@cfxlabsinc/b2b-services
    Preparing search index...

    Variable PROGRAM_DATA_OFFSETConst

    PROGRAM_DATA_OFFSET: {
        authority: 13;
        authorityOption: 12;
        executable: 45;
        slot: 4;
    } = ...

    Byte offsets into a ProgramData account.

    The executable begins at 45: 4 tag + 8 slot + 1 Option discriminant + 32 pubkey. The Option occupies its full 33 bytes even when None, so the header is fixed-width and the executable's start never moves.

    Type Declaration

    • Readonlyauthority: 13
    • ReadonlyauthorityOption: 12
    • Readonlyexecutable: 45
    • Readonlyslot: 4