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

> 9 exports of the cropper venue integration in @eco-incorp/sauce/svm, including CROPPER_PROGRAM_ID, CROPPER_MIN_SQRT_PRICE, CROPPER_MAX_SQRT_PRICE, CROPPER_MAX_BOUNDARIES, cropper, fetchCropperConfig.

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

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

### `CROPPER_PROGRAM_ID`

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

Cropper's AMM (Whirlpool-lineage CLMM) program.

```typescript theme={null}
CROPPER_PROGRAM_ID: Address<"H8W3ctz92svYg6mkn1UtGfu2aQr2fnUFHM1RhScEtQDt">
```

### `CROPPER_MIN_SQRT_PRICE`

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

Sentinels the venue's `swap` substitutes when no explicit per-pool limit is
given (NOT exported by the SDK barrel - orca-whirlpool's own
MIN\_SQRT\_PRICE/MAX\_SQRT\_PRICE live in that venue's internal tick-math.ts,
unreachable through the public svm barrel - redeclared here byte-equal;
see the source provenance in the module header above).

```typescript theme={null}
CROPPER_MIN_SQRT_PRICE = 4295048016n
```

### `CROPPER_MAX_SQRT_PRICE`

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

```typescript theme={null}
CROPPER_MAX_SQRT_PRICE = 79226673515401279992447579055n
```

### `CROPPER_MAX_BOUNDARIES`

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

Shipped initialized-tick boundaries per direction - independent of
orca-whirlpool's own WHIRLPOOL\_MAX\_BOUNDARIES by design (see the module
header), kept numerically equal (4) for the same measured per-step CU
economics (a crossed boundary is \~45k CU in the walk, per orca-whirlpool's
own budget.ts commentary).

```typescript theme={null}
CROPPER_MAX_BOUNDARIES = 4
```

### `cropper`

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

Family facade for the recipe orchestrator (ladder-only - no v1 adapter).

```typescript theme={null}
cropper: {
    slug: string;
    programId: Address<"H8W3ctz92svYg6mkn1UtGfu2aQr2fnUFHM1RhScEtQDt">;
    tokenProgram: Address<"TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA">;
    fetchPoolConfig: typeof fetchCropperConfig;
}
```

### `fetchCropperConfig`

*Function* · `sdk/dist/svm/venues/cropper/index.d.ts`

Fetch + gate one Cropper pool (see the header for the gate list) and
freeze both directions' boundary windows. Read-only against the loader.

```typescript theme={null}
export declare function fetchCropperConfig(load: AccountLoader, pool: Address): Promise<CropperPoolConfig>;
```

### `CropperBoundary`

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

```typescript theme={null}
export interface CropperBoundary {
    arrayIndex: number;
    offset: number;
    tick: number;
    sqrtPrice: bigint;
}
```

### `CropperWindow`

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

```typescript theme={null}
export interface CropperWindow {
    tickArrays: [
        Address,
        Address,
        Address
    ];
    startTicks: [
        number,
        number,
        number
    ];
    boundaries: CropperBoundary[];
    edge: {
        tick: number;
        sqrtPrice: bigint;
    } | null;
    readable: number;
}
```

### `CropperPoolConfig`

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

```typescript theme={null}
export interface CropperPoolConfig extends PoolConfig {
    venue: typeof SLUG;
    direction: "aToB" | "bToA";
    tokenMintA: Address;
    tokenMintB: Address;
    tokenVaultA: Address;
    tokenVaultB: Address;
    oracle: Address;
    tickSpacing: number;
    feeRate: number;
    liquidity: bigint;
    sqrtPrice: bigint;
    tickCurrentIndex: number;
    windows: {
        aToB: CropperWindow;
        bToA: CropperWindow;
    };
}
```
