Skip to main content
Version: 5.19.5

Namespace: uint256

References

Uint256

Re-exports Uint256

Variables

UINT_128_MAX

Const UINT_128_MAX: bigint

Defined in

src/utils/uint256.ts:14


UINT_256_MAX

Const UINT_256_MAX: bigint

Defined in

src/utils/uint256.ts:15

Functions

uint256ToBN

uint256ToBN(uint256): bigint

Parameters

NameType
uint256Uint256

Returns

bigint

Defined in

src/utils/uint256.ts:10


isUint256

isUint256(bn): boolean

Parameters

NameType
bnBigNumberish

Returns

boolean

Defined in

src/utils/uint256.ts:17


bnToUint256

bnToUint256(bignumber): Uint256

Parameters

NameType
bignumberBigNumberish

Returns

Uint256

Defined in

src/utils/uint256.ts:22