ethereumjs-monorepo

@ethereumjs/verkle / Point

Interface: Point

Table of contents

Methods

Methods

add

add(point1, point2): Point

Parameters

Name Type
point1 Point
point2 Point

Returns

Point

Defined in

types.ts:41


bytes

bytes(): Uint8Array

Returns

Uint8Array

Defined in

types.ts:13


bytesUncompressed

bytesUncompressed(): Uint8Array

Returns

Uint8Array

Defined in

types.ts:15


double

double(point1): Point

Parameters

Name Type
point1 Point

Returns

Point

Defined in

types.ts:38


equal

equal(secondPoint): boolean

Parameters

Name Type
secondPoint Point

Returns

boolean

Defined in

types.ts:32


isOnCurve

isOnCurve(): boolean

Returns

boolean

Defined in

types.ts:47


mapToBaseField

mapToBaseField(): Point

Returns

Point

Defined in

types.ts:26


mapToScalarField

mapToScalarField(field): void

Parameters

Name Type
field Fr

Returns

void

Defined in

types.ts:29


neg

neg(): Point

Returns

Point

Defined in

types.ts:55


normalise

normalise(): void

Returns

void

Defined in

types.ts:49


scalarMul

scalarMul(point1, scalarMont): Point

Parameters

Name Type
point1 Point
scalarMont Fr

Returns

Point

Defined in

types.ts:58


set

set(): Point

Returns

Point

Defined in

types.ts:52


setBytes

setBytes(bytes): void

Parameters

Name Type
bytes Uint8Array

Returns

void

Defined in

types.ts:20


setBytesUncompressed

setBytesUncompressed(bytes, trusted): void

Parameters

Name Type
bytes Uint8Array
trusted boolean

Returns

void

Defined in

types.ts:23


setIdentity

setIdentity(): Point

Returns

Point

Defined in

types.ts:35


sub

sub(point1, point2): Point

Parameters

Name Type
point1 Point
point2 Point

Returns

Point

Defined in

types.ts:44