@tributary-so/sdk
    Preparing search index...

    Function actModePostValidationWarning

    • Returns the act-mode post_validation warning message if the config warrants one, otherwise null. Pure function — the caller emits the side-effect (console.warn).

      Act mode (ADR-0026) has no on-chain output guard. The owner's post_validation is the only backstop. This warns (does not throw) because the post_validation target is use-case-specific — Tributary cannot validate it on-chain. See ADR-0031.

      Parameters

      • forwardConfig: {
            forwardFlags: number;
            inputMint: PublicKey;
            instructionConstraint: {
                dataChecks: { expected: number[]; length: number; offset: number }[];
                numDataChecks: number;
                numPinnedAccounts: number;
                pinnedAccounts: { index: number; pubkey: PublicKey }[];
                programId: PublicKey;
            };
            outputMint: PublicKey;
        }

        the composable forward config

      • postValidation: DecodeEnum

        the post-validation spec

      Returns string | null

      warning string, or null when no warning is warranted