> ## Documentation Index
> Fetch the complete documentation index at: https://voltaire.tevm.sh/llms.txt
> Use this file to discover all available pages before exploring further.

# primitives/Uint128

> Auto-generated API documentation

[**@tevm/voltaire**](../index.mdx)

***

[@tevm/voltaire](../index.mdx) / primitives/Uint128

# primitives/Uint128

## Type Aliases

### Uint128Type

> **Uint128Type** = `bigint` & `object`

Defined in: [src/primitives/Uint128/Uint128Type.ts:9](https://github.com/evmts/voltaire/blob/bd6ec34405c15ad8cd51d11579d495dc53813482/src/primitives/Uint128/Uint128Type.ts#L9)

Uint128 type

#### Type Declaration

##### \[brand]

> `readonly` **\[brand]**: `"Uint128"`

#### See

[https://voltaire.tevm.sh/primitives/uint128](https://voltaire.tevm.sh/primitives/uint128) for Uint128 documentation

#### Since

0.0.0

## Variables

### bitLength()

> `const` **bitLength**: (`uint`) => `number` = `_bitLength`

Defined in: [src/primitives/Uint128/index.ts:120](https://github.com/evmts/voltaire/blob/bd6ec34405c15ad8cd51d11579d495dc53813482/src/primitives/Uint128/index.ts#L120)

#### Parameters

##### uint

[`Uint128Type`](#uint128type)

#### Returns

`number`

***

### bitwiseAnd()

> `const` **bitwiseAnd**: (`uint`, `b`) => [`Uint128Type`](#uint128type) = `_bitwiseAnd`

Defined in: [src/primitives/Uint128/index.ts:88](https://github.com/evmts/voltaire/blob/bd6ec34405c15ad8cd51d11579d495dc53813482/src/primitives/Uint128/index.ts#L88)

#### Parameters

##### uint

[`Uint128Type`](#uint128type)

##### b

[`Uint128Type`](#uint128type)

#### Returns

[`Uint128Type`](#uint128type)

***

### bitwiseNot()

> `const` **bitwiseNot**: (`uint`) => [`Uint128Type`](#uint128type) = `_bitwiseNot`

Defined in: [src/primitives/Uint128/index.ts:94](https://github.com/evmts/voltaire/blob/bd6ec34405c15ad8cd51d11579d495dc53813482/src/primitives/Uint128/index.ts#L94)

#### Parameters

##### uint

[`Uint128Type`](#uint128type)

#### Returns

[`Uint128Type`](#uint128type)

***

### bitwiseOr()

> `const` **bitwiseOr**: (`uint`, `b`) => [`Uint128Type`](#uint128type) = `_bitwiseOr`

Defined in: [src/primitives/Uint128/index.ts:90](https://github.com/evmts/voltaire/blob/bd6ec34405c15ad8cd51d11579d495dc53813482/src/primitives/Uint128/index.ts#L90)

#### Parameters

##### uint

[`Uint128Type`](#uint128type)

##### b

[`Uint128Type`](#uint128type)

#### Returns

[`Uint128Type`](#uint128type)

***

### bitwiseXor()

> `const` **bitwiseXor**: (`uint`, `b`) => [`Uint128Type`](#uint128type) = `_bitwiseXor`

Defined in: [src/primitives/Uint128/index.ts:92](https://github.com/evmts/voltaire/blob/bd6ec34405c15ad8cd51d11579d495dc53813482/src/primitives/Uint128/index.ts#L92)

#### Parameters

##### uint

[`Uint128Type`](#uint128type)

##### b

[`Uint128Type`](#uint128type)

#### Returns

[`Uint128Type`](#uint128type)

***

### BrandedUint128

> `const` **BrandedUint128**: `object`

Defined in: [src/primitives/Uint128/index.ts:134](https://github.com/evmts/voltaire/blob/bd6ec34405c15ad8cd51d11579d495dc53813482/src/primitives/Uint128/index.ts#L134)

#### Type Declaration

##### bitLength()

> **bitLength**: (`uint`) => `number`

###### Parameters

###### uint

[`Uint128Type`](#uint128type)

###### Returns

`number`

##### bitwiseAnd()

> **bitwiseAnd**: (`uint`, `b`) => [`Uint128Type`](#uint128type)

###### Parameters

###### uint

[`Uint128Type`](#uint128type)

###### b

[`Uint128Type`](#uint128type)

###### Returns

[`Uint128Type`](#uint128type)

##### bitwiseNot()

> **bitwiseNot**: (`uint`) => [`Uint128Type`](#uint128type)

###### Parameters

###### uint

[`Uint128Type`](#uint128type)

###### Returns

[`Uint128Type`](#uint128type)

##### bitwiseOr()

> **bitwiseOr**: (`uint`, `b`) => [`Uint128Type`](#uint128type)

###### Parameters

###### uint

[`Uint128Type`](#uint128type)

###### b

[`Uint128Type`](#uint128type)

###### Returns

[`Uint128Type`](#uint128type)

##### bitwiseXor()

> **bitwiseXor**: (`uint`, `b`) => [`Uint128Type`](#uint128type)

###### Parameters

###### uint

[`Uint128Type`](#uint128type)

###### b

[`Uint128Type`](#uint128type)

###### Returns

[`Uint128Type`](#uint128type)

##### clone()

> **clone**: (`uint`) => [`Uint128Type`](#uint128type)

###### Parameters

###### uint

[`Uint128Type`](#uint128type)

###### Returns

[`Uint128Type`](#uint128type)

##### dividedBy()

> **dividedBy**: (`uint`, `b`) => [`Uint128Type`](#uint128type)

###### Parameters

###### uint

[`Uint128Type`](#uint128type)

###### b

[`Uint128Type`](#uint128type)

###### Returns

[`Uint128Type`](#uint128type)

##### equals()

> **equals**: (`uint`, `b`) => `boolean`

###### Parameters

###### uint

[`Uint128Type`](#uint128type)

###### b

[`Uint128Type`](#uint128type)

###### Returns

`boolean`

##### from()

> **from**: (`value`) => [`Uint128Type`](#uint128type)

###### Parameters

###### value

`string` | `number` | `bigint`

###### Returns

[`Uint128Type`](#uint128type)

##### fromAbiEncoded()

> **fromAbiEncoded**: (`bytes`) => [`Uint128Type`](#uint128type)

###### Parameters

###### bytes

`Uint8Array`

###### Returns

[`Uint128Type`](#uint128type)

##### fromBigInt()

> **fromBigInt**: (`value`) => [`Uint128Type`](#uint128type)

###### Parameters

###### value

`bigint`

###### Returns

[`Uint128Type`](#uint128type)

##### fromBytes()

> **fromBytes**: (`bytes`) => [`Uint128Type`](#uint128type)

###### Parameters

###### bytes

`Uint8Array`

###### Returns

[`Uint128Type`](#uint128type)

##### fromHex()

> **fromHex**: (`hex`) => [`Uint128Type`](#uint128type)

###### Parameters

###### hex

`string`

###### Returns

[`Uint128Type`](#uint128type)

##### fromNumber()

> **fromNumber**: (`value`) => [`Uint128Type`](#uint128type)

###### Parameters

###### value

`number`

###### Returns

[`Uint128Type`](#uint128type)

##### gcd()

> **gcd**: (`a`, `b`) => [`Uint128Type`](#uint128type)

###### Parameters

###### a

[`Uint128Type`](#uint128type)

###### b

[`Uint128Type`](#uint128type)

###### Returns

[`Uint128Type`](#uint128type)

##### greaterThan()

> **greaterThan**: (`uint`, `b`) => `boolean`

###### Parameters

###### uint

[`Uint128Type`](#uint128type)

###### b

[`Uint128Type`](#uint128type)

###### Returns

`boolean`

##### greaterThanOrEqual()

> **greaterThanOrEqual**: (`uint`, `b`) => `boolean`

###### Parameters

###### uint

[`Uint128Type`](#uint128type)

###### b

[`Uint128Type`](#uint128type)

###### Returns

`boolean`

##### isPowerOf2()

> **isPowerOf2**: (`uint`) => `boolean`

###### Parameters

###### uint

[`Uint128Type`](#uint128type)

###### Returns

`boolean`

##### isValid()

> **isValid**: (`value`) => `boolean`

###### Parameters

###### value

`string` | `number` | `bigint`

###### Returns

`boolean`

##### isZero()

> **isZero**: (`uint`) => `boolean`

###### Parameters

###### uint

[`Uint128Type`](#uint128type)

###### Returns

`boolean`

##### lcm()

> **lcm**: (`a`, `b`) => [`Uint128Type`](#uint128type)

###### Parameters

###### a

[`Uint128Type`](#uint128type)

###### b

[`Uint128Type`](#uint128type)

###### Returns

[`Uint128Type`](#uint128type)

##### leadingZeros()

> **leadingZeros**: (`uint`) => `number`

###### Parameters

###### uint

[`Uint128Type`](#uint128type)

###### Returns

`number`

##### lessThan()

> **lessThan**: (`uint`, `b`) => `boolean`

###### Parameters

###### uint

[`Uint128Type`](#uint128type)

###### b

[`Uint128Type`](#uint128type)

###### Returns

`boolean`

##### lessThanOrEqual()

> **lessThanOrEqual**: (`uint`, `b`) => `boolean`

###### Parameters

###### uint

[`Uint128Type`](#uint128type)

###### b

[`Uint128Type`](#uint128type)

###### Returns

`boolean`

##### max()

> **max**: (`values`) => [`Uint128Type`](#uint128type)

###### Parameters

###### values

[`Uint128Type`](#uint128type)\[]

###### Returns

[`Uint128Type`](#uint128type)

##### MAX

> **MAX**: [`Uint128Type`](#uint128type)

Maximum Uint128 value: 2^128 - 1

###### See

[https://voltaire.tevm.sh/primitives/uint128](https://voltaire.tevm.sh/primitives/uint128) for Uint128 documentation

###### Since

0.0.0

###### Example

```javascript theme={null}
import { MAX } from './primitives/Uint128/index.js';
console.log(MAX); // 340282366920938463463374607431768211455n
```

##### maximum()

> **maximum**: (`uint`, `b`) => [`Uint128Type`](#uint128type)

###### Parameters

###### uint

[`Uint128Type`](#uint128type)

###### b

[`Uint128Type`](#uint128type)

###### Returns

[`Uint128Type`](#uint128type)

##### min()

> **min**: (`values`) => [`Uint128Type`](#uint128type)

###### Parameters

###### values

[`Uint128Type`](#uint128type)\[]

###### Returns

[`Uint128Type`](#uint128type)

##### MIN

> **MIN**: [`Uint128Type`](#uint128type)

Minimum Uint128 value: 0

###### See

[https://voltaire.tevm.sh/primitives/uint128](https://voltaire.tevm.sh/primitives/uint128) for Uint128 documentation

###### Since

0.0.0

###### Example

```javascript theme={null}
import { MIN } from './primitives/Uint128/index.js';
console.log(MIN); // 0n
```

##### minimum()

> **minimum**: (`uint`, `b`) => [`Uint128Type`](#uint128type)

###### Parameters

###### uint

[`Uint128Type`](#uint128type)

###### b

[`Uint128Type`](#uint128type)

###### Returns

[`Uint128Type`](#uint128type)

##### minus()

> **minus**: (`uint`, `b`) => [`Uint128Type`](#uint128type)

###### Parameters

###### uint

[`Uint128Type`](#uint128type)

###### b

[`Uint128Type`](#uint128type)

###### Returns

[`Uint128Type`](#uint128type)

##### modulo()

> **modulo**: (`uint`, `b`) => [`Uint128Type`](#uint128type)

###### Parameters

###### uint

[`Uint128Type`](#uint128type)

###### b

[`Uint128Type`](#uint128type)

###### Returns

[`Uint128Type`](#uint128type)

##### notEquals()

> **notEquals**: (`uint`, `b`) => `boolean`

###### Parameters

###### uint

[`Uint128Type`](#uint128type)

###### b

[`Uint128Type`](#uint128type)

###### Returns

`boolean`

##### ONE

> **ONE**: [`Uint128Type`](#uint128type)

One value

###### See

[https://voltaire.tevm.sh/primitives/uint128](https://voltaire.tevm.sh/primitives/uint128) for Uint128 documentation

###### Since

0.0.0

###### Example

```javascript theme={null}
import { ONE } from './primitives/Uint128/index.js';
console.log(ONE); // 1n
```

##### plus()

> **plus**: (`uint`, `b`) => [`Uint128Type`](#uint128type)

###### Parameters

###### uint

[`Uint128Type`](#uint128type)

###### b

[`Uint128Type`](#uint128type)

###### Returns

[`Uint128Type`](#uint128type)

##### popCount()

> **popCount**: (`uint`) => `number`

###### Parameters

###### uint

[`Uint128Type`](#uint128type)

###### Returns

`number`

##### product()

> **product**: (`values`) => [`Uint128Type`](#uint128type)

###### Parameters

###### values

[`Uint128Type`](#uint128type)\[]

###### Returns

[`Uint128Type`](#uint128type)

##### shiftLeft()

> **shiftLeft**: (`uint`, `bits`) => [`Uint128Type`](#uint128type)

###### Parameters

###### uint

[`Uint128Type`](#uint128type)

###### bits

`number`

###### Returns

[`Uint128Type`](#uint128type)

##### shiftRight()

> **shiftRight**: (`uint`, `bits`) => [`Uint128Type`](#uint128type)

###### Parameters

###### uint

[`Uint128Type`](#uint128type)

###### bits

`number`

###### Returns

[`Uint128Type`](#uint128type)

##### SIZE

> **SIZE**: `16`

Size in bytes (16 bytes for Uint128)

###### See

[https://voltaire.tevm.sh/primitives/uint128](https://voltaire.tevm.sh/primitives/uint128) for Uint128 documentation

###### Since

0.0.0

###### Example

```javascript theme={null}
import { SIZE } from './primitives/Uint128/index.js';
console.log(SIZE); // 16
```

##### sum()

> **sum**: (`values`) => [`Uint128Type`](#uint128type)

###### Parameters

###### values

[`Uint128Type`](#uint128type)\[]

###### Returns

[`Uint128Type`](#uint128type)

##### times()

> **times**: (`uint`, `b`) => [`Uint128Type`](#uint128type)

###### Parameters

###### uint

[`Uint128Type`](#uint128type)

###### b

[`Uint128Type`](#uint128type)

###### Returns

[`Uint128Type`](#uint128type)

##### toAbiEncoded()

> **toAbiEncoded**: (`uint`) => `Uint8Array`

###### Parameters

###### uint

[`Uint128Type`](#uint128type)

###### Returns

`Uint8Array`

##### toBigInt()

> **toBigInt**: (`uint`) => `bigint`

###### Parameters

###### uint

[`Uint128Type`](#uint128type)

###### Returns

`bigint`

##### toBytes()

> **toBytes**: (`uint`) => `Uint8Array`

###### Parameters

###### uint

[`Uint128Type`](#uint128type)

###### Returns

`Uint8Array`

##### toHex()

> **toHex**: (`uint`) => `string`

###### Parameters

###### uint

[`Uint128Type`](#uint128type)

###### Returns

`string`

##### toNumber()

> **toNumber**: (`uint`) => `number`

###### Parameters

###### uint

[`Uint128Type`](#uint128type)

###### Returns

`number`

##### toPower()

> **toPower**: (`uint`, `exponent`) => [`Uint128Type`](#uint128type)

###### Parameters

###### uint

[`Uint128Type`](#uint128type)

###### exponent

[`Uint128Type`](#uint128type)

###### Returns

[`Uint128Type`](#uint128type)

##### toString()

> **toString**: (`uint`, `radix?`) => `string`

###### Parameters

###### uint

[`Uint128Type`](#uint128type)

###### radix?

`number`

###### Returns

`string`

##### tryFrom()

> **tryFrom**: (`value`) => [`Uint128Type`](#uint128type) | `null`

###### Parameters

###### value

`string` | `number` | `bigint`

###### Returns

[`Uint128Type`](#uint128type) | `null`

##### ZERO

> **ZERO**: [`Uint128Type`](#uint128type)

Zero value

###### See

[https://voltaire.tevm.sh/primitives/uint128](https://voltaire.tevm.sh/primitives/uint128) for Uint128 documentation

###### Since

0.0.0

###### Example

```javascript theme={null}
import { ZERO } from './primitives/Uint128/index.js';
console.log(ZERO); // 0n
```

***

### clone()

> `const` **clone**: (`uint`) => [`Uint128Type`](#uint128type) = `_clone`

Defined in: [src/primitives/Uint128/index.ts:74](https://github.com/evmts/voltaire/blob/bd6ec34405c15ad8cd51d11579d495dc53813482/src/primitives/Uint128/index.ts#L74)

#### Parameters

##### uint

[`Uint128Type`](#uint128type)

#### Returns

[`Uint128Type`](#uint128type)

***

### dividedBy()

> `const` **dividedBy**: (`uint`, `b`) => [`Uint128Type`](#uint128type) = `_dividedBy`

Defined in: [src/primitives/Uint128/index.ts:79](https://github.com/evmts/voltaire/blob/bd6ec34405c15ad8cd51d11579d495dc53813482/src/primitives/Uint128/index.ts#L79)

#### Parameters

##### uint

[`Uint128Type`](#uint128type)

##### b

[`Uint128Type`](#uint128type)

#### Returns

[`Uint128Type`](#uint128type)

***

### equals()

> `const` **equals**: (`uint`, `b`) => `boolean` = `_equals`

Defined in: [src/primitives/Uint128/index.ts:100](https://github.com/evmts/voltaire/blob/bd6ec34405c15ad8cd51d11579d495dc53813482/src/primitives/Uint128/index.ts#L100)

#### Parameters

##### uint

[`Uint128Type`](#uint128type)

##### b

[`Uint128Type`](#uint128type)

#### Returns

`boolean`

***

### from()

> `const` **from**: (`value`) => [`Uint128Type`](#uint128type) = `_from`

Defined in: [src/primitives/Uint128/index.ts:54](https://github.com/evmts/voltaire/blob/bd6ec34405c15ad8cd51d11579d495dc53813482/src/primitives/Uint128/index.ts#L54)

#### Parameters

##### value

`bigint` | `number` | `string`

#### Returns

[`Uint128Type`](#uint128type)

***

### fromAbiEncoded()

> `const` **fromAbiEncoded**: (`bytes`) => [`Uint128Type`](#uint128type) = `_fromAbiEncoded`

Defined in: [src/primitives/Uint128/index.ts:59](https://github.com/evmts/voltaire/blob/bd6ec34405c15ad8cd51d11579d495dc53813482/src/primitives/Uint128/index.ts#L59)

#### Parameters

##### bytes

`Uint8Array`

#### Returns

[`Uint128Type`](#uint128type)

***

### fromBigInt()

> `const` **fromBigInt**: (`value`) => [`Uint128Type`](#uint128type) = `_fromBigInt`

Defined in: [src/primitives/Uint128/index.ts:56](https://github.com/evmts/voltaire/blob/bd6ec34405c15ad8cd51d11579d495dc53813482/src/primitives/Uint128/index.ts#L56)

#### Parameters

##### value

`bigint`

#### Returns

[`Uint128Type`](#uint128type)

***

### fromBytes()

> `const` **fromBytes**: (`bytes`) => [`Uint128Type`](#uint128type) = `_fromBytes`

Defined in: [src/primitives/Uint128/index.ts:58](https://github.com/evmts/voltaire/blob/bd6ec34405c15ad8cd51d11579d495dc53813482/src/primitives/Uint128/index.ts#L58)

#### Parameters

##### bytes

`Uint8Array`

#### Returns

[`Uint128Type`](#uint128type)

***

### fromHex()

> `const` **fromHex**: (`hex`) => [`Uint128Type`](#uint128type) = `_fromHex`

Defined in: [src/primitives/Uint128/index.ts:55](https://github.com/evmts/voltaire/blob/bd6ec34405c15ad8cd51d11579d495dc53813482/src/primitives/Uint128/index.ts#L55)

#### Parameters

##### hex

`string`

#### Returns

[`Uint128Type`](#uint128type)

***

### fromNumber()

> `const` **fromNumber**: (`value`) => [`Uint128Type`](#uint128type) = `_fromNumber`

Defined in: [src/primitives/Uint128/index.ts:57](https://github.com/evmts/voltaire/blob/bd6ec34405c15ad8cd51d11579d495dc53813482/src/primitives/Uint128/index.ts#L57)

#### Parameters

##### value

`number`

#### Returns

[`Uint128Type`](#uint128type)

***

### gcd()

> `const` **gcd**: (`a`, `b`) => [`Uint128Type`](#uint128type) = `_gcd`

Defined in: [src/primitives/Uint128/index.ts:129](https://github.com/evmts/voltaire/blob/bd6ec34405c15ad8cd51d11579d495dc53813482/src/primitives/Uint128/index.ts#L129)

#### Parameters

##### a

[`Uint128Type`](#uint128type)

##### b

[`Uint128Type`](#uint128type)

#### Returns

[`Uint128Type`](#uint128type)

***

### greaterThan()

> `const` **greaterThan**: (`uint`, `b`) => `boolean` = `_greaterThan`

Defined in: [src/primitives/Uint128/index.ts:107](https://github.com/evmts/voltaire/blob/bd6ec34405c15ad8cd51d11579d495dc53813482/src/primitives/Uint128/index.ts#L107)

#### Parameters

##### uint

[`Uint128Type`](#uint128type)

##### b

[`Uint128Type`](#uint128type)

#### Returns

`boolean`

***

### greaterThanOrEqual()

> `const` **greaterThanOrEqual**: (`uint`, `b`) => `boolean` = `_greaterThanOrEqual`

Defined in: [src/primitives/Uint128/index.ts:109](https://github.com/evmts/voltaire/blob/bd6ec34405c15ad8cd51d11579d495dc53813482/src/primitives/Uint128/index.ts#L109)

#### Parameters

##### uint

[`Uint128Type`](#uint128type)

##### b

[`Uint128Type`](#uint128type)

#### Returns

`boolean`

***

### isPowerOf2()

> `const` **isPowerOf2**: (`uint`) => `boolean` = `_isPowerOf2`

Defined in: [src/primitives/Uint128/index.ts:131](https://github.com/evmts/voltaire/blob/bd6ec34405c15ad8cd51d11579d495dc53813482/src/primitives/Uint128/index.ts#L131)

#### Parameters

##### uint

[`Uint128Type`](#uint128type)

#### Returns

`boolean`

***

### isValid()

> `const` **isValid**: (`value`) => `boolean` = `_isValid`

Defined in: [src/primitives/Uint128/index.ts:63](https://github.com/evmts/voltaire/blob/bd6ec34405c15ad8cd51d11579d495dc53813482/src/primitives/Uint128/index.ts#L63)

#### Parameters

##### value

`bigint` | `number` | `string`

#### Returns

`boolean`

***

### isZero()

> `const` **isZero**: (`uint`) => `boolean` = `_isZero`

Defined in: [src/primitives/Uint128/index.ts:113](https://github.com/evmts/voltaire/blob/bd6ec34405c15ad8cd51d11579d495dc53813482/src/primitives/Uint128/index.ts#L113)

#### Parameters

##### uint

[`Uint128Type`](#uint128type)

#### Returns

`boolean`

***

### lcm()

> `const` **lcm**: (`a`, `b`) => [`Uint128Type`](#uint128type) = `_lcm`

Defined in: [src/primitives/Uint128/index.ts:130](https://github.com/evmts/voltaire/blob/bd6ec34405c15ad8cd51d11579d495dc53813482/src/primitives/Uint128/index.ts#L130)

#### Parameters

##### a

[`Uint128Type`](#uint128type)

##### b

[`Uint128Type`](#uint128type)

#### Returns

[`Uint128Type`](#uint128type)

***

### leadingZeros()

> `const` **leadingZeros**: (`uint`) => `number` = `_leadingZeros`

Defined in: [src/primitives/Uint128/index.ts:121](https://github.com/evmts/voltaire/blob/bd6ec34405c15ad8cd51d11579d495dc53813482/src/primitives/Uint128/index.ts#L121)

#### Parameters

##### uint

[`Uint128Type`](#uint128type)

#### Returns

`number`

***

### lessThan()

> `const` **lessThan**: (`uint`, `b`) => `boolean` = `_lessThan`

Defined in: [src/primitives/Uint128/index.ts:103](https://github.com/evmts/voltaire/blob/bd6ec34405c15ad8cd51d11579d495dc53813482/src/primitives/Uint128/index.ts#L103)

#### Parameters

##### uint

[`Uint128Type`](#uint128type)

##### b

[`Uint128Type`](#uint128type)

#### Returns

`boolean`

***

### lessThanOrEqual()

> `const` **lessThanOrEqual**: (`uint`, `b`) => `boolean` = `_lessThanOrEqual`

Defined in: [src/primitives/Uint128/index.ts:105](https://github.com/evmts/voltaire/blob/bd6ec34405c15ad8cd51d11579d495dc53813482/src/primitives/Uint128/index.ts#L105)

#### Parameters

##### uint

[`Uint128Type`](#uint128type)

##### b

[`Uint128Type`](#uint128type)

#### Returns

`boolean`

***

### max()

> `const` **max**: (`values`) => [`Uint128Type`](#uint128type) = `_max`

Defined in: [src/primitives/Uint128/index.ts:127](https://github.com/evmts/voltaire/blob/bd6ec34405c15ad8cd51d11579d495dc53813482/src/primitives/Uint128/index.ts#L127)

#### Parameters

##### values

[`Uint128Type`](#uint128type)\[]

#### Returns

[`Uint128Type`](#uint128type)

***

### MAX

> `const` **MAX**: [`Uint128Type`](#uint128type)

Defined in: [src/primitives/Uint128/constants.js:34](https://github.com/evmts/voltaire/blob/bd6ec34405c15ad8cd51d11579d495dc53813482/src/primitives/Uint128/constants.js#L34)

Maximum Uint128 value: 2^128 - 1

#### See

[https://voltaire.tevm.sh/primitives/uint128](https://voltaire.tevm.sh/primitives/uint128) for Uint128 documentation

#### Since

0.0.0

#### Example

```javascript theme={null}
import { MAX } from './primitives/Uint128/index.js';
console.log(MAX); // 340282366920938463463374607431768211455n
```

***

### maximum()

> `const` **maximum**: (`uint`, `b`) => [`Uint128Type`](#uint128type) = `_maximum`

Defined in: [src/primitives/Uint128/index.ts:117](https://github.com/evmts/voltaire/blob/bd6ec34405c15ad8cd51d11579d495dc53813482/src/primitives/Uint128/index.ts#L117)

#### Parameters

##### uint

[`Uint128Type`](#uint128type)

##### b

[`Uint128Type`](#uint128type)

#### Returns

[`Uint128Type`](#uint128type)

***

### min()

> `const` **min**: (`values`) => [`Uint128Type`](#uint128type) = `_min`

Defined in: [src/primitives/Uint128/index.ts:126](https://github.com/evmts/voltaire/blob/bd6ec34405c15ad8cd51d11579d495dc53813482/src/primitives/Uint128/index.ts#L126)

#### Parameters

##### values

[`Uint128Type`](#uint128type)\[]

#### Returns

[`Uint128Type`](#uint128type)

***

### MIN

> `const` **MIN**: [`Uint128Type`](#uint128type)

Defined in: [src/primitives/Uint128/constants.js:50](https://github.com/evmts/voltaire/blob/bd6ec34405c15ad8cd51d11579d495dc53813482/src/primitives/Uint128/constants.js#L50)

Minimum Uint128 value: 0

#### See

[https://voltaire.tevm.sh/primitives/uint128](https://voltaire.tevm.sh/primitives/uint128) for Uint128 documentation

#### Since

0.0.0

#### Example

```javascript theme={null}
import { MIN } from './primitives/Uint128/index.js';
console.log(MIN); // 0n
```

***

### minimum()

> `const` **minimum**: (`uint`, `b`) => [`Uint128Type`](#uint128type) = `_minimum`

Defined in: [src/primitives/Uint128/index.ts:115](https://github.com/evmts/voltaire/blob/bd6ec34405c15ad8cd51d11579d495dc53813482/src/primitives/Uint128/index.ts#L115)

#### Parameters

##### uint

[`Uint128Type`](#uint128type)

##### b

[`Uint128Type`](#uint128type)

#### Returns

[`Uint128Type`](#uint128type)

***

### minus()

> `const` **minus**: (`uint`, `b`) => [`Uint128Type`](#uint128type) = `_minus`

Defined in: [src/primitives/Uint128/index.ts:77](https://github.com/evmts/voltaire/blob/bd6ec34405c15ad8cd51d11579d495dc53813482/src/primitives/Uint128/index.ts#L77)

#### Parameters

##### uint

[`Uint128Type`](#uint128type)

##### b

[`Uint128Type`](#uint128type)

#### Returns

[`Uint128Type`](#uint128type)

***

### modulo()

> `const` **modulo**: (`uint`, `b`) => [`Uint128Type`](#uint128type) = `_modulo`

Defined in: [src/primitives/Uint128/index.ts:81](https://github.com/evmts/voltaire/blob/bd6ec34405c15ad8cd51d11579d495dc53813482/src/primitives/Uint128/index.ts#L81)

#### Parameters

##### uint

[`Uint128Type`](#uint128type)

##### b

[`Uint128Type`](#uint128type)

#### Returns

[`Uint128Type`](#uint128type)

***

### notEquals()

> `const` **notEquals**: (`uint`, `b`) => `boolean` = `_notEquals`

Defined in: [src/primitives/Uint128/index.ts:101](https://github.com/evmts/voltaire/blob/bd6ec34405c15ad8cd51d11579d495dc53813482/src/primitives/Uint128/index.ts#L101)

#### Parameters

##### uint

[`Uint128Type`](#uint128type)

##### b

[`Uint128Type`](#uint128type)

#### Returns

`boolean`

***

### ONE

> `const` **ONE**: [`Uint128Type`](#uint128type)

Defined in: [src/primitives/Uint128/constants.js:78](https://github.com/evmts/voltaire/blob/bd6ec34405c15ad8cd51d11579d495dc53813482/src/primitives/Uint128/constants.js#L78)

One value

#### See

[https://voltaire.tevm.sh/primitives/uint128](https://voltaire.tevm.sh/primitives/uint128) for Uint128 documentation

#### Since

0.0.0

#### Example

```javascript theme={null}
import { ONE } from './primitives/Uint128/index.js';
console.log(ONE); // 1n
```

***

### plus()

> `const` **plus**: (`uint`, `b`) => [`Uint128Type`](#uint128type) = `_plus`

Defined in: [src/primitives/Uint128/index.ts:76](https://github.com/evmts/voltaire/blob/bd6ec34405c15ad8cd51d11579d495dc53813482/src/primitives/Uint128/index.ts#L76)

#### Parameters

##### uint

[`Uint128Type`](#uint128type)

##### b

[`Uint128Type`](#uint128type)

#### Returns

[`Uint128Type`](#uint128type)

***

### popCount()

> `const` **popCount**: (`uint`) => `number` = `_popCount`

Defined in: [src/primitives/Uint128/index.ts:122](https://github.com/evmts/voltaire/blob/bd6ec34405c15ad8cd51d11579d495dc53813482/src/primitives/Uint128/index.ts#L122)

#### Parameters

##### uint

[`Uint128Type`](#uint128type)

#### Returns

`number`

***

### product()

> `const` **product**: (`values`) => [`Uint128Type`](#uint128type) = `_product`

Defined in: [src/primitives/Uint128/index.ts:125](https://github.com/evmts/voltaire/blob/bd6ec34405c15ad8cd51d11579d495dc53813482/src/primitives/Uint128/index.ts#L125)

#### Parameters

##### values

[`Uint128Type`](#uint128type)\[]

#### Returns

[`Uint128Type`](#uint128type)

***

### shiftLeft()

> `const` **shiftLeft**: (`uint`, `bits`) => [`Uint128Type`](#uint128type) = `_shiftLeft`

Defined in: [src/primitives/Uint128/index.ts:95](https://github.com/evmts/voltaire/blob/bd6ec34405c15ad8cd51d11579d495dc53813482/src/primitives/Uint128/index.ts#L95)

#### Parameters

##### uint

[`Uint128Type`](#uint128type)

##### bits

`number`

#### Returns

[`Uint128Type`](#uint128type)

***

### shiftRight()

> `const` **shiftRight**: (`uint`, `bits`) => [`Uint128Type`](#uint128type) = `_shiftRight`

Defined in: [src/primitives/Uint128/index.ts:97](https://github.com/evmts/voltaire/blob/bd6ec34405c15ad8cd51d11579d495dc53813482/src/primitives/Uint128/index.ts#L97)

#### Parameters

##### uint

[`Uint128Type`](#uint128type)

##### bits

`number`

#### Returns

[`Uint128Type`](#uint128type)

***

### SIZE

> `const` **SIZE**: `16` = `16`

Defined in: [src/primitives/Uint128/constants.js:20](https://github.com/evmts/voltaire/blob/bd6ec34405c15ad8cd51d11579d495dc53813482/src/primitives/Uint128/constants.js#L20)

Size in bytes (16 bytes for Uint128)

#### See

[https://voltaire.tevm.sh/primitives/uint128](https://voltaire.tevm.sh/primitives/uint128) for Uint128 documentation

#### Since

0.0.0

#### Example

```javascript theme={null}
import { SIZE } from './primitives/Uint128/index.js';
console.log(SIZE); // 16
```

***

### sum()

> `const` **sum**: (`values`) => [`Uint128Type`](#uint128type) = `_sum`

Defined in: [src/primitives/Uint128/index.ts:124](https://github.com/evmts/voltaire/blob/bd6ec34405c15ad8cd51d11579d495dc53813482/src/primitives/Uint128/index.ts#L124)

#### Parameters

##### values

[`Uint128Type`](#uint128type)\[]

#### Returns

[`Uint128Type`](#uint128type)

***

### times()

> `const` **times**: (`uint`, `b`) => [`Uint128Type`](#uint128type) = `_times`

Defined in: [src/primitives/Uint128/index.ts:78](https://github.com/evmts/voltaire/blob/bd6ec34405c15ad8cd51d11579d495dc53813482/src/primitives/Uint128/index.ts#L78)

#### Parameters

##### uint

[`Uint128Type`](#uint128type)

##### b

[`Uint128Type`](#uint128type)

#### Returns

[`Uint128Type`](#uint128type)

***

### toAbiEncoded()

> `const` **toAbiEncoded**: (`uint`) => `Uint8Array` = `_toAbiEncoded`

Defined in: [src/primitives/Uint128/index.ts:69](https://github.com/evmts/voltaire/blob/bd6ec34405c15ad8cd51d11579d495dc53813482/src/primitives/Uint128/index.ts#L69)

#### Parameters

##### uint

[`Uint128Type`](#uint128type)

#### Returns

`Uint8Array`

***

### toBigInt()

> `const` **toBigInt**: (`uint`) => `bigint` = `_toBigInt`

Defined in: [src/primitives/Uint128/index.ts:66](https://github.com/evmts/voltaire/blob/bd6ec34405c15ad8cd51d11579d495dc53813482/src/primitives/Uint128/index.ts#L66)

#### Parameters

##### uint

[`Uint128Type`](#uint128type)

#### Returns

`bigint`

***

### toBytes()

> `const` **toBytes**: (`uint`) => `Uint8Array` = `_toBytes`

Defined in: [src/primitives/Uint128/index.ts:68](https://github.com/evmts/voltaire/blob/bd6ec34405c15ad8cd51d11579d495dc53813482/src/primitives/Uint128/index.ts#L68)

#### Parameters

##### uint

[`Uint128Type`](#uint128type)

#### Returns

`Uint8Array`

***

### toHex()

> `const` **toHex**: (`uint`) => `string` = `_toHex`

Defined in: [src/primitives/Uint128/index.ts:65](https://github.com/evmts/voltaire/blob/bd6ec34405c15ad8cd51d11579d495dc53813482/src/primitives/Uint128/index.ts#L65)

#### Parameters

##### uint

[`Uint128Type`](#uint128type)

#### Returns

`string`

***

### toNumber()

> `const` **toNumber**: (`uint`) => `number` = `_toNumber`

Defined in: [src/primitives/Uint128/index.ts:67](https://github.com/evmts/voltaire/blob/bd6ec34405c15ad8cd51d11579d495dc53813482/src/primitives/Uint128/index.ts#L67)

#### Parameters

##### uint

[`Uint128Type`](#uint128type)

#### Returns

`number`

***

### toPower()

> `const` **toPower**: (`uint`, `exponent`) => [`Uint128Type`](#uint128type) = `_toPower`

Defined in: [src/primitives/Uint128/index.ts:83](https://github.com/evmts/voltaire/blob/bd6ec34405c15ad8cd51d11579d495dc53813482/src/primitives/Uint128/index.ts#L83)

#### Parameters

##### uint

[`Uint128Type`](#uint128type)

##### exponent

[`Uint128Type`](#uint128type)

#### Returns

[`Uint128Type`](#uint128type)

***

### toString()

> `const` **toString**: (`uint`, `radix?`) => `string` = `_toString`

Defined in: [src/primitives/Uint128/index.ts:71](https://github.com/evmts/voltaire/blob/bd6ec34405c15ad8cd51d11579d495dc53813482/src/primitives/Uint128/index.ts#L71)

#### Parameters

##### uint

[`Uint128Type`](#uint128type)

##### radix?

`number`

#### Returns

`string`

***

### tryFrom()

> `const` **tryFrom**: (`value`) => [`Uint128Type`](#uint128type) | `null` = `_tryFrom`

Defined in: [src/primitives/Uint128/index.ts:61](https://github.com/evmts/voltaire/blob/bd6ec34405c15ad8cd51d11579d495dc53813482/src/primitives/Uint128/index.ts#L61)

#### Parameters

##### value

`bigint` | `number` | `string`

#### Returns

[`Uint128Type`](#uint128type) | `null`

***

### ZERO

> `const` **ZERO**: [`Uint128Type`](#uint128type)

Defined in: [src/primitives/Uint128/constants.js:64](https://github.com/evmts/voltaire/blob/bd6ec34405c15ad8cd51d11579d495dc53813482/src/primitives/Uint128/constants.js#L64)

Zero value

#### See

[https://voltaire.tevm.sh/primitives/uint128](https://voltaire.tevm.sh/primitives/uint128) for Uint128 documentation

#### Since

0.0.0

#### Example

```javascript theme={null}
import { ZERO } from './primitives/Uint128/index.js';
console.log(ZERO); // 0n
```
