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

> Layouts: the declaration and description of each of the 5 exports of @eco-incorp/sauce/svm.

`@eco-incorp/sauce/svm` is the Solana side: the client (`createSauceSvmClient`), clusters, PDAs, account resolution against the compiler's account manifest, Kitchen and engine instructions, transactions and sending, token accounts, and compute planning for `@sauce/router`'s Solana venues. `@eco-incorp/sauce/svm/engine` exports the engine's wire format and instruction builders, `@eco-incorp/sauce/svm/verify` verifies settle programs and engine CPI data, and `@eco-incorp/sauce/svm/engine-artifacts` (Node only) returns file paths to the packaged engine and Kitchen binaries.

```typescript theme={null}
import { createSauceSvmClient, SOLANA_CLUSTERS } from "@eco-incorp/sauce/svm";
```

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

### `ArgObject`

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

A struct arg at the main() boundary, encoded as a TUPLE with fields sorted ALPHABETICALLY.

```typescript theme={null}
export interface ArgObject {
    [key: string]: ArgValue;
}
```

### `ArgValue`

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

```typescript theme={null}
export type ArgValue = bigint | string | ArgValue[] | ArgObject;
```

### `ArgsLayoutKind`

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

```typescript theme={null}
export type ArgsLayoutKind = "scalar" | "bytes";
```

### `ArgsLayoutSlot`

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

```typescript theme={null}
export interface ArgsLayoutSlot {
    arg: number;
    kind: ArgsLayoutKind;
    offset: number;
    length: number;
}
```

### `ArgsLayout`

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

```typescript theme={null}
export interface ArgsLayout {
    mode: "calldata";
    programLength: number;
    byteLength: number;
    slots: ArgsLayoutSlot[];
}
```


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