Skip to main content
Version: Next

Namespace: uint256

Interfaces

Variables

UINT_128_MAX

Const UINT_128_MAX: bigint

Defined in

src/utils/uint256.ts:18


UINT_256_MAX

Const UINT_256_MAX: bigint

Defined in

src/utils/uint256.ts:19

Functions

uint256ToBN

uint256ToBN(uint256): bigint

Parameters

NameType
uint256Uint256

Returns

bigint

Defined in

src/utils/uint256.ts:14


isUint256

isUint256(bn): boolean

Parameters

NameType
bnBigNumberish

Returns

boolean

Defined in

src/utils/uint256.ts:21


bnToUint256

bnToUint256(bignumber): Uint256

Parameters

NameType
bignumberBigNumberish

Returns

Uint256

Defined in

src/utils/uint256.ts:26