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

    Variable GATEWAY_FEATURESConst

    GATEWAY_FEATURES: {
        CUSTOM_PROTOCOL_FEE: 4;
        NET_AMOUNT: 2;
        PERMISSIONLESS: 8;
        REFERRAL: 1;
    } = ...

    Gateway feature flag bit positions. Bit-vector stored in PaymentGateway.feature_flags (u8).

    Type Declaration

    • ReadonlyCUSTOM_PROTOCOL_FEE: 4

      Bit 2: Custom protocol fee enabled — overrides default 100 bps (1 = enabled)

    • ReadonlyNET_AMOUNT: 2

      Bit 1: Net amount mode — recipient receives exactly payment_amount, fees added on top (1 = net)

    • ReadonlyPERMISSIONLESS: 8

      Bit 3: Permissionless composable execution enabled (ADR-0016). Frozen at gateway creation — cannot be toggled via update_gateway_feature_flags. When set, executeComposable admits any signer for CONFORMING composable policies (post_validation or route pinned). The trusted three (gateway signer / owner / recipient) always pass regardless.

    • ReadonlyREFERRAL: 1

      Bit 0: Referral program enabled (1 = enabled)