> ## Documentation Index
> Fetch the complete documentation index at: https://docs.eco.com/llms.txt
> Use this file to discover all available pages before exploring further.

# svm venue: flint

> The flint Solana venue: the declaration and description of each of the 8 exports of @eco-incorp/sauce/svm.

Solana venue integration `flint`, exported from `@eco-incorp/sauce/svm`.

Generated from the type declarations of `@eco-incorp/sauce`.

### `FLINT_PROGRAM_ID`

*Variable* · `@eco-incorp/sauce/svm`

```typescript theme={null}
FLINT_PROGRAM_ID: Address<"FLiNTXPwppyoJabCoxc2uiiRygAHpmMXajiDXo2Ub1z">
```

### `FLINT_PAIR_REGISTRY`

*Variable* · `@eco-incorp/sauce/svm`

Curated registry, keyed by the "pool" address this family is discovered
under - the NON-USDT side of each pair (USDT is the common factor in both
shipped pairs today). See file header "Scope" for the evidence backing
each entry and each entry's reversibility.

```typescript theme={null}
FLINT_PAIR_REGISTRY: Record<string, FlintPairEntry>
```

### `FLINT_HAIRCUT_USDT_USDC_PPM`

*Variable* · `@eco-incorp/sauce/svm`

Per-direction haircut applied ON TOP OF naive constant-product (ppm of
1\_000\_000) - see the file header "Quote curve" section for the exact real
fill data and margin behind each of these three constants. Naive CP alone
is NOT reliably conservative for this venue (unlike bisonfi/humidifi), so
there is no single global constant.

```typescript theme={null}
FLINT_HAIRCUT_USDT_USDC_PPM = 700000n
```

### `FLINT_HAIRCUT_PUMPCMXQ_TO_USDT_PPM`

*Variable* · `@eco-incorp/sauce/svm`

```typescript theme={null}
FLINT_HAIRCUT_PUMPCMXQ_TO_USDT_PPM = 900000n
```

### `FLINT_HAIRCUT_USDT_TO_PUMPCMXQ_PPM`

*Variable* · `@eco-incorp/sauce/svm`

```typescript theme={null}
FLINT_HAIRCUT_USDT_TO_PUMPCMXQ_PPM = 150000n
```

### `flint`

*Variable* · `@eco-incorp/sauce/svm`

```typescript theme={null}
flint: {
    slug: string;
    kind: "constant-product";
    programId: Address<"FLiNTXPwppyoJabCoxc2uiiRygAHpmMXajiDXo2Ub1z">;
    fetchPoolConfig: typeof fetchPoolConfig;
    quoteAccounts: typeof quoteAccounts;
}
```

### `FlintPairEntry`

*Interface* · `@eco-incorp/sauce/svm`

One curated Flint pair, in its DEFAULT (A -> B) orientation.

```typescript theme={null}
export interface FlintPairEntry {
    marketA: Address;
    vaultA: Address;
    mintA: Address;
    tokenProgramA: Address;
    marketB: Address;
    vaultB: Address;
    mintB: Address;
    tokenProgramB: Address;
    disc: number;
    tailZeros: number;
    checkedMint?: Address;
    reversible: boolean;
    haircutAtoBPpm: bigint;
    haircutBtoAPpm?: bigint;
}
```

### `FlintPoolConfig`

*Interface* · `@eco-incorp/sauce/svm`

```typescript theme={null}
export interface FlintPoolConfig extends PoolConfig {
    venue: typeof SLUG;
    entry: FlintPairEntry;
    direction: "AtoB" | "BtoA";
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.