> ## 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: scorch

> 5 exports of the scorch venue integration in @eco-incorp/sauce/svm, including SCORCH_CORE_PROGRAM_ID, SCORCH_ROUTER_PROGRAM_ID, SCORCH_HAIRCUT_PPM, scorch, ScorchPoolConfig.

Solana venue integration `scorch` under `svm/venues/scorch`.

<Note>
  Generated from the type declarations shipped in `@eco-incorp/sauce` 0.99.4. Each entry shows the package authors' JSDoc and declaration for this SDK version. For runtime compatibility and deployed addresses, see [architecture and deployments](/programmable-transactions/sauce/architecture-and-deployments).
</Note>

### `SCORCH_CORE_PROGRAM_ID`

*Variable* · `sdk/dist/svm/venues/scorch/index.d.ts`

CORE - pool state owner + pricing engine. This is `SVM_VENUE_PROGRAM_IDS.scorch`.

```typescript theme={null}
SCORCH_CORE_PROGRAM_ID: Address<"ojh19ojaKduoJZuaJADhcVGp4xt1TcdAvZmpVsCorch">
```

### `SCORCH_ROUTER_PROGRAM_ID`

*Variable* · `sdk/dist/svm/venues/scorch/index.d.ts`

ROUTER - the real custodian; the swap CPI's actual CALL target.

```typescript theme={null}
SCORCH_ROUTER_PROGRAM_ID: Address<"SCoRcH8c2dpjvcJD6FiPbCSQyQgu3PcUAWj2Xxx3mqn">
```

### `SCORCH_HAIRCUT_PPM`

*Variable* · `sdk/dist/svm/venues/scorch/index.d.ts`

Conservative haircut on the raw vault-reserve-ratio price (parts per
million of the naive constant-product output) - see this file's top
docblock for the measured justification. 300,000 = keep 70% of the naive
CP output.

```typescript theme={null}
SCORCH_HAIRCUT_PPM = 300000n
```

### `scorch`

*Variable* · `sdk/dist/svm/venues/scorch/index.d.ts`

```typescript theme={null}
scorch: {
    slug: string;
    kind: "constant-product";
    programId: Address<"ojh19ojaKduoJZuaJADhcVGp4xt1TcdAvZmpVsCorch">;
    fetchPoolConfig(load: AccountLoader, pool: Address): Promise<ScorchPoolConfig>;
    quoteAccounts(base: PoolConfig): VenueAccount[];
}
```

### `ScorchPoolConfig`

*Interface* · `sdk/dist/svm/venues/scorch/index.d.ts`

```typescript theme={null}
export interface ScorchPoolConfig extends PoolConfig {
    venue: typeof SLUG;
    direction: "AtoB" | "BtoA";
    mintA: Address;
    vaultA: Address;
    assetConfigA: Address;
    mintB: Address;
    vaultB: Address;
    assetConfigB: Address;
}
```
