# z.AbiConstructor.AbiConstructor

## Imports

```ts
import { z } from 'ox/zod'

z.AbiConstructor.AbiConstructor
```

## Definition

```ts
export const AbiConstructor = z.pipe(
  Raw,
  z.transform((value) => ({
    ...value,
    stateMutability:
      value.stateMutability ?? (value.payable ? 'payable' : 'nonpayable'),
  })),
)
```

**Source:** [src/zod/AbiConstructor.ts](https://github.com/wevm/ox/blob/main/src/zod/AbiConstructor.ts)
