> ## 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: orca-legacy-token-swap

> 2 exports of the orca-legacy-token-swap venue integration in @eco-incorp/sauce/svm, including OrcaLegacyPoolConfig, orcaLegacyTokenSwap.

Solana venue integration `orca-legacy-token-swap` under `svm/venues/orca-legacy-token-swap`.

<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>

### `OrcaLegacyPoolConfig`

*Interface* · `sdk/dist/svm/venues/orca-legacy-token-swap/index.d.ts`

```typescript theme={null}
export interface OrcaLegacyPoolConfig extends PoolConfig {
    venue: typeof SLUG;
    swapAuthority: Address;
    tokenProgram: Address;
    vaultIn: Address;
    vaultOut: Address;
    poolMint: Address;
    poolFeeAccount: Address;
    inputMint: Address;
    outputMint: Address;
    tradeFeeNumerator: bigint;
    tradeFeeDenominator: bigint;
    ownerTradeFeeNumerator: bigint;
    ownerTradeFeeDenominator: bigint;
    bumpSeed: number;
}
```

### `orcaLegacyTokenSwap`

*Variable* · `sdk/dist/svm/venues/orca-legacy-token-swap/index.d.ts`

```typescript theme={null}
orcaLegacyTokenSwap: {
    slug: string;
    kind: "constant-product";
    programId: Address;
    fetchPoolConfig(load: AccountLoader, pool: Address): Promise<OrcaLegacyPoolConfig>;
    quoteAccounts(cfg: OrcaLegacyPoolConfig): VenueAccount[];
    emitQuote(cfg: OrcaLegacyPoolConfig, i: number, amountIn: bigint): string;
    buildSwap(cfg: OrcaLegacyPoolConfig, user: SwapUser, amountIn: bigint): VenueSwap;
    referenceQuote(cfg: OrcaLegacyPoolConfig, state: AccountBytesMap, amountIn: bigint, _now: bigint): bigint;
}
```
