> ## 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: one-intro-swap

> The one-intro-swap Solana venue: the declaration and description of each of the 10 exports of @eco-incorp/sauce/svm.

Solana venue integration `one-intro-swap`, exported from `@eco-incorp/sauce/svm`.

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

### `oneIntroSwapConfig`

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

```typescript theme={null}
export declare function oneIntroSwapConfig(base: PoolConfig): OneIntroSwapPoolConfig;
```

### `fetchOneIntroSwapPoolConfig`

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

```typescript theme={null}
export declare function fetchOneIntroSwapPoolConfig(owned: OwnedAccountLoader, pool: Address): Promise<OneIntroSwapPoolConfig>;
```

### `ONE_INTRO_SWAP_PROGRAM_ID`

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

```typescript theme={null}
ONE_INTRO_SWAP_PROGRAM_ID: Address
```

### `ONE_INTRO_SWAP_METADATA_STATE`

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

The ONE known `MetadataState` - see the module header's "global, not
per-pool" evidence. Required by every swap (accounts\[0], read-only).

```typescript theme={null}
ONE_INTRO_SWAP_METADATA_STATE: Address
```

### `ONE_INTRO_SWAP_FEE_OWNER_A`

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

The two fixed fee-collector owners - ground-truthed via the real mainnet
SOL/USDC market's four fee token accounts (2 per mint side): each owner's
ATA for whichever mint is being DEPOSITED is where that stream's cut
lands (`floor(amountIn / 100_000)` per stream).

```typescript theme={null}
ONE_INTRO_SWAP_FEE_OWNER_A: Address
```

### `ONE_INTRO_SWAP_FEE_OWNER_B`

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

```typescript theme={null}
ONE_INTRO_SWAP_FEE_OWNER_B: Address
```

### `OFF_VIRTUAL_RESERVE0`

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

```typescript theme={null}
OFF_VIRTUAL_RESERVE0 = 153
```

### `OFF_VIRTUAL_RESERVE1`

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

```typescript theme={null}
OFF_VIRTUAL_RESERVE1 = 233
```

### `TOKEN_ACCOUNT_AMOUNT_OFFSET`

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

SPL token account `amount` (u64 LE) offset - standard Tokenkeg layout.

```typescript theme={null}
TOKEN_ACCOUNT_AMOUNT_OFFSET = 64
```

### `OneIntroSwapPoolConfig`

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

```typescript theme={null}
export interface OneIntroSwapPoolConfig extends PoolConfig {
    venue: typeof SLUG;
    authority: Address;
    mint0: Address;
    vault0: Address;
    mint1: Address;
    vault1: Address;
    feeA0: Address;
    feeB0: Address;
    feeA1: Address;
    feeB1: Address;
    direction: "0to1" | "1to0";
}
```


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